[Operator] Kelengkapan Laman Konsentrasi
This commit is contained in:
@@ -622,6 +622,32 @@ tbody > tr[hidden] { display: none; }
|
||||
.dialog--stack.dialog--tall:has(select.field__select) { overflow: auto; }
|
||||
}
|
||||
.satu-form select[multiple] { min-height: 11rem; }
|
||||
/* Isian selebar dua kolom di formulir berkolom ('span' => 2) */
|
||||
.dialog--wide .satu-form__span { grid-column: span 2; }
|
||||
|
||||
/* Daftar centang di formulir modal (mis. mata kuliah anggota grup): keterangan, kotak cari, daftar bergulir, jumlah tercentang */
|
||||
.checklist { display: grid; gap: var(--space-xs); }
|
||||
.checklist .field__label { margin: 0; }
|
||||
.checklist__hint, .checklist__empty, .checklist__count { margin: 0; font-size: var(--text-sm); line-height: 1.5; color: var(--color-muted); }
|
||||
.checklist__tools { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs) var(--space-md); }
|
||||
.checklist__tools .field__input { flex: 1 1 14rem; }
|
||||
.checklist__only { min-height: 2.25rem; font-size: var(--text-sm); }
|
||||
.checklist__list {
|
||||
/* Di layar pendek daftar memendek supaya seluruh formulir (dan tombol Simpan) tetap muat tanpa menggulir dialog */
|
||||
max-height: clamp(8rem, 100dvh - 36rem, 16rem);
|
||||
overflow-y: auto;
|
||||
padding-inline: var(--space-sm);
|
||||
border: 1px solid var(--color-edge);
|
||||
border-radius: var(--radius-control);
|
||||
background: var(--color-surface);
|
||||
}
|
||||
.checklist__item { align-items: flex-start; min-height: 0; padding-block: var(--space-xs); font-size: var(--text-sm); line-height: 1.45; }
|
||||
.checklist__item .check__input { margin-block-start: 0.0625rem; }
|
||||
.checklist__item + .checklist__item { border-block-start: var(--rule-hair) solid var(--color-rule); }
|
||||
.checklist__note { color: var(--color-muted); }
|
||||
.checklist__list .checklist__empty { padding-block: var(--space-sm); }
|
||||
/* Formulir berdaftar centang lebih tinggi dari layar pendek: dialog digulir (mengalahkan overflow: visible untuk Select2) */
|
||||
.dialog.dialog--scroll, .dialog.dialog--scroll:has(select.field__select) { overflow: auto; }
|
||||
|
||||
/* ------------------------------------------------------------------
|
||||
Beranda operator
|
||||
@@ -694,6 +720,7 @@ button, a, summary, label, select, [role="tab"] { touch-action: manipulation; }
|
||||
.satu-pager { grid-column: 1 / -1; justify-content: center; flex-wrap: nowrap; padding-block-start: var(--space-3xs); }
|
||||
|
||||
.satu-form, .satu-form__actions .btn { grid-template-columns: minmax(0, 1fr); }
|
||||
.satu-form .satu-form__span { grid-column: auto; }
|
||||
.satu-form__actions .btn { flex: 1 1 100%; }
|
||||
|
||||
.panel-title { flex-wrap: wrap; gap: var(--space-xs); }
|
||||
|
||||
Reference in New Issue
Block a user