second part of syncing LCARStrek with Firefox 36 windows theme changes
[themes.git] / LCARStrek / browser / devtools / debugger.css
CommitLineData
9099c61d
RK
1/* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
eec397be
RK
4
5window {
6 padding: 0;
7}
8
45dc7657 9/* === BEGIN debugger.inc.css === */
eec397be 10
45dc7657 11/* Sources and breakpoints pane */
de57e474 12
dfa34f73
RK
13#sources-pane[selectedIndex="0"] + #sources-and-editor-splitter {
14 border-color: transparent;
eec397be
RK
15}
16
45dc7657
RK
17#sources-pane > tabs {
18 -moz-border-end: 1px solid #9C9CFF; /* Match the splitter color. */
19}
20
2a8b2b48
RK
21#sources-toolbar > .devtools-toolbarbutton,
22#sources-controls > .devtools-toolbarbutton {
6568957a
RK
23 min-width: 32px;
24}
25
2a8b2b48
RK
26#black-box {
27 list-style-image: url("debugger-blackbox.png");
28}
29
dccbbf95
RK
30@media (min-resolution: 2dppx) {
31 #black-box {
32 list-style-image: url(debugger-blackbox@2x.png);
33 }
34}
35
3a0880a9 36#pretty-print {
c1080df6
RK
37 list-style-image: url(debugger-prettyprint.png);
38}
39
40@media (min-resolution: 2dppx) {
41 #pretty-print {
42 list-style-image: url(debugger-prettyprint@2x.png);
43 }
3a0880a9
RK
44}
45
2a8b2b48
RK
46#toggle-breakpoints {
47 list-style-image: url("debugger-toggleBreakpoints.png");
48}
49
dccbbf95
RK
50@media (min-resolution: 2dppx) {
51 #toggle-breakpoints {
52 list-style-image: url(debugger-toggleBreakpoints@2x.png);
53 }
54}
55
2a8b2b48 56#sources-toolbar .devtools-toolbarbutton:not([label]) {
7600e0b1 57 -moz-image-region: rect(0px, 16px, 16px, 0px);
fe524e0c
RK
58}
59
2a8b2b48
RK
60#sources-toolbar .devtools-toolbarbutton:not([label]):hover {
61 -moz-image-region: rect(16px, 16px, 32px, 0px);
62}
63
64#sources-toolbar .devtools-toolbarbutton:not([label])[checked] {
7600e0b1 65 -moz-image-region: rect(0px, 32px, 16px, 16px);
fe524e0c
RK
66}
67
2a8b2b48
RK
68#sources-toolbar .devtools-toolbarbutton:not([label])[checked]:hover {
69 -moz-image-region: rect(16px, 32px, 32px, 16px);
70}
71
dccbbf95
RK
72@media (min-resolution: 2dppx) {
73 #sources-toolbar .devtools-toolbarbutton:not([label]) {
74 -moz-image-region: rect(0px,32px,32px,0px);
75 }
76
77 #sources-toolbar .devtools-toolbarbutton:not([label]):hover {
78 -moz-image-region: rect(32px,32px,64px,0px);
79 }
80
81 #sources-toolbar .devtools-toolbarbutton:not([label])[checked] {
82 -moz-image-region: rect(0px,64px,32px,32px);
83 }
84
85 #sources-toolbar .devtools-toolbarbutton:not([label])[checked]:hover {
86 -moz-image-region: rect(32px,64px,64px,32px);
87 }
88}
89
7600e0b1 90#sources .black-boxed {
1b13529a
RK
91 color: #8050B0;
92}
93
45dc7657
RK
94#sources .selected > .black-boxed {
95 color: #000000;
96}
97
7600e0b1 98#sources .black-boxed > .dbg-breakpoint {
fe524e0c
RK
99 display: none;
100}
101
7600e0b1 102#sources .black-boxed + .side-menu-widget-item-arrow:-moz-locale-dir(ltr) {
3a0880a9
RK
103 background-image: none;
104/* box-shadow: inset -1px 0 0 #222426; */
105}
106
7600e0b1 107#sources .black-boxed + .side-menu-widget-item-arrow:-moz-locale-dir(rtl) {
3a0880a9
RK
108 background-image: none;
109/* box-shadow: inset 1px 0 0 #222426; */
110}
111
3d64e0ce
RK
112/* Debugger unblackbox button */
113
114#black-boxed-message-button > .button-box > .button-icon {
115 width: 16px;
116 height: 16px;
117 background-image: url("debugger-blackbox.png");
832af407
RK
118 background-position: -16px -16px;
119 background-size: 32px 32px;
3d64e0ce
RK
120 background-repeat: no-repeat;
121 -moz-margin-end: 5px;
122}
123
124@media (min-resolution: 2dppx) {
125 #black-boxed-message-button > .button-box > .button-icon {
126 background-image: url("debugger-blackbox@2x.png");
127 }
128}
129
3a0880a9 130/* Black box message and source progress meter */
fe524e0c 131
3a0880a9
RK
132#black-boxed-message,
133#source-progress-container {
134 background-color: #A09090;
dfa34f73
RK
135 /* Prevent the container deck from aquiring the size from this message. */
136 min-width: 1px;
fe524e0c 137 min-height: 1px;
fe524e0c
RK
138 color: #000000;
139}
140
3a0880a9
RK
141#source-progress {
142 min-height: 2em;
143 min-width: 40em;
144}
145
fe524e0c
RK
146#black-boxed-message-label,
147#black-boxed-message-button {
148 text-align: center;
149 font-size: 120%;
150}
151
152#black-boxed-message-button {
153 margin-top: 1em;
154 padding: .25em;
155}
156
dfa34f73
RK
157/* Tracer */
158
159#trace {
160 list-style-image: url("tracer-icon.png");
161 -moz-image-region: rect(0px,16px,16px,0px);
162}
163
164#trace:hover,
165#trace[checked] {
166 -moz-image-region: rect(0px,32px,16px,16px);
167}
168
dccbbf95
RK
169@media (min-resolution: 2dppx) {
170 #trace {
171 list-style-image: url(tracer-icon@2x.png);
172 -moz-image-region: rect(0px,32px,32px,0px);
173 }
174
175 #trace:hover,
176 #trace[checked] {
177 -moz-image-region: rect(0px,64px,32px,32px);
178 }
179}
180
dfa34f73
RK
181#clear-tracer {
182 /* Make this button as narrow as the text inside it. */
183 min-width: 1px;
184}
185
dfa34f73
RK
186.trace-name {
187 -moz-padding-start: 4px !important;
188}
189
dfa34f73
RK
190/* Tracer dark+light theme */
191
dfa34f73
RK
192.trace-item {
193 color: #FF9F00; /* Light foreground text */
194}
195
a21f2959
RK
196.trace-item.black-boxed {
197 color: #A09090;
198}
199
dfa34f73
RK
200.trace-item.selected-matching {
201 background-color: #004242; /* Select highlight blue at 40% alpha */
202}
203
204.selected > .trace-item {
205 background-color: #004242; /* Select highlight blue at 75% alpha */
206}
207
208.trace-call {
209 color: #9C9CFF; /* highlight blue */
210}
211
212.trace-return,
213.trace-yield {
214 color: #008484; /* highlight green */
215}
216
217.trace-throw {
218 color: #FF0000; /* highlight red */
219}
220
221.trace-param {
222 color: #E7ADE7; /* Content text light */
223}
224
225.trace-syntax {
226 color: #A09090; /* highlight grey */
227}
228
de57e474
RK
229/* Breadcrumbs stack frames view */
230
231.breadcrumbs-widget-item {
232 max-width: none;
233}
eec397be 234
f7774352
RK
235#stackframes {
236 min-height: 25px;
237}
238
82b4252f 239.dbg-stackframe-details {
eec397be 240 -moz-padding-start: 4px;
eec397be
RK
241}
242
de57e474
RK
243/* Classic stack frames view */
244
245.dbg-classic-stackframe {
246 display: block;
45dc7657 247 padding: 0 4px;
de57e474
RK
248}
249
250.dbg-classic-stackframe-title {
eec397be 251 font-weight: 600;
de57e474
RK
252 color: #9C9CFF;
253}
254
255.dbg-classic-stackframe-details:-moz-locale-dir(ltr) {
256 float: right;
257}
258
259.dbg-classic-stackframe-details:-moz-locale-dir(rtl) {
260 float: left;
eec397be
RK
261}
262
de57e474
RK
263.dbg-classic-stackframe-details-url {
264 max-width: 90%;
265 text-align: end;
266 color: #3333FF;
267}
268
269.dbg-classic-stackframe-details-sep {
270 color: #A09090;
271}
272
273.dbg-classic-stackframe-details-line {
274 color: #9C9CFF;
275}
276
277#callstack-list .side-menu-widget-item.selected label {
278 color: #FFCF00;
990cba4b
RK
279}
280
82b4252f 281/* Sources and breakpoints view */
889649fd 282
82b4252f 283.dbg-breakpoint {
7600e0b1 284 -moz-margin-start: 4px;
990cba4b
RK
285}
286
82b4252f 287.dbg-breakpoint-line {
889649fd
RK
288 font-weight: 600;
289}
290
291.dbg-breakpoint-text {
82b4252f
RK
292 -moz-margin-start: 10px !important;
293 font-style: italic;
1b13529a
RK
294 font-size: 90%;
295}
296
297.dbg-breakpoint-checkbox {
298 width: 16px;
299 height: 16px;
300 margin: 2px;
990cba4b
RK
301}
302
d2ce251d
RK
303/* Variable bubble view */
304
305.devtools-tooltip-simple-text.token-undefined,
306.devtools-tooltip-simple-text.token-null {
307 text-align: center;
308 color: #A09090 !important; /* Override the theme's color. */
309}
310
311.devtools-tooltip-simple-text.token-boolean {
312 text-align: center;
313 color: #9C9CFF !important;
314}
315
316.devtools-tooltip-simple-text.token-number {
317 text-align: center;
318 color: #E7ADE7 !important;
319}
320
321.devtools-tooltip-simple-text.token-string {
322 text-align: start;
323 color: #008484 !important;
324}
325
326.devtools-tooltip-simple-text.token-other {
327 text-align: center;
328 color: #FF9F00 !important;
329}
330
3a0880a9
RK
331/* Instruments pane (watch expressions, variables, event listeners...) */
332
de57e474 333#instruments-pane .side-menu-widget-container,
45dc7657 334#instruments-pane .side-menu-widget-empty-text {
de57e474 335/* box-shadow: none !important; */
3a0880a9
RK
336}
337
82b4252f 338/* Watch expressions view */
990cba4b
RK
339
340#expressions {
990cba4b 341 min-height: 10px;
56ab361a 342 max-height: 125px;
990cba4b
RK
343}
344
345.dbg-expression {
346 height: 20px;
990cba4b
RK
347}
348
349.dbg-expression-arrow {
dccbbf95 350 background-image: url("commandline-icon.png");
ed88669c 351 background-position: -16px 0;
dccbbf95
RK
352 background-repeat: no-repeat;
353 background-size: 32px 16px;
b27cc46e 354 width: 16px;
dccbbf95 355 height: 16px;
45dc7657 356 margin: 2px;
dccbbf95
RK
357}
358
359@media (min-resolution: 2dppx) {
360 .dbg-expression-arrow {
361 background-image: url(commandline-icon@2x.png);
362 }
990cba4b
RK
363}
364
365.dbg-expression-input {
de57e474 366 color: inherit;
990cba4b
RK
367}
368
45dc7657
RK
369.dbg-expression-button {
370 border: none;
371 background: none;
45dc7657 372 text-decoration: underline;
dccbbf95 373 cursor: pointer;
45dc7657 374
45dc7657
RK
375 color: #9C9CFF; /* Blue highlight color */
376}
377
3a0880a9
RK
378/* Event listeners view */
379
380.dbg-event-listener {
45dc7657 381 padding: 0 8px;
3a0880a9
RK
382}
383
384.dbg-event-listener-type {
385 font-weight: 600;
386}
387
388.dbg-event-listener-separator {
389 color: #A09090;
390}
391
392.dbg-event-listener-targets {
393 color: #9C9CFF;
394}
395
396.dbg-event-listener-location {
397 color: #E7ADE7;
398}
399
de57e474
RK
400#event-listeners .side-menu-widget-item.selected {
401 background: none !important;
402}
403
82b4252f 404/* Searchbox and the search operations help panel */
56ab361a 405
d2ce251d 406#searchbox {
82b4252f
RK
407 min-width: 220px;
408 -moz-margin-start: 1px;
56ab361a
RK
409}
410
fe524e0c
RK
411#filter-label {
412 -moz-margin-start: 2px;
413}
414
415#searchbox-panel-operators {
416 margin-top: 5px;
82b4252f
RK
417 margin-bottom: 8px;
418 -moz-margin-start: 2px;
c29b709d
RK
419}
420
82b4252f
RK
421.searchbox-panel-operator-button {
422 min-width: 26px;
423 margin-top: 0;
424 margin-bottom: 0;
425 -moz-margin-start: 2px;
426 -moz-margin-end: 6px;
427 text-align: center;
56ab361a
RK
428}
429
82b4252f
RK
430.searchbox-panel-operator-label {
431 padding-bottom: 2px;
56ab361a
RK
432}
433
82b4252f 434/* Searchbox results panel */
56ab361a 435
82b4252f
RK
436.results-panel {
437 padding: 4px;
56ab361a
RK
438}
439
82b4252f
RK
440.results-panel-item {
441 border: 1px solid #A09090;
442 border-top-color: #8050B0;
443 padding: 5px;
56ab361a
RK
444 cursor: pointer;
445}
eec397be 446
82b4252f
RK
447.results-panel-item:first-of-type {
448 border-top-color: #9C9CFF;
449 border-radius: 4px 4px 0 0;
eec397be
RK
450}
451
82b4252f
RK
452.results-panel-item:last-of-type {
453 border-radius: 0 0 4px 4px;
b8384c33
RK
454}
455
82b4252f
RK
456.results-panel-item:only-of-type {
457 border-radius: 4px;
c29b709d
RK
458}
459
82b4252f
RK
460.results-panel-item:not(.selected):not(:hover) {
461/* text-shadow: 0 1px #fff;*/
85cfb236
RK
462}
463
45dc7657 464.results-panel-item-label-before {
82b4252f
RK
465 -moz-margin-end: 5px !important;
466 color: #A09090;
467 cursor: inherit;
56ab361a
RK
468}
469
45dc7657 470.results-panel-item-label {
82b4252f 471 color: #9C9CFF;
b8384c33 472 font-weight: 600;
82b4252f 473 cursor: inherit;
85cfb236
RK
474}
475
45dc7657 476.results-panel-item-label-below {
56ab361a 477 color: #FF9F00;
82b4252f 478 cursor: inherit;
56ab361a
RK
479}
480
82b4252f 481/* Sources search view */
eec397be 482
82b4252f
RK
483#globalsearch {
484 min-height: 10px;
82b4252f 485 max-height: 125px;
eec397be
RK
486}
487
82b4252f
RK
488#globalsearch + .devtools-horizontal-splitter {
489 -moz-border-top-colors: #9C9CFF;
56ab361a
RK
490}
491
82b4252f
RK
492.dbg-source-results {
493 padding: 0;
494 background: none !important;
eec397be
RK
495}
496
46e71434
RK
497.dbg-source-results:not(.selected):hover {
498 background-color: #000000; /* Sidebar background */
499}
500
82b4252f 501.dbg-results-header {
b8384c33 502 -moz-padding-start: 6px;
37953ab4
RK
503}
504
82b4252f 505.dbg-results-header-location {
990cba4b
RK
506 font-weight: 600;
507}
508
82b4252f
RK
509.dbg-results-header-match-count {
510 -moz-padding-start: 6px;
eec397be
RK
511 color: #8050B0;
512}
513
82b4252f
RK
514.dbg-results-line-number {
515 background: #000000;
516 min-width: 40px;
517 -moz-border-end: 1px solid #9C9CFF;
518 -moz-padding-end: 4px;
519 padding-top: 2px;
520 text-align: end;
eec397be
RK
521 color: #FF9F00;
522}
523
82b4252f
RK
524.dbg-results-line-contents {
525 -moz-padding-start: 4px;
526 padding-top: 1px;
527 padding-bottom: 1px;
eec397be
RK
528}
529
82b4252f
RK
530.dbg-results-line-contents-string {
531 padding: 1px;
eec397be
RK
532}
533
82b4252f
RK
534.dbg-results-line-contents-string[match=true] {
535 background: #E7ADE7;
536 color: #000000;
537 padding: 0;
538 border: 1px solid #9C9CFF;
539 border-radius: 4px;
540 cursor: pointer;
eec397be
RK
541}
542
82b4252f
RK
543.dbg-results-line-contents-string[match=true][focusing] {
544 transition: transform 0.3s ease-in-out;
eec397be
RK
545}
546
82b4252f
RK
547.dbg-results-line-contents-string[match=true][focused] {
548 transition-duration: 0.1s;
549 transform: scale(1.75, 1.75);
b8384c33
RK
550}
551
3a0880a9 552/* Toolbar controls */
5322a392 553
c29b709d 554#toggle-panes {
c29b709d
RK
555 list-style-image: url("chrome://browser/skin/devtools/debugger-expand.png");
556 -moz-image-region: rect(0px, 16px, 16px, 0px);
557}
558
b8384c33 559#toggle-panes:not([panesHidden]) {
c29b709d
RK
560 list-style-image: url("chrome://browser/skin/devtools/debugger-collapse.png");
561}
562
563#toggle-panes:hover,
564#toggle-panes:hover:active {
565 -moz-image-region: rect(0px, 32px, 16px, 16px);
566}
567
dccbbf95
RK
568#debugger-toolbar .devtools-toolbarbutton:not([label]) > .toolbarbutton-icon,
569#sources-toolbar .devtools-toolbarbutton:not([label]) > .toolbarbutton-icon {
570 width: 16px;
571 height: 16px;
572}
573
5322a392 574#resume {
3886293f 575 list-style-image: url("chrome://browser/skin/devtools/debugger-pause.png");
5322a392
RK
576 -moz-image-region: rect(0px, 16px, 16px, 0px);
577}
578
5322a392
RK
579#resume:hover {
580 -moz-image-region: rect(0px, 32px, 16px, 16px);
581}
582
3886293f 583#resume[checked=true] {
3886293f 584 list-style-image: url("chrome://browser/skin/devtools/debugger-play.png");
3886293f
RK
585}
586
dccbbf95
RK
587@media (min-resolution: 2dppx) {
588 #resume {
589 list-style-image: url(debugger-pause@2x.png);
590 -moz-image-region: rect(0px, 32px, 32px, 0px);
591 }
592
593 #resume:hover {
594 -moz-image-region: rect(0px, 64px, 32px, 32px);
595 }
596
597 #resume[checked=true] {
598 list-style-image: url(debugger-play@2x.png);
dccbbf95
RK
599 }
600}
601
3886293f
RK
602#resume ~ toolbarbutton {
603/* transition: opacity 0.15s ease-in-out; */
604}
605
606#resume:not([checked]) ~ toolbarbutton {
607/* opacity: 0.5; */
608}
609
5322a392
RK
610#step-over {
611 list-style-image: url("chrome://browser/skin/devtools/debugger-step-over.png");
612 -moz-image-region: rect(0px, 16px, 16px, 0px);
613}
614#step-over:hover {
615 -moz-image-region: rect(0px, 32px, 16px, 16px);
616}
617
618#step-in {
619 list-style-image: url("chrome://browser/skin/devtools/debugger-step-in.png");
620 -moz-image-region: rect(0px, 16px, 16px, 0px);
621}
622#step-in:hover {
623 -moz-image-region: rect(0px, 32px, 16px, 16px);
624}
625
626#step-out {
627 list-style-image: url("chrome://browser/skin/devtools/debugger-step-out.png");
628 -moz-image-region: rect(0px, 16px, 16px, 0px);
629}
630#step-out:hover {
631 -moz-image-region: rect(0px, 32px, 16px, 16px);
632}
633
dccbbf95
RK
634@media (min-resolution: 2dppx) {
635 #step-over {
636 list-style-image: url(debugger-step-over@2x.png);
637 -moz-image-region: rect(0px, 32px, 32px, 0);
638 }
639
640 #step-over:hover {
641 -moz-image-region: rect(0px, 64px, 32px, 32px);
642 }
643
644 #step-in {
645 list-style-image: url(debugger-step-in@2x.png);
646 -moz-image-region: rect(0px, 32px, 32px, 0);
647 }
648
649 #step-in:hover {
650 -moz-image-region: rect(0px, 64px, 32px, 32px);
651 }
652
653 #step-out {
654 list-style-image: url(debugger-step-out@2x.png);
655 -moz-image-region: rect(0px, 32px, 32px, 0);
656 }
657
658 #step-out:hover {
659 -moz-image-region: rect(0px, 64px, 32px, 32px);
660 }
661}
662
82b4252f 663#instruments-pane-toggle {
f7774352 664/* background: none;
82b4252f 665 box-shadow: none;
f7774352 666 border: none; */
ed1a91c6 667 list-style-image: url("chrome://browser/skin/devtools/debugger-collapse.png");
82b4252f
RK
668 -moz-image-region: rect(0px,16px,16px,0px);
669}
670
ed1a91c6
RK
671#instruments-pane-toggle[pane-collapsed] {
672 list-style-image: url("chrome://browser/skin/devtools/debugger-expand.png");
82b4252f
RK
673}
674
dccbbf95 675#instruments-pane-toggle:hover {
82b4252f
RK
676 -moz-image-region: rect(0px,32px,16px,16px);
677}
3a0880a9 678
dccbbf95
RK
679@media (min-resolution: 2dppx) {
680 #instruments-pane-toggle {
681 list-style-image: url(debugger-collapse@2x.png);
682 -moz-image-region: rect(0px,32px,32px,0px);
683 }
684
685 #instruments-pane-toggle[pane-collapsed] {
686 list-style-image: url(debugger-expand@2x.png);
687 }
688
689 #instruments-pane-toggle:hover {
690 -moz-image-region: rect(0px,64px,32px,32px);
691 }
692}
693
3a0880a9
RK
694/* Horizontal vs. vertical layout */
695
696#vertical-layout-panes-container {
697 min-height: 35vh;
698 max-height: 80vh;
699}
700
701#body[layout=vertical] #instruments-pane {
702 margin: 0 !important;
703 /* To prevent all the margin hacks to hide the sidebar. */
704}
705
de57e474
RK
706#body[layout=vertical] #sources-pane > tabs {
707 -moz-border-end: none;
708}
709
710#body[layout=vertical] .side-menu-widget-container,
45dc7657 711#body[layout=vertical] .side-menu-widget-empty-text {
3a0880a9
RK
712 box-shadow: none !important;
713}
714
715#body[layout=vertical] .side-menu-widget-item-arrow {
716 background-image: none !important;
717}
45dc7657
RK
718
719/* === END debugger.inc.css === */