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/. */
14 .hud-console-wrapper {
19 /* General output styles */
21 .webconsole-timestamp {
25 font-family: "Liberation Mono", Consolas, "Courier New", monospace;
29 list-style-image: url("chrome://browser/skin/devtools/webconsole.png");
30 -moz-image-region: rect(0, 1px, 0, 0);
33 .webconsole-msg-icon {
39 .hud-output-node div {
40 -moz-user-select: text;
41 white-space: pre-wrap;
42 -moz-user-focus: normal;
47 text-decoration: underline;
50 .webconsole-msg-body {
53 -moz-margin-start: 3px;
55 white-space: pre-wrap;
56 font-family: "Liberation Mono", Consolas, "Courier New", monospace;
59 .webconsole-msg-body-piece {
67 /* Repeated messages */
68 .webconsole-msg-repeat {
73 background-color: #FF0000;
75 /* font: message-box; */
80 /* TODO move this and other functional rules to content - bug 635359 */
81 .webconsole-msg-repeat[value="1"] {
85 .webconsole-location {
94 .hud-msg-node[selected="true"] > .webconsole-timestamp,
95 .hud-msg-node[selected="true"] > .webconsole-location {
100 .jsterm-complete-node {
101 font-family: "Liberation Mono", Consolas, "Courier New", monospace;
105 -moz-appearance: none;
106 border-bottom: 1px solid #9C9CFF;
107 border-top: 1px solid #9C9CFF;
111 .hud-filtered-by-type,
112 .hud-filtered-by-string {
116 /* WebConsole colored drops */
118 .webconsole-filter-button[checked=true] {
119 /* color: white !important; */
122 .webconsole-filter-button > .toolbarbutton-menubutton-button:before {
124 display: inline-block;
133 .webconsole-filter-button menuitem {
134 -moz-image-region: auto;
143 .webconsole-filter-button[category="net"] > .toolbarbutton-menubutton-button:before {
144 background-image: linear-gradient(#BF9B00, #7F6700);
145 border-color: #FFCF00;
148 .webconsole-msg-network > .webconsole-msg-icon-container {
149 -moz-border-start: solid #FFCF00 6px;
152 .webconsole-msg-network.webconsole-msg-error {
153 -moz-image-region: rect(0, 16px, 8px, 8px);
157 .webconsole-filter-button[category="css"] > .toolbarbutton-menubutton-button:before {
158 background-image: linear-gradient(#7575BF, #4E4E7F);
159 border-color: #9C9CFF;
162 .webconsole-msg-cssparser > .webconsole-msg-icon-container {
163 -moz-border-start: solid #9C9CFF 6px;
166 .webconsole-msg-cssparser.webconsole-msg-error {
167 -moz-image-region: rect(8px, 16px, 16px, 8px);
170 .webconsole-msg-cssparser.webconsole-msg-warn {
171 -moz-image-region: rect(8px, 24px, 16px, 16px);
175 .webconsole-filter-button[category="js"] > .toolbarbutton-menubutton-button:before {
176 background-image: linear-gradient(#BF7700, #7F4F00);
177 border-color: #FF9F00;
180 .webconsole-msg-exception > .webconsole-msg-icon-container {
181 -moz-border-start: solid #FF9F00 6px;
184 .webconsole-msg-exception.webconsole-msg-error {
185 -moz-image-region: rect(16px, 16px, 24px, 8px);
188 .webconsole-msg-exception.webconsole-msg-warn {
189 -moz-image-region: rect(16px, 24px, 24px, 16px);
192 /* Web Developer styles */
193 .webconsole-filter-button[category="logging"] > .toolbarbutton-menubutton-button:before {
194 background-image: linear-gradient(#5F3B83, #3F2756);
195 border-color: #8050B0;
198 .webconsole-msg-console > .webconsole-msg-icon-container {
199 -moz-border-start: solid #8050B0 6px;
202 .webconsole-msg-console.webconsole-msg-error,
203 .webconsole-msg-output.webconsole-msg-error {
204 -moz-image-region: rect(24px, 16px, 32px, 8px);
207 .webconsole-msg-console.webconsole-msg-warn {
208 -moz-image-region: rect(24px, 24px, 32px, 16px);
211 .webconsole-msg-console.webconsole-msg-info {
212 -moz-image-region: rect(24px, 32px, 32px, 24px);
215 webconsole-mixed-content {
219 .webconsole-mixed-content-link {
224 /* Input and output styles */
225 .webconsole-msg-input > .webconsole-msg-icon-container,
226 .webconsole-msg-output > .webconsole-msg-icon-container {
227 border-left: solid #808080 6px;
230 .webconsole-msg-input {
231 -moz-image-region: rect(24px, 40px, 32px, 32px);
234 .webconsole-msg-output {
235 -moz-image-region: rect(24px, 48px, 32px, 40px);
238 .webconsole-close-button {
242 list-style-image: url("chrome://global/skin/icons/close-button.gif");
245 .webconsole-close-button:hover,
246 .webconsole-close-button:hover:active {
247 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
253 .jsterm-complete-node {
254 -moz-padding-start: 16px;
259 background: url("chrome://browser/skin/devtools/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 {
274 * This hardcoded width likely due to a toolkit Windows specific bug.
275 * See http://hg.mozilla.org/mozilla-central/annotate/f38d6df93cad/toolkit/themes/winstripe/global/textbox-aero.css#l7