1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 border-bottom: 3px solid #000000;
10 -moz-transition: height 100ms;
18 .hud-console-wrapper {
23 /* General output styles */
25 .webconsole-timestamp {
29 font: 12px "Liberation Mono", Consolas, "Courier New", monospace;
33 list-style-image: url("chrome://browser/skin/devtools/webconsole.png");
34 -moz-image-region: rect(0, 1px, 0, 0);
37 .webconsole-msg-icon {
43 .hud-output-node div {
44 -moz-user-select: text;
45 white-space: pre-wrap;
46 -moz-user-focus: normal;
51 text-decoration: underline;
54 .webconsole-msg-body {
57 -moz-margin-start: 3px;
59 white-space: pre-wrap;
60 font: 12px "Liberation Mono", Consolas, "Courier New", monospace;
63 .webconsole-msg-body-piece {
71 /* Repeated messages */
72 .webconsole-msg-repeat {
77 background-color: #FF0000;
79 /* font: message-box; */
84 /* TODO move this and other functional rules to content - bug 635359 */
85 .webconsole-msg-repeat[value="1"] {
89 .webconsole-location {
98 .hud-msg-node[selected="true"] > .webconsole-timestamp,
99 .hud-msg-node[selected="true"] > .webconsole-location {
104 .jsterm-complete-node {
105 font: 12px "Liberation Mono", Consolas, "Courier New", monospace;
109 -moz-appearance: none;
110 border-bottom: 1px solid #9C9CFF;
111 border-top: 1px solid #9C9CFF;
115 .hud-filtered-by-type,
116 .hud-filtered-by-string {
120 .webconsole-clear-console-button > .toolbarbutton-icon {
124 .webconsole-filter-button > .toolbarbutton-menubutton-button {
125 -moz-box-orient: horizontal;
126 list-style-image: url("chrome://browser/skin/devtools/webconsole.png");
129 .webconsole-filter-button:hover:active > .toolbarbutton-menubutton-button,
130 .webconsole-filter-button[open="true"] > .toolbarbutton-menubutton-button {
133 .webconsole-filter-button {
134 -moz-margin-start: 3px;
135 padding: 0 !important;
138 .webconsole-filter-button menuitem {
139 -moz-image-region: auto;
148 .webconsole-filter-button[category="net"] {
149 -moz-image-region: rect(0, 8px, 8px, 0);
152 .webconsole-msg-network > .webconsole-msg-icon-container {
153 -moz-border-start: solid #000 6px;
156 .webconsole-msg-network.webconsole-msg-error {
157 -moz-image-region: rect(0, 16px, 8px, 8px);
161 .webconsole-filter-button[category="css"] {
162 -moz-image-region: rect(8px, 8px, 16px, 0);
165 .webconsole-msg-cssparser > .webconsole-msg-icon-container {
166 -moz-border-start: solid #00b6f0 6px;
169 .webconsole-msg-cssparser.webconsole-msg-error {
170 -moz-image-region: rect(8px, 16px, 16px, 8px);
173 .webconsole-msg-cssparser.webconsole-msg-warn {
174 -moz-image-region: rect(8px, 24px, 16px, 16px);
178 .webconsole-filter-button[category="js"] {
179 -moz-image-region: rect(16px, 8px, 24px, 0);
182 .webconsole-msg-exception > .webconsole-msg-icon-container {
183 -moz-border-start: solid #fb9500 6px;
186 .webconsole-msg-exception.webconsole-msg-error {
187 -moz-image-region: rect(16px, 16px, 24px, 8px);
190 .webconsole-msg-exception.webconsole-msg-warn {
191 -moz-image-region: rect(16px, 24px, 24px, 16px);
194 /* Web Developer styles */
195 .webconsole-filter-button[category="logging"] {
196 -moz-image-region: rect(24px, 8px, 32px, 0);
199 .webconsole-msg-console > .webconsole-msg-icon-container {
200 -moz-border-start: solid #cbcbcb 6px;
203 .webconsole-msg-console.webconsole-msg-error,
204 .webconsole-msg-output.webconsole-msg-error {
205 -moz-image-region: rect(24px, 16px, 32px, 8px);
208 .webconsole-msg-console.webconsole-msg-warn {
209 -moz-image-region: rect(24px, 24px, 32px, 16px);
212 .webconsole-msg-console.webconsole-msg-info {
213 -moz-image-region: rect(24px, 32px, 32px, 24px);
216 /* Input and output styles */
217 .webconsole-msg-input > .webconsole-msg-icon-container,
218 .webconsole-msg-output > .webconsole-msg-icon-container {
219 border-left: solid #808080 6px;
222 .webconsole-msg-input {
223 -moz-image-region: rect(24px, 40px, 32px, 32px);
226 .webconsole-msg-output {
227 -moz-image-region: rect(24px, 48px, 32px, 40px);
230 .webconsole-close-button {
234 list-style-image: url("chrome://global/skin/icons/close-button.gif");
237 .webconsole-close-button:hover,
238 .webconsole-close-button:hover:active {
239 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
244 .jsterm-wrapper-node {
245 font-family: "Liberation Mono", Consolas, "Courier New", monospace;
247 background-color: #000;
248 border: 1px solid #333;
254 .jsterm-output-node {
258 background-color: black;
262 -moz-box-direction: reverse;
265 .jsterm-scroll-to-node {
266 height: 1px; width: 1px; position: relative; top: 92%; display: block;
270 .jsterm-complete-node {
276 background: url("chrome://global/skin/icons/commandline.png") 4px 3px no-repeat;
279 :-moz-any(.jsterm-input-node,
280 .jsterm-complete-node) > .textbox-input-box > .textbox-textarea {
284 .jsterm-complete-node > .textbox-input-box > .textbox-textarea {
288 .jsterm-output-line {
292 .hud-console-filter-toolbar {
293 -moz-box-align: center;
297 -moz-appearance: none;
298 background-color: black;
301 .web-console-panel > .hud-box {
304 background-color: black;