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