1 /* ***** BEGIN LICENSE BLOCK *****
2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
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/
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
14 * The Original Code is DevTools code
16 * The Initial Developer of the Original Code is
18 * Portions created by the Initial Developer are Copyright (C) 2010
19 * the Initial Developer. All Rights Reserved.
22 * David Dahl <ddahl@mozilla.com>
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.
36 * ***** END LICENSE BLOCK ***** */
39 border-bottom: 1px solid #CCD0DD;
43 -moz-transition: height 100ms;
51 .hud-console-wrapper {
56 /* General output styles */
58 .webconsole-timestamp {
65 list-style-image: url("chrome://global/skin/icons/webconsole.png");
66 -moz-image-region: rect(0, 1px, 0, 0);
69 .webconsole-msg-icon {
75 .hud-output-node div {
76 -moz-user-select: text;
77 white-space: pre-wrap;
78 -moz-user-focus: normal;
83 text-decoration: underline;
86 .webconsole-msg-body {
89 -moz-margin-start: 3px;
91 white-space: pre-wrap;
94 .webconsole-msg-body-piece {
102 /* Repeated messages */
103 .webconsole-msg-repeat {
108 background-color: #FF0000;
110 /* font: message-box; */
115 /* TODO move this and other functional rules to content - bug 635359 */
116 .webconsole-msg-repeat[value="1"] {
120 .webconsole-location {
123 -moz-margin-start: 0;
124 -moz-margin-end: 6px;
129 .hud-msg-node[selected="true"] > .webconsole-timestamp,
130 .hud-msg-node[selected="true"] > .webconsole-location {
136 .jsterm-complete-node {
137 font: 12px monospace;
141 -moz-appearance: none;
142 border-bottom: 1px solid #666699;
143 border-top: 1px solid #666699;
147 .hud-filtered-by-type,
148 .hud-filtered-by-string {
152 .webconsole-clear-console-button > .toolbarbutton-icon {
156 .webconsole-filter-button > .toolbarbutton-menubutton-button {
157 -moz-box-orient: horizontal;
158 list-style-image: url("chrome://global/skin/icons/webconsole.png");
161 .webconsole-filter-button > .toolbarbutton-menubutton-button,
162 .webconsole-filter-button > .toolbarbutton-menubutton-button:hover:active {
163 -moz-padding-start: 6px;
164 -moz-padding-end: 3px;
167 .webconsole-filter-button {
168 -moz-margin-start: 3px;
169 -moz-margin-end: 3px;
173 .webconsole-filter-button[category="net"] {
174 -moz-image-region: rect(0, 8px, 8px, 0);
177 .webconsole-msg-network > .webconsole-msg-icon-container {
178 -moz-border-start: solid #000 6px;
181 .webconsole-msg-network.webconsole-msg-error {
182 -moz-image-region: rect(0, 16px, 8px, 8px);
186 .webconsole-filter-button[category="css"] {
187 -moz-image-region: rect(8px, 8px, 16px, 0);
190 .webconsole-msg-cssparser > .webconsole-msg-icon-container {
191 -moz-border-start: solid #00b6f0 6px;
194 .webconsole-msg-cssparser.webconsole-msg-error {
195 -moz-image-region: rect(8px, 16px, 16px, 8px);
198 .webconsole-msg-cssparser.webconsole-msg-warn {
199 -moz-image-region: rect(8px, 24px, 16px, 16px);
203 .webconsole-filter-button[category="js"] {
204 -moz-image-region: rect(16px, 8px, 24px, 0);
207 .webconsole-msg-exception > .webconsole-msg-icon-container {
208 -moz-border-start: solid #fb9500 6px;
211 .webconsole-msg-exception.webconsole-msg-error {
212 -moz-image-region: rect(16px, 16px, 24px, 8px);
215 .webconsole-msg-exception.webconsole-msg-warn {
216 -moz-image-region: rect(16px, 24px, 24px, 16px);
219 /* Web Developer styles */
220 .webconsole-filter-button[category="webdev"] {
221 -moz-image-region: rect(24px, 8px, 32px, 0);
224 .webconsole-msg-console > .webconsole-msg-icon-container {
225 -moz-border-start: solid #cbcbcb 6px;
228 .webconsole-msg-console.webconsole-msg-error,
229 .webconsole-msg-output.webconsole-msg-error {
230 -moz-image-region: rect(24px, 16px, 32px, 8px);
233 .webconsole-msg-console.webconsole-msg-warn {
234 -moz-image-region: rect(24px, 24px, 32px, 16px);
237 .webconsole-msg-console.webconsole-msg-info {
238 -moz-image-region: rect(24px, 32px, 32px, 24px);
241 /* Input and output styles */
242 .webconsole-msg-input > .webconsole-msg-icon-container,
243 .webconsole-msg-output > .webconsole-msg-icon-container {
244 border-left: solid #808080 6px;
247 .webconsole-msg-input {
248 -moz-image-region: rect(24px, 40px, 32px, 32px);
251 .webconsole-msg-output {
252 -moz-image-region: rect(24px, 48px, 32px, 40px);
255 .webconsole-close-button {
258 list-style-image: url("chrome://global/skin/icons/close.png");
259 -moz-image-region: rect(0, 16px, 16px, 0);
260 -moz-appearance: none;
263 .webconsole-close-button:hover {
264 -moz-image-region: rect(0, 32px, 16px, 16px);
267 .webconsole-close-button:hover:active {
268 -moz-image-region: rect(0, 48px, 16px, 32px);
273 .jsterm-wrapper-node {
274 font-family: monospace;
276 background-color: #000;
277 border: 1px solid #333;
283 .jsterm-output-node {
287 background-color: black;
291 -moz-box-direction: reverse;
294 .jsterm-scroll-to-node {
295 height: 1px; width: 1px; position: relative; top: 92%; display: block;
299 .jsterm-complete-node {
305 background: url("chrome://global/skin/icons/commandline.png") 4px 3px no-repeat;
308 :-moz-any(.jsterm-input-node,
309 .jsterm-complete-node) > .textbox-input-box > .textbox-textarea {
313 .jsterm-complete-node > .textbox-input-box > .textbox-textarea {
317 .jsterm-output-line {
321 .hud-console-filter-toolbar {
323 -moz-box-align: center;
327 -moz-appearance: none;
328 background-color: white;
331 .web-console-panel > .hud-box {
334 background-color: white;