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