DMRmap/static/style.css
2026-02-08 14:09:14 +01:00

135 lines
2.1 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html, body {
height: 100%;
overflow: hidden;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
#map {
width: 100%;
height: 100%;
}
#controls {
position: absolute;
top: 10px;
right: 10px;
z-index: 1000;
background: white;
border-radius: 8px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
padding: 10px 14px;
display: flex;
gap: 12px;
}
#controls label {
display: flex;
align-items: center;
gap: 6px;
cursor: pointer;
font-size: 14px;
font-weight: 600;
min-height: 44px;
user-select: none;
}
#controls input[type="checkbox"] {
width: 18px;
height: 18px;
cursor: pointer;
}
#band-2m:checked + span,
#controls label:first-child {
color: #1976D2;
}
#controls label:last-child {
color: #F57C00;
}
#status-bar {
position: absolute;
bottom: 0;
left: 0;
right: 0;
z-index: 1000;
background: rgba(255, 255, 255, 0.9);
padding: 8px 16px;
font-size: 13px;
color: #333;
text-align: center;
backdrop-filter: blur(4px);
}
#status-bar.truncated {
background: rgba(255, 193, 7, 0.9);
color: #333;
font-weight: 600;
}
.rptr-popup h3 {
margin: 0 0 6px 0;
font-size: 15px;
color: #222;
}
.rptr-popup table {
width: 100%;
border-collapse: collapse;
font-size: 12px;
}
.rptr-popup td {
padding: 2px 6px;
border-bottom: 1px solid #eee;
vertical-align: top;
}
.rptr-popup td:first-child {
font-weight: 600;
color: #666;
white-space: nowrap;
width: 80px;
}
.rptr-popup .band-tag {
display: inline-block;
padding: 1px 6px;
border-radius: 3px;
font-size: 11px;
font-weight: 600;
color: white;
}
.rptr-popup .band-2m {
background: #2196F3;
}
.rptr-popup .band-70cm {
background: #FF9800;
}
@media (max-width: 768px) {
#controls {
top: 10px;
right: 10px;
padding: 8px 10px;
gap: 8px;
}
#controls label {
font-size: 13px;
}
#status-bar {
font-size: 12px;
padding: 6px 12px;
}
}