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

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

Issue 149673004: Rework API reference pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed reviewer comments from CL 121713002 Created 6 years, 10 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..93cb9764613965783d8d2b382ff5607d97812c1e
--- /dev/null
+++ b/chrome/common/extensions/docs/static/sass/_api.scss
@@ -0,0 +1,53 @@
+.api {
+ color: #333;
Jeffrey Yasskin 2014/02/07 02:40:03 Contrast ratio 12.6:1. I wonder if we should comm
Renato Mangini (chromium) 2014/02/14 00:50:50 Good point. As you noticed, at least for API pages
+ font-size: 14px;
+
+ .api-summary {
Jeffrey Yasskin 2014/02/07 02:40:03 This hasn't been propagated to the compiled css, w
Renato Mangini (chromium) 2014/02/14 00:50:50 You need to compile SASS files. And yes, it will b
+ td, th {
+ padding: 5px 10px;
+ }
+ a {
+ color: inherit;
+ font-weight: normal;
+ }
+ td:hover a, td:hover a * {
Jeffrey Yasskin 2014/02/07 02:40:03 We shouldn't have a UI that requires you to scan y
Renato Mangini (chromium) 2014/02/14 00:50:50 Done. Added a link with the function name and the
+ cursor: pointer;
+ color: $link-color;
+ font-weight: bold;
Jeffrey Yasskin 2014/02/07 02:40:03 We shouldn't change the size of text on hover. It
Renato Mangini (chromium) 2014/02/14 00:50:50 Done.
+ }
+ }
+
+ .api-reference {
+ .description {
+ margin-left: 20px;
+ }
+ table.innerTable {
+ margin: 10px 0;
+ td, th {
+ padding: 5px 10px;
+ border: 1px solid #eee;
+ }
+ th {
+ background: none;
Jeffrey Yasskin 2014/02/07 02:40:03 Please comment which background this cancels.
+ }
+ p {
+ margin: 0;
Jeffrey Yasskin 2014/02/07 02:40:03 Do we have any places where we have 2 paragraphs i
+ }
+ }
+ td, th {
+ border: 1px solid #eee;
+ }
+ th {
+ background: #fafafa;
Jeffrey Yasskin 2014/02/07 02:40:03 Contrast ratio 12.1:1
+ }
+ h2 {
+ background-color: darken($gray-light, 5%);
Jeffrey Yasskin 2014/02/07 02:40:03 Contrast ratio 17.1:1
+ padding: $default-padding;
+ margin-left: $default-padding * -1;
+ margin-right: $default-padding * -1;
+ }
+ h3 {
+ margin-top: rhythm(2);
Jeffrey Yasskin 2014/02/07 02:40:03 Is there a good way to search for the definitions
Renato Mangini (chromium) 2014/02/14 00:50:50 Done.
+ }
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698