update both themes for all (toolkit winstripe only actually) change up to 2011-01-23
[themes.git] / EarlyBlue / 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: 1px solid #CCD0DD;
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: #808080;
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 #666699;
116 border-top: 1px solid #666699;
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.webconsole-filter-button > .toolbarbutton-menubutton-button {
130 -moz-box-orient: horizontal;
131 list-style-image: url("chrome://global/skin/icons/webconsole.png");
132}
133
8a933f1e 134/* Network styles */
72a6fd39
RK
135.webconsole-filter-button[category="net"] {
136 -moz-image-region: rect(0, 40px, 10px, 30px);
137}
138
8a933f1e
RK
139.webconsole-msg-network > .webconsole-msg-icon-container {
140 -moz-border-start: solid #000 6px;
141}
142
143.webconsole-msg-network.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon {
144 -moz-image-region: rect(0, 10px, 10px, 0);
145}
146
147/* CSS styles */
72a6fd39
RK
148.webconsole-filter-button[category="css"] {
149 -moz-image-region: rect(10px, 40px, 20px, 30px);
150}
151
8a933f1e
RK
152.webconsole-msg-cssparser > .webconsole-msg-icon-container {
153 -moz-border-start: solid #00b6f0 6px;
154}
155
156.webconsole-msg-cssparser.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon {
157 -moz-image-region: rect(10px, 10px, 20px, 0);
158}
159
160.webconsole-msg-cssparser.webconsole-msg-warn > .webconsole-msg-icon-container > .webconsole-msg-icon {
161 -moz-image-region: rect(10px, 20px, 20px, 10px);
162}
163
164/* JS styles */
72a6fd39
RK
165.webconsole-filter-button[category="js"] {
166 -moz-image-region: rect(20px, 40px, 30px, 30px);
167}
168
8a933f1e
RK
169.webconsole-msg-exception > .webconsole-msg-icon-container {
170 -moz-border-start: solid #fb9500 6px;
171}
172
173.webconsole-msg-exception.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon {
174 -moz-image-region: rect(20px, 10px, 30px, 0);
175}
176
177.webconsole-msg-exception.webconsole-msg-warn > .webconsole-msg-icon-container > .webconsole-msg-icon {
178 -moz-image-region: rect(20px, 20px, 30px, 10px);
179}
180
181/* Web Developer styles */
72a6fd39
RK
182.webconsole-filter-button[category="webdev"] {
183 -moz-image-region: rect(30px, 40px, 40px, 30px);
184}
185
8a933f1e
RK
186.webconsole-msg-console > .webconsole-msg-icon-container {
187 -moz-border-start: solid #cbcbcb 6px;
188}
189
190.webconsole-msg-console.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon,
191.webconsole-msg-output.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon {
192 -moz-image-region: rect(30px, 10px, 40px, 0);
193}
194
195.webconsole-msg-console.webconsole-msg-warn > .webconsole-msg-icon-container > .webconsole-msg-icon {
196 -moz-image-region: rect(30px, 20px, 40px, 10px);
197}
198
199.webconsole-msg-console.webconsole-msg-info > .webconsole-msg-icon-container > .webconsole-msg-icon {
200 -moz-image-region: rect(30px, 30px, 40px, 20px);
201}
202
203/* Input and output styles */
204.webconsole-msg-input > .webconsole-msg-icon-container,
205.webconsole-msg-output > .webconsole-msg-icon-container {
206 border-left: solid #808080 6px;
207}
208
72a6fd39
RK
209.webconsole-close-button {
210 border: none;
211 padding: 3px;
212 list-style-image: url("chrome://global/skin/icons/close.png");
213 -moz-image-region: rect(0, 16px, 16px, 0);
214 -moz-appearance: none;
215}
216
217.webconsole-close-button:hover {
218 -moz-image-region: rect(0, 32px, 16px, 16px);
219}
220
221.webconsole-close-button:hover:active {
222 -moz-image-region: rect(0, 48px, 16px, 32px);
223}
224
f0c3317f
RK
225/* JSTerm Styles */
226
227.jsterm-wrapper-node {
228 font-family: monospace;
229 font-size: 1em;
230 background-color: #000;
231 border: 1px solid #333;
232 padding: 0.1em;
233 width: 100%;
234 height: 400px;
235}
236
237.jsterm-output-node {
238 width: 100%;
239 height: 400px;
240 color: white;
241 background-color: black;
242 overflow: auto;
243 overflow-x: auto;
244 position: absolute;
245 -moz-box-direction: reverse;
246}
247
f0c3317f
RK
248.jsterm-scroll-to-node {
249 height: 1px; width: 1px; position: relative; top: 92%; display: block;
250}
251
e1313d59
RK
252.jsterm-input-node,
253.jsterm-complete-node {
9162a092 254 border: none;
e1313d59
RK
255 padding: 0 0 0 16px;
256}
257
258.jsterm-input-node {
259 background: url("chrome://global/skin/icons/commandline.png") 4px 3px no-repeat;
f0c3317f
RK
260}
261
e1313d59
RK
262:-moz-any(.jsterm-input-node,
263 .jsterm-complete-node) > .textbox-input-box > .textbox-textarea {
941d657f 264 overflow-x: hidden;
f0c3317f
RK
265}
266
e1313d59
RK
267.jsterm-complete-node > .textbox-input-box > .textbox-textarea {
268 color: #808080;
269}
270
941d657f 271.jsterm-output-line {
569543b3 272 font-size: 1em;
f0c3317f
RK
273}
274
275.hud-console-filter-toolbar {
276 padding: 1px 0px;
277 -moz-box-align: center;
278}