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

Side by Side Diff: chrome/browser/resources/net_internals/events_view.css

Issue 7474013: Extract the CSS for the net_internals EventsView and LogsView to separate files. Also rename thes... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 4 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 | Annotate | Revision Log
OLDNEW
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 #events-view-filter-box {
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; 8 background: #efefef;
17 padding: 5px; 9 padding: 5px;
18 border-bottom: 1px solid gray; 10 border-bottom: 1px solid gray;
19 overflow: hidden; 11 overflow: hidden;
20 } 12 }
21 13
22 #filterBox * { 14 #events-view-filter-box * {
23 white-space: nowrap; 15 white-space: nowrap;
24 font-family: sans-serif; 16 font-family: sans-serif;
25 font-size: 12px; 17 font-size: 12px;
26 } 18 }
27 19
28 #filterBox input { 20 #events-view-filter-box input {
29 width: 100%; 21 width: 100%;
30 } 22 }
31 23
32 #actionBox { 24 #events-view-action-box {
33 background: #efefef; 25 background: #efefef;
34 white-space: nowrap; 26 white-space: nowrap;
35 border-top: 1px solid gray; 27 border-top: 1px solid gray;
36 overflow: hidden; 28 overflow: hidden;
37 } 29 }
38 30
39 #eventsBox { 31 #events-view-source-list {
40 overflow-x: hidden; 32 overflow-x: hidden;
41 overflow-y: auto 33 overflow-y: auto
42 } 34 }
43 35
44 #detailsBox { 36 #events-view-source-list-table {
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; 37 cursor: pointer;
60 } 38 }
61 39
62 #eventsListTable thead td { 40 #events-view-source-list-table thead td {
63 text-align: left; 41 text-align: left;
64 font-weight: bold; 42 font-weight: bold;
65 background: rgb(229, 236, 249); 43 background: rgb(229, 236, 249);
66 } 44 }
67 45
68 #eventsListTable td { 46 #events-view-source-list-table td {
69 padding: 3px; 47 padding: 3px;
70 border-left: 1px solid #afafaf; 48 border-left: 1px solid #afafaf;
71 border-bottom: 1px solid #afafaf; 49 border-bottom: 1px solid #afafaf;
72 text-overflow: ellipsis; 50 text-overflow: ellipsis;
73 font-size: 12px; 51 font-size: 12px;
74 white-space: nowrap; 52 white-space: nowrap;
75 } 53 }
76 54
77 #eventsListTableBody .mouseover { 55 #events-view-source-list-tbody .mouseover {
78 background: rgb(244,244,255); 56 background: rgb(244,244,255);
79 } 57 }
80 58
81 #eventsListTableBody .selected { 59 #events-view-source-list-tbody .selected {
82 background: #C3D9FF; 60 background: #C3D9FF;
83 } 61 }
84 62
85 #eventsListTableBody .error { 63 #events-view-source-list-tbody .error {
86 background: #FFF5F5; 64 background: #FFF5F5;
87 } 65 }
88 66
89 #eventsListTableBody .inactive { 67 #events-view-source-list-tbody .inactive {
90 background: #F5FFF5; 68 background: #F5FFF5;
91 } 69 }
92 70
93 #eventsListTableBody .source_CONNECT_JOB { 71 #events-view-source-list-tbody .source_CONNECT_JOB {
94 color: blue; 72 color: blue;
95 } 73 }
96 74
97 #eventsListTableBody .source_HOST_RESOLVER_IMPL_JOB, 75 #events-view-source-list-tbody .source_HOST_RESOLVER_IMPL_JOB,
98 #eventsListTableBody .source_HOST_RESOLVER_IMPL_REQUEST { 76 #events-view-source-list-tbody .source_HOST_RESOLVER_IMPL_REQUEST {
99 color: #206060; 77 color: #206060;
100 } 78 }
101 79
102 #eventsListTableBody .source_DISK_CACHE_ENTRY, 80 #events-view-source-list-tbody .source_DISK_CACHE_ENTRY,
103 #eventsListTableBody .source_MEMORY_CACHE_ENTRY { 81 #events-view-source-list-tbody .source_MEMORY_CACHE_ENTRY {
104 color: #707070; 82 color: #707070;
105 } 83 }
106 84
107 #eventsListTableBody .source_SOCKET { 85 #events-view-source-list-tbody .source_SOCKET {
108 color: purple; 86 color: purple;
109 } 87 }
110 88
111 #eventsListTableBody .source_INIT_PROXY_RESOLVER { 89 #events-view-source-list-tbody .source_INIT_PROXY_RESOLVER {
112 color: green; 90 color: green;
113 } 91 }
114 92
115 #eventsListTableBody .source_NONE { 93 #events-view-source-list-tbody .source_NONE {
116 color: red; 94 color: red;
117 } 95 }
118 96
119 .logCellEmpty { 97 .events-view-tab-switcher {
120 background-color: gray;
121 }
122
123 .logCellText, .logCellLog {
124 background-color: white;
125 }
126
127 .logRowCollapsed .logCellLog {
128 display: none;
129 }
130
131 .logRowExpanded .logCellLog {
132 display: table-cell;
133 }
134
135 .logTableButtonColumn {
136 text-align: center;
137 }
138
139 .logButton {
140 width: 85px;
141 }
142
143 .logsGlobalButton {
144 width: 135px;
145 float: left;
146 margin: 5px;
147 margin-top: 0;
148 }
149
150 #logTable td {
151 padding: 0 5px;
152 padding-top: 3px;
153 vertical-align: top;
154 line-height: 17px;
155 font-family: 'Courier New', monospace;
156 white-space: pre;
157 font-size: 12px;
158 }
159
160 #logTableHeaderRow th {
161 text-align: left;
162 }
163
164 #logsTabContent {
165 padding: 5px;
166 }
167
168 .tabSwitcher {
169 margin-top: 10px; 98 margin-top: 10px;
170 margin-left: 10px; 99 margin-left: 10px;
171 } 100 }
172 101
173 .tabSwitcher th { 102 .events-view-tab-switcher th {
174 background: rgb(229,236,249); 103 background: rgb(229,236,249);
175 cursor: pointer; 104 cursor: pointer;
176 background-clip: border-box; 105 background-clip: border-box;
177 border-top-left-radius: 5px 5px; 106 border-top-left-radius: 5px 5px;
178 border-top-right-radius: 5px 5px; 107 border-top-right-radius: 5px 5px;
179 padding-left: 4px; 108 padding-left: 4px;
180 padding-top: 4px; 109 padding-top: 4px;
181 padding-right: 4px; 110 padding-right: 4px;
182 font-size: 12px; 111 font-size: 12px;
183 margin-left: 30px; 112 margin-left: 30px;
184 } 113 }
185 114
186 .tabSwitcher th.selected, .tabSwitcherLine { 115 .events-view-tab-switcher th.selected, .events-view-tab-switcher-line {
187 background: rgb(195,217,255); 116 background: rgb(195,217,255);
188 } 117 }
189 118
190 .tabSwitcherLine { 119 .events-view-tab-switcher-line {
191 height: 10px; 120 height: 10px;
192 } 121 }
193 122
194 #detailsTabHandles { 123 #events-view-details-tab-handles {
195 border: 1px solid white; 124 border: 1px solid white;
196 } 125 }
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 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/net_internals/category_tabs.html ('k') | chrome/browser/resources/net_internals/events_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698