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 (not -moz-mac-graphite-theme) and (not -moz-mac-lion-theme) and (not -moz-mac-yosemite-theme) {
62 /* this is a usable workaround to detect we're on Mac OS */
64 border: 1px solid blue !important;
68 @media not all and (-moz-mac-graphite-theme) and (-moz-mac-lion-theme) and (-moz-mac-yosemite-theme) {
69 /* this is a usable workaround to detect we're on Mac OS */
71 background-color: lightblue !important;
76 @media not (-moz-mac-graphite-theme, -moz-mac-lion-theme, -moz-mac-yosemite-theme) {
77 /* this is a usable workaround to detect we're on Mac OS */
79 border: 1px solid green !important;
83 /* ::::: root elements ::::: */
90 background-color: #000000;
92 /* font: 3mm "Final Frontier",tahoma,arial,helvetica,sans-serif; */
93 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
99 background-color: #000000;
101 padding-bottom: 10px;
102 -moz-padding-start: 8px;
103 -moz-padding-end: 10px;
106 /* ::::: alert icons :::::*/
112 .authentication-icon {
118 list-style-image: url("chrome://global/skin/icons/alert-message.gif");
122 list-style-image: url("chrome://global/skin/icons/alert-exclam.gif");
126 list-style-image: url("chrome://global/skin/icons/alert-error.gif");
130 .authentication-icon {
131 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
134 /* ::::: iframe ::::: */
144 /* ::::: statusbar ::::: */
152 background-color: #8050B0;
153 -moz-padding-start: 2px;
155 -moz-box-align: stretch;
159 border-radius: 9px 0px 0px 9px;
160 background-color: #6000CF;
162 -moz-margin-end: 3px;
166 border-radius: 0px 9px 9px 0px;
167 background-color: #6000CF;
169 -moz-margin-start: 3px;
173 -moz-box-align: center;
174 -moz-box-pack: center;
175 border-left: 3px solid black;
179 statusbarpanel:first-child {
183 statusbarpanel:not(.statusbar-resizerpanel):-moz-lwtheme {
184 -moz-appearance: none;
185 border-top-style: none;
186 border-bottom-style: none;
187 -moz-border-start-style: none;
190 .statusbar-resizerpanel {
196 .statusbarpanel-iconic,
197 .statusbarpanel-iconic-text,
198 .statusbarpanel-menu-iconic {
201 .statusbarpanel-progress {
202 -moz-box-orient: vertical;
206 .toolbar-focustarget {
207 -moz-user-focus: ignore !important;
210 toolbar[mode="text"] .toolbarbutton-text {
211 /* padding: 0 !important;
212 margin: 3px 5px !important; */
215 /* ::::: miscellaneous formatting ::::: */
218 [lwthemefooter="true"] {
219 -moz-appearance: none;
222 :root:-moz-lwtheme-darktext {
223 text-shadow: 0 -0.5px 1.5px #FFCF00;
226 :root:-moz-lwtheme-brighttext {
227 text-shadow: 1px 1px 2px #000000;
230 statusbar:-moz-lwtheme,
231 sidebarheader:-moz-lwtheme {
232 -moz-appearance: none;
238 /* border: 1px inset #FF9F00;
239 margin: 0px 5px 5px; */
243 /* border: 1px outset #FF9F00; */
247 separator:not([orient="vertical"]) {
251 separator[orient="vertical"] {
255 separator.thin:not([orient="vertical"]) {
259 separator.thin[orient="vertical"] {
263 separator.groove:not([orient="vertical"]) {
264 border-top: 2px groove #FF9F00;
267 margin-bottom: 0.4em;
270 separator.groove[orient="vertical"] {
271 border-left: 2px groove #FF9F00;
272 -moz-margin-start: 0.4em;
273 -moz-margin-end: 0.4em;
276 /* groove separators (0 padding, for dividing effects) */
277 separator.groove-thin {
278 border-top: 2px groove #FF9F00;
282 separator[orient="vertical"].groove-thin {
283 border-left: 2px groove #FF9F00;
291 -moz-appearance: none;
292 margin: 0px !important;
302 label[disabled="true"] {
307 /* margin-bottom: 4px; */
319 font-family: "Liberation Mono", Consolas, "Courier New", monospace;
323 /* -moz-margin-start: 23px; */
324 -moz-margin-start: 15px;
336 padding: 15px 35px 10px;
345 text-decoration: underline;
348 .text-link:-moz-focusring {
349 /* Don't specify the outline-color, we should always use initial value. */
353 /* :::::: autoscroll popup ::::: */
361 background-image: url("chrome://global/skin/icons/autoscroll.png");
362 background-color: transparent;
363 -moz-appearance: none;
366 .autoscroller[scrolldir="NS"] {
367 background-position: left center;
370 .autoscroller[scrolldir="EW"] {
371 background-position: left bottom;
374 .autoscroller[transparent="true"] {
375 background-position: center top;
378 .autoscroller[transparent="true"][scrolldir="NS"] {
379 background-position: center center;
382 .autoscroller[transparent="true"][scrolldir="EW"] {
383 background-position: center bottom;
386 .autoscroller[translucent="true"] {
387 background-position: right top;
390 .autoscroller[translucent="true"][scrolldir="NS"] {
391 background-position: right center;
394 .autoscroller[translucent="true"][scrolldir="EW"] {
395 background-position: right bottom;