| 1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
| 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
| 3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
| 4 | |
| 5 | /* ===== alert.css ===================================================== |
| 6 | == Styles specific to the alerts dialog. |
| 7 | ======================================================================= */ |
| 8 | |
| 9 | @import url("chrome://global/skin/"); |
| 10 | |
| 11 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
| 12 | |
| 13 | .alertBox { |
| 14 | border: 2px solid #9C9CFF; |
| 15 | background-color: #000000; |
| 16 | min-height: 50px; |
| 17 | } |
| 18 | |
| 19 | .alertBox[orient="horizontal"] > .alertImageBox { |
| 20 | -moz-margin-start: 4px; |
| 21 | -moz-margin-end: 6px; |
| 22 | min-height: 46px; |
| 23 | } |
| 24 | |
| 25 | .alertBox[orient="vertical"] > .alertImageBox { |
| 26 | margin-top: 6px; |
| 27 | margin-bottom: 4px; |
| 28 | min-width: 46px; |
| 29 | } |
| 30 | |
| 31 | .alertTitle { |
| 32 | font-weight: bold; |
| 33 | } |
| 34 | |
| 35 | .alertText { |
| 36 | -moz-margin-end: 6px; |
| 37 | } |
| 38 | |
| 39 | #alertNotification[clickable="true"] { |
| 40 | cursor: pointer; |
| 41 | } |
| 42 | |
| 43 | label { |
| 44 | cursor: inherit; |
| 45 | } |
| 46 | |
| 47 | .alertText[clickable="true"] { |
| 48 | color: blue; |
| 49 | text-decoration: underline; |
| 50 | } |
| 51 | |
| 52 | .alertText[clickable="true"]:hover:active { |
| 53 | color: red; |
| 54 | } |
| 55 | |
| 56 | .alertBox[orient="horizontal"] > .alertTextBox { |
| 57 | -moz-padding-end: 10px; |
| 58 | padding-top: 5px; |
| 59 | } |
| 60 | |
| 61 | .alertBox[orient="vertical"] > .alertTextBox { |
| 62 | -moz-padding-start: 5px; |
| 63 | -moz-padding-end: 5px; |
| 64 | margin-bottom: 8px; |
| 65 | -moz-box-align: center; |
| 66 | } |