|
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 threedshadow; |
|
15 background-color: -moz-Dialog; |
|
16 } |
|
17 |
|
18 .alertImageBox { |
|
19 padding: 8px 0; |
|
20 width: 64px; |
|
21 background-image: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.6)); |
|
22 -moz-border-end: 1px solid rgba(0,0,0,.1); |
|
23 } |
|
24 |
|
25 .alertTextBox { |
|
26 padding: 8px; |
|
27 -moz-padding-start: 16px; |
|
28 width: 255px; |
|
29 } |
|
30 |
|
31 .alertTextBox, |
|
32 .alertCloseBox { |
|
33 background-image: linear-gradient(rgba(255,255,255,0.2), rgba(255,255,255,0.1)); |
|
34 } |
|
35 |
|
36 .alertTitle { |
|
37 font-weight: bold; |
|
38 font-size: 110%; |
|
39 } |
|
40 |
|
41 #alertImage { |
|
42 max-width: 48px; |
|
43 max-height: 48px; |
|
44 list-style-image: url(chrome://global/skin/alerts/notification-48.png); |
|
45 } |
|
46 |
|
47 #alertNotification[clickable="true"] { |
|
48 cursor: pointer; |
|
49 } |
|
50 |
|
51 label { |
|
52 cursor: inherit; |
|
53 } |
|
54 |
|
55 .alertText[clickable="true"] { |
|
56 color: -moz-nativehyperlinktext; |
|
57 text-decoration: underline; |
|
58 } |
|
59 |
|
60 .alertText[clickable="true"]:hover:active { |
|
61 color: -moz-activehyperlinktext; |
|
62 } |
|
63 |
|
64 .alertCloseButton { |
|
65 -moz-appearance: none; |
|
66 height: 16px; |
|
67 padding: 4px 2px; |
|
68 width: 16px; |
|
69 } |
|
70 |
|
71 .alertCloseButton > .toolbarbutton-text { |
|
72 display: none; |
|
73 } |