/* ***** BEGIN LICENSE BLOCK ***** * Version: NPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Netscape Public License * Version 1.1 (the "License"); you may not use this file except in * compliance with the License. You may obtain a copy of the License at * http://www.mozilla.org/NPL/ * * Software distributed under the License is distributed on an "AS IS" basis, * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License * for the specific language governing rights and limitations under the * License. * * The Original Code is mozilla.org code. * * The Initial Developer of the Original Code is * Netscape Communications Corporation. * Portions created by the Initial Developer are Copyright (C) 1998-1999 * the Initial Developer. All Rights Reserved. * * Contributor(s): * Robert Kaiser * * Alternatively, the contents of this file may be used under the terms of * either the GNU General Public License Version 2 or later (the "GPL"), or * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), * in which case the provisions of the GPL or the LGPL are applicable instead * of those above. If you wish to allow use of your version of this file only * under the terms of either the GPL or the LGPL, and not to allow others to * use your version of this file under the terms of the NPL, indicate your * decision by deleting the provisions above and replace them with the notice * and other provisions required by the GPL or the LGPL. If you do not delete * the provisions above, a recipient may use your version of this file under * the terms of any one of the NPL, the GPL or the LGPL. * * ***** END LICENSE BLOCK ***** */ /* ===== global.css ===================================================== == Styles that apply everywhere. ======================================================================= */ /* all localizable skin settings shall live here */ @import url("chrome://global/locale/intl.css"); @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* ::::: XBL bindings ::::: */ checkbox { -moz-binding: url("chrome://global/content/bindings/checkbox.xml#checkbox-with-spacing"); } radio { -moz-binding: url("chrome://global/skin/globalBindings.xml#radio-with-spacing"); } menulist > menupopup, .menulist-menupopup { -moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars"); } .menulist-compact { -moz-binding: url("chrome://global/skin/globalBindings.xml#menulist-compact"); } /* progressmeter[mode="undetermined"] { -moz-binding: url("chrome://global/content/bindings/progressmeter.xml#progressmeter-undetermined"); } */ /* ::::: root elements ::::: */ window, page, dialog, wizard, prefwindow { background-color: #CCD0DD; color: #000000; font: 11px helvetica,arial,tahoma,sans-serif; } window.dialog { padding-top: 8px; padding-bottom: 10px; -moz-padding-start: 8px; -moz-padding-end: 10px; } /* ::::: alert icons :::::*/ .message-icon, .alert-icon, .error-icon, .question-icon, .authentication-icon { width: 32px; height: 32px; } .message-icon { list-style-image: url("chrome://global/skin/icons/alert-message.gif"); } .alert-icon { list-style-image: url("chrome://global/skin/icons/alert-exclam.gif"); } .error-icon { list-style-image: url("chrome://global/skin/icons/alert-error.gif"); } .question-icon, .authentication-icon { list-style-image: url("chrome://global/skin/icons/alert-question.gif"); } /* ::::: iframe ::::: */ iframe { border: none; width: 100px; height: 100px; min-width: 10px; min-height: 10px; } /* ::::: statusbar ::::: */ statusbar { border-top: 1px solid #9999CC; background-color: #666699; color: #CCD0DD; min-height: 16px; } statusbarpanel { -moz-box-align: center; -moz-box-pack: center; padding: 0px 1px; } .statusbar-resizerpanel { -moz-box-align: end; -moz-box-pack: end; padding: 0px; } .statusbarpanel-iconic, .statusbarpanel-iconic-text, .statusbarpanel-menu-iconic { padding: 0px 1px; } resizer[dir="bottomright"] { cursor: se-resize; } window:not([active="true"]) menubar > menu { color: #808080; } .toolbar-focustarget { -moz-user-focus: ignore !important; } /* ::::: miscellaneous formatting ::::: */ .inset { border: 1px inset #CCD0DD; /* margin: 0px 5px 5px; */ } .outset { border: 1px outset #CCD0DD; } /* separators */ separator:not([orient="vertical"]) { height: 1.5em; } separator[orient="vertical"] { width: 1.5em; } separator.thin:not([orient="vertical"]) { height: 0.5em; } separator.thin[orient="vertical"] { width: 0.5em; } separator.groove:not([orient="vertical"]) { border-top: 2px groove #CCD0DD; height: 0px; margin-top: 0.4em; margin-bottom: 0.4em; } separator.groove[orient="vertical"] { border-left: 2px groove #CCD0DD; -moz-margin-start: 0.4em; -moz-margin-end: 0.4em; } /* groove separators (0 padding, for dividing effects) */ separator.groove-thin { border-top: 2px groove #CCD0DD; height: 0px; } separator[orient="vertical"].groove-thin { border-left: 2px groove #CCD0DD; } .small-margin { margin: 0px 1px; } .plain { margin: 0px !important; border: none; padding: 0px; } description, label { cursor: default; margin: 1px 3px; } label[disabled="true"] { color: #808080; } description { /* margin-bottom: 4px; */ } .tooltip-label { margin: 0px; } .header { font-weight: bold; } .monospace { font-family: monospace; } .indent { /* -moz-margin-start: 23px; */ -moz-margin-start: 15px; } .box-padded { padding: 5px; } .spaced { margin: 1px 3px; } .wizard-box { padding: 15px 35px 10px; } .text-link { color: blue; text-decoration: underline; cursor: pointer; } .text-link:focus { color: red; /* Don't specify the outline-color, we should always use initial value. */ outline: 1px dotted; } .text-link:hover:active { color: red; } .text-link[visited="true"] { color: purple; } /* :::::: autoscroll popup ::::: */ #autoscroller { height: 28px; width: 28px; border: 0px; margin: -14px; padding: 0px; background-image: url("chrome://global/skin/icons/autoscroll.png"); background-color: transparent; -moz-appearance: none; } #autoscroller[scrolldir="NS"] { background-position: left center; } #autoscroller[scrolldir="EW"] { background-position: left bottom; } #autoscroller[transparent="true"] { background-position: center top; } #autoscroller[transparent="true"][scrolldir="NS"] { background-position: center center; } #autoscroller[transparent="true"][scrolldir="EW"] { background-position: center bottom; } #autoscroller[translucent="true"] { background-position: right top; } #autoscroller[translucent="true"][scrolldir="NS"] { background-position: right center; } #autoscroller[translucent="true"][scrolldir="EW"] { background-position: right bottom; }