This commit is contained in:
1 parent
a5dfd3dc5a
commit
aea883cb77
1 file changed
+75
@@ -839,6 +839,81 @@
|
||||
}
|
||||
}
|
||||
|
||||
.sc-pagination {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 0.75rem;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.sc-pagination-page-size {
|
||||
width: auto;
|
||||
min-height: 2.25rem;
|
||||
padding: 0.375rem 0.6rem;
|
||||
color: var(--sc-fg);
|
||||
background: var(--sc-bg);
|
||||
border: 1px solid var(--sc-border);
|
||||
border-radius: var(--sc-radius-sm);
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
.sc-pagination-info {
|
||||
margin: 0;
|
||||
color: var(--sc-muted-fg);
|
||||
font-size: 0.8rem;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.sc-pagination-controls {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.25rem;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.sc-pagination-button {
|
||||
display: grid;
|
||||
width: 2.1rem;
|
||||
height: 2.1rem;
|
||||
place-items: center;
|
||||
color: var(--sc-muted-fg);
|
||||
background: transparent;
|
||||
border: 1px solid var(--sc-border);
|
||||
border-radius: var(--sc-radius-sm);
|
||||
cursor: pointer;
|
||||
transition:
|
||||
color 140ms ease,
|
||||
background 140ms ease,
|
||||
border-color 140ms ease;
|
||||
}
|
||||
|
||||
.sc-pagination-button:hover:not(:disabled) {
|
||||
color: var(--sc-fg);
|
||||
background: var(--sc-surface-hover);
|
||||
}
|
||||
|
||||
.sc-pagination-button:focus-visible {
|
||||
outline: 3px solid color-mix(in srgb, var(--sc-ring) 45%, transparent);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
.sc-pagination-button:disabled {
|
||||
cursor: not-allowed;
|
||||
opacity: 0.4;
|
||||
}
|
||||
|
||||
@media (max-width: 620px) {
|
||||
.sc-pagination {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.sc-pagination-controls {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.sc-auth-page {
|
||||
display: grid;
|
||||
min-height: 100vh;
|
||||
|
||||
Reference in new issue
Block a user