pertama dan terakhir
This commit is contained in:
@@ -0,0 +1,68 @@
|
||||
/* map.css
|
||||
* Tanggung Jawab: Styling container peta, kontrol Leaflet, dan pop-up modern.
|
||||
*/
|
||||
|
||||
.map-container {
|
||||
flex: 1;
|
||||
position: relative;
|
||||
background: #E2E8F0;
|
||||
}
|
||||
|
||||
#map {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
/* Customizing Leaflet Controls */
|
||||
.leaflet-control-zoom {
|
||||
border: none !important;
|
||||
box-shadow: var(--shadow-md) !important;
|
||||
border-radius: var(--radius-md) !important;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.leaflet-control-zoom a {
|
||||
color: var(--text-main) !important;
|
||||
background: var(--surface-glass) !important;
|
||||
backdrop-filter: blur(8px);
|
||||
transition: var(--transition);
|
||||
}
|
||||
|
||||
.leaflet-control-zoom a:hover {
|
||||
background: var(--surface) !important;
|
||||
color: var(--primary) !important;
|
||||
}
|
||||
|
||||
/* Custom Popup Modern */
|
||||
.leaflet-popup-content-wrapper {
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: var(--shadow-lg);
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.leaflet-popup-content {
|
||||
margin: 14px;
|
||||
font-family: 'Inter', sans-serif;
|
||||
}
|
||||
|
||||
.popup-title {
|
||||
font-size: 1.1rem;
|
||||
font-weight: 600;
|
||||
color: var(--text-main);
|
||||
margin-bottom: 6px;
|
||||
border-bottom: 2px solid var(--primary);
|
||||
padding-bottom: 4px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.popup-desc {
|
||||
font-size: 0.9rem;
|
||||
color: var(--text-muted);
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.popup-action {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
Reference in New Issue
Block a user