Upload files to "assets/css"
This commit is contained in:
@@ -0,0 +1,656 @@
|
||||
body.landing-page {
|
||||
min-height: 100vh;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
color: #102033;
|
||||
background:
|
||||
radial-gradient(circle at 12% 10%, rgba(15, 76, 129, 0.14), transparent 34%),
|
||||
radial-gradient(circle at 88% 18%, rgba(13, 148, 136, 0.13), transparent 32%),
|
||||
linear-gradient(180deg, #f8fbff 0%, #eef7ff 48%, #f8fafc 100%);
|
||||
}
|
||||
|
||||
.landing-page a { text-decoration: none; }
|
||||
|
||||
.landing-nav {
|
||||
position: sticky;
|
||||
top: 18px;
|
||||
z-index: 50;
|
||||
width: min(1120px, calc(100% - 40px));
|
||||
margin: 18px auto 0;
|
||||
padding: 12px 14px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 22px;
|
||||
border: 1px solid rgba(219, 228, 239, 0.92);
|
||||
background: rgba(255,255,255,0.78);
|
||||
backdrop-filter: blur(18px);
|
||||
border-radius: 999px;
|
||||
box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
|
||||
}
|
||||
|
||||
.landing-brand {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 11px;
|
||||
color: #102033;
|
||||
min-width: 170px;
|
||||
}
|
||||
|
||||
.landing-brand > span {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 15px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
color: white;
|
||||
background: linear-gradient(135deg, #0f4c81, #0d9488);
|
||||
font-size: 21px;
|
||||
font-weight: 950;
|
||||
box-shadow: 0 12px 24px rgba(15, 76, 129, 0.2);
|
||||
}
|
||||
|
||||
.landing-brand b {
|
||||
font-size: 16px;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
.landing-menu,
|
||||
.landing-actions,
|
||||
.hero-buttons {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.landing-menu a {
|
||||
color: #64748b;
|
||||
font-size: 13px;
|
||||
font-weight: 850;
|
||||
padding: 10px 12px;
|
||||
border-radius: 999px;
|
||||
}
|
||||
|
||||
.landing-menu a:hover {
|
||||
color: #0f4c81;
|
||||
background: #eff6ff;
|
||||
}
|
||||
|
||||
.btn-pill,
|
||||
.cta-primary,
|
||||
.cta-secondary {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: 44px;
|
||||
padding: 0 20px;
|
||||
border-radius: 999px;
|
||||
font-size: 13px;
|
||||
font-weight: 950;
|
||||
transition: .2s ease;
|
||||
}
|
||||
|
||||
.btn-pill.solid,
|
||||
.cta-primary {
|
||||
color: white;
|
||||
background: linear-gradient(135deg, #0f4c81, #0d9488);
|
||||
box-shadow: 0 14px 32px rgba(15, 76, 129, 0.22);
|
||||
}
|
||||
|
||||
.btn-pill.ghost,
|
||||
.cta-secondary {
|
||||
color: #0f4c81;
|
||||
background: rgba(239, 246, 255, 0.9);
|
||||
border: 1px solid #dbeafe;
|
||||
}
|
||||
|
||||
.btn-pill:hover,
|
||||
.cta-primary:hover,
|
||||
.cta-secondary:hover {
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
.landing-toast {
|
||||
width: min(560px, calc(100% - 40px));
|
||||
margin: 18px auto 0;
|
||||
padding: 12px 16px;
|
||||
border-radius: 18px;
|
||||
color: #166534;
|
||||
background: #dcfce7;
|
||||
border: 1px solid #86efac;
|
||||
font-size: 13px;
|
||||
font-weight: 850;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.hero-section,
|
||||
.landing-section,
|
||||
.access-section,
|
||||
.landing-footer {
|
||||
width: min(1120px, calc(100% - 40px));
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.hero-section {
|
||||
min-height: 620px;
|
||||
padding: 78px 0 54px;
|
||||
display: grid;
|
||||
grid-template-columns: 0.92fr 1.08fr;
|
||||
gap: 64px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.eyebrow {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 8px 13px;
|
||||
margin-bottom: 22px;
|
||||
border: 1px solid #dbeafe;
|
||||
color: #0f4c81;
|
||||
background: rgba(239, 246, 255, 0.78);
|
||||
border-radius: 999px;
|
||||
font-size: 12px;
|
||||
font-weight: 950;
|
||||
}
|
||||
|
||||
.hero-copy h1 {
|
||||
max-width: 710px;
|
||||
font-size: clamp(42px, 5.6vw, 72px);
|
||||
line-height: .98;
|
||||
letter-spacing: -2.6px;
|
||||
margin-bottom: 22px;
|
||||
}
|
||||
|
||||
.hero-copy p {
|
||||
max-width: 560px;
|
||||
color: #64748b;
|
||||
font-size: 18px;
|
||||
line-height: 1.75;
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
|
||||
.hero-visual {
|
||||
min-height: 540px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
}
|
||||
|
||||
.map-card {
|
||||
position: relative;
|
||||
width: min(100%, 610px);
|
||||
height: 510px;
|
||||
overflow: hidden;
|
||||
border-radius: 38px;
|
||||
background: linear-gradient(140deg, rgba(219, 234, 254, 0.92), rgba(236, 253, 245, 0.88));
|
||||
border: 1px solid rgba(226, 232, 240, 0.95);
|
||||
box-shadow: 0 34px 85px rgba(15, 23, 42, 0.17);
|
||||
}
|
||||
|
||||
.map-grid {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
opacity: .44;
|
||||
background-image:
|
||||
linear-gradient(rgba(15,76,129,.08) 1px, transparent 1px),
|
||||
linear-gradient(90deg, rgba(15,76,129,.08) 1px, transparent 1px);
|
||||
background-size: 46px 46px;
|
||||
}
|
||||
|
||||
.map-river {
|
||||
position: absolute;
|
||||
left: -12%;
|
||||
top: 45%;
|
||||
width: 124%;
|
||||
height: 92px;
|
||||
transform: rotate(-9deg);
|
||||
background: rgba(56,189,248,.34);
|
||||
border-top: 2px solid rgba(14,165,233,.18);
|
||||
border-bottom: 2px solid rgba(14,165,233,.18);
|
||||
}
|
||||
|
||||
.map-radius {
|
||||
position: absolute;
|
||||
border: 2px solid rgba(37,99,235,.34);
|
||||
background: rgba(37,99,235,.10);
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.r1 { width: 260px; height: 260px; left: 17%; top: 20%; }
|
||||
.r2 { width: 210px; height: 210px; right: 14%; bottom: 15%; }
|
||||
|
||||
.pin {
|
||||
position: absolute;
|
||||
width: 26px;
|
||||
height: 26px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
border-radius: 50% 50% 50% 0;
|
||||
transform: rotate(-45deg);
|
||||
border: 3px solid white;
|
||||
box-shadow: 0 14px 26px rgba(15,23,42,.22);
|
||||
font-size: 8px;
|
||||
font-weight: 950;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.pin::before {
|
||||
content: attr(class);
|
||||
display: none;
|
||||
}
|
||||
|
||||
.pin.ri {
|
||||
width: 42px;
|
||||
height: 42px;
|
||||
background: #2563eb;
|
||||
}
|
||||
|
||||
.pin.ri { transform: rotate(-45deg); }
|
||||
.pin.ri { color: transparent; }
|
||||
.pin.ri::after {
|
||||
content: 'RI';
|
||||
color: white;
|
||||
transform: rotate(45deg);
|
||||
}
|
||||
|
||||
.pin.ok { background: #16a34a; }
|
||||
.pin.wait { background: #f59e0b; }
|
||||
.pin.danger { background: #dc2626; }
|
||||
|
||||
.p1 { left: 32%; top: 36%; }
|
||||
.p2 { right: 25%; bottom: 27%; }
|
||||
.p3 { left: 25%; top: 29%; }
|
||||
.p4 { right: 33%; bottom: 39%; }
|
||||
.p5 { right: 14%; top: 20%; }
|
||||
|
||||
.route {
|
||||
position: absolute;
|
||||
left: 31%;
|
||||
top: 29%;
|
||||
width: 276px;
|
||||
height: 214px;
|
||||
border-left: 5px dashed rgba(124,58,237,.78);
|
||||
border-bottom: 5px dashed rgba(124,58,237,.78);
|
||||
border-radius: 0 0 0 82px;
|
||||
transform: rotate(8deg);
|
||||
}
|
||||
|
||||
.map-stat {
|
||||
position: absolute;
|
||||
left: 24px;
|
||||
bottom: 24px;
|
||||
width: 156px;
|
||||
padding: 17px 18px;
|
||||
border-radius: 24px;
|
||||
background: rgba(255,255,255,.86);
|
||||
border: 1px solid rgba(226,232,240,.9);
|
||||
box-shadow: 0 18px 42px rgba(15,23,42,.12);
|
||||
backdrop-filter: blur(14px);
|
||||
}
|
||||
|
||||
.map-stat small,
|
||||
.map-stat b {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.map-stat small {
|
||||
color: #64748b;
|
||||
font-size: 12px;
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
.map-stat b {
|
||||
color: #0f172a;
|
||||
margin-top: 4px;
|
||||
font-size: 32px;
|
||||
}
|
||||
|
||||
.landing-section {
|
||||
padding: 74px 0 0;
|
||||
}
|
||||
|
||||
.section-heading {
|
||||
max-width: 660px;
|
||||
margin: 0 auto 30px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.section-heading.left {
|
||||
text-align: left;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.section-heading small,
|
||||
.access-section small {
|
||||
color: #0f4c81;
|
||||
font-size: 12px;
|
||||
font-weight: 950;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: .12em;
|
||||
}
|
||||
|
||||
.section-heading h2,
|
||||
.access-section h2 {
|
||||
margin-top: 10px;
|
||||
color: #0f172a;
|
||||
font-size: clamp(30px, 3.6vw, 46px);
|
||||
line-height: 1.08;
|
||||
letter-spacing: -1.35px;
|
||||
}
|
||||
|
||||
.section-heading p,
|
||||
.access-section p {
|
||||
margin-top: 13px;
|
||||
color: #64748b;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.clean-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
gap: 18px;
|
||||
}
|
||||
|
||||
.feature-card {
|
||||
padding: 26px;
|
||||
border-radius: 30px;
|
||||
background: rgba(255,255,255,.86);
|
||||
border: 1px solid #e2e8f0;
|
||||
box-shadow: 0 18px 44px rgba(15,23,42,.06);
|
||||
}
|
||||
|
||||
.feature-icon {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
border-radius: 18px;
|
||||
color: white;
|
||||
font-size: 22px;
|
||||
font-weight: 950;
|
||||
margin-bottom: 22px;
|
||||
}
|
||||
|
||||
.blue-icon { background: #2563eb; }
|
||||
.green-icon { background: #16a34a; }
|
||||
.red-icon { background: #dc2626; }
|
||||
.purple-icon { background: #7c3aed; }
|
||||
|
||||
.feature-card h3 {
|
||||
font-size: 18px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.feature-card p {
|
||||
color: #64748b;
|
||||
font-size: 14px;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.flow-section {
|
||||
display: grid;
|
||||
grid-template-columns: .8fr 1.2fr;
|
||||
gap: 44px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.flow-cards {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.flow-cards article {
|
||||
min-height: 156px;
|
||||
padding: 22px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
border-radius: 28px;
|
||||
background: white;
|
||||
border: 1px solid #e2e8f0;
|
||||
box-shadow: 0 18px 44px rgba(15,23,42,.06);
|
||||
}
|
||||
|
||||
.flow-cards b {
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
border-radius: 16px;
|
||||
color: white;
|
||||
background: linear-gradient(135deg, #0f4c81, #0d9488);
|
||||
}
|
||||
|
||||
.flow-cards span {
|
||||
color: #0f172a;
|
||||
font-size: 16px;
|
||||
font-weight: 900;
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
.clean-access {
|
||||
margin-top: 88px;
|
||||
padding: 46px;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr auto;
|
||||
gap: 28px;
|
||||
align-items: center;
|
||||
border-radius: 36px;
|
||||
color: white;
|
||||
background: linear-gradient(135deg, #0f4c81, #0d9488);
|
||||
box-shadow: 0 28px 70px rgba(15,76,129,.22);
|
||||
}
|
||||
|
||||
.clean-access small,
|
||||
.clean-access h2,
|
||||
.clean-access p {
|
||||
color: white;
|
||||
}
|
||||
|
||||
.clean-access p {
|
||||
max-width: 580px;
|
||||
opacity: .86;
|
||||
}
|
||||
|
||||
.clean-access .cta-primary {
|
||||
color: #0f4c81;
|
||||
background: white;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.clean-access .cta-secondary {
|
||||
color: white;
|
||||
background: rgba(255,255,255,.12);
|
||||
border-color: rgba(255,255,255,.24);
|
||||
}
|
||||
|
||||
.landing-footer {
|
||||
padding: 34px 0 44px;
|
||||
color: #64748b;
|
||||
font-size: 13px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* Auth pages */
|
||||
.login-card {
|
||||
max-width: 420px;
|
||||
padding: 34px;
|
||||
}
|
||||
|
||||
.login-card h1 {
|
||||
font-size: 28px;
|
||||
letter-spacing: -0.6px;
|
||||
}
|
||||
|
||||
.login-card p {
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
|
||||
.login-back {
|
||||
display: inline-flex;
|
||||
margin-bottom: 14px;
|
||||
color: #0f4c81;
|
||||
font-weight: 900;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
@media (max-width: 980px) {
|
||||
.landing-menu { display: none; }
|
||||
.hero-section,
|
||||
.flow-section,
|
||||
.clean-access {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
.hero-section {
|
||||
padding-top: 54px;
|
||||
gap: 36px;
|
||||
}
|
||||
.clean-grid,
|
||||
.flow-cards {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
.clean-access {
|
||||
padding: 34px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.landing-nav {
|
||||
top: 10px;
|
||||
width: min(100% - 24px, 1120px);
|
||||
border-radius: 26px;
|
||||
align-items: flex-start;
|
||||
}
|
||||
.landing-brand { min-width: auto; }
|
||||
.landing-actions { justify-content: flex-end; }
|
||||
.btn-pill { min-height: 38px; padding: 0 14px; }
|
||||
.hero-section,
|
||||
.landing-section,
|
||||
.access-section,
|
||||
.landing-footer {
|
||||
width: min(100% - 24px, 1120px);
|
||||
}
|
||||
.hero-copy h1 {
|
||||
font-size: 42px;
|
||||
letter-spacing: -1.8px;
|
||||
}
|
||||
.hero-copy p {
|
||||
font-size: 16px;
|
||||
}
|
||||
.hero-visual { min-height: auto; }
|
||||
.map-card { height: 360px; border-radius: 30px; }
|
||||
.clean-grid,
|
||||
.flow-cards {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
.clean-access {
|
||||
padding: 28px;
|
||||
border-radius: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
.login-card.register-card {
|
||||
max-width: 560px;
|
||||
}
|
||||
|
||||
/* Final auth refinement */
|
||||
.login-page {
|
||||
min-height: 100vh;
|
||||
overflow-y: auto;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
padding: 32px 18px;
|
||||
}
|
||||
|
||||
.login-card {
|
||||
width: min(100%, 430px);
|
||||
max-width: 430px;
|
||||
background: rgba(255,255,255,.94);
|
||||
backdrop-filter: blur(18px);
|
||||
border: 1px solid rgba(219,228,239,.94);
|
||||
box-shadow: 0 28px 70px rgba(15,23,42,.12);
|
||||
}
|
||||
|
||||
.login-card.register-card {
|
||||
width: min(100%, 880px);
|
||||
max-width: 880px;
|
||||
}
|
||||
|
||||
.login-card.register-card form {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 0 16px;
|
||||
}
|
||||
|
||||
.login-card.register-card form > .info-box,
|
||||
.login-card.register-card form > .role-picker,
|
||||
.login-card.register-card form > .role-extra,
|
||||
.login-card.register-card form > .btn {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
.role-select-hidden {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.role-picker {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 10px;
|
||||
margin: 8px 0 12px;
|
||||
}
|
||||
|
||||
.role-card-option {
|
||||
text-align: left;
|
||||
border: 1px solid #dbe4ef;
|
||||
background: #ffffff;
|
||||
border-radius: 18px;
|
||||
padding: 14px;
|
||||
cursor: pointer;
|
||||
transition: .18s ease;
|
||||
min-height: 94px;
|
||||
}
|
||||
|
||||
.role-card-option b,
|
||||
.role-card-option span {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.role-card-option b {
|
||||
color: #0f172a;
|
||||
font-size: 14px;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.role-card-option span {
|
||||
color: #64748b;
|
||||
font-size: 12px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.role-card-option:hover,
|
||||
.role-card-option.active {
|
||||
border-color: #0f4c81;
|
||||
background: #eff6ff;
|
||||
box-shadow: 0 10px 24px rgba(15, 76, 129, .11);
|
||||
}
|
||||
|
||||
.role-card-option.active b {
|
||||
color: #0f4c81;
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.login-card.register-card form {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.role-picker {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,749 @@
|
||||
/* =========================================================
|
||||
SIPANTAS responsive UI fix
|
||||
Fokus: tampilan lebih rapi di desktop dan mobile tanpa mengubah fitur utama.
|
||||
========================================================= */
|
||||
|
||||
:root {
|
||||
--app-radius: 26px;
|
||||
--app-gap: 14px;
|
||||
--touch-size: 46px;
|
||||
}
|
||||
|
||||
html {
|
||||
-webkit-text-size-adjust: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
min-width: 320px;
|
||||
}
|
||||
|
||||
button,
|
||||
a,
|
||||
input,
|
||||
select,
|
||||
textarea {
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
|
||||
button,
|
||||
.btn,
|
||||
.tool-btn,
|
||||
.tab,
|
||||
.mini-btn,
|
||||
.role-card-option {
|
||||
touch-action: manipulation;
|
||||
}
|
||||
|
||||
/* ---------- Dashboard shell ---------- */
|
||||
.app-shell {
|
||||
width: min(472px, calc(100vw - 32px));
|
||||
top: 16px;
|
||||
left: 16px;
|
||||
bottom: 16px;
|
||||
max-height: none;
|
||||
height: auto;
|
||||
border-radius: 28px;
|
||||
}
|
||||
|
||||
.brand-panel {
|
||||
grid-template-columns: 48px minmax(0, 1fr) auto auto auto !important;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.brand-panel > div:not(.brand-logo) {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.brand-panel h1,
|
||||
.brand-panel p {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.panel-toggle,
|
||||
.help-button,
|
||||
.logout {
|
||||
flex: 0 0 auto;
|
||||
min-width: 34px;
|
||||
}
|
||||
|
||||
.user-box {
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
}
|
||||
|
||||
.user-main {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.user-main b,
|
||||
.user-main span,
|
||||
.role-chip {
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.quick-guide-card {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.tabs {
|
||||
flex-wrap: nowrap !important;
|
||||
overflow-x: auto !important;
|
||||
overflow-y: hidden;
|
||||
padding-bottom: 14px;
|
||||
scroll-snap-type: x proximity;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
|
||||
.tabs::-webkit-scrollbar {
|
||||
height: 6px;
|
||||
}
|
||||
|
||||
.tabs::-webkit-scrollbar-thumb {
|
||||
background: #cbd5e1;
|
||||
border-radius: 999px;
|
||||
}
|
||||
|
||||
.tab {
|
||||
flex: 0 0 auto !important;
|
||||
scroll-snap-align: start;
|
||||
min-height: 42px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.panel-body {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
overflow-y: auto;
|
||||
overscroll-behavior: contain;
|
||||
padding-bottom: 22px;
|
||||
}
|
||||
|
||||
.hero-actions {
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.hero-actions .btn,
|
||||
.guide-dialog-actions .btn {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.stats-wide {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
|
||||
}
|
||||
|
||||
.stat-card {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.stat-card small {
|
||||
min-height: 28px;
|
||||
}
|
||||
|
||||
.two-col,
|
||||
.quick-actions {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
|
||||
}
|
||||
|
||||
.two-col > div,
|
||||
.quick-actions > * {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
input,
|
||||
select,
|
||||
textarea,
|
||||
.btn {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
input,
|
||||
select,
|
||||
.btn {
|
||||
min-height: var(--touch-size);
|
||||
}
|
||||
|
||||
textarea {
|
||||
min-height: 92px;
|
||||
}
|
||||
|
||||
.list-box {
|
||||
max-height: none !important;
|
||||
overflow: visible !important;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.list-title-row {
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.item-actions {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.mini-btn,
|
||||
.badge {
|
||||
line-height: 1.25;
|
||||
}
|
||||
|
||||
.anggota-card {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.anggota-card .two-col {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
/* ---------- Map controls ---------- */
|
||||
.map-toolbar {
|
||||
top: 18px;
|
||||
right: 18px;
|
||||
left: auto;
|
||||
max-width: calc(100vw - 526px);
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.tool-btn {
|
||||
min-height: 38px;
|
||||
}
|
||||
|
||||
.map-helper {
|
||||
left: min(506px, calc(100vw - 420px));
|
||||
right: auto;
|
||||
bottom: 18px;
|
||||
}
|
||||
|
||||
.legend {
|
||||
max-width: 230px;
|
||||
}
|
||||
|
||||
/* ---------- Auth and register pages ---------- */
|
||||
.login-page {
|
||||
align-items: start;
|
||||
padding: 34px 18px;
|
||||
}
|
||||
|
||||
.login-card {
|
||||
margin: auto 0;
|
||||
}
|
||||
|
||||
.login-card.register-card,
|
||||
.login-card.register-card-wide {
|
||||
width: min(920px, calc(100vw - 36px));
|
||||
max-width: 920px;
|
||||
}
|
||||
|
||||
.login-card.register-card form {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 0 18px;
|
||||
}
|
||||
|
||||
.login-card.register-card form > .role-picker,
|
||||
.login-card.register-card form > .info-box,
|
||||
.login-card.register-card form > .role-extra,
|
||||
.login-card.register-card form > .btn {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
.role-picker {
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
|
||||
}
|
||||
|
||||
.role-card-option {
|
||||
min-height: 106px;
|
||||
}
|
||||
|
||||
.location-picker-box {
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.location-search-row {
|
||||
grid-template-columns: minmax(0, 1fr) 112px !important;
|
||||
}
|
||||
|
||||
.register-map {
|
||||
height: 300px;
|
||||
}
|
||||
|
||||
.selected-location-text {
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
/* ---------- Landing page ---------- */
|
||||
.landing-nav {
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.landing-menu {
|
||||
min-width: 0;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.hero-section {
|
||||
grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
|
||||
}
|
||||
|
||||
.hero-copy,
|
||||
.hero-visual,
|
||||
.map-card {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.feature-card,
|
||||
.access-card,
|
||||
.flow-card {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
/* ---------- Tablet ---------- */
|
||||
@media (max-width: 1100px) {
|
||||
.app-shell {
|
||||
width: min(452px, calc(100vw - 28px));
|
||||
}
|
||||
|
||||
.map-toolbar {
|
||||
max-width: calc(100vw - 500px);
|
||||
}
|
||||
|
||||
.map-helper {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.hero-section {
|
||||
gap: 36px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 980px) {
|
||||
body {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#map {
|
||||
height: 100dvh;
|
||||
}
|
||||
|
||||
.app-shell {
|
||||
left: 12px;
|
||||
right: 12px;
|
||||
top: auto !important;
|
||||
bottom: 12px;
|
||||
width: auto;
|
||||
height: min(70dvh, 640px);
|
||||
max-height: 70dvh;
|
||||
border-radius: 24px;
|
||||
}
|
||||
|
||||
body.panel-collapsed .app-shell {
|
||||
transform: translateY(calc(100% + 26px));
|
||||
}
|
||||
|
||||
.panel-open {
|
||||
left: 12px;
|
||||
bottom: 12px;
|
||||
min-height: 42px;
|
||||
}
|
||||
|
||||
.brand-panel {
|
||||
grid-template-columns: 44px minmax(0, 1fr) auto auto auto !important;
|
||||
padding: 14px 14px 12px;
|
||||
}
|
||||
|
||||
.brand-logo {
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
border-radius: 15px;
|
||||
}
|
||||
|
||||
.user-box,
|
||||
.quick-guide-card {
|
||||
margin-left: 14px;
|
||||
margin-right: 14px;
|
||||
}
|
||||
|
||||
.tabs {
|
||||
padding-left: 14px;
|
||||
padding-right: 14px;
|
||||
}
|
||||
|
||||
.panel-body {
|
||||
padding: 14px;
|
||||
}
|
||||
|
||||
.map-toolbar {
|
||||
top: 12px !important;
|
||||
left: 12px;
|
||||
right: 12px !important;
|
||||
bottom: auto !important;
|
||||
max-width: none;
|
||||
justify-content: flex-start;
|
||||
overflow-x: auto;
|
||||
border-radius: 20px;
|
||||
padding: 7px;
|
||||
}
|
||||
|
||||
.map-toolbar::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.tool-btn {
|
||||
flex: 0 0 auto;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.legend {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.map-helper {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.leaflet-control-zoom {
|
||||
margin-top: 70px !important;
|
||||
}
|
||||
|
||||
.landing-nav {
|
||||
width: min(100% - 28px, 1120px);
|
||||
top: 12px;
|
||||
border-radius: 26px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.landing-brand {
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
|
||||
.landing-menu {
|
||||
order: 3;
|
||||
width: 100%;
|
||||
overflow-x: auto;
|
||||
justify-content: flex-start;
|
||||
flex-wrap: nowrap;
|
||||
padding-top: 4px;
|
||||
}
|
||||
|
||||
.landing-menu::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.hero-section {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 28px;
|
||||
min-height: auto;
|
||||
padding-top: 54px;
|
||||
}
|
||||
|
||||
.hero-copy h1 {
|
||||
max-width: 760px;
|
||||
}
|
||||
|
||||
.hero-visual {
|
||||
min-height: auto;
|
||||
}
|
||||
|
||||
.map-card {
|
||||
height: 430px;
|
||||
}
|
||||
}
|
||||
|
||||
/* ---------- Phone ---------- */
|
||||
@media (max-width: 640px) {
|
||||
.app-shell {
|
||||
left: 8px;
|
||||
right: 8px;
|
||||
bottom: 8px;
|
||||
height: min(72dvh, 620px);
|
||||
max-height: 72dvh;
|
||||
border-radius: 22px;
|
||||
}
|
||||
|
||||
.brand-panel {
|
||||
grid-template-columns: 42px minmax(0, 1fr) auto !important;
|
||||
gap: 9px;
|
||||
}
|
||||
|
||||
.brand-logo {
|
||||
width: 42px;
|
||||
height: 42px;
|
||||
}
|
||||
|
||||
.brand-panel h1 {
|
||||
font-size: 17px;
|
||||
}
|
||||
|
||||
.brand-panel p {
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.help-button,
|
||||
.logout {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.panel-toggle {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
}
|
||||
|
||||
.user-box {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.role-chip {
|
||||
width: fit-content;
|
||||
}
|
||||
|
||||
.quick-guide-card {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.quick-guide-card button {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.dashboard-hero,
|
||||
.tab-intro,
|
||||
.stat-card,
|
||||
.progress-wrap,
|
||||
.list-item,
|
||||
.report-card,
|
||||
.info-box,
|
||||
.anggota-card {
|
||||
border-radius: 17px;
|
||||
}
|
||||
|
||||
.hero-card h2 {
|
||||
font-size: 19px;
|
||||
}
|
||||
|
||||
.hero-card p,
|
||||
.tab-intro span,
|
||||
.guide-step span {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.hero-actions,
|
||||
.guide-dialog-actions {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.hero-actions .btn,
|
||||
.guide-dialog-actions .btn {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.stats-wide,
|
||||
.two-col,
|
||||
.quick-actions,
|
||||
.report-grid {
|
||||
grid-template-columns: 1fr !important;
|
||||
}
|
||||
|
||||
.stat-card {
|
||||
min-height: 78px;
|
||||
}
|
||||
|
||||
.stat-card span {
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.item-actions {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.item-actions .mini-btn {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.badge {
|
||||
white-space: normal;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.guide-dialog {
|
||||
width: calc(100vw - 24px);
|
||||
max-height: calc(100dvh - 28px);
|
||||
overflow-y: auto;
|
||||
padding: 18px;
|
||||
border-radius: 22px;
|
||||
}
|
||||
|
||||
.guide-modal-step {
|
||||
grid-template-columns: 34px 1fr;
|
||||
}
|
||||
|
||||
.guide-modal-step i {
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
}
|
||||
|
||||
.toast {
|
||||
bottom: 14px;
|
||||
border-radius: 18px;
|
||||
width: calc(100vw - 24px);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.login-page {
|
||||
padding: 20px 12px;
|
||||
}
|
||||
|
||||
.login-card,
|
||||
.login-card.register-card,
|
||||
.login-card.register-card-wide {
|
||||
width: 100%;
|
||||
max-width: none;
|
||||
padding: 22px;
|
||||
border-radius: 22px;
|
||||
}
|
||||
|
||||
.login-card h1 {
|
||||
font-size: 25px;
|
||||
}
|
||||
|
||||
.login-card.register-card form {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.role-picker {
|
||||
grid-template-columns: 1fr !important;
|
||||
}
|
||||
|
||||
.role-card-option {
|
||||
min-height: auto;
|
||||
}
|
||||
|
||||
.location-search-row {
|
||||
grid-template-columns: 1fr !important;
|
||||
}
|
||||
|
||||
.register-map {
|
||||
height: 220px;
|
||||
}
|
||||
|
||||
.landing-nav {
|
||||
width: calc(100% - 20px);
|
||||
margin-top: 10px;
|
||||
padding: 10px;
|
||||
border-radius: 22px;
|
||||
}
|
||||
|
||||
.landing-brand {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.landing-brand > span {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
border-radius: 13px;
|
||||
}
|
||||
|
||||
.landing-actions {
|
||||
width: 100%;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
}
|
||||
|
||||
.landing-actions .btn-pill {
|
||||
width: 100%;
|
||||
padding: 0 12px;
|
||||
}
|
||||
|
||||
.landing-menu {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.hero-section,
|
||||
.landing-section,
|
||||
.access-section,
|
||||
.landing-footer {
|
||||
width: calc(100% - 24px);
|
||||
}
|
||||
|
||||
.hero-section {
|
||||
padding: 44px 0 36px;
|
||||
}
|
||||
|
||||
.hero-copy h1 {
|
||||
font-size: clamp(34px, 11vw, 46px);
|
||||
letter-spacing: -1.6px;
|
||||
}
|
||||
|
||||
.hero-copy p {
|
||||
font-size: 15px;
|
||||
line-height: 1.65;
|
||||
}
|
||||
|
||||
.hero-buttons {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.hero-buttons a {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.map-card {
|
||||
height: 330px;
|
||||
border-radius: 26px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 380px) {
|
||||
.brand-logo {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.brand-panel {
|
||||
grid-template-columns: minmax(0, 1fr) auto !important;
|
||||
}
|
||||
|
||||
.tab,
|
||||
.tool-btn {
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.panel-body {
|
||||
padding: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Better print output for reports */
|
||||
@media print {
|
||||
#map,
|
||||
.map-toolbar,
|
||||
.legend,
|
||||
.map-helper,
|
||||
.panel-toggle,
|
||||
.panel-open,
|
||||
.help-button,
|
||||
.logout,
|
||||
.tabs,
|
||||
.quick-guide-card {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
body {
|
||||
overflow: visible !important;
|
||||
background: white !important;
|
||||
}
|
||||
|
||||
.app-shell {
|
||||
position: static !important;
|
||||
width: 100% !important;
|
||||
height: auto !important;
|
||||
max-height: none !important;
|
||||
box-shadow: none !important;
|
||||
border: 0 !important;
|
||||
}
|
||||
|
||||
.panel-body {
|
||||
overflow: visible !important;
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user