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