veilmap/style.css
2026-04-20 05:56:05 -04:00

86 lines
1.9 KiB
CSS

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
width: 100%; height: 100%;
overflow: hidden;
background: #060a18;
font-family: 'JetBrains Mono', monospace;
}
#container {
position: relative;
width: 100%; height: 100%;
}
#map-bottom, #map-top, #fog {
position: absolute;
top: 0; left: 0;
width: 100%; height: 100%;
}
#map-bottom { z-index: 1; }
#fog { z-index: 2; pointer-events: none; will-change: transform; }
#map-top { z-index: 3; }
#brush-cursor {
position: fixed;
border: 1.5px solid rgba(255,255,255,0.55);
border-radius: 50%;
pointer-events: none;
z-index: 10;
transform: translate(-50%, -50%);
display: none;
}
/* Toolbar */
#toolbar {
position: fixed;
top: 12px;
left: 50%;
transform: translateX(-50%);
z-index: 20;
display: flex;
align-items: center;
gap: 8px;
padding: 6px 14px;
background: rgba(6,10,24,0.92);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
border: 0.5px solid rgba(200,215,255,0.15);
border-radius: 6px;
font-family: 'JetBrains Mono', monospace;
font-size: 12px;
color: rgba(220,230,255,0.8);
}
.tool-btn {
background: transparent;
border: 0.5px solid rgba(200,215,255,0.2);
color: rgba(220,230,255,0.7);
padding: 4px 10px;
border-radius: 4px;
font-family: inherit;
font-size: 11px;
cursor: pointer;
transition: background 0.15s, color 0.15s;
}
.tool-btn:hover { background: rgba(200,215,255,0.08); color: #fff; }
.tool-btn.active { background: rgba(200,215,255,0.14); color: #fff; }
.divider {
width: 1px; height: 18px;
background: rgba(200,215,255,0.15);
}
.tool-label { font-size: 11px; opacity: 0.6; }
#brush-slider {
width: 90px;
accent-color: rgba(200,215,255,0.5);
}
/* Hide maplibre controls on top map so they don't double up */
#map-top .maplibregl-control-container { display: none; }
#map-bottom .maplibregl-control-container { display: none; }