Chromium Code Reviews| Index: pkg/dartdoc/static/styles.css |
| diff --git a/pkg/dartdoc/static/styles.css b/pkg/dartdoc/static/styles.css |
| index fa96545378b93a6a6c5801c532f3ef77dee94abd..9e9e8112f9a4599dbe2db567401bc744f21af2d4 100644 |
| --- a/pkg/dartdoc/static/styles.css |
| +++ b/pkg/dartdoc/static/styles.css |
| @@ -15,7 +15,7 @@ body { |
| h2 { |
| font: 400 28px/44px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', |
| sans-serif; |
| - margin: 0 0 22px 0; |
| + /*margin: 0 0 22px 0;*/ |
|
Lasse Reichstein Nielsen
2012/10/04 07:41:19
Remove commented code.
Johnni Winther
2012/10/04 12:46:21
Done.
|
| } |
| h3 { |
| @@ -33,7 +33,7 @@ h4 { |
| p { |
| font-size: 16px; |
| line-height: 22px; |
| - margin: 22px 0; |
| + margin: 0 0 22px 0; |
| } |
| h3 + p { |
| @@ -293,11 +293,32 @@ ul.icon ul { |
| sans-serif; |
| } |
| +.inherited { |
| +} |
| + |
| +.inherited-from { |
| + font: 400 13px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', |
| + sans-serif; |
| + text-align: right; |
| + opacity: 0.7; |
| +} |
| + |
| +.inherited-from, .docs-inherited-from { |
| + font: 400 13px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', |
| + sans-serif; |
| + text-align: right; |
| + opacity: 0.7; |
| +} |
| + |
| +.docs-inherited-from { |
| + margin-top: -22px; |
| +} |
| + |
| .method .doc, |
| .field .doc { |
| padding-left: 44px; |
| /* Ensure there is some space between members with no documentation. */ |
| - min-height: 22px; |
| + margin-bottom: 22px; |
| } |
| .param { |
| @@ -339,7 +360,7 @@ ul.icon ul { |
| } |
| /* Only show the "code" link for the highlighted member. */ |
| -.show-code { |
| +.show-code, .show-inherited { |
| float: right; |
| font: 600 11px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', |
| sans-serif; |
| @@ -372,14 +393,20 @@ pre.source.expanded { |
| /* Links that don't cause a page refresh. */ |
| .anchor-link, .anchor-link:visited, |
| -.show-code, .show-code:visited { |
| +.show-code, .show-code:visited, |
| +.show-inherited, .show-inherited:visited { |
| color: hsl(40, 100%, 40%); |
| - display: none; |
| cursor: pointer; |
| } |
| +.anchor-link, .anchor-link:visited, |
| +.show-code, .show-code:visited { |
| + display: none; |
| +} |
| + |
| .anchor-link:hover, |
| -.show-code:hover { |
| +.show-code:hover, |
| +.show-inherited:hover { |
| color: hsl(40, 100%, 60%); |
| } |