| 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 |
| 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 | checkbox { |
| 52 | -moz-binding: url("chrome://global/content/bindings/checkbox.xml#checkbox-with-spacing"); |
| 53 | } |
| 54 | |
| 55 | radio { |
| 56 | -moz-binding: url("chrome://global/skin/globalBindings.xml#radio-with-spacing"); |
| 57 | } |
| 58 | |
| 59 | menulist > menupopup, |
| 60 | .menulist-menupopup { |
| 61 | -moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars"); |
| 62 | } |
| 63 | |
| 64 | .menulist-compact { |
| 65 | -moz-binding: url("chrome://global/skin/globalBindings.xml#menulist-compact"); |
| 66 | } |
| 67 | |
| 68 | /* LCARStrek special bindings */ |
| 69 | |
| 70 | statusbar { |
| 71 | -moz-binding: url("chrome://global/skin/globalBindings.xml#statusbar"); |
| 72 | } |
| 73 | |
| 74 | toolbar { |
| 75 | -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar"); |
| 76 | } |
| 77 | |
| 78 | menubar { |
| 79 | -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar"); |
| 80 | } |
| 81 | |
| 82 | /* |
| 83 | progressmeter[mode="undetermined"] { |
| 84 | -moz-binding: url("chrome://global/content/bindings/progressmeter.xml#progressmeter-undetermined"); |
| 85 | } |
| 86 | */ |
| 87 | |
| 88 | /* ::::: root elements ::::: */ |
| 89 | |
| 90 | window, |
| 91 | page, |
| 92 | dialog, |
| 93 | wizard { |
| 94 | background-color: #000000; |
| 95 | color: #FF9F00; |
| 96 | /* font: 3mm "Final Frontier",tahoma,arial,helvetica,sans-serif; */ |
| 97 | font: 11px helvetica,arial,tahoma,sans-serif; |
| 98 | padding: 3px; |
| 99 | } |
| 100 | |
| 101 | /* deprecated */ |
| 102 | window.dialog { |
| 103 | background-color: #000000; |
| 104 | padding: 8px 10px 10px 8px; |
| 105 | } |
| 106 | |
| 107 | [wait-cursor] { |
| 108 | cursor: wait !important; |
| 109 | } |
| 110 | |
| 111 | /* ::::: alert icons :::::*/ |
| 112 | |
| 113 | .message-icon, |
| 114 | .alert-icon, |
| 115 | .error-icon, |
| 116 | .question-icon { |
| 117 | width: 32px; |
| 118 | height: 32px; |
| 119 | } |
| 120 | |
| 121 | .message-icon { |
| 122 | list-style-image: url("chrome://global/skin/icons/alert-message.gif"); |
| 123 | } |
| 124 | |
| 125 | .alert-icon { |
| 126 | list-style-image: url("chrome://global/skin/icons/alert-exclam.gif"); |
| 127 | } |
| 128 | |
| 129 | .error-icon { |
| 130 | list-style-image: url("chrome://global/skin/icons/alert-error.gif"); |
| 131 | } |
| 132 | |
| 133 | .question-icon { |
| 134 | list-style-image: url("chrome://global/skin/icons/alert-question.gif"); |
| 135 | } |
| 136 | |
| 137 | /* ::::: iframe ::::: */ |
| 138 | |
| 139 | iframe { |
| 140 | border: none; |
| 141 | width: 100px; |
| 142 | height: 100px; |
| 143 | min-width: 10px; |
| 144 | min-height: 10px; |
| 145 | } |
| 146 | |
| 147 | /* ::::: statusbar ::::: */ |
| 148 | |
| 149 | statusbar { |
| 150 | margin-top: 3px; |
| 151 | min-width: 1px; |
| 152 | } |
| 153 | |
| 154 | .statusbar-center { |
| 155 | background-color: #8050B0; |
| 156 | padding-left: 2px; |
| 157 | color: #000000; |
| 158 | -moz-box-align: center; |
| 159 | } |
| 160 | |
| 161 | .statusbar-left { |
| 162 | -moz-border-radius: 9px 0px 0px 9px; |
| 163 | background-color: #6000CF; |
| 164 | width: 13px; |
| 165 | margin-right: 3px; |
| 166 | } |
| 167 | |
| 168 | .statusbar-right { |
| 169 | -moz-border-radius: 0px 9px 9px 0px; |
| 170 | background-color: #6000CF; |
| 171 | width: 13px; |
| 172 | margin-left: 3px; |
| 173 | } |
| 174 | |
| 175 | statusbarpanel { |
| 176 | -moz-box-align: center; |
| 177 | -moz-box-pack: center; |
| 178 | padding: 0px 1px 0px 1px; |
| 179 | } |
| 180 | |
| 181 | .statusbar-resizerpanel { |
| 182 | -moz-box-align: end; |
| 183 | -moz-box-pack: end; |
| 184 | padding: 0px; |
| 185 | } |
| 186 | |
| 187 | .statusbarpanel-iconic { |
| 188 | padding: 0px; |
| 189 | } |
| 190 | |
| 191 | resizer[dir="bottomright"] { |
| 192 | cursor: se-resize; |
| 193 | } |
| 194 | |
| 195 | /* ::::: miscellaneous ::::: */ |
| 196 | |
| 197 | .toolbar-focustarget { |
| 198 | -moz-user-focus: ignore !important; |
| 199 | } |
| 200 | |
| 201 | description.error { |
| 202 | color: #FF0000; |
| 203 | } |