Kurikulum: tab Peta Visual dari Dashboard Pemetaan CPMK, memakai data versi kurikulum
Visualisasi dashboard-deploy/index.html (Sankey CPL→CPMK→MK, explorer bertingkat, matriks MK×CPL, kartu MK, deteksi celah) dipindah ke /kurikulum?tab=visual bergaya Vuexy. Data dibangun dari versi kurikulum yang dibuka (kurikulum.peta_visual), bukan lagi salinan statis. Explorer menampilkan Sub-CPMK sebagai akordeon per MK; sorotan CPL/CPMK/MK berlaku lintas panel dan tersimpan di hash URL. Tambahan: heatmap sebaran CPL per semester. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
99a1655f56
commit
2d7e0bd926
@@ -382,3 +382,52 @@ kbd { font-size: .7rem; padding: .1rem .35rem; }
|
||||
.matriks td.matriks-ya { background: rgba(var(--bs-primary-rgb), .14); color: var(--bs-primary); font-weight: 600; }
|
||||
.matriks .sorot { background-color: rgba(var(--bs-warning-rgb), .10); }
|
||||
.matriks td.matriks-ya.sorot { background: rgba(var(--bs-primary-rgb), .26); }
|
||||
|
||||
/* ═════════ Kurikulum: Peta Visual (Sankey, explorer, kartu MK, celah) ═════════ */
|
||||
.pv-sorot { position: sticky; top: 5.5rem; z-index: 5; }
|
||||
.pv-klik { cursor: pointer; }
|
||||
.pv-sankey-wrap { overflow-x: auto; }
|
||||
#pv-sankey { display: block; }
|
||||
.pv-pita { fill: none; stroke-opacity: .32; transition: stroke-opacity .15s; }
|
||||
.pv-pita.pv-terang { stroke-opacity: .78; }
|
||||
.pv-pita.pv-redup { stroke-opacity: .05; }
|
||||
.pv-simpul { cursor: pointer; outline: none; }
|
||||
.pv-simpul:hover rect, .pv-simpul:focus-visible rect { stroke: var(--bs-heading-color); stroke-width: 1.5; }
|
||||
.pv-teks { fill: var(--bs-body-color); font-size: 11px; pointer-events: none; }
|
||||
.pv-legenda { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
|
||||
.pv-legenda-item { border: 0; background: none; padding: 0; font-size: .8125rem; color: var(--bs-body-color); display: inline-flex; align-items: center; gap: .375rem; }
|
||||
.pv-legenda-item i { width: .75rem; height: .75rem; border-radius: 3px; display: inline-block; }
|
||||
.pv-explorer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
|
||||
@media (max-width: 991.98px) { .pv-explorer { grid-template-columns: 1fr; } }
|
||||
.pv-kolom { border: 1px solid var(--bs-border-color); border-radius: var(--bs-border-radius-lg); display: flex; flex-direction: column; min-height: 0; }
|
||||
.pv-kolom-kepala { padding: .625rem .875rem; border-bottom: 1px solid var(--bs-border-color); font-weight: 600; font-size: .8125rem; color: var(--bs-heading-color); }
|
||||
.pv-kolom-isi { padding: .5rem; max-height: 460px; overflow-y: auto; }
|
||||
.pv-simpul-ex { --pv-warna: var(--bs-primary); display: block; width: 100%; text-align: left; border: 1px solid transparent; border-left: 3px solid var(--pv-warna); border-radius: var(--bs-border-radius); background: none; padding: .5rem .625rem; margin-bottom: .375rem; color: var(--bs-body-color); }
|
||||
.pv-simpul-ex small { display: block; line-height: 1.35; margin-top: .125rem; }
|
||||
.pv-simpul-ex:hover { background: rgba(var(--bs-primary-rgb), .06); }
|
||||
.pv-simpul-ex.aktif { background: rgba(var(--bs-primary-rgb), .12); border-color: rgba(var(--bs-primary-rgb), .35); border-left-color: var(--pv-warna); }
|
||||
.pv-kosong { padding: 2rem 1rem; text-align: center; color: var(--bs-secondary-color); font-size: .8125rem; }
|
||||
.pv-akordeon .accordion-button { font-size: .8125rem; padding: .625rem .875rem; }
|
||||
.pv-akordeon .accordion-body { padding: .25rem .875rem .75rem; }
|
||||
.pv-sub { padding: .375rem 0; border-bottom: 1px dashed var(--bs-border-color); font-size: .8125rem; }
|
||||
.pv-sub:last-child { border-bottom: 0; }
|
||||
.pv-matriks .pv-kolom-on { box-shadow: inset 0 0 0 2px rgba(var(--bs-warning-rgb), .6); }
|
||||
.pv-matriks .pv-redup-baris { opacity: .3; }
|
||||
.pv-matriks td.pv-redup-sel { background: transparent; color: var(--bs-secondary-color); font-weight: 400; }
|
||||
.pv-mk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; }
|
||||
.pv-kartu { display: flex; flex-direction: column; gap: .5rem; text-align: left; border: 1px solid var(--bs-border-color); border-radius: var(--bs-border-radius-lg); background: var(--bs-paper-bg); padding: .875rem 1rem; color: var(--bs-body-color); transition: border-color .15s, box-shadow .15s, opacity .15s; }
|
||||
.pv-kartu:hover, .pv-kartu:focus-visible { border-color: var(--bs-primary); outline: none; box-shadow: var(--bs-box-shadow-sm); }
|
||||
.pv-kartu.pv-terang { border-color: var(--bs-primary); box-shadow: 0 0 0 2px rgba(var(--bs-primary-rgb), .25); }
|
||||
.pv-kartu.pv-redup-kartu { opacity: .4; }
|
||||
.pv-kartu-nama { font-weight: 600; color: var(--bs-heading-color); line-height: 1.3; }
|
||||
.pv-kartu-statistik { display: flex; gap: 1rem; font-size: .75rem; color: var(--bs-secondary-color); }
|
||||
.pv-kartu-statistik b { display: block; font-size: 1rem; color: var(--bs-heading-color); }
|
||||
.pv-chip { --pv-warna: var(--bs-primary); font-size: .6875rem; padding: .125rem .375rem; border-radius: .25rem; color: var(--pv-warna); background: color-mix(in srgb, var(--pv-warna) 14%, transparent); font-weight: 600; }
|
||||
.pv-cpmk-blok { --pv-warna: var(--bs-primary); border-left: 3px solid var(--pv-warna); padding: .25rem 0 .25rem .875rem; margin-bottom: 1rem; }
|
||||
.pv-batang { display: flex; align-items: center; gap: .625rem; margin-bottom: .5rem; font-size: .8125rem; }
|
||||
.pv-batang-label { width: 42%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||||
.pv-batang-nilai { width: 1.75rem; text-align: right; font-weight: 600; color: var(--bs-heading-color); }
|
||||
.pv-batang.pv-klik:hover .pv-batang-label { color: var(--bs-primary); }
|
||||
.pv-bendera { min-width: 3rem; align-self: flex-start; }
|
||||
.pv-sebaran th, .pv-sebaran td { padding: .2rem .25rem; font-size: .8125rem; }
|
||||
.pv-sel-panas { --pv-warna: var(--bs-primary); --pv-a: 0; display: block; min-width: 2.25rem; height: 1.75rem; line-height: 1.75rem; border-radius: .375rem; font-weight: 600; font-size: .75rem; color: var(--bs-heading-color); background: color-mix(in srgb, var(--pv-warna) calc(var(--pv-a) * 100%), transparent); border: 1px solid var(--bs-border-color); }
|
||||
|
||||
Reference in New Issue
Block a user