-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
83 lines (70 loc) · 1.68 KB
/
style.css
File metadata and controls
83 lines (70 loc) · 1.68 KB
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
* {
font-family: '{customFont}', '{googleFont}', Nunito, Arial, sans-serif;
color: {{fontColor}};
font-size: {fontSize}px;
font-weight: {fontWeight};
text-align: center;
}
.main-container {
position: relative;
width: 256px;
height: 50px;
border-radius: 10px;
overflow:hidden;
background-color: {{backgroundColor}};
}
.background-fill {
position: absolute;
top: 0;
left: 0;
width: 0%;
height: 100%;
background-color: {{backgroundColor2}};
transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
z-index: 1;
box-shadow: 0 0 15px {{backgroundColor2}}, 0 0 30px {{backgroundColor2}};
background-image: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.5), transparent);
background-size: 200% 200%;
animation: liquidEffect 3s infinite linear, glowPulse 1.5s infinite ease-in-out;
}
.counter-display {
position: relative;
font-weight: bold;
text-align: center;
border-radius: 10px;
z-index: 2;
color: {{fontColor}};
line-height:50px;
}
@keyframes liquidEffect {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
@keyframes glowPulse {
0%, 100% {
box-shadow: 0 0 15px {{backgroundColor2}}, 0 0 30px {{backgroundColor2}};
}
50% {
box-shadow: 0 0 25px {{backgroundColor2}}, 0 0 50px {{backgroundColor2}};
}
}
.counter-display.urgent {
color: {nearGoal};
text-shadow: 0 0 10px {nearGoalShadow};
animation: pulse 2s infinite;
}
@keyframes pulse {
0%, 100% {
transform: scale(1);
}
50% {
transform: scale(1.1);
}
}