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 /* ===== global.css =====================================================
6 == Styles that apply everywhere.
7 ======================================================================= */
9 /* all localizable skin settings shall live here */
10 @import url("chrome://global/locale/intl.css");
12 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
14 /* ::::: XBL bindings ::::: */
17 -moz-binding: url("chrome://global/content/bindings/checkbox.xml#checkbox-with-spacing");
21 -moz-binding: url("chrome://global/skin/globalBindings.xml#radio-with-spacing");
26 -moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars");
30 -moz-binding: url("chrome://global/skin/globalBindings.xml#menulist-compact");
33 /* LCARStrek special bindings */
36 -moz-binding: url("chrome://global/skin/globalBindings.xml#statusbar");
40 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar");
44 -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar");
47 toolbaritem > menubar {
48 -moz-binding: url("chrome://global/content/bindings/toolbar.xml#menubar");
51 @supports ( :-moz-system-metric(mac-graphite-theme) ) {
52 /* this is a usable workaround to detect we're on Mac OS */
53 toolbar.chromeclass-menubar {
54 -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar");
59 /* HACK TEST ONLY: try several mac supports rules! */
61 @supports ( :-moz-system-metric(mac-graphite-theme) ) {
62 /* this is a usable workaround to detect we're on Mac OS */
64 background-color:red !important;
68 @supports ( color: -moz-mac-accentface ) {
69 /* this is a usable workaround to detect we're on Mac OS */
71 border: 1px solid green !important;
75 /* ::::: root elements ::::: */
82 background-color: #000000;
84 /* font: 3mm "Final Frontier",tahoma,arial,helvetica,sans-serif; */
85 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
91 background-color: #000000;
94 -moz-padding-start: 8px;
95 -moz-padding-end: 10px;
98 /* ::::: alert icons :::::*/
104 .authentication-icon {
110 list-style-image: url("chrome://global/skin/icons/alert-message.gif");
114 list-style-image: url("chrome://global/skin/icons/alert-exclam.gif");
118 list-style-image: url("chrome://global/skin/icons/alert-error.gif");
122 .authentication-icon {
123 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
126 /* ::::: iframe ::::: */
136 /* ::::: statusbar ::::: */
144 background-color: #8050B0;
145 -moz-padding-start: 2px;
147 -moz-box-align: stretch;
151 border-radius: 9px 0px 0px 9px;
152 background-color: #6000CF;
154 -moz-margin-end: 3px;
158 border-radius: 0px 9px 9px 0px;
159 background-color: #6000CF;
161 -moz-margin-start: 3px;
165 -moz-box-align: center;
166 -moz-box-pack: center;
167 border-left: 3px solid black;
171 statusbarpanel:first-child {
175 statusbarpanel:not(.statusbar-resizerpanel):-moz-lwtheme {
176 -moz-appearance: none;
177 border-top-style: none;
178 border-bottom-style: none;
179 -moz-border-start-style: none;
182 .statusbar-resizerpanel {
188 .statusbarpanel-iconic,
189 .statusbarpanel-iconic-text,
190 .statusbarpanel-menu-iconic {
193 .statusbarpanel-progress {
194 -moz-box-orient: vertical;
198 .toolbar-focustarget {
199 -moz-user-focus: ignore !important;
202 toolbar[mode="text"] .toolbarbutton-text {
203 /* padding: 0 !important;
204 margin: 3px 5px !important; */
207 /* ::::: miscellaneous formatting ::::: */
210 [lwthemefooter="true"] {
211 -moz-appearance: none;
214 :root:-moz-lwtheme-darktext {
215 text-shadow: 0 -0.5px 1.5px #FFCF00;
218 :root:-moz-lwtheme-brighttext {
219 text-shadow: 1px 1px 2px #000000;
222 statusbar:-moz-lwtheme,
223 sidebarheader:-moz-lwtheme {
224 -moz-appearance: none;
230 /* border: 1px inset #FF9F00;
231 margin: 0px 5px 5px; */
235 /* border: 1px outset #FF9F00; */
239 separator:not([orient="vertical"]) {
243 separator[orient="vertical"] {
247 separator.thin:not([orient="vertical"]) {
251 separator.thin[orient="vertical"] {
255 separator.groove:not([orient="vertical"]) {
256 border-top: 2px groove #FF9F00;
259 margin-bottom: 0.4em;
262 separator.groove[orient="vertical"] {
263 border-left: 2px groove #FF9F00;
264 -moz-margin-start: 0.4em;
265 -moz-margin-end: 0.4em;
268 /* groove separators (0 padding, for dividing effects) */
269 separator.groove-thin {
270 border-top: 2px groove #FF9F00;
274 separator[orient="vertical"].groove-thin {
275 border-left: 2px groove #FF9F00;
283 -moz-appearance: none;
284 margin: 0px !important;
294 label[disabled="true"] {
299 /* margin-bottom: 4px; */
311 font-family: "Liberation Mono", Consolas, "Courier New", monospace;
315 /* -moz-margin-start: 23px; */
316 -moz-margin-start: 15px;
328 padding: 15px 35px 10px;
337 text-decoration: underline;
340 .text-link:-moz-focusring {
341 /* Don't specify the outline-color, we should always use initial value. */
345 /* :::::: autoscroll popup ::::: */
353 background-image: url("chrome://global/skin/icons/autoscroll.png");
354 background-color: transparent;
355 -moz-appearance: none;
358 .autoscroller[scrolldir="NS"] {
359 background-position: left center;
362 .autoscroller[scrolldir="EW"] {
363 background-position: left bottom;
366 .autoscroller[transparent="true"] {
367 background-position: center top;
370 .autoscroller[transparent="true"][scrolldir="NS"] {
371 background-position: center center;
374 .autoscroller[transparent="true"][scrolldir="EW"] {
375 background-position: center bottom;
378 .autoscroller[translucent="true"] {
379 background-position: right top;
382 .autoscroller[translucent="true"][scrolldir="NS"] {
383 background-position: right center;
386 .autoscroller[translucent="true"][scrolldir="EW"] {
387 background-position: right bottom;