second and final part of syncing LCARStrek with Firefox 49/50 devtools theme changes
[themes.git] / LCARStrek / devtools / debugger.css
CommitLineData
7d6161c5 1/* vim:set ts=2 sw=2 sts=2 et: */
9099c61d
RK
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/. */
eec397be
RK
5
6window {
7 padding: 0;
8}
9
45dc7657 10/* Sources and breakpoints pane */
de57e474 11
dfa34f73
RK
12#sources-pane[selectedIndex="0"] + #sources-and-editor-splitter {
13 border-color: transparent;
eec397be
RK
14}
15
45dc7657 16#sources-pane > tabs {
dae45075 17/* border-inline-end: 1px solid;*/
7d6161c5
RK
18}
19
20#sources-pane .devtools-toolbar {
21 border: none; /* Remove the devtools-toolbar bottom border. */
dae45075 22/* border-inline-end: 1px solid;*/
7d6161c5
RK
23}
24
25#sources-pane > tabs,
26#sources-pane .devtools-toolbar {
dae45075 27 border-inline-end-color: var(--theme-splitter-color);
45dc7657
RK
28}
29
7d6161c5
RK
30/* Sources and breakpoints list */
31
32.dbg-source-item {
33 padding: 2px 0px;
34}
35
36.dbg-wasm-item .icon {
37 display: block;
38 background-image: url(chrome://devtools/skin/images/webconsole.svg);
39 background-repeat: no-repeat;
40 background-size: 72px 60px;
41 /* show warning icon */
42 background-position: -24px -24px;
43 width: 10px;
44 height: 10px;
45 position: absolute;
46 margin-inline-start: -15px;
47 margin-top: 3px;
48}
49
50.dbg-breakpoint-line {
51 font-weight: 600;
52}
53
54.dbg-breakpoint-text {
dae45075 55 padding-inline-start: 6px;
7d6161c5
RK
56 font-style: italic;
57 font-size: 90%;
58}
59
60.dbg-breakpoint-checkbox {
61 width: 16px;
62 height: 16px;
63 margin: 2px;
64}
65
05148fed
RK
66.dbg-breakpoint-condition-thrown-message {
67 display: none;
68 color: var(--theme-highlight-red);
69}
70
71.dbg-breakpoint.dbg-breakpoint-condition-thrown .dbg-breakpoint-condition-thrown-message {
72 display: block;
dae45075 73 padding-inline-start: 0;
05148fed
RK
74}
75
76/* Sources toolbar */
77
2a8b2b48
RK
78#sources-toolbar > .devtools-toolbarbutton,
79#sources-controls > .devtools-toolbarbutton {
7d6161c5 80 min-width: 16px;
6568957a
RK
81}
82
2a8b2b48 83#black-box {
1ad21b1f 84 list-style-image: url("images/debugger-blackbox.svg");
dccbbf95
RK
85}
86
3a0880a9 87#pretty-print {
1ad21b1f 88 list-style-image: url("images/debugger-prettyprint.svg");
3a0880a9
RK
89}
90
2a8b2b48 91#toggle-breakpoints {
d0a8de80 92 list-style-image: url(images/debugger-toggleBreakpoints.svg);
1ad21b1f 93 -moz-image-region: rect(0,32px,16px,16px);
fe524e0c
RK
94}
95
d0a8de80 96#toggle-breakpoints[checked] {
1ad21b1f 97 -moz-image-region: rect(0,16px,16px,0);
dadba0f2 98}
dccbbf95 99
7d6161c5
RK
100#toggle-breakpoints[checked] > image {
101 /* This button has a special checked image, don't make it blue */
102 filter: none;
103}
104
dadba0f2
RK
105#toggle-promise-debugger {
106 /* TODO Bug 1186119: Add a toggle promise debugger image */
dccbbf95
RK
107}
108
7600e0b1 109#sources .black-boxed {
1b13529a
RK
110 color: #8050B0;
111}
112
b3bf08b1 113#sources .selected .black-boxed {
45dc7657
RK
114 color: #000000;
115}
116
b3bf08b1 117#sources .black-boxed ~ .dbg-breakpoint {
fe524e0c
RK
118 display: none;
119}
120
3d64e0ce
RK
121/* Debugger unblackbox button */
122
123#black-boxed-message-button > .button-box > .button-icon {
124 width: 16px;
125 height: 16px;
1ad21b1f 126 background-image: url("images/debugger-blackbox.svg");
7d6161c5 127 background-position: 0 0;
1ad21b1f 128 background-size: cover;
3d64e0ce
RK
129}
130
3a0880a9 131/* Black box message and source progress meter */
fe524e0c 132
3a0880a9
RK
133#black-boxed-message,
134#source-progress-container {
135 background-color: #A09090;
dfa34f73
RK
136 /* Prevent the container deck from aquiring the size from this message. */
137 min-width: 1px;
fe524e0c 138 min-height: 1px;
fe524e0c
RK
139 color: #000000;
140}
141
3a0880a9
RK
142#source-progress {
143 min-height: 2em;
144 min-width: 40em;
145}
146
fe524e0c
RK
147#black-boxed-message-label,
148#black-boxed-message-button {
149 text-align: center;
150 font-size: 120%;
151}
152
153#black-boxed-message-button {
154 margin-top: 1em;
155 padding: .25em;
156}
157
de57e474
RK
158/* Breadcrumbs stack frames view */
159
82b4252f 160.dbg-stackframe-details {
dae45075 161 padding-inline-start: 4px;
eec397be
RK
162}
163
de57e474
RK
164/* Classic stack frames view */
165
166.dbg-classic-stackframe {
167 display: block;
de57e474
RK
168}
169
170.dbg-classic-stackframe-title {
eec397be 171 font-weight: 600;
de57e474
RK
172}
173
174.dbg-classic-stackframe-details:-moz-locale-dir(ltr) {
175 float: right;
176}
177
178.dbg-classic-stackframe-details:-moz-locale-dir(rtl) {
179 float: left;
eec397be
RK
180}
181
de57e474
RK
182.dbg-classic-stackframe-details-url {
183 max-width: 90%;
184 text-align: end;
7d6161c5
RK
185}
186
187.dbg-classic-stackframe-details-url {
188 color: var(--theme-content-color1);
de57e474
RK
189}
190
191.dbg-classic-stackframe-details-sep {
de5e780d 192 color: var(--theme-body-color-alt)
de57e474
RK
193}
194
195.dbg-classic-stackframe-details-line {
7d6161c5 196 color: var(--theme-highlight-bluegrey);
de57e474
RK
197}
198
7d6161c5
RK
199#callstack-list .selected label {
200 /* Text inside a selected item should not be custom colored. */
201 color: inherit !important;
990cba4b
RK
202}
203
7d6161c5 204/* Tracer */
889649fd 205
7d6161c5
RK
206#trace {
207 list-style-image: url("images/tracer-icon.png");
990cba4b
RK
208}
209
7d6161c5
RK
210@media (min-resolution: 1.1dppx) {
211 #trace {
212 list-style-image: url("images/tracer-icon@2x.png");
213 }
889649fd
RK
214}
215
7d6161c5
RK
216#clear-tracer {
217 /* Make this button as narrow as the text inside it. */
218 min-width: 1px;
1b13529a
RK
219}
220
7d6161c5 221.trace-name {
dae45075 222 padding-inline-start: 4px;
990cba4b
RK
223}
224
7d6161c5 225/* Tracer dark+light theme */
d2ce251d 226
7d6161c5
RK
227.trace-item {
228 color: var(--theme-content-color1);
d2ce251d
RK
229}
230
7d6161c5
RK
231.trace-item.black-boxed {
232 color: #A09090;
d2ce251d
RK
233}
234
7d6161c5
RK
235.trace-item.selected-matching {
236 background-color: #004242; /* Select highlight blue at 40% alpha */
d2ce251d
RK
237}
238
7d6161c5
RK
239.selected > .trace-item {
240 background-color: #004242; /* Select highlight blue at 75% alpha */
d2ce251d
RK
241}
242
7d6161c5
RK
243.trace-call {
244 color: var(--theme-highlight-blue);
d2ce251d
RK
245}
246
7d6161c5
RK
247.trace-return,
248.trace-yield {
249 color: var(--theme-highlight-green);
250}
3a0880a9 251
7d6161c5
RK
252.trace-throw {
253 color: var(--theme-highlight-red);
254}
255
256.trace-param {
257 color: var(--theme-highlight-pink);
258}
259
260.trace-syntax {
261 color: var(--theme-content-color2);
3a0880a9
RK
262}
263
82b4252f 264/* Watch expressions view */
990cba4b
RK
265
266#expressions {
990cba4b 267 min-height: 10px;
56ab361a 268 max-height: 125px;
990cba4b
RK
269}
270
271.dbg-expression {
272 height: 20px;
990cba4b
RK
273}
274
275.dbg-expression-arrow {
6f751fd1 276 background-image: var(--theme-command-line-image-focus);
b27cc46e 277 width: 16px;
dccbbf95 278 height: 16px;
45dc7657 279 margin: 2px;
dccbbf95
RK
280}
281
990cba4b 282.dbg-expression-input {
de57e474 283 color: inherit;
990cba4b
RK
284}
285
45dc7657
RK
286.dbg-expression-button {
287 border: none;
288 background: none;
45dc7657 289 text-decoration: underline;
dccbbf95 290 cursor: pointer;
de5e780d 291 color: var(--theme-highlight-blue);
45dc7657
RK
292}
293
3a0880a9
RK
294/* Event listeners view */
295
3a0880a9
RK
296.dbg-event-listener-type {
297 font-weight: 600;
298}
299
7d6161c5
RK
300.dbg-event-listener-location {
301 color: var(--theme-highlight-pink);
302}
303
3a0880a9 304.dbg-event-listener-separator {
de5e780d 305 color: var(--theme-body-color-alt);
3a0880a9
RK
306}
307
308.dbg-event-listener-targets {
de5e780d 309 color: var(--theme-highlight-blue);
3a0880a9
RK
310}
311
7d6161c5
RK
312#event-listeners .selected {
313 /* Selected items shouldn't be displayed differently. */
314 background: none;
315 color: var(--theme-content-color1);
de57e474
RK
316}
317
82b4252f 318/* Searchbox and the search operations help panel */
56ab361a 319
d2ce251d 320#searchbox {
82b4252f 321 min-width: 220px;
dae45075 322 margin-inline-start: 1px;
56ab361a
RK
323}
324
fe524e0c 325#filter-label {
dae45075 326 margin-inline-start: 2px;
fe524e0c
RK
327}
328
329#searchbox-panel-operators {
330 margin-top: 5px;
82b4252f 331 margin-bottom: 8px;
dae45075 332 margin-inline-start: 2px;
c29b709d
RK
333}
334
82b4252f
RK
335.searchbox-panel-operator-button {
336 min-width: 26px;
337 margin-top: 0;
338 margin-bottom: 0;
dae45075
RK
339 margin-inline-start: 2px;
340 margin-inline-end: 6px;
82b4252f 341 text-align: center;
56ab361a
RK
342}
343
82b4252f
RK
344.searchbox-panel-operator-label {
345 padding-bottom: 2px;
56ab361a
RK
346}
347
82b4252f 348/* Searchbox results panel */
56ab361a 349
7d6161c5
RK
350#results-panel {
351 border: none;
56ab361a
RK
352}
353
82b4252f 354.results-panel-item {
7d6161c5
RK
355 padding: 6px 8px;
356 border-top: 1px solid #A09090;
56ab361a 357}
eec397be 358
82b4252f 359.results-panel-item:first-of-type {
7d6161c5 360 border-top: none;
82b4252f 361 border-radius: 4px 4px 0 0;
eec397be
RK
362}
363
82b4252f
RK
364.results-panel-item:last-of-type {
365 border-radius: 0 0 4px 4px;
b8384c33
RK
366}
367
82b4252f
RK
368.results-panel-item:only-of-type {
369 border-radius: 4px;
c29b709d
RK
370}
371
7d6161c5
RK
372.results-panel-item-label {
373 font-weight: 600;
85cfb236
RK
374}
375
45dc7657 376.results-panel-item-label-before {
dae45075 377 padding-inline-end: 6px;
56ab361a
RK
378}
379
45dc7657 380.results-panel-item-label {
de5e780d 381 color: var(--theme-highlight-blue);
7d6161c5
RK
382}
383
384.results-panel-item-label-before {
385 color: var(--theme-content-color2);
85cfb236
RK
386}
387
45dc7657 388.results-panel-item-label-below {
de5e780d 389 color: var(--theme-content-color3);
7d6161c5
RK
390}
391
392#results-panel .selected label {
393 /* Text inside a selected item should not be custom colored. */
394 color: inherit !important;
56ab361a
RK
395}
396
82b4252f 397/* Sources search view */
eec397be 398
82b4252f
RK
399#globalsearch {
400 min-height: 10px;
7d6161c5 401 max-height: 50vh;
eec397be
RK
402}
403
82b4252f 404#globalsearch + .devtools-horizontal-splitter {
7d6161c5 405 -moz-border-top-colors: var(--theme-splitter-color);
56ab361a
RK
406}
407
82b4252f
RK
408.dbg-source-results {
409 padding: 0;
410 background: none !important;
eec397be
RK
411}
412
46e71434 413.dbg-source-results:not(.selected):hover {
7d6161c5 414 background-color: var(--theme-sidebar-background);
46e71434
RK
415}
416
82b4252f 417.dbg-results-header {
dae45075 418 padding-inline-start: 6px;
37953ab4
RK
419}
420
82b4252f 421.dbg-results-header-location {
990cba4b
RK
422 font-weight: 600;
423}
424
82b4252f 425.dbg-results-header-match-count {
dae45075 426 padding-inline-start: 6px;
7d6161c5 427 color: var(--theme-body-color-inactive);
eec397be
RK
428}
429
82b4252f 430.dbg-results-line-number {
7d6161c5 431 min-width: 3em;
dae45075
RK
432 border-inline-end: 1px solid #9C9CFF;
433 padding-inline-end: 4px;
82b4252f 434 text-align: end;
eec397be
RK
435}
436
82b4252f 437.dbg-results-line-contents {
dae45075 438 padding-inline-start: 4px;
eec397be
RK
439}
440
82b4252f
RK
441.dbg-results-line-contents-string[match=true] {
442 background: #E7ADE7;
de5e780d 443 color: var(--theme-selection-color);
82b4252f
RK
444 border: 1px solid #9C9CFF;
445 border-radius: 4px;
7d6161c5
RK
446 margin-top: -1px !important;
447 margin-bottom: -1px !important;
82b4252f 448 cursor: pointer;
eec397be
RK
449}
450
82b4252f
RK
451.dbg-results-line-contents-string[match=true][focusing] {
452 transition: transform 0.3s ease-in-out;
eec397be
RK
453}
454
82b4252f
RK
455.dbg-results-line-contents-string[match=true][focused] {
456 transition-duration: 0.1s;
457 transform: scale(1.75, 1.75);
b8384c33
RK
458}
459
7d6161c5
RK
460.dbg-source-results:not(.selected):hover {
461 background-color: var(--theme-sidebar-background);
462}
5322a392 463
7d6161c5
RK
464.dbg-results-header {
465 background-color: var(--theme-tab-toolbar-background);
c29b709d
RK
466}
467
7d6161c5
RK
468.dbg-results-header {
469 color: var(--theme-content-color1);
c29b709d
RK
470}
471
7d6161c5
RK
472.dbg-search-result:hover {
473 background-color: #004242; /* Select highlight blue at 40% alpha */
c29b709d
RK
474}
475
7d6161c5
RK
476.dbg-results-header-match-count {
477 color: var(--theme-content-color3);
478}
479
480.dbg-results-line-number {
481 background-color: var(--theme-tab-toolbar-background);
482 color: var(--theme-body-color-alt);
5322a392
RK
483}
484
7d6161c5
RK
485.dbg-results-line-contents-string {
486 color: var(--theme-body-color-alt);
5322a392
RK
487}
488
7d6161c5
RK
489.theme-dark .dbg-results-line-contents-string[match=true] {
490 color: var(--theme-selection-color);
491}
492
493.theme-light .dbg-results-line-contents-string[match=true] {
494 color: var(--theme-body-color);
495}
496
497/* Toolbar controls */
498
499#resume {
1ad21b1f 500 list-style-image: url(images/pause.svg);
7d6161c5
RK
501}
502
503#resume[checked] {
1ad21b1f 504 list-style-image: url(images/play.svg);
dccbbf95
RK
505}
506
e9fbfc3a
RK
507#resume[break-on-next] {
508 background: var(--theme-highlight-lightorange);
3886293f
RK
509}
510
5322a392 511#step-over {
1ad21b1f 512 list-style-image: url(images/debugger-step-over.svg);
5322a392
RK
513}
514
515#step-in {
1ad21b1f 516 list-style-image: url(images/debugger-step-in.svg);
5322a392
RK
517}
518
519#step-out {
1ad21b1f 520 list-style-image: url(images/debugger-step-out.svg);
dccbbf95
RK
521}
522
82b4252f 523#instruments-pane-toggle {
7d6161c5 524 list-style-image: var(--theme-pane-collapse-image);
82b4252f
RK
525}
526
ed1a91c6 527#instruments-pane-toggle[pane-collapsed] {
7d6161c5 528 list-style-image: var(--theme-pane-expand-image);
dccbbf95
RK
529}
530
3a0880a9
RK
531/* Horizontal vs. vertical layout */
532
533#vertical-layout-panes-container {
534 min-height: 35vh;
535 max-height: 80vh;
536}
537
7d6161c5 538#body[layout=vertical] #sources-pane > tabs {
dae45075 539 border-inline-end: none;
7d6161c5
RK
540}
541
3a0880a9
RK
542#body[layout=vertical] #instruments-pane {
543 margin: 0 !important;
544 /* To prevent all the margin hacks to hide the sidebar. */
545}
546
de57e474 547#body[layout=vertical] .side-menu-widget-container,
45dc7657 548#body[layout=vertical] .side-menu-widget-empty-text {
3a0880a9
RK
549 box-shadow: none !important;
550}
551
552#body[layout=vertical] .side-menu-widget-item-arrow {
553 background-image: none !important;
554}
45dc7657 555
7d6161c5
RK
556#body[layout=vertical] .side-menu-widget-group,
557#body[layout=vertical] .side-menu-widget-item {
dae45075 558 margin-inline-end: 0;
7d6161c5 559}