[Operator] Perbaikan Halaman Kurikulum

This commit is contained in:
Ariyutta
2026-11-12 16:10:18 +07:00
parent d592630f57
commit 15be51ebd6
13 changed files with 159 additions and 21 deletions
+5
View File
@@ -61,6 +61,11 @@
--color-success-soft: oklch(94.5% 0.04 155);
--color-error: oklch(46% 0.19 25);
--color-error-soft: oklch(95% 0.03 25);
/* Skala meter empat pita (0–25 merah, 26–50 oranye, 51–75 kuning, 76–100 hijau) untuk bar persen sebaris */
--color-scale-1: oklch(58% 0.21 28);
--color-scale-2: oklch(72% 0.17 55);
--color-scale-3: oklch(84% 0.16 95);
--color-scale-4: oklch(62% 0.17 150);
/* Huruf: dua keluarga, dihosting sendiri lewat @fontsource */
--font-display: "Plus Jakarta Sans Variable", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
+7
View File
@@ -544,6 +544,13 @@ html:has(dialog.dialog[open]) { overflow-y: clip; }
transform-origin: left center;
}
/* Meter sebaris untuk sel tabel dan panel detail: bar lalu angka persen di kanannya */
.meter--inline { grid-template-columns: minmax(5rem, 1fr) auto; align-items: center; gap: var(--space-xs); min-width: 9rem; }
/* Warna isi bar menurut rentang nilai: 0–25 merah, 26–50 oranye, 51–75 kuning, 76–100 hijau (satu warna penuh) */
.meter--scale-1 { --meter-fill: var(--color-scale-1); }
.meter--scale-2 { --meter-fill: var(--color-scale-2); }
.meter--scale-3 { --meter-fill: var(--color-scale-3); }
.meter--scale-4 { --meter-fill: var(--color-scale-4); }
.meter--success { --meter-fill: var(--color-success); }
.meter--danger { --meter-fill: var(--color-error); }
.meter--accent { --meter-fill: var(--color-accent); }