Commit | Line | Data |
---|---|---|
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 | |
5 | window { | |
6 | padding: 0; | |
7 | } | |
8 | ||
9 | #body { | |
7bc075b6 | 10 | background-color: #000000; |
eec397be RK |
11 | } |
12 | ||
82b4252f | 13 | /* Sources and breakpoints pane */ |
eec397be | 14 | |
82b4252f RK |
15 | #sources-pane { |
16 | min-width: 50px; | |
889649fd RK |
17 | } |
18 | ||
82b4252f RK |
19 | #sources-pane + .devtools-side-splitter { |
20 | -moz-border-start-color: transparent; | |
eec397be RK |
21 | } |
22 | ||
82b4252f | 23 | /* Watch expressions, variables and other instruments pane */ |
889649fd | 24 | |
82b4252f RK |
25 | #instruments-pane { |
26 | min-width: 50px; | |
27 | -moz-margin-start: 0px !important; | |
28 | /* Unfortunately, transitions don't work properly with locale-aware properties, | |
29 | so both the left and right margins are set via js, while the start margin | |
30 | is always overridden here. */ | |
eec397be RK |
31 | } |
32 | ||
82b4252f RK |
33 | #instruments-pane[animated] { |
34 | transition: margin 0.25s ease-in-out; | |
eec397be RK |
35 | } |
36 | ||
82b4252f | 37 | /* ListWidget items */ |
0142a07b | 38 | |
82b4252f RK |
39 | .list-widget-item { |
40 | padding: 2px; | |
c29b709d RK |
41 | } |
42 | ||
82b4252f RK |
43 | .list-widget-item:not(.selected):not(.empty):hover { |
44 | /* background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.85)), Highlight;*/ | |
c29b709d RK |
45 | } |
46 | ||
82b4252f RK |
47 | .list-widget-item.selected.light { |
48 | /* background: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.8)), Highlight; | |
49 | color: #000;*/ | |
c29b709d RK |
50 | } |
51 | ||
82b4252f RK |
52 | .list-widget-item.selected { |
53 | background: #008484; | |
54 | color: #FFCF00; | |
c29b709d RK |
55 | } |
56 | ||
82b4252f | 57 | .list-widget-item.empty { |
b8384c33 | 58 | color: #8050B0; |
82b4252f | 59 | /* padding: 4px; */ |
c29b709d RK |
60 | } |
61 | ||
82b4252f | 62 | /* Stack frames view */ |
eec397be | 63 | |
82b4252f | 64 | .dbg-stackframe-details { |
eec397be | 65 | -moz-padding-start: 4px; |
eec397be RK |
66 | } |
67 | ||
82b4252f RK |
68 | .dbg-stackframe-menuitem[checked] { |
69 | margin-top: 3px; | |
70 | margin-bottom: 3px; | |
71 | outline: 1px solid #008484; | |
eec397be RK |
72 | font-weight: 600; |
73 | } | |
74 | ||
82b4252f RK |
75 | .dbg-stackframe-menuitem-details { |
76 | -moz-padding-start: 16px; | |
990cba4b RK |
77 | } |
78 | ||
82b4252f | 79 | /* Sources and breakpoints view */ |
889649fd | 80 | |
82b4252f RK |
81 | .dbg-breakpoint { |
82 | font-family: "Liberation Mono", Consolas, "Courier New", monospace; | |
990cba4b RK |
83 | } |
84 | ||
82b4252f | 85 | .dbg-breakpoint-line { |
889649fd RK |
86 | font-weight: 600; |
87 | } | |
88 | ||
89 | .dbg-breakpoint-text { | |
82b4252f RK |
90 | -moz-margin-start: 10px !important; |
91 | font-style: italic; | |
990cba4b RK |
92 | } |
93 | ||
82b4252f | 94 | /* Watch expressions view */ |
990cba4b RK |
95 | |
96 | #expressions { | |
990cba4b | 97 | min-height: 10px; |
56ab361a | 98 | max-height: 125px; |
990cba4b RK |
99 | } |
100 | ||
101 | .dbg-expression { | |
102 | height: 20px; | |
103 | -moz-padding-start: 8px; | |
104 | } | |
105 | ||
106 | .dbg-expression-arrow { | |
107 | width: 10px; | |
108 | height: auto; | |
109 | background: url("chrome://browser/skin/devtools/commandline.png") 0px 4px no-repeat; | |
110 | } | |
111 | ||
112 | .dbg-expression-input { | |
82b4252f RK |
113 | -moz-padding-start: 2px !important; |
114 | font-family: "Liberation Mono", Consolas, "Courier New", monospace; | |
990cba4b RK |
115 | } |
116 | ||
82b4252f | 117 | /* Searchbox and the search operations help panel */ |
56ab361a | 118 | |
82b4252f RK |
119 | .devtools-searchinput { |
120 | min-width: 220px; | |
121 | -moz-margin-start: 1px; | |
56ab361a RK |
122 | } |
123 | ||
82b4252f RK |
124 | #searchbox-panel-description { |
125 | margin-top: 0; | |
126 | margin-bottom: 8px; | |
127 | -moz-margin-start: 2px; | |
c29b709d RK |
128 | } |
129 | ||
82b4252f RK |
130 | .searchbox-panel-operator-button { |
131 | min-width: 26px; | |
132 | margin-top: 0; | |
133 | margin-bottom: 0; | |
134 | -moz-margin-start: 2px; | |
135 | -moz-margin-end: 6px; | |
136 | text-align: center; | |
137 | font-family: "Liberation Mono", Consolas, "Courier New", monospace; | |
56ab361a RK |
138 | } |
139 | ||
82b4252f RK |
140 | .searchbox-panel-operator-label { |
141 | padding-bottom: 2px; | |
56ab361a RK |
142 | } |
143 | ||
82b4252f | 144 | /* Searchbox results panel */ |
56ab361a | 145 | |
82b4252f RK |
146 | .results-panel { |
147 | padding: 4px; | |
56ab361a RK |
148 | } |
149 | ||
82b4252f RK |
150 | .results-panel-item { |
151 | border: 1px solid #A09090; | |
152 | border-top-color: #8050B0; | |
153 | padding: 5px; | |
56ab361a RK |
154 | cursor: pointer; |
155 | } | |
eec397be | 156 | |
82b4252f RK |
157 | .results-panel-item:first-of-type { |
158 | border-top-color: #9C9CFF; | |
159 | border-radius: 4px 4px 0 0; | |
eec397be RK |
160 | } |
161 | ||
82b4252f RK |
162 | .results-panel-item:last-of-type { |
163 | border-radius: 0 0 4px 4px; | |
b8384c33 RK |
164 | } |
165 | ||
82b4252f RK |
166 | .results-panel-item:only-of-type { |
167 | border-radius: 4px; | |
c29b709d RK |
168 | } |
169 | ||
82b4252f RK |
170 | .results-panel-item:not(.selected):not(:hover) { |
171 | /* text-shadow: 0 1px #fff;*/ | |
85cfb236 RK |
172 | } |
173 | ||
82b4252f RK |
174 | .results-panel-item-pre { |
175 | -moz-margin-end: 5px !important; | |
176 | color: #A09090; | |
177 | cursor: inherit; | |
56ab361a RK |
178 | } |
179 | ||
82b4252f RK |
180 | .results-panel-item-name { |
181 | color: #9C9CFF; | |
b8384c33 | 182 | font-weight: 600; |
82b4252f | 183 | cursor: inherit; |
85cfb236 RK |
184 | } |
185 | ||
82b4252f | 186 | .results-panel-item-details { |
56ab361a | 187 | color: #FF9F00; |
82b4252f | 188 | cursor: inherit; |
56ab361a RK |
189 | } |
190 | ||
82b4252f | 191 | /* Sources search view */ |
eec397be | 192 | |
82b4252f RK |
193 | #globalsearch { |
194 | min-height: 10px; | |
b8384c33 RK |
195 | } |
196 | ||
82b4252f RK |
197 | #globalsearch > vbox:not(:empty) { |
198 | min-height: 10px; | |
199 | max-height: 125px; | |
eec397be RK |
200 | } |
201 | ||
82b4252f RK |
202 | #globalsearch + .devtools-horizontal-splitter { |
203 | -moz-border-top-colors: #9C9CFF; | |
56ab361a RK |
204 | } |
205 | ||
82b4252f RK |
206 | .dbg-source-results { |
207 | padding: 0; | |
208 | background: none !important; | |
eec397be RK |
209 | } |
210 | ||
82b4252f | 211 | .dbg-results-header { |
b8384c33 | 212 | -moz-padding-start: 6px; |
37953ab4 RK |
213 | } |
214 | ||
82b4252f | 215 | .dbg-results-header-location { |
990cba4b RK |
216 | font-weight: 600; |
217 | } | |
218 | ||
82b4252f RK |
219 | .dbg-results-header-match-count { |
220 | -moz-padding-start: 6px; | |
eec397be RK |
221 | color: #8050B0; |
222 | } | |
223 | ||
82b4252f RK |
224 | .dbg-results-line-number { |
225 | background: #000000; | |
226 | min-width: 40px; | |
227 | -moz-border-end: 1px solid #9C9CFF; | |
228 | -moz-padding-end: 4px; | |
229 | padding-top: 2px; | |
230 | text-align: end; | |
231 | font-family: "Liberation Mono", Consolas, "Courier New", monospace; | |
eec397be RK |
232 | color: #FF9F00; |
233 | } | |
234 | ||
82b4252f RK |
235 | .dbg-results-line-contents { |
236 | -moz-padding-start: 4px; | |
237 | padding-top: 1px; | |
238 | padding-bottom: 1px; | |
239 | font-family: "Liberation Mono", Consolas, "Courier New", monospace; | |
eec397be RK |
240 | } |
241 | ||
82b4252f RK |
242 | .dbg-results-line-contents-string { |
243 | padding: 1px; | |
eec397be RK |
244 | } |
245 | ||
82b4252f RK |
246 | .dbg-results-line-contents-string[match=true] { |
247 | background: #E7ADE7; | |
248 | color: #000000; | |
249 | padding: 0; | |
250 | border: 1px solid #9C9CFF; | |
251 | border-radius: 4px; | |
252 | cursor: pointer; | |
eec397be RK |
253 | } |
254 | ||
82b4252f RK |
255 | .dbg-results-line-contents-string[match=true][focusing] { |
256 | transition: transform 0.3s ease-in-out; | |
eec397be RK |
257 | } |
258 | ||
82b4252f RK |
259 | .dbg-results-line-contents-string[match=true][focused] { |
260 | transition-duration: 0.1s; | |
261 | transform: scale(1.75, 1.75); | |
b8384c33 RK |
262 | } |
263 | ||
82b4252f | 264 | /* Toolbar Controls */ |
5322a392 | 265 | |
c29b709d | 266 | #toggle-panes { |
c29b709d RK |
267 | list-style-image: url("chrome://browser/skin/devtools/debugger-expand.png"); |
268 | -moz-image-region: rect(0px, 16px, 16px, 0px); | |
269 | } | |
270 | ||
b8384c33 | 271 | #toggle-panes:not([panesHidden]) { |
c29b709d RK |
272 | list-style-image: url("chrome://browser/skin/devtools/debugger-collapse.png"); |
273 | } | |
274 | ||
275 | #toggle-panes:hover, | |
276 | #toggle-panes:hover:active { | |
277 | -moz-image-region: rect(0px, 32px, 16px, 16px); | |
278 | } | |
279 | ||
5322a392 | 280 | #resume { |
37953ab4 | 281 | list-style-image: url("chrome://browser/skin/devtools/debugger-play.png"); |
5322a392 RK |
282 | -moz-image-region: rect(0px, 16px, 16px, 0px); |
283 | } | |
284 | ||
285 | #resume[checked=true], | |
286 | #resume:hover { | |
287 | -moz-image-region: rect(0px, 32px, 16px, 16px); | |
288 | } | |
289 | ||
290 | #step-over { | |
291 | list-style-image: url("chrome://browser/skin/devtools/debugger-step-over.png"); | |
292 | -moz-image-region: rect(0px, 16px, 16px, 0px); | |
293 | } | |
294 | #step-over:hover { | |
295 | -moz-image-region: rect(0px, 32px, 16px, 16px); | |
296 | } | |
297 | ||
298 | #step-in { | |
299 | list-style-image: url("chrome://browser/skin/devtools/debugger-step-in.png"); | |
300 | -moz-image-region: rect(0px, 16px, 16px, 0px); | |
301 | } | |
302 | #step-in:hover { | |
303 | -moz-image-region: rect(0px, 32px, 16px, 16px); | |
304 | } | |
305 | ||
306 | #step-out { | |
307 | list-style-image: url("chrome://browser/skin/devtools/debugger-step-out.png"); | |
308 | -moz-image-region: rect(0px, 16px, 16px, 0px); | |
309 | } | |
310 | #step-out:hover { | |
311 | -moz-image-region: rect(0px, 32px, 16px, 16px); | |
312 | } | |
313 | ||
314 | #debugger-controls > toolbarbutton { | |
315 | } | |
316 | ||
317 | #debugger-controls > toolbarbutton:last-of-type { | |
318 | } | |
319 | ||
320 | #debugger-controls { | |
321 | } | |
82b4252f RK |
322 | |
323 | #instruments-pane-toggle { | |
324 | background: none; | |
325 | box-shadow: none; | |
326 | border: none; | |
327 | list-style-image: url("chrome://browser/skin/devtools/debugger-expand.png"); | |
328 | -moz-image-region: rect(0px,16px,16px,0px); | |
329 | } | |
330 | ||
331 | #instruments-pane-toggle:not([toggled]) { | |
332 | list-style-image: url("chrome://browser/skin/devtools/debugger-collapse.png"); | |
333 | } | |
334 | ||
335 | #instruments-pane-toggle:hover, | |
336 | #instruments-pane-toggle:hover:active { | |
337 | -moz-image-region: rect(0px,32px,16px,16px); | |
338 | } |