OLD | NEW |
| 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 * Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. |
| 4 */ |
| 5 |
1 body { | 6 body { |
2 color: #333; | 7 color: #333; |
3 font: 13px/22px 'Open Sans',arial,sans-serif; | 8 font: 13px/22px 'Open Sans',arial,sans-serif; |
4 font-weight: 400; | 9 font-weight: 400; |
5 background-color: white; | 10 background-color: white; |
6 margin: 0; | 11 margin: 0; |
7 padding: 0; | 12 padding: 0; |
8 } | 13 } |
9 | 14 |
10 p { | 15 p { |
(...skipping 20 matching lines...) Expand all Loading... |
31 border-color: #FC3; | 36 border-color: #FC3; |
32 } | 37 } |
33 | 38 |
34 p.warning { | 39 p.warning { |
35 border-color: #A03; | 40 border-color: #A03; |
36 } | 41 } |
37 | 42 |
38 a, a:link { | 43 a, a:link { |
39 text-decoration: none; | 44 text-decoration: none; |
40 color: black; | 45 color: black; |
41 font-weight: 600; | |
42 } | 46 } |
43 | 47 |
44 a:visited { | 48 a:visited { |
45 color: #61C; | 49 color: #61C; |
46 } | 50 } |
47 | 51 |
48 a:active, | 52 a:active, |
49 a:hover { | 53 a:hover { |
50 color: #39F; | 54 color: #39F; |
51 } | 55 } |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 dl { | 116 dl { |
113 margin: 0; | 117 margin: 0; |
114 } | 118 } |
115 | 119 |
116 dd { | 120 dd { |
117 margin: .4em 0 0 2em; | 121 margin: .4em 0 0 2em; |
118 padding: 0; | 122 padding: 0; |
119 font-weight: normal; | 123 font-weight: normal; |
120 } | 124 } |
121 | 125 |
122 .hidden, | |
123 .hidden *, | |
124 #skipto, | |
125 #skipto * { | |
126 position: relative; | |
127 top: -9999px; | |
128 left: -9999px; | |
129 height: 0; | |
130 width: 0; | |
131 overflow: hidden; | |
132 z-index: 3; | |
133 } | |
134 | |
135 .displayModeWarning { | 126 .displayModeWarning { |
136 background-color: #FF7735; | 127 background-color: #FF7735; |
137 color: white; | 128 color: white; |
138 font-weight: bold; | 129 font-weight: bold; |
139 padding: 6px 8px; | 130 padding: 6px 8px; |
140 } | 131 } |
141 | 132 |
142 span.displayModeWarning { | 133 span.displayModeWarning { |
143 margin-right: 2ex; | 134 margin-right: 2ex; |
144 } | 135 } |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 padding: 0 0 0 14px; | 171 padding: 0 0 0 14px; |
181 float: left; | 172 float: left; |
182 border-top: 10px solid white; | 173 border-top: 10px solid white; |
183 } | 174 } |
184 | 175 |
185 #gc-topnav li { | 176 #gc-topnav li { |
186 font-weight: 600; | 177 font-weight: 600; |
187 height: 45px; | 178 height: 45px; |
188 text-transform: uppercase; | 179 text-transform: uppercase; |
189 white-space: nowrap; | 180 white-space: nowrap; |
190 float: none; | 181 display: inline-block; |
191 display: inline; | |
192 margin: 0; | 182 margin: 0; |
193 padding: 0; | 183 padding: 0; |
194 } | 184 } |
195 | 185 |
196 #gc-topnav ul { | 186 #gc-topnav ul { |
197 font-size: 12px; | 187 font-size: 12px; |
198 height: 45px; | 188 height: 45px; |
199 text-align: right; | 189 text-align: right; |
200 list-style: none; | 190 list-style: none; |
201 margin: 0; | 191 margin: 0; |
202 } | 192 } |
203 | 193 |
204 #gc-topnav li a { | 194 #gc-topnav li a { |
205 width: 108px; | |
206 height: 45px; | |
207 background: white; | |
208 border: 0 solid #39C; | |
209 display: inline-block; | |
210 z-index: 2; | |
211 color: #333; | 195 color: #333; |
212 text-decoration: none; | |
213 } | 196 } |
214 | 197 |
215 #gc-topnav div { | 198 #gc-topnav div { |
216 border-top: 10px solid white; | 199 border-top: 10px solid white; |
217 margin: 0 30px; | 200 margin: 0 30px; |
218 position: relative; | 201 position: relative; |
219 height: 29px; | 202 height: 29px; |
220 } | 203 } |
221 | 204 |
222 .pageData { | 205 .pageData { |
(...skipping 19 matching lines...) Expand all Loading... |
242 top: 0em; | 225 top: 0em; |
243 } | 226 } |
244 | 227 |
245 #gc-pagecontent h3 { | 228 #gc-pagecontent h3 { |
246 font-size: 130%; | 229 font-size: 130%; |
247 font-weight: bold; | 230 font-weight: bold; |
248 margin: 1.5em 0 0 0; | 231 margin: 1.5em 0 0 0; |
249 top: 0em; | 232 top: 0em; |
250 } | 233 } |
251 | 234 |
252 #gc-pagecontent h4 { | |
253 font-size: 110%; | |
254 margin: .7em 0 0 0; | |
255 position: relative; | |
256 top: .4em; | |
257 } | |
258 | |
259 #gc-pagecontent h1.page_title, | 235 #gc-pagecontent h1.page_title, |
260 #gc-pagecontent h2.page_title { | 236 #gc-pagecontent h2.page_title { |
261 line-height: 130%; | 237 line-height: 130%; |
262 font-size: 320%; | 238 font-size: 320%; |
263 margin: 0; | 239 margin: 0; |
264 padding: .8em 0 0; | 240 padding: .8em 0 0; |
265 border: none; | 241 border: none; |
266 background: none; | 242 background: none; |
267 font-weight: normal; | 243 font-weight: normal; |
268 } | 244 } |
(...skipping 19 matching lines...) Expand all Loading... |
288 #gc-toc * { | 264 #gc-toc * { |
289 vertical-align: middle; | 265 vertical-align: middle; |
290 color: #767676; | 266 color: #767676; |
291 } | 267 } |
292 | 268 |
293 #gc-toc span { | 269 #gc-toc span { |
294 cursor: pointer; | 270 cursor: pointer; |
295 } | 271 } |
296 | 272 |
297 #gc-toc ul { | 273 #gc-toc ul { |
| 274 border-bottom: 1px solid #E5E5E5; |
298 padding: 2.9em 0 0; | 275 padding: 2.9em 0 0; |
299 margin: 0; | 276 margin: 0; |
300 line-height: 120%; | 277 line-height: 120%; |
301 list-style: none; | 278 list-style: none; |
302 } | 279 } |
303 | 280 |
| 281 #gc-toc > ul { |
| 282 border-bottom: none; |
| 283 } |
| 284 |
304 #gc-toc ul li { | 285 #gc-toc ul li { |
305 padding: 8px 0; | 286 padding-bottom: 10px; |
306 margin: 0; | 287 margin: 0; |
307 position: relative; | 288 position: relative; |
308 } | 289 } |
309 | 290 |
| 291 #gc-toc ul li ul li ul { |
| 292 margin-top: 10px; |
| 293 margin-left: 25px; |
| 294 padding-left: 0; |
| 295 border-bottom: 0; |
| 296 list-style: url(../images/sidearrow.png); |
| 297 } |
| 298 |
310 #gc-toc ol ul { | 299 #gc-toc ol ul { |
311 color: #767676; | 300 color: #767676; |
312 } | 301 } |
313 | 302 |
314 #gc-toc ul li li { | 303 #gc-toc ul li li { |
315 border-top: none; | 304 /* Cancel the border-bottom on #gc-toc ul. */ |
| 305 border-bottom: none; |
316 padding-left: 10px; | 306 padding-left: 10px; |
317 } | 307 } |
318 | 308 |
319 #gc-toc li a { | |
320 font-weight: normal; | |
321 text-decoration: none; | |
322 } | |
323 | |
324 #gc-toc h2 { | 309 #gc-toc h2 { |
325 font-weight: bold; | 310 font-weight: bold; |
326 font-size: 100%; | 311 font-size: 100%; |
327 margin: 0; | 312 margin: 0; |
328 padding: .2em 0 8px .2em; | 313 padding: .2em 0 8px .2em; |
329 border: none; | 314 border: none; |
330 background: white; | 315 background: white; |
331 } | 316 } |
332 | 317 |
333 #gc-toc ul ul { | 318 #gc-toc ul ul { |
334 padding: 0; | 319 padding: 0; |
335 margin: 0; | 320 margin: 0; |
336 } | 321 } |
337 | 322 |
338 #gc-toc .toggle { | 323 #gc-toc .toggle { |
339 background: url(../images/toggle_sprite.png) no-repeat 0px 0px; | 324 background: url(../images/toggle_sprite.png) no-repeat 0px 0px; |
340 width: 9px; | 325 width: 9px; |
341 height: 9px; | 326 height: 9px; |
342 position: absolute; | 327 position: absolute; |
| 328 top: -1px; |
343 right: 4px; | 329 right: 4px; |
344 text-decoration: none; | 330 text-decoration: none; |
345 margin: 8px 1px 4px -13px; | 331 margin: 8px 1px 4px -13px; |
346 cursor: pointer; | 332 cursor: pointer; |
347 } | 333 } |
348 | 334 |
349 #gc-toc .toggle.selected { | 335 #gc-toc .toggle.selected { |
350 background-position: 0 -9px; | 336 background-position: 0 -9px; |
351 } | 337 } |
352 | 338 |
| 339 #gc-toc .toggle:active { |
| 340 top: 0px; |
| 341 } |
| 342 |
353 #gc-toc ul .leftNavSelected { | 343 #gc-toc ul .leftNavSelected { |
354 background-color: #F1F1F1; | 344 background-color: #F1F1F1; |
355 color: black; | 345 color: black; |
356 text-decoration: none; | 346 text-decoration: none; |
357 z-index: 1; | 347 z-index: 1; |
358 position: relative; | 348 position: relative; |
359 } | 349 } |
360 | 350 |
361 #gc-toc div.line { | 351 #gc-toc div.line { |
362 border-top: thin solid #FAFAFA; | 352 border-top: thin solid #FAFAFA; |
363 height: 1px; | 353 height: 1px; |
364 margin: 1.3em 1em 0 0; | 354 margin: 1.3em 1em 0 0; |
365 padding: 0; | 355 padding: 0; |
366 } | 356 } |
367 | 357 |
| 358 #toc { |
| 359 background-color: #E8EDEB; |
| 360 float: right; |
| 361 margin: 5px 0px 5px 20px; |
| 362 padding: 5px; |
| 363 width: 250px; |
| 364 } |
| 365 |
| 366 #toc * { |
| 367 padding: 0; |
| 368 list-style: none; |
| 369 } |
| 370 |
| 371 #toc h2 { |
| 372 font-weight: bold; |
| 373 font-size: 100%; |
| 374 margin: 0; |
| 375 border: none; |
| 376 background-color: #E8EDEB; |
| 377 padding: 0; |
| 378 } |
| 379 |
| 380 #toc ol { |
| 381 margin: 1em 0 0 0; |
| 382 } |
| 383 |
| 384 #toc ol li { |
| 385 margin: .4em 0 0 1em; |
| 386 } |
| 387 |
| 388 #toc ol li ol { |
| 389 margin: 0; |
| 390 } |
| 391 |
| 392 #toc ol li ol li { |
| 393 margin: .1em 0 0 1em; |
| 394 } |
| 395 |
368 .filtered_item { | 396 .filtered_item { |
369 line-height: 6px; | 397 line-height: 6px; |
370 } | 398 } |
371 | 399 |
372 #filtered_apis { | 400 #filtered_apis { |
373 margin-top: -5px; | 401 margin-top: 5px; |
374 padding-bottom: 5px; | |
375 } | 402 } |
376 | 403 |
| 404 /* Specificity hack to override the "a" rule. */ |
377 #filtered_apis * { | 405 #filtered_apis * { |
378 color: #50A9D5; | 406 color: #50A9D5; |
379 } | 407 } |
OLD | NEW |