forked from Barre/privaxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.css
83 lines (71 loc) · 1.44 KB
/
tailwind.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
@tailwind base;
@tailwind components;
@tailwind utilities;
/* Thanks to Plausible analytics for this beautiful circle :)
https://github.com/plausible/analytics/blob/7d37208d52c2331a5ba22df21c8179bb3313c2da/assets/css/app.css#L112 */
.pulsating-circle {
position: absolute;
width: 10px;
height: 10px;
}
.pulsating-circle::before {
content: '';
position: relative;
display: block;
width: 300%;
height: 300%;
box-sizing: border-box;
margin-left: -100%;
margin-top: -100%;
border-radius: 45px;
background-color: #9ae6b4;
animation: pulse-ring 3s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
@apply bg-green-500;
}
.pulsating-circle::after {
content: '';
position: absolute;
left: 0;
top: 0;
display: block;
width: 100%;
height: 100%;
background-color: white;
border-radius: 15px;
animation: pulse-dot 3s cubic-bezier(0.455, 0.03, 0.515, 0.955) -.4s infinite;
@apply bg-green-500;
}
@keyframes pulse-ring {
0% {
transform: scale(.33);
}
50% {
transform: scale(1);
}
40%, 100% {
opacity: 0;
}
}
@keyframes pulse-dot {
0% {
transform: scale(.8);
}
25% {
transform: scale(1);
}
50%, 100% {
transform: scale(.8);
}
}
.loader {
border-top-color: rgba(255, 255, 255, 0);
animation: spinner 0.5s cubic-bezier(0, 0.86, 0.93, 0.71) infinite;
}
@keyframes spinner {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}