OLD | NEW |
---|---|
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
4 */ | 4 */ |
5 | 5 |
6 .hidden { | |
7 display: none; | |
8 } | |
9 | |
6 body { | 10 body { |
7 color: #333; | 11 color: #333; |
8 font: 13px/22px 'Open Sans',arial,sans-serif; | 12 font: 13px/22px 'Open Sans',arial,sans-serif; |
9 font-weight: 400; | 13 font-weight: 400; |
10 background-color: white; | 14 background-color: white; |
11 margin: 0; | 15 margin: 0; |
12 padding: 0; | 16 padding: 0; |
13 } | 17 } |
14 | 18 |
15 p { | 19 p { |
16 margin: 1em 0 0 0; | 20 margin: 1em 0 0 0; |
17 color: #767676; | 21 color: #767676; |
18 font-size: 14px; | 22 font-size: 14px; |
19 } | 23 } |
20 | 24 |
21 p.note, | 25 p.note, |
22 p.caution, | 26 p.caution, |
23 p.warning { | 27 p.warning { |
24 margin: 1em 0 0 0; | 28 margin: 1em 0 0 0; |
25 padding: .2em .5em .2em .9em; | 29 padding: .2em .5em .2em .9em; |
26 background-color: #EFEFEF; | 30 background-color: whiteSmoke; |
27 border-top: 1px solid; | 31 border-top: 1px solid; |
28 border-bottom: 1px solid; | 32 border-bottom: 1px solid; |
33 overflow: hidden; | |
29 } | 34 } |
30 | 35 |
31 p.note { | 36 p.note { |
32 border-color: #36C; | 37 border-color: #36C; |
33 } | 38 } |
34 | |
35 p.caution { | 39 p.caution { |
36 border-color: #FC3; | 40 border-color: #FC3; |
37 } | 41 } |
38 | |
39 p.warning { | 42 p.warning { |
40 border-color: #A03; | 43 border-color: #A03; |
41 } | 44 } |
42 | 45 |
46 p.warning em, | |
47 p.warning strong { | |
48 color: #A03; | |
49 } | |
50 | |
43 a, a:link { | 51 a, a:link { |
44 text-decoration: none; | 52 text-decoration: none; |
45 color: black; | 53 color: black; |
46 } | 54 } |
47 | 55 |
48 a:visited { | 56 a:visited { |
49 color: #61C; | 57 color: #61C; |
50 } | 58 } |
51 | 59 |
52 a:active, | 60 a:active, |
53 a:hover { | 61 a:hover { |
54 color: #39F; | 62 color: #39F; |
55 } | 63 } |
56 | 64 |
57 #header { | 65 #header { |
58 margin: 1em 0 1em 14px; | 66 margin: 1em 0 1em 14px; |
59 height: 64px; | 67 height: 64px; |
60 } | 68 } |
61 | 69 |
62 #logo { | 70 #logo { |
63 float: left; | 71 float: left; |
64 padding-top: 10px; | 72 padding-top: 10px; |
65 } | 73 } |
66 | 74 |
67 #cse { | 75 #cse { |
68 width: 450px; | 76 width: 450px; |
69 float: right; | 77 position: absolute; |
78 right: 0; | |
79 z-index: 1; | |
cduvall
2012/08/20 22:06:06
This might need a higher z-index. Search for somet
not at google - send to devlin
2012/08/21 02:21:28
As discussed in person, this might be a flash linu
| |
80 } | |
81 | |
82 /* | |
83 * Without a border, the results from the custom search are hard to tell apart | |
84 * from the rest of the content | |
85 */ | |
86 .gsc-resultsbox-visible { | |
87 border-left: 1px solid #E9E9E9; | |
88 border-bottom: 1px solid #E9E9E9; | |
70 } | 89 } |
71 | 90 |
72 li { | 91 li { |
73 margin: .3em 0 0 1.5em; | 92 margin: .3em 0 0 1.5em; |
74 padding: 0; | 93 padding: 0; |
75 } | 94 } |
76 | 95 |
77 ol li { | 96 ol li { |
78 margin-top: 1em; | 97 margin-top: 1em; |
79 } | 98 } |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
127 background-color: #FF7735; | 146 background-color: #FF7735; |
128 color: white; | 147 color: white; |
129 font-weight: bold; | 148 font-weight: bold; |
130 padding: 6px 8px; | 149 padding: 6px 8px; |
131 } | 150 } |
132 | 151 |
133 span.displayModeWarning { | 152 span.displayModeWarning { |
134 margin-right: 2ex; | 153 margin-right: 2ex; |
135 } | 154 } |
136 | 155 |
137 .greytext { | 156 #cseSampleText { |
138 position: absolute; | 157 position: absolute; |
139 top: 95px; | 158 top: 95px; |
140 right: 250px; | 159 right: 250px; |
141 color: #AAA; | 160 color: #AAA; |
142 font-size: 11px; | 161 font-size: 11px; |
143 height: 14px; | 162 height: 14px; |
163 z-index: 1; | |
144 } | 164 } |
145 | 165 |
146 #gc-container { | 166 #gc-container { |
147 margin: 0 auto; | 167 margin: 0 auto; |
148 padding: 0; | 168 padding: 0; |
149 max-width: 1160px; | 169 max-width: 1160px; |
150 position: relative; | 170 position: relative; |
151 height: auto; | 171 height: auto; |
152 } | 172 } |
153 | 173 |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
187 font-size: 12px; | 207 font-size: 12px; |
188 height: 45px; | 208 height: 45px; |
189 text-align: right; | 209 text-align: right; |
190 list-style: none; | 210 list-style: none; |
191 margin: 0; | 211 margin: 0; |
192 } | 212 } |
193 | 213 |
194 #gc-topnav li a { | 214 #gc-topnav li a { |
195 color: #333; | 215 color: #333; |
196 } | 216 } |
217 #gc-topnav li a:hover { | |
218 color: #39f; | |
219 } | |
197 | 220 |
198 #gc-topnav div { | 221 #gc-topnav div { |
199 border-top: 10px solid white; | 222 border-top: 10px solid white; |
200 margin: 0 30px; | 223 margin: 0 30px; |
201 position: relative; | 224 position: relative; |
202 height: 29px; | 225 height: 29px; |
203 } | 226 } |
204 | 227 |
205 .pageData { | 228 .pageData { |
206 display: none; | 229 display: none; |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
248 margin: 0; | 271 margin: 0; |
249 color: #666; | 272 color: #666; |
250 } | 273 } |
251 | 274 |
252 #gc-footer .text { | 275 #gc-footer .text { |
253 text-align: center; | 276 text-align: center; |
254 padding: 30px 0; | 277 padding: 30px 0; |
255 margin: 0 0 0 0; | 278 margin: 0 0 0 0; |
256 } | 279 } |
257 | 280 |
258 #gc-toc { | 281 #gc-sidebar { |
259 margin: 0; | 282 margin: 0; |
283 margin-top: 2.5em; | |
260 width: 180px; | 284 width: 180px; |
261 float: left; | 285 float: left; |
262 } | 286 } |
263 | 287 |
264 #gc-toc * { | 288 #gc-sidebar span, |
265 vertical-align: middle; | 289 #gc-sidebar a { |
290 color: #767676; | |
291 display: block; | |
292 position: relative; | |
293 } | |
294 #gc-sidebar a:visited { | |
295 color: #767676; | |
296 } | |
297 #gc-sidebar a:hover, | |
298 #gc-sidebar a.selected { | |
299 color: #39F; | |
300 } | |
301 #gc-sidebar a.button { | |
266 color: #767676; | 302 color: #767676; |
267 } | 303 } |
268 | 304 |
269 #gc-toc span { | 305 #gc-sidebar ul { |
270 cursor: pointer; | 306 list-style: none; |
307 padding: 0; | |
308 } | |
309 #gc-sidebar ul.level2 { | |
310 margin-left: 10px; | |
311 padding-top: 10px; | |
312 } | |
313 #gc-sidebar ul.level3 { | |
314 margin-left: 20px; | |
315 padding-top: 10px; | |
271 } | 316 } |
272 | 317 |
273 #gc-toc ul { | 318 #gc-sidebar li { |
274 border-bottom: 1px solid #E5E5E5; | |
275 padding: 2.9em 0 0; | |
276 margin: 0; | 319 margin: 0; |
320 padding: 8px 0; | |
277 line-height: 120%; | 321 line-height: 120%; |
278 list-style: none; | |
279 } | 322 } |
280 | 323 |
281 #gc-toc > ul { | 324 #gc-sidebar li.level2 { |
282 border-bottom: none; | 325 border-top: 1px solid #E5E5E5; |
283 } | 326 } |
284 | 327 #gc-sidebar span.level2, |
285 #gc-toc ul li { | 328 #gc-sidebar a.level2 { |
286 padding-bottom: 10px; | 329 font-weight: bold; |
287 margin: 0; | |
288 position: relative; | |
289 } | 330 } |
290 | 331 #gc-sidebar ul.level3 { |
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); | 332 list-style: url(../images/sidearrow.png); |
297 } | 333 } |
298 | 334 |
299 #gc-toc ol ul { | 335 #gc-sidebar .toggleIndicator { |
300 color: #767676; | 336 position: absolute; |
337 right: 0; | |
338 top: 3px; | |
339 background: url(../images/toggle_sprite.png) no-repeat 0 0; | |
340 height: 8px; | |
341 width: 8px; | |
301 } | 342 } |
302 | 343 #gc-sidebar .toggleIndicator.toggled { |
303 #gc-toc ul li li { | |
304 /* Cancel the border-bottom on #gc-toc ul. */ | |
305 border-bottom: none; | |
306 padding-left: 10px; | |
307 } | |
308 | |
309 #gc-toc h2 { | |
310 font-weight: bold; | |
311 font-size: 100%; | |
312 margin: 0; | |
313 padding: .2em 0 8px .2em; | |
314 border: none; | |
315 background: white; | |
316 } | |
317 | |
318 #gc-toc ul ul { | |
319 padding: 0; | |
320 margin: 0; | |
321 } | |
322 | |
323 #gc-toc .toggle { | |
324 background: url(../images/toggle_sprite.png) no-repeat 0px 0px; | |
325 width: 9px; | |
326 height: 9px; | |
327 position: absolute; | |
328 top: -1px; | |
329 right: 4px; | |
330 text-decoration: none; | |
331 margin: 8px 1px 4px -13px; | |
332 cursor: pointer; | |
333 } | |
334 | |
335 #gc-toc .toggle.selected { | |
336 background-position: 0 -9px; | 344 background-position: 0 -9px; |
337 } | 345 } |
338 | 346 |
339 #gc-toc .toggle:active { | |
340 top: 0px; | |
341 } | |
342 | |
343 #gc-toc .leftNavSelected { | |
344 color: #39F; | |
345 text-decoration: none; | |
346 position: relative; | |
347 } | |
348 | |
349 #gc-toc div.line { | 347 #gc-toc div.line { |
350 border-top: thin solid #FAFAFA; | 348 border-top: thin solid #FAFAFA; |
351 height: 1px; | 349 height: 1px; |
352 margin: 1.3em 1em 0 0; | 350 margin: 1.3em 1em 0 0; |
353 padding: 0; | 351 padding: 0; |
354 } | 352 } |
355 | 353 |
356 #toc { | 354 #toc { |
357 background-color: #E8EDEB; | 355 background-color: whiteSmoke; |
358 float: right; | 356 float: right; |
359 margin: 5px 0px 5px 20px; | 357 margin: 5px 0px 5px 20px; |
360 padding: 5px; | 358 padding: 5px; |
361 width: 250px; | 359 width: 250px; |
362 } | 360 } |
363 | 361 |
364 #toc * { | 362 #toc * { |
365 padding: 0; | 363 padding: 0; |
366 list-style: none; | 364 list-style: none; |
365 font-weight: 600; | |
367 } | 366 } |
368 | 367 |
369 #toc h2 { | 368 #toc h2 { |
370 font-weight: bold; | 369 font-weight: bold; |
371 font-size: 100%; | 370 font-size: 100%; |
372 margin: 0; | 371 margin: 0; |
373 border: none; | 372 border: none; |
374 background-color: #E8EDEB; | 373 background-color: whiteSmoke; |
375 padding: 0; | 374 padding: 0; |
376 } | 375 } |
377 | 376 |
378 #toc ol { | 377 #toc ol { |
379 margin: 1em 0 0 0; | 378 margin: 1em 0 0 0; |
380 } | 379 } |
381 | 380 |
382 #toc ol li { | 381 #toc ol li { |
383 margin: .4em 0 0 1em; | 382 margin: .4em 0 0 1em; |
384 } | 383 } |
(...skipping 15 matching lines...) Expand all Loading... | |
400 } | 399 } |
401 | 400 |
402 /* Specificity hack to override the "a" rule. */ | 401 /* Specificity hack to override the "a" rule. */ |
403 #filtered_apis * { | 402 #filtered_apis * { |
404 color: #50A9D5; | 403 color: #50A9D5; |
405 } | 404 } |
406 | 405 |
407 #skipto { | 406 #skipto { |
408 display: none; | 407 display: none; |
409 } | 408 } |
OLD | NEW |