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