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/skin/globalBindings.xml#radio");
20 menulist > menupopup {
21 -moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars");
24 /* LCARStrek special bindings */
27 -moz-binding: url("chrome://global/skin/globalBindings.xml#statusbar");
31 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar");
35 -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar");
38 toolbaritem > menubar {
39 -moz-binding: url("chrome://global/content/bindings/toolbar.xml#menubar");
42 @media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
43 /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
44 toolbar.chromeclass-menubar {
45 -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar");
50 /* ::::: Variables ::::: */
52 --arrowpanel-padding: 6px;
53 --arrowpanel-background: #000000;
54 --arrowpanel-color: #FF9F00;
55 --arrowpanel-border-color: #FF9F00;
58 /* ::::: root elements ::::: */
65 background-color: #000000;
67 /* font: 3mm "Final Frontier",tahoma,arial,helvetica,sans-serif; */
68 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
74 background-color: #000000;
77 padding-inline-start: 8px;
78 padding-inline-end: 10px;
81 /* ::::: alert icons :::::*/
87 .authentication-icon {
93 list-style-image: url("chrome://global/skin/icons/alert-message.gif");
96 .alert-dialog #info\.icon,
98 list-style-image: url("chrome://global/skin/icons/alert-exclam.gif");
102 list-style-image: url("chrome://global/skin/icons/alert-error.gif");
106 .authentication-icon {
107 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
110 /* ::::: iframe ::::: */
120 /* ::::: statusbar ::::: */
128 background-color: #8050B0;
129 padding-inline-start: 2px;
131 -moz-box-align: stretch;
135 border-radius: 9px 0px 0px 9px;
136 background-color: #6000CF;
138 margin-inline-end: 3px;
142 border-radius: 0px 9px 9px 0px;
143 background-color: #6000CF;
145 margin-inline-start: 3px;
149 -moz-box-align: center;
150 -moz-box-pack: center;
151 border-left: 3px solid black;
155 statusbarpanel:first-child {
159 statusbarpanel:not(.statusbar-resizerpanel):-moz-lwtheme {
160 -moz-appearance: none;
161 border-top-style: none;
162 border-bottom-style: none;
163 border-inline-start-style: none;
166 .statusbar-resizerpanel {
172 .statusbarpanel-iconic,
173 .statusbarpanel-iconic-text,
174 .statusbarpanel-menu-iconic {
177 .statusbarpanel-progress {
178 -moz-box-orient: vertical;
182 .toolbar-focustarget {
183 -moz-user-focus: ignore !important;
186 toolbar[mode="text"] .toolbarbutton-text {
187 /* padding: 0 !important;
188 margin: 3px 5px !important; */
191 /* ::::: miscellaneous formatting ::::: */
194 [lwthemefooter="true"] {
195 -moz-appearance: none;
198 :root:-moz-lwtheme-darktext {
199 text-shadow: 0 -0.5px 1.5px #FFCF00;
202 :root:-moz-lwtheme-brighttext {
203 text-shadow: 1px 1px 2px #000000;
206 statusbar:-moz-lwtheme,
207 sidebarheader:-moz-lwtheme {
208 -moz-appearance: none;
214 /* border: 1px inset #FF9F00;
215 margin: 0px 5px 5px; */
219 /* border: 1px outset #FF9F00; */
223 separator:not([orient="vertical"]) {
227 separator[orient="vertical"] {
231 separator.thin:not([orient="vertical"]) {
235 separator.thin[orient="vertical"] {
239 separator.groove:not([orient="vertical"]) {
240 border-top: 2px groove #FF9F00;
243 margin-bottom: 0.4em;
246 separator.groove[orient="vertical"] {
247 border-left: 2px groove #FF9F00;
248 margin-inline-start: 0.4em;
249 margin-inline-end: 0.4em;
252 /* groove separators (0 padding, for dividing effects) */
253 separator.groove-thin {
254 border-top: 2px groove #FF9F00;
258 separator[orient="vertical"].groove-thin {
259 border-left: 2px groove #FF9F00;
267 -moz-appearance: none;
268 margin: 0px !important;
278 label[disabled="true"] {
283 /* margin-bottom: 4px; */
295 font-family: "Liberation Mono", Consolas, "Courier New", monospace;
299 /* margin-inline-start: 23px; */
300 margin-inline-start: 15px;
312 padding: 15px 35px 10px;
321 text-decoration: underline;
324 .text-link:-moz-focusring {
325 /* Don't specify the outline-color, we should always use initial value. */
329 popupnotificationcontent {
333 /* === BEGIN notification-popup.inc.css === */
335 .popup-notification-panel > .panel-arrowcontainer > .panel-arrowcontent {
336 /* In order to display the action buttons near the edge of the arrow panel we
337 * have to reset its default padding and specify the padding in the individual
338 * "popupnotification" elements instead. To keep the rounded borders of the
339 * panel, we also have to ensure the contents are clipped to the border box
340 * by hiding the overflow, and we have to override the "display" property so
341 * that the height of the contents is computed correctly in that case. */
347 /* === END notification-popup.inc.css === */
349 /* :::::: autoscroll popup ::::: */
357 background-image: url("chrome://global/skin/icons/autoscroll.png");
358 background-color: transparent;
359 -moz-appearance: none;
362 .autoscroller[scrolldir="NS"] {
363 background-position: left center;
366 .autoscroller[scrolldir="EW"] {
367 background-position: left bottom;
370 .autoscroller[transparent="true"] {
371 background-position: center top;
374 .autoscroller[transparent="true"][scrolldir="NS"] {
375 background-position: center center;
378 .autoscroller[transparent="true"][scrolldir="EW"] {
379 background-position: center bottom;
382 .autoscroller[translucent="true"] {
383 background-position: right top;
386 .autoscroller[translucent="true"][scrolldir="NS"] {
387 background-position: right center;
390 .autoscroller[translucent="true"][scrolldir="EW"] {
391 background-position: right bottom;
394 /* :::::: Close button icons ::::: */
397 list-style-image: url("chrome://global/skin/icons/close.png");
398 -moz-image-region: rect(0, 16px, 16px, 0);
402 .close-icon:hover:active {
403 -moz-image-region: rect(0, 32px, 16px, 16px);
406 .close-icon > .button-icon,
407 .close-icon > .button-box > .button-icon,
408 .close-icon > .toolbarbutton-icon {