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

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

Issue 10985085: Members and comments inherited in dartdoc. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments Created 8 years, 2 months 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
« no previous file with comments | « pkg/dartdoc/lib/src/mirrors/util.dart ('k') | utils/apidoc/apidoc.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Reset */ 1 /* Reset */
2 body, h1, h2, h3, h4, li, ol, p, pre, section, ul { 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: #e8e8e8; 9 background: #e8e8e8;
10 color: #333; 10 color: #333;
11 background-image: url('body-bg.png'); 11 background-image: url('body-bg.png');
12 background-repeat: repeat; 12 background-repeat: repeat;
13 } 13 }
14 14
15 h2 { 15 h2 {
16 font: 400 28px/44px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', 16 font: 400 28px/44px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande',
17 sans-serif; 17 sans-serif;
18 margin: 0 0 22px 0;
19 } 18 }
20 19
21 h3 { 20 h3 {
22 font: 600 14px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', 21 font: 600 14px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande',
23 sans-serif; 22 sans-serif;
24 color: #999; 23 color: #999;
25 margin: 22px 0 0 0; 24 margin: 22px 0 0 0;
26 } 25 }
27 26
28 h4 { 27 h4 {
29 font: 600 16px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', 28 font: 600 16px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande',
30 sans-serif; 29 sans-serif;
31 } 30 }
32 31
33 p { 32 p {
34 font-size: 16px; 33 font-size: 16px;
35 line-height: 22px; 34 line-height: 22px;
36 margin: 22px 0; 35 margin: 0 0 22px 0;
37 } 36 }
38 37
39 h3 + p { 38 h3 + p {
40 /* Text immediately following a subheader should be snug with it. */ 39 /* Text immediately following a subheader should be snug with it. */
41 margin-top: 0; 40 margin-top: 0;
42 } 41 }
43 42
44 strong { 43 strong {
45 font-weight: 700; 44 font-weight: 700;
46 } 45 }
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 text-align: center; 285 text-align: center;
287 margin: 22px auto; 286 margin: 22px auto;
288 color: #888; 287 color: #888;
289 } 288 }
290 289
291 .footer p { 290 .footer p {
292 font: 400 13px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', 291 font: 400 13px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande',
293 sans-serif; 292 sans-serif;
294 } 293 }
295 294
295 .inherited {
296 }
297
298 .inherited-from {
299 font: 400 13px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande',
300 sans-serif;
301 text-align: right;
302 opacity: 0.7;
303 }
304
305 .inherited-from, .docs-inherited-from {
306 font: 400 13px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande',
307 sans-serif;
308 text-align: right;
309 opacity: 0.7;
310 }
311
312 .docs-inherited-from {
313 margin-top: -22px;
314 }
315
296 .method .doc, 316 .method .doc,
297 .field .doc { 317 .field .doc {
298 padding-left: 44px; 318 padding-left: 44px;
299 /* Ensure there is some space between members with no documentation. */ 319 /* Ensure there is some space between members with no documentation. */
300 min-height: 22px; 320 margin-bottom: 22px;
301 } 321 }
302 322
303 .param { 323 .param {
304 font: 600 14px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', 324 font: 600 14px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande',
305 sans-serif; 325 sans-serif;
306 } 326 }
307 327
308 .crossref { 328 .crossref {
309 font: 600 15px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', 329 font: 600 15px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande',
310 sans-serif; 330 sans-serif;
(...skipping 21 matching lines...) Expand all
332 .method:hover, 352 .method:hover,
333 .field:hover { 353 .field:hover {
334 margin: 0 -22px; 354 margin: 0 -22px;
335 border: solid 4px hsl(40, 100%, 85%); 355 border: solid 4px hsl(40, 100%, 85%);
336 padding: 0 18px; 356 padding: 0 18px;
337 border-top: none; 357 border-top: none;
338 border-bottom: none; 358 border-bottom: none;
339 } 359 }
340 360
341 /* Only show the "code" link for the highlighted member. */ 361 /* Only show the "code" link for the highlighted member. */
342 .show-code { 362 .show-code, .show-inherited {
343 float: right; 363 float: right;
344 font: 600 11px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', 364 font: 600 11px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande',
345 sans-serif; 365 sans-serif;
346 padding-left: 6px; /* In case it gets too close to the member. */ 366 padding: 0 0 6px 0; /* In case it gets too close to the member. */
367 border: none;
368 background: transparent;
369 margin: 0;
347 } 370 }
348 371
349 .method:hover .show-code, 372 .method:hover .show-code,
350 .field:hover .show-code { 373 .field:hover .show-code {
351 display: inline; 374 display: inline;
352 } 375 }
353 376
354 /* Only show permalinks when hovered over. */ 377 /* Only show permalinks when hovered over. */
355 .anchor-link { 378 .anchor-link {
356 display: none; 379 display: none;
357 } 380 }
358 381
359 h2:hover > .anchor-link, 382 h2:hover > .anchor-link,
360 h4:hover > .anchor-link { 383 h4:hover > .anchor-link {
361 display: inline; 384 display: inline;
362 } 385 }
363 386
364 /* Only show code when expanded. */ 387 /* Only show code when expanded. */
365 pre.source { 388 pre.source {
366 display: none; 389 display: none;
367 } 390 }
368 391
369 pre.source.expanded { 392 pre.source.expanded {
370 display: block; 393 display: block;
371 } 394 }
372 395
373 /* Links that don't cause a page refresh. */ 396 /* Links that don't cause a page refresh. */
374 .anchor-link, .anchor-link:visited, 397 .anchor-link, .anchor-link:visited,
375 .show-code, .show-code:visited { 398 .show-code, .show-code:visited,
399 .show-inherited, .show-inherited:visited {
376 color: hsl(40, 100%, 40%); 400 color: hsl(40, 100%, 40%);
377 display: none;
378 cursor: pointer; 401 cursor: pointer;
379 } 402 }
380 403
404 .anchor-link, .anchor-link:visited,
405 .show-code, .show-code:visited {
406 display: none;
407 }
408
381 .anchor-link:hover, 409 .anchor-link:hover,
382 .show-code:hover { 410 .show-code:hover,
411 .show-inherited:hover {
383 color: hsl(40, 100%, 60%); 412 color: hsl(40, 100%, 60%);
384 } 413 }
385 414
386 /* Syntax highlighting. */ 415 /* Syntax highlighting. */
387 /* Note: these correspond to the constants in classify.dart. */ 416 /* Note: these correspond to the constants in classify.dart. */
388 pre.source .e { color: hsl( 0, 100%, 70%); } /* Error */ 417 pre.source .e { color: hsl( 0, 100%, 70%); } /* Error */
389 pre.source .c { color: hsl(220, 20%, 65%); } /* Comment */ 418 pre.source .c { color: hsl(220, 20%, 65%); } /* Comment */
390 pre.source .i { color: hsl(220, 20%, 20%); } /* Identifier */ 419 pre.source .i { color: hsl(220, 20%, 20%); } /* Identifier */
391 pre.source .k { color: hsl(220, 100%, 50%); } /* Keyword */ 420 pre.source .k { color: hsl(220, 100%, 50%); } /* Keyword */
392 pre.source .p { color: hsl(220, 20%, 50%); } /* Punctuation */ 421 pre.source .p { color: hsl(220, 20%, 50%); } /* Punctuation */
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 } 465 }
437 466
438 p { 467 p {
439 border-left: solid 4px purple; 468 border-left: solid 4px purple;
440 } 469 }
441 470
442 section { 471 section {
443 border-left: solid 4px gray; 472 border-left: solid 4px gray;
444 } 473 }
445 */ 474 */
OLDNEW
« no previous file with comments | « pkg/dartdoc/lib/src/mirrors/util.dart ('k') | utils/apidoc/apidoc.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698