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);
71 .webconsole-msg-log > .webconsole-msg-icon-container > .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;
93 .webconsole-location {
102 .hud-msg-node[selected="true"] > .webconsole-timestamp,
103 .hud-msg-node[selected="true"] > .webconsole-location {
109 .jsterm-complete-node {
110 font: 12px Consolas, Lucida Console, monospace;
114 -moz-appearance: none;
115 border-bottom: 1px solid #666699;
116 border-top: 1px solid #666699;
120 .hud-filtered-by-type,
121 .hud-filtered-by-string {
125 .webconsole-clear-console-button > .toolbarbutton-icon {
129 .webconsole-filter-button > .toolbarbutton-menubutton-button {
130 -moz-box-orient: horizontal;
131 list-style-image: url("chrome://global/skin/icons/webconsole.png");
135 .webconsole-filter-button[category="net"] {
136 -moz-image-region: rect(0, 40px, 10px, 30px);
139 .webconsole-msg-network > .webconsole-msg-icon-container {
140 -moz-border-start: solid #000 6px;
143 .webconsole-msg-network.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon {
144 -moz-image-region: rect(0, 10px, 10px, 0);
148 .webconsole-filter-button[category="css"] {
149 -moz-image-region: rect(10px, 40px, 20px, 30px);
152 .webconsole-msg-cssparser > .webconsole-msg-icon-container {
153 -moz-border-start: solid #00b6f0 6px;
156 .webconsole-msg-cssparser.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon {
157 -moz-image-region: rect(10px, 10px, 20px, 0);
160 .webconsole-msg-cssparser.webconsole-msg-warn > .webconsole-msg-icon-container > .webconsole-msg-icon {
161 -moz-image-region: rect(10px, 20px, 20px, 10px);
165 .webconsole-filter-button[category="js"] {
166 -moz-image-region: rect(20px, 40px, 30px, 30px);
169 .webconsole-msg-exception > .webconsole-msg-icon-container {
170 -moz-border-start: solid #fb9500 6px;
173 .webconsole-msg-exception.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon {
174 -moz-image-region: rect(20px, 10px, 30px, 0);
177 .webconsole-msg-exception.webconsole-msg-warn > .webconsole-msg-icon-container > .webconsole-msg-icon {
178 -moz-image-region: rect(20px, 20px, 30px, 10px);
181 /* Web Developer styles */
182 .webconsole-filter-button[category="webdev"] {
183 -moz-image-region: rect(30px, 40px, 40px, 30px);
186 .webconsole-msg-console > .webconsole-msg-icon-container {
187 -moz-border-start: solid #cbcbcb 6px;
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);
195 .webconsole-msg-console.webconsole-msg-warn > .webconsole-msg-icon-container > .webconsole-msg-icon {
196 -moz-image-region: rect(30px, 20px, 40px, 10px);
199 .webconsole-msg-console.webconsole-msg-info > .webconsole-msg-icon-container > .webconsole-msg-icon {
200 -moz-image-region: rect(30px, 30px, 40px, 20px);
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;
209 .webconsole-close-button {
212 list-style-image: url("chrome://global/skin/icons/close.png");
213 -moz-image-region: rect(0, 16px, 16px, 0);
214 -moz-appearance: none;
217 .webconsole-close-button:hover {
218 -moz-image-region: rect(0, 32px, 16px, 16px);
221 .webconsole-close-button:hover:active {
222 -moz-image-region: rect(0, 48px, 16px, 32px);
227 .jsterm-wrapper-node {
228 font-family: monospace;
230 background-color: #000;
231 border: 1px solid #333;
237 .jsterm-output-node {
241 background-color: black;
245 -moz-box-direction: reverse;
248 .jsterm-scroll-to-node {
249 height: 1px; width: 1px; position: relative; top: 92%; display: block;
253 .jsterm-complete-node {
259 background: url("chrome://global/skin/icons/commandline.png") 4px 3px no-repeat;
262 :-moz-any(.jsterm-input-node,
263 .jsterm-complete-node) > .textbox-input-box > .textbox-textarea {
267 .jsterm-complete-node > .textbox-input-box > .textbox-textarea {
271 .jsterm-output-line {
275 .hud-console-filter-toolbar {
277 -moz-box-align: center;