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 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme), (-moz-mac-yosemite-theme) {
52 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
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 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme), (-moz-mac-yosemite-theme) {
62 /* this is a usable workaround to detect we're on Mac OS */
64 background-color:red !important;
68 @media not (-moz-mac-graphite-theme), not (-moz-mac-lion-theme), not (-moz-mac-yosemite-theme) {
69 /* this is a usable workaround to detect we're on Mac OS */
71 border: 1px solid blue !important;
75 @media not all and (-moz-mac-graphite-theme), not all and (-moz-mac-lion-theme), not all and (-moz-mac-yosemite-theme) {
76 /* this is a usable workaround to detect we're on Mac OS */
78 background-color: lightblue !important;
83 @media not (-moz-mac-graphite-theme, -moz-mac-lion-theme, -moz-mac-yosemite-theme) {
84 /* this is a usable workaround to detect we're on Mac OS */
86 border: 1px solid green !important;
90 /* ::::: root elements ::::: */
97 background-color: #000000;
99 /* font: 3mm "Final Frontier",tahoma,arial,helvetica,sans-serif; */
100 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
106 background-color: #000000;
108 padding-bottom: 10px;
109 -moz-padding-start: 8px;
110 -moz-padding-end: 10px;
113 /* ::::: alert icons :::::*/
119 .authentication-icon {
125 list-style-image: url("chrome://global/skin/icons/alert-message.gif");
129 list-style-image: url("chrome://global/skin/icons/alert-exclam.gif");
133 list-style-image: url("chrome://global/skin/icons/alert-error.gif");
137 .authentication-icon {
138 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
141 /* ::::: iframe ::::: */
151 /* ::::: statusbar ::::: */
159 background-color: #8050B0;
160 -moz-padding-start: 2px;
162 -moz-box-align: stretch;
166 border-radius: 9px 0px 0px 9px;
167 background-color: #6000CF;
169 -moz-margin-end: 3px;
173 border-radius: 0px 9px 9px 0px;
174 background-color: #6000CF;
176 -moz-margin-start: 3px;
180 -moz-box-align: center;
181 -moz-box-pack: center;
182 border-left: 3px solid black;
186 statusbarpanel:first-child {
190 statusbarpanel:not(.statusbar-resizerpanel):-moz-lwtheme {
191 -moz-appearance: none;
192 border-top-style: none;
193 border-bottom-style: none;
194 -moz-border-start-style: none;
197 .statusbar-resizerpanel {
203 .statusbarpanel-iconic,
204 .statusbarpanel-iconic-text,
205 .statusbarpanel-menu-iconic {
208 .statusbarpanel-progress {
209 -moz-box-orient: vertical;
213 .toolbar-focustarget {
214 -moz-user-focus: ignore !important;
217 toolbar[mode="text"] .toolbarbutton-text {
218 /* padding: 0 !important;
219 margin: 3px 5px !important; */
222 /* ::::: miscellaneous formatting ::::: */
225 [lwthemefooter="true"] {
226 -moz-appearance: none;
229 :root:-moz-lwtheme-darktext {
230 text-shadow: 0 -0.5px 1.5px #FFCF00;
233 :root:-moz-lwtheme-brighttext {
234 text-shadow: 1px 1px 2px #000000;
237 statusbar:-moz-lwtheme,
238 sidebarheader:-moz-lwtheme {
239 -moz-appearance: none;
245 /* border: 1px inset #FF9F00;
246 margin: 0px 5px 5px; */
250 /* border: 1px outset #FF9F00; */
254 separator:not([orient="vertical"]) {
258 separator[orient="vertical"] {
262 separator.thin:not([orient="vertical"]) {
266 separator.thin[orient="vertical"] {
270 separator.groove:not([orient="vertical"]) {
271 border-top: 2px groove #FF9F00;
274 margin-bottom: 0.4em;
277 separator.groove[orient="vertical"] {
278 border-left: 2px groove #FF9F00;
279 -moz-margin-start: 0.4em;
280 -moz-margin-end: 0.4em;
283 /* groove separators (0 padding, for dividing effects) */
284 separator.groove-thin {
285 border-top: 2px groove #FF9F00;
289 separator[orient="vertical"].groove-thin {
290 border-left: 2px groove #FF9F00;
298 -moz-appearance: none;
299 margin: 0px !important;
309 label[disabled="true"] {
314 /* margin-bottom: 4px; */
326 font-family: "Liberation Mono", Consolas, "Courier New", monospace;
330 /* -moz-margin-start: 23px; */
331 -moz-margin-start: 15px;
343 padding: 15px 35px 10px;
352 text-decoration: underline;
355 .text-link:-moz-focusring {
356 /* Don't specify the outline-color, we should always use initial value. */
360 /* :::::: autoscroll popup ::::: */
368 background-image: url("chrome://global/skin/icons/autoscroll.png");
369 background-color: transparent;
370 -moz-appearance: none;
373 .autoscroller[scrolldir="NS"] {
374 background-position: left center;
377 .autoscroller[scrolldir="EW"] {
378 background-position: left bottom;
381 .autoscroller[transparent="true"] {
382 background-position: center top;
385 .autoscroller[transparent="true"][scrolldir="NS"] {
386 background-position: center center;
389 .autoscroller[transparent="true"][scrolldir="EW"] {
390 background-position: center bottom;
393 .autoscroller[translucent="true"] {
394 background-position: right top;
397 .autoscroller[translucent="true"][scrolldir="NS"] {
398 background-position: right center;
401 .autoscroller[translucent="true"][scrolldir="EW"] {
402 background-position: right bottom;