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