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