File: /var/www/quadcode-site/src/style/components/pagination.scss
.pagination {
display: flex;
max-width: 1180px;
width: 100%;
left: auto !important;
&__item {
margin-right: 20px;
max-width: 280px;
width: 100%;
cursor: pointer;
@include breakpoint-down('deskL') {
max-width: 220px;
}
&:last-of-type {
margin-right: 0;
}
&_active {
.pagination {
&__text {
color: $white;
transition: 4.5s ease .8s;
}
&__progress {
span {
width: 100%;
transition: 4.5s ease-in-out .8s;
}
}
}
}
}
&__text {
color: $white50;
@include breakpoint-down('deskS') {
font-size: 12px;
}
@include breakpoint-down('tabM') {
display: none;
}
}
&__progress {
border-radius: 10px;
background: $white30;
height: 4px;
overflow: hidden;
margin-bottom: 8px;
width: 100%;
span {
display: block;
width: 0;
height: 100%;
background: $red;
transition: 0s;
}
}
&--responsibility {
.pagination {
&__progress {
background: #EDF1F5;
}
&__item {
cursor: auto;
&_active {
.pagination {
&__text {
color: $white;
transition: 7s ease .8s;
}
&__progress {
span {
width: 100%;
transition: 7s ease-in-out .8s;
}
}
}
}
}
}
}
}