| 1 | /* ***** BEGIN LICENSE BLOCK ***** |
| 2 | * Version: NPL 1.1/GPL 2.0/LGPL 2.1 |
| 3 | * |
| 4 | * The contents of this file are subject to the Netscape Public License |
| 5 | * Version 1.1 (the "License"); you may not use this file except in |
| 6 | * compliance with the License. You may obtain a copy of the License at |
| 7 | * http://www.mozilla.org/NPL/ |
| 8 | * |
| 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 |
| 12 | * License. |
| 13 | * |
| 14 | * The Original Code is mozilla.org code. |
| 15 | * |
| 16 | * The Initial Developer of the Original Code is |
| 17 | * Netscape Communications Corporation. |
| 18 | * Portions created by the Initial Developer are Copyright (C) 1998-1999 |
| 19 | * the Initial Developer. All Rights Reserved. |
| 20 | * |
| 21 | * Contributor(s): |
| 22 | * Robert Kaiser <KaiRo@KaiRo.at> |
| 23 | * |
| 24 | * Alternatively, the contents of this file may be used under the terms of |
| 25 | * either the GNU General Public License Version 2 or later (the "GPL"), or |
| 26 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
| 27 | * in which case the provisions of the GPL or the LGPL are applicable instead |
| 28 | * of those above. If you wish to allow use of your version of this file only |
| 29 | * under the terms of either the GPL or the LGPL, and not to allow others to |
| 30 | * use your version of this file under the terms of the NPL, indicate your |
| 31 | * decision by deleting the provisions above and replace them with the notice |
| 32 | * and other provisions required by the GPL or the LGPL. If you do not delete |
| 33 | * the provisions above, a recipient may use your version of this file under |
| 34 | * the terms of any one of the NPL, the GPL or the LGPL. |
| 35 | * |
| 36 | * ***** END LICENSE BLOCK ***** */ |
| 37 | |
| 38 | /* ===== global.css ===================================================== |
| 39 | == Styles that apply everywhere. |
| 40 | ======================================================================= */ |
| 41 | |
| 42 | /* all localizable skin settings shall live here */ |
| 43 | @import url("chrome://global/locale/intl.css"); |
| 44 | |
| 45 | @import url("chrome://global/skin/formatting.css"); |
| 46 | |
| 47 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
| 48 | |
| 49 | /* ::::: XBL bindings ::::: */ |
| 50 | |
| 51 | radio { |
| 52 | -moz-binding: url("chrome://global/skin/globalBindings.xml#radio"); |
| 53 | } |
| 54 | |
| 55 | menulist > menupopup, |
| 56 | .menulist-menupopup { |
| 57 | -moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars"); |
| 58 | } |
| 59 | |
| 60 | .menulist-compact { |
| 61 | -moz-binding: url("chrome://global/content/bindings/menulist.xml#menulist-compact"); |
| 62 | } |
| 63 | |
| 64 | /* ::::: root elements ::::: */ |
| 65 | |
| 66 | window, |
| 67 | page, |
| 68 | dialog, |
| 69 | wizard { |
| 70 | background-color: #CCD0DD; |
| 71 | color: #000000; |
| 72 | font: 11px helvetica,arial,tahoma,sans-serif; |
| 73 | } |
| 74 | |
| 75 | page { |
| 76 | padding: 3px; |
| 77 | } |
| 78 | |
| 79 | /* deprecated */ |
| 80 | window.dialog { |
| 81 | padding: 8px 10px 10px 8px; |
| 82 | } |
| 83 | |
| 84 | [wait-cursor] { |
| 85 | cursor: wait !important; |
| 86 | } |
| 87 | |
| 88 | /* ::::: alert icons :::::*/ |
| 89 | |
| 90 | .message-icon, |
| 91 | .alert-icon, |
| 92 | .error-icon, |
| 93 | .question-icon { |
| 94 | width: 32px; |
| 95 | height: 32px; |
| 96 | } |
| 97 | |
| 98 | .message-icon { |
| 99 | list-style-image: url("chrome://global/skin/icons/alert-message.gif"); |
| 100 | } |
| 101 | |
| 102 | .alert-icon { |
| 103 | list-style-image: url("chrome://global/skin/icons/alert-exclam.gif"); |
| 104 | } |
| 105 | |
| 106 | .error-icon { |
| 107 | list-style-image: url("chrome://global/skin/icons/alert-error.gif"); |
| 108 | } |
| 109 | |
| 110 | .question-icon { |
| 111 | list-style-image: url("chrome://global/skin/icons/alert-question.gif"); |
| 112 | } |
| 113 | |
| 114 | /* ::::: iframe ::::: */ |
| 115 | |
| 116 | iframe { |
| 117 | border: none; |
| 118 | width: 100px; |
| 119 | height: 100px; |
| 120 | min-width: 10px; |
| 121 | min-height: 10px; |
| 122 | } |
| 123 | |
| 124 | /* ::::: statusbar ::::: */ |
| 125 | |
| 126 | statusbar { |
| 127 | border-top: 1px solid #9999CC; |
| 128 | background-color: #666699; |
| 129 | color: #CCD0DD; |
| 130 | min-width: 1px; |
| 131 | } |
| 132 | |
| 133 | statusbarpanel { |
| 134 | -moz-box-align: center; |
| 135 | -moz-box-pack: center; |
| 136 | padding: 0px 1px 0px 1px; |
| 137 | } |
| 138 | |
| 139 | |
| 140 | .statusbar-resizerpanel { |
| 141 | -moz-box-align: end; |
| 142 | -moz-box-pack: end; |
| 143 | padding: 0px; |
| 144 | } |
| 145 | |
| 146 | .statusbarpanel-iconic { |
| 147 | padding: 0px; |
| 148 | } |
| 149 | |
| 150 | resizer[dir="bottomright"] { |
| 151 | cursor: se-resize; |
| 152 | } |
| 153 | |
| 154 | /* ::::: miscellaneous ::::: */ |
| 155 | |
| 156 | .toolbar-focustarget { |
| 157 | -moz-user-focus: ignore !important; |
| 158 | } |