Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Side by Side Diff: utils/dartdoc/static/styles.css

Issue 8772067: Navigation in generated docs. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* Reset */ 1 /* Reset */
2 body, h1, h2, h3, h4, p, pre, section { 2 body, h1, h2, h3, h4, li, ol, p, pre, section, ul {
3 margin: 0; 3 margin: 0;
4 padding: 0; 4 padding: 0;
5 } 5 }
6 6
7 body { 7 body {
8 font-family: Georgia, serif; 8 font-family: Georgia, serif;
9 background: #eee; 9 background: #e4e4e4;
10 color: #333; 10 color: #333;
11 } 11 }
12 12
13 h1 { 13 h1 {
14 font: 700 22px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', 14 font: 700 22px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande',
15 sans-serif; 15 sans-serif;
16 margin: 0 0 22px 0; 16 margin: 0 0 22px 0;
17 } 17 }
18 18
19 h2 { 19 h2 {
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 } 60 }
61 61
62 a:hover { 62 a:hover {
63 color: hsl(220, 100%, 70%); 63 color: hsl(220, 100%, 70%);
64 } 64 }
65 65
66 a:visited { 66 a:visited {
67 color: hsl(270, 50%, 40%); 67 color: hsl(270, 50%, 40%);
68 } 68 }
69 69
70 li {
71 font-size: 16px;
72 line-height: 22px;
73 }
74
75 ol, ul {
76 padding-left: 22px;
77 }
78
70 hr { 79 hr {
71 border: none; 80 border: none;
72 height: 1px; 81 height: 1px;
73 background: #ccc; 82 background: #ccc;
74 margin: 22px 0 21px 0; 83 margin: 22px 0 21px 0;
75 } 84 }
76 85
77 hr + h2 { 86 hr + h2 {
78 margin-top: 21px; /* To compensate for the thickness of the hr. */ 87 margin-top: 21px; /* To compensate for the thickness of the hr. */
79 } 88 }
80 89
81 .content { 90 .page {
82 max-width: 704px; /* 32 x 22px */ 91 max-width: 960px; /* 43 x 22px */
83 padding: 22px 22px;
84 background: #fff; 92 background: #fff;
85 margin: 0 auto 22px auto; 93 margin: 0 auto 22px auto;
86 border: solid 1px #ccc; 94 border: solid 1px #ccc;
87 border-top: none; 95 border-top: none;
88 } 96 }
89 97
98 .nav {
99 float: left;
100 width: 263px; /* 12 x 22px - 1 for border */
101 padding: 22px 22px;
102 overflow: hidden;
103 background: #f4f4f4;
104 border-right: solid 1px #ccc;
105 }
106
107 .nav h2 {
108 font: 400 16px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande',
109 sans-serif;
110 margin: 22px -21px 0 -21px;
111 padding: 11px 22px;
112
113 /* Using http://www.colorzilla.com/gradient-editor/ */
114 background: -moz-linear-gradient(top, hsla(0,0%,0%,0.05) 0%, hsla(0,0%,0%,0) 1 00%);
115 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,hsla (0,0%,0%,0.05)), color-stop(100%,hsla(0,0%,0%,0)));
116 background: -webkit-linear-gradient(top, hsla(0,0%,0%,0.05) 0%,hsla(0,0%,0%,0) 100%);
117 background: -o-linear-gradient(top, hsla(0,0%,0%,0.05) 0%,hsla(0,0%,0%,0) 100% );
118 background: -ms-linear-gradient(top, hsla(0,0%,0%,0.05) 0%,hsla(0,0%,0%,0) 100 %);
119 background: linear-gradient(top, hsla(0,0%,0%,0.05) 0%,hsla(0,0%,0%,0) 100%);
120 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0d000000', endColorstr='#00000000',GradientType=0);
121 }
122
123 .nav li {
124 font: 600 13px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande',
125 sans-serif;
126 list-style-type: none;
127 }
128
129 .nav ul {
130 padding: 0;
131 }
132
133 .icon-class,
134 .icon-interface {
135 display: inline-block;
136 width: 12px;
137 height: 13px;
138 margin: 4px 8px 0 2px;
139 vertical-align: top;
140 }
141
142 .icon-class {
143 background: url('class.png');
144 }
145
146 .icon-interface {
147 background: url('interface.png');
148 }
149
150 .icon-library {
151 background: url('library.png');
152 width: 16px;
153 height: 14px;
154 display: inline-block;
155 margin: 4px 4px 0 0;
156 vertical-align: top;
157 }
158
159 .content {
160 margin-left: 308px; /* 14 x 22px */
161 padding: 22px 22px;
162 }
163
164 .footer {
165 clear: both;
166 }
167
90 .method .doc, 168 .method .doc,
91 .field .doc { 169 .field .doc {
92 padding-left: 44px; 170 padding-left: 44px;
93 } 171 }
94 172
95 .param { 173 .param {
96 font: 600 14px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', 174 font: 600 14px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande',
97 sans-serif; 175 sans-serif;
98 } 176 }
99 177
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 272
195 /* Enable these to debug the grid: */ 273 /* Enable these to debug the grid: */
196 274
197 /* 275 /*
198 body { 276 body {
199 background: -webkit-linear-gradient(top, #eee 0, #fff 10%, #fff 90%, #eee 100% ); 277 background: -webkit-linear-gradient(top, #eee 0, #fff 10%, #fff 90%, #eee 100% );
200 background-size: 22px 22px; 278 background-size: 22px 22px;
201 background-repeat: repeat; 279 background-repeat: repeat;
202 } 280 }
203 281
204 .content { 282 .page {
205 background: none; 283 background: none;
206 } 284 }
207 285
208 h1 { 286 h1 {
209 border-left: solid 4px green; 287 border-left: solid 4px green;
210 } 288 }
211 289
212 h2 { 290 h2 {
213 border-left: solid 4px blue; 291 border-left: solid 4px blue;
214 } 292 }
215 293
216 h3 { 294 h3 {
217 border-left: solid 4px red; 295 border-left: solid 4px red;
218 } 296 }
219 297
220 h4 { 298 h4 {
221 border-left: solid 4px orange; 299 border-left: solid 4px orange;
222 } 300 }
223 301
224 p { 302 p {
225 border-left: solid 4px purple; 303 border-left: solid 4px purple;
226 } 304 }
227 305
228 section { 306 section {
229 border-left: solid 4px gray; 307 border-left: solid 4px gray;
230 } 308 }
231 */ 309 */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698