complete sync of LCARStrek with browser winstripe changes in Firefox 21 cycle
[themes.git] / LCARStrek / browser / devtools / debugger.css
CommitLineData
eec397be
RK
1/* -*- Mode: javascript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2/* vim: set ft=javascript ts=2 et sw=2 tw=80: */
9099c61d
RK
3/* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
eec397be
RK
6
7window {
8 padding: 0;
9}
10
11#body {
7bc075b6 12 background-color: #000000;
eec397be
RK
13}
14
eec397be
RK
15/**
16 * Debugger content
17 */
18
b8384c33 19#chrome-globals, #sources {
0142a07b 20 width: 200px;
37953ab4
RK
21}
22
889649fd
RK
23/**
24 * This hardcoded width likely due to a toolkit Windows specific bug.
25 * See http://hg.mozilla.org/mozilla-central/annotate/f38d6df93cad/toolkit/themes/winstripe/global/textbox-aero.css#l7
26 */
b8384c33 27#searchbox {
889649fd
RK
28 width: 200px;
29}
30
eec397be
RK
31/**
32 * Lists and headers
33 */
34
35.list-item {
36 padding: 2px;
eec397be
RK
37}
38
889649fd
RK
39.list-item:not(.selected):not(.empty):hover {
40 /* background: #cddae5; */
41}
42
eec397be
RK
43.list-item.selected {
44 background: #008484;
45 color: #FFCF00;
46}
47
48.list-item.empty {
49 color: #8050B0;
889649fd 50 /* padding: 4px; */
eec397be
RK
51}
52
53/**
b8384c33 54 * Sources searching
c29b709d
RK
55 */
56
57#globalsearch {
58 background-color: #000000;
0142a07b
RK
59 min-height: 10px;
60}
61
62#globalsearch > vbox:not(:empty) {
63 min-height: 10px;
c29b709d
RK
64 max-height: 150px;
65}
66
b8384c33 67.dbg-source-results:not(:last-child) {
c29b709d
RK
68 border-bottom: 1px dotted #9C9CFF;
69}
70
71.dbg-results-header {
72 -moz-padding-start: 6px;
73}
74
b8384c33 75.dbg-results-header .location {
c29b709d
RK
76 font-weight: 600;
77}
78
79.dbg-results-header .match-count {
80 -moz-padding-start: 6px;
b8384c33 81 color: #8050B0;
c29b709d
RK
82}
83
84.dbg-results-container .line-number {
85 background: #000000;
b8384c33 86 min-width: 40px;
c29b709d
RK
87 -moz-padding-end: 4px;
88 -moz-border-end: 1px dotted #9C9CFF;
89 text-align: end;
90 font: 8pt monospace;
b8384c33 91 color: #FF9F00;
c29b709d
RK
92}
93
94.dbg-results-container .line-contents {
95 -moz-padding-start: 4px;
96 font: 8pt monospace;
97}
98
99.dbg-results-container .line-contents:hover {
100 background: #000000;
101}
102
103.dbg-results-container .line-contents > .string {
104 padding: 1px;
105}
106
107.dbg-results-container .line-contents > .string[match=true] {
108 background: #E7ADE7;
109 color: #000000;
110 padding: 0;
111 border: 1px solid #9C9CFF;
112 border-radius: 4px;
113 cursor: pointer;
b8384c33 114 transition: transform 0.25s ease-in-out;
c29b709d
RK
115}
116
117.dbg-results-container .line-contents > .string[match=true][focused] {
118 transition-duration: 0.1s;
119 transform: scale(1.75, 1.75);
120}
121
0142a07b
RK
122/**
123 * Searchbox panel
124 */
125
b8384c33
RK
126#searchbox-panel .description {
127 margin: -6px 0 8px;
7bc075b6
RK
128}
129
b8384c33 130#searchbox-panel button.operator {
7bc075b6
RK
131 min-width: 0;
132 margin: 0;
133 padding: 0;
134 font: 9pt "Liberation Mono", Consolas, "Courier New", monospace;
135}
136
b8384c33 137#searchbox-panel label.operator {
7bc075b6
RK
138 -moz-padding-start: 6px;
139 padding-bottom: 1px;
140}
141
0142a07b
RK
142/**
143 * Filtered sources panel
144 */
145
146#filtered-sources-panel {
147 padding: 4px;
148}
149
150.dbg-source-item {
151 border: 1px solid #A09090;
152 border-top-color: #8050B0;
153}
154
155.dbg-source-item.selected {
156}
157
158.dbg-source-item:first-of-type {
159 border-top-color: #9C9CFF;
160 border-radius: 4px 4px 0 0;
161}
162
163.dbg-source-item:last-of-type {
164 border-radius: 0 0 4px 4px;
165}
166
167.dbg-source-item:only-of-type {
168 border-radius: 4px 4px 4px 4px;
169}
170
171.dbg-source-item:not(:hover) {
172/* text-shadow: 0 1px #fff;*/
173}
174
175.dbg-source-item-name {
176 color: #9C9CFF;
177 font-weight: 600;
178}
179
180.dbg-source-item-details {
181 color: #FF9F00;
182}
183
c29b709d 184/**
b8384c33 185 * Stack frames and breakpoints pane
c29b709d
RK
186 */
187
188#stackframes\+breakpoints {
c29b709d
RK
189 min-width: 50px;
190}
191
192#stackframes\+breakpoints[animated] {
b8384c33 193 transition: margin 0.25s ease-in-out;
c29b709d
RK
194}
195
990cba4b
RK
196/**
197 * Variables and watch expressions pane
198 */
199
200#variables\+expressions {
990cba4b
RK
201 min-width: 50px;
202}
203
204#variables\+expressions[animated] {
205 transition: margin 0.25s ease-in-out;
206}
207
c29b709d
RK
208/**
209 * Stack frames view
eec397be
RK
210 */
211
212#stackframes {
990cba4b 213 min-height: 10px;
eec397be
RK
214}
215
216.dbg-stackframe {
217 -moz-padding-start: 4px;
218 -moz-padding-end: 4px;
219}
220
221.dbg-stackframe-name {
222 font-weight: 600;
223}
224
990cba4b
RK
225.dbg-stackframe-details {
226 -moz-padding-start: 4px;
227}
228
889649fd
RK
229/**
230 * Breakpoints view
231 */
232
233#breakpoints {
990cba4b
RK
234 min-height: 10px;
235}
236
237#breakpoints > vbox:not(:empty) {
238 min-height: 10px;
239 max-height: 200px;
240}
241
242.dbg-breakpoint:not(:last-child) {
243 border-bottom: 1px solid #008484;
889649fd
RK
244}
245
246.dbg-breakpoint-info {
247 font-weight: 600;
248}
249
250.dbg-breakpoint-text {
251 font: 12px "Liberation Mono", Consolas, "Courier New", monospace;
252}
253
990cba4b
RK
254#conditional-breakpoint-panel .description {
255 margin: -6px 0 8px 0;
256}
257
258#conditional-breakpoint-panel textbox {
259 margin: 0 0 -2px 0;
260}
261
262/**
263 * Watch expressions view
264 */
265
266#expressions {
990cba4b 267 min-height: 10px;
56ab361a 268 max-height: 125px;
990cba4b
RK
269}
270
271.dbg-expression {
272 height: 20px;
273 -moz-padding-start: 8px;
274}
275
276.dbg-expression-arrow {
277 width: 10px;
278 height: auto;
279 background: url("chrome://browser/skin/devtools/commandline.png") 0px 4px no-repeat;
280}
281
282.dbg-expression-input {
283 font: 9pt monospace;
284}
285
286.dbg-expression-delete {
56ab361a
RK
287 opacity: 0;
288}
289
290.dbg-expression-delete:not(:hover) {
990cba4b
RK
291 -moz-image-region: rect(0, 32px, 16px, 16px);
292}
293
56ab361a
RK
294.dbg-expression-delete:hover {
295 opacity: 1;
296}
297
298.dbg-expression:hover > .dbg-expression-delete:not(:hover) {
299 opacity: 0.5;
300 transition: opacity 0.2s ease-in-out;
301}
302
eec397be 303/**
b8384c33 304 * Variables view
eec397be
RK
305 */
306
307#variables {
990cba4b 308 min-height: 10px;
c29b709d
RK
309}
310
56ab361a
RK
311.dbg-variable-delete {
312 opacity: 0;
313}
314
315.dbg-variable-delete:not(:hover) {
990cba4b 316 -moz-image-region: rect(0, 32px, 16px, 16px);
56ab361a
RK
317}
318
319.dbg-variable-delete:hover {
320 opacity: 1;
321}
322
323.variable-or-property:hover > .title > .dbg-variable-delete:not(:hover),
324.variable-or-property:focus > .title > .dbg-variable-delete:not(:hover) {
990cba4b 325 opacity: 0.5;
56ab361a
RK
326 transition: opacity 0.2s ease-in-out;
327}
328
329.dbg-variable-edit {
330 background: url("chrome://browser/skin/tabview/edit-light.png") center no-repeat;
331 width: 20px;
332 height: 16px;
333 cursor: pointer;
334}
335.dbg-variable-throbber {
336 background: url("chrome://global/skin/icons/loading.gif") center no-repeat;
337 width: 16px;
338 height: 16px;
eec397be
RK
339}
340
341/**
342 * Scope element
343 */
344
56ab361a
RK
345.scope:focus > .title {
346 background: #008484;
347 color: #000000;
348}
349
eec397be 350.scope > .title {
eec397be
RK
351 background: #E7ADE7;
352 border-radius: 5px;
353 color: #000000;
354}
355
eec397be
RK
356.scope > .details {
357 -moz-margin-start: 2px;
358 -moz-margin-end: 2px;
359}
360
b8384c33
RK
361.scope > .details.nonenum:not(:empty) {
362 border-top: 1px solid #9C9CFF;
363}
364
eec397be
RK
365/**
366 * Variable element
367 */
368
369.variable {
370 -moz-margin-start: 1px;
371 -moz-margin-end: 1px;
990cba4b 372 border-bottom: 1px solid #008484;
990cba4b 373 transition: background 1s ease-in-out;
c29b709d
RK
374}
375
85cfb236 376.variable[changed] {
85cfb236 377 background: #FFCF00;
990cba4b 378 transition-duration: 0.4s;
85cfb236
RK
379}
380
56ab361a
RK
381.scope:focus > .title {
382 background: #008484;
383 color: #000000;
384 border-radius: 4px;
385}
386
b8384c33 387.variable > .title > .name {
b8384c33 388 font-weight: 600;
85cfb236
RK
389}
390
56ab361a
RK
391.variable:not(:focus) > .title > .name {
392 color: #FF9F00;
393}
394
b8384c33
RK
395.variable > .title > .value {
396 -moz-padding-start: 6px;
990cba4b 397 -moz-padding-end: 4px;
eec397be
RK
398}
399
56ab361a
RK
400.variable[editable] > .title > .value {
401 cursor: text;
402}
403
b8384c33
RK
404.variable:not([non-header]) > .details {
405 -moz-margin-start: 10px;
eec397be
RK
406}
407
408/**
409 * Property element
410 */
411
b8384c33
RK
412.property {
413 transition: background 1s ease-in-out;
b8384c33
RK
414 border-radius: 8px;
415}
416
417.property[changed] {
418 transition-duration: 0.4s;
419 background: rgba(255, 207, 0, 0.8);
eec397be
RK
420}
421
56ab361a
RK
422.property:focus > .title {
423 background: #008484;
424 color: #000000;
425 border-radius: 4px;
426}
427
428.property:not(:focus) > .title > .name {
85cfb236 429 color: #E7ADE7;
eec397be
RK
430}
431
b8384c33
RK
432.property > .title > .value {
433 -moz-padding-start: 6px;
990cba4b 434 -moz-padding-end: 4px;
56ab361a
RK
435}
436
437.property[editable] > .title > .value {
438 cursor: text;
b8384c33
RK
439}
440
441.property:not([non-header]) > .details {
442 -moz-margin-start: 10px;
443}
444
eec397be 445/**
56ab361a 446 * Non enumerable, configurable and writable variables and properties
37953ab4
RK
447 */
448
b8384c33
RK
449.variable[proto] > .title > .name,
450.property[proto] > .title > .name,
451.variable[non-enumerable]:not([self]):not([exception]) > .title > .name,
452.property[non-enumerable]:not([self]):not([exception]) > .title > .name {
37953ab4
RK
453 opacity: 0.5;
454}
455
456.variable[non-configurable] > .title > .name,
b8384c33 457.property[non-configurable] > .title > .name {
37953ab4
RK
458 border-bottom: 1px dashed #9C9CFF;
459}
460
b8384c33
RK
461.variable[non-configurable][non-writable] > .title > .name,
462.property[non-configurable][non-writable] > .title > .name {
37953ab4
RK
463 border-bottom: 1px dashed #FF0000;
464}
465
466.variable[non-writable] > .title:after,
467.property[non-writable] > .title:after {
468 content: " ";
469 display: inline-block;
470 width: 16px;
471 height: 16px;
472 background: url("chrome://browser/skin/identity-icons-https.png") no-repeat;
473 opacity: 0.5;
474}
475
b8384c33
RK
476/*
477@media (min-resolution: 2dppx) {
478 .variable[non-writable] > .title:after,
479 .property[non-writable] > .title:after {
480 background-image: url("chrome://browser/skin/identity-icons-https@2x.png");
481 background-size: 32px;
482 }
483}
484*/
485
56ab361a
RK
486.variable[exception]:not(:focus) > .title > .name,
487.property[exception]:not(:focus) > .title > .name {
b8384c33
RK
488 color: #FF0000;
489}
490
491.variable > tooltip > label,
492.property > tooltip > label {
889649fd
RK
493 margin: 0 2px 0 2px;
494}
495
b8384c33
RK
496.variable[non-enumerable] > tooltip > label[value="enumerable"],
497.property[non-enumerable] > tooltip > label[value="enumerable"],
498.variable[non-configurable] > tooltip > label[value="configurable"],
499.property[non-configurable] > tooltip > label[value="configurable"],
500.variable[non-writable] > tooltip > label[value="writable"],
501.property[non-writable] > tooltip > label[value="writable"] {
889649fd
RK
502 text-decoration: line-through;
503}
504
990cba4b
RK
505/**
506 * Variables and properties editing
507 */
508
56ab361a
RK
509.element-value-input {
510 -moz-margin-start: 4px !important;
990cba4b
RK
511}
512
56ab361a
RK
513.element-name-input {
514 -moz-margin-start: -2px !important;
990cba4b
RK
515 color: #E7ADE7;
516 font-weight: 600;
517}
518
56ab361a
RK
519.element-value-input,
520.element-name-input {
521 max-width: 30em;
522 border: 1px solid #9C9CFF !important;
523}
524
37953ab4 525/**
b8384c33
RK
526 * Variables and properties searching
527 */
528
0142a07b 529.variables-searchinput.devtools-searchinput {
b8384c33
RK
530 min-height: 24px;
531}
532
533.variable[non-match],
534.property[non-match] {
535 border: none;
536 margin: 0;
537}
538
539/**
540 * Token value colors
eec397be
RK
541 */
542
56ab361a 543.variable-or-property:not(:focus) > .title > .token-undefined {
eec397be
RK
544 color: #8050B0;
545}
546
56ab361a 547.variable-or-property:not(:focus) > .title > .token-null {
eec397be
RK
548 color: #008484;
549}
550
56ab361a 551.variable-or-property:not(:focus) > .title > .token-boolean {
eec397be
RK
552 color: #FFCF00;
553}
554
56ab361a 555.variable-or-property:not(:focus) > .title > .token-number {
eec397be
RK
556 color: #E7ADE7;
557}
558
56ab361a
RK
559.variable-or-property:not(:focus) > .title > .token-string {
560 max-width: 30em;
eec397be
RK
561 color: #9C9CFF;
562}
563
56ab361a 564.variable-or-property:not(:focus) > .title > .token-other {
eec397be
RK
565 color: #FF9F00;
566}
567
568/**
569 * Expand/collapse arrow
570 */
571
572.arrow {
573 width: 9px;
574 height: 9px;
575 -moz-margin-start: 5px;
576 -moz-margin-end: 5px;
85cfb236 577 margin-top: -2px;
eec397be
RK
578 background: url("chrome://global/skin/tree/twisty-closed.gif") center center no-repeat;
579}
580
581.arrow[open] {
582 background-image: url("chrome://global/skin/tree/twisty-open.gif");
583}
584
585.scope > .title > .arrow {
586 background-image: url("chrome://global/skin/tree/twisty-closed-selected.gif");
587}
588
589.scope > .title > .arrow[open] {
590 background-image: url("chrome://global/skin/tree/twisty-open-selected.gif");
591}
592
b8384c33
RK
593.arrow[invisible] {
594 visibility: hidden;
595}
596
5322a392
RK
597/**
598 * Toolbar Controls
599 */
600
c29b709d 601#toggle-panes {
c29b709d
RK
602 list-style-image: url("chrome://browser/skin/devtools/debugger-expand.png");
603 -moz-image-region: rect(0px, 16px, 16px, 0px);
604}
605
b8384c33 606#toggle-panes:not([panesHidden]) {
c29b709d
RK
607 list-style-image: url("chrome://browser/skin/devtools/debugger-collapse.png");
608}
609
610#toggle-panes:hover,
611#toggle-panes:hover:active {
612 -moz-image-region: rect(0px, 32px, 16px, 16px);
613}
614
5322a392 615#resume {
37953ab4 616 list-style-image: url("chrome://browser/skin/devtools/debugger-play.png");
5322a392
RK
617 -moz-image-region: rect(0px, 16px, 16px, 0px);
618}
619
620#resume[checked=true],
621#resume:hover {
622 -moz-image-region: rect(0px, 32px, 16px, 16px);
623}
624
625#step-over {
626 list-style-image: url("chrome://browser/skin/devtools/debugger-step-over.png");
627 -moz-image-region: rect(0px, 16px, 16px, 0px);
628}
629#step-over:hover {
630 -moz-image-region: rect(0px, 32px, 16px, 16px);
631}
632
633#step-in {
634 list-style-image: url("chrome://browser/skin/devtools/debugger-step-in.png");
635 -moz-image-region: rect(0px, 16px, 16px, 0px);
636}
637#step-in:hover {
638 -moz-image-region: rect(0px, 32px, 16px, 16px);
639}
640
641#step-out {
642 list-style-image: url("chrome://browser/skin/devtools/debugger-step-out.png");
643 -moz-image-region: rect(0px, 16px, 16px, 0px);
644}
645#step-out:hover {
646 -moz-image-region: rect(0px, 32px, 16px, 16px);
647}
648
649#debugger-controls > toolbarbutton {
650}
651
652#debugger-controls > toolbarbutton:last-of-type {
653}
654
655#debugger-controls {
656}