1 /* ***** BEGIN LICENSE BLOCK *****
2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 * The contents of this file are subject to the Mozilla Public License Version
5 * 1.1 (the "License"); you may not use this file except in compliance with
6 * the License. You may obtain a copy of the License at
7 * http://www.mozilla.org/MPL/
9 * Software distributed under the License is distributed on an "AS IS" basis,
10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 * for the specific language governing rights and limitations under the
14 * The Original Code is Mozilla Communicator client code, released
17 * The Initial Developer of the Original Code is
18 * Netscape Communications Corporation.
19 * Portions created by the Initial Developer are Copyright (C) 1998-1999
20 * the Initial Developer. All Rights Reserved.
23 * Kevin Gerich (webmail@kmgerich.com)
25 * Alternatively, the contents of this file may be used under the terms of
26 * either the GNU General Public License Version 2 or later (the "GPL"), or
27 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 * in which case the provisions of the GPL or the LGPL are applicable instead
29 * of those above. If you wish to allow use of your version of this file only
30 * under the terms of either the GPL or the LGPL, and not to allow others to
31 * use your version of this file under the terms of the MPL, indicate your
32 * decision by deleting the provisions above and replace them with the notice
33 * and other provisions required by the GPL or the LGPL. If you do not delete
34 * the provisions above, a recipient may use your version of this file under
35 * the terms of any one of the MPL, the GPL or the LGPL.
37 * ***** END LICENSE BLOCK ***** */
39 /* all localizable skin settings shall live here */
40 @import url
("chrome://global/locale/intl.css");
43 @namespace url
("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
45 /* ::::: XBL bindings ::::: */
49 -moz-binding: url
("chrome://global/content/bindings/popup.xml#popup-scrollbars");
53 -moz-binding: url
("chrome://global/content/bindings/menulist.xml#menulist-compact");
56 /* ::::: draggable elements ::::: */
58 toolbar:not
([nowindowdrag
="true"]) {
59 -moz-binding: url
("chrome://global/content/bindings/toolbar.xml#toolbar-drag");
62 statusbar:not
([nowindowdrag
="true"]) {
63 -moz-binding: url
("chrome://global/content/bindings/general.xml#statusbar-drag");
67 -moz-binding: url
("chrome://global/content/bindings/general.xml#windowdragbox");
70 /* ::::: root elements ::::: */
77 -moz-appearance: dialog
;
78 background-color: #FFFFFF;
79 color: -moz-DialogText
;
83 prefwindow
[type
="child"] {
86 -moz-padding-start: 18px;
87 -moz-padding-end: 20px;
94 -moz-padding-start: 8px;
95 -moz-padding-end: 10px;
98 /* ::::: alert icons :::::*/
107 -moz-margin-end: 20px;
111 list-style-image: url
("chrome://global/skin/icons/information-64.png");
115 list-style-image: url
("chrome://global/skin/icons/warning-64.png");
119 list-style-image: url
("chrome://global/skin/icons/error-64.png");
123 list-style-image: url
("chrome://global/skin/icons/question-64.png");
126 /* ::::: iframe ::::: */
136 /* ::::: statusbar ::::: */
139 min-width: 1px; /* DON'T DELETE!
140 Prevents hiding of scrollbars in browser when window is made smaller.*/
141 min-height: 15px !important
;
142 margin: 0px !important
;
143 /* need to use -moz-padding-end when/if bug 631729 gets fixed: */
144 padding: 0px 16px 1px 1px;
145 -moz-appearance: statusbar
;
146 text-shadow: rgba
(255, 255, 255, 0.4) 0 1px;
150 -moz-box-align: center
;
151 -moz-box-pack: center
;
155 .statusbarpanel-iconic {
159 /* ::::: miscellaneous formatting ::::: */
162 [lwthemefooter
="true"] {
163 -moz-appearance: none
;
166 :root:-moz-lwtheme-darktext
{
167 text-shadow: 1px 1px 1.5px white
;
170 :root:-moz-lwtheme-brighttext
{
171 text-shadow: 1px 1px 1.5px black
;
174 statusbar:-moz-lwtheme
{
175 -moz-appearance: none
;
178 text-shadow: inherit
;
182 border: 1px solid ThreeDShadow
;
183 border-right-color: ThreeDHighlight
;
184 border-bottom-color: ThreeDHighlight
;
189 border: 1px solid ThreeDShadow
;
190 border-left-color: ThreeDHighlight
;
191 border-top-color: ThreeDHighlight
;
194 separator:not
([orient
="vertical"]) {
197 separator
[orient
="vertical"] {
201 separator
.thin:not
([orient
="vertical"]) {
204 separator
.thin
[orient
="vertical"] {
208 separator
.groove:not
([orient
="vertical"]) {
209 border-top: 1px solid
#A3A3A3;
212 margin-bottom: 0.4em;
214 separator
.groove
[orient
="vertical"] {
215 border-left: 1px solid
#A3A3A3;
222 -moz-appearance: none
;
223 margin: 0 !important
;
237 label
[disabled
="true"] {
255 font-family: monospace
;
259 -moz-margin-start: 23px;
271 padding: 20px 44px 10px;
275 color: -moz-nativehyperlinktext
;
276 text-decoration: underline
;
277 border: 1px solid transparent
;
281 .text-link:-moz-focusring {
282 border: 1px dotted
-moz-DialogText
;
285 .toolbar-focustarget {
286 -moz-user-focus: ignore
!important
;
289 notification
> button
{
294 -moz-appearance: none
;
295 border-radius: 10000px;
296 border: @roundButtonBorder@
;
297 text-shadow: @loweredShadow@
;
298 background: @roundButtonBackground@
;
299 box-shadow: @roundButtonShadow@
;
302 notification
> button:active:hover
{
303 background: @roundButtonPressedBackground@
;
304 box-shadow: @roundButtonPressedShadow@
;
307 notification
> button:-moz-focusring
{
308 box-shadow: @focusRingShadow@
, @roundButtonShadow@
;
311 notification
> button:active:hover:-moz-focusring
{
312 box-shadow: @focusRingShadow@
, @roundButtonPressedShadow@
;
315 notification
> button
> .button-box
> .button-text
{
316 margin: 0 !important
;
319 /* :::::: autoscroll popup ::::: */
327 background-image: url
("chrome://global/skin/icons/autoscroll.png");
328 background-color: transparent
;
329 background-position: right top
;
330 -moz-appearance: none
;
331 -moz-window-shadow: none
;
334 .autoscroller[scrolldir="NS"] {
335 background-position: right center
;
338 .autoscroller[scrolldir="EW"] {
339 background-position: right bottom
;
342 /* autorepeatbuttons in menus */
344 .popup-internal-box > autorepeatbutton {
347 /* Here we're using a little magic.
348 * The arrow button is supposed to overlay the scrollbox, blocking
349 * everything under it from reaching the screen. However, the menu background
350 * is slightly transparent, so how can we block something completely without
351 * messing up the transparency? It's easy: The native theming of the
352 * "menuitem" appearance uses CGContextClearRect before drawing, which
353 * clears everything under it.
354 * Without help from native theming this effect wouldn't be achievable.
356 -moz-appearance: menuitem
;
359 .popup-internal-box > .autorepeatbutton-up {
360 margin-bottom: -15px;
363 .popup-internal-box > .autorepeatbutton-down {
367 .popup-internal-box > autorepeatbutton[disabled="true"] {
368 visibility: collapse
;