complete sync of LCARStrek with browser winstripe changes in Firefox 21 cycle
[themes.git] / LCARStrek / browser / devtools / debugger.css
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: */
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/. */
6
7 window {
8   padding: 0;
9 }
10
11 #body {
12   background-color: #000000;
13 }
14
15 /**
16  * Debugger content
17  */
18
19 #chrome-globals, #sources {
20   width: 200px;
21 }
22
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  */
27 #searchbox {
28   width: 200px;
29 }
30
31 /**
32  * Lists and headers
33  */
34
35 .list-item {
36   padding: 2px;
37 }
38
39 .list-item:not(.selected):not(.empty):hover {
40   /* background: #cddae5; */
41 }
42
43 .list-item.selected {
44   background: #008484;
45   color: #FFCF00;
46 }
47
48 .list-item.empty {
49   color: #8050B0;
50   /* padding: 4px; */
51 }
52
53 /**
54  * Sources searching
55  */
56
57 #globalsearch {
58   background-color: #000000;
59   min-height: 10px;
60 }
61
62 #globalsearch > vbox:not(:empty) {
63   min-height: 10px;
64   max-height: 150px;
65 }
66
67 .dbg-source-results:not(:last-child) {
68   border-bottom: 1px dotted #9C9CFF;
69 }
70
71 .dbg-results-header {
72   -moz-padding-start: 6px;
73 }
74
75 .dbg-results-header .location {
76   font-weight: 600;
77 }
78
79 .dbg-results-header .match-count {
80   -moz-padding-start: 6px;
81   color: #8050B0;
82 }
83
84 .dbg-results-container .line-number {
85   background: #000000;
86   min-width: 40px;
87   -moz-padding-end: 4px;
88   -moz-border-end: 1px dotted #9C9CFF;
89   text-align: end;
90   font: 8pt monospace;
91   color: #FF9F00;
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;
114   transition: transform 0.25s ease-in-out;
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
122 /**
123  * Searchbox panel
124  */
125
126 #searchbox-panel .description {
127   margin: -6px 0 8px;
128 }
129
130 #searchbox-panel button.operator {
131   min-width: 0;
132   margin: 0;
133   padding: 0;
134   font: 9pt "Liberation Mono", Consolas, "Courier New", monospace;
135 }
136
137 #searchbox-panel label.operator {
138   -moz-padding-start: 6px;
139   padding-bottom: 1px;
140 }
141
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
184 /**
185  * Stack frames and breakpoints pane
186  */
187
188 #stackframes\+breakpoints {
189   min-width: 50px;
190 }
191
192 #stackframes\+breakpoints[animated] {
193   transition: margin 0.25s ease-in-out;
194 }
195
196 /**
197  * Variables and watch expressions pane
198  */
199
200 #variables\+expressions {
201   min-width: 50px;
202 }
203
204 #variables\+expressions[animated] {
205   transition: margin 0.25s ease-in-out;
206 }
207
208 /**
209  * Stack frames view
210  */
211
212 #stackframes {
213   min-height: 10px;
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
225 .dbg-stackframe-details {
226   -moz-padding-start: 4px;
227 }
228
229 /**
230  * Breakpoints view
231  */
232
233 #breakpoints {
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;
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
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 {
267   min-height: 10px;
268   max-height: 125px;
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 {
287   opacity: 0;
288 }
289
290 .dbg-expression-delete:not(:hover) {
291   -moz-image-region: rect(0, 32px, 16px, 16px);
292 }
293
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
303 /**
304  * Variables view
305  */
306
307 #variables {
308   min-height: 10px;
309 }
310
311 .dbg-variable-delete {
312   opacity: 0;
313 }
314
315 .dbg-variable-delete:not(:hover) {
316   -moz-image-region: rect(0, 32px, 16px, 16px);
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) {
325   opacity: 0.5;
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;
339 }
340
341 /**
342  * Scope element
343  */
344
345 .scope:focus > .title {
346   background: #008484;
347   color: #000000;
348 }
349
350 .scope > .title {
351   background: #E7ADE7;
352   border-radius: 5px;
353   color: #000000;
354 }
355
356 .scope > .details {
357   -moz-margin-start: 2px;
358   -moz-margin-end: 2px;
359 }
360
361 .scope > .details.nonenum:not(:empty) {
362   border-top: 1px solid #9C9CFF;
363 }
364
365 /**
366  * Variable element
367  */
368
369 .variable {
370   -moz-margin-start: 1px;
371   -moz-margin-end: 1px;
372   border-bottom: 1px solid #008484;
373   transition: background 1s ease-in-out;
374 }
375
376 .variable[changed] {
377   background: #FFCF00;
378   transition-duration: 0.4s;
379 }
380
381 .scope:focus > .title {
382   background: #008484;
383   color: #000000;
384   border-radius: 4px;
385 }
386
387 .variable > .title > .name {
388   font-weight: 600;
389 }
390
391 .variable:not(:focus) > .title > .name {
392   color: #FF9F00;
393 }
394
395 .variable > .title > .value {
396   -moz-padding-start: 6px;
397   -moz-padding-end: 4px;
398 }
399
400 .variable[editable] > .title > .value {
401   cursor: text;
402 }
403
404 .variable:not([non-header]) > .details {
405   -moz-margin-start: 10px;
406 }
407
408 /**
409  * Property element
410  */
411
412 .property {
413   transition: background 1s ease-in-out;
414   border-radius: 8px;
415 }
416
417 .property[changed] {
418   transition-duration: 0.4s;
419   background: rgba(255, 207, 0, 0.8);
420 }
421
422 .property:focus > .title {
423   background: #008484;
424   color: #000000;
425   border-radius: 4px;
426 }
427
428 .property:not(:focus) > .title > .name {
429   color: #E7ADE7;
430 }
431
432 .property > .title > .value {
433   -moz-padding-start: 6px;
434   -moz-padding-end: 4px;
435 }
436
437 .property[editable] > .title > .value {
438   cursor: text;
439 }
440
441 .property:not([non-header]) > .details {
442   -moz-margin-start: 10px;
443 }
444
445 /**
446  * Non enumerable, configurable and writable variables and properties
447  */
448
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 {
453   opacity: 0.5;
454 }
455
456 .variable[non-configurable] > .title > .name,
457 .property[non-configurable] > .title > .name {
458   border-bottom: 1px dashed #9C9CFF;
459 }
460
461 .variable[non-configurable][non-writable] > .title > .name,
462 .property[non-configurable][non-writable] > .title > .name {
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
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
486 .variable[exception]:not(:focus) > .title > .name,
487 .property[exception]:not(:focus) > .title > .name {
488   color: #FF0000;
489 }
490
491 .variable > tooltip > label,
492 .property > tooltip > label {
493   margin: 0 2px 0 2px;
494 }
495
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"] {
502   text-decoration: line-through;
503 }
504
505 /**
506  * Variables and properties editing
507  */
508
509 .element-value-input {
510   -moz-margin-start: 4px !important;
511 }
512
513 .element-name-input {
514   -moz-margin-start: -2px !important;
515   color: #E7ADE7;
516   font-weight: 600;
517 }
518
519 .element-value-input,
520 .element-name-input {
521   max-width: 30em;
522   border: 1px solid #9C9CFF !important;
523 }
524
525 /**
526  * Variables and properties searching
527  */
528
529 .variables-searchinput.devtools-searchinput {
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
541  */
542
543 .variable-or-property:not(:focus) > .title > .token-undefined {
544   color: #8050B0;
545 }
546
547 .variable-or-property:not(:focus) > .title > .token-null {
548   color: #008484;
549 }
550
551 .variable-or-property:not(:focus) > .title > .token-boolean {
552   color: #FFCF00;
553 }
554
555 .variable-or-property:not(:focus) > .title > .token-number {
556   color: #E7ADE7;
557 }
558
559 .variable-or-property:not(:focus) > .title > .token-string {
560   max-width: 30em;
561   color: #9C9CFF;
562 }
563
564 .variable-or-property:not(:focus) > .title > .token-other {
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;
577   margin-top: -2px;
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
593 .arrow[invisible] {
594   visibility: hidden;
595 }
596
597 /**
598  * Toolbar Controls
599  */
600
601 #toggle-panes {
602   list-style-image: url("chrome://browser/skin/devtools/debugger-expand.png");
603   -moz-image-region: rect(0px, 16px, 16px, 0px);
604 }
605
606 #toggle-panes:not([panesHidden]) {
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
615 #resume {
616   list-style-image: url("chrome://browser/skin/devtools/debugger-play.png");
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 }