finish up 2.5 versions of the themes
[themes.git] / EarlyBlue / global / console / console.css
CommitLineData
f6e0a33f 1/* ***** BEGIN LICENSE BLOCK *****
2 * Version: NPL 1.1/GPL 2.0/LGPL 2.1
3 *
4 * The contents of this file are subject to the Netscape Public License
5 * Version 1.1 (the "License"); you may not use this file except in
6 * compliance with the License. You may obtain a copy of the License at
7 * http://www.mozilla.org/NPL/
8 *
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
12 * License.
13 *
14 * The Original Code is mozilla.org code.
15 *
df8c26c4 16 * The Initial Developer of the Original Code is
f6e0a33f 17 * Netscape Communications Corporation.
18 * Portions created by the Initial Developer are Copyright (C) 1998-1999
19 * the Initial Developer. All Rights Reserved.
20 *
21 * Contributor(s):
128000f4 22 * Robert Kaiser <KaiRo@KaiRo.at>
f6e0a33f 23 *
24 * Alternatively, the contents of this file may be used under the terms of
df8c26c4 25 * either the GNU General Public License Version 2 or later (the "GPL"), or
f6e0a33f 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 NPL, 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 NPL, the GPL or the LGPL.
35 *
36 * ***** END LICENSE BLOCK ***** */
37
74d14f90 38/* ===== console.css ====================================================
d84b9613 39 == Styles used by the Error Console window.
74d14f90 40 ======================================================================= */
41
df8c26c4
RK
42@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
43
74d14f90 44.console-box {
45 background-color: #CCD0DD;
46 color: #000000;
47}
df8c26c4 48
74d14f90 49/* ::::: console rows ::::: */
f6e0a33f 50
74d14f90 51.console-row {
52 padding: 0px;
6daee013 53 border-bottom: 1px solid #666699;
74d14f90 54}
f6e0a33f 55
74d14f90 56.console-row-icon {
6daee013 57 border-right: 1px solid #666699;
74d14f90 58 padding: 5px;
59 background-color: #CCCCCC;
60 -moz-box-align: start;
61}
f6e0a33f 62
df8c26c4
RK
63.console-row-msg > label,
64.console-row-file > label:first-child {
65 display: none;
66}
67
74d14f90 68.console-icon {
df8c26c4
RK
69 list-style-image: inherit;
70}
71
72.console-error-msg {
73 margin-bottom: 2px;
74d14f90 74}
f6e0a33f 75
74d14f90 76/* ..... error rows ..... */
f6e0a33f 77
74d14f90 78.console-row-code {
df8c26c4
RK
79 padding-top: 3px;
80 padding-bottom: 3px;
81 -moz-padding-start: 3px;
82 -moz-padding-end: 0px;
74d14f90 83 font-size: larger;
84 color: #0000BB;
85}
f6e0a33f 86
74d14f90 87.console-dots,
88.console-caret {
89 height: 9px;
90}
f6e0a33f 91
74d14f90 92.console-dots {
93 background: url("chrome://global/skin/console/console-error-dash.gif") repeat-x top;
94}
f6e0a33f 95
74d14f90 96.console-caret {
97 width: 7px;
98 background: url("chrome://global/skin/console/console-error-caret.gif") no-repeat top;
99}
f6e0a33f 100
74d14f90 101/* ..... message rows ..... */
f6e0a33f 102
74d14f90 103.console-row[type="message"] {
104 font-family: monospace;
df8c26c4 105}
f6e0a33f 106
74d14f90 107/* ..... selected state ..... */
f6e0a33f 108
74d14f90 109.console-row[selected="true"] {
110 background-color: #336699;
df8c26c4 111 color: #FFFFFF;
74d14f90 112}
f6e0a33f 113
114.console-row-code[selected="true"],
74d14f90 115.console-row-content[selected="true"] > .console-row-file > .console-error-source > .text-link {
d84b9613 116 color: inherit !important;
74d14f90 117}
f6e0a33f 118
119/* ::::: icons ::::: */
120
121.console-row[type="error"],
d84b9613 122.console-row[type="exception"] {
123 list-style-image: url("chrome://global/skin/icons/alert-error.gif");
124}
f6e0a33f 125
df8c26c4
RK
126.console-row[type="error"] .console-row-msg,
127.console-row[type="exception"] .console-row-msg {
128 font-weight: bold;
129}
130
d84b9613 131.console-row[type="warning"] {
132 list-style-image: url("chrome://global/skin/icons/alert-exclam.gif");
133}
f6e0a33f 134
135.console-row[type="message"] {
d84b9613 136 list-style-image: url("chrome://global/skin/icons/alert-message.gif");
f6e0a33f 137}
138
139/* ::::: toolbars ::::: */
140
74d14f90 141#TextboxEval {
02920d2b 142 margin: 1px 2px;
74d14f90 143}
f6e0a33f 144
74d14f90 145#ButtonEval {
02920d2b
RK
146 margin-top: 1px;
147 margin-bottom: 1px;
148 -moz-margin-start: 0;
149 -moz-margin-end: 2px;
74d14f90 150}
f6e0a33f 151
74d14f90 152toolbarseparator {
153 min-height: 1em;
154}
df8c26c4
RK
155
156/* Toolbar icons */
157
158#ToolbarMode toolbarbutton {
159 min-width: 57px;
160 padding: 0px 4px;
161 /* XXX: don't support icons on those yet
162 padding: 4px !important;
163 */
164}
165
166toolbar#ToolbarMode toolbarbutton:active,
167toolbar#ToolbarMode toolbarbutton[checked="true"] {
168 -moz-padding-start: 5px !important;
169 -moz-padding-end: 3px !important;
170}
171
172/* XXX: don't support icons on those yet
173
174
175toolbar#ToolbarMode toolbarbutton {
176 list-style-image: url("chrome://global/skin/console/console-toolbar.png");
177 -moz-box-orient: horizontal;
178 padding: 4px !important;
179}
180
4d12b027 181#Console\:modeAll {
df8c26c4
RK
182 -moz-image-region: rect(0px 24px 24px 0px);
183}
184
4d12b027
RK
185#Console\:modeAll:hover,
186#Console\:modeAll[checked="true"] {
df8c26c4
RK
187 -moz-image-region: rect(24px 24px 48px 0px);
188}
189
4d12b027 190#Console\:modeErrors {
df8c26c4
RK
191 -moz-image-region: rect(0px 96px 24px 72px);
192}
193
4d12b027
RK
194#Console\:modeErrors:hover,
195#Console\:modeErrors[checked="true"] {
df8c26c4
RK
196 -moz-image-region: rect(24px 96px 48px 72px);
197}
198
4d12b027 199#Console\:modeWarnings {
df8c26c4
RK
200 -moz-image-region: rect(0px 72px 24px 48px);
201}
202
4d12b027
RK
203#Console\:modeWarnings:hover,
204#Console\:modeWarnings[checked="true"] {
df8c26c4
RK
205 -moz-image-region: rect(24px 72px 48px 48px);
206}
207
4d12b027 208#Console\:modeMessages {
df8c26c4
RK
209 -moz-image-region: rect(0px 48px 24px 24px);
210}
211
4d12b027
RK
212#Console\:modeMessages:hover,
213#Console\:modeMessages[checked="true"] {
df8c26c4
RK
214 -moz-image-region: rect(24px 48px 48px 24px);
215}
216
4d12b027 217#Console\:clear {
df8c26c4
RK
218 -moz-image-region: rect(0px 120px 24px 96px);
219}
220
4d12b027
RK
221#Console\:clear:hover,
222#Console\:clear[checked="true"] {
df8c26c4
RK
223 -moz-image-region: rect(24px 120px 48px 96px);
224}
225
226toolbar#ToolbarMode .toolbarbutton-icon {
227 padding: 2px 0 !important;
228}
229
230toolbar#ToolbarMode .toolbarbutton-text {
231 -moz-padding-end: 4px;
232}
233
234*/
235
236/* ::::: Fix Error Console toolbar button text spacing ::::: */
237
238.toolbarbutton-text {
239 -moz-padding-start: 0px;
240 -moz-padding-end: 5px;
241}