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");
34 progressmeter[mode="undetermined"] {
35 -moz-binding: url("chrome://global/content/bindings/progressmeter.xml#progressmeter-undetermined");
39 /* ::::: root elements ::::: */
46 background-color: #CCD0DD;
48 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
54 -moz-padding-start: 8px;
55 -moz-padding-end: 10px;
58 /* ::::: alert icons :::::*/
64 .authentication-icon {
70 list-style-image: url("chrome://global/skin/icons/alert-message.gif");
74 list-style-image: url("chrome://global/skin/icons/alert-exclam.gif");
78 list-style-image: url("chrome://global/skin/icons/alert-error.gif");
82 .authentication-icon {
83 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
86 /* ::::: iframe ::::: */
96 /* ::::: statusbar ::::: */
99 border-top: 1px solid #9999CC;
100 background-color: #666699;
106 -moz-box-align: center;
107 -moz-box-pack: center;
111 statusbarpanel:not(.statusbar-resizerpanel):-moz-lwtheme {
112 -moz-appearance: none;
113 border-top-style: none;
114 border-bottom-style: none;
115 -moz-border-start-style: none;
118 .statusbar-resizerpanel {
124 .statusbarpanel-iconic,
125 .statusbarpanel-iconic-text,
126 .statusbarpanel-menu-iconic {
130 .toolbar-focustarget {
131 -moz-user-focus: ignore !important;
134 toolbar[mode="text"] .toolbarbutton-text {
135 /* padding: 0 !important;
136 margin: 3px 5px !important; */
139 /* ::::: miscellaneous formatting ::::: */
142 [lwthemefooter="true"] {
143 -moz-appearance: none;
146 :root:-moz-lwtheme-darktext {
147 text-shadow: 1px 1px 2px #FFFFFF;
150 :root:-moz-lwtheme-brighttext {
151 text-shadow: 1px 1px 2px #000000;
154 statusbar:-moz-lwtheme,
155 sidebarheader:-moz-lwtheme {
156 -moz-appearance: none;
162 border: 1px inset #CCD0DD;
163 /* margin: 0px 5px 5px; */
167 border: 1px outset #CCD0DD;
171 separator:not([orient="vertical"]) {
175 separator[orient="vertical"] {
179 separator.thin:not([orient="vertical"]) {
183 separator.thin[orient="vertical"] {
187 separator.groove:not([orient="vertical"]) {
188 border-top: 2px groove #CCD0DD;
191 margin-bottom: 0.4em;
194 separator.groove[orient="vertical"] {
195 border-left: 2px groove #CCD0DD;
196 -moz-margin-start: 0.4em;
197 -moz-margin-end: 0.4em;
200 /* groove separators (0 padding, for dividing effects) */
201 separator.groove-thin {
202 border-top: 2px groove #CCD0DD;
206 separator[orient="vertical"].groove-thin {
207 border-left: 2px groove #CCD0DD;
215 -moz-appearance: none;
216 margin: 0px !important;
226 label[disabled="true"] {
231 /* margin-bottom: 4px; */
243 font-family: "Liberation Mono", Consolas, "Courier New", monospace;
247 /* -moz-margin-start: 23px; */
248 -moz-margin-start: 15px;
260 padding: 15px 35px 10px;
265 text-decoration: underline;
269 .text-link:-moz-focusring {
270 /* Don't specify the outline-color, we should always use initial value. */
274 /* :::::: autoscroll popup ::::: */
282 background-image: url("chrome://global/skin/icons/autoscroll.png");
283 background-color: transparent;
284 -moz-appearance: none;
287 .autoscroller[scrolldir="NS"] {
288 background-position: left center;
291 .autoscroller[scrolldir="EW"] {
292 background-position: left bottom;
295 .autoscroller[transparent="true"] {
296 background-position: center top;
299 .autoscroller[transparent="true"][scrolldir="NS"] {
300 background-position: center center;
303 .autoscroller[transparent="true"][scrolldir="EW"] {
304 background-position: center bottom;
307 .autoscroller[translucent="true"] {
308 background-position: right top;
311 .autoscroller[translucent="true"][scrolldir="NS"] {
312 background-position: right center;
315 .autoscroller[translucent="true"][scrolldir="EW"] {
316 background-position: right bottom;