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/. */ | |
f0c3317f RK |
4 | |
5 | .hud-box { | |
6 | border-bottom: 3px solid #000000; | |
7 | } | |
8 | ||
9162a092 | 9 | .hud-box.animated { |
72a6fd39 | 10 | -moz-transition: height 100ms; |
569543b3 RK |
11 | } |
12 | ||
f0c3317f RK |
13 | .hud-outer-wrapper { |
14 | width: 100%; | |
15 | height: 100%; | |
16 | } | |
17 | ||
18 | .hud-console-wrapper { | |
19 | width: 100%; | |
20 | overflow: auto; | |
21 | } | |
22 | ||
8a933f1e RK |
23 | /* General output styles */ |
24 | ||
25 | .webconsole-timestamp { | |
26 | color: #8050B0; | |
27 | margin-top: 0; | |
28 | margin-bottom: 0; | |
c5772fdf | 29 | font: 12px "Liberation Mono", Consolas, "Courier New", monospace; |
8a933f1e RK |
30 | } |
31 | ||
a42b27e7 | 32 | .hud-msg-node { |
f128e38f | 33 | list-style-image: url("chrome://browser/skin/devtools/webconsole.png"); |
a0885fa2 | 34 | -moz-image-region: rect(0, 1px, 0, 0); |
a42b27e7 RK |
35 | } |
36 | ||
37 | .webconsole-msg-icon { | |
a0885fa2 RK |
38 | margin: 3px 4px; |
39 | width: 8px; | |
40 | height: 8px; | |
f0c3317f RK |
41 | } |
42 | ||
43 | .hud-output-node div { | |
44 | -moz-user-select: text; | |
3327253e | 45 | white-space: pre-wrap; |
941d657f | 46 | -moz-user-focus: normal; |
f0c3317f RK |
47 | } |
48 | ||
569543b3 | 49 | .hud-clickable { |
9162a092 | 50 | cursor: pointer; |
569543b3 RK |
51 | text-decoration: underline; |
52 | } | |
53 | ||
8a933f1e RK |
54 | .webconsole-msg-body { |
55 | margin-top: 0; | |
56 | margin-bottom: 3px; | |
57 | -moz-margin-start: 3px; | |
58 | -moz-margin-end: 6px; | |
a42b27e7 | 59 | white-space: pre-wrap; |
c5772fdf | 60 | font: 12px "Liberation Mono", Consolas, "Courier New", monospace; |
f0c3317f RK |
61 | } |
62 | ||
a0885fa2 RK |
63 | .webconsole-msg-body-piece { |
64 | margin: 0; | |
65 | } | |
66 | ||
67 | .webconsole-msg-url { | |
68 | margin: 0 6px; | |
69 | } | |
70 | ||
38b75e2e RK |
71 | /* Repeated messages */ |
72 | .webconsole-msg-repeat { | |
73 | margin: 2px 0; | |
74 | padding-left: 4px; | |
75 | padding-right: 4px; | |
38b75e2e RK |
76 | color: #000000; |
77 | background-color: #FF0000; | |
78 | border-radius: 40px; | |
79 | /* font: message-box; */ | |
80 | font-size: 10px; | |
81 | font-weight: 600; | |
82 | } | |
83 | ||
84 | /* TODO move this and other functional rules to content - bug 635359 */ | |
85 | .webconsole-msg-repeat[value="1"] { | |
86 | display: none; | |
87 | } | |
88 | ||
8a933f1e RK |
89 | .webconsole-location { |
90 | margin-top: 0; | |
91 | margin-bottom: 0; | |
92 | -moz-margin-start: 0; | |
93 | -moz-margin-end: 6px; | |
94 | width: 10em; | |
95 | text-align: end; | |
f0c3317f RK |
96 | } |
97 | ||
8a933f1e RK |
98 | .hud-msg-node[selected="true"] > .webconsole-timestamp, |
99 | .hud-msg-node[selected="true"] > .webconsole-location { | |
100 | color: inherit; | |
f0c3317f RK |
101 | } |
102 | ||
8a933f1e RK |
103 | .jsterm-input-node, |
104 | .jsterm-complete-node { | |
8ad8bf83 | 105 | font: 12px "Liberation Mono", Consolas, "Courier New", monospace; |
f0c3317f RK |
106 | } |
107 | ||
108 | .hud-output-node { | |
8a933f1e RK |
109 | -moz-appearance: none; |
110 | border-bottom: 1px solid #9C9CFF; | |
111 | border-top: 1px solid #9C9CFF; | |
112 | margin: 0; | |
f0c3317f RK |
113 | } |
114 | ||
9162a092 RK |
115 | .hud-filtered-by-type, |
116 | .hud-filtered-by-string { | |
706c344c RK |
117 | display: none; |
118 | } | |
119 | ||
72a6fd39 | 120 | .webconsole-clear-console-button > .toolbarbutton-icon { |
941d657f RK |
121 | display: none; |
122 | } | |
123 | ||
a0885fa2 | 124 | .webconsole-filter-button > .toolbarbutton-menubutton-button { |
72a6fd39 | 125 | -moz-box-orient: horizontal; |
f128e38f | 126 | list-style-image: url("chrome://browser/skin/devtools/webconsole.png"); |
72a6fd39 RK |
127 | } |
128 | ||
e0b5363a RK |
129 | .webconsole-filter-button:hover:active > .toolbarbutton-menubutton-button, |
130 | .webconsole-filter-button[open="true"] > .toolbarbutton-menubutton-button { | |
904e5040 RK |
131 | } |
132 | ||
133 | .webconsole-filter-button { | |
134 | -moz-margin-start: 3px; | |
e0b5363a RK |
135 | padding: 0 !important; |
136 | } | |
137 | ||
138 | .webconsole-filter-button menuitem { | |
139 | -moz-image-region: auto; | |
140 | } | |
141 | ||
142 | .hud-filter-box { | |
143 | margin-top: 0; | |
144 | margin-bottom: 0; | |
904e5040 RK |
145 | } |
146 | ||
8a933f1e | 147 | /* Network styles */ |
72a6fd39 | 148 | .webconsole-filter-button[category="net"] { |
a0885fa2 | 149 | -moz-image-region: rect(0, 8px, 8px, 0); |
72a6fd39 RK |
150 | } |
151 | ||
8a933f1e RK |
152 | .webconsole-msg-network > .webconsole-msg-icon-container { |
153 | -moz-border-start: solid #000 6px; | |
154 | } | |
155 | ||
a42b27e7 | 156 | .webconsole-msg-network.webconsole-msg-error { |
a0885fa2 | 157 | -moz-image-region: rect(0, 16px, 8px, 8px); |
8a933f1e RK |
158 | } |
159 | ||
160 | /* CSS styles */ | |
72a6fd39 | 161 | .webconsole-filter-button[category="css"] { |
a0885fa2 | 162 | -moz-image-region: rect(8px, 8px, 16px, 0); |
72a6fd39 RK |
163 | } |
164 | ||
8a933f1e RK |
165 | .webconsole-msg-cssparser > .webconsole-msg-icon-container { |
166 | -moz-border-start: solid #00b6f0 6px; | |
167 | } | |
168 | ||
a42b27e7 | 169 | .webconsole-msg-cssparser.webconsole-msg-error { |
a0885fa2 | 170 | -moz-image-region: rect(8px, 16px, 16px, 8px); |
8a933f1e RK |
171 | } |
172 | ||
a42b27e7 | 173 | .webconsole-msg-cssparser.webconsole-msg-warn { |
a0885fa2 | 174 | -moz-image-region: rect(8px, 24px, 16px, 16px); |
8a933f1e RK |
175 | } |
176 | ||
177 | /* JS styles */ | |
72a6fd39 | 178 | .webconsole-filter-button[category="js"] { |
a0885fa2 | 179 | -moz-image-region: rect(16px, 8px, 24px, 0); |
72a6fd39 RK |
180 | } |
181 | ||
8a933f1e RK |
182 | .webconsole-msg-exception > .webconsole-msg-icon-container { |
183 | -moz-border-start: solid #fb9500 6px; | |
184 | } | |
185 | ||
a42b27e7 | 186 | .webconsole-msg-exception.webconsole-msg-error { |
a0885fa2 | 187 | -moz-image-region: rect(16px, 16px, 24px, 8px); |
8a933f1e RK |
188 | } |
189 | ||
a42b27e7 | 190 | .webconsole-msg-exception.webconsole-msg-warn { |
a0885fa2 | 191 | -moz-image-region: rect(16px, 24px, 24px, 16px); |
8a933f1e RK |
192 | } |
193 | ||
194 | /* Web Developer styles */ | |
f128e38f | 195 | .webconsole-filter-button[category="logging"] { |
a0885fa2 | 196 | -moz-image-region: rect(24px, 8px, 32px, 0); |
72a6fd39 RK |
197 | } |
198 | ||
8a933f1e RK |
199 | .webconsole-msg-console > .webconsole-msg-icon-container { |
200 | -moz-border-start: solid #cbcbcb 6px; | |
201 | } | |
202 | ||
a42b27e7 RK |
203 | .webconsole-msg-console.webconsole-msg-error, |
204 | .webconsole-msg-output.webconsole-msg-error { | |
a0885fa2 | 205 | -moz-image-region: rect(24px, 16px, 32px, 8px); |
8a933f1e RK |
206 | } |
207 | ||
a42b27e7 | 208 | .webconsole-msg-console.webconsole-msg-warn { |
a0885fa2 | 209 | -moz-image-region: rect(24px, 24px, 32px, 16px); |
8a933f1e RK |
210 | } |
211 | ||
a42b27e7 | 212 | .webconsole-msg-console.webconsole-msg-info { |
a0885fa2 | 213 | -moz-image-region: rect(24px, 32px, 32px, 24px); |
8a933f1e RK |
214 | } |
215 | ||
216 | /* Input and output styles */ | |
217 | .webconsole-msg-input > .webconsole-msg-icon-container, | |
218 | .webconsole-msg-output > .webconsole-msg-icon-container { | |
219 | border-left: solid #808080 6px; | |
220 | } | |
221 | ||
a42b27e7 | 222 | .webconsole-msg-input { |
a0885fa2 RK |
223 | -moz-image-region: rect(24px, 40px, 32px, 32px); |
224 | } | |
225 | ||
a42b27e7 | 226 | .webconsole-msg-output { |
a0885fa2 RK |
227 | -moz-image-region: rect(24px, 48px, 32px, 40px); |
228 | } | |
229 | ||
72a6fd39 RK |
230 | .webconsole-close-button { |
231 | border: none; | |
e0b5363a RK |
232 | padding-top: 4px; |
233 | padding-bottom: 5px; | |
234 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); | |
72a6fd39 RK |
235 | } |
236 | ||
e0b5363a | 237 | .webconsole-close-button:hover, |
72a6fd39 | 238 | .webconsole-close-button:hover:active { |
e0b5363a | 239 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); |
72a6fd39 RK |
240 | } |
241 | ||
f0c3317f RK |
242 | /* JSTerm Styles */ |
243 | ||
244 | .jsterm-wrapper-node { | |
8ad8bf83 | 245 | font-family: "Liberation Mono", Consolas, "Courier New", monospace; |
f0c3317f RK |
246 | font-size: 1em; |
247 | background-color: #000; | |
248 | border: 1px solid #333; | |
249 | padding: 0.1em; | |
250 | width: 100%; | |
251 | height: 400px; | |
252 | } | |
253 | ||
254 | .jsterm-output-node { | |
e0b5363a RK |
255 | width: 100%; |
256 | height: 400px; | |
257 | color: white; | |
258 | background-color: black; | |
259 | overflow: auto; | |
260 | overflow-x: auto; | |
261 | position: absolute; | |
f0c3317f RK |
262 | -moz-box-direction: reverse; |
263 | } | |
264 | ||
f0c3317f RK |
265 | .jsterm-scroll-to-node { |
266 | height: 1px; width: 1px; position: relative; top: 92%; display: block; | |
267 | } | |
268 | ||
e1313d59 RK |
269 | .jsterm-input-node, |
270 | .jsterm-complete-node { | |
9162a092 | 271 | border: none; |
e1313d59 RK |
272 | padding: 0 0 0 16px; |
273 | } | |
274 | ||
275 | .jsterm-input-node { | |
276 | background: url("chrome://global/skin/icons/commandline.png") 4px 3px no-repeat; | |
f0c3317f RK |
277 | } |
278 | ||
e1313d59 RK |
279 | :-moz-any(.jsterm-input-node, |
280 | .jsterm-complete-node) > .textbox-input-box > .textbox-textarea { | |
941d657f | 281 | overflow-x: hidden; |
f0c3317f RK |
282 | } |
283 | ||
e1313d59 RK |
284 | .jsterm-complete-node > .textbox-input-box > .textbox-textarea { |
285 | color: #8050B0; | |
286 | } | |
287 | ||
941d657f | 288 | .jsterm-output-line { |
569543b3 | 289 | font-size: 1em; |
f0c3317f RK |
290 | } |
291 | ||
292 | .hud-console-filter-toolbar { | |
f0c3317f RK |
293 | -moz-box-align: center; |
294 | } | |
f993773d RK |
295 | |
296 | .web-console-panel { | |
297 | -moz-appearance: none; | |
298 | background-color: black; | |
299 | } | |
300 | ||
301 | .web-console-panel > .hud-box { | |
302 | height: 100%; | |
303 | width: 100%; | |
304 | background-color: black; | |
305 | } | |
e0b5363a RK |
306 | |
307 | .hud-splitter { | |
308 | border: 0; | |
309 | } |