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
|
.dimmer {
position: fixed;
/* WHAT A SCHTUPID ACTION */
width: 200%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
z-index: 4;
}
.dialog-container {
position: absolute;
top: 0px;
left: -350px;
width: 100%;
height: 100%;
z-index: 10000;
}
.dialog {
position: fixed;
z-index: 4;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: #2b2e46;
border-radius: 24px;
overflow: hidden;
min-width: 350px;
border: 0.1em solid #272831;
animation: dialog_in 0.2s cubic-bezier(0.075, 0.82, 0.165, 1.1);
color: white;
font-family: BarlowSemiCondensed-Regular;
}
.dialog-header {
font-size: 24px;
}
.dialog-element {
padding: 8px;
}
.dialog-header, .dialog-btns-container {
background-color: #202232;
}
.dialog-btns-container {
display: flex;
justify-content: right;
border-top: 2px solid #3f4151;
gap: 8px;
}
.dialog-header {
border-bottom: 2px solid #3f4151;
}
.dialog-description {
font-size: 18px;
padding: 14px 10px;
white-space: pre-wrap;
}
.dialog-btns-container button {
border-radius: 24px;
padding: 5px 10px;
}
.dialog-btns-container button:nth-child(2):hover {
background-color: rgb(105, 36, 36);
}
.dialog-btns-container button:nth-child(2) {
background-color: rgb(147, 45, 45);
}
.dialog-btns-container button:nth-child(1):hover {
background-color: rgb(38, 42, 62);
}
@keyframes dialog_in {
0% {
transform: translate(-50%, calc(-50% + 100px)) scaleX(0%);
opacity: 0;
}
20% {
opacity: 0;
}
100% {
transform: translate(-50%, calc(-50%));
opacity: 1;
}
}
|