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/. */
5 /* ===== console.css ====================================================
6 == Styles used by the Error Console window.
7 ======================================================================= */
9 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
12 background-color: #000000;
16 /* ::::: console rows ::::: */
20 border-bottom: 1px solid #FF9F00;
24 border-right: 1px solid #FF9F00;
26 background-color: #9C9CFF;
27 -moz-box-align: start;
30 .console-row-msg > label:first-child,
31 .console-row-file > label:first-child {
36 font-weight: normal !important;
40 list-style-image: inherit;
47 /* ..... error rows ..... */
52 -moz-padding-start: 3px;
53 -moz-padding-end: 0px;
64 background: url("chrome://global/skin/console/console-error-dash.gif") repeat-x top;
69 background: url("chrome://global/skin/console/console-error-caret.gif") no-repeat top;
72 /* ..... message rows ..... */
74 .console-row[type="message"] {
75 font-family: "Liberation Mono", Consolas, "Courier New", monospace;
78 /* ..... selected state ..... */
80 .console-row[selected="true"] {
81 background-color: #FFCF00;
85 .console-row-code[selected="true"],
86 .console-row-content[selected="true"] > .console-row-file > .console-error-source > .text-link {
87 color: inherit !important;
90 /* ::::: icons ::::: */
92 .console-row[type="error"],
93 .console-row[type="exception"] {
94 list-style-image: url("chrome://global/skin/icons/alert-error.gif");
97 .console-row[type="error"] .console-row-msg,
98 .console-row[type="exception"] .console-row-msg {
102 .console-row[type="warning"] {
103 list-style-image: url("chrome://global/skin/icons/alert-exclam.gif");
106 .console-row[type="message"] {
107 list-style-image: url("chrome://global/skin/icons/alert-message.gif");
110 /* ::::: toolbars ::::: */
119 -moz-margin-start: 0;
120 -moz-margin-end: 2px;
129 #ToolbarMode toolbarbutton {
132 /* XXX: don't support icons on those yet
133 padding: 4px !important;
137 toolbar#ToolbarMode toolbarbutton:active,
138 toolbar#ToolbarMode toolbarbutton[checked="true"] {
139 -moz-padding-start: 5px !important;
140 -moz-padding-end: 3px !important;
143 /* XXX: don't support icons on those yet
146 toolbar#ToolbarMode toolbarbutton {
147 list-style-image: url("chrome://global/skin/console/console-toolbar.png");
148 -moz-box-orient: horizontal;
149 padding: 4px !important;
153 -moz-image-region: rect(0px 24px 24px 0px);
156 #Console\:modeAll:hover,
157 #Console\:modeAll[checked="true"] {
158 -moz-image-region: rect(24px 24px 48px 0px);
161 #Console\:modeErrors {
162 -moz-image-region: rect(0px 96px 24px 72px);
165 #Console\:modeErrors:hover,
166 #Console\:modeErrors[checked="true"] {
167 -moz-image-region: rect(24px 96px 48px 72px);
170 #Console\:modeWarnings {
171 -moz-image-region: rect(0px 72px 24px 48px);
174 #Console\:modeWarnings:hover,
175 #Console\:modeWarnings[checked="true"] {
176 -moz-image-region: rect(24px 72px 48px 48px);
179 #Console\:modeMessages {
180 -moz-image-region: rect(0px 48px 24px 24px);
183 #Console\:modeMessages:hover,
184 #Console\:modeMessages[checked="true"] {
185 -moz-image-region: rect(24px 48px 48px 24px);
189 -moz-image-region: rect(0px 120px 24px 96px);
192 #Console\:clear:hover,
193 #Console\:clear[checked="true"] {
194 -moz-image-region: rect(24px 120px 48px 96px);
197 toolbar#ToolbarMode .toolbarbutton-icon {
198 padding: 2px 0 !important;
201 toolbar#ToolbarMode .toolbarbutton-text {
202 -moz-padding-end: 4px;
207 /* ::::: Fix Error Console toolbar button text spacing ::::: */
209 .toolbarbutton-text {
210 -moz-padding-start: 0px;
211 -moz-padding-end: 5px;