pagnation
This commit is contained in:
+127
-1
@@ -6355,4 +6355,130 @@ dialog::backdrop {
|
||||
padding-left: 0;
|
||||
font-size: .68rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
/* Search, pagination and theme-aware scrollbars. */
|
||||
* {
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: var(--border-strong) var(--surface-inset);
|
||||
}
|
||||
|
||||
*::-webkit-scrollbar {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
}
|
||||
|
||||
*::-webkit-scrollbar-track {
|
||||
background: var(--surface-inset);
|
||||
}
|
||||
|
||||
*::-webkit-scrollbar-thumb {
|
||||
border: 2px solid var(--surface-inset);
|
||||
border-radius: 999px;
|
||||
background: var(--border-strong);
|
||||
}
|
||||
|
||||
*::-webkit-scrollbar-thumb:hover {
|
||||
background: var(--muted-2);
|
||||
}
|
||||
|
||||
.list-controls,
|
||||
.notes-toolbar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.resources-controls {
|
||||
margin-top: 18px;
|
||||
}
|
||||
|
||||
.list-search {
|
||||
flex: 1 1 240px;
|
||||
}
|
||||
|
||||
.list-search input {
|
||||
width: 100%;
|
||||
min-height: 40px;
|
||||
}
|
||||
|
||||
.page-size-label {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
color: var(--muted);
|
||||
font-size: .82rem;
|
||||
font-weight: 600;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.page-size-label select {
|
||||
min-width: 78px;
|
||||
min-height: 40px;
|
||||
padding: 0 34px 0 12px;
|
||||
border: 1px solid var(--border-strong);
|
||||
border-radius: 10px;
|
||||
background-color: var(--surface-toolbar);
|
||||
background-image: linear-gradient(45deg, transparent 50%, var(--select-arrow) 50%),
|
||||
linear-gradient(135deg, var(--select-arrow) 50%, transparent 50%);
|
||||
background-position: calc(100% - 16px) 16px, calc(100% - 11px) 16px;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 5px 5px, 5px 5px;
|
||||
box-shadow: inset 0 1px 0 var(--wash-soft);
|
||||
color: var(--text);
|
||||
font-weight: 700;
|
||||
appearance: none;
|
||||
-webkit-appearance: none;
|
||||
cursor: pointer;
|
||||
transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
|
||||
}
|
||||
|
||||
.page-size-label select:hover {
|
||||
border-color: var(--select-border);
|
||||
background-color: var(--surface-hover);
|
||||
}
|
||||
|
||||
.page-size-label select:focus-visible {
|
||||
border-color: var(--focus);
|
||||
outline: none;
|
||||
box-shadow: 0 0 0 3px var(--focus-ring), inset 0 1px 0 var(--wash-soft);
|
||||
}
|
||||
|
||||
.page-size-label:focus-within {
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.pagination {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 12px;
|
||||
margin-top: 16px;
|
||||
color: var(--muted);
|
||||
font-size: .88rem;
|
||||
}
|
||||
|
||||
.pagination button {
|
||||
min-height: 36px;
|
||||
padding: 0 12px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 8px;
|
||||
background: var(--surface-2);
|
||||
color: var(--text);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.pagination button:disabled {
|
||||
opacity: .45;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
@media (max-width: 620px) {
|
||||
.pagination {
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.pagination span {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user