1225 lines
22 KiB
CSS
1225 lines
22 KiB
CSS
@font-face {
|
|
font-family: 'Outfit';
|
|
src: url('./assets/webfonts/Outfit-Regular.woff2') format('woff2');
|
|
font-weight: 400;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Outfit';
|
|
src: url('./assets/webfonts/Outfit-Medium.woff2') format('woff2');
|
|
font-weight: 500;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Outfit';
|
|
src: url('./assets/webfonts/Outfit-SemiBold.woff2') format('woff2');
|
|
font-weight: 600;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Outfit';
|
|
src: url('./assets/webfonts/Outfit-Bold.woff2') format('woff2');
|
|
font-weight: 700;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
|
|
}
|
|
|
|
body {
|
|
background: #f5f5f5;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* Status bar ala Android */
|
|
.status-bar {
|
|
background: #f5f5f5;
|
|
padding: 12px 24px 8px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
font-size: 15px;
|
|
font-weight: 500;
|
|
color: #1e1e1e;
|
|
}
|
|
|
|
.status-bar .time {
|
|
font-weight: 500;
|
|
}
|
|
|
|
.status-bar .icons {
|
|
display: flex;
|
|
gap: 6px;
|
|
}
|
|
|
|
/* Container utama - full screen tanpa card */
|
|
.container {
|
|
flex: 1;
|
|
padding: 24px 24px 32px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
/* Header dengan tombol back khas Android */
|
|
.app-header {
|
|
margin-bottom: 40px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.back-button {
|
|
width: 48px;
|
|
height: 48px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 50%;
|
|
color: #1e1e1e;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.back-button:active {
|
|
background: rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.back-button svg {
|
|
width: 24px;
|
|
height: 24px;
|
|
fill: #1e1e1e;
|
|
}
|
|
|
|
/* Icon pengaturan lebih kecil */
|
|
.btn-settings {
|
|
width: 36px;
|
|
height: 36px;
|
|
}
|
|
|
|
.btn-settings svg {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
|
|
.app-title {
|
|
font-size: 22px;
|
|
font-weight: 500;
|
|
color: #1e1e1e;
|
|
margin-left: 4px;
|
|
}
|
|
|
|
/* Ilustrasi/logo khas Android */
|
|
.android-illustration {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
margin-bottom: 48px;
|
|
}
|
|
|
|
.android-logo {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.android-logo img {
|
|
width: 96px;
|
|
height: auto;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.welcome-text {
|
|
font-size: 28px;
|
|
font-weight: 500;
|
|
color: #1e1e1e;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.sub-text {
|
|
font-size: 16px;
|
|
color: #5e5e5e;
|
|
}
|
|
|
|
/* Form input ala Android native */
|
|
.form-group {
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.input-label {
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
color: #3c3c3c;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
margin-bottom: 8px;
|
|
margin-left: 16px;
|
|
}
|
|
|
|
.input-android {
|
|
background: #eeeeee;
|
|
border-radius: 28px;
|
|
padding: 4px 20px;
|
|
border: 2px solid transparent;
|
|
transition: all 0.2s;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.input-android:focus-within {
|
|
background: #ffffff;
|
|
border-color: #2563eb;
|
|
box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
|
|
}
|
|
|
|
.input-android svg {
|
|
width: 20px;
|
|
height: 20px;
|
|
fill: #5e5e5e;
|
|
}
|
|
|
|
.input-android:focus-within svg {
|
|
fill: #2563eb;
|
|
}
|
|
|
|
.input-android input {
|
|
flex: 1;
|
|
background: transparent;
|
|
border: none;
|
|
padding: 16px 0;
|
|
font-size: 16px;
|
|
color: #1e1e1e;
|
|
outline: none;
|
|
}
|
|
|
|
.input-android input::placeholder {
|
|
color: #9e9e9e;
|
|
}
|
|
|
|
/* Lupa password */
|
|
.forgot-section {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
margin: 8px 16px 32px;
|
|
}
|
|
|
|
.forgot-link {
|
|
color: #2563eb;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
text-decoration: none;
|
|
padding: 8px 4px;
|
|
}
|
|
|
|
.forgot-link:active {
|
|
opacity: 0.7;
|
|
}
|
|
|
|
/* Tombol login ala Android */
|
|
.login-button {
|
|
width: 100%;
|
|
min-height: 48px;
|
|
background: #2563eb;
|
|
border: none;
|
|
border-radius: 30px;
|
|
padding: 18px;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: #fff;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 12px;
|
|
margin-bottom: 24px;
|
|
box-shadow: 0 4px 12px rgba(61, 220, 132, 0.3);
|
|
cursor: pointer;
|
|
transition: all 0.1s;
|
|
touch-action: manipulation;
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
|
|
.login-button:active {
|
|
transform: scale(0.98);
|
|
background: #1d4ed8;
|
|
box-shadow: 0 2px 6px rgba(37, 99, 235, 0.4);
|
|
}
|
|
|
|
.login-button svg {
|
|
width: 20px;
|
|
height: 20px;
|
|
fill: #fff;
|
|
}
|
|
|
|
/* Divider */
|
|
.divider {
|
|
display: flex;
|
|
align-items: center;
|
|
margin: 24px 0;
|
|
color: #9e9e9e;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.divider-line {
|
|
flex: 1;
|
|
height: 1px;
|
|
background: #e0e0e0;
|
|
}
|
|
|
|
.divider-text {
|
|
margin: 0 16px;
|
|
}
|
|
|
|
/* Opsi login lain */
|
|
.other-login {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 24px;
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
.other-btn {
|
|
width: 56px;
|
|
height: 56px;
|
|
border-radius: 28px;
|
|
background: #ffffff;
|
|
border: 1px solid #e0e0e0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
|
|
}
|
|
|
|
.other-btn:active {
|
|
background: #f5f5f5;
|
|
transform: scale(0.95);
|
|
}
|
|
|
|
.other-btn svg {
|
|
width: 28px;
|
|
height: 28px;
|
|
}
|
|
|
|
/* Biometric section */
|
|
.biometric-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
margin-top: auto;
|
|
padding-top: 20px;
|
|
}
|
|
|
|
.biometric-hint {
|
|
font-size: 14px;
|
|
color: #5e5e5e;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.fingerprint-icon {
|
|
width: 64px;
|
|
height: 64px;
|
|
border-radius: 50%;
|
|
background: #f0f0f0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
border: 2px solid transparent;
|
|
}
|
|
|
|
.fingerprint-icon:active {
|
|
background: #e4e4e4;
|
|
border-color: #3ddc84;
|
|
}
|
|
|
|
.fingerprint-icon svg {
|
|
width: 32px;
|
|
height: 32px;
|
|
fill: #5e5e5e;
|
|
}
|
|
|
|
/* Link daftar */
|
|
.signup-link {
|
|
text-align: center;
|
|
margin-top: 24px;
|
|
padding: 16px;
|
|
font-size: 15px;
|
|
color: #5e5e5e;
|
|
}
|
|
|
|
.signup-link a {
|
|
color: #3ddc84;
|
|
text-decoration: none;
|
|
font-weight: 600;
|
|
margin-left: 4px;
|
|
}
|
|
|
|
.signup-link a:active {
|
|
opacity: 0.7;
|
|
}
|
|
|
|
/* Navigation bar ala Android */
|
|
.nav-bar {
|
|
background: #ffffff;
|
|
padding: 8px 24px 12px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
border-top: 1px solid #eaeaea;
|
|
}
|
|
|
|
.nav-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 4px;
|
|
color: #9e9e9e;
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.nav-item.active {
|
|
color: #3ddc84;
|
|
}
|
|
|
|
.nav-item.active svg {
|
|
fill: #3ddc84;
|
|
}
|
|
|
|
.nav-item svg {
|
|
width: 24px;
|
|
height: 24px;
|
|
fill: #9e9e9e;
|
|
}
|
|
|
|
/* Animasi */
|
|
@keyframes ripple {
|
|
0% { transform: scale(1); }
|
|
50% { transform: scale(0.98); }
|
|
100% { transform: scale(1); }
|
|
}
|
|
|
|
.ripple:active {
|
|
animation: ripple 0.2s ease;
|
|
}
|
|
|
|
/* ---------- Screen flow & hidden ---------- */
|
|
.hidden {
|
|
display: none !important;
|
|
pointer-events: none !important;
|
|
visibility: hidden !important;
|
|
}
|
|
|
|
.screen {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex: 1;
|
|
}
|
|
|
|
.android-illustration-small {
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.android-illustration-small .welcome-text {
|
|
font-size: 22px;
|
|
}
|
|
|
|
/* ---------- Modal Settings ---------- */
|
|
.modal {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 1000;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 16px;
|
|
}
|
|
|
|
.modal-backdrop {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
.modal-content {
|
|
position: relative;
|
|
background: #fff;
|
|
border-radius: 16px;
|
|
padding: 24px;
|
|
width: 100%;
|
|
max-width: 400px;
|
|
max-height: 90vh;
|
|
overflow: auto;
|
|
}
|
|
|
|
.modal-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.modal-header h2 {
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
color: #1e1e1e;
|
|
}
|
|
|
|
.modal-close {
|
|
width: 36px;
|
|
height: 36px;
|
|
border: none;
|
|
background: none;
|
|
font-size: 24px;
|
|
color: #5e5e5e;
|
|
cursor: pointer;
|
|
line-height: 1;
|
|
}
|
|
|
|
.modal-body .input-full {
|
|
width: 100%;
|
|
padding: 12px 16px;
|
|
border-radius: 12px;
|
|
border: 2px solid #e0e0e0;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.config-status {
|
|
font-size: 13px;
|
|
margin-bottom: 12px;
|
|
min-height: 18px;
|
|
}
|
|
|
|
.input-hint {
|
|
font-size: 12px;
|
|
color: #94a3b8;
|
|
margin-top: 6px;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.modal-actions {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.modal-actions .secondary-button {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
/* ---------- Modal overlay & panel (check-in, QR, PIN) ---------- */
|
|
.modal-overlay {
|
|
padding: 16px;
|
|
}
|
|
.modal-overlay.hidden {
|
|
pointer-events: none;
|
|
}
|
|
|
|
.modal-panel {
|
|
position: relative;
|
|
z-index: 1;
|
|
background: #fff;
|
|
border-radius: 16px;
|
|
width: 100%;
|
|
max-width: 400px;
|
|
max-height: 90vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
box-shadow: 0 20px 40px rgba(0,0,0,0.15);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.modal-panel-header {
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 16px 20px;
|
|
border-bottom: 1px solid #e2e8f0;
|
|
}
|
|
|
|
.modal-panel-title {
|
|
margin: 0;
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
color: #1e1e1e;
|
|
}
|
|
|
|
.modal-panel-close {
|
|
width: 40px;
|
|
height: 40px;
|
|
border: none;
|
|
background: none;
|
|
font-size: 24px;
|
|
color: #64748b;
|
|
cursor: pointer;
|
|
line-height: 1;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.modal-panel-close:hover,
|
|
.modal-panel-close:active {
|
|
background: #f1f5f9;
|
|
color: #1e1e1e;
|
|
}
|
|
|
|
.modal-panel-body {
|
|
flex: 1;
|
|
padding: 20px;
|
|
overflow-y: auto;
|
|
min-height: 0;
|
|
}
|
|
|
|
.modal-panel-hint {
|
|
font-size: 14px;
|
|
color: #475569;
|
|
margin-bottom: 16px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.modal-panel-actions {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.modal-panel-actions-row {
|
|
flex-direction: row;
|
|
justify-content: flex-end;
|
|
gap: 10px;
|
|
}
|
|
|
|
.modal-panel-actions .btn-outline,
|
|
.modal-panel-actions .btn-primary {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.modal-panel-actions-row .btn-outline {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
.modal-panel-actions-row .btn-primary {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.btn-outline {
|
|
width: 100%;
|
|
padding: 12px 20px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: #475569;
|
|
background: #fff;
|
|
border: 2px solid #e2e8f0;
|
|
border-radius: 12px;
|
|
cursor: pointer;
|
|
transition: background 0.15s, border-color 0.15s;
|
|
}
|
|
.btn-outline:active {
|
|
background: #f1f5f9;
|
|
border-color: #cbd5e1;
|
|
}
|
|
|
|
.btn-primary {
|
|
width: 100%;
|
|
padding: 12px 20px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: #fff;
|
|
background: #2563eb;
|
|
border: 2px solid #2563eb;
|
|
border-radius: 12px;
|
|
cursor: pointer;
|
|
transition: background 0.15s, border-color 0.15s;
|
|
}
|
|
.btn-primary:active {
|
|
background: #1d4ed8;
|
|
border-color: #1d4ed8;
|
|
}
|
|
|
|
.btn-sm {
|
|
padding: 8px 16px;
|
|
font-size: 13px;
|
|
max-width: 120px;
|
|
margin: 0 auto;
|
|
display: block;
|
|
}
|
|
|
|
/* Modal kamera fullscreen */
|
|
.modal-panel-camera {
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
height: 100%;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.modal-panel-camera .modal-panel-body {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
}
|
|
|
|
.camera-frame {
|
|
position: relative;
|
|
width: 100%;
|
|
flex: 1;
|
|
min-height: 240px;
|
|
background: #000;
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.camera-video {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
display: block;
|
|
}
|
|
|
|
.camera-face-status {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: #16a34a;
|
|
margin-bottom: 12px;
|
|
min-height: 22px;
|
|
}
|
|
.camera-face-status.detecting { color: #2563eb; }
|
|
.camera-face-status.sending { color: #ca8a04; }
|
|
.camera-face-status.success { color: #16a34a; }
|
|
|
|
.camera-frame-error {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 20px;
|
|
color: #fef2f2;
|
|
background: #1e1e1e;
|
|
font-size: 14px;
|
|
text-align: center;
|
|
}
|
|
|
|
.qr-reader-wrap {
|
|
margin-bottom: 12px;
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
background: #000;
|
|
min-height: 200px;
|
|
}
|
|
.qr-reader-wrap #qr-reader {
|
|
width: 100%;
|
|
}
|
|
.qr-reader-wrap video {
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.modal-panel-status {
|
|
font-size: 13px;
|
|
color: #64748b;
|
|
margin: 0;
|
|
min-height: 20px;
|
|
}
|
|
|
|
/* ---------- Result popup (hasil absen) ---------- */
|
|
.result-popup {
|
|
margin-top: 20px;
|
|
padding: 20px;
|
|
border-radius: 16px;
|
|
background: #fff;
|
|
border: 2px solid #e2e8f0;
|
|
box-shadow: 0 4px 20px rgba(0,0,0,0.08);
|
|
}
|
|
|
|
.result-popup.success { border-color: #22c55e; background: #f0fdf4; }
|
|
.result-popup.warning { border-color: #eab308; background: #fefce8; }
|
|
.result-popup.danger { border-color: #ef4444; background: #fef2f2; }
|
|
|
|
.result-popup-inner {
|
|
text-align: center;
|
|
}
|
|
|
|
.result-popup-icon {
|
|
font-size: 32px;
|
|
margin-bottom: 8px;
|
|
line-height: 1;
|
|
}
|
|
.result-popup.success .result-popup-icon { color: #16a34a; }
|
|
.result-popup.warning .result-popup-icon { color: #ca8a04; }
|
|
.result-popup.danger .result-popup-icon { color: #dc2626; }
|
|
|
|
.result-popup-status {
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
margin-bottom: 6px;
|
|
}
|
|
.result-popup.success .result-popup-status { color: #16a34a; }
|
|
.result-popup.warning .result-popup-status { color: #ca8a04; }
|
|
.result-popup.danger .result-popup-status { color: #dc2626; }
|
|
|
|
.result-popup-message {
|
|
font-size: 14px;
|
|
color: #475569;
|
|
margin-bottom: 16px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.result-popup .btn-outline.btn-sm {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.camera-modal-backdrop {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
.camera-modal {
|
|
padding: 0;
|
|
align-items: stretch;
|
|
justify-content: stretch;
|
|
}
|
|
|
|
/* ---------- Toast ---------- */
|
|
.toast-container {
|
|
position: fixed;
|
|
bottom: 24px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
z-index: 1100;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.toast {
|
|
padding: 12px 20px;
|
|
border-radius: 12px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: #fff;
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
|
|
white-space: nowrap;
|
|
max-width: 90vw;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.toast-success { background: #16a34a; }
|
|
.toast-error { background: #dc2626; }
|
|
.toast-info { background: #2563eb; }
|
|
|
|
/* ---------- Peringatan file:// ---------- */
|
|
.file-protocol-warning {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 2000;
|
|
background: #fef3c7;
|
|
border-bottom: 2px solid #f59e0b;
|
|
padding: 16px;
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.file-protocol-warning-inner {
|
|
max-width: 480px;
|
|
margin: 0 auto;
|
|
font-size: 14px;
|
|
color: #92400e;
|
|
}
|
|
|
|
.file-protocol-warning-inner strong { display: block; margin-bottom: 8px; }
|
|
.file-protocol-warning-inner p { margin-bottom: 8px; }
|
|
.file-protocol-warning-inner ol { margin-left: 20px; margin-bottom: 8px; }
|
|
.file-protocol-warning-inner li { margin-bottom: 4px; }
|
|
.file-protocol-warning-inner code {
|
|
background: rgba(0,0,0,0.08);
|
|
padding: 2px 6px;
|
|
border-radius: 4px;
|
|
font-size: 13px;
|
|
}
|
|
.file-protocol-warning-inner a { color: #2563eb; font-weight: 600; }
|
|
|
|
.modal-hint {
|
|
font-size: 13px;
|
|
color: #475569;
|
|
background: #f1f5f9;
|
|
padding: 12px;
|
|
border-radius: 8px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.modal-hint code { font-size: 12px; background: #e2e8f0; padding: 2px 4px; border-radius: 4px; }
|
|
|
|
/* ---------- Form status & Student summary ---------- */
|
|
.form-status {
|
|
font-size: 13px;
|
|
margin: -8px 0 12px 16px;
|
|
min-height: 18px;
|
|
}
|
|
|
|
.student-summary {
|
|
background: #f0f9ff;
|
|
border: 1px solid #bae6fd;
|
|
border-radius: 12px;
|
|
padding: 12px 16px;
|
|
margin-bottom: 20px;
|
|
font-size: 14px;
|
|
color: #0c4a6e;
|
|
}
|
|
|
|
.student-summary strong {
|
|
display: block;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
/* ---------- Home: greeting, card, logout ---------- */
|
|
.home-greeting {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.home-greeting-title {
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
color: #1e1e1e;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.home-greeting-sub {
|
|
font-size: 14px;
|
|
color: #64748b;
|
|
}
|
|
|
|
.home-info-box {
|
|
background: #f0f9ff;
|
|
border: 1px solid #bae6fd;
|
|
border-radius: 12px;
|
|
padding: 14px 16px;
|
|
margin-bottom: 16px;
|
|
font-size: 13px;
|
|
color: #0c4a6e;
|
|
}
|
|
|
|
.home-info-box strong {
|
|
display: block;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.home-info-box ul {
|
|
margin: 0;
|
|
padding-left: 18px;
|
|
}
|
|
|
|
.home-info-box li {
|
|
margin-bottom: 6px;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.home-info-box li:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.home-card {
|
|
background: #fff;
|
|
border-radius: 16px;
|
|
padding: 20px;
|
|
margin-bottom: 20px;
|
|
border: 1px solid #e2e8f0;
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.04);
|
|
}
|
|
|
|
.home-card .home-card-label {
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: #64748b;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.home-card .location-status {
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.home-card .secondary-button {
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.home-card .login-button {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
/* ---------- Home: enterprise presence grid ---------- */
|
|
.home-presence-grid {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.presence-card {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 14px;
|
|
padding: 16px;
|
|
background: #fff;
|
|
border-radius: 12px;
|
|
border: 1px solid #e2e8f0;
|
|
box-shadow: 0 1px 3px rgba(0,0,0,0.06);
|
|
}
|
|
|
|
.presence-card-featured {
|
|
border-color: #2563eb;
|
|
background: linear-gradient(135deg, #eff6ff 0%, #fff 100%);
|
|
box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
|
|
}
|
|
|
|
.presence-card-icon {
|
|
flex-shrink: 0;
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.presence-card-icon svg {
|
|
width: 24px;
|
|
height: 24px;
|
|
}
|
|
|
|
.presence-card-icon-masuk {
|
|
background: #dcfce7;
|
|
color: #16a34a;
|
|
}
|
|
|
|
.presence-card-icon-mapel {
|
|
background: #dbeafe;
|
|
color: #2563eb;
|
|
}
|
|
|
|
.presence-card-icon-pulang {
|
|
background: #fef3c7;
|
|
color: #d97706;
|
|
}
|
|
|
|
.presence-card-body {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.presence-card-label {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: #1e293b;
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.presence-card-hint {
|
|
font-size: 12px;
|
|
color: #64748b;
|
|
margin: 0 0 10px 0;
|
|
}
|
|
|
|
.presence-card-status {
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: #16a34a;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.presence-card-btn {
|
|
display: block;
|
|
width: 100%;
|
|
padding: 10px 16px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
border: none;
|
|
border-radius: 10px;
|
|
cursor: pointer;
|
|
touch-action: manipulation;
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
|
|
.presence-card-btn-primary {
|
|
background: #16a34a;
|
|
color: #fff;
|
|
}
|
|
|
|
.presence-card-btn-primary:active {
|
|
background: #15803d;
|
|
}
|
|
|
|
.presence-card-btn-secondary {
|
|
background: #d97706;
|
|
color: #fff;
|
|
}
|
|
|
|
.presence-card-btn-secondary:active {
|
|
background: #b45309;
|
|
}
|
|
|
|
.presence-card-btn-featured {
|
|
background: #2563eb;
|
|
color: #fff;
|
|
}
|
|
|
|
.presence-card-btn-featured:active {
|
|
background: #1d4ed8;
|
|
}
|
|
|
|
.student-summary-compact {
|
|
margin-bottom: 16px;
|
|
padding: 12px 16px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.home-location-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
padding: 10px 14px;
|
|
background: #f8fafc;
|
|
border-radius: 10px;
|
|
font-size: 12px;
|
|
color: #64748b;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.location-status-inline {
|
|
flex: 1;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.link-button {
|
|
background: none;
|
|
border: none;
|
|
font-size: 18px;
|
|
color: #64748b;
|
|
cursor: pointer;
|
|
padding: 4px;
|
|
}
|
|
|
|
.link-button:active {
|
|
color: #2563eb;
|
|
}
|
|
|
|
.result-box-compact {
|
|
margin-top: 12px;
|
|
padding: 12px 16px;
|
|
}
|
|
|
|
.result-box-compact .result-message {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.home-footer {
|
|
margin-top: auto;
|
|
padding-top: 24px;
|
|
text-align: center;
|
|
}
|
|
|
|
.logout-link {
|
|
font-size: 14px;
|
|
color: #64748b;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.logout-link:hover,
|
|
.logout-link:active {
|
|
color: #dc2626;
|
|
}
|
|
|
|
/* ---------- Home: location & result ---------- */
|
|
.location-status {
|
|
padding: 12px 16px;
|
|
border-radius: 12px;
|
|
border: 2px solid rgba(148, 163, 184, 0.4);
|
|
font-size: 13px;
|
|
color: #64748b;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.secondary-button {
|
|
width: 100%;
|
|
padding: 12px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: #2563eb;
|
|
background: #eff6ff;
|
|
border: 2px solid #2563eb;
|
|
border-radius: 12px;
|
|
cursor: pointer;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.secondary-button:active {
|
|
background: #dbeafe;
|
|
}
|
|
|
|
.result-box {
|
|
margin-top: 20px;
|
|
padding: 16px;
|
|
border-radius: 12px;
|
|
background: #f8fafc;
|
|
border: 2px solid #e2e8f0;
|
|
}
|
|
|
|
.result-box.success { border-color: #22c55e; background: #f0fdf4; }
|
|
.result-box.warning { border-color: #eab308; background: #fefce8; }
|
|
.result-box.danger { border-color: #ef4444; background: #fef2f2; }
|
|
|
|
.result-status {
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.result-status.success { color: #16a34a; }
|
|
.result-status.warning { color: #ca8a04; }
|
|
.result-status.danger { color: #dc2626; }
|
|
|
|
.result-message {
|
|
font-size: 14px;
|
|
color: #475569;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.result-meta {
|
|
font-size: 12px;
|
|
color: #94a3b8;
|
|
}
|
|
|
|
/* Select di form */
|
|
select.input-full {
|
|
width: 100%;
|
|
padding: 14px 20px;
|
|
border-radius: 28px;
|
|
border: 2px solid #eeeeee;
|
|
background: #eeeeee;
|
|
font-size: 16px;
|
|
color: #1e1e1e;
|
|
} |