- Halaman rekap per bulan / seluruh periode: kelengkapan, hari terisi/belum, tabel laporan per tanggal beserta komentar - Unduh Excel (Ringkasan, Rekap Harian, Detail Laporan) via exceljs - Tata letak cetak A4 untuk simpan PDF dari browser - TZ default Asia/Jakarta agar batas tanggal laporan tidak bergeser di server UTC Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
722 lines
40 KiB
CSS
722 lines
40 KiB
CSS
/* =========================================================
|
|
Logharian — Palet: abu-abu cerah + biru dongker
|
|
(mengikuti MonitoringMahasiswa/Contohwarna.css)
|
|
========================================================= */
|
|
:root {
|
|
--navy-950: #07132a;
|
|
--navy-900: #0b1d3a;
|
|
--navy-800: #11284f;
|
|
--navy-700: #1a3766;
|
|
--navy-600: #244a85;
|
|
--navy-500: #3a63a8;
|
|
--navy-200: #b9c8e2;
|
|
--navy-100: #dde5f2;
|
|
--navy-50: #eef2f9;
|
|
|
|
--white: #ffffff;
|
|
--gray-25: #f9fafb;
|
|
--gray-50: #f3f5f8;
|
|
--gray-100: #eceff4;
|
|
--gray-200: #dfe4eb;
|
|
--gray-300: #c8d0db;
|
|
--gray-400: #9aa5b5;
|
|
--gray-500: #6e7a8d;
|
|
--gray-600: #505b6d;
|
|
--gray-700: #353f50;
|
|
--ink: #0e1a2e;
|
|
|
|
--ok: #15805a;
|
|
--ok-bg: #e3f3eb;
|
|
--warn: #a96400;
|
|
--warn-bg: #fff1d9;
|
|
--danger: #bf3328;
|
|
--danger-bg: #fce8e6;
|
|
--info: #2d5da8;
|
|
--info-bg: #e6edf8;
|
|
|
|
--radius: 16px;
|
|
--radius-sm: 10px;
|
|
--shadow-sm: 0 1px 2px rgba(11, 29, 58, .05), 0 1px 3px rgba(11, 29, 58, .07);
|
|
--shadow: 0 6px 20px rgba(11, 29, 58, .07), 0 1px 3px rgba(11, 29, 58, .06);
|
|
--shadow-lg: 0 24px 60px rgba(7, 19, 42, .22);
|
|
--focus: 0 0 0 4px rgba(58, 99, 168, .15);
|
|
|
|
--font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
|
|
color-scheme: light;
|
|
}
|
|
|
|
* { box-sizing: border-box; }
|
|
html { -webkit-text-size-adjust: 100%; }
|
|
body {
|
|
margin: 0;
|
|
font-family: var(--font);
|
|
font-size: 15px;
|
|
line-height: 1.55;
|
|
color: var(--ink);
|
|
background: var(--gray-50);
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
a { color: var(--navy-600); text-decoration: none; }
|
|
a:hover { text-decoration: underline; }
|
|
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -.015em; }
|
|
h1 { font-size: 26px; font-weight: 800; margin-bottom: 6px; }
|
|
h2 { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
|
|
p { margin: 0 0 6px; }
|
|
.muted { color: var(--gray-500); }
|
|
.small { font-size: 13px; }
|
|
img { max-width: 100%; }
|
|
:focus-visible { outline: 2px solid var(--navy-500); outline-offset: 2px; }
|
|
|
|
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
|
|
.main { padding-top: 32px; padding-bottom: 64px; }
|
|
@media (max-width: 720px) { .wrap { padding: 0 16px; } .main { padding-top: 20px; } }
|
|
|
|
/* ---------- Top bar (gelap) ---------- */
|
|
html, body { overflow-x: clip; }
|
|
.topbar {
|
|
position: sticky; top: 0; z-index: 40;
|
|
background: var(--navy-950);
|
|
border-bottom: 1px solid rgba(255, 255, 255, .08);
|
|
box-shadow: 0 1px 0 rgba(7, 19, 42, .4);
|
|
}
|
|
.topbar-inner { display: flex; align-items: center; gap: 28px; min-height: 66px; flex-wrap: wrap; }
|
|
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 17px; letter-spacing: -.02em; }
|
|
.brand:hover { text-decoration: none; color: #fff; }
|
|
.brand-logo {
|
|
width: 38px; height: 38px; border-radius: 10px; flex: none; object-fit: contain;
|
|
background: #fff; padding: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .15);
|
|
}
|
|
.nav { display: flex; gap: 4px; flex: 1; overflow-x: auto; }
|
|
.nav a {
|
|
position: relative; font-size: 14px; font-weight: 600; color: var(--navy-200);
|
|
padding: 8px 14px; border-radius: 10px; white-space: nowrap; transition: background .15s, color .15s;
|
|
}
|
|
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); text-decoration: none; }
|
|
.nav a.active { color: #fff; background: rgba(255, 255, 255, .12); }
|
|
.nav a.active::after {
|
|
content: ''; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px;
|
|
border-radius: 2px; background: #ffb547;
|
|
}
|
|
.who { display: flex; align-items: center; gap: 10px; }
|
|
.who form { margin: 0; }
|
|
.who-name { font-size: 14px; font-weight: 600; color: #fff; }
|
|
.who .btn-ghost { --fg: var(--navy-200); }
|
|
.who .btn-ghost:hover { --bg: rgba(255, 255, 255, .08); --fg: #fff; }
|
|
.avatar {
|
|
width: 34px; height: 34px; border-radius: 10px; flex: none;
|
|
display: grid; place-items: center; font-weight: 800; font-size: 12.5px;
|
|
background: linear-gradient(145deg, var(--navy-500), var(--navy-700)); color: #fff;
|
|
box-shadow: 0 0 0 1px rgba(255, 255, 255, .15);
|
|
}
|
|
@media (max-width: 720px) {
|
|
.topbar-inner { gap: 8px; padding-top: 10px; padding-bottom: 8px; }
|
|
.nav { order: 3; flex-basis: 100%; }
|
|
.who { margin-left: auto; }
|
|
.who-name { display: none; }
|
|
}
|
|
|
|
/* ---------- Pita judul halaman ---------- */
|
|
.page-hero {
|
|
position: relative; isolation: isolate; color: #fff;
|
|
margin: -32px 0 24px; padding: 28px 0 30px;
|
|
}
|
|
.page-hero::before {
|
|
content: ''; position: absolute; z-index: -2; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw);
|
|
background:
|
|
radial-gradient(700px 300px at 85% 0%, rgba(58, 99, 168, .35), transparent 70%),
|
|
linear-gradient(180deg, var(--navy-900), var(--navy-800));
|
|
}
|
|
.page-hero::after {
|
|
content: ''; position: absolute; z-index: -1; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw);
|
|
background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px);
|
|
background-size: 22px 22px;
|
|
mask-image: linear-gradient(90deg, transparent 35%, #000 85%);
|
|
-webkit-mask-image: linear-gradient(90deg, transparent 35%, #000 85%);
|
|
}
|
|
.page-hero .page-head { margin-bottom: 0; align-items: flex-end; }
|
|
.page-hero h1 { color: #fff; font-size: 28px; margin: 4px 0 6px; }
|
|
.page-hero .eyebrow { color: #ffb547; margin: 0; }
|
|
.page-hero .sub { color: #c7d3e8; margin: 0; }
|
|
.page-hero .muted { color: #c7d3e8; }
|
|
.page-hero strong { color: #fff; }
|
|
.page-hero .crumbs { color: var(--navy-200); margin-bottom: 14px; }
|
|
.page-hero .crumbs a { color: var(--navy-200); }
|
|
.page-hero .crumbs a:hover { color: #fff; }
|
|
.page-hero .crumbs span { color: #fff; }
|
|
.page-hero .btn { --bg: rgba(255, 255, 255, .06); --fg: #fff; --bd: rgba(255, 255, 255, .28); }
|
|
.page-hero .btn:hover { --bg: rgba(255, 255, 255, .12); border-color: #fff; }
|
|
.page-hero .btn-primary { --bg: #fff; --fg: var(--navy-900); --bd: #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, .2); }
|
|
.page-hero .btn-primary:hover { --bg: var(--navy-50); border-color: var(--navy-50); }
|
|
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
|
|
.hero-facts > span {
|
|
display: flex; flex-direction: column; padding: 8px 14px; border-radius: 12px;
|
|
background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); min-width: 0;
|
|
}
|
|
.hero-facts small { font-size: 11.5px; font-weight: 600; color: var(--navy-200); }
|
|
.hero-facts strong { font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
|
|
@media (max-width: 720px) {
|
|
.page-hero { margin-top: -20px; padding: 22px 0 24px; }
|
|
.page-hero h1 { font-size: 23px; }
|
|
}
|
|
|
|
/* ---------- Cards & layout ---------- */
|
|
.card {
|
|
background: var(--white);
|
|
border: 1px solid var(--gray-200);
|
|
border-radius: var(--radius);
|
|
box-shadow: var(--shadow-sm);
|
|
padding: 24px;
|
|
margin-bottom: 20px;
|
|
}
|
|
@media (max-width: 720px) { .card { padding: 18px; } }
|
|
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
|
|
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-start; }
|
|
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-600); margin-bottom: 6px; }
|
|
.crumbs { font-size: 13px; color: var(--gray-500); margin-bottom: 10px; font-weight: 600; }
|
|
.crumbs a { color: var(--gray-500); }
|
|
.crumbs a:hover { color: var(--navy-700); }
|
|
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
|
|
.grid-2.tight { gap: 14px; }
|
|
.grid-dash { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; align-items: start; }
|
|
@media (max-width: 860px) { .grid-dash, .grid-2 { grid-template-columns: 1fr; } }
|
|
.stack { display: flex; flex-direction: column; gap: 18px; }
|
|
.form-narrow { max-width: 700px; }
|
|
/* Halaman form diletakkan di tengah */
|
|
.form-page { max-width: 700px; margin: 0 auto; }
|
|
.form-page .form-narrow { margin-left: auto; margin-right: auto; }
|
|
|
|
/* ---------- Tiles (statistik) ---------- */
|
|
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
|
|
.stat { display: flex; flex-direction: column; padding: 18px 20px; margin: 0; }
|
|
.stat-num { font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
|
|
.stat-label { font-size: 12.5px; color: var(--gray-500); font-weight: 600; margin-top: 6px; }
|
|
.stat.dark { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
|
|
.stat.dark .stat-label { color: var(--navy-200); }
|
|
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
|
|
|
|
/* ---------- Buttons ---------- */
|
|
.btn {
|
|
--bg: var(--white); --fg: var(--navy-900); --bd: var(--gray-300);
|
|
display: inline-flex; align-items: center; justify-content: center; gap: 8px;
|
|
font: inherit; font-weight: 700; font-size: 14px;
|
|
padding: 10px 18px; border-radius: 12px; cursor: pointer;
|
|
background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
|
|
transition: transform .08s, background .15s, box-shadow .15s, border-color .15s;
|
|
white-space: nowrap; text-decoration: none !important;
|
|
}
|
|
.btn:hover { border-color: var(--navy-500); color: var(--fg); }
|
|
.btn:active { transform: translateY(1px); }
|
|
.btn-primary { --bg: var(--navy-800); --fg: #fff; --bd: var(--navy-800); box-shadow: 0 6px 16px rgba(17, 40, 79, .22); }
|
|
.btn-primary:hover { --bg: var(--navy-700); border-color: var(--navy-700); }
|
|
.btn-ghost { --bg: transparent; --bd: transparent; --fg: var(--navy-700); }
|
|
.btn-ghost:hover { --bg: var(--navy-50); border-color: transparent; }
|
|
.btn-danger { --bg: var(--danger); --fg: #fff; --bd: var(--danger); }
|
|
.btn-danger:hover { --bg: #a52a20; border-color: #a52a20; }
|
|
.btn-danger-ghost { --bg: var(--white); --fg: var(--danger); --bd: #efc1bc; }
|
|
.btn-danger-ghost:hover { --bg: var(--danger-bg); border-color: var(--danger); }
|
|
.btn-sm { padding: 7px 12px; font-size: 13px; border-radius: 10px; }
|
|
.btn-block { width: 100%; }
|
|
.btn-link { background: none; border: 0; padding: 0; font: inherit; color: var(--navy-600); font-weight: 700; cursor: pointer; }
|
|
.btn-link:hover { text-decoration: underline; }
|
|
@media (max-width: 720px) { .btn { min-height: 44px; } .btn-sm { min-height: 36px; } }
|
|
|
|
/* ---------- Forms ---------- */
|
|
.field { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
|
|
label, legend { font-size: 13px; font-weight: 700; color: var(--gray-700); padding: 0; }
|
|
.opt { font-weight: 500; color: var(--gray-500); }
|
|
input[type=text], input:not([type]), input[type=password], input[type=date], input[type=search], input[type=file],
|
|
select, textarea {
|
|
font: inherit; color: var(--ink); width: 100%;
|
|
padding: 11px 14px; border-radius: 12px;
|
|
border: 1px solid var(--gray-300); background: var(--white);
|
|
transition: border-color .15s, box-shadow .15s;
|
|
}
|
|
input[type=file] { padding: 9px 12px; background: var(--gray-25); }
|
|
textarea { resize: vertical; min-height: 84px; }
|
|
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy-500); box-shadow: var(--focus); }
|
|
[aria-invalid=true] { border-color: var(--danger); }
|
|
.hint { font-size: 12px; color: var(--gray-500); }
|
|
.err { font-size: 13px; font-weight: 600; color: var(--danger); }
|
|
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; font-weight: 500; color: var(--ink); cursor: pointer; }
|
|
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--navy-700); flex: none; }
|
|
.check-list { display: grid; gap: 10px; max-height: 260px; overflow-y: auto; padding: 12px 14px; border: 1px solid var(--gray-200); border-radius: 12px; background: var(--gray-25); }
|
|
.form-actions { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 4px; }
|
|
.radio-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
|
|
@media (max-width: 600px) { .radio-cards { grid-template-columns: 1fr; } }
|
|
.radio-card { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border: 2px solid var(--gray-200); border-radius: 14px; cursor: pointer; font-weight: 500; background: #fff; transition: .12s; }
|
|
.radio-card:hover { border-color: var(--navy-500); background: var(--navy-50); }
|
|
.radio-card span { display: flex; flex-direction: column; color: var(--ink); }
|
|
.radio-card:has(input:checked) { border-color: var(--navy-800); background: var(--navy-50); }
|
|
.radio-card input { margin-top: 3px; accent-color: var(--navy-800); }
|
|
|
|
.filters { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; padding: 18px 20px; }
|
|
.filters .field { min-width: 160px; }
|
|
.filters .grow { flex: 1; min-width: 200px; }
|
|
.filter-actions { display: flex; gap: 8px; }
|
|
|
|
/* ---------- Notice & chip ---------- */
|
|
.alert {
|
|
padding: 14px 16px; border-radius: 12px; font-size: 14px; margin-bottom: 18px;
|
|
background: var(--gray-50); border: 1px solid var(--gray-200); color: var(--gray-700);
|
|
}
|
|
.alert-success { background: var(--ok-bg); border-color: #bfe3d0; color: #0f5d41; }
|
|
.alert-error { background: var(--danger-bg); border-color: #f2c3be; color: #8d2219; }
|
|
.alert-info { background: var(--info-bg); border-color: #c9d7ee; color: var(--navy-800); }
|
|
|
|
.badge {
|
|
display: inline-flex; align-items: center; gap: 6px;
|
|
font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px;
|
|
background: var(--gray-100); color: var(--gray-600); white-space: nowrap;
|
|
}
|
|
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
|
|
.role-admin { background: var(--navy-800); color: #fff; }
|
|
.role-dosen { background: var(--info-bg); color: var(--info); }
|
|
.role-ketua { background: var(--warn-bg); color: var(--warn); }
|
|
.badge-ok { background: var(--ok-bg); color: var(--ok); }
|
|
.badge-off { background: var(--gray-100); color: var(--gray-500); }
|
|
|
|
/* ---------- Daftar kegiatan ---------- */
|
|
.keg-list, .log-list, .comments { list-style: none; margin: 0; padding: 0; }
|
|
.keg-list { display: grid; gap: 10px; }
|
|
.keg-item {
|
|
display: flex; align-items: center; justify-content: space-between; gap: 12px;
|
|
padding: 14px 16px; border-radius: 12px; background: var(--gray-25); border: 1px solid var(--gray-100);
|
|
}
|
|
.keg-main { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
|
|
.keg-name { font-weight: 700; color: var(--ink); }
|
|
.keg-name:hover { color: var(--navy-600); }
|
|
|
|
/* ---------- Daftar log ---------- */
|
|
.log-list li + li { border-top: 1px solid var(--gray-100); }
|
|
.log-item { display: flex; gap: 14px; padding: 14px 0; color: inherit; align-items: center; }
|
|
.log-item:hover { text-decoration: none; }
|
|
.log-list li:first-child .log-item { padding-top: 0; }
|
|
.log-list li:last-child .log-item { padding-bottom: 0; }
|
|
.log-item:hover .log-title { color: var(--navy-600); }
|
|
.log-thumb { width: 64px; height: 64px; flex: none; border-radius: 12px; object-fit: cover; border: 1px solid var(--gray-200); }
|
|
.log-thumb-empty { display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--navy-700); background: var(--navy-50); border-color: var(--navy-100); }
|
|
.log-body { display: flex; flex-direction: column; min-width: 0; gap: 3px; }
|
|
.log-meta { font-size: 12.5px; color: var(--gray-500); font-weight: 600; display: flex; gap: 4px; flex-wrap: wrap; }
|
|
.log-title { font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
|
|
.log-stats { font-size: 12.5px; color: var(--gray-500); display: flex; gap: 12px; font-weight: 600; }
|
|
.has-comments { color: var(--info); }
|
|
|
|
/* ---------- Detail log ---------- */
|
|
.prose { white-space: pre-wrap; overflow-wrap: anywhere; max-width: 72ch; color: var(--gray-700); }
|
|
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-top: 22px; }
|
|
.gallery a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--gray-200); transition: box-shadow .15s, border-color .15s; }
|
|
.gallery a:hover { border-color: var(--navy-500); box-shadow: var(--shadow); }
|
|
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
|
|
.img-preview, .img-edit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
|
|
.img-preview img, .img-edit img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 1px solid var(--gray-200); display: block; }
|
|
.img-edit { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 13px; }
|
|
.img-edit span { display: flex; align-items: center; gap: 6px; }
|
|
.img-edit input { accent-color: var(--danger); }
|
|
.img-edit:has(input:checked) img { opacity: .35; border-color: var(--danger); }
|
|
|
|
.comments { display: grid; gap: 12px; margin-bottom: 20px; }
|
|
.comment { padding: 14px 16px; border-radius: 12px; background: var(--gray-25); border: 1px solid var(--gray-100); }
|
|
.comment-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
|
|
.comment-del { margin: 0 0 0 auto; }
|
|
.comment-del .btn-link { color: var(--gray-500); font-weight: 600; }
|
|
.comment-del .btn-link:hover { color: var(--danger); }
|
|
|
|
/* ---------- Konfirmasi hapus ---------- */
|
|
.danger-zone { position: relative; }
|
|
.danger-zone summary { list-style: none; }
|
|
.danger-zone summary::-webkit-details-marker { display: none; }
|
|
.danger-pop { margin-top: 8px; padding: 14px 16px; border: 1px solid #f2c3be; border-radius: 12px; background: var(--danger-bg); color: #8d2219; max-width: 360px; font-size: 14px; }
|
|
.danger-pop p { margin-bottom: 10px; }
|
|
.danger-card { border-color: #f2c3be; }
|
|
.danger-card h2 { color: var(--danger); }
|
|
|
|
/* ---------- Tabel ---------- */
|
|
.table-wrap { overflow-x: auto; padding: 0; }
|
|
.table-wrap > p, .table-wrap > .empty-inline { padding: 24px; }
|
|
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
|
|
.table th {
|
|
text-align: left; font-size: 12px; font-weight: 700; color: var(--gray-500);
|
|
text-transform: uppercase; letter-spacing: .06em; padding: 12px 16px;
|
|
background: var(--gray-25); border-bottom: 1px solid var(--gray-200); white-space: nowrap;
|
|
}
|
|
.table td { padding: 14px 16px; border-bottom: 1px solid var(--gray-100); vertical-align: middle; }
|
|
.table td a { color: var(--ink); }
|
|
.table td a:hover { color: var(--navy-600); }
|
|
.table tr:last-child td { border-bottom: 0; }
|
|
.row-actions { text-align: right; white-space: nowrap; }
|
|
.row-off td { color: var(--gray-400); }
|
|
@media (max-width: 720px) {
|
|
.table thead { display: none; }
|
|
.table, .table tbody, .table tr, .table td { display: block; width: 100%; }
|
|
.table tr { padding: 14px 16px; border-bottom: 1px solid var(--gray-100); }
|
|
.table tr:last-child { border-bottom: 0; }
|
|
.table td { border: 0; padding: 2px 0; }
|
|
.table td[data-label]::before { content: attr(data-label) ": "; color: var(--gray-500); font-size: 12px; font-weight: 600; }
|
|
.row-actions { text-align: left; padding-top: 10px !important; }
|
|
}
|
|
|
|
/* ---------- Lain-lain ---------- */
|
|
.dl { display: grid; grid-template-columns: 120px 1fr; gap: 10px 16px; margin: 0 0 14px; font-size: 14px; }
|
|
.dl dt { color: var(--gray-500); }
|
|
.dl dd { margin: 0; font-weight: 600; }
|
|
.empty { text-align: center; padding: 56px 24px; }
|
|
.empty p { color: var(--gray-500); margin-bottom: 18px; }
|
|
.empty-inline { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; color: var(--gray-500); font-size: 14px; }
|
|
.pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--gray-100); }
|
|
|
|
/* ---------- Login ---------- */
|
|
.login { min-height: calc(100vh - 96px); display: grid; place-items: center; }
|
|
.auth { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; padding: 0; width: 100%; max-width: 900px; margin: 0; }
|
|
.auth-side {
|
|
background: linear-gradient(165deg, var(--navy-800), var(--navy-950)); color: #fff;
|
|
padding: 40px; display: flex; flex-direction: column;
|
|
}
|
|
.auth-side .eyebrow { color: var(--navy-200); margin: 0; }
|
|
.auth-brand { display: flex; align-items: center; gap: 12px; }
|
|
.auth-brand img { width: 48px; height: 48px; border-radius: 12px; background: #fff; padding: 3px; object-fit: contain; }
|
|
.auth-side h1 { font-size: 30px; font-weight: 800; margin: 8px 0 12px; }
|
|
.auth-side p { color: #c7d3e8; }
|
|
.auth-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
|
|
.auth-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: #dbe4f3; }
|
|
.auth-list li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #ffb547; margin-top: 7px; flex: none; }
|
|
.auth-form { padding: 40px; }
|
|
.auth-form h2 { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
|
|
@media (max-width: 760px) {
|
|
.auth { grid-template-columns: 1fr; }
|
|
.auth-side, .auth-form { padding: 28px 22px; }
|
|
.auth-list { display: none; }
|
|
}
|
|
|
|
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
|
|
svg.ic { width: 13px; height: 13px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
|
|
.badge-danger { background: var(--danger-bg); color: var(--danger); }
|
|
.badge-warn { background: var(--warn-bg); color: var(--warn); }
|
|
.badge-info { background: var(--info-bg); color: var(--info); }
|
|
|
|
/* =========================================================
|
|
DASBOR OPERATOR
|
|
========================================================= */
|
|
.admin-dash { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
|
|
@media (max-width: 960px) { .admin-dash { grid-template-columns: 1fr; } }
|
|
.panel-main { padding: 24px; min-height: 420px; }
|
|
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
|
|
.panel-head h2 { margin: 0; font-size: 18px; font-weight: 800; }
|
|
|
|
.keg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
|
|
.keg-card {
|
|
display: flex; flex-direction: column; gap: 12px; color: var(--ink);
|
|
background: #fff; border: 1px solid var(--gray-200); border-radius: 16px; padding: 20px;
|
|
box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s, transform .15s;
|
|
}
|
|
.keg-card:hover { text-decoration: none; border-color: var(--navy-500); box-shadow: var(--shadow); transform: translateY(-1px); }
|
|
.keg-card-top { display: flex; gap: 6px; flex-wrap: wrap; }
|
|
.keg-card-title { font-size: 17px; font-weight: 800; letter-spacing: -.015em; }
|
|
.keg-card:hover .keg-card-title { color: var(--navy-600); }
|
|
.keg-card-dl { display: grid; grid-template-columns: 64px 1fr; gap: 4px 10px; margin: 0; font-size: 13px; }
|
|
.keg-card-dl dt { color: var(--gray-500); font-weight: 600; }
|
|
.keg-card-dl dd { margin: 0; color: var(--gray-700); overflow-wrap: anywhere; }
|
|
.keg-progress-label { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--gray-600); font-weight: 600; }
|
|
.progress { height: 6px; border-radius: 99px; background: var(--gray-100); overflow: hidden; margin-top: 6px; }
|
|
.progress i { display: block; height: 100%; background: var(--navy-700); border-radius: 99px; }
|
|
.keg-card-foot { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--gray-200); display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
|
|
.keg-card-cta { font-size: 13px; font-weight: 700; color: var(--navy-700); transition: transform .15s; }
|
|
.keg-card:hover .keg-card-cta { color: var(--navy-600); transform: translateX(2px); }
|
|
|
|
.panel-side { padding: 18px; position: sticky; top: 86px; }
|
|
.panel-side h2 { font-size: 14px; margin-bottom: 10px; }
|
|
.mini-logs { list-style: none; margin: 0; padding: 0; max-height: 70vh; overflow-y: auto; }
|
|
.mini-logs li + li { border-top: 1px solid var(--gray-100); }
|
|
.mini-logs a { display: flex; flex-direction: column; gap: 1px; padding: 9px 4px; border-radius: 8px; color: var(--ink); }
|
|
.mini-logs a:hover { text-decoration: none; background: var(--gray-25); }
|
|
.mini-meta { font-size: 11.5px; color: var(--gray-500); font-weight: 600; }
|
|
.mini-title { font-size: 13px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
|
|
.mini-keg { font-size: 12px; color: var(--navy-600); font-weight: 600; }
|
|
@media (max-width: 960px) { .panel-side { position: static; } }
|
|
|
|
/* =========================================================
|
|
KALENDER KEGIATAN
|
|
========================================================= */
|
|
.cal-card { padding: 20px; }
|
|
.cal-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
|
|
.cal-nav { display: flex; align-items: center; gap: 8px; }
|
|
.cal-nav .btn-sm { min-width: 36px; font-size: 16px; }
|
|
.cal-title { margin: 0 6px; font-size: 20px; font-weight: 800; min-width: 160px; text-align: center; }
|
|
.cal-summary { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
|
|
|
|
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
|
|
.cal-dow { font-size: 12px; font-weight: 700; color: var(--gray-500); text-transform: uppercase; letter-spacing: .06em; text-align: center; padding: 4px 0; }
|
|
.cal-day {
|
|
position: relative; display: flex; flex-direction: column; gap: 4px;
|
|
min-height: 96px; padding: 10px; border-radius: 12px; border: 1px solid var(--gray-200);
|
|
background: #fff; color: var(--ink); font-size: 12px;
|
|
}
|
|
a.cal-day { cursor: pointer; transition: transform .1s, box-shadow .15s, border-color .15s; }
|
|
a.cal-day:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow); border-color: var(--navy-500); }
|
|
.cal-num { font-size: 15px; font-weight: 800; line-height: 1; }
|
|
.cal-info { font-weight: 700; }
|
|
.cal-meta { display: flex; gap: 8px; margin-top: auto; color: inherit; opacity: .85; font-weight: 600; }
|
|
.cal-meta span { display: inline-flex; align-items: center; gap: 3px; }
|
|
|
|
.st-filled { background: var(--ok-bg); border-color: #bfe3d0; color: #0f5d41; }
|
|
.st-missing { background: var(--danger-bg); border-color: #f2c3be; color: #8d2219; }
|
|
.st-today { background: var(--warn-bg); border-color: #f2d7a6; color: #7a4a00; }
|
|
.st-future { background: #fff; color: var(--gray-400); }
|
|
.st-outside { background: var(--gray-50); border-style: dashed; color: var(--gray-400); }
|
|
.cal-day.other { opacity: .45; }
|
|
.cal-day.is-today { box-shadow: 0 0 0 2px var(--navy-800); }
|
|
.cal-day.is-today .cal-num::after { content: 'Hari ini'; margin-left: 6px; font-size: 10.5px; font-weight: 700; color: var(--navy-800); letter-spacing: .02em; }
|
|
.cal-day.is-today.st-today .cal-info { display: none; }
|
|
|
|
.cal-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; font-size: 12.5px; color: var(--gray-600); font-weight: 600; }
|
|
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
|
|
.lg { display: inline-block; width: 14px; height: 14px; border-radius: 4px; border: 1px solid var(--gray-300); }
|
|
.lg-filled { background: var(--ok-bg); border-color: #8fcfae; }
|
|
.lg-missing { background: var(--danger-bg); border-color: #eaa9a2; }
|
|
.lg-today { background: var(--warn-bg); border-color: #f0c98a; }
|
|
.lg-future { background: #fff; }
|
|
|
|
@media (max-width: 720px) {
|
|
.cal { gap: 4px; }
|
|
.cal-day { min-height: 54px; padding: 6px; border-radius: 8px; align-items: center; }
|
|
.cal-info, .cal-meta, .cal-day.is-today .cal-num::after { display: none; }
|
|
.cal-num { font-size: 14px; }
|
|
.cal-title { font-size: 17px; min-width: 0; }
|
|
}
|
|
|
|
/* ---------- Popup laporan harian ---------- */
|
|
.day-dialog {
|
|
width: min(720px, calc(100vw - 32px)); max-height: 90vh; padding: 0;
|
|
border: 0; border-radius: 20px; background: var(--gray-50); color: var(--ink);
|
|
box-shadow: var(--shadow-lg); overflow: hidden;
|
|
}
|
|
.day-dialog[open] { display: flex; flex-direction: column; animation: rise .18s ease-out; }
|
|
.day-dialog::backdrop { background: rgba(7, 19, 42, .6); backdrop-filter: blur(3px); }
|
|
@keyframes rise { from { transform: translateY(10px); opacity: 0; } }
|
|
.dlg-close {
|
|
position: absolute; top: 18px; right: 18px; z-index: 2;
|
|
width: 36px; height: 36px; border-radius: 10px; cursor: pointer;
|
|
background: #fff; color: var(--navy-800); border: 1px solid var(--gray-200);
|
|
box-shadow: 0 4px 12px rgba(7, 19, 42, .25);
|
|
font-size: 14px; font-weight: 700; display: grid; place-items: center;
|
|
}
|
|
.dlg-close:hover { background: var(--navy-50); border-color: var(--navy-500); }
|
|
.dlg-body { overflow-y: auto; min-height: 160px; }
|
|
.dlg-loading { padding: 64px 24px; text-align: center; }
|
|
|
|
/* Kepala popup: pita biru dongker */
|
|
.day-head {
|
|
position: relative; overflow: hidden;
|
|
background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); color: #fff;
|
|
padding: 24px 72px 22px 24px;
|
|
}
|
|
.day-head::after {
|
|
content: ''; position: absolute; right: -50px; top: -60px; width: 200px; height: 200px;
|
|
border-radius: 50%; border: 30px solid rgba(255, 255, 255, .05); pointer-events: none;
|
|
}
|
|
.day-head-keg { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-200); }
|
|
.day-head h2 { font-size: 22px; font-weight: 800; margin: 6px 0 12px; color: #fff; }
|
|
.day-head-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; color: #c7d3e8; }
|
|
.day-body { padding: 20px 24px 24px; }
|
|
.day-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; border-radius: 14px; background: #fff; border: 1px dashed var(--gray-300); color: var(--gray-600); }
|
|
|
|
/* Nomor laporan */
|
|
.day-num {
|
|
width: 28px; height: 28px; border-radius: 9px; flex: none;
|
|
display: grid; place-items: center; font-size: 13px; font-weight: 800;
|
|
background: var(--navy-800); color: #fff;
|
|
}
|
|
|
|
/* Daftar lompat */
|
|
.day-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; margin-bottom: 18px; }
|
|
.day-index a {
|
|
display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px;
|
|
background: #fff; border: 1px solid var(--gray-200); color: var(--ink);
|
|
transition: border-color .15s;
|
|
}
|
|
.day-index a:hover { text-decoration: none; border-color: var(--navy-500); }
|
|
.day-index-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
|
|
.day-index-time { font-size: 11.5px; font-weight: 600; color: var(--gray-500); font-variant-numeric: tabular-nums; }
|
|
.day-index-title { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
|
|
/* Kartu laporan */
|
|
.day-log {
|
|
scroll-margin-top: 16px; background: #fff; border: 1px solid var(--gray-200);
|
|
border-radius: 14px; overflow: hidden;
|
|
}
|
|
.day-log + .day-log { margin-top: 16px; }
|
|
.day-log:target { box-shadow: 0 0 0 3px rgba(58, 99, 168, .35); }
|
|
.day-log-head {
|
|
display: flex; align-items: center; gap: 12px; padding: 14px 16px;
|
|
background: var(--navy-50); border-bottom: 1px solid var(--navy-100); color: var(--ink);
|
|
transition: background .15s;
|
|
}
|
|
.day-log-head:hover { text-decoration: none; background: var(--navy-100); }
|
|
.day-log-titles { display: flex; flex-direction: column; min-width: 0; flex: 1; }
|
|
.day-log-time { font-size: 12px; font-weight: 600; color: var(--navy-600); }
|
|
.day-log-title { font-size: 16px; font-weight: 800; letter-spacing: -.01em; overflow-wrap: anywhere; }
|
|
.day-log-head:hover .day-log-title { text-decoration: underline; text-decoration-color: var(--navy-200); text-underline-offset: 3px; }
|
|
.day-log-open { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--navy-700); white-space: nowrap; }
|
|
.day-log-open .ic { width: 15px; height: 15px; transition: transform .15s; }
|
|
.day-log-head:hover .day-log-open .ic { transform: translateX(3px); }
|
|
|
|
.day-log-body { padding: 16px; }
|
|
.day-desc { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--gray-700); }
|
|
.day-desc.clamp {
|
|
display: -webkit-box; -webkit-line-clamp: 4; line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
|
|
}
|
|
.day-more { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 700; }
|
|
|
|
.day-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
|
|
.day-gallery a { position: relative; display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--gray-200); }
|
|
.day-gallery a:hover { border-color: var(--navy-500); }
|
|
.day-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
|
|
.more-overlay { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(7, 19, 42, .6); color: #fff; font-size: 18px; font-weight: 800; }
|
|
|
|
.day-stats { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; font-size: 12.5px; font-weight: 600; color: var(--gray-500); }
|
|
.day-stats span { display: inline-flex; align-items: center; gap: 5px; }
|
|
|
|
.day-comments { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--gray-200); }
|
|
.day-comments summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--navy-700); list-style: none; display: inline-flex; align-items: center; gap: 6px; }
|
|
.day-comments summary::-webkit-details-marker { display: none; }
|
|
.day-comments summary::before { content: '▸'; font-size: 11px; transition: transform .15s; }
|
|
.day-comments[open] summary::before { transform: rotate(90deg); }
|
|
.day-comments[open] summary { margin-bottom: 10px; }
|
|
.day-comments .comments { margin: 0 0 12px; gap: 8px; }
|
|
.day-comments .day-more { margin: 0 0 10px; }
|
|
.comment-form { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
|
|
.comment-form textarea { min-height: 60px; }
|
|
|
|
.day-edit { margin-left: auto; font-weight: 700; }
|
|
|
|
/* Versi halaman penuh (tanpa JavaScript) */
|
|
.day-page { padding: 0; overflow: hidden; background: var(--gray-50); }
|
|
|
|
@media (max-width: 600px) {
|
|
.day-dialog { width: 100vw; max-width: 100vw; max-height: 92vh; margin: auto 0 0; border-radius: 20px 20px 0 0; }
|
|
.day-head { padding: 20px 60px 18px 16px; }
|
|
.day-head h2 { font-size: 19px; }
|
|
.day-body { padding: 16px; }
|
|
.day-log-open { font-size: 0; gap: 0; }
|
|
.day-log-open .ic { width: 18px; height: 18px; }
|
|
.day-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
}
|
|
|
|
/* =========================================================
|
|
KOMPONEN TAMBAHAN
|
|
========================================================= */
|
|
.mt { margin-top: 24px; }
|
|
.field-label { font-size: 13px; font-weight: 700; color: var(--gray-700); }
|
|
.cal-hint { margin-top: -4px; }
|
|
|
|
/* Tanggal terpilih di form laporan */
|
|
.date-chip {
|
|
display: flex; align-items: center; gap: 14px; padding: 14px 16px;
|
|
border-radius: 14px; background: var(--navy-50); border: 1px solid var(--navy-100);
|
|
}
|
|
.date-chip-icon {
|
|
width: 48px; height: 52px; border-radius: 12px; flex: none; overflow: hidden;
|
|
display: flex; flex-direction: column; background: #fff; border: 1px solid var(--navy-100);
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
.date-chip-icon::before { content: ''; height: 12px; background: var(--navy-800); flex: none; }
|
|
.date-chip-icon span { flex: 1; display: grid; place-items: center; font-size: 19px; font-weight: 800; color: var(--navy-900); }
|
|
.date-chip-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
|
|
.date-chip-text small { font-size: 12px; font-weight: 600; color: var(--navy-600); }
|
|
.date-chip-text strong { font-size: 16px; font-weight: 800; }
|
|
|
|
/* Kotak dokumentasi (gambar + link Drive) */
|
|
.doc-box { border: 1px solid var(--gray-200); border-radius: 14px; padding: 16px 18px 18px; margin: 0; background: var(--gray-25); min-width: 0; }
|
|
.doc-box legend { padding: 0 6px; font-size: 14px; font-weight: 800; color: var(--ink); }
|
|
.doc-box > .field + .field, .doc-box > .field + .doc-or, .doc-box > .doc-or + .field { margin-top: 14px; }
|
|
.doc-or { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; color: var(--gray-500); text-transform: uppercase; letter-spacing: .08em; }
|
|
.doc-or::before, .doc-or::after { content: ''; flex: 1; height: 1px; background: var(--gray-200); }
|
|
input[type=url] {
|
|
font: inherit; color: var(--ink); width: 100%; padding: 11px 14px; border-radius: 12px;
|
|
border: 1px solid var(--gray-300); background: var(--white); transition: border-color .15s, box-shadow .15s;
|
|
}
|
|
.size-warn { padding: 10px 12px; border-radius: 10px; background: var(--warn-bg); border: 1px solid #f2d7a6; color: #7a4a00; font-size: 13px; font-weight: 600; }
|
|
.pulse-field { border-color: var(--warn) !important; box-shadow: 0 0 0 4px rgba(169, 100, 0, .15) !important; }
|
|
|
|
/* Link Google Drive */
|
|
.drive-link {
|
|
display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
|
|
padding: 9px 14px; border-radius: 12px; font-size: 13.5px; font-weight: 700;
|
|
background: var(--info-bg); color: var(--navy-800); border: 1px solid #c9d7ee;
|
|
}
|
|
.drive-link .ic { width: 16px; height: 16px; }
|
|
.drive-link:hover { text-decoration: none; border-color: var(--navy-500); }
|
|
|
|
/* Tambah laporan dari popup */
|
|
.day-add {
|
|
display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap;
|
|
padding: 12px 14px; margin-bottom: 16px; border-radius: 12px;
|
|
background: #fff; border: 1px dashed var(--navy-200); font-size: 13.5px; font-weight: 600; color: var(--gray-600);
|
|
}
|
|
|
|
/* Halaman detail laporan */
|
|
.log-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; }
|
|
@media (max-width: 960px) { .log-layout { grid-template-columns: 1fr; } }
|
|
.log-delete { margin-top: 24px; padding-top: 16px; border-top: 1px dashed var(--gray-200); }
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
* { transition: none !important; }
|
|
.day-dialog[open] { animation: none; }
|
|
}
|
|
|
|
/* ---------- Rekap ---------- */
|
|
.rekap-filter { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 18px; }
|
|
.rekap-filter label { font-weight: 700; font-size: 14px; }
|
|
.rekap-filter select { width: auto; min-width: 200px; }
|
|
.rekap-filter .btn-ghost { margin-left: auto; }
|
|
.rekap-table td { vertical-align: top; }
|
|
.rekap-date { white-space: nowrap; font-weight: 600; }
|
|
.rekap-log { min-width: 280px; }
|
|
.rekap-title { font-weight: 700; }
|
|
.rekap-desc {
|
|
white-space: pre-wrap; overflow-wrap: anywhere; color: var(--gray-700); margin: 4px 0 6px;
|
|
display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
|
|
}
|
|
.rekap-kom { max-width: 320px; font-size: 13px; }
|
|
.rekap-c + .rekap-c { margin-top: 6px; }
|
|
.rekap-c { overflow-wrap: anywhere; color: var(--gray-700); }
|
|
.rekap-missing td { background: #fffafa; }
|
|
.print-only { display: none; }
|
|
@media (max-width: 720px) {
|
|
.rekap-filter select { flex: 1; min-width: 0; }
|
|
.rekap-filter .btn-ghost { margin-left: 0; }
|
|
.rekap-log, .rekap-kom { min-width: 0; max-width: none; }
|
|
}
|
|
|
|
/* ---------- Cetak (rekap → PDF) ---------- */
|
|
@media print {
|
|
@page { size: A4; margin: 14mm 12mm; }
|
|
body { background: #fff; font-size: 11px; }
|
|
.topbar, .no-print, .alert, .crumbs { display: none !important; }
|
|
.print-only { display: block; }
|
|
.main { padding: 0 !important; max-width: none !important; }
|
|
.page-hero { margin: 0 0 12px; padding: 0 0 10px; color: var(--ink); border-bottom: 2px solid var(--navy-800); }
|
|
.page-hero::before, .page-hero::after { display: none; }
|
|
.page-hero h1, .page-hero strong { color: var(--ink); }
|
|
.page-hero .eyebrow { color: var(--navy-700); }
|
|
.hero-facts > span { background: none; border: 1px solid var(--gray-300); }
|
|
.hero-facts small { color: var(--gray-600); }
|
|
.card { box-shadow: none; break-inside: avoid; }
|
|
.stats { grid-template-columns: repeat(4, 1fr); gap: 8px; }
|
|
.stat { padding: 10px 12px; }
|
|
.stat-num { font-size: 20px; }
|
|
.stat.dark { background: #fff; color: var(--ink); border-color: var(--navy-800); }
|
|
.stat.dark .stat-label { color: var(--gray-600); }
|
|
.table-wrap { overflow: visible; border: 0; }
|
|
.table { font-size: 10.5px; }
|
|
.table thead { display: table-header-group; }
|
|
.table, .table tbody { display: table; width: 100%; }
|
|
.table tbody { display: table-row-group; }
|
|
.table tr { display: table-row; break-inside: avoid; padding: 0; }
|
|
.table td, .table th { display: table-cell; padding: 6px 8px; border-bottom: 1px solid var(--gray-200); }
|
|
.table td[data-label]::before { content: none; }
|
|
.rekap-desc { display: block; -webkit-line-clamp: unset; overflow: visible; }
|
|
.rekap-log { min-width: 0; }
|
|
.badge { border: 1px solid currentColor; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
|
|
a { color: var(--ink); }
|
|
}
|