mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-11 18:21:04 +08:00
71 lines
1.1 KiB
SCSS
71 lines
1.1 KiB
SCSS
.kaminari-pagination {
|
|
align-items: center;
|
|
display: flex;
|
|
justify-content: center;
|
|
|
|
.page a,
|
|
.page.current,
|
|
.page.gap {
|
|
align-items: center;
|
|
border: $border-transparent;
|
|
border-radius: $border-radius-default;
|
|
color: inherit;
|
|
display: inline-flex;
|
|
height: 3em;
|
|
justify-content: center;
|
|
margin: 0 .25em;
|
|
outline: 0;
|
|
text-decoration: none;
|
|
width: 3em;
|
|
|
|
&.current {
|
|
border: $border-primary;
|
|
}
|
|
}
|
|
|
|
.prev a {
|
|
&::before {
|
|
@include font-awesome;
|
|
content: $font-fas-angle-left;
|
|
}
|
|
}
|
|
|
|
.first a {
|
|
&::before {
|
|
@include font-awesome;
|
|
content: $font-fas-angle-double-left;
|
|
}
|
|
}
|
|
|
|
.next a {
|
|
&::after {
|
|
@include font-awesome;
|
|
content: $font-fas-angle-right;
|
|
}
|
|
}
|
|
|
|
.last a {
|
|
&::after {
|
|
@include font-awesome;
|
|
content: $font-fas-angle-double-right;
|
|
}
|
|
}
|
|
|
|
.first,
|
|
.prev,
|
|
.next,
|
|
.last {
|
|
a {
|
|
color: inherit;
|
|
line-height: 3em;
|
|
margin: 0 .25em;
|
|
padding: .5em;
|
|
text-decoration: none;
|
|
|
|
&:before,
|
|
&:after {
|
|
margin: 0 .25em;
|
|
}
|
|
}
|
|
}
|
|
}
|