58 lines
1.2 KiB
CSS
58 lines
1.2 KiB
CSS
.pagination {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
|
|
.prev {
|
|
&.disabled {
|
|
color: var(--color-text-muted);
|
|
}
|
|
}
|
|
|
|
details {
|
|
flex: 1;
|
|
text-align: center;
|
|
position: relative;
|
|
|
|
summary {
|
|
cursor: pointer;
|
|
}
|
|
|
|
ul {
|
|
position: absolute;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--gap-half);
|
|
overflow: auto;
|
|
max-height: 50vh;
|
|
min-width: 300px;
|
|
width: auto;
|
|
left: 50%;
|
|
margin-left: -150px;
|
|
padding: var(--padding);
|
|
list-style: none;
|
|
border-radius: var(--radius-pagination);
|
|
box-shadow: var(--shadow-pagination);
|
|
border: var(--border-pagination);
|
|
background: var(--background-pagination);
|
|
|
|
li {
|
|
font-size: 1rem;
|
|
|
|
.current {
|
|
display: block;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
a {
|
|
display: block;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.next {
|
|
&.disabled {
|
|
color: var(--color-text-muted);
|
|
}
|
|
}
|
|
} |