| 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 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
| 46 | |
| 47 | /* ::::: XBL bindings ::::: */ |
| 48 | |
| 49 | checkbox { |
| 50 | -moz-binding: url("chrome://global/content/bindings/checkbox.xml#checkbox-with-spacing"); |
| 51 | } |
| 52 | |
| 53 | radio { |
| 54 | -moz-binding: url("chrome://global/skin/globalBindings.xml#radio-with-spacing"); |
| 55 | } |
| 56 | |
| 57 | menulist > menupopup, |
| 58 | .menulist-menupopup { |
| 59 | -moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars"); |
| 60 | } |
| 61 | |
| 62 | .menulist-compact { |
| 63 | -moz-binding: url("chrome://global/skin/globalBindings.xml#menulist-compact"); |
| 64 | } |
| 65 | |
| 66 | /* |
| 67 | progressmeter[mode="undetermined"] { |
| 68 | -moz-binding: url("chrome://global/content/bindings/progressmeter.xml#progressmeter-undetermined"); |
| 69 | } |
| 70 | */ |
| 71 | |
| 72 | /* ::::: root elements ::::: */ |
| 73 | |
| 74 | window, |
| 75 | page, |
| 76 | dialog, |
| 77 | wizard, |
| 78 | prefwindow { |
| 79 | background-color: #CCD0DD; |
| 80 | color: #000000; |
| 81 | font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif; |
| 82 | } |
| 83 | |
| 84 | window.dialog { |
| 85 | padding-top: 8px; |
| 86 | padding-bottom: 10px; |
| 87 | -moz-padding-start: 8px; |
| 88 | -moz-padding-end: 10px; |
| 89 | } |
| 90 | |
| 91 | /* ::::: alert icons :::::*/ |
| 92 | |
| 93 | .message-icon, |
| 94 | .alert-icon, |
| 95 | .error-icon, |
| 96 | .question-icon, |
| 97 | .authentication-icon { |
| 98 | width: 32px; |
| 99 | height: 32px; |
| 100 | } |
| 101 | |
| 102 | .message-icon { |
| 103 | list-style-image: url("chrome://global/skin/icons/alert-message.gif"); |
| 104 | } |
| 105 | |
| 106 | .alert-icon { |
| 107 | list-style-image: url("chrome://global/skin/icons/alert-exclam.gif"); |
| 108 | } |
| 109 | |
| 110 | .error-icon { |
| 111 | list-style-image: url("chrome://global/skin/icons/alert-error.gif"); |
| 112 | } |
| 113 | |
| 114 | .question-icon, |
| 115 | .authentication-icon { |
| 116 | list-style-image: url("chrome://global/skin/icons/alert-question.gif"); |
| 117 | } |
| 118 | |
| 119 | /* ::::: iframe ::::: */ |
| 120 | |
| 121 | iframe { |
| 122 | border: none; |
| 123 | width: 100px; |
| 124 | height: 100px; |
| 125 | min-width: 10px; |
| 126 | min-height: 10px; |
| 127 | } |
| 128 | |
| 129 | /* ::::: statusbar ::::: */ |
| 130 | |
| 131 | statusbar { |
| 132 | border-top: 1px solid #9999CC; |
| 133 | background-color: #666699; |
| 134 | color: #CCD0DD; |
| 135 | min-height: 16px; |
| 136 | } |
| 137 | |
| 138 | statusbarpanel { |
| 139 | -moz-box-align: center; |
| 140 | -moz-box-pack: center; |
| 141 | padding: 0px 1px; |
| 142 | } |
| 143 | |
| 144 | statusbarpanel:not(.statusbar-resizerpanel):-moz-lwtheme { |
| 145 | -moz-appearance: none; |
| 146 | border-top-style: none; |
| 147 | border-bottom-style: none; |
| 148 | -moz-border-start-style: none; |
| 149 | } |
| 150 | |
| 151 | .statusbar-resizerpanel { |
| 152 | -moz-box-align: end; |
| 153 | -moz-box-pack: end; |
| 154 | padding: 0px; |
| 155 | } |
| 156 | |
| 157 | .statusbarpanel-iconic, |
| 158 | .statusbarpanel-iconic-text, |
| 159 | .statusbarpanel-menu-iconic { |
| 160 | padding: 0px 1px; |
| 161 | } |
| 162 | |
| 163 | .toolbar-focustarget { |
| 164 | -moz-user-focus: ignore !important; |
| 165 | } |
| 166 | |
| 167 | toolbar[mode="text"] .toolbarbutton-text { |
| 168 | /* padding: 0 !important; |
| 169 | margin: 3px 5px !important; */ |
| 170 | } |
| 171 | |
| 172 | /* ::::: miscellaneous formatting ::::: */ |
| 173 | |
| 174 | :root:-moz-lwtheme, |
| 175 | [lwthemefooter="true"] { |
| 176 | -moz-appearance: none; |
| 177 | } |
| 178 | |
| 179 | :root:-moz-lwtheme-darktext { |
| 180 | text-shadow: 1px 1px 2px #FFFFFF; |
| 181 | } |
| 182 | |
| 183 | :root:-moz-lwtheme-brighttext { |
| 184 | text-shadow: 1px 1px 2px #000000; |
| 185 | } |
| 186 | |
| 187 | statusbar:-moz-lwtheme, |
| 188 | sidebarheader:-moz-lwtheme { |
| 189 | -moz-appearance: none; |
| 190 | background: none; |
| 191 | border-style: none; |
| 192 | } |
| 193 | |
| 194 | .inset { |
| 195 | border: 1px inset #CCD0DD; |
| 196 | /* margin: 0px 5px 5px; */ |
| 197 | } |
| 198 | |
| 199 | .outset { |
| 200 | border: 1px outset #CCD0DD; |
| 201 | } |
| 202 | |
| 203 | /* separators */ |
| 204 | separator:not([orient="vertical"]) { |
| 205 | height: 1.5em; |
| 206 | } |
| 207 | |
| 208 | separator[orient="vertical"] { |
| 209 | width: 1.5em; |
| 210 | } |
| 211 | |
| 212 | separator.thin:not([orient="vertical"]) { |
| 213 | height: 0.5em; |
| 214 | } |
| 215 | |
| 216 | separator.thin[orient="vertical"] { |
| 217 | width: 0.5em; |
| 218 | } |
| 219 | |
| 220 | separator.groove:not([orient="vertical"]) { |
| 221 | border-top: 2px groove #CCD0DD; |
| 222 | height: 0px; |
| 223 | margin-top: 0.4em; |
| 224 | margin-bottom: 0.4em; |
| 225 | } |
| 226 | |
| 227 | separator.groove[orient="vertical"] { |
| 228 | border-left: 2px groove #CCD0DD; |
| 229 | -moz-margin-start: 0.4em; |
| 230 | -moz-margin-end: 0.4em; |
| 231 | } |
| 232 | |
| 233 | /* groove separators (0 padding, for dividing effects) */ |
| 234 | separator.groove-thin { |
| 235 | border-top: 2px groove #CCD0DD; |
| 236 | height: 0px; |
| 237 | } |
| 238 | |
| 239 | separator[orient="vertical"].groove-thin { |
| 240 | border-left: 2px groove #CCD0DD; |
| 241 | } |
| 242 | |
| 243 | .small-margin { |
| 244 | margin: 0px 1px; |
| 245 | } |
| 246 | |
| 247 | .plain { |
| 248 | -moz-appearance: none; |
| 249 | margin: 0px !important; |
| 250 | border: none; |
| 251 | padding: 0px; |
| 252 | } |
| 253 | |
| 254 | description, label { |
| 255 | cursor: default; |
| 256 | margin: 1px 3px; |
| 257 | } |
| 258 | |
| 259 | label[disabled="true"] { |
| 260 | color: #808080; |
| 261 | } |
| 262 | |
| 263 | description { |
| 264 | /* margin-bottom: 4px; */ |
| 265 | } |
| 266 | |
| 267 | .tooltip-label { |
| 268 | margin: 0px; |
| 269 | } |
| 270 | |
| 271 | .header { |
| 272 | font-weight: bold; |
| 273 | } |
| 274 | |
| 275 | .monospace { |
| 276 | font-family: monospace; |
| 277 | } |
| 278 | |
| 279 | .indent { |
| 280 | /* -moz-margin-start: 23px; */ |
| 281 | -moz-margin-start: 15px; |
| 282 | } |
| 283 | |
| 284 | .box-padded { |
| 285 | padding: 5px; |
| 286 | } |
| 287 | |
| 288 | .spaced { |
| 289 | margin: 1px 3px; |
| 290 | } |
| 291 | |
| 292 | .wizard-box { |
| 293 | padding: 15px 35px 10px; |
| 294 | } |
| 295 | |
| 296 | .text-link { |
| 297 | color: blue; |
| 298 | text-decoration: underline; |
| 299 | cursor: pointer; |
| 300 | } |
| 301 | |
| 302 | .text-link:-moz-focusring { |
| 303 | /* Don't specify the outline-color, we should always use initial value. */ |
| 304 | outline: 1px dotted; |
| 305 | } |
| 306 | |
| 307 | /* :::::: autoscroll popup ::::: */ |
| 308 | |
| 309 | .autoscroller { |
| 310 | height: 28px; |
| 311 | width: 28px; |
| 312 | border: 0px; |
| 313 | margin: -14px; |
| 314 | padding: 0px; |
| 315 | background-image: url("chrome://global/skin/icons/autoscroll.png"); |
| 316 | background-color: transparent; |
| 317 | -moz-appearance: none; |
| 318 | } |
| 319 | |
| 320 | .autoscroller[scrolldir="NS"] { |
| 321 | background-position: left center; |
| 322 | } |
| 323 | |
| 324 | .autoscroller[scrolldir="EW"] { |
| 325 | background-position: left bottom; |
| 326 | } |
| 327 | |
| 328 | .autoscroller[transparent="true"] { |
| 329 | background-position: center top; |
| 330 | } |
| 331 | |
| 332 | .autoscroller[transparent="true"][scrolldir="NS"] { |
| 333 | background-position: center center; |
| 334 | } |
| 335 | |
| 336 | .autoscroller[transparent="true"][scrolldir="EW"] { |
| 337 | background-position: center bottom; |
| 338 | } |
| 339 | |
| 340 | .autoscroller[translucent="true"] { |
| 341 | background-position: right top; |
| 342 | } |
| 343 | |
| 344 | .autoscroller[translucent="true"][scrolldir="NS"] { |
| 345 | background-position: right center; |
| 346 | } |
| 347 | |
| 348 | .autoscroller[translucent="true"][scrolldir="EW"] { |
| 349 | background-position: right bottom; |
| 350 | } |