OLD | NEW |
---|---|
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. */ | 3 * found in the LICENSE file. */ |
4 | 4 |
5 /* Using 100% width within body should exclude margins. */ | 5 /* Using 100% width within body should exclude margins. */ |
6 html, | 6 html, |
7 body { | 7 body { |
8 height: 100%; | 8 height: 100%; |
9 width: 100%; | 9 width: 100%; |
10 } | 10 } |
11 | 11 |
12 body { | 12 body { |
13 -webkit-box-sizing: border-box; | 13 -webkit-box-sizing: border-box; |
14 margin: 0; | 14 margin: 0; |
15 padding-top: 8px; | |
16 } | 15 } |
17 | 16 |
18 h3 { | 17 h3 { |
19 font-size: 100%; | 18 font-size: 100%; |
20 font-weight: bold; | 19 margin-bottom: 15px; |
21 margin-top: 20px; | 20 margin-top: 17px; |
22 } | 21 } |
23 | 22 |
24 #usages-title { | 23 #usages-title { |
25 /* Workaround until webkit bug https://bugs.webkit.org/show_bug.cgi?id=80537 | 24 /* Workaround until webkit bug https://bugs.webkit.org/show_bug.cgi?id=80537 |
26 * is resolved. */ | 25 * is resolved. */ |
27 padding-top: 20px; | 26 padding-top: 17px; |
28 } | 27 } |
29 | 28 |
30 #tabbox { | 29 #tabbox { |
31 height: 100%; | 30 height: 100%; |
32 width: 100%; | 31 width: 100%; |
33 } | 32 } |
34 | 33 |
34 #tabs { | |
Evan Stade
2013/06/04 17:56:28
this doesn't seem right. You should do all this in
Rune Fevang
2013/06/04 22:43:00
Good idea! I didn't change tabs.css because I didn
| |
35 -webkit-padding-start: 9px; | |
36 background: #fbfbfb; | |
37 border-bottom: 1px solid #c8c8c8; | |
38 padding-top: 14px; | |
39 } | |
40 | |
41 #tabs > * { | |
42 -webkit-margin-start: 0; | |
43 -webkit-transition: none; | |
44 background: #fbfbfb; | |
45 border: 1px solid #fbfbfb; | |
46 border-bottom: 0; | |
47 border-radius: 0; | |
48 min-width: 0; | |
49 padding: 4px 9px 4px 10px; | |
50 } | |
51 | |
52 #tabs > [selected] { | |
53 border-color: #c8c8c8; | |
54 font-weight: bold; | |
55 } | |
56 | |
57 #tabs > :not([selected]) { | |
58 color: #646464; | |
59 } | |
60 | |
61 #tabs > :not([selected]):hover { | |
62 color: black; | |
63 } | |
64 | |
35 #tabpanels { | 65 #tabpanels { |
66 background: #fbfbfb; | |
67 box-shadow: none; | |
36 overflow: auto; | 68 overflow: auto; |
69 padding: 0 20px; | |
37 } | 70 } |
38 | 71 |
39 #usages, | 72 #usages, |
40 #cert-field-value { | 73 #cert-field-value { |
41 -webkit-padding-start: 15px; | 74 -webkit-padding-start: 15px; |
42 white-space: pre-wrap; | 75 white-space: pre-wrap; |
43 } | 76 } |
44 | 77 |
78 #general h3 { | |
79 margin-bottom: 16px; | |
80 margin-top: 32px; | |
81 } | |
82 | |
45 .groups { | 83 .groups { |
46 display: table; | 84 display: table; |
47 } | 85 } |
48 | 86 |
49 .groups > * { | 87 .groups > * { |
50 display: table-row; | 88 display: table-row; |
51 } | 89 } |
52 | 90 |
91 #usages, | |
53 .groups > div > div { | 92 .groups > div > div { |
54 -webkit-padding-start: 15px; | 93 -webkit-padding-start: 20px; |
55 padding-top: 3px; | 94 color: #787878; |
95 line-height: 18px; | |
56 } | 96 } |
57 | 97 |
58 .attribute { | 98 .attribute { |
59 display: table-cell; | 99 display: table-cell; |
60 white-space: nowrap; | 100 white-space: nowrap; |
61 } | 101 } |
62 | 102 |
63 .value { | 103 .value { |
64 display: table-cell; | 104 display: table-cell; |
65 white-space: pre-wrap; | 105 white-space: pre-wrap; |
(...skipping 24 matching lines...) Expand all Loading... | |
90 top: 20%; | 130 top: 20%; |
91 } | 131 } |
92 | 132 |
93 #cert-field-value-section { | 133 #cert-field-value-section { |
94 bottom: 0; | 134 bottom: 0; |
95 height: 30%; | 135 height: 30%; |
96 } | 136 } |
97 | 137 |
98 .section-contents { | 138 .section-contents { |
99 -webkit-box-flex: 1; | 139 -webkit-box-flex: 1; |
100 border: 1px solid #9e9e9e; | 140 background: #fff; |
141 border: 1px solid #c8c8c8; | |
101 /* Scrolling should be enabled on all tree views and value field. */ | 142 /* Scrolling should be enabled on all tree views and value field. */ |
102 overflow: auto; | 143 overflow: auto; |
103 } | 144 } |
104 | 145 |
146 .tree-row[selected] { | |
147 background-color: #f0f0f0; | |
148 background-image: none; | |
149 } | |
150 | |
151 .tree-item > .tree-row { | |
152 border: 0; | |
153 border-radius: 0; | |
154 line-height: 29px; | |
155 } | |
156 | |
105 #export { | 157 #export { |
106 -webkit-margin-start: 1px; | 158 -webkit-margin-start: 1px; |
107 margin-bottom: 10px; | 159 float: right; |
108 margin-top: 5px; | 160 margin-bottom: 20px; |
161 margin-top: 10px; | |
109 } | 162 } |
OLD | NEW |