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