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/. */ | |
c3af6803 | 4 | |
e181d49e RK |
5 | /* ===== alert.css ===================================================== |
6 | == Styles specific to the alerts dialog. | |
7 | ======================================================================= */ | |
c3af6803 | 8 | |
e181d49e | 9 | @import url("chrome://global/skin/"); |
c3af6803 | 10 | |
e181d49e | 11 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
c3af6803 | 12 | |
e181d49e RK |
13 | .alertBox { |
14 | border: 2px solid #666699; | |
15 | background-color: #CCD0DD; | |
16 | min-height: 50px; | |
c3af6803 | 17 | } |
18 | ||
e181d49e RK |
19 | .alertBox[orient="horizontal"] > .alertImageBox { |
20 | -moz-margin-start: 4px; | |
21 | -moz-margin-end: 6px; | |
22 | min-height: 46px; | |
c3af6803 | 23 | } |
24 | ||
e181d49e RK |
25 | .alertBox[orient="vertical"] > .alertImageBox { |
26 | margin-top: 6px; | |
27 | margin-bottom: 4px; | |
28 | min-width: 46px; | |
c3af6803 | 29 | } |
30 | ||
e181d49e RK |
31 | .alertTitle { |
32 | font-weight: bold; | |
33 | } | |
c3af6803 | 34 | |
e181d49e RK |
35 | .alertText { |
36 | -moz-margin-end: 6px; | |
c3af6803 | 37 | } |
38 | ||
18f5421a | 39 | #alertNotification[clickable="true"] { |
e181d49e | 40 | cursor: pointer; |
18f5421a RK |
41 | } |
42 | ||
43 | label { | |
44 | cursor: inherit; | |
45 | } | |
46 | ||
47 | .alertText[clickable="true"] { | |
e181d49e RK |
48 | color: blue; |
49 | text-decoration: underline; | |
c3af6803 | 50 | } |
51 | ||
e181d49e RK |
52 | .alertText[clickable="true"]:hover:active { |
53 | color: red; | |
54 | } | |
c3af6803 | 55 | |
e181d49e RK |
56 | .alertBox[orient="horizontal"] > .alertTextBox { |
57 | -moz-padding-end: 10px; | |
58 | padding-top: 5px; | |
c3af6803 | 59 | } |
60 | ||
e181d49e RK |
61 | .alertBox[orient="vertical"] > .alertTextBox { |
62 | -moz-padding-start: 5px; | |
63 | -moz-padding-end: 5px; | |
64 | margin-bottom: 8px; | |
154ee8b3 | 65 | -moz-box-align: center; |
c3af6803 | 66 | } |