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