Rombak UI Vuexy, OBE Fase 1–3, Data Master, dasbor per peran
- UI Vuexy biru UNTAN; 5 peran + pengalih peran; dasbor kaprodi (KPI), dosen (task-first), wali, mahasiswa - Raport CPL per mahasiswa/angkatan dengan rumus resmi Dokumen Kurikulum 2026 (skor maks CPMK), radar perjalanan CPL - CQI tiga loop + Laporan Pengukuran CPL (.docx) - Data Master: periode buka/tutup/kunci, dosen, mahasiswa, kelas & pengajar (papan seret), KRS, dosen wali, impor pratinjau - Kurikulum berversi dari PDF resmi (tools/extract_dokumen.py), halaman Kurikulum, revisi draf→berlaku, pemeriksa keselarasan, ekspor tabel Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
250c954f2a
commit
5e70003bd2
@@ -0,0 +1,384 @@
|
||||
/*
|
||||
* app.css — gaya proyek RPS & Portofolio Informatika UNTAN di atas Vuexy.
|
||||
* Dasar dari derived/vuexy-php-base (dashboard akreditasi); core.css tidak diedit.
|
||||
* 1. Warna primary → Biru UNTAN (#1F4E79), terang & gelap
|
||||
* 2. Komponen kecil proyek (brand, chart-box, card-hover)
|
||||
* 3. Lapisan kompatibilitas kelas lama (table.grid, .tombol, .stamp, …)
|
||||
* supaya isi form & JS baris dinamis tidak perlu ditulis ulang
|
||||
*/
|
||||
|
||||
/* ── 1. Primary Biru UNTAN ─────────────────────────────────────────── */
|
||||
:root,
|
||||
[data-bs-theme=light] {
|
||||
--bs-primary: #1f4e79;
|
||||
--bs-primary-rgb: 31, 78, 121;
|
||||
--bs-primary-bg-subtle: #dde7f0;
|
||||
--bs-primary-border-subtle: #b4c8db;
|
||||
--bs-primary-text-emphasis: #12304b;
|
||||
--bs-link-color: #1f4e79;
|
||||
--bs-link-color-rgb: 31, 78, 121;
|
||||
--bs-link-hover-color: #183e60;
|
||||
--u-blue-fill: #e8eff6; /* pengganti --blue-fill lama */
|
||||
--u-row-alt: rgba(31, 78, 121, .035);
|
||||
}
|
||||
[data-bs-theme=dark] {
|
||||
--bs-primary: #5b8ec2;
|
||||
--bs-primary-rgb: 91, 142, 194;
|
||||
--bs-primary-bg-subtle: #273a50;
|
||||
--bs-primary-border-subtle: #36506d;
|
||||
--bs-primary-text-emphasis: #a9c6e3;
|
||||
--bs-link-color: #7ea9d4;
|
||||
--bs-link-color-rgb: 126, 169, 212;
|
||||
--bs-link-hover-color: #a9c6e3;
|
||||
--u-blue-fill: #22324a;
|
||||
--u-row-alt: rgba(255, 255, 255, .025);
|
||||
}
|
||||
.btn-primary {
|
||||
--bs-btn-bg: var(--bs-primary);
|
||||
--bs-btn-border-color: var(--bs-primary);
|
||||
--bs-btn-hover-bg: rgba(var(--bs-primary-rgb), .88);
|
||||
--bs-btn-hover-border-color: rgba(var(--bs-primary-rgb), .88);
|
||||
--bs-btn-active-bg: rgba(var(--bs-primary-rgb), .88);
|
||||
--bs-btn-active-border-color: rgba(var(--bs-primary-rgb), .88);
|
||||
--bs-btn-disabled-bg: var(--bs-primary);
|
||||
--bs-btn-disabled-border-color: var(--bs-primary);
|
||||
--bs-btn-focus-shadow-rgb: var(--bs-primary-rgb);
|
||||
}
|
||||
.btn-outline-primary {
|
||||
--bs-btn-color: var(--bs-primary);
|
||||
--bs-btn-border-color: var(--bs-primary);
|
||||
--bs-btn-hover-bg: var(--bs-primary);
|
||||
--bs-btn-hover-border-color: var(--bs-primary);
|
||||
--bs-btn-active-bg: var(--bs-primary);
|
||||
--bs-btn-active-border-color: var(--bs-primary);
|
||||
--bs-btn-disabled-color: var(--bs-primary);
|
||||
--bs-btn-disabled-border-color: var(--bs-primary);
|
||||
--bs-btn-focus-shadow-rgb: var(--bs-primary-rgb);
|
||||
}
|
||||
.progress, .progress-stacked { --bs-progress-bar-bg: var(--bs-primary); }
|
||||
|
||||
/* ── 2. Komponen proyek ────────────────────────────────────────────── */
|
||||
.app-brand-logo.demo .app-brand-img { width: 34px; height: 34px; object-fit: contain; }
|
||||
.app-brand-text.demo { font-size: 1.15rem; line-height: 1.15; }
|
||||
.app-brand-text small { display: block; font-size: .7rem; font-weight: 500; opacity: .7; }
|
||||
|
||||
.card-hover { transition: transform .2s ease, box-shadow .2s ease; }
|
||||
.card-hover:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 .375rem 1rem rgba(var(--bs-primary-rgb), .15) !important;
|
||||
}
|
||||
|
||||
.chart-box { position: relative; width: 100%; }
|
||||
.chart-box.h-160 { height: 160px; }
|
||||
.chart-box.h-200 { height: 200px; }
|
||||
.chart-box.h-240 { height: 240px; }
|
||||
.chart-box.h-280 { height: 280px; }
|
||||
.chart-box.h-320 { height: 320px; }
|
||||
.chart-box.h-380 { height: 380px; }
|
||||
.chart-box.h-360 { height: 360px; }
|
||||
.chart-spark { position: relative; height: 54px; }
|
||||
|
||||
.table-compact th, .table-compact td { padding: .45rem .75rem; }
|
||||
|
||||
/* persentase di stat card beranda (diisi JS filter semester) */
|
||||
.kpi-pct { font-size: .7rem; font-weight: 500; }
|
||||
.kpi-pct:empty { display: none; }
|
||||
|
||||
/* navigasi bagian form (kolom kanan, lengket) */
|
||||
.nav-bagian { position: sticky; top: 90px; }
|
||||
.nav-bagian .list-group-item { padding: .4rem .9rem; font-size: .8125rem; }
|
||||
|
||||
/* bar aksi form: menempel di dasar layar */
|
||||
.aksi-lengket {
|
||||
position: sticky; bottom: 0; z-index: 9;
|
||||
margin-top: 1.5rem;
|
||||
box-shadow: 0 -.25rem 1rem rgba(0, 0, 0, .08);
|
||||
}
|
||||
|
||||
/* iframe pemetaan */
|
||||
.pemetaan-frame { width: 100%; height: calc(100vh - 190px); min-height: 520px; border: 0; border-radius: var(--bs-border-radius-lg); background: var(--bs-paper-bg); }
|
||||
|
||||
/* login */
|
||||
.auth-logo { width: 64px; height: 64px; object-fit: contain; }
|
||||
|
||||
/* ── 3. Kompatibilitas kelas lama ──────────────────────────────────── */
|
||||
h2.bagian {
|
||||
font-size: 1.0625rem; font-weight: 500; color: var(--bs-heading-color);
|
||||
margin: 0 0 .25rem;
|
||||
}
|
||||
.keterangan { font-size: .8125rem; color: var(--bs-secondary-color); margin: .25rem 0 .75rem; }
|
||||
.gulir { overflow-x: auto; }
|
||||
|
||||
/* tabel gaya Word → tabel Vuexy bergaris tipis */
|
||||
table.grid {
|
||||
width: 100%; border-collapse: collapse;
|
||||
font-size: .875rem; color: var(--bs-body-color);
|
||||
}
|
||||
table.grid th {
|
||||
background: var(--u-blue-fill); color: var(--bs-heading-color);
|
||||
font-weight: 600; font-size: .75rem; text-transform: uppercase; letter-spacing: .02em;
|
||||
padding: .6rem .75rem; border: 1px solid var(--bs-border-color); text-align: left; vertical-align: middle;
|
||||
}
|
||||
table.grid th.sub { background: var(--bs-primary-bg-subtle); }
|
||||
table.grid td { border: 1px solid var(--bs-border-color); padding: .55rem .75rem; vertical-align: top; }
|
||||
table.grid tbody tr:hover td { background: var(--u-row-alt); }
|
||||
table.grid td.tengah, table.grid th.tengah { text-align: center; }
|
||||
table.grid td.label {
|
||||
background: var(--u-blue-fill); font-weight: 500; color: var(--bs-heading-color); width: 220px;
|
||||
}
|
||||
table.grid tr.uts td { background: rgba(var(--bs-success-rgb), .08); }
|
||||
table.grid tr.uas td { background: rgba(var(--bs-warning-rgb), .1); }
|
||||
table.grid tr.total td { background: var(--u-blue-fill); font-weight: 600; }
|
||||
|
||||
th.bisa-urut { cursor: pointer; user-select: none; }
|
||||
th.bisa-urut:hover { color: var(--bs-primary) !important; }
|
||||
th.bisa-urut[data-arah="asc"]::after { content: " ▲"; font-size: 9px; color: var(--bs-primary); }
|
||||
th.bisa-urut[data-arah="desc"]::after { content: " ▼"; font-size: 9px; color: var(--bs-primary); }
|
||||
|
||||
/* isian di dalam tabel form */
|
||||
table.grid input[type="text"], table.grid input[type="number"], table.grid input[type="password"],
|
||||
table.grid textarea, table.grid select,
|
||||
.form-lama input[type="text"], .form-lama input[type="number"], .form-lama input[type="password"],
|
||||
.form-lama textarea, .form-lama select {
|
||||
display: block; width: 100%;
|
||||
padding: .4rem .65rem; font-size: .875rem; line-height: 1.4;
|
||||
color: var(--bs-heading-color); background: var(--bs-paper-bg);
|
||||
border: 1px solid var(--bs-border-color); border-radius: var(--bs-border-radius);
|
||||
transition: border-color .15s, box-shadow .15s;
|
||||
}
|
||||
table.grid textarea, .form-lama textarea { resize: vertical; }
|
||||
table.grid input:focus, table.grid textarea:focus, table.grid select:focus,
|
||||
.form-lama input:focus, .form-lama textarea:focus, .form-lama select:focus {
|
||||
outline: 0; border-color: var(--bs-primary);
|
||||
box-shadow: 0 0 0 .15rem rgba(var(--bs-primary-rgb), .18);
|
||||
}
|
||||
table.grid input[type="checkbox"], .form-lama input[type="checkbox"],
|
||||
table.grid input[type="radio"], .form-lama input[type="radio"] { width: auto; display: inline-block; accent-color: var(--bs-primary); }
|
||||
td.isian { padding: .3rem !important; }
|
||||
|
||||
/* tombol lama → btn Vuexy */
|
||||
.tombol {
|
||||
display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
|
||||
font-family: inherit; font-size: .875rem; font-weight: 500; line-height: 1.4;
|
||||
padding: .5rem 1.1rem; border-radius: var(--bs-border-radius);
|
||||
background: var(--bs-primary); color: #fff; border: 1px solid var(--bs-primary);
|
||||
cursor: pointer; text-decoration: none;
|
||||
box-shadow: 0 .125rem .25rem rgba(var(--bs-primary-rgb), .3);
|
||||
transition: background .15s, box-shadow .15s;
|
||||
}
|
||||
.tombol:hover { background: rgba(var(--bs-primary-rgb), .88); color: #fff; }
|
||||
.tombol.garis {
|
||||
background: var(--bs-primary-bg-subtle); color: var(--bs-primary);
|
||||
border-color: transparent; box-shadow: none;
|
||||
}
|
||||
.tombol.garis:hover { background: var(--bs-primary); color: #fff; }
|
||||
.tombol.selesai {
|
||||
background: var(--bs-success); border-color: var(--bs-success);
|
||||
box-shadow: 0 .125rem .25rem rgba(var(--bs-success-rgb), .3);
|
||||
}
|
||||
.tombol.selesai:hover { background: rgba(var(--bs-success-rgb), .88); }
|
||||
.tombol:focus-visible { outline: 2px solid var(--bs-primary); outline-offset: 2px; }
|
||||
a.tombol { text-decoration: none; }
|
||||
|
||||
.aksi-baris { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
|
||||
.aksi-baris .spacer { flex: 1; }
|
||||
|
||||
/* pesan lama → alert Vuexy */
|
||||
.info, .peringatan {
|
||||
padding: .75rem 1rem; font-size: .875rem; margin: 0 0 1rem;
|
||||
border-radius: var(--bs-border-radius); border: 0;
|
||||
}
|
||||
.info { background: var(--bs-info-bg-subtle); color: var(--bs-info-text-emphasis); }
|
||||
.peringatan { background: var(--bs-warning-bg-subtle); color: var(--bs-warning-text-emphasis); }
|
||||
#total-bobot-f.salah, #total-bobot-g.salah { color: var(--bs-danger); font-weight: 600; }
|
||||
|
||||
/* stempel lama → badge label */
|
||||
.stamp {
|
||||
display: inline-block; font-size: .75rem; font-weight: 500; line-height: 1;
|
||||
padding: .4em .7em; border-radius: var(--bs-border-radius-sm); white-space: nowrap;
|
||||
}
|
||||
.stamp-ok { background: var(--bs-success-bg-subtle); color: var(--bs-success); }
|
||||
.stamp-draft { background: var(--bs-warning-bg-subtle); color: var(--bs-warning); }
|
||||
.stamp-no { background: var(--bs-secondary-bg-subtle); color: var(--bs-secondary); }
|
||||
|
||||
/* checkbox sub-CPMK */
|
||||
.pilih-sub {
|
||||
border: 1px solid var(--bs-border-color); border-radius: var(--bs-border-radius);
|
||||
padding: .4rem .6rem; max-height: 150px; overflow-y: auto; background: var(--bs-paper-bg);
|
||||
}
|
||||
.pilih-sub label { display: block; font-size: .8125rem; margin: 2px 0; }
|
||||
.pilih-sub input { width: auto; margin-right: 6px; }
|
||||
|
||||
/* blok lipat */
|
||||
details.cara-alt summary { font-weight: 500; cursor: pointer; color: var(--bs-heading-color); }
|
||||
details.cara-alt summary:hover { color: var(--bs-primary); }
|
||||
|
||||
/* legenda kecil grafik */
|
||||
.legenda { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .75rem; color: var(--bs-secondary-color); }
|
||||
.legenda .chip { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; }
|
||||
|
||||
@media print {
|
||||
.layout-menu, .layout-navbar, .content-footer, .aksi-lengket, .nav-bagian, .no-print { display: none !important; }
|
||||
.layout-page { padding: 0 !important; }
|
||||
}
|
||||
|
||||
/* ikon tombol tema: bulan saat terang, matahari saat gelap */
|
||||
[data-bs-theme=light] .tema-ikon-terang,
|
||||
[data-bs-theme=dark] .tema-ikon-gelap { display: none !important; }
|
||||
|
||||
/* layar kecil: bar aksi tidak lengket (terlalu banyak memakan layar) */
|
||||
@media (max-width: 767.98px) {
|
||||
.aksi-lengket { position: static; box-shadow: none; }
|
||||
.card-info h4 { font-size: 1.15rem; }
|
||||
table.grid td.label { width: 38%; }
|
||||
}
|
||||
|
||||
|
||||
/* ═════════ Fase 1: peluncur kartu, ruang kerja MK, stepper ═════════ */
|
||||
|
||||
/* segmented control Ruang Kerja MK (tab bergaris bawah, target sentuh ≥ 44px) */
|
||||
.segmen-mk { display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; margin: 0 -.25rem; }
|
||||
.segmen-mk::-webkit-scrollbar { display: none; }
|
||||
.segmen-item {
|
||||
display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap;
|
||||
min-height: 44px; padding: .55rem 1rem; color: var(--bs-secondary-color);
|
||||
font-weight: 500; text-decoration: none; border-bottom: 2px solid transparent;
|
||||
transition: color .15s, border-color .15s;
|
||||
}
|
||||
.segmen-item:hover { color: var(--bs-primary); }
|
||||
.segmen-item.active { color: var(--bs-primary); border-bottom-color: var(--bs-primary); }
|
||||
.segmen-item.disabled { opacity: .55; cursor: not-allowed; }
|
||||
|
||||
/* stepper RPS → Asesmen → Portofolio */
|
||||
.stepper-mk { display: flex; list-style: none; padding: 0; margin: 0; counter-reset: s; }
|
||||
.stepper-mk li { flex: 1; position: relative; }
|
||||
.stepper-mk li + li::before { /* garis penghubung */
|
||||
content: ""; position: absolute; top: 11px; right: 50%; width: 100%; height: 2px;
|
||||
background: var(--bs-border-color); z-index: 0;
|
||||
}
|
||||
.stepper-mk li.stepper-selesai + li::before,
|
||||
.stepper-mk li.stepper-selesai + li.stepper-draft::before { background: var(--bs-success); }
|
||||
.stepper-mk a {
|
||||
position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center;
|
||||
gap: .3rem; text-decoration: none; color: var(--bs-secondary-color); font-size: .75rem;
|
||||
text-align: center; min-height: 44px; border-radius: var(--bs-border-radius);
|
||||
}
|
||||
.stepper-titik {
|
||||
width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center;
|
||||
justify-content: center; background: var(--bs-paper-bg); border: 2px solid var(--bs-border-color);
|
||||
}
|
||||
.stepper-selesai .stepper-titik { background: var(--bs-success); border-color: var(--bs-success); color: #fff; }
|
||||
.stepper-draft .stepper-titik { border-color: var(--bs-warning); background: linear-gradient(90deg, var(--bs-warning) 50%, var(--bs-paper-bg) 50%); }
|
||||
.stepper-selesai a, .stepper-draft a { color: var(--bs-heading-color); }
|
||||
.stepper-label small { color: var(--bs-secondary-color); font-size: .7rem; }
|
||||
|
||||
/* kartu MK & kartu besar */
|
||||
.kartu-mk .card-title { line-height: 1.3; }
|
||||
.kartu-besar .h5 { color: var(--bs-heading-color); }
|
||||
.kartu-nonaktif { opacity: .6; cursor: not-allowed; }
|
||||
.kartu-mahasiswa .avatar-initial { font-weight: 600; }
|
||||
|
||||
/* fokus keyboard selalu terlihat */
|
||||
a:focus-visible, button:focus-visible, .btn:focus-visible, .segmen-item:focus-visible,
|
||||
.list-group-item:focus-visible, .card-hover:focus-visible {
|
||||
outline: 2px solid var(--bs-primary); outline-offset: 2px;
|
||||
}
|
||||
.btn-sm { min-height: 32px; }
|
||||
|
||||
/* indikator simpan otomatis */
|
||||
.autosave-status { font-size: .8125rem; display: inline-flex; align-items: center; gap: .35rem; }
|
||||
.autosave-status.galat { color: var(--bs-danger); }
|
||||
|
||||
/* raport: bar CPL terurut */
|
||||
.bar-cpl { position: relative; height: 10px; border-radius: 5px; background: var(--bs-secondary-bg-subtle); }
|
||||
.bar-cpl .isi { position: absolute; inset: 0 auto 0 0; border-radius: 5px; background: var(--bs-primary); }
|
||||
.bar-cpl .isi.rendah { background: var(--bs-danger); }
|
||||
.bar-cpl .isi.kurang { background: repeating-linear-gradient(45deg, rgba(var(--bs-primary-rgb), .55) 0 6px, rgba(var(--bs-primary-rgb), .3) 6px 12px); }
|
||||
.bar-cpl .ambang { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--bs-danger); }
|
||||
.bar-cpl .pembanding { position: absolute; top: -3px; width: 8px; height: 16px; margin-left: -4px; border-radius: 2px; border: 2px solid var(--bs-heading-color); background: var(--bs-paper-bg); }
|
||||
|
||||
/* heatmap mahasiswa × CPL */
|
||||
.heatmap td.sel { text-align: center; font-size: .75rem; font-weight: 500; min-width: 52px; }
|
||||
|
||||
kbd { font-size: .7rem; padding: .1rem .35rem; }
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
|
||||
}
|
||||
|
||||
|
||||
/* ═════════ Rencana Mingguan: daftar minggu + panel edit ═════════ */
|
||||
.minggu-daftar { max-height: 640px; overflow-y: auto; }
|
||||
.minggu-item {
|
||||
display: flex; align-items: center; gap: .6rem; min-height: 44px;
|
||||
padding: .5rem .85rem; font-size: .8125rem; text-align: left;
|
||||
}
|
||||
.minggu-item .minggu-ke { font-weight: 600; width: 46px; flex-shrink: 0; }
|
||||
.minggu-item .minggu-sub { flex: 1; min-width: 0; }
|
||||
.minggu-item .minggu-bobot { width: 40px; text-align: right; flex-shrink: 0; color: var(--bs-secondary-color); }
|
||||
.minggu-item.active .minggu-bobot, .minggu-item.active .minggu-sub { color: inherit !important; }
|
||||
.minggu-titik {
|
||||
display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
|
||||
border: 2px solid var(--bs-border-color); background: transparent;
|
||||
}
|
||||
.minggu-titik.lengkap { background: var(--bs-success); border-color: var(--bs-success); }
|
||||
.minggu-titik.sebagian { border-color: var(--bs-warning); background: linear-gradient(90deg, var(--bs-warning) 50%, transparent 50%); }
|
||||
.minggu-item.active .minggu-titik { border-color: #fff; }
|
||||
.minggu-panel + .minggu-panel { margin-top: 1rem; } /* tanpa JS: semua tampil */
|
||||
.js-minggu .minggu-panel { display: none; margin-top: 0 !important; }
|
||||
.js-minggu .minggu-panel.tampil { display: block; }
|
||||
.minggu-panel.uts { border-color: rgba(var(--bs-success-rgb), .5) !important; }
|
||||
.minggu-panel.uas { border-color: rgba(var(--bs-warning-rgb), .6) !important; }
|
||||
.minggu-panel textarea.tumbuh { min-height: 72px; overflow-y: hidden; resize: none; }
|
||||
.minggu-panel select { white-space: normal; }
|
||||
@media (max-width: 991.98px) {
|
||||
.minggu-daftar { max-height: 210px; }
|
||||
}
|
||||
|
||||
.legenda .minggu-titik { margin-right: 5px; vertical-align: -1px; }
|
||||
|
||||
/* ═════════ CQI ═════════ */
|
||||
.papan-kolom { background: var(--bs-body-bg); border-radius: var(--bs-border-radius-lg); padding: .75rem; min-height: 120px; }
|
||||
.text-truncate-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
|
||||
.border-dashed { border-style: dashed !important; }
|
||||
|
||||
/* ═════════ Data Master: papan ═════════ */
|
||||
.papan-sisi { position: sticky; top: 90px; max-height: calc(100vh - 110px); overflow-y: auto; }
|
||||
.chip-dosen { cursor: grab; user-select: none; font-weight: 500; }
|
||||
.chip-dosen.terpilih { outline: 2px solid var(--bs-primary); background: var(--bs-primary) !important; color: #fff !important; }
|
||||
.chip-dosen:focus-visible { outline: 2px solid var(--bs-primary); outline-offset: 2px; }
|
||||
.slot-kelas { min-height: 64px; transition: background .15s, border-color .15s; }
|
||||
.slot-kosong { border-style: dashed !important; }
|
||||
.mode-tempel .slot-kelas { cursor: copy; border-color: var(--bs-primary) !important; background: rgba(var(--bs-primary-rgb), .04); }
|
||||
.slot-isi { min-height: 28px; }
|
||||
.sortable-ghost { opacity: .4; }
|
||||
.kartu-mhs { cursor: grab; }
|
||||
.min-w-0 { min-width: 0; }
|
||||
|
||||
/* Dosen berwarna: inisial + warna tetap per dosen, sama di daftar & slot kelas */
|
||||
.chip-daftar { padding: .5rem .625rem; border-radius: .5rem; border: 1px solid var(--bs-border-color); cursor: grab; user-select: none; transition: border-color .15s, background .15s; }
|
||||
.chip-daftar:hover { border-color: var(--bs-primary); }
|
||||
.chip-daftar.terpilih { outline: none; border-color: var(--bs-primary); background: rgba(var(--bs-primary-rgb), .08) !important; color: inherit !important; box-shadow: 0 0 0 2px rgba(var(--bs-primary-rgb), .35); }
|
||||
.chip-slot { padding: .2rem .5rem .2rem .25rem; border-radius: 2rem; font-size: .8125rem; font-weight: 500; max-width: 100%; cursor: grab; }
|
||||
.chip-slot .avatar-xs { width: 1.375rem; height: 1.375rem; } .chip-slot .avatar-initial { font-size: .625rem; }
|
||||
.chip-slot.chip-primary { background: rgba(var(--bs-primary-rgb), .12); color: var(--bs-primary); }
|
||||
.chip-slot.chip-success { background: rgba(var(--bs-success-rgb), .12); color: var(--bs-success); }
|
||||
.chip-slot.chip-warning { background: rgba(var(--bs-warning-rgb), .12); color: var(--bs-warning); }
|
||||
.chip-slot.chip-info { background: rgba(var(--bs-info-rgb), .12); color: var(--bs-info); }
|
||||
.chip-slot.chip-danger { background: rgba(var(--bs-danger-rgb), .12); color: var(--bs-danger); }
|
||||
.chip-slot.chip-secondary { background: rgba(var(--bs-secondary-rgb), .12); color: var(--bs-secondary); }
|
||||
|
||||
/* ═════════ Kurikulum: peta per semester & matriks ═════════ */
|
||||
.peta-kurikulum { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 1rem; }
|
||||
.peta-mk { background: var(--bs-paper-bg, #fff); }
|
||||
.peta-mk-ubah { cursor: pointer; transition: border-color .15s; }
|
||||
.peta-mk-ubah:hover, .peta-mk-ubah:focus-visible { border-color: var(--bs-primary) !important; outline: none; }
|
||||
.border-dashed { border-style: dashed !important; }
|
||||
.matriks-wrap { max-height: 72vh; }
|
||||
.matriks th, .matriks td { white-space: nowrap; vertical-align: middle; }
|
||||
.matriks thead th { position: sticky; top: 0; z-index: 2; background: var(--bs-paper-bg, #fff); font-size: .75rem; }
|
||||
.matriks .matriks-baris { text-transform: none; letter-spacing: 0; font-size: .8125rem; position: sticky; left: 0; z-index: 1; background: var(--bs-paper-bg, #fff); max-width: 280px; overflow: hidden; text-overflow: ellipsis; }
|
||||
.matriks .matriks-sudut { position: sticky; left: 0; z-index: 3; }
|
||||
.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); }
|
||||
@@ -0,0 +1,105 @@
|
||||
/*
|
||||
* demo.css
|
||||
* File include item demo only specific css only
|
||||
******************************************************************************/
|
||||
|
||||
.menu .app-brand.demo {
|
||||
height: 64px;
|
||||
}
|
||||
|
||||
.app-brand-logo.demo svg {
|
||||
width: 34px;
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
.app-brand-text.demo {
|
||||
font-size: 1.375rem;
|
||||
}
|
||||
|
||||
/* ! For .layout-navbar-fixed added fix padding top to .layout-page */
|
||||
/* Default navbar */
|
||||
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
|
||||
padding-top: 64px !important;
|
||||
}
|
||||
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
|
||||
padding-top: 72px !important;
|
||||
}
|
||||
/* Navbar page z-index issue solution */
|
||||
.content-wrapper .navbar {
|
||||
z-index: auto;
|
||||
}
|
||||
|
||||
/*
|
||||
* Content
|
||||
******************************************************************************/
|
||||
|
||||
.demo-blocks > * {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.demo-inline-spacing > * {
|
||||
margin: 1rem 0.375rem 0 0 !important;
|
||||
}
|
||||
|
||||
/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
|
||||
.demo-vertical-spacing > * {
|
||||
margin-top: 1rem !important;
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
.demo-vertical-spacing.demo-only-element > :first-child {
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
|
||||
.demo-vertical-spacing-lg > * {
|
||||
margin-top: 1.875rem !important;
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
.demo-vertical-spacing-lg.demo-only-element > :first-child {
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
|
||||
.demo-vertical-spacing-xl > * {
|
||||
margin-top: 5rem !important;
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
.demo-vertical-spacing-xl.demo-only-element > :first-child {
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
|
||||
/* Dropdown buttons going out of small screens */
|
||||
@media (max-width: 576px) {
|
||||
#dropdown-variation-demo .btn-group .text-truncate {
|
||||
width: 254px;
|
||||
position: relative;
|
||||
}
|
||||
#dropdown-variation-demo .btn-group .text-truncate::after {
|
||||
position: absolute;
|
||||
top: 45%;
|
||||
right: 0.65rem;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Layout demo
|
||||
******************************************************************************/
|
||||
|
||||
.layout-demo-wrapper {
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-box-align: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-box-direction: normal;
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
.layout-demo-placeholder img {
|
||||
width: 900px;
|
||||
}
|
||||
.layout-demo-info {
|
||||
text-align: center;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
@@ -0,0 +1,99 @@
|
||||
/**
|
||||
* app.js — konfigurasi global Chart.js & util kecil supaya chart mengikuti tema Vuexy.
|
||||
*/
|
||||
'use strict';
|
||||
|
||||
(function () {
|
||||
if (typeof Chart === 'undefined') return;
|
||||
|
||||
const H = window.Helpers;
|
||||
const cardColor = H.getCssVar('paper-bg', true);
|
||||
const headingColor = H.getCssVar('heading-color', true);
|
||||
const labelColor = H.getCssVar('secondary-color', true);
|
||||
const legendColor = H.getCssVar('body-color', true);
|
||||
const borderColor = H.getCssVar('border-color', true);
|
||||
const fontFamily = H.getCssVar('font-family-base', true) || 'Public Sans, sans-serif';
|
||||
|
||||
// Palet warna tema
|
||||
window.vx = {
|
||||
primary: H.getCssVar('primary', true),
|
||||
secondary: H.getCssVar('secondary', true),
|
||||
success: H.getCssVar('success', true),
|
||||
info: H.getCssVar('info', true),
|
||||
warning: H.getCssVar('warning', true),
|
||||
danger: H.getCssVar('danger', true),
|
||||
dark: H.getCssVar('dark', true),
|
||||
purple: '#836AF9',
|
||||
cyan: '#28dac6',
|
||||
orange: '#FF8132',
|
||||
blue: '#2B9AFF',
|
||||
blueLight: '#84D0FF',
|
||||
grey: '#4F5D70',
|
||||
labelColor, borderColor, headingColor, legendColor, cardColor
|
||||
};
|
||||
window.vx.series = [vx.primary, vx.info, vx.success, vx.warning, vx.danger, vx.purple, vx.cyan, vx.orange, vx.blue, vx.grey];
|
||||
|
||||
// Alpha helper: hex -> rgba
|
||||
window.vx.rgba = function (hex, a) {
|
||||
const h = hex.replace('#', '');
|
||||
const n = parseInt(h.length === 3 ? h.split('').map(c => c + c).join('') : h, 16);
|
||||
return `rgba(${(n >> 16) & 255}, ${(n >> 8) & 255}, ${n & 255}, ${a})`;
|
||||
};
|
||||
|
||||
// Default global Chart.js
|
||||
Chart.defaults.font.family = fontFamily;
|
||||
Chart.defaults.font.size = 12;
|
||||
Chart.defaults.color = labelColor;
|
||||
Chart.defaults.borderColor = borderColor;
|
||||
Chart.defaults.responsive = true;
|
||||
Chart.defaults.maintainAspectRatio = false;
|
||||
Chart.defaults.animation.duration = 500;
|
||||
|
||||
Chart.defaults.plugins.legend.position = 'bottom';
|
||||
Chart.defaults.plugins.legend.labels.color = legendColor;
|
||||
Chart.defaults.plugins.legend.labels.usePointStyle = true;
|
||||
Chart.defaults.plugins.legend.labels.pointStyle = 'circle';
|
||||
Chart.defaults.plugins.legend.labels.padding = 16;
|
||||
Chart.defaults.plugins.legend.labels.boxWidth = 8;
|
||||
|
||||
Chart.defaults.plugins.tooltip.backgroundColor = cardColor;
|
||||
Chart.defaults.plugins.tooltip.titleColor = headingColor;
|
||||
Chart.defaults.plugins.tooltip.bodyColor = legendColor;
|
||||
Chart.defaults.plugins.tooltip.borderWidth = 1;
|
||||
Chart.defaults.plugins.tooltip.borderColor = borderColor;
|
||||
Chart.defaults.plugins.tooltip.padding = 10;
|
||||
Chart.defaults.plugins.tooltip.cornerRadius = 6;
|
||||
Chart.defaults.plugins.tooltip.usePointStyle = true;
|
||||
|
||||
Chart.defaults.elements.bar.borderRadius = 6;
|
||||
Chart.defaults.elements.bar.borderSkipped = false;
|
||||
Chart.defaults.elements.line.tension = 0.4;
|
||||
Chart.defaults.elements.line.borderWidth = 3;
|
||||
Chart.defaults.elements.point.radius = 4;
|
||||
Chart.defaults.elements.point.hoverRadius = 6;
|
||||
Chart.defaults.elements.point.borderWidth = 2;
|
||||
Chart.defaults.elements.arc.borderWidth = 2;
|
||||
Chart.defaults.elements.arc.borderColor = cardColor;
|
||||
|
||||
// Skala kartesian: grid tipis, tanpa garis sumbu
|
||||
Chart.defaults.scale.grid.color = borderColor;
|
||||
Chart.defaults.scale.grid.drawTicks = false;
|
||||
Chart.defaults.scale.border = { display: false };
|
||||
Chart.defaults.scale.ticks.color = labelColor;
|
||||
Chart.defaults.scale.ticks.padding = 8;
|
||||
|
||||
/**
|
||||
* vxChart(id, config) — bikin chart pada canvas #id, return instance (atau null jika canvas tidak ada).
|
||||
*/
|
||||
window.vxChart = function (id, config) {
|
||||
const el = document.getElementById(id);
|
||||
if (!el) return null;
|
||||
return new Chart(el, config);
|
||||
};
|
||||
})();
|
||||
|
||||
// Tooltip Bootstrap
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
const tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]'));
|
||||
tooltipTriggerList.map(function (el) { return new bootstrap.Tooltip(el); });
|
||||
});
|
||||
@@ -0,0 +1,99 @@
|
||||
/**
|
||||
* Config
|
||||
* -------------------------------------------------------------------------------------
|
||||
* ! IMPORTANT: Make sure you clear the browser local storage In order to see the config changes in the template.
|
||||
* ! To clear local storage: (https://www.leadshook.com/help/how-to-clear-local-storage-in-google-chrome-browser/).
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
/* JS global variables
|
||||
!Please use the hex color code (#000) here. Don't use rgba(), hsl(), etc
|
||||
*/
|
||||
window.config = {
|
||||
// global color variables for charts except chartjs
|
||||
colors: {
|
||||
primary: window.Helpers.getCssVar('primary'),
|
||||
secondary: window.Helpers.getCssVar('secondary'),
|
||||
success: window.Helpers.getCssVar('success'),
|
||||
info: window.Helpers.getCssVar('info'),
|
||||
warning: window.Helpers.getCssVar('warning'),
|
||||
danger: window.Helpers.getCssVar('danger'),
|
||||
dark: window.Helpers.getCssVar('dark'),
|
||||
black: window.Helpers.getCssVar('pure-black'),
|
||||
white: window.Helpers.getCssVar('white'),
|
||||
cardColor: window.Helpers.getCssVar('paper-bg'),
|
||||
bodyBg: window.Helpers.getCssVar('body-bg'),
|
||||
bodyColor: window.Helpers.getCssVar('body-color'),
|
||||
headingColor: window.Helpers.getCssVar('heading-color'),
|
||||
textMuted: window.Helpers.getCssVar('secondary-color'),
|
||||
borderColor: window.Helpers.getCssVar('border-color')
|
||||
},
|
||||
colors_label: {
|
||||
primary: window.Helpers.getCssVar('primary-bg-subtle'),
|
||||
secondary: window.Helpers.getCssVar('secondary-bg-subtle'),
|
||||
success: window.Helpers.getCssVar('success-bg-subtle'),
|
||||
info: window.Helpers.getCssVar('info-bg-subtle'),
|
||||
warning: window.Helpers.getCssVar('warning-bg-subtle'),
|
||||
danger: window.Helpers.getCssVar('danger-bg-subtle'),
|
||||
dark: window.Helpers.getCssVar('dark-bg-subtle')
|
||||
},
|
||||
fontFamily: window.Helpers.getCssVar('font-family-base'),
|
||||
enableMenuLocalStorage: true // Enable menu state with local storage support
|
||||
};
|
||||
|
||||
window.assetsPath = document.documentElement.getAttribute('data-assets-path');
|
||||
window.templateName = document.documentElement.getAttribute('data-template');
|
||||
|
||||
/**
|
||||
* TemplateCustomizer
|
||||
* ! You must use(include) template-customizer.js to use TemplateCustomizer settings
|
||||
* -----------------------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
/**
|
||||
* TemplateCustomizer settings
|
||||
* -------------------------------------------------------------------------------------
|
||||
* displayCustomizer: true(Show customizer), false(Hide customizer)
|
||||
* lang: To set default language, Add more languages and set default. Fallback language is 'en'
|
||||
* defaultPrimaryColor: '#7367F0' | Set default primary color
|
||||
* defaultSkin: 0(Default), 1(Bordered)
|
||||
* defaultTheme: 'light', 'dark', 'system'
|
||||
* defaultSemiDark: true, false (For dark menu only)
|
||||
* defaultContentLayout: 'compact', 'wide' (compact=container-xxl, wide=container-fluid)
|
||||
* defaultHeaderType: 'static', 'fixed' (for horizontal layout only)
|
||||
* defaultMenuCollapsed: true, false (For vertical layout only)
|
||||
* defaultNavbarType: 'sticky', 'static', 'hidden' (For vertical layout only)
|
||||
* defaultTextDir: 'ltr', 'rtl' (Direction)
|
||||
* defaultFooterFixed: true, false (For vertical layout only)
|
||||
* defaultShowDropdownOnHover : true, false (for horizontal layout only)
|
||||
* controls: [ 'color', 'theme', 'skins', 'semiDark', 'layoutCollapsed', 'layoutNavbarOptions', 'headerType', 'contentLayout', 'rtl' ] | Show/Hide customizer controls
|
||||
*/
|
||||
|
||||
if (typeof TemplateCustomizer !== 'undefined') {
|
||||
window.templateCustomizer = new TemplateCustomizer({
|
||||
displayCustomizer: true,
|
||||
lang: localStorage.getItem('templateCustomizer-' + templateName + '--Lang') || 'en', // Set default language here
|
||||
// defaultPrimaryColor: '#D11BB4',
|
||||
// defaultSkin: 1,
|
||||
// defaultTheme: 'system',
|
||||
// defaultSemiDark: true,
|
||||
// defaultContentLayout: 'wide',
|
||||
// defaultHeaderType: 'static',
|
||||
// defaultMenuCollapsed: true,
|
||||
// defaultNavbarType: 'static',
|
||||
// defaultTextDir: 'rtl',
|
||||
// defaultFooterFixed: false,
|
||||
// defaultShowDropdownOnHover: false,
|
||||
controls: [
|
||||
'color',
|
||||
'theme',
|
||||
'skins',
|
||||
'semiDark',
|
||||
'layoutCollapsed',
|
||||
'layoutNavbarOptions',
|
||||
'headerType',
|
||||
'contentLayout',
|
||||
'rtl'
|
||||
]
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,715 @@
|
||||
/**
|
||||
* Main
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
window.isRtl = window.Helpers.isRtl();
|
||||
window.isDarkStyle = window.Helpers.isDarkStyle();
|
||||
let menu,
|
||||
animate,
|
||||
isHorizontalLayout = false;
|
||||
|
||||
if (document.getElementById('layout-menu')) {
|
||||
isHorizontalLayout = document.getElementById('layout-menu').classList.contains('menu-horizontal');
|
||||
}
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
// class for ios specific styles
|
||||
if (navigator.userAgent.match(/iPhone|iPad|iPod/i)) {
|
||||
document.body.classList.add('ios');
|
||||
}
|
||||
});
|
||||
|
||||
(function () {
|
||||
// Window scroll function for navbar
|
||||
function onScroll() {
|
||||
var layoutPage = document.querySelector('.layout-page');
|
||||
if (layoutPage) {
|
||||
if (window.scrollY > 0) {
|
||||
layoutPage.classList.add('window-scrolled');
|
||||
} else {
|
||||
layoutPage.classList.remove('window-scrolled');
|
||||
}
|
||||
}
|
||||
}
|
||||
// On load time out
|
||||
setTimeout(() => {
|
||||
onScroll();
|
||||
}, 200);
|
||||
|
||||
// On window scroll
|
||||
window.onscroll = function () {
|
||||
onScroll();
|
||||
};
|
||||
|
||||
setTimeout(function () {
|
||||
window.Helpers.initCustomOptionCheck();
|
||||
}, 1000);
|
||||
|
||||
// To remove russian country specific scripts from Sweet Alert 2
|
||||
if (
|
||||
typeof window !== 'undefined' &&
|
||||
/^ru\b/.test(navigator.language) &&
|
||||
location.host.match(/\.(ru|su|by|xn--p1ai)$/)
|
||||
) {
|
||||
localStorage.removeItem('swal-initiation');
|
||||
|
||||
document.body.style.pointerEvents = 'system';
|
||||
setInterval(() => {
|
||||
if (document.body.style.pointerEvents === 'none') {
|
||||
document.body.style.pointerEvents = 'system';
|
||||
}
|
||||
}, 100);
|
||||
HTMLAudioElement.prototype.play = function () {
|
||||
return Promise.resolve();
|
||||
};
|
||||
}
|
||||
|
||||
if (typeof Waves !== 'undefined') {
|
||||
Waves.init();
|
||||
Waves.attach(
|
||||
".btn[class*='btn-']:not(.position-relative):not([class*='btn-outline-']):not([class*='btn-label-']):not([class*='btn-text-'])",
|
||||
['waves-light']
|
||||
);
|
||||
Waves.attach("[class*='btn-outline-']:not(.position-relative)");
|
||||
Waves.attach("[class*='btn-label-']:not(.position-relative)");
|
||||
Waves.attach("[class*='btn-text-']:not(.position-relative)");
|
||||
Waves.attach('.pagination:not([class*="pagination-outline-"]) .page-item.active .page-link', ['waves-light']);
|
||||
Waves.attach('.pagination .page-item .page-link');
|
||||
Waves.attach('.dropdown-menu .dropdown-item');
|
||||
Waves.attach('[data-bs-theme="light"] .list-group .list-group-item-action');
|
||||
Waves.attach('[data-bs-theme="dark"] .list-group .list-group-item-action', ['waves-light']);
|
||||
Waves.attach('.nav-tabs:not(.nav-tabs-widget) .nav-item .nav-link');
|
||||
Waves.attach('.nav-pills .nav-item .nav-link', ['waves-light']);
|
||||
}
|
||||
|
||||
// Initialize menu
|
||||
//-----------------
|
||||
|
||||
let layoutMenuEl = document.querySelectorAll('#layout-menu');
|
||||
layoutMenuEl.forEach(function (element) {
|
||||
menu = new Menu(element, {
|
||||
orientation: isHorizontalLayout ? 'horizontal' : 'vertical',
|
||||
closeChildren: isHorizontalLayout ? true : false,
|
||||
// ? This option only works with Horizontal menu
|
||||
showDropdownOnHover: localStorage.getItem('templateCustomizer-' + templateName + '--ShowDropdownOnHover') // If value(showDropdownOnHover) is set in local storage
|
||||
? localStorage.getItem('templateCustomizer-' + templateName + '--ShowDropdownOnHover') === 'true' // Use the local storage value
|
||||
: window.templateCustomizer !== undefined // If value is set in config.js
|
||||
? window.templateCustomizer.settings.defaultShowDropdownOnHover // Use the config.js value
|
||||
: true // Use this if you are not using the config.js and want to set value directly from here
|
||||
});
|
||||
// Change parameter to true if you want scroll animation
|
||||
window.Helpers.scrollToActive((animate = false));
|
||||
window.Helpers.mainMenu = menu;
|
||||
});
|
||||
|
||||
// Initialize menu togglers and bind click on each
|
||||
let menuToggler = document.querySelectorAll('.layout-menu-toggle');
|
||||
menuToggler.forEach(item => {
|
||||
item.addEventListener('click', event => {
|
||||
event.preventDefault();
|
||||
window.Helpers.toggleCollapsed();
|
||||
// Enable menu state with local storage support if enableMenuLocalStorage = true from config.js
|
||||
if (config.enableMenuLocalStorage && !window.Helpers.isSmallScreen()) {
|
||||
try {
|
||||
localStorage.setItem(
|
||||
'templateCustomizer-' + templateName + '--LayoutCollapsed',
|
||||
String(window.Helpers.isCollapsed())
|
||||
);
|
||||
// Update customizer checkbox state on click of menu toggler
|
||||
let layoutCollapsedCustomizerOptions = document.querySelector('.template-customizer-layouts-options');
|
||||
if (layoutCollapsedCustomizerOptions) {
|
||||
let layoutCollapsedVal = window.Helpers.isCollapsed() ? 'collapsed' : 'expanded';
|
||||
layoutCollapsedCustomizerOptions.querySelector(`input[value="${layoutCollapsedVal}"]`).click();
|
||||
}
|
||||
} catch (e) {}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
// Menu swipe gesture
|
||||
|
||||
// Detect swipe gesture on the target element and call swipe In
|
||||
window.Helpers.swipeIn('.drag-target', function (e) {
|
||||
window.Helpers.setCollapsed(false);
|
||||
});
|
||||
|
||||
// Detect swipe gesture on the target element and call swipe Out
|
||||
window.Helpers.swipeOut('#layout-menu', function (e) {
|
||||
if (window.Helpers.isSmallScreen()) window.Helpers.setCollapsed(true);
|
||||
});
|
||||
|
||||
// Display in main menu when menu scrolls
|
||||
let menuInnerContainer = document.getElementsByClassName('menu-inner'),
|
||||
menuInnerShadow = document.getElementsByClassName('menu-inner-shadow')[0];
|
||||
if (menuInnerContainer.length > 0 && menuInnerShadow) {
|
||||
menuInnerContainer[0].addEventListener('ps-scroll-y', function () {
|
||||
if (this.querySelector('.ps__thumb-y').offsetTop) {
|
||||
menuInnerShadow.style.display = 'block';
|
||||
} else {
|
||||
menuInnerShadow.style.display = 'none';
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// Get style from local storage or use 'system' as default
|
||||
let storedStyle =
|
||||
localStorage.getItem('templateCustomizer-' + templateName + '--Theme') || // if no template style then use Customizer style
|
||||
(window.templateCustomizer?.settings?.defaultStyle ?? document.documentElement.getAttribute('data-bs-theme')); //!if there is no Customizer then use default style as light
|
||||
|
||||
// Run switchImage function based on the stored style
|
||||
window.Helpers.switchImage(storedStyle);
|
||||
|
||||
// Update light/dark image based on current style
|
||||
window.Helpers.setTheme(window.Helpers.getPreferredTheme());
|
||||
|
||||
window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', () => {
|
||||
const storedTheme = window.Helpers.getStoredTheme();
|
||||
if (storedTheme !== 'light' && storedTheme !== 'dark') {
|
||||
window.Helpers.setTheme(window.Helpers.getPreferredTheme());
|
||||
}
|
||||
});
|
||||
|
||||
function getScrollbarWidth() {
|
||||
const scrollbarWidth = window.innerWidth - document.documentElement.clientWidth;
|
||||
document.body.style.setProperty('--bs-scrollbar-width', `${scrollbarWidth}px`);
|
||||
}
|
||||
getScrollbarWidth();
|
||||
window.addEventListener('DOMContentLoaded', () => {
|
||||
window.Helpers.showActiveTheme(window.Helpers.getPreferredTheme());
|
||||
getScrollbarWidth();
|
||||
// Toggle Universal Sidebar
|
||||
window.Helpers.initSidebarToggle();
|
||||
document.querySelectorAll('[data-bs-theme-value]').forEach(toggle => {
|
||||
toggle.addEventListener('click', () => {
|
||||
const theme = toggle.getAttribute('data-bs-theme-value');
|
||||
window.Helpers.setStoredTheme(templateName, theme);
|
||||
window.Helpers.setTheme(theme);
|
||||
window.Helpers.showActiveTheme(theme, true);
|
||||
window.Helpers.syncCustomOptions(theme);
|
||||
let currTheme = theme;
|
||||
if (theme === 'system') {
|
||||
currTheme = window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light';
|
||||
}
|
||||
const semiDarkL = document.querySelector('.template-customizer-semiDark');
|
||||
if (semiDarkL) {
|
||||
if (theme === 'dark') {
|
||||
semiDarkL.classList.add('d-none');
|
||||
} else {
|
||||
semiDarkL.classList.remove('d-none');
|
||||
}
|
||||
}
|
||||
window.Helpers.switchImage(currTheme);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
// Internationalization (Language Dropdown)
|
||||
// ---------------------------------------
|
||||
|
||||
if (typeof i18next !== 'undefined' && typeof i18NextHttpBackend !== 'undefined') {
|
||||
i18next
|
||||
.use(i18NextHttpBackend)
|
||||
.init({
|
||||
lng: window.templateCustomizer ? window.templateCustomizer.settings.lang : 'en',
|
||||
debug: false,
|
||||
fallbackLng: 'en',
|
||||
backend: {
|
||||
loadPath: assetsPath + 'json/locales/{{lng}}.json'
|
||||
},
|
||||
returnObjects: true
|
||||
})
|
||||
.then(function (t) {
|
||||
localize();
|
||||
});
|
||||
}
|
||||
|
||||
let languageDropdown = document.getElementsByClassName('dropdown-language');
|
||||
|
||||
if (languageDropdown.length) {
|
||||
let dropdownItems = languageDropdown[0].querySelectorAll('.dropdown-item');
|
||||
|
||||
for (let i = 0; i < dropdownItems.length; i++) {
|
||||
dropdownItems[i].addEventListener('click', function () {
|
||||
let currentLanguage = this.getAttribute('data-language');
|
||||
let textDirection = this.getAttribute('data-text-direction');
|
||||
|
||||
for (let sibling of this.parentNode.children) {
|
||||
var siblingEle = sibling.parentElement.parentNode.firstChild;
|
||||
|
||||
// Loop through each sibling and push to the array
|
||||
while (siblingEle) {
|
||||
if (siblingEle.nodeType === 1 && siblingEle !== siblingEle.parentElement) {
|
||||
siblingEle.querySelector('.dropdown-item').classList.remove('active');
|
||||
}
|
||||
siblingEle = siblingEle.nextSibling;
|
||||
}
|
||||
}
|
||||
this.classList.add('active');
|
||||
|
||||
i18next.changeLanguage(currentLanguage, (err, t) => {
|
||||
window.templateCustomizer ? window.templateCustomizer.setLang(currentLanguage) : '';
|
||||
directionChange(textDirection);
|
||||
if (err) return console.log('something went wrong loading', err);
|
||||
localize();
|
||||
window.Helpers.syncCustomOptionsRtl(textDirection);
|
||||
});
|
||||
});
|
||||
}
|
||||
function directionChange(textDirection) {
|
||||
document.documentElement.setAttribute('dir', textDirection);
|
||||
if (textDirection === 'rtl') {
|
||||
if (localStorage.getItem('templateCustomizer-' + templateName + '--Rtl') !== 'true')
|
||||
window.templateCustomizer ? window.templateCustomizer.setRtl(true) : '';
|
||||
} else {
|
||||
if (localStorage.getItem('templateCustomizer-' + templateName + '--Rtl') === 'true')
|
||||
window.templateCustomizer ? window.templateCustomizer.setRtl(false) : '';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function localize() {
|
||||
let i18nList = document.querySelectorAll('[data-i18n]');
|
||||
// Set the current language in dd
|
||||
let currentLanguageEle = document.querySelector('.dropdown-item[data-language="' + i18next.language + '"]');
|
||||
|
||||
if (currentLanguageEle) {
|
||||
currentLanguageEle.click();
|
||||
}
|
||||
|
||||
i18nList.forEach(function (item) {
|
||||
item.innerHTML = i18next.t(item.dataset.i18n);
|
||||
/* FIX: Uncomment the following line to hide elements with the i18n attribute before translation to prevent text change flicker */
|
||||
// item.style.visibility = 'visible';
|
||||
});
|
||||
}
|
||||
|
||||
// Notification
|
||||
// ------------
|
||||
const notificationMarkAsReadAll = document.querySelector('.dropdown-notifications-all');
|
||||
const notificationMarkAsReadList = document.querySelectorAll('.dropdown-notifications-read');
|
||||
|
||||
// Notification: Mark as all as read
|
||||
if (notificationMarkAsReadAll) {
|
||||
notificationMarkAsReadAll.addEventListener('click', event => {
|
||||
notificationMarkAsReadList.forEach(item => {
|
||||
item.closest('.dropdown-notifications-item').classList.add('marked-as-read');
|
||||
});
|
||||
});
|
||||
}
|
||||
// Notification: Mark as read/unread onclick of dot
|
||||
if (notificationMarkAsReadList) {
|
||||
notificationMarkAsReadList.forEach(item => {
|
||||
item.addEventListener('click', event => {
|
||||
item.closest('.dropdown-notifications-item').classList.toggle('marked-as-read');
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
// Notification: Mark as read/unread onclick of dot
|
||||
const notificationArchiveMessageList = document.querySelectorAll('.dropdown-notifications-archive');
|
||||
notificationArchiveMessageList.forEach(item => {
|
||||
item.addEventListener('click', event => {
|
||||
item.closest('.dropdown-notifications-item').remove();
|
||||
});
|
||||
});
|
||||
|
||||
// Init helpers & misc
|
||||
// --------------------
|
||||
|
||||
// Init BS Tooltip
|
||||
const tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]'));
|
||||
tooltipTriggerList.map(function (tooltipTriggerEl) {
|
||||
return new bootstrap.Tooltip(tooltipTriggerEl);
|
||||
});
|
||||
|
||||
// Accordion active class
|
||||
const accordionActiveFunction = function (e) {
|
||||
if (e.type == 'show.bs.collapse' || e.type == 'show.bs.collapse') {
|
||||
e.target.closest('.accordion-item').classList.add('active');
|
||||
} else {
|
||||
e.target.closest('.accordion-item').classList.remove('active');
|
||||
}
|
||||
};
|
||||
|
||||
const accordionTriggerList = [].slice.call(document.querySelectorAll('.accordion'));
|
||||
const accordionList = accordionTriggerList.map(function (accordionTriggerEl) {
|
||||
accordionTriggerEl.addEventListener('show.bs.collapse', accordionActiveFunction);
|
||||
accordionTriggerEl.addEventListener('hide.bs.collapse', accordionActiveFunction);
|
||||
});
|
||||
|
||||
// Auto update layout based on screen size
|
||||
window.Helpers.setAutoUpdate(true);
|
||||
|
||||
// Toggle Password Visibility
|
||||
window.Helpers.initPasswordToggle();
|
||||
|
||||
// Speech To Text
|
||||
window.Helpers.initSpeechToText();
|
||||
|
||||
// Init PerfectScrollbar in Navbar Dropdown (i.e notification)
|
||||
window.Helpers.initNavbarDropdownScrollbar();
|
||||
|
||||
let horizontalMenuTemplate = document.querySelector("[data-template^='horizontal-menu']");
|
||||
if (horizontalMenuTemplate) {
|
||||
// if screen size is small then set navbar fixed
|
||||
if (window.innerWidth < window.Helpers.LAYOUT_BREAKPOINT) {
|
||||
window.Helpers.setNavbarFixed('fixed');
|
||||
} else {
|
||||
window.Helpers.setNavbarFixed('');
|
||||
}
|
||||
}
|
||||
|
||||
// On window resize listener
|
||||
// -------------------------
|
||||
window.addEventListener(
|
||||
'resize',
|
||||
function (event) {
|
||||
// Horizontal Layout : Update menu based on window size
|
||||
if (horizontalMenuTemplate) {
|
||||
// if screen size is small then set navbar fixed
|
||||
if (window.innerWidth < window.Helpers.LAYOUT_BREAKPOINT) {
|
||||
window.Helpers.setNavbarFixed('fixed');
|
||||
} else {
|
||||
window.Helpers.setNavbarFixed('');
|
||||
}
|
||||
setTimeout(function () {
|
||||
if (window.innerWidth < window.Helpers.LAYOUT_BREAKPOINT) {
|
||||
if (document.getElementById('layout-menu')) {
|
||||
if (document.getElementById('layout-menu').classList.contains('menu-horizontal')) {
|
||||
menu.switchMenu('vertical');
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (document.getElementById('layout-menu')) {
|
||||
if (document.getElementById('layout-menu').classList.contains('menu-vertical')) {
|
||||
menu.switchMenu('horizontal');
|
||||
}
|
||||
}
|
||||
}
|
||||
}, 100);
|
||||
}
|
||||
},
|
||||
true
|
||||
);
|
||||
|
||||
// Manage menu expanded/collapsed with templateCustomizer & local storage
|
||||
//------------------------------------------------------------------
|
||||
|
||||
// If current layout is horizontal OR current window screen is small (overlay menu) than return from here
|
||||
if (isHorizontalLayout || window.Helpers.isSmallScreen()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// If current layout is vertical and current window screen is > small
|
||||
// Auto update menu collapsed/expanded based on the themeConfig
|
||||
if (typeof window.templateCustomizer !== 'undefined') {
|
||||
if (window.templateCustomizer.settings.defaultMenuCollapsed) {
|
||||
window.Helpers.setCollapsed(true, false);
|
||||
} else {
|
||||
window.Helpers.setCollapsed(false, false);
|
||||
}
|
||||
|
||||
if (window.templateCustomizer.settings.semiDark) {
|
||||
document.querySelector('#layout-menu').setAttribute('data-bs-theme', 'dark');
|
||||
}
|
||||
}
|
||||
|
||||
// Manage menu expanded/collapsed state with local storage support If enableMenuLocalStorage = true in config.js
|
||||
if (typeof config !== 'undefined') {
|
||||
if (config.enableMenuLocalStorage) {
|
||||
try {
|
||||
if (localStorage.getItem('templateCustomizer-' + templateName + '--LayoutCollapsed') !== null)
|
||||
window.Helpers.setCollapsed(
|
||||
localStorage.getItem('templateCustomizer-' + templateName + '--LayoutCollapsed') === 'true',
|
||||
false
|
||||
);
|
||||
} catch (e) {}
|
||||
}
|
||||
}
|
||||
})();
|
||||
|
||||
// Search Configuration
|
||||
const SearchConfig = {
|
||||
container: '#autocomplete',
|
||||
placeholder: 'Search [CTRL + K]',
|
||||
classNames: {
|
||||
detachedContainer: 'd-flex flex-column',
|
||||
detachedFormContainer: 'd-flex align-items-center justify-content-between border-bottom',
|
||||
form: 'd-flex align-items-center',
|
||||
input: 'search-control border-none',
|
||||
detachedCancelButton: 'btn-search-close',
|
||||
panel: 'flex-grow content-wrapper overflow-hidden position-relative',
|
||||
panelLayout: 'h-100',
|
||||
clearButton: 'd-none',
|
||||
item: 'd-block'
|
||||
}
|
||||
};
|
||||
|
||||
// Search state and data
|
||||
let data = {};
|
||||
let currentFocusIndex = -1;
|
||||
|
||||
// Utils
|
||||
function isMacOS() {
|
||||
return /Mac|iPod|iPhone|iPad/.test(navigator.userAgent);
|
||||
}
|
||||
|
||||
// Load search data
|
||||
function loadSearchData() {
|
||||
const searchJson = $('#layout-menu').hasClass('menu-horizontal') ? 'search-horizontal.json' : 'search-vertical.json';
|
||||
|
||||
fetch(assetsPath + 'json/' + searchJson)
|
||||
.then(response => {
|
||||
if (!response.ok) throw new Error('Failed to fetch data');
|
||||
return response.json();
|
||||
})
|
||||
.then(json => {
|
||||
data = json;
|
||||
initializeAutocomplete();
|
||||
})
|
||||
.catch(error => console.error('Error loading JSON:', error));
|
||||
}
|
||||
|
||||
// Initialize autocomplete
|
||||
function initializeAutocomplete() {
|
||||
const searchElement = document.getElementById('autocomplete');
|
||||
if (!searchElement) return;
|
||||
|
||||
return autocomplete({
|
||||
...SearchConfig,
|
||||
openOnFocus: true,
|
||||
onStateChange({ state, setQuery }) {
|
||||
// When autocomplete is opened
|
||||
if (state.isOpen) {
|
||||
// Hide body scroll and add padding to prevent layout shift
|
||||
document.body.style.overflow = 'hidden';
|
||||
document.body.style.paddingRight = 'var(--bs-scrollbar-width)';
|
||||
// Replace "Cancel" text with icon
|
||||
const cancelIcon = document.querySelector('.aa-DetachedCancelButton');
|
||||
if (cancelIcon) {
|
||||
cancelIcon.innerHTML =
|
||||
'<span class="text-body-secondary">[esc]</span> <span class="icon-base icon-md ti tabler-x text-heading"></span>';
|
||||
}
|
||||
|
||||
// Perfect Scrollbar
|
||||
if (!window.autoCompletePS) {
|
||||
const panel = document.querySelector('.aa-Panel');
|
||||
if (panel) {
|
||||
window.autoCompletePS = new PerfectScrollbar(panel);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// When autocomplete is closed
|
||||
if (state.status === 'idle' && state.query) {
|
||||
setQuery('');
|
||||
}
|
||||
|
||||
// Restore body scroll and padding when autocomplete is closed
|
||||
document.body.style.overflow = 'auto';
|
||||
document.body.style.paddingRight = '';
|
||||
}
|
||||
},
|
||||
render(args, root) {
|
||||
const { render, html, children, state } = args;
|
||||
|
||||
// Initial Suggestions
|
||||
if (!state.query) {
|
||||
const initialSuggestions = html`
|
||||
<div class="p-5 p-lg-12">
|
||||
<div class="row g-4">
|
||||
${Object.entries(data.suggestions || {}).map(
|
||||
([section, items]) => html`
|
||||
<div class="col-md-6 suggestion-section">
|
||||
<p class="search-headings mb-2">${section}</p>
|
||||
<div class="suggestion-items">
|
||||
${items.map(
|
||||
item => html`
|
||||
<a href="${item.url}" class="suggestion-item d-flex align-items-center">
|
||||
<i class="icon-base ti ${item.icon}"></i>
|
||||
<span>${item.name}</span>
|
||||
</a>
|
||||
`
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
`
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
|
||||
render(initialSuggestions, root);
|
||||
return;
|
||||
}
|
||||
|
||||
// No items
|
||||
if (!args.sections.length) {
|
||||
render(
|
||||
html`
|
||||
<div class="search-no-results-wrapper">
|
||||
<div class="d-flex justify-content-center align-items-center h-100">
|
||||
<div class="text-center text-heading">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 24 24">
|
||||
<g
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
stroke-width="0.6">
|
||||
<path d="M14 3v4a1 1 0 0 0 1 1h4" />
|
||||
<path d="M17 21H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7l5 5v11a2 2 0 0 1-2 2m-5-4h.01M12 11v3" />
|
||||
</g>
|
||||
</svg>
|
||||
<h5 class="mt-2">No results found</h5>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`,
|
||||
root
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
render(children, root);
|
||||
window.autoCompletePS?.update();
|
||||
},
|
||||
getSources() {
|
||||
const sources = [];
|
||||
|
||||
// Add navigation sources if available
|
||||
if (data.navigation) {
|
||||
// Add other navigation sources first
|
||||
const navigationSources = Object.keys(data.navigation)
|
||||
.filter(section => section !== 'files' && section !== 'members')
|
||||
.map(section => ({
|
||||
sourceId: `nav-${section}`,
|
||||
getItems({ query }) {
|
||||
const items = data.navigation[section];
|
||||
if (!query) return items;
|
||||
return items.filter(item => item.name.toLowerCase().includes(query.toLowerCase()));
|
||||
},
|
||||
getItemUrl({ item }) {
|
||||
return item.url;
|
||||
},
|
||||
templates: {
|
||||
header({ items, html }) {
|
||||
if (items.length === 0) return null;
|
||||
return html`<span class="search-headings">${section}</span>`;
|
||||
},
|
||||
item({ item, html }) {
|
||||
return html`
|
||||
<a href="${item.url}" class="d-flex justify-content-between align-items-center">
|
||||
<span class="item-wrapper"><i class="icon-base ti ${item.icon}"></i>${item.name}</span>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="20px" height="20px" viewBox="0 0 24 24">
|
||||
<g
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
stroke-width="1.8"
|
||||
color="currentColor">
|
||||
<path d="M11 6h4.5a4.5 4.5 0 1 1 0 9H4" />
|
||||
<path d="M7 12s-3 2.21-3 3s3 3 3 3" />
|
||||
</g>
|
||||
</svg>
|
||||
</a>
|
||||
`;
|
||||
}
|
||||
}
|
||||
}));
|
||||
sources.push(...navigationSources);
|
||||
|
||||
// Add Files source second
|
||||
if (data.navigation.files) {
|
||||
sources.push({
|
||||
sourceId: 'files',
|
||||
getItems({ query }) {
|
||||
const items = data.navigation.files;
|
||||
if (!query) return items;
|
||||
return items.filter(item => item.name.toLowerCase().includes(query.toLowerCase()));
|
||||
},
|
||||
getItemUrl({ item }) {
|
||||
return item.url;
|
||||
},
|
||||
templates: {
|
||||
header({ items, html }) {
|
||||
if (items.length === 0) return null;
|
||||
return html`<span class="search-headings">Files</span>`;
|
||||
},
|
||||
item({ item, html }) {
|
||||
return html`
|
||||
<a href="${item.url}" class="d-flex align-items-center position-relative px-4 py-2">
|
||||
<div class="file-preview me-2">
|
||||
<img src="${assetsPath}${item.src}" alt="${item.name}" class="rounded" width="42" />
|
||||
</div>
|
||||
<div class="flex-grow-1">
|
||||
<h6 class="mb-0">${item.name}</h6>
|
||||
<small class="text-body-secondary">${item.subtitle}</small>
|
||||
</div>
|
||||
${item.meta
|
||||
? html`
|
||||
<div class="position-absolute end-0 me-4">
|
||||
<span class="text-body-secondary small">${item.meta}</span>
|
||||
</div>
|
||||
`
|
||||
: ''}
|
||||
</a>
|
||||
`;
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// Add Members source last
|
||||
if (data.navigation.members) {
|
||||
sources.push({
|
||||
sourceId: 'members',
|
||||
getItems({ query }) {
|
||||
const items = data.navigation.members;
|
||||
if (!query) return items;
|
||||
return items.filter(item => item.name.toLowerCase().includes(query.toLowerCase()));
|
||||
},
|
||||
getItemUrl({ item }) {
|
||||
return item.url;
|
||||
},
|
||||
templates: {
|
||||
header({ items, html }) {
|
||||
if (items.length === 0) return null;
|
||||
return html`<span class="search-headings">Members</span>`;
|
||||
},
|
||||
item({ item, html }) {
|
||||
return html`
|
||||
<a href="${item.url}" class="d-flex align-items-center py-2 px-4">
|
||||
<div class="avatar me-2">
|
||||
<img src="${assetsPath}${item.src}" alt="${item.name}" class="rounded-circle" width="32" />
|
||||
</div>
|
||||
<div class="flex-grow-1">
|
||||
<h6 class="mb-0">${item.name}</h6>
|
||||
<small class="text-body-secondary">${item.subtitle}</small>
|
||||
</div>
|
||||
</a>
|
||||
`;
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
return sources;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// Initialize search shortcut
|
||||
document.addEventListener('keydown', event => {
|
||||
if ((event.ctrlKey || event.metaKey) && event.key === 'k') {
|
||||
event.preventDefault();
|
||||
document.querySelector('.aa-DetachedSearchButton').click();
|
||||
}
|
||||
});
|
||||
|
||||
// Load search data on page load
|
||||
if (document.documentElement.querySelector('#autocomplete')) {
|
||||
loadSearchData();
|
||||
}
|
||||
Vendored
+28871
File diff suppressed because it is too large
Load Diff
+23724
File diff suppressed because it is too large
Load Diff
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
Vendored
+1
File diff suppressed because one or more lines are too long
@@ -0,0 +1,752 @@
|
||||
/**
|
||||
* Apex Charts
|
||||
*/
|
||||
/* (C) */
|
||||
@keyframes opaque {
|
||||
0% {
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
@keyframes resizeanim {
|
||||
0%, to {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
.apexcharts-canvas {
|
||||
position: relative;
|
||||
direction: ltr !important;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.apexcharts-canvas ::-webkit-scrollbar {
|
||||
-webkit-appearance: none;
|
||||
width: 6px;
|
||||
}
|
||||
|
||||
.apexcharts-canvas ::-webkit-scrollbar-thumb {
|
||||
border-radius: 4px;
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
|
||||
-webkit-box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
|
||||
.apexcharts-inner {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.apexcharts-text tspan {
|
||||
font-family: inherit;
|
||||
}
|
||||
|
||||
rect.legend-mouseover-inactive,
|
||||
.legend-mouseover-inactive rect,
|
||||
.legend-mouseover-inactive path,
|
||||
.legend-mouseover-inactive circle,
|
||||
.legend-mouseover-inactive line,
|
||||
.legend-mouseover-inactive text.apexcharts-yaxis-title-text,
|
||||
.legend-mouseover-inactive text.apexcharts-yaxis-label {
|
||||
transition: 0.15s ease all;
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
.apexcharts-legend-text {
|
||||
padding-left: 15px;
|
||||
margin-left: -15px;
|
||||
}
|
||||
|
||||
.apexcharts-series-collapsed {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.apexcharts-tooltip {
|
||||
border-radius: 5px;
|
||||
box-shadow: 2px 2px 6px -4px #999;
|
||||
cursor: default;
|
||||
font-size: 14px;
|
||||
left: 62px;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
z-index: 12;
|
||||
transition: 0.15s ease all;
|
||||
}
|
||||
|
||||
.apexcharts-tooltip.apexcharts-active {
|
||||
opacity: 1;
|
||||
transition: 0.15s ease all;
|
||||
}
|
||||
|
||||
.apexcharts-tooltip.apexcharts-theme-light {
|
||||
border: 1px solid #e3e3e3;
|
||||
background: rgba(255, 255, 255, 0.96);
|
||||
}
|
||||
|
||||
.apexcharts-tooltip.apexcharts-theme-dark {
|
||||
color: #fff;
|
||||
background: rgba(30, 30, 30, 0.8);
|
||||
}
|
||||
|
||||
.apexcharts-tooltip * {
|
||||
font-family: inherit;
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-title {
|
||||
padding: 6px;
|
||||
font-size: 15px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.apexcharts-tooltip.apexcharts-theme-light .apexcharts-tooltip-title {
|
||||
background: #eceff1;
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
|
||||
.apexcharts-tooltip.apexcharts-theme-dark .apexcharts-tooltip-title {
|
||||
background: rgba(0, 0, 0, 0.7);
|
||||
border-bottom: 1px solid #333;
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-text-goals-value,
|
||||
.apexcharts-tooltip-text-y-value,
|
||||
.apexcharts-tooltip-text-z-value {
|
||||
display: inline-block;
|
||||
margin-left: 5px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-text-goals-label:empty,
|
||||
.apexcharts-tooltip-text-goals-value:empty,
|
||||
.apexcharts-tooltip-text-y-label:empty,
|
||||
.apexcharts-tooltip-text-y-value:empty,
|
||||
.apexcharts-tooltip-text-z-value:empty,
|
||||
.apexcharts-tooltip-title:empty {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-text-goals-label,
|
||||
.apexcharts-tooltip-text-goals-value {
|
||||
padding: 6px 0 5px;
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-goals-group,
|
||||
.apexcharts-tooltip-text-goals-label,
|
||||
.apexcharts-tooltip-text-goals-value {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-text-goals-label:not(:empty),
|
||||
.apexcharts-tooltip-text-goals-value:not(:empty) {
|
||||
margin-top: -6px;
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-marker {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
position: relative;
|
||||
top: 0;
|
||||
margin-right: 10px;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-series-group {
|
||||
padding: 0 10px;
|
||||
display: none;
|
||||
text-align: left;
|
||||
justify-content: left;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-series-group.apexcharts-active .apexcharts-tooltip-marker {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-series-group.apexcharts-active,
|
||||
.apexcharts-tooltip-series-group:last-child {
|
||||
padding-bottom: 4px;
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-y-group {
|
||||
padding: 6px 0 5px;
|
||||
}
|
||||
|
||||
.apexcharts-custom-tooltip,
|
||||
.apexcharts-tooltip-box {
|
||||
padding: 4px 8px;
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-boxPlot {
|
||||
display: flex;
|
||||
flex-direction: column-reverse;
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-box > div {
|
||||
margin: 4px 0;
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-box span.value {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-rangebar {
|
||||
padding: 5px 8px;
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-rangebar .category {
|
||||
font-weight: 600;
|
||||
color: #777;
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-rangebar .series-name {
|
||||
font-weight: 700;
|
||||
display: block;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.apexcharts-xaxistooltip,
|
||||
.apexcharts-yaxistooltip {
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
color: #373d3f;
|
||||
font-size: 13px;
|
||||
text-align: center;
|
||||
border-radius: 2px;
|
||||
position: absolute;
|
||||
z-index: 10;
|
||||
background: #eceff1;
|
||||
border: 1px solid #90a4ae;
|
||||
}
|
||||
|
||||
.apexcharts-xaxistooltip {
|
||||
padding: 9px 10px;
|
||||
transition: 0.15s ease all;
|
||||
}
|
||||
|
||||
.apexcharts-xaxistooltip.apexcharts-theme-dark {
|
||||
background: rgba(0, 0, 0, 0.7);
|
||||
border: 1px solid rgba(0, 0, 0, 0.5);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.apexcharts-xaxistooltip:after,
|
||||
.apexcharts-xaxistooltip:before {
|
||||
left: 50%;
|
||||
border: solid transparent;
|
||||
content: " ";
|
||||
height: 0;
|
||||
width: 0;
|
||||
position: absolute;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.apexcharts-xaxistooltip:after {
|
||||
border-color: transparent;
|
||||
border-width: 6px;
|
||||
margin-left: -6px;
|
||||
}
|
||||
|
||||
.apexcharts-xaxistooltip:before {
|
||||
border-color: transparent;
|
||||
border-width: 7px;
|
||||
margin-left: -7px;
|
||||
}
|
||||
|
||||
.apexcharts-xaxistooltip-bottom:after,
|
||||
.apexcharts-xaxistooltip-bottom:before {
|
||||
bottom: 100%;
|
||||
}
|
||||
|
||||
.apexcharts-xaxistooltip-top:after,
|
||||
.apexcharts-xaxistooltip-top:before {
|
||||
top: 100%;
|
||||
}
|
||||
|
||||
.apexcharts-xaxistooltip-bottom:after {
|
||||
border-bottom-color: #eceff1;
|
||||
}
|
||||
|
||||
.apexcharts-xaxistooltip-bottom:before {
|
||||
border-bottom-color: #90a4ae;
|
||||
}
|
||||
|
||||
.apexcharts-xaxistooltip-bottom.apexcharts-theme-dark:after,
|
||||
.apexcharts-xaxistooltip-bottom.apexcharts-theme-dark:before {
|
||||
border-bottom-color: rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.apexcharts-xaxistooltip-top:after {
|
||||
border-top-color: #eceff1;
|
||||
}
|
||||
|
||||
.apexcharts-xaxistooltip-top:before {
|
||||
border-top-color: #90a4ae;
|
||||
}
|
||||
|
||||
.apexcharts-xaxistooltip-top.apexcharts-theme-dark:after,
|
||||
.apexcharts-xaxistooltip-top.apexcharts-theme-dark:before {
|
||||
border-top-color: rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.apexcharts-xaxistooltip.apexcharts-active {
|
||||
opacity: 1;
|
||||
transition: 0.15s ease all;
|
||||
}
|
||||
|
||||
.apexcharts-yaxistooltip {
|
||||
padding: 4px 10px;
|
||||
}
|
||||
|
||||
.apexcharts-yaxistooltip.apexcharts-theme-dark {
|
||||
background: rgba(0, 0, 0, 0.7);
|
||||
border: 1px solid rgba(0, 0, 0, 0.5);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.apexcharts-yaxistooltip:after,
|
||||
.apexcharts-yaxistooltip:before {
|
||||
top: 50%;
|
||||
border: solid transparent;
|
||||
content: " ";
|
||||
height: 0;
|
||||
width: 0;
|
||||
position: absolute;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.apexcharts-yaxistooltip:after {
|
||||
border-color: transparent;
|
||||
border-width: 6px;
|
||||
margin-top: -6px;
|
||||
}
|
||||
|
||||
.apexcharts-yaxistooltip:before {
|
||||
border-color: transparent;
|
||||
border-width: 7px;
|
||||
margin-top: -7px;
|
||||
}
|
||||
|
||||
.apexcharts-yaxistooltip-left:after,
|
||||
.apexcharts-yaxistooltip-left:before {
|
||||
left: 100%;
|
||||
}
|
||||
|
||||
.apexcharts-yaxistooltip-right:after,
|
||||
.apexcharts-yaxistooltip-right:before {
|
||||
right: 100%;
|
||||
}
|
||||
|
||||
.apexcharts-yaxistooltip-left:after {
|
||||
border-left-color: #eceff1;
|
||||
}
|
||||
|
||||
.apexcharts-yaxistooltip-left:before {
|
||||
border-left-color: #90a4ae;
|
||||
}
|
||||
|
||||
.apexcharts-yaxistooltip-left.apexcharts-theme-dark:after,
|
||||
.apexcharts-yaxistooltip-left.apexcharts-theme-dark:before {
|
||||
border-left-color: rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.apexcharts-yaxistooltip-right:after {
|
||||
border-right-color: #eceff1;
|
||||
}
|
||||
|
||||
.apexcharts-yaxistooltip-right:before {
|
||||
border-right-color: #90a4ae;
|
||||
}
|
||||
|
||||
.apexcharts-yaxistooltip-right.apexcharts-theme-dark:after,
|
||||
.apexcharts-yaxistooltip-right.apexcharts-theme-dark:before {
|
||||
border-right-color: rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.apexcharts-yaxistooltip.apexcharts-active {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.apexcharts-yaxistooltip-hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.apexcharts-xcrosshairs,
|
||||
.apexcharts-ycrosshairs {
|
||||
pointer-events: none;
|
||||
opacity: 0;
|
||||
transition: 0.15s ease all;
|
||||
}
|
||||
|
||||
.apexcharts-xcrosshairs.apexcharts-active,
|
||||
.apexcharts-ycrosshairs.apexcharts-active {
|
||||
opacity: 1;
|
||||
transition: 0.15s ease all;
|
||||
}
|
||||
|
||||
.apexcharts-ycrosshairs-hidden {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.apexcharts-selection-rect {
|
||||
cursor: move;
|
||||
}
|
||||
|
||||
.svg_select_shape {
|
||||
stroke-width: 1;
|
||||
stroke-dasharray: 10 10;
|
||||
stroke: black;
|
||||
stroke-opacity: 0.1;
|
||||
pointer-events: none;
|
||||
fill: none;
|
||||
}
|
||||
|
||||
.svg_select_handle {
|
||||
stroke-width: 3;
|
||||
stroke: black;
|
||||
fill: none;
|
||||
}
|
||||
|
||||
.svg_select_handle_r {
|
||||
cursor: e-resize;
|
||||
}
|
||||
|
||||
.svg_select_handle_l {
|
||||
cursor: w-resize;
|
||||
}
|
||||
|
||||
.apexcharts-svg.apexcharts-zoomable.hovering-zoom {
|
||||
cursor: crosshair;
|
||||
}
|
||||
|
||||
.apexcharts-svg.apexcharts-zoomable.hovering-pan {
|
||||
cursor: move;
|
||||
}
|
||||
|
||||
.apexcharts-menu-icon,
|
||||
.apexcharts-pan-icon,
|
||||
.apexcharts-reset-icon,
|
||||
.apexcharts-selection-icon,
|
||||
.apexcharts-toolbar-custom-icon,
|
||||
.apexcharts-zoom-icon,
|
||||
.apexcharts-zoomin-icon,
|
||||
.apexcharts-zoomout-icon {
|
||||
cursor: pointer;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
line-height: 24px;
|
||||
color: #6e8192;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.apexcharts-menu-icon svg,
|
||||
.apexcharts-reset-icon svg,
|
||||
.apexcharts-zoom-icon svg,
|
||||
.apexcharts-zoomin-icon svg,
|
||||
.apexcharts-zoomout-icon svg {
|
||||
fill: #6e8192;
|
||||
}
|
||||
|
||||
.apexcharts-selection-icon svg {
|
||||
fill: #444;
|
||||
transform: scale(0.76);
|
||||
}
|
||||
|
||||
.apexcharts-theme-dark .apexcharts-menu-icon svg,
|
||||
.apexcharts-theme-dark .apexcharts-pan-icon svg,
|
||||
.apexcharts-theme-dark .apexcharts-reset-icon svg,
|
||||
.apexcharts-theme-dark .apexcharts-selection-icon svg,
|
||||
.apexcharts-theme-dark .apexcharts-toolbar-custom-icon svg,
|
||||
.apexcharts-theme-dark .apexcharts-zoom-icon svg,
|
||||
.apexcharts-theme-dark .apexcharts-zoomin-icon svg,
|
||||
.apexcharts-theme-dark .apexcharts-zoomout-icon svg {
|
||||
fill: #f3f4f5;
|
||||
}
|
||||
|
||||
.apexcharts-canvas .apexcharts-reset-zoom-icon.apexcharts-selected svg,
|
||||
.apexcharts-canvas .apexcharts-selection-icon.apexcharts-selected svg,
|
||||
.apexcharts-canvas .apexcharts-zoom-icon.apexcharts-selected svg {
|
||||
fill: #008ffb;
|
||||
}
|
||||
|
||||
.apexcharts-theme-light .apexcharts-menu-icon:hover svg,
|
||||
.apexcharts-theme-light .apexcharts-reset-icon:hover svg,
|
||||
.apexcharts-theme-light .apexcharts-selection-icon:not(.apexcharts-selected):hover svg,
|
||||
.apexcharts-theme-light .apexcharts-zoom-icon:not(.apexcharts-selected):hover svg,
|
||||
.apexcharts-theme-light .apexcharts-zoomin-icon:hover svg,
|
||||
.apexcharts-theme-light .apexcharts-zoomout-icon:hover svg {
|
||||
fill: #333;
|
||||
}
|
||||
|
||||
.apexcharts-menu-icon,
|
||||
.apexcharts-selection-icon {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.apexcharts-reset-icon {
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.apexcharts-menu-icon,
|
||||
.apexcharts-reset-icon,
|
||||
.apexcharts-zoom-icon {
|
||||
transform: scale(0.85);
|
||||
}
|
||||
|
||||
.apexcharts-zoomin-icon,
|
||||
.apexcharts-zoomout-icon {
|
||||
transform: scale(0.7);
|
||||
}
|
||||
|
||||
.apexcharts-zoomout-icon {
|
||||
margin-right: 3px;
|
||||
}
|
||||
|
||||
.apexcharts-pan-icon {
|
||||
transform: scale(0.62);
|
||||
position: relative;
|
||||
left: 1px;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.apexcharts-pan-icon svg {
|
||||
fill: #fff;
|
||||
stroke: #6e8192;
|
||||
stroke-width: 2;
|
||||
}
|
||||
|
||||
.apexcharts-pan-icon.apexcharts-selected svg {
|
||||
stroke: #008ffb;
|
||||
}
|
||||
|
||||
.apexcharts-pan-icon:not(.apexcharts-selected):hover svg {
|
||||
stroke: #333;
|
||||
}
|
||||
|
||||
.apexcharts-toolbar {
|
||||
position: absolute;
|
||||
z-index: 11;
|
||||
max-width: 176px;
|
||||
text-align: right;
|
||||
border-radius: 3px;
|
||||
padding: 0 6px 2px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.apexcharts-menu {
|
||||
background: #fff;
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 3px;
|
||||
padding: 3px;
|
||||
right: 10px;
|
||||
opacity: 0;
|
||||
min-width: 110px;
|
||||
transition: 0.15s ease all;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.apexcharts-menu.apexcharts-menu-open {
|
||||
opacity: 1;
|
||||
pointer-events: all;
|
||||
transition: 0.15s ease all;
|
||||
}
|
||||
|
||||
.apexcharts-menu-item {
|
||||
padding: 6px 7px;
|
||||
font-size: 12px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.apexcharts-theme-light .apexcharts-menu-item:hover {
|
||||
background: #eee;
|
||||
}
|
||||
|
||||
.apexcharts-theme-dark .apexcharts-menu {
|
||||
background: rgba(0, 0, 0, 0.7);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 768px) {
|
||||
.apexcharts-canvas:hover .apexcharts-toolbar {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
.apexcharts-canvas .apexcharts-element-hidden,
|
||||
.apexcharts-datalabel.apexcharts-element-hidden,
|
||||
.apexcharts-hide .apexcharts-series-points {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.apexcharts-hidden-element-shown {
|
||||
opacity: 1;
|
||||
transition: 0.25s ease all;
|
||||
}
|
||||
|
||||
.apexcharts-datalabel,
|
||||
.apexcharts-datalabel-label,
|
||||
.apexcharts-datalabel-value,
|
||||
.apexcharts-datalabels,
|
||||
.apexcharts-pie-label {
|
||||
cursor: default;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.apexcharts-pie-label-delay {
|
||||
opacity: 0;
|
||||
animation-name: opaque;
|
||||
animation-duration: 0.3s;
|
||||
animation-fill-mode: forwards;
|
||||
animation-timing-function: ease;
|
||||
}
|
||||
|
||||
.apexcharts-radialbar-label {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.apexcharts-annotation-rect,
|
||||
.apexcharts-area-series .apexcharts-area,
|
||||
.apexcharts-gridline,
|
||||
.apexcharts-line,
|
||||
.apexcharts-point-annotation-label,
|
||||
.apexcharts-radar-series path:not(.apexcharts-marker),
|
||||
.apexcharts-radar-series polygon,
|
||||
.apexcharts-toolbar svg,
|
||||
.apexcharts-tooltip .apexcharts-marker,
|
||||
.apexcharts-xaxis-annotation-label,
|
||||
.apexcharts-yaxis-annotation-label,
|
||||
.apexcharts-zoom-rect,
|
||||
.no-pointer-events {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.apexcharts-tooltip-active .apexcharts-marker {
|
||||
transition: 0.15s ease all;
|
||||
}
|
||||
|
||||
.resize-triggers {
|
||||
animation: 1ms resizeanim;
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.contract-trigger:before,
|
||||
.resize-triggers,
|
||||
.resize-triggers > div {
|
||||
content: " ";
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.resize-triggers > div {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
background: #eee;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.contract-trigger:before {
|
||||
overflow: hidden;
|
||||
width: 200%;
|
||||
height: 200%;
|
||||
}
|
||||
|
||||
.apexcharts-bar-goals-markers {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.apexcharts-bar-shadows {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.apexcharts-rangebar-goals-markers {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.apexcharts-canvas .apexcharts-tooltip {
|
||||
box-shadow: var(--bs-box-shadow);
|
||||
}
|
||||
.apexcharts-canvas .apexcharts-tooltip.apexcharts-theme-light {
|
||||
border-color: var(--bs-border-color);
|
||||
background: var(--bs-paper-bg);
|
||||
color: var(--bs-heading-color);
|
||||
}
|
||||
.apexcharts-canvas .apexcharts-tooltip.apexcharts-theme-light .apexcharts-tooltip-title {
|
||||
background: var(--bs-paper-bg);
|
||||
border-block-end-color: var(--bs-border-color);
|
||||
font-family: var(--bs-font-sans-serif) !important;
|
||||
font-weight: 500;
|
||||
}
|
||||
.apexcharts-canvas .apexcharts-tooltip.apexcharts-theme-dark {
|
||||
background: transparent;
|
||||
}
|
||||
.apexcharts-canvas .apexcharts-xaxistooltip,
|
||||
.apexcharts-canvas .apexcharts-yaxistooltip {
|
||||
border-color: var(--bs-border-color);
|
||||
background: var(--bs-paper-bg);
|
||||
color: var(--bs-heading-color);
|
||||
}
|
||||
.apexcharts-canvas .apexcharts-xaxistooltip.apexcharts-xaxistooltip-bottom::after, .apexcharts-canvas .apexcharts-xaxistooltip.apexcharts-yaxistooltip-bottom::after,
|
||||
.apexcharts-canvas .apexcharts-yaxistooltip.apexcharts-xaxistooltip-bottom::after,
|
||||
.apexcharts-canvas .apexcharts-yaxistooltip.apexcharts-yaxistooltip-bottom::after {
|
||||
border-block-end-color: var(--bs-paper-bg);
|
||||
}
|
||||
.apexcharts-canvas .apexcharts-xaxistooltip.apexcharts-xaxistooltip-bottom::before, .apexcharts-canvas .apexcharts-xaxistooltip.apexcharts-yaxistooltip-bottom::before,
|
||||
.apexcharts-canvas .apexcharts-yaxistooltip.apexcharts-xaxistooltip-bottom::before,
|
||||
.apexcharts-canvas .apexcharts-yaxistooltip.apexcharts-yaxistooltip-bottom::before {
|
||||
border-block-end-color: var(--bs-border-color);
|
||||
}
|
||||
.apexcharts-canvas .apexcharts-xaxistooltip.apexcharts-xaxistooltip-left::after, .apexcharts-canvas .apexcharts-xaxistooltip.apexcharts-yaxistooltip-left::after,
|
||||
.apexcharts-canvas .apexcharts-yaxistooltip.apexcharts-xaxistooltip-left::after,
|
||||
.apexcharts-canvas .apexcharts-yaxistooltip.apexcharts-yaxistooltip-left::after {
|
||||
border-inline-start-color: var(--bs-paper-bg);
|
||||
}
|
||||
.apexcharts-canvas .apexcharts-xaxistooltip.apexcharts-xaxistooltip-left::before, .apexcharts-canvas .apexcharts-xaxistooltip.apexcharts-yaxistooltip-left::before,
|
||||
.apexcharts-canvas .apexcharts-yaxistooltip.apexcharts-xaxistooltip-left::before,
|
||||
.apexcharts-canvas .apexcharts-yaxistooltip.apexcharts-yaxistooltip-left::before {
|
||||
border-inline-start-color: var(--bs-border-color);
|
||||
}
|
||||
.apexcharts-canvas .apexcharts-xaxistooltip.apexcharts-xaxistooltip-right::after, .apexcharts-canvas .apexcharts-xaxistooltip.apexcharts-yaxistooltip-right::after,
|
||||
.apexcharts-canvas .apexcharts-yaxistooltip.apexcharts-xaxistooltip-right::after,
|
||||
.apexcharts-canvas .apexcharts-yaxistooltip.apexcharts-yaxistooltip-right::after {
|
||||
border-inline-end-color: var(--bs-paper-bg);
|
||||
}
|
||||
.apexcharts-canvas .apexcharts-xaxistooltip.apexcharts-xaxistooltip-right::before, .apexcharts-canvas .apexcharts-xaxistooltip.apexcharts-yaxistooltip-right::before,
|
||||
.apexcharts-canvas .apexcharts-yaxistooltip.apexcharts-xaxistooltip-right::before,
|
||||
.apexcharts-canvas .apexcharts-yaxistooltip.apexcharts-yaxistooltip-right::before {
|
||||
border-inline-end-color: var(--bs-border-color);
|
||||
}
|
||||
.apexcharts-canvas .apexcharts-xaxistooltip.apexcharts-xaxistooltip-top::after, .apexcharts-canvas .apexcharts-xaxistooltip.apexcharts-yaxistooltip-top::after,
|
||||
.apexcharts-canvas .apexcharts-yaxistooltip.apexcharts-xaxistooltip-top::after,
|
||||
.apexcharts-canvas .apexcharts-yaxistooltip.apexcharts-yaxistooltip-top::after {
|
||||
border-block-start-color: var(--bs-paper-bg);
|
||||
}
|
||||
.apexcharts-canvas .apexcharts-xaxistooltip.apexcharts-xaxistooltip-top::before, .apexcharts-canvas .apexcharts-xaxistooltip.apexcharts-yaxistooltip-top::before,
|
||||
.apexcharts-canvas .apexcharts-yaxistooltip.apexcharts-xaxistooltip-top::before,
|
||||
.apexcharts-canvas .apexcharts-yaxistooltip.apexcharts-yaxistooltip-top::before {
|
||||
border-block-start-color: var(--bs-border-color);
|
||||
}
|
||||
.apexcharts-canvas .apexcharts-tooltip-text {
|
||||
font-family: var(--bs-font-sans-serif) !important;
|
||||
}
|
||||
.apexcharts-canvas .apexcharts-legend-marker,
|
||||
.apexcharts-canvas .apexcharts-tooltip-marker {
|
||||
margin-inline: 0 0.1875rem;
|
||||
}
|
||||
|
||||
:dir(rtl) .apexcharts-canvas .apexcharts-legend {
|
||||
direction: rtl !important;
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,454 @@
|
||||
/* (C) */
|
||||
/*!
|
||||
* bsStepper v1.7.0 (https://github.com/Johann-S/bs-stepper)
|
||||
* Copyright 2018 - 2019 Johann-S <johann.servoire@gmail.com>
|
||||
* Licensed under MIT (https://github.com/Johann-S/bs-stepper/blob/master/LICENSE)
|
||||
*/
|
||||
.bs-stepper .step-trigger {
|
||||
display: -ms-inline-flexbox;
|
||||
display: inline-flex;
|
||||
-ms-flex-wrap: wrap;
|
||||
flex-wrap: wrap;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
-ms-flex-pack: center;
|
||||
justify-content: center;
|
||||
padding: 20px;
|
||||
font-size: 1rem;
|
||||
font-weight: 700;
|
||||
line-height: 1.5;
|
||||
color: #6c757d;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
white-space: nowrap;
|
||||
vertical-align: middle;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
border-radius: 0.25rem;
|
||||
transition: background-color 0.15s ease-out, color 0.15s ease-out;
|
||||
}
|
||||
|
||||
.bs-stepper .step-trigger:not(:disabled):not(.disabled) {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.bs-stepper .step-trigger:disabled,
|
||||
.bs-stepper .step-trigger.disabled {
|
||||
pointer-events: none;
|
||||
opacity: 0.65;
|
||||
}
|
||||
|
||||
.bs-stepper .step-trigger:focus {
|
||||
color: #007bff;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.bs-stepper .step-trigger:hover {
|
||||
text-decoration: none;
|
||||
background-color: rgba(0, 0, 0, 0.06);
|
||||
}
|
||||
|
||||
@media (max-width: 520px) {
|
||||
.bs-stepper .step-trigger {
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
padding: 10px;
|
||||
}
|
||||
}
|
||||
.bs-stepper-label {
|
||||
display: inline-block;
|
||||
margin: 0.25rem;
|
||||
}
|
||||
|
||||
.bs-stepper-header {
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
@media (max-width: 520px) {
|
||||
.bs-stepper-header {
|
||||
margin: 0 -10px;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
.bs-stepper-line,
|
||||
.bs-stepper .line {
|
||||
-ms-flex: 1 0 32px;
|
||||
flex: 1 0 32px;
|
||||
min-width: 1px;
|
||||
min-height: 1px;
|
||||
margin: auto;
|
||||
background-color: rgba(0, 0, 0, 0.12);
|
||||
}
|
||||
|
||||
@media (max-width: 400px) {
|
||||
.bs-stepper-line,
|
||||
.bs-stepper .line {
|
||||
-ms-flex-preferred-size: 20px;
|
||||
flex-basis: 20px;
|
||||
}
|
||||
}
|
||||
.bs-stepper-circle {
|
||||
display: -ms-inline-flexbox;
|
||||
display: inline-flex;
|
||||
-ms-flex-line-pack: center;
|
||||
align-content: center;
|
||||
-ms-flex-pack: center;
|
||||
justify-content: center;
|
||||
width: 2em;
|
||||
height: 2em;
|
||||
padding: 0.5em 0;
|
||||
margin: 0.25rem;
|
||||
line-height: 1em;
|
||||
color: #fff;
|
||||
background-color: #6c757d;
|
||||
border-radius: 1em;
|
||||
}
|
||||
|
||||
.active .bs-stepper-circle {
|
||||
background-color: #007bff;
|
||||
}
|
||||
|
||||
.bs-stepper-content {
|
||||
padding: 0 20px 20px;
|
||||
}
|
||||
|
||||
@media (max-width: 520px) {
|
||||
.bs-stepper-content {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
.bs-stepper.vertical {
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.bs-stepper.vertical .bs-stepper-header {
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
-ms-flex-align: stretch;
|
||||
align-items: stretch;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.bs-stepper.vertical .bs-stepper-pane,
|
||||
.bs-stepper.vertical .content {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.bs-stepper.vertical .bs-stepper-pane:not(.fade),
|
||||
.bs-stepper.vertical .content:not(.fade) {
|
||||
display: block;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.bs-stepper-pane:not(.fade),
|
||||
.bs-stepper .content:not(.fade) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.bs-stepper .content.fade,
|
||||
.bs-stepper-pane.fade {
|
||||
visibility: hidden;
|
||||
transition-duration: 0.3s;
|
||||
transition-property: opacity;
|
||||
}
|
||||
|
||||
.bs-stepper-pane.fade.active,
|
||||
.bs-stepper .content.fade.active {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.bs-stepper-pane.active:not(.fade),
|
||||
.bs-stepper .content.active:not(.fade) {
|
||||
display: block;
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
.bs-stepper-pane.dstepper-block,
|
||||
.bs-stepper .content.dstepper-block {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.bs-stepper:not(.vertical) .bs-stepper-pane.dstepper-none,
|
||||
.bs-stepper:not(.vertical) .content.dstepper-none {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.vertical .bs-stepper-pane.fade.dstepper-none,
|
||||
.vertical .content.fade.dstepper-none {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
|
||||
/* Default Styles */
|
||||
.bs-stepper {
|
||||
border-radius: 0.375rem;
|
||||
background-color: var(--bs-paper-bg);
|
||||
/* stepper content padding */
|
||||
/* Remove borders from wizard modern */
|
||||
}
|
||||
.bs-stepper .line {
|
||||
flex: 0;
|
||||
margin: 0;
|
||||
background-color: transparent;
|
||||
min-block-size: auto;
|
||||
min-inline-size: auto;
|
||||
}
|
||||
.bs-stepper .bs-stepper-header {
|
||||
border-block-end: 1px solid var(--bs-border-color);
|
||||
padding-block: 1.5rem;
|
||||
padding-inline: 1.5rem;
|
||||
}
|
||||
:dir(rtl) .bs-stepper .bs-stepper-header .line .icon-base {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
.bs-stepper .bs-stepper-header .step {
|
||||
/* stepper circle / pill styles */
|
||||
}
|
||||
.bs-stepper .bs-stepper-header .step .step-trigger {
|
||||
flex-wrap: nowrap;
|
||||
padding: 0;
|
||||
font-weight: 500;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
.bs-stepper .bs-stepper-header .step .step-trigger .bs-stepper-label {
|
||||
display: inline-grid;
|
||||
overflow: hidden;
|
||||
margin: 0;
|
||||
color: var(--bs-heading-color);
|
||||
font-size: 0.9375rem;
|
||||
font-weight: 500;
|
||||
line-height: 1.375rem;
|
||||
max-inline-size: 224px;
|
||||
text-align: start;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.bs-stepper .bs-stepper-header .step .step-trigger .bs-stepper-label .bs-stepper-title {
|
||||
color: var(--bs-heading-color);
|
||||
font-weight: 500;
|
||||
}
|
||||
.bs-stepper .bs-stepper-header .step .step-trigger .bs-stepper-label .bs-stepper-subtitle {
|
||||
color: var(--bs-body-color);
|
||||
font-size: 0.8125rem;
|
||||
font-weight: 400;
|
||||
}
|
||||
.bs-stepper .bs-stepper-header .step .step-trigger:hover {
|
||||
background-color: transparent;
|
||||
}
|
||||
.bs-stepper .bs-stepper-header .step .step-trigger:focus {
|
||||
color: var(--bs-heading-color);
|
||||
}
|
||||
@media (max-width: 991.98px) {
|
||||
.bs-stepper .bs-stepper-header .step .step-trigger {
|
||||
padding-block: 0.625rem;
|
||||
padding-inline: 0;
|
||||
}
|
||||
}
|
||||
.bs-stepper .bs-stepper-header .step.active .bs-stepper-circle {
|
||||
background-color: var(--bs-primary);
|
||||
box-shadow: 0 0.125rem 0.375rem 0 rgba(var(--bs-primary-rgb), 0.3);
|
||||
color: var(--bs-primary-contrast);
|
||||
}
|
||||
.bs-stepper .bs-stepper-header .step.active .bs-stepper-icon svg {
|
||||
fill: var(--bs-primary);
|
||||
}
|
||||
.bs-stepper .bs-stepper-header .step.active .bs-stepper-icon i {
|
||||
color: var(--bs-primary);
|
||||
}
|
||||
.bs-stepper .bs-stepper-header .step:not(.active) .bs-stepper-circle {
|
||||
background-color: rgba(var(--bs-base-color-rgb), 0.06);
|
||||
color: var(--bs-heading-color);
|
||||
}
|
||||
.bs-stepper .bs-stepper-header .step.crossed .step-trigger {
|
||||
/* stepper icons color */
|
||||
}
|
||||
.bs-stepper .bs-stepper-header .step.crossed .step-trigger .bs-stepper-label .bs-stepper-subtitle,
|
||||
.bs-stepper .bs-stepper-header .step.crossed .step-trigger .bs-stepper-title {
|
||||
color: var(--bs-secondary-color);
|
||||
}
|
||||
.bs-stepper .bs-stepper-header .step.crossed .step-trigger .bs-stepper-circle {
|
||||
background-color: var(--bs-primary-bg-subtle);
|
||||
color: var(--bs-primary);
|
||||
}
|
||||
.bs-stepper .bs-stepper-header .step.crossed .step-trigger .bs-stepper-icon svg {
|
||||
fill: var(--bs-primary);
|
||||
}
|
||||
.bs-stepper .bs-stepper-header .step.crossed .step-trigger .bs-stepper-icon .icon-base {
|
||||
color: var(--bs-primary);
|
||||
}
|
||||
.bs-stepper .bs-stepper-header .step.crossed + .line .icon-base {
|
||||
color: var(--bs-body-color);
|
||||
}
|
||||
.bs-stepper .bs-stepper-header .step .bs-stepper-circle {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 0.375rem;
|
||||
block-size: 2.375rem;
|
||||
font-size: 1.125rem;
|
||||
font-weight: 500;
|
||||
inline-size: 2.375rem;
|
||||
}
|
||||
.bs-stepper .bs-stepper-header .step .bs-stepper-circle .icon-base {
|
||||
font-size: 1.375rem;
|
||||
}
|
||||
.bs-stepper .bs-stepper-content {
|
||||
padding-block: 1.5rem;
|
||||
padding-inline: 1.5rem;
|
||||
}
|
||||
:dir(rtl) .bs-stepper .bs-stepper-content .btn-next .icon-base:not(.tabler-check),
|
||||
:dir(rtl) .bs-stepper .bs-stepper-content .btn-prev .icon-base:not(.tabler-check) {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
.bs-stepper.vertical .bs-stepper-header {
|
||||
border-block-end: none;
|
||||
min-inline-size: 18rem;
|
||||
}
|
||||
@media (max-width: 991.98px) {
|
||||
.bs-stepper.vertical .bs-stepper-header {
|
||||
border-block-end: 1px solid var(--bs-border-color);
|
||||
}
|
||||
}
|
||||
.bs-stepper.vertical .bs-stepper-header .step .step-trigger {
|
||||
padding-block: 0.6rem;
|
||||
padding-inline: 0;
|
||||
}
|
||||
.bs-stepper.vertical .bs-stepper-header .step:first-child .step-trigger {
|
||||
padding-block-start: 0;
|
||||
}
|
||||
.bs-stepper.vertical .bs-stepper-header .step:last-child .step-trigger {
|
||||
padding-block-end: 0;
|
||||
}
|
||||
.bs-stepper.vertical .bs-stepper-header .line {
|
||||
position: relative;
|
||||
min-block-size: 1px;
|
||||
}
|
||||
.bs-stepper.vertical .bs-stepper-content {
|
||||
inline-size: 100%;
|
||||
}
|
||||
.bs-stepper.vertical .bs-stepper-content .content:not(.active) {
|
||||
display: none;
|
||||
}
|
||||
.bs-stepper.vertical.wizard-icons .step {
|
||||
padding-block: 0.75rem;
|
||||
padding-inline: 0;
|
||||
text-align: center;
|
||||
}
|
||||
.bs-stepper.wizard-icons .bs-stepper-header {
|
||||
justify-content: center;
|
||||
}
|
||||
.bs-stepper.wizard-icons .bs-stepper-header .step .step-trigger {
|
||||
flex-direction: column;
|
||||
padding: 1.25rem;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
.bs-stepper.wizard-icons .bs-stepper-header .step .step-trigger .bs-stepper-icon svg {
|
||||
block-size: 3.75rem;
|
||||
fill: var(--bs-heading-color);
|
||||
inline-size: 3.75rem;
|
||||
}
|
||||
.bs-stepper.wizard-icons .bs-stepper-header .step .step-trigger .bs-stepper-icon .icon-base {
|
||||
fill: var(--bs-heading-color);
|
||||
font-size: 1.6rem;
|
||||
}
|
||||
.bs-stepper.wizard-icons .bs-stepper-header .step.active .step-trigger .bs-stepper-icon svg {
|
||||
fill: var(--bs-primary);
|
||||
}
|
||||
.bs-stepper.wizard-icons .bs-stepper-header .step.active .step-trigger .bs-stepper-label,
|
||||
.bs-stepper.wizard-icons .bs-stepper-header .step.active .step-trigger .bs-stepper-icon .icon-base {
|
||||
color: var(--bs-primary);
|
||||
}
|
||||
@media (min-width: 992px) {
|
||||
.bs-stepper.wizard-icons .bs-stepper-header {
|
||||
justify-content: space-around;
|
||||
gap: 1rem;
|
||||
}
|
||||
}
|
||||
.bs-stepper.wizard-icons .step.crossed .step-trigger .bs-stepper-label {
|
||||
color: var(--bs-primary);
|
||||
}
|
||||
.bs-stepper.wizard-icons .step.crossed .step-trigger .bs-stepper-icon svg {
|
||||
fill: var(--bs-primary);
|
||||
}
|
||||
.bs-stepper.wizard-icons .step.crossed .step-trigger .bs-stepper-icon .icon-base {
|
||||
color: var(--bs-primary);
|
||||
}
|
||||
.bs-stepper.wizard-icons .step.crossed + .line .icon-base {
|
||||
color: var(--bs-primary);
|
||||
}
|
||||
.bs-stepper.wizard-modern {
|
||||
background-color: transparent;
|
||||
}
|
||||
.bs-stepper.wizard-modern .bs-stepper-header {
|
||||
border-block-end: none;
|
||||
}
|
||||
.bs-stepper.wizard-modern .bs-stepper-content {
|
||||
border-radius: 0.375rem;
|
||||
background-color: var(--bs-paper-bg);
|
||||
box-shadow: var(--bs-box-shadow);
|
||||
}
|
||||
.bs-stepper:not(.wizard-modern) {
|
||||
box-shadow: var(--bs-box-shadow);
|
||||
}
|
||||
@media (min-width: 992px) {
|
||||
.bs-stepper:not(.vertical):not(.wizard-icons) .bs-stepper-header {
|
||||
gap: 1.25rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* Media Queries */
|
||||
@media (max-width: 991.98px) {
|
||||
.bs-stepper .bs-stepper-header {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
}
|
||||
.bs-stepper .bs-stepper-header .step .step-trigger {
|
||||
flex-direction: row;
|
||||
}
|
||||
.bs-stepper .bs-stepper-header .step .step-trigger .bs-stepper-label {
|
||||
margin-inline-start: 0.35rem;
|
||||
}
|
||||
.bs-stepper .bs-stepper-header .step:first-child .step-trigger {
|
||||
padding-block-start: 0;
|
||||
}
|
||||
.bs-stepper .bs-stepper-header .step:last-child .step-trigger {
|
||||
padding-block-end: 0;
|
||||
}
|
||||
.bs-stepper.vertical {
|
||||
flex-direction: column;
|
||||
}
|
||||
.bs-stepper.vertical .bs-stepper-header {
|
||||
align-items: flex-start;
|
||||
}
|
||||
.bs-stepper.vertical.wizard-icons .bs-stepper-header .line::before {
|
||||
inset-inline-start: 0.75rem;
|
||||
margin-inline-start: 0;
|
||||
}
|
||||
.bs-stepper.wizard-icons .bs-stepper-header .step .step-trigger {
|
||||
flex-direction: row;
|
||||
padding-inline-start: 0;
|
||||
}
|
||||
.bs-stepper:not(.vertical) .bs-stepper-header .line .icon-base {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
/* Styles for Modal example Create App wizard */
|
||||
#wizard-create-app.vertical .bs-stepper-header {
|
||||
min-inline-size: 15rem;
|
||||
}
|
||||
|
||||
@media (max-width: 520px) {
|
||||
/* To set minus margin in mobile screen
|
||||
as that affects border */
|
||||
.bs-stepper-header {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,146 @@
|
||||
/* Waves
|
||||
******************************************************************************* */
|
||||
/*!
|
||||
* Waves v0.7.6
|
||||
* http://fian.my.id/Waves
|
||||
*
|
||||
* Copyright 2014-2018 Alfiana E. Sibuea and other contributors
|
||||
* Released under the MIT license
|
||||
* https://github.com/fians/Waves/blob/master/LICENSE */
|
||||
.waves-effect {
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
.waves-effect .waves-ripple {
|
||||
position: absolute;
|
||||
border-radius: 50%;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
margin-top: -50px;
|
||||
margin-left: -50px;
|
||||
opacity: 0;
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
background: -webkit-radial-gradient(rgba(0, 0, 0, 0.2) 0, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.5) 60%, rgba(255, 255, 255, 0) 70%);
|
||||
background: -o-radial-gradient(rgba(0, 0, 0, 0.2) 0, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.5) 60%, rgba(255, 255, 255, 0) 70%);
|
||||
background: -moz-radial-gradient(rgba(0, 0, 0, 0.2) 0, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.5) 60%, rgba(255, 255, 255, 0) 70%);
|
||||
background: radial-gradient(rgba(0, 0, 0, 0.2) 0, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.5) 60%, rgba(255, 255, 255, 0) 70%);
|
||||
-webkit-transition: all 0.5s ease-out;
|
||||
-moz-transition: all 0.5s ease-out;
|
||||
-o-transition: all 0.5s ease-out;
|
||||
transition: all 0.5s ease-out;
|
||||
-webkit-transition-property: -webkit-transform, opacity;
|
||||
-moz-transition-property: -moz-transform, opacity;
|
||||
-o-transition-property: -o-transform, opacity;
|
||||
transition-property: transform, opacity;
|
||||
-webkit-transform: scale(0) translate(0, 0);
|
||||
-moz-transform: scale(0) translate(0, 0);
|
||||
-ms-transform: scale(0) translate(0, 0);
|
||||
-o-transform: scale(0) translate(0, 0);
|
||||
transform: scale(0) translate(0, 0);
|
||||
pointer-events: none;
|
||||
}
|
||||
.waves-effect.waves-light .waves-ripple {
|
||||
background: rgba(255, 255, 255, 0.4);
|
||||
background: -webkit-radial-gradient(rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0) 70%);
|
||||
background: -o-radial-gradient(rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0) 70%);
|
||||
background: -moz-radial-gradient(rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0) 70%);
|
||||
background: radial-gradient(rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0) 70%);
|
||||
}
|
||||
.waves-effect.waves-classic .waves-ripple {
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
.waves-effect.waves-classic.waves-light .waves-ripple {
|
||||
background: rgba(255, 255, 255, 0.4);
|
||||
}
|
||||
|
||||
.waves-notransition {
|
||||
-webkit-transition: none !important;
|
||||
-moz-transition: none !important;
|
||||
-o-transition: none !important;
|
||||
transition: none !important;
|
||||
}
|
||||
|
||||
.waves-button,
|
||||
.waves-circle {
|
||||
-webkit-transform: translateZ(0);
|
||||
-moz-transform: translateZ(0);
|
||||
-ms-transform: translateZ(0);
|
||||
-o-transform: translateZ(0);
|
||||
transform: translateZ(0);
|
||||
-webkit-mask-image: -webkit-radial-gradient(circle, white 100%, black 100%);
|
||||
}
|
||||
|
||||
.waves-button,
|
||||
.waves-button:hover,
|
||||
.waves-button:visited,
|
||||
.waves-button-input {
|
||||
white-space: nowrap;
|
||||
vertical-align: middle;
|
||||
cursor: pointer;
|
||||
border: none;
|
||||
outline: none;
|
||||
color: inherit;
|
||||
background-color: rgba(0, 0, 0, 0);
|
||||
font-size: 1em;
|
||||
line-height: 1em;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.waves-button {
|
||||
padding: 0.85em 1.1em;
|
||||
border-radius: 0.2em;
|
||||
}
|
||||
|
||||
.waves-button-input {
|
||||
margin: 0;
|
||||
padding: 0.85em 1.1em;
|
||||
}
|
||||
|
||||
.waves-input-wrapper {
|
||||
border-radius: 0.2em;
|
||||
vertical-align: bottom;
|
||||
}
|
||||
.waves-input-wrapper.waves-button {
|
||||
padding: 0;
|
||||
}
|
||||
.waves-input-wrapper .waves-button-input {
|
||||
position: relative;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.waves-circle {
|
||||
text-align: center;
|
||||
width: 2.5em;
|
||||
height: 2.5em;
|
||||
line-height: 2.5em;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.waves-float {
|
||||
-webkit-mask-image: none;
|
||||
-webkit-box-shadow: 0px 1px 1.5px 1px rgba(0, 0, 0, 0.12);
|
||||
box-shadow: 0px 1px 1.5px 1px rgba(0, 0, 0, 0.12);
|
||||
-webkit-transition: all 300ms;
|
||||
-moz-transition: all 300ms;
|
||||
-o-transition: all 300ms;
|
||||
transition: all 300ms;
|
||||
}
|
||||
.waves-float:active {
|
||||
-webkit-box-shadow: 0px 8px 20px 1px rgba(0, 0, 0, 0.3);
|
||||
box-shadow: 0px 8px 20px 1px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.waves-block {
|
||||
display: block;
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,186 @@
|
||||
/* (C) */
|
||||
/*
|
||||
* Container style
|
||||
*/
|
||||
.ps {
|
||||
overflow: hidden !important;
|
||||
overflow-anchor: none;
|
||||
-ms-overflow-style: none;
|
||||
touch-action: auto;
|
||||
-ms-touch-action: auto;
|
||||
}
|
||||
|
||||
/*
|
||||
* Scrollbar rail styles
|
||||
*/
|
||||
.ps__rail-x {
|
||||
display: none;
|
||||
opacity: 0;
|
||||
transition: background-color 0.2s linear, opacity 0.2s linear;
|
||||
-webkit-transition: background-color 0.2s linear, opacity 0.2s linear;
|
||||
height: 15px;
|
||||
/* there must be 'bottom' or 'top' for ps__rail-x */
|
||||
bottom: 0px;
|
||||
/* please don't change 'position' */
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.ps__rail-y {
|
||||
display: none;
|
||||
opacity: 0;
|
||||
transition: background-color 0.2s linear, opacity 0.2s linear;
|
||||
-webkit-transition: background-color 0.2s linear, opacity 0.2s linear;
|
||||
width: 15px;
|
||||
/* there must be 'right' or 'left' for ps__rail-y */
|
||||
right: 0;
|
||||
/* please don't change 'position' */
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.ps--active-x > .ps__rail-x,
|
||||
.ps--active-y > .ps__rail-y {
|
||||
display: block;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.ps:hover > .ps__rail-x,
|
||||
.ps:hover > .ps__rail-y,
|
||||
.ps--focus > .ps__rail-x,
|
||||
.ps--focus > .ps__rail-y,
|
||||
.ps--scrolling-x > .ps__rail-x,
|
||||
.ps--scrolling-y > .ps__rail-y {
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
.ps .ps__rail-x:hover,
|
||||
.ps .ps__rail-y:hover,
|
||||
.ps .ps__rail-x:focus,
|
||||
.ps .ps__rail-y:focus,
|
||||
.ps .ps__rail-x.ps--clicking,
|
||||
.ps .ps__rail-y.ps--clicking {
|
||||
background-color: #eee;
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
/*
|
||||
* Scrollbar thumb styles
|
||||
*/
|
||||
.ps__thumb-x {
|
||||
background-color: #aaa;
|
||||
border-radius: 6px;
|
||||
transition: background-color 0.2s linear, height 0.2s ease-in-out;
|
||||
-webkit-transition: background-color 0.2s linear, height 0.2s ease-in-out;
|
||||
height: 6px;
|
||||
/* there must be 'bottom' for ps__thumb-x */
|
||||
bottom: 2px;
|
||||
/* please don't change 'position' */
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.ps__thumb-y {
|
||||
background-color: #aaa;
|
||||
border-radius: 6px;
|
||||
transition: background-color 0.2s linear, width 0.2s ease-in-out;
|
||||
-webkit-transition: background-color 0.2s linear, width 0.2s ease-in-out;
|
||||
width: 6px;
|
||||
/* there must be 'right' for ps__thumb-y */
|
||||
right: 2px;
|
||||
/* please don't change 'position' */
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.ps__rail-x:hover > .ps__thumb-x,
|
||||
.ps__rail-x:focus > .ps__thumb-x,
|
||||
.ps__rail-x.ps--clicking .ps__thumb-x {
|
||||
background-color: #999;
|
||||
height: 11px;
|
||||
}
|
||||
|
||||
.ps__rail-y:hover > .ps__thumb-y,
|
||||
.ps__rail-y:focus > .ps__thumb-y,
|
||||
.ps__rail-y.ps--clicking .ps__thumb-y {
|
||||
background-color: #999;
|
||||
width: 11px;
|
||||
}
|
||||
|
||||
/* MS supports */
|
||||
@supports (-ms-overflow-style: none) {
|
||||
.ps {
|
||||
overflow: auto !important;
|
||||
}
|
||||
}
|
||||
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
||||
.ps {
|
||||
overflow: auto !important;
|
||||
}
|
||||
}
|
||||
.ps {
|
||||
position: relative;
|
||||
}
|
||||
.ps .ps__rail-x {
|
||||
block-size: 0.25rem;
|
||||
}
|
||||
.ps .ps__rail-y {
|
||||
z-index: 3;
|
||||
inline-size: 0.25rem;
|
||||
}
|
||||
.ps .ps__rail-x,
|
||||
.ps .ps__rail-y,
|
||||
.ps .ps__thumb-x,
|
||||
.ps .ps__thumb-y {
|
||||
border-radius: 50rem;
|
||||
}
|
||||
.ps .ps__rail-x:hover,
|
||||
.ps .ps__rail-x:focus,
|
||||
.ps .ps__rail-x.ps--clicking,
|
||||
.ps .ps__rail-x:hover > .ps__thumb-x,
|
||||
.ps .ps__rail-x:focus > .ps__thumb-x,
|
||||
.ps .ps__rail-x.ps--clicking > .ps__thumb-x {
|
||||
block-size: 0.375rem;
|
||||
}
|
||||
.ps .ps__rail-y:hover,
|
||||
.ps .ps__rail-y:focus,
|
||||
.ps .ps__rail-y.ps--clicking,
|
||||
.ps .ps__rail-y:hover > .ps__thumb-y,
|
||||
.ps .ps__rail-y:focus > .ps__thumb-y,
|
||||
.ps .ps__rail-y.ps--clicking > .ps__thumb-y {
|
||||
inline-size: 0.375rem;
|
||||
}
|
||||
.ps .ps__thumb-x {
|
||||
block-size: 0.25rem;
|
||||
inset-block-end: 0;
|
||||
}
|
||||
.ps .ps__thumb-y {
|
||||
inline-size: 0.25rem;
|
||||
inset-inline-end: 0;
|
||||
}
|
||||
.ps .ps__thumb-x,
|
||||
.ps .ps__thumb-y {
|
||||
background-color: var(--bs-gray-400);
|
||||
}
|
||||
.ps .ps__rail-x:hover,
|
||||
.ps .ps__rail-y:hover,
|
||||
.ps .ps__rail-x:focus,
|
||||
.ps .ps__rail-y:focus,
|
||||
.ps .ps__rail-x.ps--clicking,
|
||||
.ps .ps__rail-y.ps--clicking {
|
||||
background-color: var(--bs-gray-200);
|
||||
}
|
||||
.ps .ps__rail-x:hover > .ps__thumb-x,
|
||||
.ps .ps__rail-y:hover > .ps__thumb-y,
|
||||
.ps .ps__rail-x:focus > .ps__thumb-x,
|
||||
.ps .ps__rail-y:focus > .ps__thumb-y,
|
||||
.ps .ps__rail-x.ps--clicking > .ps__thumb-x,
|
||||
.ps .ps__rail-y.ps--clicking > .ps__thumb-y {
|
||||
background-color: var(--bs-gray-700);
|
||||
}
|
||||
|
||||
/* Firefox width issue fixed */
|
||||
@supports (-moz-appearance: none) {
|
||||
#both-scrollbars-example {
|
||||
margin-block: 0;
|
||||
margin-inline: auto;
|
||||
max-inline-size: 1080px;
|
||||
padding-inline: 0;
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user