OLD | NEW |
1 /* | 1 /* |
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 * { | 7 .logs-view-log-cell-text, .logs-view-log-cell-log { |
8 box-sizing: border-box; | |
9 -moz-box-sizing: border-box; | |
10 } | |
11 body { | |
12 font-family: sans-serif; | |
13 } | |
14 | |
15 #filterBox { | |
16 background: #efefef; | |
17 padding: 5px; | |
18 border-bottom: 1px solid gray; | |
19 overflow: hidden; | |
20 } | |
21 | |
22 #filterBox * { | |
23 white-space: nowrap; | |
24 font-family: sans-serif; | |
25 font-size: 12px; | |
26 } | |
27 | |
28 #filterBox input { | |
29 width: 100%; | |
30 } | |
31 | |
32 #actionBox { | |
33 background: #efefef; | |
34 white-space: nowrap; | |
35 border-top: 1px solid gray; | |
36 overflow: hidden; | |
37 } | |
38 | |
39 #eventsBox { | |
40 overflow-x: hidden; | |
41 overflow-y: auto | |
42 } | |
43 | |
44 #detailsBox { | |
45 overflow: auto; | |
46 } | |
47 | |
48 .splitterBox { | |
49 background: #bfbfbf; | |
50 border-left: 1px inset black; | |
51 border-right: 1px solid black; | |
52 position:absolute; | |
53 width: 8px; | |
54 cursor: col-resize; | |
55 user-select: none; | |
56 } | |
57 | |
58 #eventsListTable { | |
59 cursor: pointer; | |
60 } | |
61 | |
62 #eventsListTable thead td { | |
63 text-align: left; | |
64 font-weight: bold; | |
65 background: rgb(229, 236, 249); | |
66 } | |
67 | |
68 #eventsListTable td { | |
69 padding: 3px; | |
70 border-left: 1px solid #afafaf; | |
71 border-bottom: 1px solid #afafaf; | |
72 text-overflow: ellipsis; | |
73 font-size: 12px; | |
74 white-space: nowrap; | |
75 } | |
76 | |
77 #eventsListTableBody .mouseover { | |
78 background: rgb(244,244,255); | |
79 } | |
80 | |
81 #eventsListTableBody .selected { | |
82 background: #C3D9FF; | |
83 } | |
84 | |
85 #eventsListTableBody .error { | |
86 background: #FFF5F5; | |
87 } | |
88 | |
89 #eventsListTableBody .inactive { | |
90 background: #F5FFF5; | |
91 } | |
92 | |
93 #eventsListTableBody .source_CONNECT_JOB { | |
94 color: blue; | |
95 } | |
96 | |
97 #eventsListTableBody .source_HOST_RESOLVER_IMPL_JOB, | |
98 #eventsListTableBody .source_HOST_RESOLVER_IMPL_REQUEST { | |
99 color: #206060; | |
100 } | |
101 | |
102 #eventsListTableBody .source_DISK_CACHE_ENTRY, | |
103 #eventsListTableBody .source_MEMORY_CACHE_ENTRY { | |
104 color: #707070; | |
105 } | |
106 | |
107 #eventsListTableBody .source_SOCKET { | |
108 color: purple; | |
109 } | |
110 | |
111 #eventsListTableBody .source_INIT_PROXY_RESOLVER { | |
112 color: green; | |
113 } | |
114 | |
115 #eventsListTableBody .source_NONE { | |
116 color: red; | |
117 } | |
118 | |
119 .logCellEmpty { | |
120 background-color: gray; | |
121 } | |
122 | |
123 .logCellText, .logCellLog { | |
124 background-color: white; | 8 background-color: white; |
125 } | 9 } |
126 | 10 |
127 .logRowCollapsed .logCellLog { | 11 .logs-view-log-row-collapsed .logs-view-log-cell-log { |
128 display: none; | 12 display: none; |
129 } | 13 } |
130 | 14 |
131 .logRowExpanded .logCellLog { | 15 .logs-view-log-row-expanded .logs-view-log-cell-log { |
132 display: table-cell; | 16 display: table-cell; |
133 } | 17 } |
134 | 18 |
135 .logTableButtonColumn { | 19 .logs-view-log-table-button-column { |
136 text-align: center; | 20 text-align: center; |
137 } | 21 } |
138 | 22 |
139 .logButton { | 23 .logs-view-log-button { |
140 width: 85px; | 24 width: 85px; |
141 } | 25 } |
142 | 26 |
143 .logsGlobalButton { | 27 .logs-view-global-button { |
144 width: 135px; | 28 width: 135px; |
145 float: left; | 29 float: left; |
146 margin: 5px; | 30 margin: 5px; |
147 margin-top: 0; | 31 margin-top: 0; |
148 } | 32 } |
149 | 33 |
150 #logTable td { | 34 #logs-view-log-table td { |
151 padding: 0 5px; | 35 padding: 0 5px; |
152 padding-top: 3px; | 36 padding-top: 3px; |
153 vertical-align: top; | 37 vertical-align: top; |
154 line-height: 17px; | 38 line-height: 17px; |
155 font-family: 'Courier New', monospace; | 39 font-family: 'Courier New', monospace; |
156 white-space: pre; | 40 white-space: pre; |
157 font-size: 12px; | 41 font-size: 12px; |
158 } | 42 } |
159 | 43 |
160 #logTableHeaderRow th { | 44 #logs-view-log-table-header-row th { |
161 text-align: left; | 45 text-align: left; |
162 } | 46 } |
163 | 47 |
164 #logsTabContent { | 48 #logs-view-tab-content { |
165 padding: 5px; | 49 padding: 5px; |
166 } | 50 } |
167 | |
168 .tabSwitcher { | |
169 margin-top: 10px; | |
170 margin-left: 10px; | |
171 } | |
172 | |
173 .tabSwitcher th { | |
174 background: rgb(229,236,249); | |
175 cursor: pointer; | |
176 background-clip: border-box; | |
177 border-top-left-radius: 5px 5px; | |
178 border-top-right-radius: 5px 5px; | |
179 padding-left: 4px; | |
180 padding-top: 4px; | |
181 padding-right: 4px; | |
182 font-size: 12px; | |
183 margin-left: 30px; | |
184 } | |
185 | |
186 .tabSwitcher th.selected, .tabSwitcherLine { | |
187 background: rgb(195,217,255); | |
188 } | |
189 | |
190 .tabSwitcherLine { | |
191 height: 10px; | |
192 } | |
193 | |
194 #detailsTabHandles { | |
195 border: 1px solid white; | |
196 } | |
197 | |
198 .logSourceEntry { | |
199 margin: 5px; | |
200 } | |
201 | |
202 .logSourceEntry * p { | |
203 font-weight: bold; | |
204 font-size: 12px; | |
205 } | |
206 | |
207 .logSourceEntry * td { | |
208 font-size: 10px; | |
209 } | |
210 | |
211 #detailsLogBox, | |
212 #detailsTimelineBox, | |
213 #httpCacheTabContent, | |
214 #proxyTabContent, | |
215 #dataTabContent, | |
216 #dnsTabContent, | |
217 #socketsTabContent, | |
218 #spdyTabContent, | |
219 #serviceProvidersTabContent, | |
220 #testTabContent, | |
221 #hstsTabContent, | |
222 #httpThrottlingTabContent, | |
223 #prerenderTabContent, | |
224 #logsTabContent { | |
225 overflow: auto; | |
226 padding: 10px; | |
227 } | |
228 | |
229 #proxyTabContent td, | |
230 #proxyTabContent th { | |
231 font-size: 12px; | |
232 } | |
233 | |
234 /* | |
235 * Styles for TABLE that uses a thin collapsed border. | |
236 */ | |
237 table.styledTable { | |
238 border-collapse:collapse; | |
239 } | |
240 | |
241 table.styledTable, | |
242 .styledTable th, | |
243 .styledTable td { | |
244 border: 1px solid #777; | |
245 padding-right: 4px; | |
246 padding-left: 4px; | |
247 } | |
248 | |
249 .styledTable th { | |
250 background: rgb(224,236,255); | |
251 } | |
252 | |
253 .styledTable th.title { | |
254 background: rgb(255,217,217); | |
255 } | |
256 | |
257 /* | |
258 * This is the box in the top right of the Data tab which shows how many | |
259 * events have been captured so far. | |
260 */ | |
261 .capturingBox { | |
262 border: 1px dashed black; | |
263 display: inline-block; | |
264 text-align: left; | |
265 padding: 5px; | |
266 } | |
267 | |
268 /** | |
269 * Styling for an emphasized button. | |
270 */ | |
271 .bigButton { | |
272 font-size: 100%; | |
273 font-weight: bold; | |
274 } | |
275 | |
276 /** | |
277 * Styling for text indicating a potential problem or error state. | |
278 */ | |
279 .warningText { | |
280 color: red; | |
281 } | |
282 | |
283 #statusViewForCapture { | |
284 background: red; | |
285 color: #eee; | |
286 padding: 4px; | |
287 } | |
288 | |
289 #statusViewForFile { | |
290 background: #88c; | |
291 color: #eee; | |
292 padding: 4px; | |
293 } | |
OLD | NEW |