menambahkan fitur login dan edit data

This commit is contained in:
powji17
2026-06-10 16:02:04 +07:00
parent 64ca4e3565
commit 7c1b4375e7
17 changed files with 1201 additions and 67 deletions
+87 -5
View File
@@ -12,11 +12,17 @@ html, body {
/* Styling Ikon Mode */
.mode-selector { margin-bottom: 20px; }
.mode-buttons { display: flex; gap: 10px; justify-content: space-between; }
.mode-buttons {
display: flex;
justify-content: center;
gap: 8px;
margin-bottom: 8px;
}
.mode-btn {
flex: 1; padding: 15px 5px; background: #fff; border: 2px solid #ccc;
border-radius: 8px; cursor: pointer; text-align: center;
transition: all 0.3s ease; color: #555; font-size: 12px; font-weight: bold;
flex: 0 0 auto; /* tidak melebar penuh */
width: 110px;
padding: 10px 8px;
text-align: center;
}
.mode-btn i { font-size: 24px; margin-bottom: 8px; display: block; }
.mode-btn:hover { background: #e9ecef; }
@@ -51,4 +57,80 @@ html, body {
.btn-danger { background-color: #e74c3c; color: white; border: none; }
#map-container { flex: 1; position: relative; }
#map { position: absolute; top: 0; bottom: 0; left: 0; right: 0; }
#map { position: absolute; top: 0; bottom: 0; left: 0; right: 0; }
.user-info {
display: flex;
flex-direction: column;
align-items: center;
padding: 12px;
background: #f0f4f8;
border-radius: 8px;
margin-bottom: 12px;
gap: 4px;
}
.user-info i {
font-size: 28px;
color: #1B2A4A;
}
.user-info span {
font-weight: 600;
font-size: 14px;
color: #1B2A4A;
}
.user-info small {
font-size: 11px;
background: #1B2A4A;
color: white;
padding: 2px 8px;
border-radius: 20px;
text-transform: uppercase;
}
.viewer-info {
font-size: 13px;
color: #888;
text-align: center;
margin-bottom: 10px;
}
.btn-login, .btn-logout, .menu-link {
display: block;
width: 100%;
padding: 10px;
text-align: center;
border-radius: 8px;
font-size: 14px;
font-weight: 600;
text-decoration: none;
margin-bottom: 8px;
cursor: pointer;
border: none;
}
.btn-login {
background: #1B2A4A;
color: white;
}
.btn-logout {
background: #fdecea;
color: #c0392b;
}
.menu-link,
.btn-logout,
.btn-login {
width: auto; /* tidak full width lagi */
display: block;
margin: 0 auto 8px auto;
padding: 10px 24px;
text-align: center;
}
.btn-login:hover { background: #253d6e; }
.btn-logout:hover { background: #f5b7b1; }
.menu-link:hover { background: #dce4f0; }