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