second and final part of syncing LCARStrek with Firefox 37 windows theme changes
[themes.git] / LCARStrek / browser / 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
45dc7657 10/* === BEGIN netmonitor.inc.css === */
e2734cc7
RK
11
12#requests-menu-empty-notice {
45dc7657 13 margin: 0;
cc7e70eb 14 padding: 12px;
46e71434 15 font-size: 120%;
46e71434
RK
16}
17
2b5a5147
RK
18#notice-perf-message {
19 margin-top: 2px;
20}
21
46e71434
RK
22#requests-menu-perf-notice-button {
23 min-width: 30px;
2b5a5147 24 min-height: 26px;
46e71434 25 margin: 0;
dccbbf95 26 list-style-image: url("profiler-stopwatch.svg");
46e71434
RK
27}
28
29#requests-menu-perf-notice-button .button-text {
30 display: none;
cc7e70eb
RK
31}
32
2b5a5147
RK
33#requests-menu-reload-notice-button {
34 min-height: 26px;
35 margin: 0;
36}
37
45dc7657
RK
38/* Network requests table */
39
cc7e70eb
RK
40#requests-menu-toolbar {
41}
42
f30073a6
RK
43#requests-menu-toolbar > .toolbar-box > .toolbar-startcap,
44#requests-menu-toolbar > .toolbar-box > .toolbar-endcap {
45 display: none;
46}
47
f30073a6
RK
48.requests-menu-header:first-child {
49 -moz-padding-start: 4px;
50 -moz-margin-start: 4px;
51}
52
cc7e70eb 53.requests-menu-subitem {
f30073a6 54 padding: 4px;
cc7e70eb
RK
55}
56
f30073a6 57.requests-menu-header:not(:last-child),
cc7e70eb
RK
58.requests-menu-subitem:not(:last-child) {
59 -moz-border-end: 1px solid #9C9CFF;
60}
61
45dc7657
RK
62.requests-menu-header:not(:last-child):-moz-locale-dir(rtl),
63.requests-menu-subitem:not(:last-child):-moz-locale-dir(rtl) {
64}
65
f30073a6
RK
66.requests-menu-header-button,
67#requests-menu-status-button {
68 background-color: transparent;
69 border-radius: 0;
e2734cc7 70 min-width: 20px;
f30073a6 71 margin: 0;
e2734cc7 72 font-weight: inherit !important;
f30073a6 73 transition: background-color 0.1s ease-in-out;
cc7e70eb
RK
74}
75
f30073a6
RK
76.requests-menu-header-button > .button-box,
77#requests-menu-status-button > .button-box {
78 border-radius: 0;
624ebb51
RK
79 -moz-padding-start: 0;
80 -moz-padding-end: 0;
81 border: 0;
cc7e70eb
RK
82}
83
f30073a6
RK
84.requests-menu-header-button:hover {
85 background-color: #FFCF00;
cc7e70eb
RK
86}
87
f30073a6
RK
88.requests-menu-header-button:hover:active {
89 background-color: #FF9F00;
90}
91
92.requests-menu-header-button:not(:active)[sorted] {
cc7e70eb
RK
93 background-color: #008484;
94}
95
f30073a6
RK
96.requests-menu-header-button:not(:active)[sorted=ascending] {
97 background-image: radial-gradient(farthest-side at center top, rgba(0,0,0,.7), rgba(0,0,0,0.3));
98 background-size: 100% 1px;
99 background-repeat: no-repeat;
cc7e70eb
RK
100}
101
f30073a6
RK
102.requests-menu-header-button:not(:active)[sorted=descending] {
103 background-image: radial-gradient(farthest-side at center bottom, rgba(0,0,0,.7), rgba(0,0,0,0.3));
104 background-size: 100% 1px;
105 background-repeat: no-repeat;
106 background-position: bottom;
cc7e70eb
RK
107}
108
f30073a6
RK
109#requests-menu-status-button {
110 border: none;
111}
112
113#requests-menu-status-button > .button-box {
114 padding: 0;
115}
116
117/* Network requests table: specific column dimensions */
118
119.requests-menu-status-and-method {
649b5d38 120 width: 12em;
f30073a6
RK
121}
122
123.requests-menu-status {
124 width: 10px;
125 height: 10px;
126 margin: 0px 2px;
cc7e70eb
RK
127}
128
129.requests-menu-method {
130 text-align: center;
131 font-weight: 600;
132}
133
c1d2ce3e
RK
134.requests-menu-icon-and-file {
135 width: 20vw;
136 min-width: 4em;
137}
138
139.requests-menu-icon {
140 background: #FFCF00;
141 width: calc(1em + 4px);
142 height: calc(1em + 4px);
143 margin: -4px 0px;
144 -moz-margin-end: 4px;
145}
146
147.requests-menu-icon {
148 outline: 1px solid #A09090;
149}
150
cc7e70eb 151.requests-menu-file {
c1d2ce3e 152 text-align: start;
cc7e70eb
RK
153}
154
20752032 155.requests-menu-security-and-domain {
c1d2ce3e
RK
156 width: 14vw;
157 min-width: 10em;
cc7e70eb
RK
158}
159
20752032
RK
160.requests-security-state-icon {
161 -moz-margin-end: 4px;
162 -moz-image-region:rect(0px, 16px, 16px, 0px);
163}
164
165.requests-security-state-icon:hover {
166 -moz-image-region: rect(0px, 32px, 16px, 16px);
167}
168
169.requests-security-state-icon:active {
170 -moz-image-region: rect(0px, 48px, 16px, 32px);
171}
172
173.security-state-insecure {
174 list-style-image: url("chrome://browser/skin/identity-icons-generic.png");
175}
176
177.security-state-secure {
178 cursor: pointer;
179 list-style-image: url("chrome://browser/skin/identity-icons-https.png");
180}
181
182.security-state-broken {
183 cursor: pointer;
184 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-active.png");
185}
186
cc7e70eb
RK
187.requests-menu-type {
188 text-align: center;
189 width: 4em;
190}
191
192.requests-menu-size {
193 text-align: center;
194 width: 8em;
195}
196
f30073a6
RK
197/* Network requests table: status codes */
198
46e71434 199box.requests-menu-status {
f30073a6 200 background-color: #A09090;
46e71434 201 width: 10px;
e2734cc7
RK
202 -moz-margin-start: 5px;
203 -moz-margin-end: 5px;
f30073a6
RK
204 border-radius: 20px;
205 border: 1px solid #000000;
206 transition: background-color 0.5s ease-in-out;
207}
208
46e71434
RK
209label.requests-menu-status-code {
210 -moz-margin-start: 3px !important;
211 width: 3em;
212 -moz-margin-end: -3em !important;
f30073a6
RK
213}
214
46e71434
RK
215box.requests-menu-status:not([code]) {
216 background-color: #A09090; /* dark grey */
f30073a6
RK
217}
218
46e71434
RK
219box.requests-menu-status[code^="1"] {
220 background-color: #9C9CFF; /* light blue */
221}
222
223box.requests-menu-status[code^="2"] {
224 background-color: #008484; /* green */
f30073a6
RK
225}
226
46e71434
RK
227/* 3xx are triangles */
228box.requests-menu-status[code^="3"] {
229 background-color: transparent;
230 width: 0;
231 height: 0;
232 border-left: 5px solid transparent;
233 border-right: 5px solid transparent;
234 border-bottom: 10px solid #FF9F00; /* light orange */
235 border-radius: 0;
f30073a6
RK
236}
237
46e71434
RK
238/* 4xx and 5xx are squares - error codes */
239box.requests-menu-status[code^="4"] {
240 background-color: #FF0000; /* red */
241 border-radius: 0; /* squares */
242}
243
244box.requests-menu-status[code^="5"] {
245 background-color: #6000CF; /* pink? */
246 border-radius: 0;
247 transform: rotate(45deg);
f30073a6
RK
248}
249
250/* Network requests table: waterfall header */
251
252#requests-menu-waterfall-label {
cc7e70eb
RK
253 -moz-padding-start: 8px;
254 -moz-padding-end: 8px;
cc7e70eb
RK
255}
256
f30073a6
RK
257.requests-menu-timings-division {
258 width: 100px;
259 padding-top: 1px;
260 -moz-padding-start: 4px;
261 -moz-border-start: 1px dotted #000000;
262 font-size: 90%;
f30073a6
RK
263 pointer-events: none;
264}
265
266.requests-menu-timings-division:not(:first-child) {
45dc7657 267 -moz-border-start: 1px dotted;
f30073a6
RK
268 -moz-margin-start: -100px !important; /* Don't affect layout. */
269}
270
c4460289
RK
271.requests-menu-timings-division:-moz-locale-dir(ltr) {
272 transform-origin: left center;
273}
274
275.requests-menu-timings-division:-moz-locale-dir(rtl) {
276 transform-origin: right center;
277}
278
45dc7657 279.requests-menu-timings-division[division-scale=millisecond] {
de5e780d 280 -moz-border-start-color: var(--theme-body-color) !important;
45dc7657
RK
281}
282
283.requests-menu-timings-division[division-scale=second] {
de5e780d 284 -moz-border-start-color: var(--theme-body-color) !important;
45dc7657
RK
285 font-weight: 600;
286}
287
288.requests-menu-timings-division[division-scale=minute] {
de5e780d 289 -moz-border-start-color: var(--theme-body-color) !important;
45dc7657
RK
290 font-weight: 600;
291}
292
f30073a6 293/* Network requests table: waterfall items */
cc7e70eb
RK
294
295.requests-menu-subitem.requests-menu-waterfall {
46e71434 296 -moz-padding-start: 0px;
cc7e70eb 297 -moz-padding-end: 4px;
d1e87ec1
RK
298 /* Background created on a <canvas> in js. */
299 /* @see browser/devtools/netmonitor/netmonitor-view.js */
300 background-image: -moz-element(#waterfall-background);
301 background-repeat: repeat-y;
45dc7657 302 background-position: -1px center;
cc7e70eb
RK
303}
304
c4460289
RK
305.requests-menu-subitem.requests-menu-waterfall:-moz-locale-dir(rtl) {
306 background-position: right center;
307}
308
309.requests-menu-timings:-moz-locale-dir(ltr) {
310 transform-origin: left center;
311}
312
313.requests-menu-timings:-moz-locale-dir(rtl) {
314 transform-origin: right center;
315}
316
317.requests-menu-timings-total:-moz-locale-dir(ltr) {
cc7e70eb
RK
318 transform-origin: left center;
319}
320
c4460289
RK
321.requests-menu-timings-total:-moz-locale-dir(rtl) {
322 transform-origin: right center;
323}
324
cc7e70eb 325.requests-menu-timings-total {
46e71434 326 -moz-padding-start: 4px;
cc7e70eb
RK
327 font-size: 85%;
328 font-weight: 600;
cc7e70eb
RK
329}
330
cc7e70eb 331.requests-menu-timings-box {
46e71434 332 height: 9px;
cc7e70eb
RK
333}
334
46e71434
RK
335.requests-menu-timings-box.blocked {
336 background-color: #FF0000; /* red */
cc7e70eb
RK
337}
338
46e71434
RK
339.requests-menu-timings-box.dns {
340 background-color: #E7ADE7; /* pink */
cc7e70eb
RK
341}
342
46e71434
RK
343.requests-menu-timings-box.connect {
344 background-color: #FF9F00; /* orange */
cc7e70eb
RK
345}
346
46e71434
RK
347.requests-menu-timings-box.send {
348 background-color: #FFCF00; /* light blue */
cc7e70eb
RK
349}
350
46e71434
RK
351.requests-menu-timings-box.wait {
352 background-color: #9C9CFF; /* blue grey */
cc7e70eb
RK
353}
354
46e71434
RK
355.requests-menu-timings-box.receive {
356 background-color: #A09090; /* green */
cc7e70eb
RK
357}
358
e2734cc7
RK
359/* SideMenuWidget */
360
45dc7657
RK
361.side-menu-widget-item-contents {
362 padding: 0px;
363}
364
de57e474
RK
365.side-menu-widget-container {
366 box-shadow: none !important;
367}
368
45dc7657 369.side-menu-widget-item:not(.selected)[odd] {
cc7e70eb
RK
370 background: rgba(255,159,0,0.1);
371}
372
373/* Network request details */
374
cc7e70eb
RK
375#details-pane-toggle {
376 list-style-image: url("chrome://browser/skin/devtools/debugger-collapse.png");
377 -moz-image-region: rect(0px,16px,16px,0px);
378}
379
3d64e0ce
RK
380#details-pane-toggle > .toolbarbutton-icon {
381 width: 16px;
382 height: 16px;
383}
384
cc7e70eb
RK
385#details-pane-toggle[pane-collapsed] {
386 list-style-image: url("chrome://browser/skin/devtools/debugger-expand.png");
387}
388
389#details-pane-toggle:hover,
390#details-pane-toggle:hover:active {
391 -moz-image-region: rect(0px,32px,16px,16px);
392}
393
3d64e0ce
RK
394@media (min-resolution: 2dppx) {
395 #details-pane-toggle {
396 list-style-image: url("chrome://browser/skin/devtools/debugger-collapse@2x.png");
397 -moz-image-region: rect(0px,32px,32px,0px);
398 }
399
400 #details-pane-toggle[pane-collapsed] {
401 list-style-image: url("chrome://browser/skin/devtools/debugger-expand@2x.png");
402 }
403
404 #details-pane-toggle:active {
405 -moz-image-region: rect(0px,64px,32px,32px);
406 }
407}
408
cc7e70eb
RK
409/* Network request details tabpanels */
410
411.tabpanel-content {
de5e780d
RK
412 background-color: var(--theme-toolbar-background);
413 color: var(--theme-body-color);
cc7e70eb
RK
414}
415
46e71434
RK
416/* Summary tabpanel */
417
cc7e70eb
RK
418.tabpanel-summary-container {
419 padding: 1px;
420}
421
422.tabpanel-summary-label {
423 -moz-padding-start: 4px;
424 -moz-padding-end: 3px;
425 font-weight: 600;
cc7e70eb
RK
426}
427
428.tabpanel-summary-value {
429 -moz-padding-start: 3px;
cc7e70eb
RK
430}
431
432/* Headers tabpanel */
433
434#headers-summary-status,
435#headers-summary-version {
436 padding-bottom: 2px;
437}
438
439#headers-summary-size {
440 padding-top: 2px;
441}
442
e7c8bab1
RK
443#headers-summary-resend {
444 margin: 0 6px;
445/* min-height: 20px;*/
446}
447
8922acc9
RK
448#toggle-raw-headers {
449 margin-top: -10px;
450 -moz-margin-end: 6px;
451}
452
453.raw-response-textarea {
454 height: 50vh;
455}
456
cc7e70eb
RK
457/* Response tabpanel */
458
e2734cc7 459#response-content-info-header {
e2734cc7 460 margin: 0;
46e71434 461 padding: 3px 8px;
de5e780d
RK
462 background-color: var(--theme-highlight-red);
463 color: var(--theme-selection-color);
e2734cc7
RK
464}
465
cc7e70eb
RK
466#response-content-image-box {
467 padding-top: 10px;
468 padding-bottom: 10px;
469}
470
471#response-content-image {
472 background: #FFFFFF;
473 border: 1px dashed #A09090;
474 margin-bottom: 10px;
475}
476
c1d2ce3e
RK
477/* Preview tabpanel */
478
479#preview-tabpanel {
480 background: #fff;
481}
482
483#response-preview {
484 display: -moz-box;
485 -moz-box-flex: 1;
486}
487
cc7e70eb
RK
488/* Timings tabpanel */
489
490#timings-tabpanel .tabpanel-summary-label {
491 width: 10em;
492}
493
494#timings-tabpanel .requests-menu-timings-box {
495 transition: transform 0.2s ease-out;
496 min-width: 1px;
45dc7657 497 border: none;
cc7e70eb
RK
498}
499
500#timings-tabpanel .requests-menu-timings-total {
501 transition: transform 0.2s ease-out;
502}
f30073a6 503
20752032
RK
504/* Security tabpanel */
505
506.security-info-section {
507 -moz-padding-start: 1em;
508}
509
510#security-tabpanel {
511 overflow: auto;
512}
513
514#security-error-message {
515 white-space: pre-wrap;
516}
517
e7c8bab1
RK
518/* Custom request form */
519
520#custom-pane {
521 padding: 0.6em 0.5em;
522}
523
524.custom-header {
525 font-size: 1.1em;
526}
527
528.custom-section {
529 margin-top: 0.5em;
fe524e0c
RK
530}
531
532#custom-method-value {
533 width: 4.5em;
e7c8bab1
RK
534}
535
e2734cc7
RK
536/* Footer */
537
538#requests-menu-footer {
539 border-top: 1px solid #9C9CFF;
540 padding-top: 3px;
de5e780d 541 background-color: var(--theme-toolbar-background);
e2734cc7
RK
542}
543
544.requests-menu-footer-button,
545.requests-menu-footer-label {
546 min-width: 1em;
547 margin: 0;
548 -moz-margin-end: 3px;
549 border: none;
c1d2ce3e 550 padding: 0px 1vw;
de5e780d 551/* color: var(--theme-body-color);*/
e2734cc7
RK
552}
553
554.requests-menu-footer-spacer {
555 min-width: 2px;
556}
557
558.requests-menu-footer-spacer,
559.requests-menu-footer-button {
560}
561
562.requests-menu-footer-button {
563}
564
565.requests-menu-footer-button:hover {
566}
567
568.requests-menu-footer-button:hover:active {
569}
570
571.requests-menu-footer-button:not(:active)[checked] {
572}
573
574.requests-menu-footer-label {
575 font-weight: 600;
576}
577
46e71434
RK
578/* Performance analysis buttons */
579
580#requests-menu-network-summary-button {
dccbbf95 581 list-style-image: url("profiler-stopwatch.svg");
46e71434
RK
582 -moz-padding-end: 0;
583 cursor: pointer;
584}
585
586#requests-menu-network-summary-label {
587 -moz-padding-start: 0;
588 cursor: pointer;
589}
590
591#requests-menu-network-summary-label:hover {
592 text-decoration: underline;
593}
594
595/* Performance analysis view */
596
597#network-statistics-toolbar {
598 /* Make the toolbar invisible, it only hold the back button */
599 -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar");
600 background-color: #000000;
601}
602
603#network-statistics-back-button {
604 min-width: 4em;
605 min-height: 100vh;
606}
607
608#network-statistics-view-splitter {
609 cursor: default;
610 pointer-events: none;
611}
612
613#network-statistics-charts {
614 min-height: 1px;
de5e780d 615 background-color: var(--theme-toolbar-background);
46e71434
RK
616}
617
618#network-statistics-charts .pie-chart-container {
619 -moz-margin-start: 3vw;
620 -moz-margin-end: 1vw;
621}
622
623#network-statistics-charts .table-chart-container {
624 -moz-margin-start: 1vw;
625 -moz-margin-end: 3vw;
626}
627
b7f3670c 628.chart-colored-blob[name=html] {
de5e780d
RK
629 fill: var(--theme-highlight-bluegrey);
630 background: var(--theme-highlight-bluegrey);
46e71434
RK
631}
632
b7f3670c 633.chart-colored-blob[name=css] {
de5e780d
RK
634 fill: var(--theme-highlight-blue);
635 background: var(--theme-highlight-blue);
46e71434
RK
636}
637
b7f3670c 638.chart-colored-blob[name=js] {
de5e780d
RK
639 fill: var(--theme-highlight-lightorange);
640 background: var(--theme-highlight-lightorange);
46e71434
RK
641}
642
b7f3670c 643.chart-colored-blob[name=xhr] {
de5e780d
RK
644 fill: var(--theme-highlight-orange);
645 background: var(--theme-highlight-orange);
46e71434
RK
646}
647
b7f3670c 648.chart-colored-blob[name=fonts] {
de5e780d
RK
649 fill: var(--theme-highlight-darkpurple);
650 background: var(--theme-highlight-darkpurple);
46e71434
RK
651}
652
b7f3670c 653.chart-colored-blob[name=images] {
de5e780d
RK
654 fill: var(--theme-highlight-pink);
655 background: var(--theme-highlight-pink);
46e71434
RK
656}
657
b7f3670c 658.chart-colored-blob[name=media] {
de5e780d
RK
659 fill: var(--theme-highlight-green);
660 background: var(--theme-highlight-green);
46e71434
RK
661}
662
b7f3670c 663.chart-colored-blob[name=flash] {
de5e780d
RK
664 fill: var(--theme-highlight-red);
665 background: var(--theme-highlight-red);
46e71434
RK
666}
667
668.table-chart-row-label[name=cached] {
669 display: none;
670}
671
672.table-chart-row-label[name=count] {
673 width: 3em;
674 text-align: end;
675}
676
677.table-chart-row-label[name=label] {
678 width: 7em;
679}
680
681.table-chart-row-label[name=size] {
682 width: 7em;
683}
684
685.table-chart-row-label[name=time] {
686 width: 7em;
687}
688
f30073a6
RK
689/* Responsive sidebar */
690@media (max-width: 700px) {
691 #requests-menu-toolbar {
692 height: 24px;
693 }
694
695 .requests-menu-header-button {
45dc7657 696 min-height: 24px;
e2734cc7
RK
697 }
698
f30073a6 699 #details-pane {
f30073a6
RK
700 margin: 0 !important;
701 /* To prevent all the margin hacks to hide the sidebar. */
702 }
703
704 .requests-menu-status-and-method {
e2734cc7 705 width: 16vw;
f30073a6
RK
706 }
707
c1d2ce3e 708 .requests-menu-icon-and-file,
20752032 709 .requests-menu-security-and-domain {
f30073a6 710 width: 30vw;
f30073a6
RK
711 }
712
713 .requests-menu-type {
714 width: 8vw;
715 }
716
717 .requests-menu-size {
718 width: 16vw;
719 border-width: 0 !important;
720 box-shadow: none !important;
721 /* The "Timeline" header is not visible anymore, and thus the
722 right border and box-shadow of "Size" column should be hidden. */
723 }
724}
725
45dc7657 726/* === END netmonitor.inc.css === */