sync LCARSTrek with Firefox 12 winstrip changes - newtab is incomplete, though
[themes.git] / LCARStrek / browser / devtools / webconsole.css
CommitLineData
f0c3317f
RK
1/* ***** BEGIN LICENSE BLOCK *****
2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
3 *
4 * The contents of this file are subject to the Mozilla Public License Version
5 * 1.1 (the "License"); you may not use this file except in compliance with
6 * the License. You may obtain a copy of the License at
7 * http://www.mozilla.org/MPL/
8 *
9 * Software distributed under the License is distributed on an "AS IS" basis,
10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 * for the specific language governing rights and limitations under the
12 * License.
13 *
14 * The Original Code is DevTools code
15 *
16 * The Initial Developer of the Original Code is
17 * Mozilla Corporation
18 * Portions created by the Initial Developer are Copyright (C) 2010
19 * the Initial Developer. All Rights Reserved.
20 *
21 * Contributor(s):
22 * David Dahl <ddahl@mozilla.com>
23
24 * Alternatively, the contents of this file may be used under the terms of
25 * either the GNU General Public License Version 2 or later (the "GPL"), or
26 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 * in which case the provisions of the GPL or the LGPL are applicable instead
28 * of those above. If you wish to allow use of your version of this file only
29 * under the terms of either the GPL or the LGPL, and not to allow others to
30 * use your version of this file under the terms of the MPL, indicate your
31 * decision by deleting the provisions above and replace them with the notice
32 * and other provisions required by the GPL or the LGPL. If you do not delete
33 * the provisions above, a recipient may use your version of this file under
34 * the terms of any one of the MPL, the GPL or the LGPL.
35 *
36 * ***** END LICENSE BLOCK ***** */
37
38.hud-box {
39 border-bottom: 3px solid #000000;
40}
41
9162a092 42.hud-box.animated {
72a6fd39 43 -moz-transition: height 100ms;
569543b3
RK
44}
45
f0c3317f
RK
46.hud-outer-wrapper {
47 width: 100%;
48 height: 100%;
49}
50
51.hud-console-wrapper {
52 width: 100%;
53 overflow: auto;
54}
55
8a933f1e
RK
56/* General output styles */
57
58.webconsole-timestamp {
59 color: #8050B0;
60 margin-top: 0;
61 margin-bottom: 0;
c5772fdf 62 font: 12px "Liberation Mono", Consolas, "Courier New", monospace;
8a933f1e
RK
63}
64
a42b27e7 65.hud-msg-node {
f128e38f 66 list-style-image: url("chrome://browser/skin/devtools/webconsole.png");
a0885fa2 67 -moz-image-region: rect(0, 1px, 0, 0);
a42b27e7
RK
68}
69
70.webconsole-msg-icon {
a0885fa2
RK
71 margin: 3px 4px;
72 width: 8px;
73 height: 8px;
f0c3317f
RK
74}
75
76.hud-output-node div {
77 -moz-user-select: text;
3327253e 78 white-space: pre-wrap;
941d657f 79 -moz-user-focus: normal;
f0c3317f
RK
80}
81
569543b3 82.hud-clickable {
9162a092 83 cursor: pointer;
569543b3
RK
84 text-decoration: underline;
85}
86
8a933f1e
RK
87.webconsole-msg-body {
88 margin-top: 0;
89 margin-bottom: 3px;
90 -moz-margin-start: 3px;
91 -moz-margin-end: 6px;
a42b27e7 92 white-space: pre-wrap;
c5772fdf 93 font: 12px "Liberation Mono", Consolas, "Courier New", monospace;
f0c3317f
RK
94}
95
a0885fa2
RK
96.webconsole-msg-body-piece {
97 margin: 0;
98}
99
100.webconsole-msg-url {
101 margin: 0 6px;
102}
103
38b75e2e
RK
104/* Repeated messages */
105.webconsole-msg-repeat {
106 margin: 2px 0;
107 padding-left: 4px;
108 padding-right: 4px;
38b75e2e
RK
109 color: #000000;
110 background-color: #FF0000;
111 border-radius: 40px;
112 /* font: message-box; */
113 font-size: 10px;
114 font-weight: 600;
115}
116
117/* TODO move this and other functional rules to content - bug 635359 */
118.webconsole-msg-repeat[value="1"] {
119 display: none;
120}
121
8a933f1e
RK
122.webconsole-location {
123 margin-top: 0;
124 margin-bottom: 0;
125 -moz-margin-start: 0;
126 -moz-margin-end: 6px;
127 width: 10em;
128 text-align: end;
f0c3317f
RK
129}
130
8a933f1e
RK
131.hud-msg-node[selected="true"] > .webconsole-timestamp,
132.hud-msg-node[selected="true"] > .webconsole-location {
133 color: inherit;
f0c3317f
RK
134}
135
8a933f1e
RK
136.jsterm-input-node,
137.jsterm-complete-node {
8ad8bf83 138 font: 12px "Liberation Mono", Consolas, "Courier New", monospace;
f0c3317f
RK
139}
140
141.hud-output-node {
8a933f1e
RK
142 -moz-appearance: none;
143 border-bottom: 1px solid #9C9CFF;
144 border-top: 1px solid #9C9CFF;
145 margin: 0;
f0c3317f
RK
146}
147
9162a092
RK
148.hud-filtered-by-type,
149.hud-filtered-by-string {
706c344c
RK
150 display: none;
151}
152
72a6fd39 153.webconsole-clear-console-button > .toolbarbutton-icon {
941d657f
RK
154 display: none;
155}
156
a0885fa2 157.webconsole-filter-button > .toolbarbutton-menubutton-button {
72a6fd39 158 -moz-box-orient: horizontal;
f128e38f 159 list-style-image: url("chrome://browser/skin/devtools/webconsole.png");
72a6fd39
RK
160}
161
904e5040
RK
162.webconsole-filter-button > .toolbarbutton-menubutton-button,
163.webconsole-filter-button > .toolbarbutton-menubutton-button:hover:active {
164 -moz-padding-start: 6px;
165 -moz-padding-end: 3px;
166}
167
168.webconsole-filter-button {
169 -moz-margin-start: 3px;
170 -moz-margin-end: 3px;
171}
172
8a933f1e 173/* Network styles */
72a6fd39 174.webconsole-filter-button[category="net"] {
a0885fa2 175 -moz-image-region: rect(0, 8px, 8px, 0);
72a6fd39
RK
176}
177
8a933f1e
RK
178.webconsole-msg-network > .webconsole-msg-icon-container {
179 -moz-border-start: solid #000 6px;
180}
181
a42b27e7 182.webconsole-msg-network.webconsole-msg-error {
a0885fa2 183 -moz-image-region: rect(0, 16px, 8px, 8px);
8a933f1e
RK
184}
185
186/* CSS styles */
72a6fd39 187.webconsole-filter-button[category="css"] {
a0885fa2 188 -moz-image-region: rect(8px, 8px, 16px, 0);
72a6fd39
RK
189}
190
8a933f1e
RK
191.webconsole-msg-cssparser > .webconsole-msg-icon-container {
192 -moz-border-start: solid #00b6f0 6px;
193}
194
a42b27e7 195.webconsole-msg-cssparser.webconsole-msg-error {
a0885fa2 196 -moz-image-region: rect(8px, 16px, 16px, 8px);
8a933f1e
RK
197}
198
a42b27e7 199.webconsole-msg-cssparser.webconsole-msg-warn {
a0885fa2 200 -moz-image-region: rect(8px, 24px, 16px, 16px);
8a933f1e
RK
201}
202
203/* JS styles */
72a6fd39 204.webconsole-filter-button[category="js"] {
a0885fa2 205 -moz-image-region: rect(16px, 8px, 24px, 0);
72a6fd39
RK
206}
207
8a933f1e
RK
208.webconsole-msg-exception > .webconsole-msg-icon-container {
209 -moz-border-start: solid #fb9500 6px;
210}
211
a42b27e7 212.webconsole-msg-exception.webconsole-msg-error {
a0885fa2 213 -moz-image-region: rect(16px, 16px, 24px, 8px);
8a933f1e
RK
214}
215
a42b27e7 216.webconsole-msg-exception.webconsole-msg-warn {
a0885fa2 217 -moz-image-region: rect(16px, 24px, 24px, 16px);
8a933f1e
RK
218}
219
220/* Web Developer styles */
f128e38f 221.webconsole-filter-button[category="logging"] {
a0885fa2 222 -moz-image-region: rect(24px, 8px, 32px, 0);
72a6fd39
RK
223}
224
8a933f1e
RK
225.webconsole-msg-console > .webconsole-msg-icon-container {
226 -moz-border-start: solid #cbcbcb 6px;
227}
228
a42b27e7
RK
229.webconsole-msg-console.webconsole-msg-error,
230.webconsole-msg-output.webconsole-msg-error {
a0885fa2 231 -moz-image-region: rect(24px, 16px, 32px, 8px);
8a933f1e
RK
232}
233
a42b27e7 234.webconsole-msg-console.webconsole-msg-warn {
a0885fa2 235 -moz-image-region: rect(24px, 24px, 32px, 16px);
8a933f1e
RK
236}
237
a42b27e7 238.webconsole-msg-console.webconsole-msg-info {
a0885fa2 239 -moz-image-region: rect(24px, 32px, 32px, 24px);
8a933f1e
RK
240}
241
242/* Input and output styles */
243.webconsole-msg-input > .webconsole-msg-icon-container,
244.webconsole-msg-output > .webconsole-msg-icon-container {
245 border-left: solid #808080 6px;
246}
247
a42b27e7 248.webconsole-msg-input {
a0885fa2
RK
249 -moz-image-region: rect(24px, 40px, 32px, 32px);
250}
251
a42b27e7 252.webconsole-msg-output {
a0885fa2
RK
253 -moz-image-region: rect(24px, 48px, 32px, 40px);
254}
255
72a6fd39
RK
256.webconsole-close-button {
257 border: none;
258 padding: 3px;
259 list-style-image: url("chrome://global/skin/icons/close.png");
260 -moz-image-region: rect(0, 16px, 16px, 0);
261 -moz-appearance: none;
262}
263
264.webconsole-close-button:hover {
265 -moz-image-region: rect(0, 32px, 16px, 16px);
266}
267
268.webconsole-close-button:hover:active {
269 -moz-image-region: rect(0, 48px, 16px, 32px);
270}
271
f0c3317f
RK
272/* JSTerm Styles */
273
274.jsterm-wrapper-node {
8ad8bf83 275 font-family: "Liberation Mono", Consolas, "Courier New", monospace;
f0c3317f
RK
276 font-size: 1em;
277 background-color: #000;
278 border: 1px solid #333;
279 padding: 0.1em;
280 width: 100%;
281 height: 400px;
282}
283
284.jsterm-output-node {
285 width: 100%;
286 height: 400px;
287 color: white;
288 background-color: black;
289 overflow: auto;
290 overflow-x: auto;
291 position: absolute;
292 -moz-box-direction: reverse;
293}
294
f0c3317f
RK
295.jsterm-scroll-to-node {
296 height: 1px; width: 1px; position: relative; top: 92%; display: block;
297}
298
e1313d59
RK
299.jsterm-input-node,
300.jsterm-complete-node {
9162a092 301 border: none;
e1313d59
RK
302 padding: 0 0 0 16px;
303}
304
305.jsterm-input-node {
306 background: url("chrome://global/skin/icons/commandline.png") 4px 3px no-repeat;
f0c3317f
RK
307}
308
e1313d59
RK
309:-moz-any(.jsterm-input-node,
310 .jsterm-complete-node) > .textbox-input-box > .textbox-textarea {
941d657f 311 overflow-x: hidden;
f0c3317f
RK
312}
313
e1313d59
RK
314.jsterm-complete-node > .textbox-input-box > .textbox-textarea {
315 color: #8050B0;
316}
317
941d657f 318.jsterm-output-line {
569543b3 319 font-size: 1em;
f0c3317f
RK
320}
321
322.hud-console-filter-toolbar {
904e5040 323 padding: 1px 2px;
f0c3317f
RK
324 -moz-box-align: center;
325}
f993773d
RK
326
327.web-console-panel {
328 -moz-appearance: none;
329 background-color: black;
330}
331
332.web-console-panel > .hud-box {
333 height: 100%;
334 width: 100%;
335 background-color: black;
336}