| 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: 1px solid #666699; |
| 15 | background-color: #CCD0DD; |
| 16 | } |
| 17 | |
| 18 | .alertImageBox { |
| 19 | padding: 8px 0; |
| 20 | width: 64px; |
| 21 | -moz-border-end: 1px solid #9999CC; |
| 22 | } |
| 23 | |
| 24 | .alertTextBox { |
| 25 | padding: 8px; |
| 26 | -moz-padding-start: 16px; |
| 27 | width: 255px; |
| 28 | } |
| 29 | |
| 30 | .alertBox[orient="horizontal"] > .alertImageBox { |
| 31 | -moz-margin-end: 8px; |
| 32 | } |
| 33 | |
| 34 | .alertBox[orient="vertical"] > .alertImageBox { |
| 35 | margin-bottom: 8px; |
| 36 | } |
| 37 | |
| 38 | .alertTitle { |
| 39 | font-weight: bold; |
| 40 | font-size: 110%; |
| 41 | } |
| 42 | |
| 43 | #alertImage { |
| 44 | max-width: 48px; |
| 45 | max-height: 48px; |
| 46 | } |
| 47 | |
| 48 | #alertNotification[clickable="true"] { |
| 49 | cursor: pointer; |
| 50 | } |
| 51 | |
| 52 | label { |
| 53 | cursor: inherit; |
| 54 | } |
| 55 | |
| 56 | .alertText[clickable="true"] { |
| 57 | color: blue; |
| 58 | text-decoration: underline; |
| 59 | } |
| 60 | |
| 61 | .alertText[clickable="true"]:hover:active { |
| 62 | color: red; |
| 63 | } |
| 64 | |
| 65 | @keyframes alert-animation { |
| 66 | from { |
| 67 | opacity: 0; |
| 68 | } |
| 69 | 6.25% { |
| 70 | opacity: 1; |
| 71 | } |
| 72 | 93.75% { |
| 73 | opacity: 1; |
| 74 | } |
| 75 | to { |
| 76 | opacity: 0; |
| 77 | } |
| 78 | } |