add compat with 2.1b3pre
[themes.git] / LCARStrek / global / 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;
62}
63
64.webconsole-msg-icon {
65 list-style-image: url(chrome://global/skin/icons/webconsole.png);
66 margin: 2px 3px;
67 width: 10px;
68 height: 10px;
69}
70
71.webconsole-msg-log > .webconsole-msg-icon-container > .webconsole-msg-icon {
72 visibility: hidden;
f0c3317f
RK
73}
74
75.hud-output-node div {
76 -moz-user-select: text;
3327253e 77 white-space: pre-wrap;
941d657f 78 -moz-user-focus: normal;
f0c3317f
RK
79}
80
569543b3 81.hud-clickable {
9162a092 82 cursor: pointer;
569543b3
RK
83 text-decoration: underline;
84}
85
8a933f1e
RK
86.webconsole-msg-body {
87 margin-top: 0;
88 margin-bottom: 3px;
89 -moz-margin-start: 3px;
90 -moz-margin-end: 6px;
f0c3317f
RK
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.hud-output-node,
108.jsterm-input-node,
109.jsterm-complete-node {
110 font: 12px Consolas, Lucida Console, monospace;
f0c3317f
RK
111}
112
113.hud-output-node {
8a933f1e
RK
114 -moz-appearance: none;
115 border-bottom: 1px solid #9C9CFF;
116 border-top: 1px solid #9C9CFF;
117 margin: 0;
f0c3317f
RK
118}
119
9162a092
RK
120.hud-filtered-by-type,
121.hud-filtered-by-string {
706c344c
RK
122 display: none;
123}
124
72a6fd39 125.webconsole-clear-console-button > .toolbarbutton-icon {
941d657f
RK
126 display: none;
127}
128
72a6fd39
RK
129 -moz-box-orient: horizontal;
130 list-style-image: url("chrome://global/skin/icons/webconsole.png");
131}
132
8a933f1e 133/* Network styles */
72a6fd39
RK
134.webconsole-filter-button[category="net"] {
135 -moz-image-region: rect(0, 40px, 10px, 30px);
136}
137
8a933f1e
RK
138.webconsole-msg-network > .webconsole-msg-icon-container {
139 -moz-border-start: solid #000 6px;
140}
141
142.webconsole-msg-network.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon {
143 -moz-image-region: rect(0, 10px, 10px, 0);
144}
145
146/* CSS styles */
72a6fd39
RK
147.webconsole-filter-button[category="css"] {
148 -moz-image-region: rect(10px, 40px, 20px, 30px);
149}
150
8a933f1e
RK
151.webconsole-msg-cssparser > .webconsole-msg-icon-container {
152 -moz-border-start: solid #00b6f0 6px;
153}
154
155.webconsole-msg-cssparser.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon {
156 -moz-image-region: rect(10px, 10px, 20px, 0);
157}
158
159.webconsole-msg-cssparser.webconsole-msg-warn > .webconsole-msg-icon-container > .webconsole-msg-icon {
160 -moz-image-region: rect(10px, 20px, 20px, 10px);
161}
162
163/* JS styles */
72a6fd39
RK
164.webconsole-filter-button[category="js"] {
165 -moz-image-region: rect(20px, 40px, 30px, 30px);
166}
167
8a933f1e
RK
168.webconsole-msg-exception > .webconsole-msg-icon-container {
169 -moz-border-start: solid #fb9500 6px;
170}
171
172.webconsole-msg-exception.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon {
173 -moz-image-region: rect(20px, 10px, 30px, 0);
174}
175
176.webconsole-msg-exception.webconsole-msg-warn > .webconsole-msg-icon-container > .webconsole-msg-icon {
177 -moz-image-region: rect(20px, 20px, 30px, 10px);
178}
179
180/* Web Developer styles */
72a6fd39
RK
181.webconsole-filter-button[category="webdev"] {
182 -moz-image-region: rect(30px, 40px, 40px, 30px);
183}
184
8a933f1e
RK
185.webconsole-msg-console > .webconsole-msg-icon-container {
186 -moz-border-start: solid #cbcbcb 6px;
187}
188
189.webconsole-msg-console.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon,
190.webconsole-msg-output.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon {
191 -moz-image-region: rect(30px, 10px, 40px, 0);
192}
193
194.webconsole-msg-console.webconsole-msg-warn > .webconsole-msg-icon-container > .webconsole-msg-icon {
195 -moz-image-region: rect(30px, 20px, 40px, 10px);
196}
197
198.webconsole-msg-console.webconsole-msg-info > .webconsole-msg-icon-container > .webconsole-msg-icon {
199 -moz-image-region: rect(30px, 30px, 40px, 20px);
200}
201
202/* Input and output styles */
203.webconsole-msg-input > .webconsole-msg-icon-container,
204.webconsole-msg-output > .webconsole-msg-icon-container {
205 border-left: solid #808080 6px;
206}
207
72a6fd39
RK
208.webconsole-close-button {
209 border: none;
210 padding: 3px;
211 list-style-image: url("chrome://global/skin/icons/close.png");
212 -moz-image-region: rect(0, 16px, 16px, 0);
213 -moz-appearance: none;
214}
215
216.webconsole-close-button:hover {
217 -moz-image-region: rect(0, 32px, 16px, 16px);
218}
219
220.webconsole-close-button:hover:active {
221 -moz-image-region: rect(0, 48px, 16px, 32px);
222}
223
f0c3317f
RK
224/* JSTerm Styles */
225
226.jsterm-wrapper-node {
227 font-family: monospace;
228 font-size: 1em;
229 background-color: #000;
230 border: 1px solid #333;
231 padding: 0.1em;
232 width: 100%;
233 height: 400px;
234}
235
236.jsterm-output-node {
237 width: 100%;
238 height: 400px;
239 color: white;
240 background-color: black;
241 overflow: auto;
242 overflow-x: auto;
243 position: absolute;
244 -moz-box-direction: reverse;
245}
246
f0c3317f
RK
247.jsterm-scroll-to-node {
248 height: 1px; width: 1px; position: relative; top: 92%; display: block;
249}
250
e1313d59
RK
251.jsterm-input-node,
252.jsterm-complete-node {
9162a092 253 border: none;
e1313d59
RK
254 padding: 0 0 0 16px;
255}
256
257.jsterm-input-node {
258 background: url("chrome://global/skin/icons/commandline.png") 4px 3px no-repeat;
f0c3317f
RK
259}
260
e1313d59
RK
261:-moz-any(.jsterm-input-node,
262 .jsterm-complete-node) > .textbox-input-box > .textbox-textarea {
941d657f 263 overflow-x: hidden;
f0c3317f
RK
264}
265
e1313d59
RK
266.jsterm-complete-node > .textbox-input-box > .textbox-textarea {
267 color: #8050B0;
268}
269
941d657f 270.jsterm-output-line {
569543b3 271 font-size: 1em;
f0c3317f
RK
272}
273
274.hud-console-filter-toolbar {
275 padding: 1px 0px;
276 -moz-box-align: center;
277}