| 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 | 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 | /* |
| 69 | progressmeter[mode="undetermined"] { |
| 70 | -moz-binding: url("chrome://global/content/bindings/progressmeter.xml#progressmeter-undetermined"); |
| 71 | } |
| 72 | */ |
| 73 | |
| 74 | /* ::::: root elements ::::: */ |
| 75 | |
| 76 | window, |
| 77 | page, |
| 78 | dialog, |
| 79 | wizard, |
| 80 | prefwindow { |
| 81 | background-color: #CCD0DD; |
| 82 | color: #000000; |
| 83 | font: 11px helvetica,arial,tahoma,sans-serif; |
| 84 | } |
| 85 | |
| 86 | window.dialog { |
| 87 | padding: 8px 10px 10px 8px; |
| 88 | } |
| 89 | |
| 90 | [wait-cursor] { |
| 91 | cursor: wait !important; |
| 92 | } |
| 93 | |
| 94 | /* ::::: alert icons :::::*/ |
| 95 | |
| 96 | .message-icon, |
| 97 | .alert-icon, |
| 98 | .error-icon, |
| 99 | .question-icon, |
| 100 | .authentication-icon { |
| 101 | width: 32px; |
| 102 | height: 32px; |
| 103 | } |
| 104 | |
| 105 | .message-icon { |
| 106 | list-style-image: url("chrome://global/skin/icons/alert-message.gif"); |
| 107 | } |
| 108 | |
| 109 | .alert-icon { |
| 110 | list-style-image: url("chrome://global/skin/icons/alert-exclam.gif"); |
| 111 | } |
| 112 | |
| 113 | .error-icon { |
| 114 | list-style-image: url("chrome://global/skin/icons/alert-error.gif"); |
| 115 | } |
| 116 | |
| 117 | .question-icon, |
| 118 | .authentication-icon { |
| 119 | list-style-image: url("chrome://global/skin/icons/alert-question.gif"); |
| 120 | } |
| 121 | |
| 122 | /* ::::: iframe ::::: */ |
| 123 | |
| 124 | iframe { |
| 125 | border: none; |
| 126 | width: 100px; |
| 127 | height: 100px; |
| 128 | min-width: 10px; |
| 129 | min-height: 10px; |
| 130 | } |
| 131 | |
| 132 | /* ::::: statusbar ::::: */ |
| 133 | |
| 134 | statusbar { |
| 135 | border-top: 1px solid #9999CC; |
| 136 | background-color: #666699; |
| 137 | color: #CCD0DD; |
| 138 | min-height: 16px; |
| 139 | } |
| 140 | |
| 141 | statusbarpanel { |
| 142 | -moz-box-align: center; |
| 143 | -moz-box-pack: center; |
| 144 | padding: 0px 1px 0px 1px; |
| 145 | } |
| 146 | |
| 147 | |
| 148 | .statusbar-resizerpanel { |
| 149 | -moz-box-align: end; |
| 150 | -moz-box-pack: end; |
| 151 | padding: 0px; |
| 152 | } |
| 153 | |
| 154 | .statusbarpanel-iconic, .statusbarpanel-iconic-text, .statusbarpanel-menu-iconic { |
| 155 | padding: 0px 1px 0px 1px; |
| 156 | } |
| 157 | |
| 158 | resizer[dir="bottomright"] { |
| 159 | cursor: se-resize; |
| 160 | } |
| 161 | |
| 162 | /* ::::: miscellaneous ::::: */ |
| 163 | |
| 164 | .toolbar-focustarget { |
| 165 | -moz-user-focus: ignore !important; |
| 166 | } |
| 167 | |
| 168 | /* :::::: autoscroll popup ::::: */ |
| 169 | |
| 170 | #autoscroller { |
| 171 | height: 28px; |
| 172 | width: 28px; |
| 173 | border: 0px; |
| 174 | margin: -14px; |
| 175 | padding: 0px; |
| 176 | background-image: url("chrome://communicator/skin/icons/autoscroll.png"); |
| 177 | background-color: transparent; |
| 178 | -moz-appearance: none; |
| 179 | } |
| 180 | |
| 181 | #autoscroller[scrolldir="NS"] { |
| 182 | background-position: left center; |
| 183 | } |
| 184 | |
| 185 | #autoscroller[scrolldir="EW"] { |
| 186 | background-position: left bottom; |
| 187 | } |
| 188 | |
| 189 | #autoscroller[transparent="true"] { |
| 190 | background-position: center top; |
| 191 | } |
| 192 | |
| 193 | #autoscroller[transparent="true"][scrolldir="NS"] { |
| 194 | background-position: center center; |
| 195 | } |
| 196 | |
| 197 | #autoscroller[transparent="true"][scrolldir="EW"] { |
| 198 | background-position: center bottom; |
| 199 | } |
| 200 | |
| 201 | #autoscroller[translucent="true"] { |
| 202 | background-position: right top; |
| 203 | } |
| 204 | |
| 205 | #autoscroller[translucent="true"][scrolldir="NS"] { |
| 206 | background-position: right center; |
| 207 | } |
| 208 | |
| 209 | #autoscroller[translucent="true"][scrolldir="EW"] { |
| 210 | background-position: right bottom; |
| 211 | } |