Commit | Line | Data |
---|---|---|
9099c61d RK |
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/. */ | |
d07092f5 | 4 | |
5 | /* ===== alert.css ===================================================== | |
6 | == Styles specific to the alerts dialog. | |
7 | ======================================================================= */ | |
8 | ||
b1e5c9b1 | 9 | @import url("chrome://global/skin/"); |
10 | ||
d07092f5 | 11 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
12 | ||
13 | .alertBox { | |
54628835 RK |
14 | border: 1px solid #9C9CFF; |
15 | border-radius: 3px; | |
c79d2bbe | 16 | background-color: #000000; |
54628835 RK |
17 | } |
18 | ||
19 | .alertImageBox { | |
20 | padding: 8px 0; | |
21 | width: 64px; | |
22 | -moz-border-end: 1px solid #9C9CFF; | |
23 | } | |
24 | ||
25 | .alertTextBox { | |
26 | padding: 8px; | |
27 | -moz-padding-start: 16px; | |
28 | width: 255px; | |
d07092f5 | 29 | } |
30 | ||
8c976b60 | 31 | .alertBox[orient="horizontal"] > .alertImageBox { |
54628835 | 32 | -moz-margin-end: 8px; |
d07092f5 | 33 | } |
34 | ||
8c976b60 | 35 | .alertBox[orient="vertical"] > .alertImageBox { |
54628835 | 36 | margin-bottom: 8px; |
8c976b60 | 37 | } |
38 | ||
d07092f5 | 39 | .alertTitle { |
40 | font-weight: bold; | |
54628835 | 41 | font-size: 110%; |
d07092f5 | 42 | } |
43 | ||
71a617ff RK |
44 | #alertImage { |
45 | max-width: 48px; | |
46 | max-height: 48px; | |
47 | } | |
48 | ||
18f5421a | 49 | #alertNotification[clickable="true"] { |
d07092f5 | 50 | cursor: pointer; |
18f5421a RK |
51 | } |
52 | ||
53 | label { | |
54 | cursor: inherit; | |
55 | } | |
56 | ||
57 | .alertText[clickable="true"] { | |
c79d2bbe | 58 | color: blue; |
d07092f5 | 59 | text-decoration: underline; |
60 | } | |
61 | ||
62 | .alertText[clickable="true"]:hover:active { | |
c79d2bbe | 63 | color: red; |
03f6f39c | 64 | } |
65 | ||
54628835 RK |
66 | @keyframes alert-animation { |
67 | from { | |
68 | opacity: 0; | |
69 | } | |
70 | 6.25% { | |
71 | opacity: 1; | |
72 | } | |
73 | 93.75% { | |
74 | opacity: 1; | |
75 | } | |
76 | to { | |
77 | opacity: 0; | |
78 | } | |
8c976b60 | 79 | } |