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 [lwthemefooter="true"] {
137 -moz-appearance: none;
140 :root:-moz-lwtheme-darktext {
141 text-shadow: 0 -0.5px 1.5px #FFFFFF;
144 :root:-moz-lwtheme-brighttext {
145 text-shadow: 1px 1px 2px #000000;
148 statusbar:-moz-lwtheme,
149 sidebarheader:-moz-lwtheme {
150 -moz-appearance: none;
156 border: 1px inset #CCD0DD;
157 /* margin: 0px 5px 5px; */
161 border: 1px outset #CCD0DD;
165 separator:not([orient="vertical"]) {
169 separator[orient="vertical"] {
173 separator.thin:not([orient="vertical"]) {
177 separator.thin[orient="vertical"] {
181 separator.groove:not([orient="vertical"]) {
182 border-top: 2px groove #CCD0DD;
185 margin-bottom: 0.4em;
188 separator.groove[orient="vertical"] {
189 border-left: 2px groove #CCD0DD;
190 margin-inline-start: 0.4em;
191 margin-inline-end: 0.4em;
194 /* groove separators (0 padding, for dividing effects) */
195 separator.groove-thin {
196 border-top: 2px groove #CCD0DD;
200 separator[orient="vertical"].groove-thin {
201 border-left: 2px groove #CCD0DD;
209 -moz-appearance: none;
210 margin: 0px !important;
220 label[disabled="true"] {
225 /* margin-bottom: 4px; */
237 font-family: "Liberation Mono", Consolas, "Courier New", monospace;
241 /* margin-inline-start: 23px; */
242 margin-inline-start: 15px;
254 padding: 15px 35px 10px;
263 text-decoration: underline;
266 .text-link:-moz-focusring {
267 /* Don't specify the outline-color, we should always use initial value. */
271 popupnotificationcontent {
275 /* === BEGIN notification-popup.inc.css === */
277 .popup-notification-panel > .panel-arrowcontainer > .panel-arrowcontent {
278 /* In order to display the action buttons near the edge of the arrow panel we
279 * have to reset its default padding and specify the padding in the individual
280 * "popupnotification" elements instead. To keep the rounded borders of the
281 * panel, we also have to ensure the contents are clipped to the border box
282 * by hiding the overflow, and we have to override the "display" property so
283 * that the height of the contents is computed correctly in that case. */
289 /* === END notification-popup.inc.css === */
291 /* :::::: autoscroll popup ::::: */
299 background-image: url("chrome://global/skin/icons/autoscroll.png");
300 background-color: transparent;
301 -moz-appearance: none;
304 .autoscroller[scrolldir="NS"] {
305 background-position: left center;
308 .autoscroller[scrolldir="EW"] {
309 background-position: left bottom;
312 .autoscroller[transparent="true"] {
313 background-position: center top;
316 .autoscroller[transparent="true"][scrolldir="NS"] {
317 background-position: center center;
320 .autoscroller[transparent="true"][scrolldir="EW"] {
321 background-position: center bottom;
324 .autoscroller[translucent="true"] {
325 background-position: right top;
328 .autoscroller[translucent="true"][scrolldir="NS"] {
329 background-position: right center;
332 .autoscroller[translucent="true"][scrolldir="EW"] {
333 background-position: right bottom;