-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
89 lines (77 loc) · 1.54 KB
/
style.css
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
/* Telegram Push Notification CSS */
.popup-container {
position: fixed;
width: 100%;
max-width: 500px;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 999;
}
#popup {
padding: 20px;
background-color: var(--base-3);
border-radius: 0.5em;
box-shadow: 0 1px 6px rgba(5, 27, 44, 0.06),
0 2px 32px rgba(5, 27, 44, 0.16);
}
.popup {
animation-name: showPopup;
animation-iteration-count: 1;
animation-timing-function: ease-out;
animation-duration: .4s;
animation-fill-mode: forwards;
}
@keyframes showPopup {
0% {
opacity: 0;
transform: scale(0);
}
100% {
opacity: 1;
transform: scale(1);
}
}
.closePopup {
animation-name: closePopup;
animation-iteration-count: 1;
animation-timing-function: ease-out;
animation-duration: .4s;
animation-fill-mode: forwards;
}
@keyframes closePopup {
0% {
opacity: 1;
transform: scale(1);
}
100% {
opacity: 0;
transform: scale(0);
}
}
.popup-body {
display: flex;
column-gap: 20px;
flex-wrap: wrap;
align-items: center;
justify-content: center;
}
.popup-body-message {
width: calc(100% - 80px);
margin: 0 auto auto;
}
.popup-footer {
display: flex;
column-gap: 20px;
margin-left: auto;
margin-top: 20px;
}
.popup-footer button {
background: #0078d1;
color: var(--base-3);
border-radius: 5px;
}
.popup-footer button#no {
background: var(--base-3);
color: #0078d1 !important;
}