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 { | |
c79d2bbe RK |
14 | border: 2px solid #9C9CFF; |
15 | background-color: #000000; | |
d07092f5 | 16 | min-height: 50px; |
17 | } | |
18 | ||
8c976b60 | 19 | .alertBox[orient="horizontal"] > .alertImageBox { |
20 | -moz-margin-start: 4px; | |
21 | -moz-margin-end: 6px; | |
d07092f5 | 22 | min-height: 46px; |
23 | } | |
24 | ||
8c976b60 | 25 | .alertBox[orient="vertical"] > .alertImageBox { |
26 | margin-top: 6px; | |
27 | margin-bottom: 4px; | |
28 | min-width: 46px; | |
29 | } | |
30 | ||
d07092f5 | 31 | .alertTitle { |
32 | font-weight: bold; | |
33 | } | |
34 | ||
71a617ff RK |
35 | #alertImage { |
36 | max-width: 48px; | |
37 | max-height: 48px; | |
38 | } | |
39 | ||
b1e5c9b1 | 40 | .alertText { |
8c976b60 | 41 | -moz-margin-end: 6px; |
b1e5c9b1 | 42 | } |
43 | ||
18f5421a | 44 | #alertNotification[clickable="true"] { |
d07092f5 | 45 | cursor: pointer; |
18f5421a RK |
46 | } |
47 | ||
48 | label { | |
49 | cursor: inherit; | |
50 | } | |
51 | ||
52 | .alertText[clickable="true"] { | |
c79d2bbe | 53 | color: blue; |
d07092f5 | 54 | text-decoration: underline; |
55 | } | |
56 | ||
57 | .alertText[clickable="true"]:hover:active { | |
c79d2bbe | 58 | color: red; |
03f6f39c | 59 | } |
60 | ||
8c976b60 | 61 | .alertBox[orient="horizontal"] > .alertTextBox { |
c79d2bbe | 62 | -moz-padding-end: 10px; |
03f6f39c | 63 | padding-top: 5px; |
64 | } | |
8c976b60 | 65 | |
66 | .alertBox[orient="vertical"] > .alertTextBox { | |
67 | -moz-padding-start: 5px; | |
68 | -moz-padding-end: 5px; | |
69 | margin-bottom: 8px; | |
154ee8b3 | 70 | -moz-box-align: center; |
8c976b60 | 71 | } |