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 {
64 .webconsole-msg-icon {
65 list-style-image: url("chrome://global/skin/icons/webconsole.png");
66 -moz-image-region: rect(0, 1px, 0, 0);
72 .hud-output-node div {
73 -moz-user-select: text;
74 white-space: pre-wrap;
75 -moz-user-focus: normal;
80 text-decoration: underline;
83 .webconsole-msg-body {
86 -moz-margin-start: 3px;
90 .webconsole-msg-body-piece {
98 /* Repeated messages */
99 .webconsole-msg-repeat {
105 background-color: #FF0000;
107 /* font: message-box; */
112 /* TODO move this and other functional rules to content - bug 635359 */
113 .webconsole-msg-repeat[value="1"] {
117 .webconsole-location {
120 -moz-margin-start: 0;
121 -moz-margin-end: 6px;
126 .hud-msg-node[selected="true"] > .webconsole-timestamp,
127 .hud-msg-node[selected="true"] > .webconsole-location {
133 .jsterm-complete-node {
134 font: 12px Consolas, Lucida Console, monospace;
138 -moz-appearance: none;
139 border-bottom: 1px solid #666699;
140 border-top: 1px solid #666699;
144 .hud-filtered-by-type,
145 .hud-filtered-by-string {
149 .webconsole-clear-console-button > .toolbarbutton-icon {
153 .webconsole-filter-button > .toolbarbutton-menubutton-button {
154 -moz-box-orient: horizontal;
155 list-style-image: url("chrome://global/skin/icons/webconsole.png");
159 .webconsole-filter-button[category="net"] {
160 -moz-image-region: rect(0, 8px, 8px, 0);
163 .webconsole-msg-network > .webconsole-msg-icon-container {
164 -moz-border-start: solid #000 6px;
167 .webconsole-msg-network.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon {
168 -moz-image-region: rect(0, 16px, 8px, 8px);
172 .webconsole-filter-button[category="css"] {
173 -moz-image-region: rect(8px, 8px, 16px, 0);
176 .webconsole-msg-cssparser > .webconsole-msg-icon-container {
177 -moz-border-start: solid #00b6f0 6px;
180 .webconsole-msg-cssparser.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon {
181 -moz-image-region: rect(8px, 16px, 16px, 8px);
184 .webconsole-msg-cssparser.webconsole-msg-warn > .webconsole-msg-icon-container > .webconsole-msg-icon {
185 -moz-image-region: rect(8px, 24px, 16px, 16px);
189 .webconsole-filter-button[category="js"] {
190 -moz-image-region: rect(16px, 8px, 24px, 0);
193 .webconsole-msg-exception > .webconsole-msg-icon-container {
194 -moz-border-start: solid #fb9500 6px;
197 .webconsole-msg-exception.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon {
198 -moz-image-region: rect(16px, 16px, 24px, 8px);
201 .webconsole-msg-exception.webconsole-msg-warn > .webconsole-msg-icon-container > .webconsole-msg-icon {
202 -moz-image-region: rect(16px, 24px, 24px, 16px);
205 /* Web Developer styles */
206 .webconsole-filter-button[category="webdev"] {
207 -moz-image-region: rect(24px, 8px, 32px, 0);
210 .webconsole-msg-console > .webconsole-msg-icon-container {
211 -moz-border-start: solid #cbcbcb 6px;
214 .webconsole-msg-console.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon,
215 .webconsole-msg-output.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon {
216 -moz-image-region: rect(24px, 16px, 32px, 8px);
219 .webconsole-msg-console.webconsole-msg-warn > .webconsole-msg-icon-container > .webconsole-msg-icon {
220 -moz-image-region: rect(24px, 24px, 32px, 16px);
223 .webconsole-msg-console.webconsole-msg-info > .webconsole-msg-icon-container > .webconsole-msg-icon {
224 -moz-image-region: rect(24px, 32px, 32px, 24px);
227 /* Input and output styles */
228 .webconsole-msg-input > .webconsole-msg-icon-container,
229 .webconsole-msg-output > .webconsole-msg-icon-container {
230 border-left: solid #808080 6px;
233 .webconsole-msg-input > .webconsole-msg-icon-container > .webconsole-msg-icon {
234 -moz-image-region: rect(24px, 40px, 32px, 32px);
237 .webconsole-msg-output > .webconsole-msg-icon-container > .webconsole-msg-icon {
238 -moz-image-region: rect(24px, 48px, 32px, 40px);
241 .webconsole-close-button {
244 list-style-image: url("chrome://global/skin/icons/close.png");
245 -moz-image-region: rect(0, 16px, 16px, 0);
246 -moz-appearance: none;
249 .webconsole-close-button:hover {
250 -moz-image-region: rect(0, 32px, 16px, 16px);
253 .webconsole-close-button:hover:active {
254 -moz-image-region: rect(0, 48px, 16px, 32px);
259 .jsterm-wrapper-node {
260 font-family: monospace;
262 background-color: #000;
263 border: 1px solid #333;
269 .jsterm-output-node {
273 background-color: black;
277 -moz-box-direction: reverse;
280 .jsterm-scroll-to-node {
281 height: 1px; width: 1px; position: relative; top: 92%; display: block;
285 .jsterm-complete-node {
291 background: url("chrome://global/skin/icons/commandline.png") 4px 3px no-repeat;
294 :-moz-any(.jsterm-input-node,
295 .jsterm-complete-node) > .textbox-input-box > .textbox-textarea {
299 .jsterm-complete-node > .textbox-input-box > .textbox-textarea {
303 .jsterm-output-line {
307 .hud-console-filter-toolbar {
309 -moz-box-align: center;