This commit is contained in:
zadit
2025-01-01 17:32:58 +07:00
parent e49cc3812a
commit 3a899e197a
3 changed files with 202 additions and 129 deletions

View File

@@ -0,0 +1,49 @@
.chartItemContainer{
position: relative;
}
.chartItemWrapper {
position: absolute;
transition: top 0.3s ease-in-out; /* Apply transition to chartItemWrapper */
left: 20px;
right: 20px;
}
.chartItemWrapperActive {
top: 200px; /* Move chartItemWrapper down when selected */
}
.chartItemWrapperInactive {
top: 0; /* Reset to original position */
}
.dateSelectorWrapper {
display: flex;
justify-content: space-around;
position: relative;
overflow: hidden;
}
.dateSelector {
flex-grow: 1;
text-align: center;
padding: 10px;
border: 1px solid black;
border-radius: 10px 10px 0 0;
transition: all 0.3s ease-in-out;
}
.dateSelectorActive {
color: black;
border-color: black;
z-index: 2;
}
.dateSelectorInactive {
color: transparent;
border-color: transparent;
}
.chartWrapper {
border: 1px solid black;
}