AdminLTE/build/scss/_pagination.scss

83 lines
1.4 KiB
SCSS
Raw Normal View History

2020-07-22 16:00:40 +02:00
//
// Component: Pagination
//
.pagination-month {
.page-item {
justify-self: stretch;
.page-link {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
box-shadow: none;
2020-07-22 16:00:40 +02:00
}
&:first-child,
&:last-child {
.page-link {
height: 100%;
font-size: $font-size-lg;
}
}
.page-month {
margin-bottom: 0;
font-size: $font-size-lg;
font-weight: $font-weight-bold;
}
.page-year {
margin-bottom: 0;
}
}
&.pagination-lg {
.page-month {
font-size: ($font-size-lg * 1.25);
}
}
&.pagination-sm {
.page-month {
font-size: ($font-size-base);
}
}
}
2020-09-23 16:08:15 +02:00
@include dark-mode () {
2020-09-23 16:08:15 +02:00
.page-item {
2020-12-24 12:12:00 +01:00
&.disabled a,
2020-09-23 16:08:15 +02:00
&.disabled .page-link {
2020-12-24 12:12:00 +01:00
background-color: lighten($dark, 2.5%) !important;
border-color: $gray-600 !important;
2020-09-23 16:08:15 +02:00
color: $gray-600;
}
2021-03-09 20:44:26 +01:00
.page-link {
color: $primary-alt;
}
2020-09-23 16:08:15 +02:00
&.active {
.page-link {
2021-03-09 20:44:26 +01:00
background-color: $primary-alt;
color: $white;
2020-09-23 16:08:15 +02:00
&:hover,
&:focus {
2020-12-24 12:12:00 +01:00
color: $gray-400 !important;
2020-09-23 16:08:15 +02:00
}
}
}
&:not(.active) {
.page-link {
background-color: $dark;
border-color: $gray-600;
&:hover,
&:focus {
2021-03-09 20:44:26 +01:00
color: lighten($primary-alt, 5%);
2020-09-23 16:08:15 +02:00
background-color: lighten($dark, 5%);
}
}
}
}
}