Commit | Line | Data |
---|---|---|
cc7e70eb RK |
1 | /* vim:set ts=2 sw=2 sts=2 et: */ |
2 | /* This Source Code Form is subject to the terms of the Mozilla Public | |
3 | * License, v. 2.0. If a copy of the MPL was not distributed with this | |
4 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
5 | ||
6 | window { | |
7 | padding: 0; | |
8 | } | |
9 | ||
45dc7657 | 10 | /* === BEGIN netmonitor.inc.css === */ |
e2734cc7 | 11 | |
2e389898 RK |
12 | :root.theme-dark, |
13 | :root.theme-light { | |
19988d2d | 14 | --table-splitter-color: #A09090; |
2e389898 RK |
15 | --table-zebra-background: rgba(255,159,0,0.1); |
16 | } | |
17 | ||
e2734cc7 | 18 | #requests-menu-empty-notice { |
45dc7657 | 19 | margin: 0; |
cc7e70eb | 20 | padding: 12px; |
46e71434 | 21 | font-size: 120%; |
46e71434 RK |
22 | } |
23 | ||
2b5a5147 RK |
24 | #notice-perf-message { |
25 | margin-top: 2px; | |
26 | } | |
27 | ||
46e71434 RK |
28 | #requests-menu-perf-notice-button { |
29 | min-width: 30px; | |
2b5a5147 | 30 | min-height: 26px; |
46e71434 | 31 | margin: 0; |
dadba0f2 | 32 | list-style-image: url("images/profiler-stopwatch.svg"); |
46e71434 RK |
33 | } |
34 | ||
35 | #requests-menu-perf-notice-button .button-text { | |
36 | display: none; | |
cc7e70eb RK |
37 | } |
38 | ||
2b5a5147 RK |
39 | #requests-menu-reload-notice-button { |
40 | min-height: 26px; | |
41 | margin: 0; | |
42 | } | |
43 | ||
45dc7657 RK |
44 | /* Network requests table */ |
45 | ||
cc7e70eb RK |
46 | #requests-menu-toolbar { |
47 | } | |
48 | ||
f30073a6 RK |
49 | #requests-menu-toolbar > .toolbar-box > .toolbar-startcap, |
50 | #requests-menu-toolbar > .toolbar-box > .toolbar-endcap { | |
51 | display: none; | |
52 | } | |
53 | ||
cc7e70eb | 54 | .requests-menu-subitem { |
f30073a6 | 55 | padding: 4px; |
cc7e70eb RK |
56 | } |
57 | ||
45dc7657 RK |
58 | .requests-menu-header:not(:last-child):-moz-locale-dir(rtl), |
59 | .requests-menu-subitem:not(:last-child):-moz-locale-dir(rtl) { | |
60 | } | |
61 | ||
f30073a6 RK |
62 | .requests-menu-header-button, |
63 | #requests-menu-status-button { | |
64 | background-color: transparent; | |
d0a8de80 RK |
65 | border-image: linear-gradient(transparent 15%, var(--theme-splitter-color) 15%, var(--theme-splitter-color) 85%, transparent 85%) 1 1; |
66 | border-style: solid; | |
67 | border-width: 0; | |
68 | border-inline-start-width: 1px; | |
f30073a6 | 69 | border-radius: 0; |
d0a8de80 RK |
70 | min-width: 1px; |
71 | min-height: 24px; | |
f30073a6 | 72 | margin: 0; |
d0a8de80 RK |
73 | padding-bottom: 2px; |
74 | padding-inline-start: 13px; | |
75 | padding-top: 2px; | |
76 | text-align: center; | |
e2734cc7 | 77 | font-weight: inherit !important; |
cc7e70eb RK |
78 | } |
79 | ||
d0a8de80 RK |
80 | .requests-menu-header:first-child .requests-menu-header-button { |
81 | border-width: 0; | |
cc7e70eb RK |
82 | } |
83 | ||
f30073a6 | 84 | .requests-menu-header-button:hover { |
d0a8de80 RK |
85 | background-color: var(--theme-hover-background); |
86 | color: var(--theme-hover-color); | |
cc7e70eb RK |
87 | } |
88 | ||
f30073a6 | 89 | .requests-menu-header-button:hover:active { |
d0a8de80 RK |
90 | background-color: var(--theme-active-background); |
91 | color: var(--theme-active-color); | |
92 | } | |
93 | ||
94 | .requests-menu-header-button > .button-box > .button-icon, | |
95 | #requests-menu-waterfall-image { | |
96 | display: -moz-box; | |
97 | height: 4px; | |
98 | margin-inline-end: 6px; | |
99 | -moz-box-ordinal-group: 2; | |
100 | width: 7px; | |
101 | } | |
102 | ||
103 | .requests-menu-header-button[sorted] > .button-box > .button-icon, | |
104 | .requests-menu-header-button[sorted] #requests-menu-waterfall-image { | |
105 | list-style-image: url('chrome://devtools/skin/images/sort-arrows.svg'); | |
106 | } | |
107 | ||
108 | .requests-menu-header-button[sorted=ascending] > .button-box > .button-icon, | |
109 | .requests-menu-header-button[sorted=ascending] #requests-menu-waterfall-image { | |
110 | -moz-image-region: rect(4px, 19px, 7px, 14px); | |
f30073a6 RK |
111 | } |
112 | ||
d0a8de80 RK |
113 | .requests-menu-header-button[sorted=descending] > .button-box > .button-icon, |
114 | .requests-menu-header-button[sorted=descending] #requests-menu-waterfall-image { | |
115 | -moz-image-region: rect(5px, 8px, 8px, 3px); | |
cc7e70eb RK |
116 | } |
117 | ||
d0a8de80 RK |
118 | .requests-menu-header-button > .button-box > .button-text, |
119 | #requests-menu-waterfall-label-wrapper { | |
120 | -moz-box-flex: 1; | |
121 | } | |
122 | ||
123 | .requests-menu-header-button[sorted]:not(:hover) { | |
124 | background-color: var(--theme-selection-background); | |
125 | color: var(--theme-selection-color); | |
cc7e70eb RK |
126 | } |
127 | ||
d0a8de80 RK |
128 | .requests-menu-header-button[sorted], |
129 | .requests-menu-header[active] + .requests-menu-header .requests-menu-header-button { | |
130 | border-image: linear-gradient(var(--theme-splitter-color), var(--theme-splitter-color)) 1 1; | |
cc7e70eb RK |
131 | } |
132 | ||
f30073a6 RK |
133 | #requests-menu-status-button { |
134 | border: none; | |
135 | } | |
136 | ||
137 | #requests-menu-status-button > .button-box { | |
138 | padding: 0; | |
139 | } | |
140 | ||
141 | /* Network requests table: specific column dimensions */ | |
142 | ||
f30073a6 | 143 | .requests-menu-status { |
d0a8de80 RK |
144 | max-width: 6em; |
145 | text-align: center; | |
146 | width: 10vw; | |
cc7e70eb RK |
147 | } |
148 | ||
d0a8de80 RK |
149 | .requests-menu-method, |
150 | .requests-menu-method-box { | |
151 | max-width: 7em; | |
cc7e70eb | 152 | text-align: center; |
d0a8de80 | 153 | width: 10vw; |
cc7e70eb RK |
154 | } |
155 | ||
c1d2ce3e | 156 | .requests-menu-icon-and-file { |
d0a8de80 | 157 | width: 22vw; |
c1d2ce3e RK |
158 | } |
159 | ||
160 | .requests-menu-icon { | |
161 | background: #FFCF00; | |
162 | width: calc(1em + 4px); | |
163 | height: calc(1em + 4px); | |
164 | margin: -4px 0px; | |
165 | -moz-margin-end: 4px; | |
166 | } | |
167 | ||
168 | .requests-menu-icon { | |
2e389898 | 169 | outline: 1px solid var(--table-splitter-color); |
c1d2ce3e RK |
170 | } |
171 | ||
cc7e70eb | 172 | .requests-menu-file { |
c1d2ce3e | 173 | text-align: start; |
cc7e70eb RK |
174 | } |
175 | ||
20752032 | 176 | .requests-menu-security-and-domain { |
c1d2ce3e RK |
177 | width: 14vw; |
178 | min-width: 10em; | |
cc7e70eb RK |
179 | } |
180 | ||
20752032 | 181 | .requests-security-state-icon { |
1437a48c RK |
182 | width: 16px; |
183 | height: 16px; | |
20752032 | 184 | -moz-margin-end: 4px; |
e9fbfc3a | 185 | cursor: pointer; |
20752032 RK |
186 | } |
187 | ||
188 | .security-state-insecure { | |
d0a8de80 | 189 | list-style-image: url("chrome://devtools/skin/images/security-state-insecure.svg"); |
20752032 RK |
190 | } |
191 | ||
192 | .security-state-secure { | |
d0a8de80 | 193 | list-style-image: url("chrome://devtools/skin/images/security-state-secure.svg"); |
20752032 RK |
194 | } |
195 | ||
d533ec21 | 196 | .security-state-weak { |
d0a8de80 | 197 | list-style-image: url("chrome://devtools/skin/images/security-state-weak.svg"); |
d533ec21 RK |
198 | } |
199 | ||
20752032 | 200 | .security-state-broken { |
d0a8de80 | 201 | list-style-image: url("chrome://devtools/skin/images/security-state-broken.svg"); |
e9fbfc3a RK |
202 | } |
203 | ||
204 | .security-state-local { | |
d0a8de80 | 205 | list-style-image: url("chrome://devtools/skin/images/security-state-local.svg"); |
cc7e70eb RK |
206 | } |
207 | ||
d0a8de80 | 208 | .requests-menu-type, |
cc7e70eb | 209 | .requests-menu-size { |
d0a8de80 | 210 | max-width: 6em; |
cc7e70eb | 211 | text-align: center; |
d0a8de80 | 212 | width: 8vw; |
cc7e70eb RK |
213 | } |
214 | ||
2f2239a0 | 215 | .requests-menu-transferred { |
d0a8de80 | 216 | max-width: 8em; |
2f2239a0 | 217 | text-align: center; |
d0a8de80 | 218 | width: 4vw; |
2f2239a0 RK |
219 | } |
220 | ||
f30073a6 RK |
221 | /* Network requests table: status codes */ |
222 | ||
d0a8de80 RK |
223 | .requests-menu-status-code { |
224 | -moz-margin-start: 3px !important; | |
225 | width: 3em; | |
226 | -moz-margin-end: -3em !important; | |
227 | } | |
228 | ||
229 | .requests-menu-status-icon { | |
f30073a6 | 230 | background-color: #A09090; |
d0a8de80 | 231 | height: 10px; |
46e71434 | 232 | width: 10px; |
e2734cc7 RK |
233 | -moz-margin-start: 5px; |
234 | -moz-margin-end: 5px; | |
f30073a6 RK |
235 | border-radius: 20px; |
236 | border: 1px solid #000000; | |
237 | transition: background-color 0.5s ease-in-out; | |
238 | } | |
239 | ||
d0a8de80 RK |
240 | .requests-menu-status-icon:not([code]) { |
241 | background-color: var(--theme-content-color2); | |
f30073a6 RK |
242 | } |
243 | ||
d0a8de80 | 244 | .requests-menu-status-icon[code="cached"] { |
2e389898 | 245 | border: 2px solid var(--theme-content-color2); |
a5cb6e53 RK |
246 | background-color: transparent; |
247 | } | |
248 | ||
d0a8de80 RK |
249 | .requests-menu-status-icon[code^="1"] { |
250 | background-color: var(--theme-highlight-blue); | |
46e71434 RK |
251 | } |
252 | ||
d0a8de80 | 253 | .requests-menu-status-icon[code^="2"] { |
2e389898 | 254 | background-color: var(--theme-highlight-green); |
f30073a6 RK |
255 | } |
256 | ||
46e71434 | 257 | /* 3xx are triangles */ |
d0a8de80 | 258 | .requests-menu-status-icon[code^="3"] { |
46e71434 RK |
259 | background-color: transparent; |
260 | width: 0; | |
261 | height: 0; | |
262 | border-left: 5px solid transparent; | |
263 | border-right: 5px solid transparent; | |
2e389898 | 264 | border-bottom: 10px solid var(--theme-highlight-lightorange); |
46e71434 | 265 | border-radius: 0; |
f30073a6 RK |
266 | } |
267 | ||
46e71434 | 268 | /* 4xx and 5xx are squares - error codes */ |
d0a8de80 | 269 | .requests-menu-status-icon[code^="4"] { |
2e389898 | 270 | background-color: var(--theme-highlight-red); |
46e71434 RK |
271 | border-radius: 0; /* squares */ |
272 | } | |
273 | ||
d0a8de80 | 274 | .requests-menu-status-icon[code^="5"] { |
2e389898 | 275 | background-color: var(--theme-highlight-pink); |
46e71434 RK |
276 | border-radius: 0; |
277 | transform: rotate(45deg); | |
f30073a6 RK |
278 | } |
279 | ||
280 | /* Network requests table: waterfall header */ | |
281 | ||
d0a8de80 RK |
282 | .requests-menu-waterfall { |
283 | padding-inline-start: 0; | |
284 | } | |
285 | ||
286 | #requests-menu-waterfall-label:not(.requests-menu-waterfall-visible) { | |
287 | padding-inline-start: 13px; | |
cc7e70eb RK |
288 | } |
289 | ||
f30073a6 RK |
290 | .requests-menu-timings-division { |
291 | width: 100px; | |
292 | padding-top: 1px; | |
d0a8de80 RK |
293 | padding-inline-start: 4px; |
294 | border-inline-start: 1px dotted #000000; | |
f30073a6 | 295 | font-size: 90%; |
f30073a6 | 296 | pointer-events: none; |
d0a8de80 RK |
297 | box-sizing: border-box; |
298 | text-align: start; | |
299 | } | |
300 | ||
301 | .requests-menu-timings-division:first-child { | |
302 | width: 98px; /* Substract 2px for borders */ | |
f30073a6 RK |
303 | } |
304 | ||
305 | .requests-menu-timings-division:not(:first-child) { | |
d0a8de80 RK |
306 | border-inline-start: 1px dotted; |
307 | margin-inline-start: -100px !important; /* Don't affect layout. */ | |
f30073a6 RK |
308 | } |
309 | ||
c4460289 RK |
310 | .requests-menu-timings-division:-moz-locale-dir(ltr) { |
311 | transform-origin: left center; | |
312 | } | |
313 | ||
314 | .requests-menu-timings-division:-moz-locale-dir(rtl) { | |
315 | transform-origin: right center; | |
316 | } | |
317 | ||
d0a8de80 RK |
318 | .requests-menu-timings-division { |
319 | border-inline-start-color: var(--theme-body-color) !important; | |
45dc7657 RK |
320 | } |
321 | ||
d0a8de80 | 322 | .requests-menu-timings-division[division-scale=second], |
45dc7657 | 323 | .requests-menu-timings-division[division-scale=minute] { |
45dc7657 RK |
324 | font-weight: 600; |
325 | } | |
326 | ||
f30073a6 | 327 | /* Network requests table: waterfall items */ |
cc7e70eb RK |
328 | |
329 | .requests-menu-subitem.requests-menu-waterfall { | |
46e71434 | 330 | -moz-padding-start: 0px; |
cc7e70eb | 331 | -moz-padding-end: 4px; |
d1e87ec1 RK |
332 | /* Background created on a <canvas> in js. */ |
333 | /* @see browser/devtools/netmonitor/netmonitor-view.js */ | |
334 | background-image: -moz-element(#waterfall-background); | |
335 | background-repeat: repeat-y; | |
45dc7657 | 336 | background-position: -1px center; |
cc7e70eb RK |
337 | } |
338 | ||
c4460289 RK |
339 | .requests-menu-subitem.requests-menu-waterfall:-moz-locale-dir(rtl) { |
340 | background-position: right center; | |
341 | } | |
342 | ||
343 | .requests-menu-timings:-moz-locale-dir(ltr) { | |
344 | transform-origin: left center; | |
345 | } | |
346 | ||
347 | .requests-menu-timings:-moz-locale-dir(rtl) { | |
348 | transform-origin: right center; | |
349 | } | |
350 | ||
351 | .requests-menu-timings-total:-moz-locale-dir(ltr) { | |
cc7e70eb RK |
352 | transform-origin: left center; |
353 | } | |
354 | ||
c4460289 RK |
355 | .requests-menu-timings-total:-moz-locale-dir(rtl) { |
356 | transform-origin: right center; | |
357 | } | |
358 | ||
cc7e70eb | 359 | .requests-menu-timings-total { |
46e71434 | 360 | -moz-padding-start: 4px; |
cc7e70eb RK |
361 | font-size: 85%; |
362 | font-weight: 600; | |
cc7e70eb RK |
363 | } |
364 | ||
cc7e70eb | 365 | .requests-menu-timings-box { |
46e71434 | 366 | height: 9px; |
cc7e70eb RK |
367 | } |
368 | ||
46e71434 RK |
369 | .requests-menu-timings-box.blocked { |
370 | background-color: #FF0000; /* red */ | |
cc7e70eb RK |
371 | } |
372 | ||
46e71434 RK |
373 | .requests-menu-timings-box.dns { |
374 | background-color: #E7ADE7; /* pink */ | |
cc7e70eb RK |
375 | } |
376 | ||
46e71434 RK |
377 | .requests-menu-timings-box.connect { |
378 | background-color: #FF9F00; /* orange */ | |
cc7e70eb RK |
379 | } |
380 | ||
46e71434 RK |
381 | .requests-menu-timings-box.send { |
382 | background-color: #FFCF00; /* light blue */ | |
cc7e70eb RK |
383 | } |
384 | ||
46e71434 RK |
385 | .requests-menu-timings-box.wait { |
386 | background-color: #9C9CFF; /* blue grey */ | |
cc7e70eb RK |
387 | } |
388 | ||
46e71434 RK |
389 | .requests-menu-timings-box.receive { |
390 | background-color: #A09090; /* green */ | |
cc7e70eb RK |
391 | } |
392 | ||
e2734cc7 RK |
393 | /* SideMenuWidget */ |
394 | ||
2e389898 RK |
395 | #network-table .side-menu-widget-empty-text, |
396 | #network-table .side-menu-widget-container { | |
397 | background-color: var(--theme-body-background); | |
398 | } | |
399 | ||
400 | #network-table .side-menu-widget-item { | |
401 | border-top-color: transparent; | |
402 | border-bottom-color: transparent; | |
403 | } | |
404 | ||
45dc7657 RK |
405 | .side-menu-widget-item-contents { |
406 | padding: 0px; | |
407 | } | |
408 | ||
de57e474 RK |
409 | .side-menu-widget-container { |
410 | box-shadow: none !important; | |
411 | } | |
412 | ||
45dc7657 | 413 | .side-menu-widget-item:not(.selected)[odd] { |
2e389898 RK |
414 | background-color: var(--table-zebra-background); |
415 | } | |
416 | ||
417 | .side-menu-widget-item:not(.selected):hover { | |
418 | background-color: var(--theme-selection-background-semitransparent); | |
cc7e70eb RK |
419 | } |
420 | ||
421 | /* Network request details */ | |
422 | ||
cc7e70eb | 423 | #details-pane-toggle { |
d0a8de80 | 424 | list-style-image: url("chrome://devtools/skin/images/debugger-collapse.png"); |
3d64e0ce RK |
425 | } |
426 | ||
cc7e70eb | 427 | #details-pane-toggle[pane-collapsed] { |
d0a8de80 | 428 | list-style-image: url("chrome://devtools/skin/images/debugger-expand.png"); |
cc7e70eb RK |
429 | } |
430 | ||
024a65e9 | 431 | @media (min-resolution: 1.1dppx) { |
3d64e0ce | 432 | #details-pane-toggle { |
d0a8de80 | 433 | list-style-image: url("chrome://devtools/skin/images/debugger-collapse@2x.png"); |
3d64e0ce RK |
434 | } |
435 | ||
436 | #details-pane-toggle[pane-collapsed] { | |
d0a8de80 | 437 | list-style-image: url("chrome://devtools/skin/images/debugger-expand@2x.png"); |
3d64e0ce | 438 | } |
3d64e0ce RK |
439 | } |
440 | ||
cc7e70eb RK |
441 | /* Network request details tabpanels */ |
442 | ||
443 | .tabpanel-content { | |
2e389898 RK |
444 | background-color: var(--theme-sidebar-background); |
445 | } | |
446 | ||
447 | .theme-dark .tabpanel-content { | |
de5e780d | 448 | color: var(--theme-body-color); |
cc7e70eb RK |
449 | } |
450 | ||
2e389898 RK |
451 | #headers-tabpanel { |
452 | background-color: var(--theme-toolbar-background); | |
453 | } | |
454 | ||
46e71434 RK |
455 | /* Summary tabpanel */ |
456 | ||
cc7e70eb RK |
457 | .tabpanel-summary-container { |
458 | padding: 1px; | |
459 | } | |
460 | ||
461 | .tabpanel-summary-label { | |
462 | -moz-padding-start: 4px; | |
463 | -moz-padding-end: 3px; | |
464 | font-weight: 600; | |
cc7e70eb RK |
465 | } |
466 | ||
467 | .tabpanel-summary-value { | |
e184b661 | 468 | color: inherit; |
cc7e70eb | 469 | -moz-padding-start: 3px; |
cc7e70eb RK |
470 | } |
471 | ||
472 | /* Headers tabpanel */ | |
473 | ||
474 | #headers-summary-status, | |
475 | #headers-summary-version { | |
476 | padding-bottom: 2px; | |
477 | } | |
478 | ||
479 | #headers-summary-size { | |
480 | padding-top: 2px; | |
481 | } | |
482 | ||
e7c8bab1 RK |
483 | #headers-summary-resend { |
484 | margin: 0 6px; | |
485 | /* min-height: 20px;*/ | |
486 | } | |
487 | ||
8922acc9 RK |
488 | #toggle-raw-headers { |
489 | margin-top: -10px; | |
490 | -moz-margin-end: 6px; | |
491 | } | |
492 | ||
493 | .raw-response-textarea { | |
494 | height: 50vh; | |
495 | } | |
496 | ||
cc7e70eb RK |
497 | /* Response tabpanel */ |
498 | ||
e2734cc7 | 499 | #response-content-info-header { |
e2734cc7 | 500 | margin: 0; |
46e71434 | 501 | padding: 3px 8px; |
de5e780d RK |
502 | background-color: var(--theme-highlight-red); |
503 | color: var(--theme-selection-color); | |
e2734cc7 RK |
504 | } |
505 | ||
cc7e70eb RK |
506 | #response-content-image-box { |
507 | padding-top: 10px; | |
508 | padding-bottom: 10px; | |
509 | } | |
510 | ||
511 | #response-content-image { | |
512 | background: #FFFFFF; | |
513 | border: 1px dashed #A09090; | |
514 | margin-bottom: 10px; | |
515 | } | |
516 | ||
c1d2ce3e RK |
517 | /* Preview tabpanel */ |
518 | ||
519 | #preview-tabpanel { | |
520 | background: #fff; | |
521 | } | |
522 | ||
523 | #response-preview { | |
524 | display: -moz-box; | |
525 | -moz-box-flex: 1; | |
526 | } | |
527 | ||
cc7e70eb RK |
528 | /* Timings tabpanel */ |
529 | ||
530 | #timings-tabpanel .tabpanel-summary-label { | |
531 | width: 10em; | |
532 | } | |
533 | ||
534 | #timings-tabpanel .requests-menu-timings-box { | |
535 | transition: transform 0.2s ease-out; | |
536 | min-width: 1px; | |
45dc7657 | 537 | border: none; |
cc7e70eb RK |
538 | } |
539 | ||
540 | #timings-tabpanel .requests-menu-timings-total { | |
541 | transition: transform 0.2s ease-out; | |
542 | } | |
f30073a6 | 543 | |
20752032 RK |
544 | /* Security tabpanel */ |
545 | ||
546 | .security-info-section { | |
547 | -moz-padding-start: 1em; | |
548 | } | |
549 | ||
550 | #security-tabpanel { | |
551 | overflow: auto; | |
552 | } | |
553 | ||
d533ec21 | 554 | .security-warning-icon { |
dc9d5d64 | 555 | background-image: url("images/alerticon-warning.png"); |
d533ec21 RK |
556 | background-size: 13px 12px; |
557 | -moz-margin-start: 5px; | |
558 | vertical-align: top; | |
559 | width: 13px; | |
560 | height: 12px; | |
561 | } | |
562 | ||
024a65e9 | 563 | @media (min-resolution: 1.1dppx) { |
d533ec21 | 564 | .security-warning-icon { |
dc9d5d64 | 565 | background-image: url("images/alerticon-warning@2x.png"); |
d533ec21 RK |
566 | } |
567 | } | |
568 | ||
e7c8bab1 RK |
569 | /* Custom request form */ |
570 | ||
571 | #custom-pane { | |
572 | padding: 0.6em 0.5em; | |
573 | } | |
574 | ||
575 | .custom-header { | |
576 | font-size: 1.1em; | |
577 | } | |
578 | ||
579 | .custom-section { | |
580 | margin-top: 0.5em; | |
fe524e0c RK |
581 | } |
582 | ||
583 | #custom-method-value { | |
584 | width: 4.5em; | |
e7c8bab1 RK |
585 | } |
586 | ||
e2734cc7 RK |
587 | /* Footer */ |
588 | ||
589 | #requests-menu-footer { | |
e2734cc7 | 590 | padding-top: 3px; |
de5e780d | 591 | background-color: var(--theme-toolbar-background); |
2e389898 | 592 | border-top: 1px solid var(--table-splitter-color); |
e2734cc7 RK |
593 | } |
594 | ||
595 | .requests-menu-footer-button, | |
596 | .requests-menu-footer-label { | |
597 | min-width: 1em; | |
598 | margin: 0; | |
599 | -moz-margin-end: 3px; | |
600 | border: none; | |
c1d2ce3e | 601 | padding: 0px 1vw; |
de5e780d | 602 | /* color: var(--theme-body-color);*/ |
e2734cc7 RK |
603 | } |
604 | ||
605 | .requests-menu-footer-spacer { | |
606 | min-width: 2px; | |
607 | } | |
608 | ||
609 | .requests-menu-footer-spacer, | |
610 | .requests-menu-footer-button { | |
611 | } | |
612 | ||
613 | .requests-menu-footer-button { | |
614 | } | |
615 | ||
e2734cc7 RK |
616 | .requests-menu-footer-button:hover:active { |
617 | } | |
618 | ||
619 | .requests-menu-footer-button:not(:active)[checked] { | |
620 | } | |
621 | ||
622 | .requests-menu-footer-label { | |
623 | font-weight: 600; | |
624 | } | |
625 | ||
a5cb6e53 RK |
626 | #requests-menu-filter-freetext-text { |
627 | transition-property: max-width, -moz-padding-end, -moz-padding-start; | |
628 | transition-duration: 250ms; | |
629 | transition-timing-function: ease; | |
630 | } | |
631 | ||
632 | #requests-menu-filter-freetext-text:not([focused]):not([filled]) > .textbox-input-box { | |
633 | overflow: hidden; | |
634 | } | |
635 | ||
636 | #requests-menu-filter-freetext-text:not([focused]):not([filled]) { | |
637 | max-width: 20px !important; | |
638 | -moz-padding-end: 5px; | |
639 | -moz-padding-start: 22px; | |
640 | background-position: 8px center, top left, top left; | |
641 | } | |
642 | ||
643 | #requests-menu-filter-freetext-text[focused], | |
644 | #requests-menu-filter-freetext-text[filled] { | |
645 | max-width: 200px !important; | |
646 | } | |
647 | ||
46e71434 RK |
648 | /* Performance analysis buttons */ |
649 | ||
650 | #requests-menu-network-summary-button { | |
dadba0f2 | 651 | list-style-image: url("images/profiler-stopwatch.svg"); |
46e71434 RK |
652 | -moz-padding-end: 0; |
653 | cursor: pointer; | |
654 | } | |
655 | ||
656 | #requests-menu-network-summary-label { | |
657 | -moz-padding-start: 0; | |
658 | cursor: pointer; | |
659 | } | |
660 | ||
661 | #requests-menu-network-summary-label:hover { | |
662 | text-decoration: underline; | |
663 | } | |
664 | ||
665 | /* Performance analysis view */ | |
666 | ||
667 | #network-statistics-toolbar { | |
668 | /* Make the toolbar invisible, it only hold the back button */ | |
669 | -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar"); | |
670 | background-color: #000000; | |
671 | } | |
672 | ||
673 | #network-statistics-back-button { | |
674 | min-width: 4em; | |
675 | min-height: 100vh; | |
676 | } | |
677 | ||
678 | #network-statistics-view-splitter { | |
679 | cursor: default; | |
680 | pointer-events: none; | |
681 | } | |
682 | ||
683 | #network-statistics-charts { | |
684 | min-height: 1px; | |
2e389898 | 685 | background-color: var(--theme-sidebar-background); |
46e71434 RK |
686 | } |
687 | ||
688 | #network-statistics-charts .pie-chart-container { | |
689 | -moz-margin-start: 3vw; | |
690 | -moz-margin-end: 1vw; | |
691 | } | |
692 | ||
693 | #network-statistics-charts .table-chart-container { | |
694 | -moz-margin-start: 1vw; | |
695 | -moz-margin-end: 3vw; | |
696 | } | |
697 | ||
b7f3670c | 698 | .chart-colored-blob[name=html] { |
de5e780d RK |
699 | fill: var(--theme-highlight-bluegrey); |
700 | background: var(--theme-highlight-bluegrey); | |
46e71434 RK |
701 | } |
702 | ||
b7f3670c | 703 | .chart-colored-blob[name=css] { |
de5e780d RK |
704 | fill: var(--theme-highlight-blue); |
705 | background: var(--theme-highlight-blue); | |
46e71434 RK |
706 | } |
707 | ||
b7f3670c | 708 | .chart-colored-blob[name=js] { |
de5e780d RK |
709 | fill: var(--theme-highlight-lightorange); |
710 | background: var(--theme-highlight-lightorange); | |
46e71434 RK |
711 | } |
712 | ||
b7f3670c | 713 | .chart-colored-blob[name=xhr] { |
de5e780d RK |
714 | fill: var(--theme-highlight-orange); |
715 | background: var(--theme-highlight-orange); | |
46e71434 RK |
716 | } |
717 | ||
b7f3670c | 718 | .chart-colored-blob[name=fonts] { |
de5e780d RK |
719 | fill: var(--theme-highlight-darkpurple); |
720 | background: var(--theme-highlight-darkpurple); | |
46e71434 RK |
721 | } |
722 | ||
b7f3670c | 723 | .chart-colored-blob[name=images] { |
de5e780d RK |
724 | fill: var(--theme-highlight-pink); |
725 | background: var(--theme-highlight-pink); | |
46e71434 RK |
726 | } |
727 | ||
b7f3670c | 728 | .chart-colored-blob[name=media] { |
de5e780d RK |
729 | fill: var(--theme-highlight-green); |
730 | background: var(--theme-highlight-green); | |
46e71434 RK |
731 | } |
732 | ||
b7f3670c | 733 | .chart-colored-blob[name=flash] { |
de5e780d RK |
734 | fill: var(--theme-highlight-red); |
735 | background: var(--theme-highlight-red); | |
46e71434 RK |
736 | } |
737 | ||
738 | .table-chart-row-label[name=cached] { | |
739 | display: none; | |
740 | } | |
741 | ||
742 | .table-chart-row-label[name=count] { | |
743 | width: 3em; | |
744 | text-align: end; | |
745 | } | |
746 | ||
747 | .table-chart-row-label[name=label] { | |
748 | width: 7em; | |
749 | } | |
750 | ||
751 | .table-chart-row-label[name=size] { | |
752 | width: 7em; | |
753 | } | |
754 | ||
755 | .table-chart-row-label[name=time] { | |
756 | width: 7em; | |
757 | } | |
758 | ||
d0a8de80 RK |
759 | /* Platform overrides (copied in from the old platform specific files) */ |
760 | :root[platform="win"] .requests-menu-header-button > .button-box { | |
761 | padding: 0; | |
762 | } | |
763 | ||
764 | :root[platform="win"] .requests-menu-timings-division { | |
765 | padding-top: 1px; | |
766 | font-size: 90%; | |
767 | } | |
768 | ||
769 | :root[platform="linux"] #headers-summary-resend { | |
770 | padding: 4px; | |
771 | } | |
772 | ||
773 | :root[platform="linux"] #toggle-raw-headers { | |
774 | padding: 4px; | |
775 | } | |
776 | ||
f30073a6 RK |
777 | /* Responsive sidebar */ |
778 | @media (max-width: 700px) { | |
779 | #requests-menu-toolbar { | |
780 | height: 24px; | |
781 | } | |
782 | ||
783 | .requests-menu-header-button { | |
d0a8de80 RK |
784 | min-height: 22px; |
785 | padding-left: 8px; | |
e2734cc7 RK |
786 | } |
787 | ||
f30073a6 | 788 | #details-pane { |
f30073a6 RK |
789 | margin: 0 !important; |
790 | /* To prevent all the margin hacks to hide the sidebar. */ | |
791 | } | |
792 | ||
d0a8de80 RK |
793 | .requests-menu-status { |
794 | max-width: none; | |
795 | width: 12vw; | |
796 | } | |
797 | ||
798 | .requests-menu-status-code { | |
799 | width: auto; | |
800 | } | |
801 | ||
802 | .requests-menu-method, | |
803 | .requests-menu-method-box { | |
804 | max-width: none; | |
805 | width: 14vw; | |
806 | } | |
807 | ||
808 | .requests-menu-icon-and-file { | |
809 | width: 22vw; | |
f30073a6 RK |
810 | } |
811 | ||
20752032 | 812 | .requests-menu-security-and-domain { |
d0a8de80 | 813 | width: 18vw; |
f30073a6 RK |
814 | } |
815 | ||
816 | .requests-menu-type { | |
d0a8de80 | 817 | width: 10vw; |
f30073a6 RK |
818 | } |
819 | ||
d0a8de80 | 820 | .requests-menu-transferred, |
f30073a6 | 821 | .requests-menu-size { |
d0a8de80 | 822 | width: 12vw; |
f30073a6 RK |
823 | } |
824 | } | |
825 | ||
45dc7657 | 826 | /* === END netmonitor.inc.css === */ |