PTMagic/Monitor/wwwroot/assets/scss/_pagination.scss

79 lines
1.6 KiB
SCSS

/* ===========
Pagination
=============*/
.pagination > li:first-child > a,
.pagination > li:first-child > span {
border-bottom-left-radius: 3px;
border-top-left-radius: 3px;
}
.pagination > li:last-child > a,
.pagination > li:last-child > span {
border-bottom-right-radius: 3px;
border-top-right-radius: 3px;
}
.pagination > li > a,
.pagination > li > span {
color: darken($white,10%);
}
.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
background-color: lighten($dark,15%);
color: $white;
}
.pagination-split li {
margin-left: 5px;
display: inline-block;
float: left;
}
.pagination-split li:first-child {
margin-left: 0;
}
.pagination-split li a {
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus,
.page-item.active .page-link{
background-color: $custom;
border-color: $custom;
}
.pager .disabled > a, .pager .disabled > a:focus, .pager .disabled > a:hover, .pager .disabled > span {
opacity: 0.6;
}
.pager li > a, .pager li > span {
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
color: $inverse;
}
.page-link {
background-color: lighten($dark,10%);
border: none;
}
.page-item.disabled .page-link {
color: $white;
background-color: lighten($dark,15%);
}
.page-item.active .page-link {
background-color: $custom;
}