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 /* ::::: Variables ::::: */
56 --panel-arrowcontent-padding: 6px;
57 --panel-arrowcontent-background: #000000;
58 --panel-arrowcontent-color: #FF9F00;
59 --panel-arrowcontent-border-color: #FF9F00;
62 /* ::::: root elements ::::: */
69 background-color: #000000;
71 /* font: 3mm "Final Frontier",tahoma,arial,helvetica,sans-serif; */
72 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
78 background-color: #000000;
81 padding-inline-start: 8px;
82 padding-inline-end: 10px;
85 /* ::::: alert icons :::::*/
91 .authentication-icon {
97 list-style-image: url("chrome://global/skin/icons/alert-message.gif");
100 .alert-dialog #info\.icon,
102 list-style-image: url("chrome://global/skin/icons/alert-exclam.gif");
106 list-style-image: url("chrome://global/skin/icons/alert-error.gif");
110 .authentication-icon {
111 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
114 /* ::::: iframe ::::: */
124 /* ::::: statusbar ::::: */
132 background-color: #8050B0;
133 padding-inline-start: 2px;
135 -moz-box-align: stretch;
139 border-radius: 9px 0px 0px 9px;
140 background-color: #6000CF;
142 margin-inline-end: 3px;
146 border-radius: 0px 9px 9px 0px;
147 background-color: #6000CF;
149 margin-inline-start: 3px;
153 -moz-box-align: center;
154 -moz-box-pack: center;
155 border-left: 3px solid black;
159 statusbarpanel:first-child {
163 statusbarpanel:not(.statusbar-resizerpanel):-moz-lwtheme {
164 -moz-appearance: none;
165 border-top-style: none;
166 border-bottom-style: none;
167 border-inline-start-style: none;
170 .statusbar-resizerpanel {
176 .statusbarpanel-iconic,
177 .statusbarpanel-iconic-text,
178 .statusbarpanel-menu-iconic {
181 .statusbarpanel-progress {
182 -moz-box-orient: vertical;
186 .toolbar-focustarget {
187 -moz-user-focus: ignore !important;
190 toolbar[mode="text"] .toolbarbutton-text {
191 /* padding: 0 !important;
192 margin: 3px 5px !important; */
195 /* ::::: miscellaneous formatting ::::: */
198 [lwthemefooter="true"] {
199 -moz-appearance: none;
202 :root:-moz-lwtheme-darktext {
203 text-shadow: 0 -0.5px 1.5px #FFCF00;
206 :root:-moz-lwtheme-brighttext {
207 text-shadow: 1px 1px 2px #000000;
210 statusbar:-moz-lwtheme,
211 sidebarheader:-moz-lwtheme {
212 -moz-appearance: none;
218 /* border: 1px inset #FF9F00;
219 margin: 0px 5px 5px; */
223 /* border: 1px outset #FF9F00; */
227 separator:not([orient="vertical"]) {
231 separator[orient="vertical"] {
235 separator.thin:not([orient="vertical"]) {
239 separator.thin[orient="vertical"] {
243 separator.groove:not([orient="vertical"]) {
244 border-top: 2px groove #FF9F00;
247 margin-bottom: 0.4em;
250 separator.groove[orient="vertical"] {
251 border-left: 2px groove #FF9F00;
252 margin-inline-start: 0.4em;
253 margin-inline-end: 0.4em;
256 /* groove separators (0 padding, for dividing effects) */
257 separator.groove-thin {
258 border-top: 2px groove #FF9F00;
262 separator[orient="vertical"].groove-thin {
263 border-left: 2px groove #FF9F00;
271 -moz-appearance: none;
272 margin: 0px !important;
282 label[disabled="true"] {
287 /* margin-bottom: 4px; */
299 font-family: "Liberation Mono", Consolas, "Courier New", monospace;
303 /* margin-inline-start: 23px; */
304 margin-inline-start: 15px;
316 padding: 15px 35px 10px;
325 text-decoration: underline;
328 .text-link:-moz-focusring {
329 /* Don't specify the outline-color, we should always use initial value. */
333 popupnotificationcontent {
337 /* :::::: autoscroll popup ::::: */
345 background-image: url("chrome://global/skin/icons/autoscroll.png");
346 background-color: transparent;
347 -moz-appearance: none;
350 .autoscroller[scrolldir="NS"] {
351 background-position: left center;
354 .autoscroller[scrolldir="EW"] {
355 background-position: left bottom;
358 .autoscroller[transparent="true"] {
359 background-position: center top;
362 .autoscroller[transparent="true"][scrolldir="NS"] {
363 background-position: center center;
366 .autoscroller[transparent="true"][scrolldir="EW"] {
367 background-position: center bottom;
370 .autoscroller[translucent="true"] {
371 background-position: right top;
374 .autoscroller[translucent="true"][scrolldir="NS"] {
375 background-position: right center;
378 .autoscroller[translucent="true"][scrolldir="EW"] {
379 background-position: right bottom;
382 /* :::::: Close button icons ::::: */
385 list-style-image: url("chrome://global/skin/icons/close.png");
386 -moz-image-region: rect(0, 16px, 16px, 0);
390 .close-icon:hover:active {
391 -moz-image-region: rect(0, 32px, 16px, 16px);
394 .close-icon > .button-icon,
395 .close-icon > .button-box > .button-icon,
396 .close-icon > .toolbarbutton-icon {