85 lines
No EOL
1.9 KiB
SCSS
85 lines
No EOL
1.9 KiB
SCSS
.pagination {
|
|
font-size: 1rem;
|
|
align-items: center;
|
|
display: flex;
|
|
text-align: center;
|
|
justify-content: space-between;
|
|
margin: 1rem 0;
|
|
|
|
.pagination-previous,
|
|
.pagination-next,
|
|
.pagination-link {
|
|
align-items: center;
|
|
border: 1px solid transparent;
|
|
border-radius: .375em;
|
|
box-shadow: none;
|
|
display: inline-flex;
|
|
font-size: 1rem;
|
|
height: 2.5em;
|
|
justify-content: flex-start;
|
|
line-height: 1.5;
|
|
padding-bottom: calc(.5em - 1px);
|
|
padding-left: calc(.75em - 1px);
|
|
padding-right: calc(.75em - 1px);
|
|
padding-top: calc(.5em - 1px);
|
|
position: relative;
|
|
vertical-align: top;
|
|
text-decoration: none;
|
|
|
|
&:hover {
|
|
border-color: #b5b5b5;
|
|
color: #363636;
|
|
}
|
|
|
|
&.is-disabled {
|
|
background-color: #dbdbdb;
|
|
border-color: #dbdbdb;
|
|
box-shadow: none;
|
|
color: #7a7a7a;
|
|
opacity: .5;
|
|
}
|
|
}
|
|
|
|
.pagination-previous,
|
|
.pagination-next,
|
|
.pagination-link {
|
|
user-select: none;
|
|
text-align: center;
|
|
font-size: 1em;
|
|
justify-content: center;
|
|
margin: .25rem;
|
|
border-color: #dbdbdb;
|
|
color: #363636;
|
|
min-width: 2.5em;
|
|
padding-left: .75em;
|
|
padding-right: .75em;
|
|
white-space: nowrap;
|
|
margin-bottom: 0;
|
|
margin-top: 0;
|
|
}
|
|
.pagination-previous {
|
|
order: 2;
|
|
}
|
|
.pagination-next {
|
|
order: 3;
|
|
}
|
|
|
|
.pagination-link {
|
|
&.is-current {
|
|
background-color: #485fc7;
|
|
border-color: #485fc7;
|
|
color: #fff;
|
|
}
|
|
}
|
|
|
|
.pagination-list {
|
|
align-items: center;
|
|
display: flex;
|
|
text-align: center;
|
|
flex-wrap: wrap;
|
|
flex-grow: 1;
|
|
flex-shrink: 1;
|
|
justify-content: flex-start;
|
|
order: 1;
|
|
}
|
|
} |