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

Side by Side Diff: chrome/browser/resources/net_internals/main.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
« no previous file with comments | « chrome/browser/resources/net_internals/logs_view.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 * {
8 box-sizing: border-box; 8 box-sizing: border-box;
9 -moz-box-sizing: border-box; 9 -moz-box-sizing: border-box;
10 } 10 }
11 body { 11 body {
12 font-family: sans-serif; 12 font-family: sans-serif;
13 } 13 }
14 14
15 #filterBox { 15 /* This class is used to create the splitter widget in
16 background: #efefef; 16 ResizbleVerticalSplitView */
17 padding: 5px; 17 .vertical-splitter {
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; 18 background: #bfbfbf;
50 border-left: 1px inset black; 19 border-left: 1px inset black;
51 border-right: 1px solid black; 20 border-right: 1px solid black;
52 position:absolute; 21 position:absolute;
53 width: 8px; 22 width: 8px;
54 cursor: col-resize; 23 cursor: col-resize;
55 user-select: none; 24 user-select: none;
56 } 25 }
57 26
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;
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;
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 { 27 .logSourceEntry {
199 margin: 5px; 28 margin: 5px;
200 } 29 }
201 30
202 .logSourceEntry * p { 31 .logSourceEntry * p {
203 font-weight: bold; 32 font-weight: bold;
204 font-size: 12px; 33 font-size: 12px;
205 } 34 }
206 35
207 .logSourceEntry * td { 36 .logSourceEntry * td {
208 font-size: 10px; 37 font-size: 10px;
209 } 38 }
210 39
211 #detailsLogBox, 40 #detailsLogBox,
212 #detailsTimelineBox, 41 #detailsTimelineBox,
213 #httpCacheTabContent, 42 #httpCacheTabContent,
214 #proxyTabContent, 43 #proxyTabContent,
215 #dataTabContent, 44 #dataTabContent,
216 #dnsTabContent, 45 #dnsTabContent,
217 #socketsTabContent, 46 #socketsTabContent,
218 #spdyTabContent, 47 #spdyTabContent,
219 #serviceProvidersTabContent, 48 #serviceProvidersTabContent,
220 #testTabContent, 49 #testTabContent,
221 #hstsTabContent, 50 #hstsTabContent,
222 #httpThrottlingTabContent, 51 #httpThrottlingTabContent,
223 #prerenderTabContent, 52 #prerenderTabContent,
224 #logsTabContent { 53 #logs-view-tab-content {
225 overflow: auto; 54 overflow: auto;
226 padding: 10px; 55 padding: 10px;
227 } 56 }
228 57
229 #proxyTabContent td, 58 #proxyTabContent td,
230 #proxyTabContent th { 59 #proxyTabContent th {
231 font-size: 12px; 60 font-size: 12px;
232 } 61 }
233 62
234 /* 63 /*
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 background: red; 113 background: red;
285 color: #eee; 114 color: #eee;
286 padding: 4px; 115 padding: 4px;
287 } 116 }
288 117
289 #statusViewForFile { 118 #statusViewForFile {
290 background: #88c; 119 background: #88c;
291 color: #eee; 120 color: #eee;
292 padding: 4px; 121 padding: 4px;
293 } 122 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/net_internals/logs_view.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698