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 | ||
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 | 406 | #details-pane-toggle { |
dc9d5d64 | 407 | list-style-image: url("chrome://devtools/skin/debugger-collapse.png"); |
3d64e0ce RK |
408 | } |
409 | ||
cc7e70eb | 410 | #details-pane-toggle[pane-collapsed] { |
dc9d5d64 | 411 | list-style-image: url("chrome://devtools/skin/debugger-expand.png"); |
cc7e70eb RK |
412 | } |
413 | ||
024a65e9 | 414 | @media (min-resolution: 1.1dppx) { |
3d64e0ce | 415 | #details-pane-toggle { |
dc9d5d64 | 416 | list-style-image: url("chrome://devtools/skin/debugger-collapse@2x.png"); |
3d64e0ce RK |
417 | } |
418 | ||
419 | #details-pane-toggle[pane-collapsed] { | |
dc9d5d64 | 420 | list-style-image: url("chrome://devtools/skin/debugger-expand@2x.png"); |
3d64e0ce | 421 | } |
3d64e0ce RK |
422 | } |
423 | ||
cc7e70eb RK |
424 | /* Network request details tabpanels */ |
425 | ||
426 | .tabpanel-content { | |
2e389898 RK |
427 | background-color: var(--theme-sidebar-background); |
428 | } | |
429 | ||
430 | .theme-dark .tabpanel-content { | |
de5e780d | 431 | color: var(--theme-body-color); |
cc7e70eb RK |
432 | } |
433 | ||
2e389898 RK |
434 | #headers-tabpanel { |
435 | background-color: var(--theme-toolbar-background); | |
436 | } | |
437 | ||
46e71434 RK |
438 | /* Summary tabpanel */ |
439 | ||
cc7e70eb RK |
440 | .tabpanel-summary-container { |
441 | padding: 1px; | |
442 | } | |
443 | ||
444 | .tabpanel-summary-label { | |
445 | -moz-padding-start: 4px; | |
446 | -moz-padding-end: 3px; | |
447 | font-weight: 600; | |
cc7e70eb RK |
448 | } |
449 | ||
450 | .tabpanel-summary-value { | |
e184b661 | 451 | color: inherit; |
cc7e70eb | 452 | -moz-padding-start: 3px; |
cc7e70eb RK |
453 | } |
454 | ||
455 | /* Headers tabpanel */ | |
456 | ||
457 | #headers-summary-status, | |
458 | #headers-summary-version { | |
459 | padding-bottom: 2px; | |
460 | } | |
461 | ||
462 | #headers-summary-size { | |
463 | padding-top: 2px; | |
464 | } | |
465 | ||
e7c8bab1 RK |
466 | #headers-summary-resend { |
467 | margin: 0 6px; | |
468 | /* min-height: 20px;*/ | |
469 | } | |
470 | ||
8922acc9 RK |
471 | #toggle-raw-headers { |
472 | margin-top: -10px; | |
473 | -moz-margin-end: 6px; | |
474 | } | |
475 | ||
476 | .raw-response-textarea { | |
477 | height: 50vh; | |
478 | } | |
479 | ||
cc7e70eb RK |
480 | /* Response tabpanel */ |
481 | ||
e2734cc7 | 482 | #response-content-info-header { |
e2734cc7 | 483 | margin: 0; |
46e71434 | 484 | padding: 3px 8px; |
de5e780d RK |
485 | background-color: var(--theme-highlight-red); |
486 | color: var(--theme-selection-color); | |
e2734cc7 RK |
487 | } |
488 | ||
cc7e70eb RK |
489 | #response-content-image-box { |
490 | padding-top: 10px; | |
491 | padding-bottom: 10px; | |
492 | } | |
493 | ||
494 | #response-content-image { | |
495 | background: #FFFFFF; | |
496 | border: 1px dashed #A09090; | |
497 | margin-bottom: 10px; | |
498 | } | |
499 | ||
c1d2ce3e RK |
500 | /* Preview tabpanel */ |
501 | ||
502 | #preview-tabpanel { | |
503 | background: #fff; | |
504 | } | |
505 | ||
506 | #response-preview { | |
507 | display: -moz-box; | |
508 | -moz-box-flex: 1; | |
509 | } | |
510 | ||
cc7e70eb RK |
511 | /* Timings tabpanel */ |
512 | ||
513 | #timings-tabpanel .tabpanel-summary-label { | |
514 | width: 10em; | |
515 | } | |
516 | ||
517 | #timings-tabpanel .requests-menu-timings-box { | |
518 | transition: transform 0.2s ease-out; | |
519 | min-width: 1px; | |
45dc7657 | 520 | border: none; |
cc7e70eb RK |
521 | } |
522 | ||
523 | #timings-tabpanel .requests-menu-timings-total { | |
524 | transition: transform 0.2s ease-out; | |
525 | } | |
f30073a6 | 526 | |
20752032 RK |
527 | /* Security tabpanel */ |
528 | ||
529 | .security-info-section { | |
530 | -moz-padding-start: 1em; | |
531 | } | |
532 | ||
533 | #security-tabpanel { | |
534 | overflow: auto; | |
535 | } | |
536 | ||
d533ec21 | 537 | .security-warning-icon { |
dc9d5d64 | 538 | background-image: url("images/alerticon-warning.png"); |
d533ec21 RK |
539 | background-size: 13px 12px; |
540 | -moz-margin-start: 5px; | |
541 | vertical-align: top; | |
542 | width: 13px; | |
543 | height: 12px; | |
544 | } | |
545 | ||
024a65e9 | 546 | @media (min-resolution: 1.1dppx) { |
d533ec21 | 547 | .security-warning-icon { |
dc9d5d64 | 548 | background-image: url("images/alerticon-warning@2x.png"); |
d533ec21 RK |
549 | } |
550 | } | |
551 | ||
e7c8bab1 RK |
552 | /* Custom request form */ |
553 | ||
554 | #custom-pane { | |
555 | padding: 0.6em 0.5em; | |
556 | } | |
557 | ||
558 | .custom-header { | |
559 | font-size: 1.1em; | |
560 | } | |
561 | ||
562 | .custom-section { | |
563 | margin-top: 0.5em; | |
fe524e0c RK |
564 | } |
565 | ||
566 | #custom-method-value { | |
567 | width: 4.5em; | |
e7c8bab1 RK |
568 | } |
569 | ||
e2734cc7 RK |
570 | /* Footer */ |
571 | ||
572 | #requests-menu-footer { | |
e2734cc7 | 573 | padding-top: 3px; |
de5e780d | 574 | background-color: var(--theme-toolbar-background); |
2e389898 | 575 | border-top: 1px solid var(--table-splitter-color); |
e2734cc7 RK |
576 | } |
577 | ||
578 | .requests-menu-footer-button, | |
579 | .requests-menu-footer-label { | |
580 | min-width: 1em; | |
581 | margin: 0; | |
582 | -moz-margin-end: 3px; | |
583 | border: none; | |
c1d2ce3e | 584 | padding: 0px 1vw; |
de5e780d | 585 | /* color: var(--theme-body-color);*/ |
e2734cc7 RK |
586 | } |
587 | ||
588 | .requests-menu-footer-spacer { | |
589 | min-width: 2px; | |
590 | } | |
591 | ||
592 | .requests-menu-footer-spacer, | |
593 | .requests-menu-footer-button { | |
594 | } | |
595 | ||
596 | .requests-menu-footer-button { | |
597 | } | |
598 | ||
e2734cc7 RK |
599 | .requests-menu-footer-button:hover:active { |
600 | } | |
601 | ||
602 | .requests-menu-footer-button:not(:active)[checked] { | |
603 | } | |
604 | ||
605 | .requests-menu-footer-label { | |
606 | font-weight: 600; | |
607 | } | |
608 | ||
a5cb6e53 RK |
609 | #requests-menu-filter-freetext-text { |
610 | transition-property: max-width, -moz-padding-end, -moz-padding-start; | |
611 | transition-duration: 250ms; | |
612 | transition-timing-function: ease; | |
613 | } | |
614 | ||
615 | #requests-menu-filter-freetext-text:not([focused]):not([filled]) > .textbox-input-box { | |
616 | overflow: hidden; | |
617 | } | |
618 | ||
619 | #requests-menu-filter-freetext-text:not([focused]):not([filled]) { | |
620 | max-width: 20px !important; | |
621 | -moz-padding-end: 5px; | |
622 | -moz-padding-start: 22px; | |
623 | background-position: 8px center, top left, top left; | |
624 | } | |
625 | ||
626 | #requests-menu-filter-freetext-text[focused], | |
627 | #requests-menu-filter-freetext-text[filled] { | |
628 | max-width: 200px !important; | |
629 | } | |
630 | ||
46e71434 RK |
631 | /* Performance analysis buttons */ |
632 | ||
633 | #requests-menu-network-summary-button { | |
dadba0f2 | 634 | list-style-image: url("images/profiler-stopwatch.svg"); |
46e71434 RK |
635 | -moz-padding-end: 0; |
636 | cursor: pointer; | |
637 | } | |
638 | ||
639 | #requests-menu-network-summary-label { | |
640 | -moz-padding-start: 0; | |
641 | cursor: pointer; | |
642 | } | |
643 | ||
644 | #requests-menu-network-summary-label:hover { | |
645 | text-decoration: underline; | |
646 | } | |
647 | ||
648 | /* Performance analysis view */ | |
649 | ||
650 | #network-statistics-toolbar { | |
651 | /* Make the toolbar invisible, it only hold the back button */ | |
652 | -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar"); | |
653 | background-color: #000000; | |
654 | } | |
655 | ||
656 | #network-statistics-back-button { | |
657 | min-width: 4em; | |
658 | min-height: 100vh; | |
659 | } | |
660 | ||
661 | #network-statistics-view-splitter { | |
662 | cursor: default; | |
663 | pointer-events: none; | |
664 | } | |
665 | ||
666 | #network-statistics-charts { | |
667 | min-height: 1px; | |
2e389898 | 668 | background-color: var(--theme-sidebar-background); |
46e71434 RK |
669 | } |
670 | ||
671 | #network-statistics-charts .pie-chart-container { | |
672 | -moz-margin-start: 3vw; | |
673 | -moz-margin-end: 1vw; | |
674 | } | |
675 | ||
676 | #network-statistics-charts .table-chart-container { | |
677 | -moz-margin-start: 1vw; | |
678 | -moz-margin-end: 3vw; | |
679 | } | |
680 | ||
b7f3670c | 681 | .chart-colored-blob[name=html] { |
de5e780d RK |
682 | fill: var(--theme-highlight-bluegrey); |
683 | background: var(--theme-highlight-bluegrey); | |
46e71434 RK |
684 | } |
685 | ||
b7f3670c | 686 | .chart-colored-blob[name=css] { |
de5e780d RK |
687 | fill: var(--theme-highlight-blue); |
688 | background: var(--theme-highlight-blue); | |
46e71434 RK |
689 | } |
690 | ||
b7f3670c | 691 | .chart-colored-blob[name=js] { |
de5e780d RK |
692 | fill: var(--theme-highlight-lightorange); |
693 | background: var(--theme-highlight-lightorange); | |
46e71434 RK |
694 | } |
695 | ||
b7f3670c | 696 | .chart-colored-blob[name=xhr] { |
de5e780d RK |
697 | fill: var(--theme-highlight-orange); |
698 | background: var(--theme-highlight-orange); | |
46e71434 RK |
699 | } |
700 | ||
b7f3670c | 701 | .chart-colored-blob[name=fonts] { |
de5e780d RK |
702 | fill: var(--theme-highlight-darkpurple); |
703 | background: var(--theme-highlight-darkpurple); | |
46e71434 RK |
704 | } |
705 | ||
b7f3670c | 706 | .chart-colored-blob[name=images] { |
de5e780d RK |
707 | fill: var(--theme-highlight-pink); |
708 | background: var(--theme-highlight-pink); | |
46e71434 RK |
709 | } |
710 | ||
b7f3670c | 711 | .chart-colored-blob[name=media] { |
de5e780d RK |
712 | fill: var(--theme-highlight-green); |
713 | background: var(--theme-highlight-green); | |
46e71434 RK |
714 | } |
715 | ||
b7f3670c | 716 | .chart-colored-blob[name=flash] { |
de5e780d RK |
717 | fill: var(--theme-highlight-red); |
718 | background: var(--theme-highlight-red); | |
46e71434 RK |
719 | } |
720 | ||
721 | .table-chart-row-label[name=cached] { | |
722 | display: none; | |
723 | } | |
724 | ||
725 | .table-chart-row-label[name=count] { | |
726 | width: 3em; | |
727 | text-align: end; | |
728 | } | |
729 | ||
730 | .table-chart-row-label[name=label] { | |
731 | width: 7em; | |
732 | } | |
733 | ||
734 | .table-chart-row-label[name=size] { | |
735 | width: 7em; | |
736 | } | |
737 | ||
738 | .table-chart-row-label[name=time] { | |
739 | width: 7em; | |
740 | } | |
741 | ||
f30073a6 RK |
742 | /* Responsive sidebar */ |
743 | @media (max-width: 700px) { | |
744 | #requests-menu-toolbar { | |
745 | height: 24px; | |
746 | } | |
747 | ||
748 | .requests-menu-header-button { | |
45dc7657 | 749 | min-height: 24px; |
e2734cc7 RK |
750 | } |
751 | ||
f30073a6 | 752 | #details-pane { |
f30073a6 RK |
753 | margin: 0 !important; |
754 | /* To prevent all the margin hacks to hide the sidebar. */ | |
755 | } | |
756 | ||
757 | .requests-menu-status-and-method { | |
e2734cc7 | 758 | width: 16vw; |
f30073a6 RK |
759 | } |
760 | ||
c1d2ce3e | 761 | .requests-menu-icon-and-file, |
20752032 | 762 | .requests-menu-security-and-domain { |
f30073a6 | 763 | width: 30vw; |
f30073a6 RK |
764 | } |
765 | ||
766 | .requests-menu-type { | |
767 | width: 8vw; | |
768 | } | |
769 | ||
770 | .requests-menu-size { | |
771 | width: 16vw; | |
772 | border-width: 0 !important; | |
773 | box-shadow: none !important; | |
774 | /* The "Timeline" header is not visible anymore, and thus the | |
775 | right border and box-shadow of "Size" column should be hidden. */ | |
776 | } | |
777 | } | |
778 | ||
45dc7657 | 779 | /* === END netmonitor.inc.css === */ |