blob: 2ecbcfbec5ef9900639e8695cdc402b94e881952 (
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
|
.toast.error {
background-color: var(--error);
}
.toast.confirmation {
background-color: var(--confirm);
}
.toast.normal {
background-color: var(--gray-700);
}
.toast.confirmation,
.toast.error {
color: var(--gray-900);
}
html.dark .toast.confirmation,
html.dark .toast.error {
background-color: var(--gray-700);
color: var(--foreground);
}
html.dark .toast.error {
box-shadow: inset 0 0 0 2px var(--error);
}
html.dark .toast.confirmation {
box-shadow: inset 0 0 0 2px var(--confirm);
}
.toast {
margin-bottom: var(--spacing-medium);
}
#ToastArea {
white-space: nowrap;
bottom: var(--spacing-medium);
z-index: 1;
max-width: 600px;
width: calc(100% - 2 * 48px);
margin: 0 var(--spacing-large);
}
.toast .inner {
line-height: 0;
min-height: 24px;
}
.toast .inner.hasDescription {
min-height: 36px;
}
.toast .inner .icon,
.toast .inner .content {
left: var(--spacing-medium);
}
.toast .inner.hasIcon .content {
left: calc(36px + var(--spacing-medium));
}
.toast .inner .content h2 {
font-size: 1rem;
}
.toast .inner .closeIcon {
right: var(--spacing-medium);
cursor: pointer;
}
|