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

Unified Diff: Source/devtools/front_end/documentationView.css

Issue 525363003: DevTools: [Documentation] Add signature section for renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@iliia-patch
Patch Set: Comments addressed Created 6 years, 3 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: Source/devtools/front_end/documentationView.css
diff --git a/Source/devtools/front_end/documentationView.css b/Source/devtools/front_end/documentationView.css
index 4e869653629041540e55b8e65c4476de903d02e2..9bca00405ce3a2249939eb98a1a020460076a2ea 100644
--- a/Source/devtools/front_end/documentationView.css
+++ b/Source/devtools/front_end/documentationView.css
@@ -25,21 +25,28 @@
}
.documentation-link {
- margin-left: 0.5em;
+ margin-left: 5px;
}
.documentation-highlighted-text {
font-weight: bold;
}
-.documentation-parameter {
- margin-left: 5px;
+.documentation-method-signature {
+ font-size: 120% !important;
+ border: 1px solid gray;
+ border-radius: 6px;
+ padding: 10px;
}
.documentation-section {
margin-bottom: 15px;
}
+.documentation-section-content {
+ margin-left: 16px;
+}
+
.documentation-code-tag {
font-weight: bold;
}
@@ -47,6 +54,8 @@
.documentation-parameter-optional {
padding: 6px;
background-color: rgb(219, 234, 249);
+ padding-left: 10px;
+ padding-right: 10px;
text-decoration: none;
margin-left: 10px;
margin-top: -5px;
@@ -57,9 +66,15 @@
margin-right: 5px;
padding: 6px;
background-color: rgb(254, 254, 202);
+ padding-left: 10px;
+ padding-right: 10px;
+ border-radius: 5px;
text-decoration: none;
- margin-left: 10px;
- margin-top: 5px;
+}
+
+.documentation-parameter-margin {
+ margin-left: 1ex;
+ margin-top: -0.5ex;
border-radius: 5px;
}
@@ -86,9 +101,19 @@
.documentation-example-link {
float: right;
padding: 6px;
- background-color: rgb(241, 246, 251);
+ background-color: rgb(219, 234, 249);
+ padding-left: 10px;
+ padding-right: 10px;
text-decoration: none;
margin-left: 10px;
margin-top: 5px;
border-radius: 5px;
}
+
+.documentation-example-link:visited {
+ color: rgb(109, 114, 255);
+}
+
+.documentation-text {
+ line-height: 1.5;
+}

Powered by Google App Engine
This is Rietveld 408576698