feat: Добавлены названия периодов с анимацией появления

This commit is contained in:
Ilia Mashkov
2025-11-23 13:14:20 +03:00
parent 2958cc734a
commit 38785cce94
2 changed files with 55 additions and 7 deletions

View File

@@ -20,7 +20,7 @@
margin-top: -28px;
margin-left: -28px;
border: 25px solid transparent;
border: 25px solid transparent;
border-radius: 50%;
background: var(--color-text);
@@ -46,15 +46,30 @@
background-clip: padding-box;
}
&:hover .label,
&.active .label {
&:hover .number,
&.active .number {
display: block;
}
.label {
.number {
display: none;
color: var(--color-text);
font-size: 20px;
}
.title {
position: absolute;
left: 100%;
margin-left: 20px;
color: var(--color-text);
font-weight: 700;
font-size: 20px;
white-space: nowrap;
opacity: 0;
visibility: hidden;
}
}