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/. */
10 border-bottom: 3px solid #000000;
14 -moz-transition: height 100ms;
22 .hud-console-wrapper {
27 /* General output styles */
29 .webconsole-timestamp {
33 font: 12px "Liberation Mono", Consolas, "Courier New", monospace;
37 list-style-image: url("chrome://browser/skin/devtools/webconsole.png");
38 -moz-image-region: rect(0, 1px, 0, 0);
41 .webconsole-msg-icon {
47 .hud-output-node div {
48 -moz-user-select: text;
49 white-space: pre-wrap;
50 -moz-user-focus: normal;
55 text-decoration: underline;
58 .webconsole-msg-body {
61 -moz-margin-start: 3px;
63 white-space: pre-wrap;
64 font: 12px "Liberation Mono", Consolas, "Courier New", monospace;
67 .webconsole-msg-body-piece {
75 /* Repeated messages */
76 .webconsole-msg-repeat {
81 background-color: #FF0000;
83 /* font: message-box; */
88 /* TODO move this and other functional rules to content - bug 635359 */
89 .webconsole-msg-repeat[value="1"] {
93 .webconsole-location {
102 .hud-msg-node[selected="true"] > .webconsole-timestamp,
103 .hud-msg-node[selected="true"] > .webconsole-location {
108 .jsterm-complete-node {
109 font: 12px "Liberation Mono", Consolas, "Courier New", monospace;
113 -moz-appearance: none;
114 border-bottom: 1px solid #9C9CFF;
115 border-top: 1px solid #9C9CFF;
119 .hud-filtered-by-type,
120 .hud-filtered-by-string {
124 .webconsole-clear-console-button > .toolbarbutton-icon {
128 .webconsole-filter-button > .toolbarbutton-menubutton-button {
129 -moz-box-orient: horizontal;
130 list-style-image: url("chrome://browser/skin/devtools/webconsole.png");
133 .webconsole-filter-button:hover:active > .toolbarbutton-menubutton-button,
134 .webconsole-filter-button[open="true"] > .toolbarbutton-menubutton-button {
137 .webconsole-filter-button {
138 -moz-margin-start: 3px;
139 padding: 0 !important;
142 .webconsole-filter-button menuitem {
143 -moz-image-region: auto;
152 .webconsole-filter-button[category="net"] {
153 -moz-image-region: rect(0, 8px, 8px, 0);
156 .webconsole-msg-network > .webconsole-msg-icon-container {
157 -moz-border-start: solid #000 6px;
160 .webconsole-msg-network.webconsole-msg-error {
161 -moz-image-region: rect(0, 16px, 8px, 8px);
165 .webconsole-filter-button[category="css"] {
166 -moz-image-region: rect(8px, 8px, 16px, 0);
169 .webconsole-msg-cssparser > .webconsole-msg-icon-container {
170 -moz-border-start: solid #00b6f0 6px;
173 .webconsole-msg-cssparser.webconsole-msg-error {
174 -moz-image-region: rect(8px, 16px, 16px, 8px);
177 .webconsole-msg-cssparser.webconsole-msg-warn {
178 -moz-image-region: rect(8px, 24px, 16px, 16px);
182 .webconsole-filter-button[category="js"] {
183 -moz-image-region: rect(16px, 8px, 24px, 0);
186 .webconsole-msg-exception > .webconsole-msg-icon-container {
187 -moz-border-start: solid #fb9500 6px;
190 .webconsole-msg-exception.webconsole-msg-error {
191 -moz-image-region: rect(16px, 16px, 24px, 8px);
194 .webconsole-msg-exception.webconsole-msg-warn {
195 -moz-image-region: rect(16px, 24px, 24px, 16px);
198 /* Web Developer styles */
199 .webconsole-filter-button[category="logging"] {
200 -moz-image-region: rect(24px, 8px, 32px, 0);
203 .webconsole-msg-console > .webconsole-msg-icon-container {
204 -moz-border-start: solid #cbcbcb 6px;
207 .webconsole-msg-console.webconsole-msg-error,
208 .webconsole-msg-output.webconsole-msg-error {
209 -moz-image-region: rect(24px, 16px, 32px, 8px);
212 .webconsole-msg-console.webconsole-msg-warn {
213 -moz-image-region: rect(24px, 24px, 32px, 16px);
216 .webconsole-msg-console.webconsole-msg-info {
217 -moz-image-region: rect(24px, 32px, 32px, 24px);
220 /* Input and output styles */
221 .webconsole-msg-input > .webconsole-msg-icon-container,
222 .webconsole-msg-output > .webconsole-msg-icon-container {
223 border-left: solid #808080 6px;
226 .webconsole-msg-input {
227 -moz-image-region: rect(24px, 40px, 32px, 32px);
230 .webconsole-msg-output {
231 -moz-image-region: rect(24px, 48px, 32px, 40px);
234 .webconsole-close-button {
238 list-style-image: url("chrome://global/skin/icons/close-button.gif");
241 .webconsole-close-button:hover,
242 .webconsole-close-button:hover:active {
243 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
248 .jsterm-wrapper-node {
249 font-family: "Liberation Mono", Consolas, "Courier New", monospace;
251 background-color: #000;
252 border: 1px solid #333;
258 .jsterm-output-node {
262 background-color: black;
266 -moz-box-direction: reverse;
269 .jsterm-scroll-to-node {
270 height: 1px; width: 1px; position: relative; top: 92%; display: block;
274 .jsterm-complete-node {
275 -moz-padding-start: 16px;
280 background: url("chrome://browser/skin/devtools/commandline.png") 4px 3px no-repeat;
283 :-moz-any(.jsterm-input-node,
284 .jsterm-complete-node) > .textbox-input-box > .textbox-textarea {
288 .jsterm-complete-node > .textbox-input-box > .textbox-textarea {
292 .jsterm-output-line {
296 .hud-console-filter-toolbar {
297 -moz-box-align: center;
301 -moz-appearance: none;
302 background-color: black;
305 .web-console-panel > .hud-box {
308 background-color: black;