blob: 65e325f5be1e8d3029356f20d37f98375aa6bb58 (
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
|
@import "theming.css";
#toasts {
position: fixed;
z-index: 100000;
right: calc(var(--padding) * 1.5);
bottom: calc(var(--padding) * 1.5);
}
@keyframes bodyfadeaway {
0% {opacity: 0.0; transform: scale(0.95)}
100% {opacity: 1.0; transform: scale(1.0)}
}
#toasts .toast {
width: 300px;
opacity: 0.0;
cursor: pointer;
overflow: hidden;
max-height: 100vh;
transform: scale(0.95);
background: var(--selbg);
transition: 0.2s ease-in-out;
backdrop-filter: blur(15px);
padding: calc(var(--padding) / 2);
margin-top: calc(var(--padding) / 2);
border-radius: calc(var(--padding) / 2.5);
box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
animation-duration: 0.2s;
animation-iteration-count: 1;
animation-name: bodyfadeaway;
animation-fill-mode: forwards;
animation-timing-function: ease-in-out;
}
#toasts .toast .title:only-child {
margin-bottom: 0px;
}
#toasts .toast.hidden {
margin-top: 0px;
max-height: 0px;
padding-top: 0px;
padding-bottom: 0px;
filter: opacity(0.0);
transform: scale(0.95);
}
#toasts .toast:not(.hidden):hover {filter: opacity(0.9)}
#toasts .toast:not(.hidden):active {filter: opacity(0.8)}
.toast .description {
opacity: 0.8;
font-size: 0.8em;
font-weight: 600;
}
|