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

Unified Diff: chrome/common/extensions/docs/static/sass/_api.scss

Issue 121713002: Rework API reference pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@addscss_330235
Patch Set: moved inline style to sass file Created 6 years, 12 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/static/sass/_api.scss
diff --git a/chrome/common/extensions/docs/static/sass/_api.scss b/chrome/common/extensions/docs/static/sass/_api.scss
new file mode 100644
index 0000000000000000000000000000000000000000..44a13b391cbebf206942f5419c16bfa810e04aee
--- /dev/null
+++ b/chrome/common/extensions/docs/static/sass/_api.scss
@@ -0,0 +1,57 @@
+.api {
+
+ color: #333;
+ font-size: 14px;
+
+ .apisummary {
not at google - send to devlin 2014/01/03 23:30:24 nit: style I usually see in chromium is for class
Renato Mangini (chromium) 2014/02/06 03:19:17 Done.
+ td, th {
not at google - send to devlin 2014/01/03 23:30:24 nit: likewise chromium style usually to separate r
Renato Mangini (chromium) 2014/02/06 03:19:17 Done.
+ padding: 5px 10px;
+ }
+ a {
+ color: inherit;
+ font-weight: normal;
+ }
+ td:hover a, td:hover a * {
+ cursor: pointer;
+ color: $link-color;
+ font-weight: bold;
+ }
+ }
+ .api_reference {
+ table.innerTable {
+ margin: 10px 0;
+
+ td, th {
+ padding: 5px 10px;
+ border: 1px solid #eee;
+ }
+ th {
+ background: none;
+ }
+ }
+
+ td, th {
+ border: 1px solid #eee;
+ }
+ th {
+ background: #fafafa;
+ }
+
+ h2 {
+ background-color: darken($gray-light, 5%);
+ padding: $default-padding;
+ margin-left: $default-padding * -1;
+ margin-right: $default-padding * -1;
+ }
+
+ h3 {
+ margin-top: rhythm(2);
+ }
+
+ .description {
+ margin-left: 20px;
+ }
+ }
+
+
not at google - send to devlin 2014/01/03 23:30:24 nit: can the use of blank lines in this file be co
Renato Mangini (chromium) 2014/02/06 03:19:17 Done.
+}

Powered by Google App Engine
This is Rietveld 408576698