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

Side by Side 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: Fix rebase problems 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright 2014 The Chromium Authors. All rights reserved. 2 * Copyright 2014 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 .documentation-example-code { 7 .documentation-example-code {
8 border: 1px dotted black; 8 border: 1px solid gray;
9 border-radius: 6px; 9 border-radius: 6px;
10 padding: 1em; 10 padding: 1em;
apavlov 2014/09/05 16:43:00 In general, we don't use ems in our layout?
semeny 2014/09/08 10:03:57 Done.
11 margin-bottom: 1em; 11 margin-bottom: 1em;
12 } 12 }
13 13
14 .documentation-code { 14 .documentation-code {
15 border: 1px dotted black; 15 border: 1px solid gray;
16 border-radius: 6px; 16 border-radius: 6px;
17 padding:1em; 17 padding: 1em;
18 margin-bottom: 1em; 18 margin-bottom: 1em;
19 } 19 }
20 20
21 .documentation-section-title { 21 .documentation-section-title {
22 font-size: 120%; 22 font-size: 120%;
23 padding-bottom: 0.4em; 23 padding-bottom: 0.4em;
24 font-weight: bold;
25 } 24 }
26 25
27 .documentation-link { 26 .documentation-link {
28 margin-left: 0.5em; 27 margin-left: 0.5em;
29 } 28 }
30 29
31 .documentation-highlighted-text { 30 .documentation-highlighted-text {
32 font-weight: bold; 31 font-weight: bold;
33 } 32 }
34 33
34 .documentation-paragraph {
35 border-top: 4em;
36 }
37
38 .documentation-method-signature {
39 font-size: 120%;
40 font-family: dejavu sans mono, monospace;
lushnikov 2014/09/05 15:20:44 We never want to tweak font-family property in any
semeny 2014/09/08 10:03:57 Done.
41 border: 1px solid gray;
42 border-radius: 6px;
43 margin-left: 1em;
44 padding: 1em;
45 display: inline;
46 }
47
35 .documentation-parameter { 48 .documentation-parameter {
36 margin-bottom: 1em; 49 margin-bottom: 1em;
37 } 50 }
38 51
39 .documentation-section { 52 .documentation-section {
40 margin-bottom: 1.5em; 53 margin-bottom: 1.5em;
41 } 54 }
42 55
56 .documentation-section-content {
57 padding-left: 1em;
58 }
59
43 .documentation-code-tag { 60 .documentation-code-tag {
44 font-weight: bold; 61 font-weight: bold;
45 } 62 }
46 63
47 .documentation-parameter-optional { 64 .documentation-parameter-optional {
48 padding: 0.7ex;
49 background-color: rgb(219, 234, 249); 65 background-color: rgb(219, 234, 249);
50 text-decoration: none; 66 }
67
68 .documentation-parameter-data-type-value {
69 background-color: rgb(254, 254, 202);
70 font-family: monospace;
lushnikov 2014/09/05 15:20:44 the font-family property is very tricky. Instead o
semeny 2014/09/08 10:03:57 Done.
71 }
72
73 .documentation-parameter-margin {
51 margin-left: 1ex; 74 margin-left: 1ex;
52 margin-top: -0.5ex; 75 margin-top: -0.5ex;
53 border-radius: 5px; 76 border-radius: 5px;
54 }
55
56 .documentation-parameter-data-type-value {
57 margin-right: 0.5em;
58 padding: 0.7ex;
59 background-color: rgb(254, 254, 202);
60 text-decoration: none;
61 margin-left: 1ex;
62 margin-top: -0.5ex;
63 border-radius: 5px;
64 } 77 }
65 78
66 .documentation-parameter-name { 79 .documentation-parameter-name {
67 font-size: 115%; 80 font-size: 115%;
68 font-style: italic; 81 font-style: italic;
69 } 82 }
70 83
71 .documentation-page-title { 84 .documentation-page-title {
72 font-size: 160%; 85 font-size: 160%;
73 font-weight: bold;
74 padding-bottom: 0.7em; 86 padding-bottom: 0.7em;
75 } 87 }
76 88
77 .documentation-view { 89 .documentation-view {
78 -webkit-user-select: text; 90 -webkit-user-select: text;
79 padding: 1em; 91 padding: 1em;
80 } 92 }
81 93
82 .documentation-example-description-section { 94 .documentation-example-description-section {
83 margin-bottom: 1em; 95 margin-bottom: 1em;
84 } 96 }
85 97
86 .documentation-example-link { 98 .documentation-example-link {
87 float: right; 99 float: right;
88 padding: 0.7ex; 100 background-color: rgb(219, 234, 249);
89 background-color: rgb(241, 246, 251);
90 text-decoration: none;
91 margin-left: 1ex; 101 margin-left: 1ex;
92 margin-top: -0.5ex; 102 margin-top: -0.5ex;
103 }
104
105 .documentation-example-link:visited {
106 color: rgb(109, 114, 255);
107 }
108
109 .documentation-color-box {
lushnikov 2014/09/05 15:20:44 The "documentation-color-box" css class doesn't he
semeny 2014/09/08 10:03:57 Done.
110 padding: 0.7ex;
111 padding-left: 1ex;
112 padding-right: 1ex;
93 border-radius: 5px; 113 border-radius: 5px;
114 text-decoration: none;
94 } 115 }
116
117 .documentation-text {
118 line-height: 160%;
lushnikov 2014/09/05 15:20:44 i believe you want smth like 1.5 here. We need @eu
semeny 2014/09/08 10:03:57 Done.
119 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698