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