mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
The "default" order values as set by Bulma are different for different breakpoints. Since this wasn't considering breakpoints, it resulted in the unexpected reordering of pagination elements as different page widths. Turns out removing this property gives us what we want.
32 lines
555 B
SCSS
32 lines
555 B
SCSS
.pagination {
|
|
color: $grey;
|
|
|
|
.pagination-numbers {
|
|
padding: 0.75rem 0.5rem;
|
|
white-space: nowrap;
|
|
font-weight: $weight-semibold;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.pagination-previous,
|
|
.pagination-next,
|
|
.pagination-link {
|
|
color: $text;
|
|
border: none;
|
|
border-radius: 0;
|
|
margin: 0;
|
|
padding: 0.75rem 0.5rem;
|
|
height: auto;
|
|
text-decoration: none;
|
|
|
|
&:hover {
|
|
box-shadow: none;
|
|
background-color: darken($white-ter, 5%);
|
|
}
|
|
|
|
&:active {
|
|
background-color: darken($white-ter, 10%);
|
|
}
|
|
}
|
|
}
|