brf/client/admin/components/pagination.module.scss
2025-12-18 07:31:37 +01:00

64 lines
928 B
SCSS

@use '../styles/variables' as v;
@use '../../shared/styles/breakpoints';
@use '../../shared/styles/utils';
.pagination {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px;
}
.results {
padding: 3px 9px 0 0;
> .number {
font-size: 1.1em;
font-weight: bold;
}
}
.pages {
display: flex;
> li {
display: block;
}
}
.page,
.prev,
.next {
> a {
display: block;
padding: 6px 12px;
margin-left: -1px;
line-height: 1.42857143;
color: #666;
text-decoration: none;
background-color: #fafafa;
border: 1px solid #ddd;
&[href='javascript:;'] {
cursor: not-allowed;
}
}
&.currentPage {
> a {
color: white;
background: v.$color-blue;
}
}
}
.prev a {
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
}
.next a {
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
}