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