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