| 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 | #alertImage { |
| 36 | max-width: 48px; |
| 37 | max-height: 48px; |
| 38 | } |
| 39 | |
| 40 | .alertText { |
| 41 | -moz-margin-end: 6px; |
| 42 | } |
| 43 | |
| 44 | #alertNotification[clickable="true"] { |
| 45 | cursor: pointer; |
| 46 | } |
| 47 | |
| 48 | label { |
| 49 | cursor: inherit; |
| 50 | } |
| 51 | |
| 52 | .alertText[clickable="true"] { |
| 53 | color: blue; |
| 54 | text-decoration: underline; |
| 55 | } |
| 56 | |
| 57 | .alertText[clickable="true"]:hover:active { |
| 58 | color: red; |
| 59 | } |
| 60 | |
| 61 | .alertBox[orient="horizontal"] > .alertTextBox { |
| 62 | -moz-padding-end: 10px; |
| 63 | padding-top: 5px; |
| 64 | } |
| 65 | |
| 66 | .alertBox[orient="vertical"] > .alertTextBox { |
| 67 | -moz-padding-start: 5px; |
| 68 | -moz-padding-end: 5px; |
| 69 | margin-bottom: 8px; |
| 70 | -moz-box-align: center; |
| 71 | } |