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