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");
24 menulist > menupopup {
25 -moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars");
28 /* LCARStrek special bindings */
31 -moz-binding: url("chrome://global/skin/globalBindings.xml#statusbar");
35 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar");
39 -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar");
42 toolbaritem > menubar {
43 -moz-binding: url("chrome://global/content/bindings/toolbar.xml#menubar");
46 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
47 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
48 toolbar.chromeclass-menubar {
49 -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar");
54 /* ::::: root elements ::::: */
61 background-color: #000000;
63 /* font: 3mm "Final Frontier",tahoma,arial,helvetica,sans-serif; */
64 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
70 background-color: #000000;
73 -moz-padding-start: 8px;
74 -moz-padding-end: 10px;
77 /* ::::: alert icons :::::*/
83 .authentication-icon {
89 list-style-image: url("chrome://global/skin/icons/alert-message.gif");
92 .alert-dialog #info\.icon,
94 list-style-image: url("chrome://global/skin/icons/alert-exclam.gif");
98 list-style-image: url("chrome://global/skin/icons/alert-error.gif");
102 .authentication-icon {
103 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
106 /* ::::: iframe ::::: */
116 /* ::::: statusbar ::::: */
124 background-color: #8050B0;
125 -moz-padding-start: 2px;
127 -moz-box-align: stretch;
131 border-radius: 9px 0px 0px 9px;
132 background-color: #6000CF;
134 -moz-margin-end: 3px;
138 border-radius: 0px 9px 9px 0px;
139 background-color: #6000CF;
141 -moz-margin-start: 3px;
145 -moz-box-align: center;
146 -moz-box-pack: center;
147 border-left: 3px solid black;
151 statusbarpanel:first-child {
155 statusbarpanel:not(.statusbar-resizerpanel):-moz-lwtheme {
156 -moz-appearance: none;
157 border-top-style: none;
158 border-bottom-style: none;
159 -moz-border-start-style: none;
162 .statusbar-resizerpanel {
168 .statusbarpanel-iconic,
169 .statusbarpanel-iconic-text,
170 .statusbarpanel-menu-iconic {
173 .statusbarpanel-progress {
174 -moz-box-orient: vertical;
178 .toolbar-focustarget {
179 -moz-user-focus: ignore !important;
182 toolbar[mode="text"] .toolbarbutton-text {
183 /* padding: 0 !important;
184 margin: 3px 5px !important; */
187 /* ::::: miscellaneous formatting ::::: */
190 [lwthemefooter="true"] {
191 -moz-appearance: none;
194 :root:-moz-lwtheme-darktext {
195 text-shadow: 0 -0.5px 1.5px #FFCF00;
198 :root:-moz-lwtheme-brighttext {
199 text-shadow: 1px 1px 2px #000000;
202 statusbar:-moz-lwtheme,
203 sidebarheader:-moz-lwtheme {
204 -moz-appearance: none;
210 /* border: 1px inset #FF9F00;
211 margin: 0px 5px 5px; */
215 /* border: 1px outset #FF9F00; */
219 separator:not([orient="vertical"]) {
223 separator[orient="vertical"] {
227 separator.thin:not([orient="vertical"]) {
231 separator.thin[orient="vertical"] {
235 separator.groove:not([orient="vertical"]) {
236 border-top: 2px groove #FF9F00;
239 margin-bottom: 0.4em;
242 separator.groove[orient="vertical"] {
243 border-left: 2px groove #FF9F00;
244 -moz-margin-start: 0.4em;
245 -moz-margin-end: 0.4em;
248 /* groove separators (0 padding, for dividing effects) */
249 separator.groove-thin {
250 border-top: 2px groove #FF9F00;
254 separator[orient="vertical"].groove-thin {
255 border-left: 2px groove #FF9F00;
263 -moz-appearance: none;
264 margin: 0px !important;
274 label[disabled="true"] {
279 /* margin-bottom: 4px; */
291 font-family: "Liberation Mono", Consolas, "Courier New", monospace;
295 /* -moz-margin-start: 23px; */
296 -moz-margin-start: 15px;
308 padding: 15px 35px 10px;
317 text-decoration: underline;
320 .text-link:-moz-focusring {
321 /* Don't specify the outline-color, we should always use initial value. */
325 popupnotificationcontent {
329 /* :::::: autoscroll popup ::::: */
337 background-image: url("chrome://global/skin/icons/autoscroll.png");
338 background-color: transparent;
339 -moz-appearance: none;
342 .autoscroller[scrolldir="NS"] {
343 background-position: left center;
346 .autoscroller[scrolldir="EW"] {
347 background-position: left bottom;
350 .autoscroller[transparent="true"] {
351 background-position: center top;
354 .autoscroller[transparent="true"][scrolldir="NS"] {
355 background-position: center center;
358 .autoscroller[transparent="true"][scrolldir="EW"] {
359 background-position: center bottom;
362 .autoscroller[translucent="true"] {
363 background-position: right top;
366 .autoscroller[translucent="true"][scrolldir="NS"] {
367 background-position: right center;
370 .autoscroller[translucent="true"][scrolldir="EW"] {
371 background-position: right bottom;