summaryrefslogtreecommitdiffstats
path: root/comm/mail/themes/shared/openpgp/inlineNotification.css
blob: 528711be406d87f6ac07c4fd2e93058c620ca816 (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
/* 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/. */

.inline-notification-container:not([collapsed="true"],[hidden]) {
  display: flex;
  border-radius: 3px;
  padding: 6px 8px;
  margin: 10px 3px;
}

.inline-notification-container {
  color: inherit;
}

.inline-notification-wrapper {
  display: flex;
  align-items: flex-start;
}

.inline-notification-wrapper.align-center {
  align-items: center;
}

.inline-notification-wrapper description {
  flex: 1;
}

.notification-image {
  -moz-context-properties: fill;
  fill: currentColor;
  margin-inline: 4px 8px;
  margin-top: 4px;
  width: 16px;
}

.inline-notification-wrapper.align-center .notification-image {
  margin-top: 0;
}

/* Info variation */

.inline-notification-container.info-container {
  background-color: rgba(69, 161, 255, 0.2);
}

/* error variation */

.inline-notification-container.error-container {
  background-color: #f7b6b6;
  color: #410303;
}

/* success variation */

.inline-notification-container.success-container {
  background-color: #c1f7b6;
  color: #043a08;
}