[Operator] Pembaruan Laman Operator
This commit is contained in:
@@ -380,6 +380,31 @@ a.pager__link:active { background: color-mix(in oklab, var(--color-ink) 12%, tra
|
||||
|
||||
.dialog__body > :not(.dialog__head, .dialog__actions) { padding: var(--space-md) var(--space-lg); }
|
||||
|
||||
/*
|
||||
* Semua dialog: header dan footer tetap terlihat, hanya isinya yang bergulir (bilah gulir tipis). Dropdown Select2
|
||||
* menempel di elemen dialog (bukan di isi), jadi tidak terpotong oleh isi yang bergulir; dialog ber-Select2 tetap
|
||||
* overflow visible (aturan di atas) agar dropdown boleh keluar dari tepi dialog.
|
||||
*/
|
||||
.dialog:not(:has(select.field__select)) { overflow: hidden; }
|
||||
.dialog__body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
max-height: calc(100dvh - 2 * var(--gutter));
|
||||
}
|
||||
.dialog__body > .dialog__head,
|
||||
.dialog__body > .dialog__actions { flex-shrink: 0; }
|
||||
.dialog__body > :not(.dialog__head, .dialog__actions) {
|
||||
flex: 1 1 auto;
|
||||
min-height: 0;
|
||||
overflow: auto;
|
||||
overscroll-behavior: contain;
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: var(--color-rule) transparent;
|
||||
}
|
||||
.dialog__body > :not(.dialog__head, .dialog__actions)::-webkit-scrollbar { width: 0.375rem; height: 0.375rem; }
|
||||
.dialog__body > :not(.dialog__head, .dialog__actions)::-webkit-scrollbar-thumb { background: var(--color-rule); border-radius: var(--radius-pill); }
|
||||
.dialog__body > :not(.dialog__head, .dialog__actions)::-webkit-scrollbar-track { background: transparent; }
|
||||
|
||||
.dialog__head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
Reference in New Issue
Block a user