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