mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-26 11:04:20 +00:00
39 lines
753 B
SCSS
39 lines
753 B
SCSS
@import "colors";
|
|
|
|
.pagination {
|
|
text-align: center;
|
|
gap: 10px;
|
|
margin: 30px;
|
|
|
|
button {
|
|
background-color: $secondary-neutral-light-color;
|
|
min-width: 37px;
|
|
|
|
&:hover {
|
|
background-color: darken($secondary-neutral-light-color, 10%);
|
|
}
|
|
|
|
&:disabled {
|
|
color: #fff;
|
|
background-color: darken($secondary-neutral-light-color, 5%);
|
|
}
|
|
|
|
&.active,
|
|
&.active:hover {
|
|
background-color: $primary-neutral-color;
|
|
color: white;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
&:first-of-type,
|
|
&:last-of-type {
|
|
// previous and next buttons
|
|
&:disabled {
|
|
// Hide the arrows when they are disabled, without
|
|
// changing the layout of the navigation
|
|
opacity: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|