sync both themes with toolkit windows theme changes in Mozilla 33 cycle
[themes.git] / EarlyBlue / global / alerts / alert.css
... / ...
CommitLineData
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.alertTextBox,
31.alertCloseBox {
32}
33
34.alertBox[orient="horizontal"] > .alertImageBox {
35 -moz-margin-end: 8px;
36}
37
38.alertBox[orient="vertical"] > .alertImageBox {
39 margin-bottom: 8px;
40}
41
42#alertNotification[clickable="true"]:hover .alertTextBox,
43#alertNotification[clickable="true"]:hover .alertCloseBox {
44/* background-image: linear-gradient(rgba(255,255,255,0.4), rgba(255,255,255,0.3)); */
45}
46
47.alertTitle {
48 font-weight: bold;
49 font-size: 110%;
50}
51
52#alertImage {
53 max-width: 48px;
54 max-height: 48px;
55 list-style-image: url("chrome://global/skin/alerts/notification-48.png");
56}
57
58#alertNotification[clickable="true"] {
59 cursor: pointer;
60}
61
62label {
63 cursor: inherit;
64}
65
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 }
79}
80
81.alertCloseButton {
82 list-style-image: url("chrome://global/skin/icons/close-button.gif");
83 padding: 4px 2px;
84}