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