64 lines
1.3 KiB
SCSS
64 lines
1.3 KiB
SCSS
@use "../../../styles/colors" as colors;
|
|
@use "../../../styles/variables" as vars;
|
|
@use "../../../styles/fonts" as fonts;
|
|
|
|
.week-tabs {
|
|
display: flex;
|
|
align-items: stretch;
|
|
gap: 4px;
|
|
background: rgba(255, 255, 255, 0.92);
|
|
border-radius: vars.$border-radius;
|
|
padding: 4px;
|
|
margin-bottom: 12px;
|
|
|
|
&__nav {
|
|
background: transparent;
|
|
border: none;
|
|
color: colors.$light-gray;
|
|
font-size: fonts.$font-size-xl;
|
|
width: 28px;
|
|
cursor: pointer;
|
|
border-radius: vars.$border-radius;
|
|
|
|
&:hover:not(:disabled) {
|
|
background: rgba(0, 0, 0, 0.04);
|
|
color: colors.$blue-dark;
|
|
}
|
|
&:disabled {
|
|
opacity: 0.3;
|
|
cursor: not-allowed;
|
|
}
|
|
}
|
|
|
|
&__list {
|
|
display: flex;
|
|
gap: 2px;
|
|
flex: 1;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
&__tab {
|
|
flex: 1;
|
|
min-width: 0;
|
|
padding: 8px 12px;
|
|
background: transparent;
|
|
border: none;
|
|
font-size: 13px;
|
|
color: colors.$blue;
|
|
cursor: pointer;
|
|
border-radius: vars.$border-radius;
|
|
white-space: nowrap;
|
|
transition: background 120ms;
|
|
|
|
&:hover { background: colors.$blue-extra-light; }
|
|
|
|
&--active {
|
|
background: colors.$white;
|
|
color: colors.$blue-dark;
|
|
font-weight: fonts.$font-bold;
|
|
box-shadow: inset 0 -2px 0 colors.$blue;
|
|
cursor: default;
|
|
}
|
|
}
|
|
}
|