OLD | NEW |
---|---|
1 /* | 1 /* |
mmenke
2012/02/28 22:15:02
Should we be putting a second asterisk on these?
eroman
2012/02/28 22:28:32
We have some inconsistencies. I'll do another pass
| |
2 Copyright (c) 2011 The Chromium Authors. All rights reserved. | 2 * Copyright (c) 2011 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 /* Only common styles should be declared here. */ | 7 /* Only common styles should be declared here. */ |
8 | 8 |
9 * { | 9 * { |
10 box-sizing: border-box; | 10 box-sizing: border-box; |
11 -moz-box-sizing: border-box; | 11 -moz-box-sizing: border-box; |
12 } | 12 } |
13 body { | 13 body { |
14 font-family: sans-serif; | 14 font-family: sans-serif; |
15 } | 15 } |
16 | 16 |
17 /* This class is used to create the splitter widget in | 17 /* This class is used to create the splitter widget in |
18 ResizbleVerticalSplitView */ | 18 ResizbleVerticalSplitView */ |
19 .vertical-splitter { | 19 .vertical-splitter { |
20 background: #bfbfbf; | 20 background: #bfbfbf; |
21 border-left: 1px inset black; | 21 border-left: 1px inset black; |
22 border-right: 1px solid black; | 22 border-right: 1px solid black; |
23 position: absolute; | 23 position: absolute; |
24 width: 8px; | 24 width: 8px; |
25 cursor: col-resize; | 25 cursor: col-resize; |
26 user-select: none; | 26 user-select: none; |
27 } | 27 } |
28 | 28 |
29 .logSourceEntry { | 29 .log-source-entry { |
30 margin: 5px; | 30 margin: 5px; |
31 } | 31 } |
32 | 32 |
33 .logSourceEntry * p { | 33 .log-source-entry * p { |
34 font-weight: bold; | 34 font-weight: bold; |
35 font-size: 12px; | 35 font-size: 12px; |
36 } | 36 } |
37 | 37 |
38 .logSourceEntry * td { | 38 .log-source-entry * td { |
39 font-size: 10px; | 39 font-size: 10px; |
40 } | 40 } |
41 | 41 |
42 /* TODO(eroman): make this a classname instead */ | 42 /* This class should be given to top-level content boxes (like the view's main |
43 #events-view-details-log-box, | 43 * DIV). It gives them a consistent margin, and makes them scrollable. */ |
mmenke
2012/02/28 22:15:02
nit: Should make this consistent with the other c
eroman
2012/02/28 22:28:32
Done.
However we use both styles in this file.
| |
44 #events-view-details-timeline-box, | 44 .content-box { |
mmenke
2012/02/28 22:15:02
Much better.
| |
45 #http-cache-view-tab-content, | |
46 #proxy-view-tab-content, | |
47 #capture-view-tab-content, | |
48 #import-view-tab-content, | |
49 #export-view-tab-content, | |
50 #dns-view-tab-content, | |
51 #sockets-view-tab-content, | |
52 #spdy-view-tab-content, | |
53 #service-providers-view-tab-content, | |
54 #test-view-tab-content, | |
55 #hsts-view-tab-content, | |
56 #http-throttling-view-tab-content, | |
57 #logs-view-tab-content, | |
58 #prerender-view-tab-content, | |
59 #http-pipeline-view-tab-content, | |
60 #chromeos-view-tab-content { | |
61 overflow: auto; | 45 overflow: auto; |
62 padding: 10px; | 46 padding: 10px; |
63 } | 47 } |
64 | 48 |
65 /* | 49 /* |
66 * Styles for TABLE that uses a thin collapsed border. | 50 * Styles for TABLE that uses a thin collapsed border. |
67 */ | 51 */ |
68 table.styledTable { | 52 table.styled-table { |
69 border-collapse: collapse; | 53 border-collapse: collapse; |
70 } | 54 } |
71 | 55 |
72 table.styledTable, | 56 table.styled-table, |
73 .styledTable th, | 57 .styled-table th, |
74 .styledTable td { | 58 .styled-table td { |
mmenke
2012/02/28 22:15:02
The unit tests use the name of this class to make
eroman
2012/02/28 22:28:32
Done.
| |
75 border: 1px solid #777; | 59 border: 1px solid #777; |
76 padding-right: 4px; | 60 padding-right: 4px; |
77 padding-left: 4px; | 61 padding-left: 4px; |
78 } | 62 } |
79 | 63 |
80 .styledTable th { | 64 .styled-table th { |
81 background: rgb(224,236,255); | 65 background: rgb(224,236,255); |
82 } | 66 } |
83 | 67 |
84 .styledTable th.title { | 68 .styled-table th.title { |
85 background: rgb(255,217,217); | 69 background: rgb(255,217,217); |
86 } | 70 } |
87 | 71 |
88 /** | 72 /** |
89 * Styling for event logs. | 73 * Styling for event logs. |
90 */ | 74 */ |
91 .event-log p { | 75 .event-log p { |
92 white-space: nowrap; | 76 white-space: nowrap; |
93 } | 77 } |
94 | 78 |
95 .event-log h4 { | 79 .event-log h4 { |
96 margin: 0; | 80 margin: 0; |
97 } | 81 } |
98 | 82 |
99 .event-log a { | 83 .event-log a { |
100 text-decoration: none; | 84 text-decoration: none; |
101 font-weight: bold; | 85 font-weight: bold; |
102 } | 86 } |
103 | 87 |
104 /** | 88 /** |
105 * Styling for an emphasized button. | |
106 */ | |
107 .bigButton { | |
108 font-size: 100%; | |
109 font-weight: bold; | |
110 } | |
111 | |
112 /** | |
113 * Styling for text indicating a potential problem or error state. | 89 * Styling for text indicating a potential problem or error state. |
114 */ | 90 */ |
115 .warningText { | 91 .warning-text { |
116 color: red; | 92 color: red; |
117 } | 93 } |
OLD | NEW |