2024-04-12 06:35:37 +00:00
|
|
|
.timeline {
|
2024-05-09 09:29:01 +00:00
|
|
|
width: 100%;
|
2024-05-11 09:37:18 +00:00
|
|
|
height: 2rem;
|
2024-05-09 09:29:01 +00:00
|
|
|
background-color: var(--heo-background);
|
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
border-radius: 1.5rem;
|
2024-04-12 06:35:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.progress {
|
2024-05-09 09:29:01 +00:00
|
|
|
width: 0;
|
|
|
|
height: 100%;
|
|
|
|
background-color: var(--heo-main);
|
|
|
|
position: absolute;
|
|
|
|
animation: progressAnimation 2s linear forwards;
|
|
|
|
animation-delay: -0.1s;
|
|
|
|
border-radius: 1.5rem
|
2024-04-12 06:35:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.past-time {
|
2024-05-09 09:29:01 +00:00
|
|
|
width: 2px;
|
|
|
|
height: 20px;
|
|
|
|
background-color: #3498db;
|
|
|
|
position: absolute;
|
|
|
|
transform-origin: left;
|
|
|
|
animation: pastTimeAnimation 3s linear forwards;
|
2024-04-12 06:35:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.percentage-label {
|
2024-05-09 09:29:01 +00:00
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
font-size: 14px;
|
|
|
|
color: var(--heo-card-bg);
|
|
|
|
font-weight: bold;
|
|
|
|
top: 10px;
|
|
|
|
white-space: nowrap;
|
|
|
|
transition: left 0.5s linear;
|
|
|
|
visibility: hidden;
|
2024-04-12 06:35:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.time-labels {
|
2024-05-09 09:29:01 +00:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
width: 100%;
|
2024-04-12 06:35:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.time-labels>div {
|
2024-05-09 09:29:01 +00:00
|
|
|
font-size: 14px;
|
|
|
|
color: var(--heo-fontcolor);
|
2024-04-12 06:35:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes progressAnimation {
|
2024-05-09 09:29:01 +00:00
|
|
|
0% {
|
|
|
|
width: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
width: var(--progress-percentage, 0);
|
|
|
|
}
|
2024-04-12 06:35:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes pastTimeAnimation {
|
2024-05-09 09:29:01 +00:00
|
|
|
0% {
|
|
|
|
transform: scaleX(0);
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
transform: scaleX(var(--past-time-percentage, 0));
|
|
|
|
}
|
2024-04-12 06:35:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.timeline:hover {
|
2024-05-09 09:29:01 +00:00
|
|
|
animation: btn31-eff 3s linear infinite;
|
|
|
|
cursor: pointer;
|
2024-04-12 06:35:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes btn31-eff {
|
2024-05-09 09:29:01 +00:00
|
|
|
0% {
|
|
|
|
box-shadow: 0 0 2px var(--heo-main);
|
|
|
|
}
|
|
|
|
|
|
|
|
50% {
|
|
|
|
box-shadow: 0 0 40px var(--heo-main);
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
box-shadow: 0 0 2px var(--heo-main);
|
|
|
|
}
|
2024-04-12 06:35:37 +00:00
|
|
|
}
|