Files
hugo-theme-stack/assets/scss/partials/pagination.scss
T

50 lines
1.2 KiB
SCSS
Raw Normal View History

2020-08-22 13:20:08 +02:00
.pagination {
display: flex;
background-color: var(--card-background);
box-shadow: var(--shadow-l1);
2020-08-22 13:20:08 +02:00
border-radius: var(--card-border-radius);
overflow: hidden;
2020-09-06 14:18:38 +02:00
2020-08-22 13:20:08 +02:00
.page-link {
padding: 16px 0;
margin: 0;
border-radius: 0;
display: flex;
align-items: center;
justify-content: center;
flex: 1 1 auto;
min-width: 48px;
color: var(--card-text-color-secondary);
text-decoration: none;
2020-08-22 13:20:08 +02:00
&:first-child,
&:last-child {
flex: 0 0 48px;
padding: 16px;
2020-08-22 13:20:08 +02:00
}
&:hover:not(.current):not(.disabled) {
background-color: var(--card-background-selected);
opacity: 0.8;
}
&.current {
background-color: var(--card-background-selected);
color: var(--card-text-color-main);
font-weight: bold;
cursor: default;
}
&.disabled {
opacity: 0.3;
cursor: not-allowed;
pointer-events: none;
color: var(--card-text-color-secondary);
}
svg {
width: 20px;
height: 20px;
}
2020-08-22 13:20:08 +02:00
}
}