summaryrefslogtreecommitdiffstats
path: root/comm/suite/themes/modern/global/alerts/alert.css
blob: 5f0984db7deaacb1ad8264cd3311c9cc49fff6fa (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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
/* 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/global.css");

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

.alertBox {
  background-color: #C7D0D9;
}

#alertBox[hasBodyText] > #alertTitleBox,
#alertBox[hasOrigin] > #alertTitleBox {
  border-bottom: 1px solid #7B969C;
}

#alertBox[animate][clicked],
#alertBox[animate][closing] {
  animation-duration: 0.75s;
}

alertBox[hasImage] > box > .alertImageBox {
  padding: 4px;
  width: 64px;
}

.alertTextBox {
  padding: 4px;
  width: 255px;
  -moz-box-flex: 1;
}

.alertTitle {
  font-weight: bold;
  font-size: 110%;
  padding: 4px;
  -moz-box-flex: 1;
}

.alertSource {
  color: #8C99AB;
  -moz-box-flex: 1;
}

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

#alertNotification {
  border: ridge #5486DA 4px;
}

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

label {
  cursor: inherit;
}

.alertText[clickable="true"] {
  color: #1455D6;
  text-decoration: underline;
}

.alertText[clickable="true"]:hover:active {
  color: #424F63;
}

@keyframes alert-animation {
  from {
    opacity: 0;
  }
  6.25% {
    opacity: 1;
  }
  93.75% {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.alertCloseButton {
  list-style-image: url("chrome://global/skin/icons/closebox.png");
  padding: 4px;
  border: none;
}

#alertFooter {
  -moz-box-align: end;
}

#alertSettings {
  min-width: 0px;
  list-style-image: url("chrome://mozapps/skin/extensions/utilities.png");
  margin: 0px;
  border: none;
  background-color: transparent;
}

.button-menu-dropmarker,
.button-text {
  display: none;
}