aboutsummaryrefslogtreecommitdiff
path: root/arc-firefox-theme/chrome/global/alerts/alert.css
blob: 38d504ea9684747045e4307a8d055f276b880d75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

/* ===== alert.css =====================================================
  == Styles specific to the alerts dialog.
  ======================================================================= */

@import url("chrome://global/skin/");

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

.alertBox {
  border: 1px solid threedshadow;
  background-color: -moz-Dialog;
}

.alertImageBox {
  padding: 8px 0;
  width: 64px;
  background-image: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.6));
  -moz-border-end: 1px solid rgba(0,0,0,.1);
}

.alertTextBox {
  padding: 8px;
  -moz-padding-start: 16px;
  width: 255px;
}

.alertTextBox,
.alertCloseBox {
  background-image: linear-gradient(rgba(255,255,255,0.2), rgba(255,255,255,0.1));
}

#alertNotification[clickable="true"]:hover .alertTextBox,
#alertNotification[clickable="true"]:hover .alertCloseBox {
  background-image: linear-gradient(rgba(255,255,255,0.4), rgba(255,255,255,0.3));
}

.alertTitle {
  font-weight: bold;
  font-size: 110%;
}

#alertImage {
  max-width: 48px;
  max-height: 48px;
  list-style-image: url(chrome://global/skin/alerts/notification-48.png);
}

#alertNotification[clickable="true"] {
  cursor: pointer;
}

label {
  cursor: inherit;
}

.alertCloseButton {
  -moz-appearance: none;
  height: 16px;
  padding: 4px 2px;
  width: 16px;
}