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 /* ::::: Variables ::::: */
26 --arrowpanel-padding: 6px;
27 --arrowpanel-background: #CCD0DD;
28 --arrowpanel-color: #000000;
29 --arrowpanel-border-color: #CCD0DD;
32 /* ::::: root elements ::::: */
39 background-color: #CCD0DD;
41 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
47 padding-inline-start: 8px;
48 padding-inline-end: 10px;
51 /* ::::: alert icons :::::*/
57 .authentication-icon {
63 list-style-image: url("chrome://global/skin/icons/alert-message.gif");
66 .alert-dialog #info\.icon,
68 list-style-image: url("chrome://global/skin/icons/alert-exclam.gif");
72 list-style-image: url("chrome://global/skin/icons/alert-error.gif");
76 .authentication-icon {
77 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
80 /* ::::: iframe ::::: */
90 /* ::::: statusbar ::::: */
93 border-top: 1px solid #9999CC;
94 background-color: #666699;
100 -moz-box-align: center;
101 -moz-box-pack: center;
105 statusbarpanel:not(.statusbar-resizerpanel):-moz-lwtheme {
106 -moz-appearance: none;
107 border-top-style: none;
108 border-bottom-style: none;
109 border-inline-start-style: none;
112 .statusbar-resizerpanel {
118 .statusbarpanel-iconic,
119 .statusbarpanel-iconic-text,
120 .statusbarpanel-menu-iconic {
124 .toolbar-focustarget {
125 -moz-user-focus: ignore !important;
128 toolbar[mode="text"] .toolbarbutton-text {
129 /* padding: 0 !important;
130 margin: 3px 5px !important; */
133 /* ::::: miscellaneous formatting ::::: */
136 -moz-appearance: none;
139 :root:-moz-lwtheme-darktext {
140 text-shadow: 0 -0.5px 1.5px #FFFFFF;
143 :root:-moz-lwtheme-brighttext {
144 text-shadow: 1px 1px 2px #000000;
147 statusbar:-moz-lwtheme,
148 sidebarheader:-moz-lwtheme {
149 -moz-appearance: none;
155 border: 1px inset #CCD0DD;
156 /* margin: 0px 5px 5px; */
160 border: 1px outset #CCD0DD;
164 separator:not([orient="vertical"]) {
168 separator[orient="vertical"] {
172 separator.thin:not([orient="vertical"]) {
176 separator.thin[orient="vertical"] {
180 separator.groove:not([orient="vertical"]) {
181 border-top: 2px groove #CCD0DD;
184 margin-bottom: 0.4em;
187 separator.groove[orient="vertical"] {
188 border-left: 2px groove #CCD0DD;
189 margin-inline-start: 0.4em;
190 margin-inline-end: 0.4em;
193 /* groove separators (0 padding, for dividing effects) */
194 separator.groove-thin {
195 border-top: 2px groove #CCD0DD;
199 separator[orient="vertical"].groove-thin {
200 border-left: 2px groove #CCD0DD;
208 -moz-appearance: none;
209 margin: 0px !important;
219 label[disabled="true"] {
224 /* margin-bottom: 4px; */
236 font-family: "Liberation Mono", Consolas, "Courier New", monospace;
240 /* margin-inline-start: 23px; */
241 margin-inline-start: 15px;
253 padding: 15px 35px 10px;
262 text-decoration: underline;
265 .text-link:-moz-focusring {
266 /* Don't specify the outline-color, we should always use initial value. */
270 popupnotificationcontent {
274 /* === BEGIN notification-popup.inc.css === */
276 .popup-notification-panel > .panel-arrowcontainer > .panel-arrowcontent {
277 /* In order to display the action buttons near the edge of the arrow panel we
278 * have to reset its default padding and specify the padding in the individual
279 * "popupnotification" elements instead. To keep the rounded borders of the
280 * panel, we also have to ensure the contents are clipped to the border box
281 * by hiding the overflow, and we have to override the "display" property so
282 * that the height of the contents is computed correctly in that case. */
288 /* === END notification-popup.inc.css === */
290 /* :::::: autoscroll popup ::::: */
298 background-image: url("chrome://global/skin/icons/autoscroll.png");
299 background-color: transparent;
300 -moz-appearance: none;
303 .autoscroller[scrolldir="NS"] {
304 background-position: left center;
307 .autoscroller[scrolldir="EW"] {
308 background-position: left bottom;
311 .autoscroller[transparent="true"] {
312 background-position: center top;
315 .autoscroller[transparent="true"][scrolldir="NS"] {
316 background-position: center center;
319 .autoscroller[transparent="true"][scrolldir="EW"] {
320 background-position: center bottom;
323 .autoscroller[translucent="true"] {
324 background-position: right top;
327 .autoscroller[translucent="true"][scrolldir="NS"] {
328 background-position: right center;
331 .autoscroller[translucent="true"][scrolldir="EW"] {
332 background-position: right bottom;