1632 lines
31 KiB
CSS
1632 lines
31 KiB
CSS
html,
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
font-family: Arial, sans-serif;
|
|
background: #f3f4f6;
|
|
overflow: hidden;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.hidden {
|
|
display: none !important;
|
|
}
|
|
|
|
/* =========================
|
|
LAYOUT UTAMA
|
|
========================= */
|
|
.app-shell {
|
|
width: 100vw;
|
|
height: 100vh;
|
|
display: grid;
|
|
grid-template-columns: 420px minmax(0, 1fr);
|
|
background: #f3f4f6;
|
|
}
|
|
|
|
.sidebar {
|
|
height: 100vh;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
background: #ffffff;
|
|
border-right: 1px solid #e5e7eb;
|
|
padding: 18px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
box-shadow: 6px 0 20px rgba(15, 23, 42, 0.08);
|
|
z-index: 1000;
|
|
}
|
|
|
|
.map-area {
|
|
position: relative;
|
|
min-width: 0;
|
|
height: 100vh;
|
|
background: #e5e7eb;
|
|
}
|
|
|
|
#map {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
/* =========================
|
|
CARD UMUM
|
|
========================= */
|
|
.topbar,
|
|
.mode-panel,
|
|
.form-panel,
|
|
.login-box,
|
|
.table-panel {
|
|
position: static;
|
|
width: 100%;
|
|
background: #ffffff;
|
|
border: 1px solid #e5e7eb;
|
|
border-radius: 16px;
|
|
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
|
|
padding: 14px;
|
|
z-index: auto;
|
|
}
|
|
|
|
/* =========================
|
|
TOP BAR / HEADER SIDEBAR
|
|
========================= */
|
|
.topbar {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 8px;
|
|
min-height: auto;
|
|
padding: 16px;
|
|
background: linear-gradient(135deg, #0d6efd, #0b5ed7);
|
|
color: #ffffff;
|
|
}
|
|
|
|
.topbar b {
|
|
display: block;
|
|
font-size: 18px;
|
|
line-height: 1.25;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.topbar span {
|
|
font-size: 13px;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
.topbar a,
|
|
.topbar button,
|
|
.table-panel a {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: fit-content;
|
|
background: #ffffff;
|
|
color: #0d6efd;
|
|
text-decoration: none;
|
|
border: 0;
|
|
border-radius: 10px;
|
|
padding: 8px 12px;
|
|
cursor: pointer;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* =========================
|
|
MODE PANEL
|
|
========================= */
|
|
.mode-panel b,
|
|
.form-panel h3,
|
|
.login-box h3,
|
|
.table-panel h3 {
|
|
display: block;
|
|
margin: 0 0 10px;
|
|
color: #111827;
|
|
font-size: 16px;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.mode-panel small {
|
|
display: block;
|
|
font-size: 12px;
|
|
color: #4b5563;
|
|
line-height: 1.45;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.mode-panel select,
|
|
.form-panel input,
|
|
.form-panel select,
|
|
.form-panel textarea,
|
|
.login-box input,
|
|
.table-panel input,
|
|
.table-panel select {
|
|
width: 100%;
|
|
padding: 10px 11px;
|
|
margin-bottom: 9px;
|
|
border: 1px solid #d1d5db;
|
|
border-radius: 10px;
|
|
background: #ffffff;
|
|
color: #111827;
|
|
font-size: 14px;
|
|
outline: none;
|
|
}
|
|
|
|
.mode-panel select:focus,
|
|
.form-panel input:focus,
|
|
.form-panel select:focus,
|
|
.form-panel textarea:focus,
|
|
.login-box input:focus,
|
|
.table-panel input:focus,
|
|
.table-panel select:focus {
|
|
border-color: #0d6efd;
|
|
box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.12);
|
|
}
|
|
|
|
.mini-legend {
|
|
margin-top: 12px;
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 8px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.mini-legend span {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
color: #374151;
|
|
}
|
|
|
|
.legend-dot {
|
|
width: 14px;
|
|
height: 14px;
|
|
border-radius: 50%;
|
|
display: inline-block;
|
|
border: 2px solid #ffffff;
|
|
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.22);
|
|
}
|
|
|
|
.legend-dot.poor-out {
|
|
background: #dc3545;
|
|
}
|
|
|
|
.legend-dot.poor-in {
|
|
background: #198754;
|
|
}
|
|
|
|
/* =========================
|
|
FORM PANEL
|
|
========================= */
|
|
.form-panel,
|
|
.login-box {
|
|
max-height: none;
|
|
overflow: visible;
|
|
}
|
|
|
|
.form-panel textarea {
|
|
min-height: 74px;
|
|
resize: vertical;
|
|
}
|
|
|
|
.form-panel input[readonly] {
|
|
background: #f9fafb;
|
|
color: #374151;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.checkbox-label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin: 4px 0 10px;
|
|
font-size: 14px;
|
|
color: #374151;
|
|
}
|
|
|
|
.checkbox-label input,
|
|
.form-panel input[type="checkbox"] {
|
|
width: auto !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
.range-label {
|
|
display: block;
|
|
margin: 2px 0 6px;
|
|
font-size: 13px;
|
|
color: #374151;
|
|
}
|
|
|
|
.form-panel input[type="range"] {
|
|
padding: 0;
|
|
}
|
|
|
|
.btn-group {
|
|
display: flex;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
button {
|
|
padding: 9px 12px;
|
|
border: 0;
|
|
border-radius: 10px;
|
|
background: #0d6efd;
|
|
color: #ffffff;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
button:hover {
|
|
opacity: 0.92;
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: #6c757d !important;
|
|
}
|
|
|
|
.danger {
|
|
background: #dc3545 !important;
|
|
}
|
|
|
|
.err {
|
|
background: #ffe0e0;
|
|
color: #9a0000;
|
|
padding: 9px;
|
|
border-radius: 10px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
/* =========================
|
|
PANEL TABEL DI SIDEBAR
|
|
========================= */
|
|
.table-panel {
|
|
max-height: none;
|
|
overflow: visible;
|
|
}
|
|
|
|
.tabs {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 8px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.tabs button {
|
|
width: 100%;
|
|
padding: 9px 8px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.table-panel h3 {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.table-panel h3 a {
|
|
background: #0d6efd;
|
|
color: #ffffff;
|
|
font-size: 12px;
|
|
padding: 7px 9px;
|
|
}
|
|
|
|
.table-wrap {
|
|
width: 100%;
|
|
max-height: 260px;
|
|
overflow: auto;
|
|
border: 1px solid #e5e7eb;
|
|
border-radius: 12px;
|
|
background: #ffffff;
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
min-width: 620px;
|
|
border-collapse: collapse;
|
|
font-size: 12px;
|
|
background: #ffffff;
|
|
}
|
|
|
|
th,
|
|
td {
|
|
border-bottom: 1px solid #e5e7eb;
|
|
padding: 8px;
|
|
text-align: left;
|
|
vertical-align: top;
|
|
}
|
|
|
|
th {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 1;
|
|
background: #f3f5f7;
|
|
color: #111827;
|
|
font-weight: 700;
|
|
}
|
|
|
|
td {
|
|
color: #374151;
|
|
}
|
|
|
|
td button {
|
|
padding: 6px 8px;
|
|
font-size: 12px;
|
|
margin: 2px;
|
|
}
|
|
|
|
.inline-form {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 8px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.inline-form input,
|
|
.inline-form select {
|
|
margin: 0;
|
|
}
|
|
|
|
.inline-form button {
|
|
width: fit-content;
|
|
}
|
|
|
|
/* =========================
|
|
LEAFLET CUSTOM
|
|
========================= */
|
|
.leaflet-control-layers {
|
|
margin-top: 12px !important;
|
|
border-radius: 12px !important;
|
|
box-shadow: 0 4px 18px rgba(0, 0, 0, 0.16) !important;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.leaflet-popup-content {
|
|
font-size: 13px;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.leaflet-popup-content button {
|
|
font-size: 12px;
|
|
padding: 6px 8px;
|
|
margin: 5px 4px 0 0;
|
|
}
|
|
|
|
.leaflet-div-icon,
|
|
.svg-map-icon {
|
|
background: transparent;
|
|
border: none;
|
|
}
|
|
|
|
.svg-marker {
|
|
filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35));
|
|
}
|
|
|
|
/* =========================
|
|
RESPONSIVE
|
|
========================= */
|
|
@media (max-width: 900px) {
|
|
html,
|
|
body {
|
|
overflow: auto;
|
|
}
|
|
|
|
.app-shell {
|
|
min-height: 100vh;
|
|
height: auto;
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.sidebar {
|
|
height: auto;
|
|
max-height: none;
|
|
overflow: visible;
|
|
border-right: 0;
|
|
border-bottom: 1px solid #e5e7eb;
|
|
padding: 12px;
|
|
}
|
|
|
|
.map-area {
|
|
height: 72vh;
|
|
min-height: 520px;
|
|
}
|
|
|
|
.table-wrap {
|
|
max-height: 220px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 520px) {
|
|
.tabs,
|
|
.mini-legend {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.topbar b {
|
|
font-size: 16px;
|
|
}
|
|
|
|
table {
|
|
min-width: 560px;
|
|
}
|
|
}
|
|
|
|
|
|
/* =========================
|
|
PANEL ALUR & DOWNLOAD
|
|
========================= */
|
|
.alur-panel {
|
|
width: 100%;
|
|
background: #f8fafc;
|
|
border: 1px solid #e5e7eb;
|
|
border-radius: 16px;
|
|
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
|
|
padding: 14px;
|
|
}
|
|
|
|
.alur-panel b {
|
|
display: block;
|
|
margin-bottom: 8px;
|
|
color: #111827;
|
|
font-size: 15px;
|
|
}
|
|
|
|
.alur-panel ol {
|
|
margin: 0;
|
|
padding-left: 18px;
|
|
color: #374151;
|
|
font-size: 12px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.alur-panel li {
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.info-note {
|
|
margin: 0 0 10px;
|
|
padding: 10px;
|
|
background: #eef6ff;
|
|
border: 1px solid #bfdbfe;
|
|
border-radius: 10px;
|
|
color: #1e3a8a;
|
|
font-size: 12px;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.download-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 8px;
|
|
}
|
|
|
|
.download-grid a {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: #0d6efd;
|
|
color: #ffffff;
|
|
text-decoration: none;
|
|
border-radius: 10px;
|
|
padding: 10px;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.download-grid a:hover {
|
|
opacity: 0.92;
|
|
}
|
|
|
|
.tabs {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
|
|
/* =========================
|
|
DASHBOARD TERPISAH
|
|
========================= */
|
|
.topbar-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
|
|
.dashboard-link-panel {
|
|
width: 100%;
|
|
background: #ffffff;
|
|
border: 1px solid #e5e7eb;
|
|
border-radius: 16px;
|
|
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
|
|
padding: 14px;
|
|
}
|
|
|
|
.dashboard-link-panel b {
|
|
display: block;
|
|
margin-bottom: 6px;
|
|
color: #111827;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.dashboard-link-panel p {
|
|
margin: 0 0 12px;
|
|
color: #4b5563;
|
|
font-size: 13px;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.dashboard-link-panel a,
|
|
.dashboard-header-actions a,
|
|
.small-action {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: #0d6efd;
|
|
color: #ffffff;
|
|
text-decoration: none;
|
|
border-radius: 10px;
|
|
padding: 9px 12px;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.dashboard-body {
|
|
overflow: auto;
|
|
min-height: 100vh;
|
|
background: #f3f4f6;
|
|
}
|
|
|
|
.dashboard-shell {
|
|
width: min(1500px, calc(100% - 32px));
|
|
margin: 16px auto 28px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.dashboard-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
background: linear-gradient(135deg, #0d6efd, #0b5ed7);
|
|
color: #ffffff;
|
|
border-radius: 18px;
|
|
padding: 20px;
|
|
box-shadow: 0 10px 26px rgba(15, 23, 42, 0.14);
|
|
}
|
|
|
|
.dashboard-header h1 {
|
|
margin: 0 0 6px;
|
|
font-size: 24px;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.dashboard-header p {
|
|
margin: 0;
|
|
color: rgba(255, 255, 255, 0.92);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.dashboard-header-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.dashboard-header-actions a {
|
|
background: #ffffff;
|
|
color: #0d6efd;
|
|
}
|
|
|
|
.dashboard-note {
|
|
padding: 13px 15px;
|
|
background: #eef6ff;
|
|
border: 1px solid #bfdbfe;
|
|
color: #1e3a8a;
|
|
border-radius: 14px;
|
|
font-size: 14px;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.stat-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.stat-card {
|
|
background: #ffffff;
|
|
border: 1px solid #e5e7eb;
|
|
border-radius: 16px;
|
|
padding: 15px;
|
|
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
|
|
}
|
|
|
|
.stat-card span {
|
|
display: block;
|
|
color: #4b5563;
|
|
font-size: 13px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.stat-card b {
|
|
display: block;
|
|
color: #111827;
|
|
font-size: 24px;
|
|
line-height: 1.15;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.stat-card small {
|
|
color: #6b7280;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.dashboard-card {
|
|
background: #ffffff;
|
|
border: 1px solid #e5e7eb;
|
|
border-radius: 18px;
|
|
padding: 16px;
|
|
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
|
|
}
|
|
|
|
.dashboard-card h2 {
|
|
margin: 0 0 6px;
|
|
color: #111827;
|
|
font-size: 20px;
|
|
line-height: 1.25;
|
|
}
|
|
|
|
.section-title-row {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.section-subtitle {
|
|
margin: 0;
|
|
color: #4b5563;
|
|
font-size: 13px;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.dashboard-table-wrap {
|
|
width: 100%;
|
|
overflow: auto;
|
|
border: 1px solid #e5e7eb;
|
|
border-radius: 14px;
|
|
background: #ffffff;
|
|
}
|
|
|
|
.dashboard-table {
|
|
width: 100%;
|
|
min-width: 980px;
|
|
border-collapse: collapse;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.dashboard-table.wide-table {
|
|
min-width: 1320px;
|
|
}
|
|
|
|
.dashboard-table th,
|
|
.dashboard-table td {
|
|
padding: 10px;
|
|
border-bottom: 1px solid #e5e7eb;
|
|
vertical-align: top;
|
|
text-align: left;
|
|
}
|
|
|
|
.dashboard-table th {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 2;
|
|
background: #1f3f6f;
|
|
color: #ffffff;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.dashboard-table td {
|
|
color: #374151;
|
|
}
|
|
|
|
.dashboard-table select,
|
|
.dashboard-inline-form input,
|
|
.dashboard-inline-form select {
|
|
width: 100%;
|
|
padding: 9px 10px;
|
|
border: 1px solid #d1d5db;
|
|
border-radius: 10px;
|
|
background: #ffffff;
|
|
color: #111827;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.dashboard-table button,
|
|
.dashboard-inline-form button {
|
|
padding: 8px 10px;
|
|
border-radius: 9px;
|
|
font-size: 12px;
|
|
margin: 2px 2px 2px 0;
|
|
}
|
|
|
|
.dashboard-inline-form {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: 10px;
|
|
margin-bottom: 14px;
|
|
padding: 12px;
|
|
background: #f8fafc;
|
|
border: 1px solid #e5e7eb;
|
|
border-radius: 14px;
|
|
}
|
|
|
|
.dashboard-download-grid {
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
}
|
|
|
|
@media (max-width: 1100px) {
|
|
.stat-grid {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.dashboard-inline-form,
|
|
.dashboard-download-grid {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.dashboard-shell {
|
|
width: calc(100% - 20px);
|
|
margin: 10px auto 20px;
|
|
}
|
|
|
|
.dashboard-header,
|
|
.section-title-row {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.dashboard-header h1 {
|
|
font-size: 19px;
|
|
}
|
|
|
|
.stat-grid,
|
|
.dashboard-inline-form,
|
|
.dashboard-download-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
/* =========================
|
|
DASHBOARD TOMBOL PER TABEL - FINAL
|
|
========================= */
|
|
.dashboard-shell-wide {
|
|
max-width: 1440px;
|
|
}
|
|
|
|
.dashboard-summary-card {
|
|
background: #ffffff;
|
|
}
|
|
|
|
.compact-stat-grid {
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
}
|
|
|
|
.stat-card.important {
|
|
border-color: #bfdbfe;
|
|
background: #eff6ff;
|
|
}
|
|
|
|
.dashboard-menu-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 12px;
|
|
margin-top: 14px;
|
|
}
|
|
|
|
.dashboard-menu-btn {
|
|
width: 100%;
|
|
min-height: 46px;
|
|
border-radius: 12px;
|
|
background: #0d6efd;
|
|
color: #ffffff;
|
|
font-size: 14px;
|
|
font-weight: 800;
|
|
box-shadow: 0 4px 12px rgba(13, 110, 253, 0.16);
|
|
}
|
|
|
|
.dashboard-menu-btn.active {
|
|
background: #0b5ed7;
|
|
box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.18);
|
|
}
|
|
|
|
.dashboard-section.hidden {
|
|
display: none !important;
|
|
}
|
|
|
|
.dashboard-section {
|
|
scroll-margin-top: 18px;
|
|
}
|
|
|
|
.dashboard-card .small-action {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
@media (max-width: 1100px) {
|
|
.compact-stat-grid,
|
|
.dashboard-menu-grid {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.compact-stat-grid,
|
|
.dashboard-menu-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
/* =========================
|
|
FORM LAPORAN DATA LENGKAP
|
|
========================= */
|
|
.form-note {
|
|
margin: 0 0 10px;
|
|
padding: 10px;
|
|
background: #eef6ff;
|
|
border: 1px solid #bfdbfe;
|
|
border-radius: 10px;
|
|
color: #1e3a8a;
|
|
font-size: 12px;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.form-divider {
|
|
border: 0;
|
|
border-top: 1px solid #e5e7eb;
|
|
margin: 10px 0 12px;
|
|
}
|
|
|
|
.form-subtitle {
|
|
display: block;
|
|
margin: 0 0 9px;
|
|
color: #111827;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.dashboard-table small {
|
|
color: #6b7280;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
/* =========================
|
|
LINK LAPORAN KE DATA MASYARAKAT EXISTING
|
|
========================= */
|
|
.mini-link-box {
|
|
display: grid;
|
|
grid-template-columns: minmax(170px, 1fr) auto;
|
|
gap: 6px;
|
|
margin: 6px 0;
|
|
align-items: center;
|
|
}
|
|
|
|
.mini-link-box select {
|
|
min-width: 170px;
|
|
margin: 0;
|
|
padding: 7px 8px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.mini-link-box button {
|
|
margin: 0;
|
|
padding: 7px 8px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.mini-link-box {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
|
|
.match-note {
|
|
margin: 6px 0;
|
|
padding: 7px 8px;
|
|
border-radius: 10px;
|
|
background: #ecfdf5;
|
|
border: 1px solid #bbf7d0;
|
|
color: #166534;
|
|
font-size: 12px;
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.match-note.muted {
|
|
background: #f8fafc;
|
|
border-color: #e5e7eb;
|
|
color: #4b5563;
|
|
}
|
|
|
|
.match-note.success {
|
|
background: #ecfdf3;
|
|
border: 1px solid #bbf7d0;
|
|
color: #166534;
|
|
}
|
|
|
|
/* =========================
|
|
DATA PETA PENDUKUNG DI HALAMAN INDEX
|
|
========================= */
|
|
.map-support-panel {
|
|
max-height: none;
|
|
}
|
|
|
|
.support-tabs button.active,
|
|
.dashboard-menu-btn.active {
|
|
background: #0b5ed7;
|
|
color: #ffffff;
|
|
box-shadow: inset 0 0 0 2px rgba(255,255,255,0.18);
|
|
}
|
|
|
|
.support-header-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin: 8px 0 10px;
|
|
}
|
|
|
|
.support-header-row b {
|
|
color: #111827;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.support-header-row a {
|
|
background: #0d6efd;
|
|
color: #ffffff;
|
|
font-size: 12px;
|
|
padding: 7px 9px;
|
|
}
|
|
|
|
.support-note {
|
|
margin: 0 0 10px;
|
|
font-size: 12px;
|
|
line-height: 1.45;
|
|
color: #4b5563;
|
|
}
|
|
|
|
.support-table-wrap {
|
|
max-height: 240px;
|
|
}
|
|
|
|
.support-table-wrap table {
|
|
min-width: 520px;
|
|
}
|
|
|
|
|
|
/* =========================================================
|
|
FINAL LANDING MAP LAYOUT
|
|
Letakkan blok ini PALING BAWAH style.css.
|
|
Tujuan: header di atas, map tampil besar di tengah, footer di bawah.
|
|
========================================================= */
|
|
|
|
html,
|
|
body {
|
|
width: 100% !important;
|
|
min-height: 100% !important;
|
|
height: auto !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
overflow: auto !important;
|
|
background: #eef4ff !important;
|
|
font-family: Arial, sans-serif !important;
|
|
}
|
|
|
|
.public-map-body {
|
|
background: #eef4ff !important;
|
|
}
|
|
|
|
.public-page {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background:
|
|
radial-gradient(circle at top left, rgba(37, 99, 235, 0.18), transparent 35%),
|
|
linear-gradient(180deg, #eff6ff 0%, #f8fafc 55%, #eaf1ff 100%);
|
|
}
|
|
|
|
.public-header {
|
|
width: 100%;
|
|
padding: 18px 20px 14px;
|
|
}
|
|
|
|
.public-header-inner {
|
|
width: 100%;
|
|
max-width: none;
|
|
margin: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 22px;
|
|
background: linear-gradient(135deg, #1e3a8a, #2563eb);
|
|
color: #ffffff;
|
|
border-radius: 26px;
|
|
padding: 28px;
|
|
box-shadow: 0 20px 42px rgba(30, 64, 175, 0.28);
|
|
}
|
|
|
|
.eyebrow {
|
|
margin: 0 0 8px;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
color: rgba(255, 255, 255, 0.8);
|
|
}
|
|
|
|
.public-header h1 {
|
|
margin: 0;
|
|
font-size: clamp(28px, 4vw, 44px);
|
|
line-height: 1.08;
|
|
}
|
|
|
|
.public-header .subtitle {
|
|
max-width: 760px;
|
|
margin: 12px 0 0;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
font-size: 15px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.user-status {
|
|
display: inline-flex;
|
|
width: fit-content;
|
|
margin: 14px 0 0;
|
|
padding: 8px 12px;
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.15);
|
|
color: rgba(255, 255, 255, 0.96);
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.header-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 10px;
|
|
}
|
|
|
|
.header-actions a,
|
|
.header-actions button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: #ffffff;
|
|
color: #1d4ed8;
|
|
border: 0;
|
|
border-radius: 12px;
|
|
padding: 10px 14px;
|
|
font-size: 14px;
|
|
font-weight: 800;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16);
|
|
}
|
|
|
|
.public-main {
|
|
flex: 1;
|
|
width: 100%;
|
|
max-width: none;
|
|
margin: 0;
|
|
padding: 0 20px 20px;
|
|
}
|
|
|
|
.map-card {
|
|
width: 100%;
|
|
background: rgba(255, 255, 255, 0.96);
|
|
border: 1px solid #dbeafe;
|
|
border-radius: 24px;
|
|
padding: 18px;
|
|
box-shadow: 0 18px 42px rgba(30, 64, 175, 0.16);
|
|
}
|
|
|
|
.map-card-header {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 18px;
|
|
padding: 4px 4px 16px;
|
|
}
|
|
|
|
.map-card-header h2 {
|
|
margin: 0 0 6px;
|
|
color: #1e3a8a;
|
|
font-size: 24px;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.map-card-header p {
|
|
margin: 0;
|
|
color: #475569;
|
|
font-size: 14px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.map-card-header .mini-legend {
|
|
margin: 0;
|
|
width: fit-content;
|
|
min-width: 250px;
|
|
background: #eff6ff;
|
|
border: 1px solid #bfdbfe;
|
|
border-radius: 16px;
|
|
padding: 12px;
|
|
}
|
|
|
|
.control-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
|
|
gap: 12px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.control-grid .mode-panel,
|
|
.control-grid .form-panel,
|
|
.control-grid .login-box,
|
|
.control-grid .dashboard-link-panel {
|
|
position: static !important;
|
|
width: 100% !important;
|
|
max-height: none !important;
|
|
overflow: visible !important;
|
|
background: #ffffff !important;
|
|
border: 1px solid #dbeafe !important;
|
|
border-radius: 18px !important;
|
|
box-shadow: 0 10px 28px rgba(15, 23, 42, 0.10) !important;
|
|
padding: 14px !important;
|
|
}
|
|
|
|
.control-grid .mode-panel b,
|
|
.control-grid .form-panel h3,
|
|
.control-grid .login-box h3,
|
|
.control-grid .dashboard-link-panel b {
|
|
color: #1e3a8a !important;
|
|
}
|
|
|
|
.control-grid .mode-panel select,
|
|
.control-grid .form-panel input,
|
|
.control-grid .form-panel select,
|
|
.control-grid .form-panel textarea,
|
|
.control-grid .login-box input {
|
|
width: 100% !important;
|
|
border-color: #cbd5e1 !important;
|
|
border-radius: 12px !important;
|
|
}
|
|
|
|
.map-area {
|
|
position: relative !important;
|
|
display: block !important;
|
|
width: 100% !important;
|
|
height: 78vh !important;
|
|
min-height: 680px !important;
|
|
max-height: none !important;
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
overflow: hidden !important;
|
|
border: 1px solid #bfdbfe !important;
|
|
border-radius: 22px !important;
|
|
background: #dbeafe !important;
|
|
box-shadow: inset 0 0 0 1px rgba(255,255,255,0.45) !important;
|
|
}
|
|
|
|
#map {
|
|
display: block !important;
|
|
position: relative !important;
|
|
width: 100% !important;
|
|
height: 100% !important;
|
|
min-height: 680px !important;
|
|
z-index: 1 !important;
|
|
background: #dbeafe !important;
|
|
}
|
|
|
|
.leaflet-container {
|
|
width: 100% !important;
|
|
height: 100% !important;
|
|
min-height: 680px !important;
|
|
font-family: Arial, sans-serif !important;
|
|
}
|
|
|
|
button,
|
|
.dashboard-link-panel a,
|
|
.download-grid a,
|
|
.dashboard-menu-btn,
|
|
.small-action {
|
|
background: #2563eb;
|
|
}
|
|
|
|
button:hover,
|
|
.dashboard-link-panel a:hover,
|
|
.download-grid a:hover,
|
|
.dashboard-menu-btn:hover,
|
|
.small-action:hover {
|
|
background: #1d4ed8;
|
|
opacity: 1;
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: #64748b !important;
|
|
}
|
|
|
|
.danger {
|
|
background: #dc2626 !important;
|
|
}
|
|
|
|
.public-footer {
|
|
width: calc(100% - 40px);
|
|
max-width: none;
|
|
margin: 0 20px 22px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 14px;
|
|
background: #ffffff;
|
|
border: 1px solid #dbeafe;
|
|
border-radius: 20px;
|
|
padding: 16px 20px;
|
|
color: #475569;
|
|
box-shadow: 0 10px 28px rgba(30, 64, 175, 0.10);
|
|
}
|
|
|
|
.public-footer b {
|
|
color: #1e3a8a;
|
|
}
|
|
|
|
.public-footer span {
|
|
font-size: 13px;
|
|
text-align: right;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.public-header {
|
|
padding: 14px 0 12px;
|
|
}
|
|
|
|
.public-header-inner {
|
|
width: calc(100% - 20px);
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
border-radius: 22px;
|
|
padding: 22px;
|
|
}
|
|
|
|
.header-actions {
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.public-main {
|
|
width: 100%;
|
|
padding: 0 10px 16px;
|
|
}
|
|
|
|
.public-footer {
|
|
width: calc(100% - 20px);
|
|
margin: 0 10px 18px;
|
|
}
|
|
|
|
.map-card-header {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.map-card-header .mini-legend {
|
|
width: 100%;
|
|
min-width: 0;
|
|
}
|
|
|
|
.map-area,
|
|
#map,
|
|
.leaflet-container {
|
|
height: 70vh !important;
|
|
min-height: 520px !important;
|
|
max-height: none !important;
|
|
}
|
|
|
|
.public-footer {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.public-footer span {
|
|
text-align: left;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 520px) {
|
|
.public-header h1 {
|
|
font-size: 27px;
|
|
}
|
|
|
|
.map-card {
|
|
padding: 12px;
|
|
border-radius: 20px;
|
|
}
|
|
|
|
.map-area,
|
|
#map,
|
|
.leaflet-container {
|
|
min-height: 460px !important;
|
|
}
|
|
}
|
|
|
|
/* =========================================================
|
|
FINAL OVERRIDE: MAP KIRI + MODE/FORM KANAN (3/4 : 1/4)
|
|
Header dan footer tetap. Logic map/form tidak diubah.
|
|
========================================================= */
|
|
|
|
.public-header-inner {
|
|
padding: 30px 34px !important;
|
|
}
|
|
|
|
.header-actions a,
|
|
.header-actions button {
|
|
min-width: 108px !important;
|
|
min-height: 48px !important;
|
|
padding: 13px 22px !important;
|
|
border-radius: 14px !important;
|
|
font-size: 16px !important;
|
|
font-weight: 900 !important;
|
|
}
|
|
|
|
.map-card {
|
|
padding: 18px !important;
|
|
}
|
|
|
|
.map-card-header {
|
|
padding: 4px 4px 16px !important;
|
|
}
|
|
|
|
.map-layout-grid {
|
|
display: grid !important;
|
|
grid-template-columns: minmax(0, 3fr) minmax(300px, 1fr) !important;
|
|
gap: 16px !important;
|
|
align-items: stretch !important;
|
|
width: 100% !important;
|
|
}
|
|
|
|
.map-layout-grid .map-area {
|
|
width: 100% !important;
|
|
height: 78vh !important;
|
|
min-height: 680px !important;
|
|
margin: 0 !important;
|
|
border-radius: 22px !important;
|
|
}
|
|
|
|
.map-layout-grid #map,
|
|
.map-layout-grid .leaflet-container {
|
|
width: 100% !important;
|
|
height: 100% !important;
|
|
min-height: 680px !important;
|
|
}
|
|
|
|
.side-control-panel {
|
|
width: 100% !important;
|
|
height: 78vh !important;
|
|
min-height: 680px !important;
|
|
overflow-y: auto !important;
|
|
overflow-x: hidden !important;
|
|
display: flex !important;
|
|
flex-direction: column !important;
|
|
gap: 14px !important;
|
|
padding: 14px !important;
|
|
background: #f8fbff !important;
|
|
border: 1px solid #bfdbfe !important;
|
|
border-radius: 22px !important;
|
|
box-shadow: inset 0 0 0 1px rgba(255,255,255,0.55) !important;
|
|
}
|
|
|
|
.side-control-panel .mode-panel,
|
|
.side-control-panel .form-panel,
|
|
.side-control-panel .login-box,
|
|
.side-control-panel .dashboard-link-panel {
|
|
position: static !important;
|
|
width: 100% !important;
|
|
max-height: none !important;
|
|
overflow: visible !important;
|
|
margin: 0 !important;
|
|
background: #ffffff !important;
|
|
border: 1px solid #dbeafe !important;
|
|
border-radius: 18px !important;
|
|
box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08) !important;
|
|
padding: 15px !important;
|
|
}
|
|
|
|
.side-control-panel .mode-panel b,
|
|
.side-control-panel .form-panel h3,
|
|
.side-control-panel .login-box h3,
|
|
.side-control-panel .dashboard-link-panel b {
|
|
color: #1e3a8a !important;
|
|
font-size: 16px !important;
|
|
}
|
|
|
|
.side-control-panel .mode-panel small,
|
|
.side-control-panel .dashboard-link-panel p {
|
|
color: #475569 !important;
|
|
font-size: 12px !important;
|
|
line-height: 1.5 !important;
|
|
}
|
|
|
|
.side-control-panel .mode-panel select,
|
|
.side-control-panel .form-panel input,
|
|
.side-control-panel .form-panel select,
|
|
.side-control-panel .form-panel textarea,
|
|
.side-control-panel .login-box input {
|
|
width: 100% !important;
|
|
border-color: #cbd5e1 !important;
|
|
border-radius: 12px !important;
|
|
}
|
|
|
|
.side-control-panel .form-panel textarea {
|
|
min-height: 90px !important;
|
|
}
|
|
|
|
.side-control-panel .btn-group {
|
|
display: flex !important;
|
|
flex-wrap: wrap !important;
|
|
gap: 8px !important;
|
|
}
|
|
|
|
.side-control-panel button,
|
|
.side-control-panel .dashboard-link-panel a {
|
|
padding: 10px 13px !important;
|
|
border-radius: 11px !important;
|
|
font-size: 13px !important;
|
|
font-weight: 800 !important;
|
|
}
|
|
|
|
@media (max-width: 1100px) {
|
|
.map-layout-grid {
|
|
grid-template-columns: 1fr !important;
|
|
}
|
|
|
|
.side-control-panel {
|
|
height: auto !important;
|
|
min-height: 0 !important;
|
|
overflow: visible !important;
|
|
}
|
|
|
|
.map-layout-grid .map-area,
|
|
.map-layout-grid #map,
|
|
.map-layout-grid .leaflet-container {
|
|
height: 70vh !important;
|
|
min-height: 560px !important;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.header-actions a,
|
|
.header-actions button {
|
|
min-width: 96px !important;
|
|
min-height: 44px !important;
|
|
padding: 11px 18px !important;
|
|
font-size: 15px !important;
|
|
}
|
|
|
|
.map-layout-grid .map-area,
|
|
.map-layout-grid #map,
|
|
.map-layout-grid .leaflet-container {
|
|
min-height: 480px !important;
|
|
}
|
|
}
|
|
|
|
|
|
.public-header {
|
|
padding: 10px 20px 8px !important;
|
|
}
|
|
|
|
.public-header-inner {
|
|
padding: 16px 24px !important;
|
|
border-radius: 20px !important;
|
|
gap: 16px !important;
|
|
box-shadow: 0 12px 28px rgba(30, 64, 175, 0.22) !important;
|
|
}
|
|
|
|
.eyebrow {
|
|
margin: 0 0 5px !important;
|
|
font-size: 10px !important;
|
|
letter-spacing: 0.08em !important;
|
|
}
|
|
|
|
.public-header h1 {
|
|
font-size: clamp(26px, 3vw, 34px) !important;
|
|
line-height: 1.1 !important;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
.public-header .subtitle {
|
|
margin: 7px 0 0 !important;
|
|
font-size: 13px !important;
|
|
line-height: 1.4 !important;
|
|
max-width: 760px !important;
|
|
}
|
|
|
|
.user-status {
|
|
margin: 9px 0 0 !important;
|
|
padding: 6px 10px !important;
|
|
font-size: 12px !important;
|
|
}
|
|
|
|
/* Tombol Login tetap agak besar, tapi tidak terlalu kebesaran */
|
|
.header-actions a,
|
|
.header-actions button {
|
|
min-width: 100px !important;
|
|
min-height: 42px !important;
|
|
padding: 10px 18px !important;
|
|
border-radius: 12px !important;
|
|
font-size: 15px !important;
|
|
font-weight: 900 !important;
|
|
}
|
|
|
|
/* Jarak bawah header ke card map dibuat lebih rapat */
|
|
.public-main {
|
|
padding-top: 4px !important;
|
|
}
|
|
|
|
/* Responsive */
|
|
@media (max-width: 900px) {
|
|
.public-header {
|
|
padding: 8px 10px 8px !important;
|
|
}
|
|
|
|
.public-header-inner {
|
|
padding: 15px 18px !important;
|
|
border-radius: 18px !important;
|
|
}
|
|
|
|
.public-header h1 {
|
|
font-size: 26px !important;
|
|
}
|
|
|
|
.public-header .subtitle {
|
|
font-size: 12px !important;
|
|
}
|
|
|
|
.header-actions a,
|
|
.header-actions button {
|
|
min-width: 92px !important;
|
|
min-height: 40px !important;
|
|
padding: 9px 15px !important;
|
|
font-size: 14px !important;
|
|
}
|
|
}
|
|
|
|
.btn-back-home {
|
|
background: rgba(255, 255, 255, 0.18) !important;
|
|
color: #ffffff !important;
|
|
border: 1px solid rgba(255, 255, 255, 0.35);
|
|
text-decoration: none;
|
|
border-radius: 12px;
|
|
padding: 10px 14px;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.btn-back-home:hover {
|
|
background: #ffffff !important;
|
|
color: #0d6efd !important;
|
|
} |