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: 3px solid #000000;
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 .webconsole-location {
101 -moz-margin-start: 0;
102 -moz-margin-end: 6px;
107 .hud-msg-node[selected="true"] > .webconsole-timestamp,
108 .hud-msg-node[selected="true"] > .webconsole-location {
114 .jsterm-complete-node {
115 font: 12px Consolas, Lucida Console, monospace;
119 -moz-appearance: none;
120 border-bottom: 1px solid #9C9CFF;
121 border-top: 1px solid #9C9CFF;
125 .hud-filtered-by-type,
126 .hud-filtered-by-string {
130 .webconsole-clear-console-button > .toolbarbutton-icon {
134 .webconsole-filter-button > .toolbarbutton-menubutton-button {
135 -moz-box-orient: horizontal;
136 list-style-image: url("chrome://global/skin/icons/webconsole.png");
140 .webconsole-filter-button[category="net"] {
141 -moz-image-region: rect(0, 8px, 8px, 0);
144 .webconsole-msg-network > .webconsole-msg-icon-container {
145 -moz-border-start: solid #000 6px;
148 .webconsole-msg-network.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon {
149 -moz-image-region: rect(0, 16px, 8px, 8px);
153 .webconsole-filter-button[category="css"] {
154 -moz-image-region: rect(8px, 8px, 16px, 0);
157 .webconsole-msg-cssparser > .webconsole-msg-icon-container {
158 -moz-border-start: solid #00b6f0 6px;
161 .webconsole-msg-cssparser.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon {
162 -moz-image-region: rect(8px, 16px, 16px, 8px);
165 .webconsole-msg-cssparser.webconsole-msg-warn > .webconsole-msg-icon-container > .webconsole-msg-icon {
166 -moz-image-region: rect(8px, 24px, 16px, 16px);
170 .webconsole-filter-button[category="js"] {
171 -moz-image-region: rect(16px, 8px, 24px, 0);
174 .webconsole-msg-exception > .webconsole-msg-icon-container {
175 -moz-border-start: solid #fb9500 6px;
178 .webconsole-msg-exception.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon {
179 -moz-image-region: rect(16px, 16px, 24px, 8px);
182 .webconsole-msg-exception.webconsole-msg-warn > .webconsole-msg-icon-container > .webconsole-msg-icon {
183 -moz-image-region: rect(16px, 24px, 24px, 16px);
186 /* Web Developer styles */
187 .webconsole-filter-button[category="webdev"] {
188 -moz-image-region: rect(24px, 8px, 32px, 0);
191 .webconsole-msg-console > .webconsole-msg-icon-container {
192 -moz-border-start: solid #cbcbcb 6px;
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 {
197 -moz-image-region: rect(24px, 16px, 32px, 8px);
200 .webconsole-msg-console.webconsole-msg-warn > .webconsole-msg-icon-container > .webconsole-msg-icon {
201 -moz-image-region: rect(24px, 24px, 32px, 16px);
204 .webconsole-msg-console.webconsole-msg-info > .webconsole-msg-icon-container > .webconsole-msg-icon {
205 -moz-image-region: rect(24px, 32px, 32px, 24px);
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;
214 .webconsole-msg-input > .webconsole-msg-icon-container > .webconsole-msg-icon {
215 -moz-image-region: rect(24px, 40px, 32px, 32px);
218 .webconsole-msg-output > .webconsole-msg-icon-container > .webconsole-msg-icon {
219 -moz-image-region: rect(24px, 48px, 32px, 40px);
222 .webconsole-close-button {
225 list-style-image: url("chrome://global/skin/icons/close.png");
226 -moz-image-region: rect(0, 16px, 16px, 0);
227 -moz-appearance: none;
230 .webconsole-close-button:hover {
231 -moz-image-region: rect(0, 32px, 16px, 16px);
234 .webconsole-close-button:hover:active {
235 -moz-image-region: rect(0, 48px, 16px, 32px);
240 .jsterm-wrapper-node {
241 font-family: monospace;
243 background-color: #000;
244 border: 1px solid #333;
250 .jsterm-output-node {
254 background-color: black;
258 -moz-box-direction: reverse;
261 .jsterm-scroll-to-node {
262 height: 1px; width: 1px; position: relative; top: 92%; display: block;
266 .jsterm-complete-node {
272 background: url("chrome://global/skin/icons/commandline.png") 4px 3px no-repeat;
275 :-moz-any(.jsterm-input-node,
276 .jsterm-complete-node) > .textbox-input-box > .textbox-textarea {
280 .jsterm-complete-node > .textbox-input-box > .textbox-textarea {
284 .jsterm-output-line {
288 .hud-console-filter-toolbar {
290 -moz-box-align: center;