styles.css 모놀리스를 @import 기반 모듈 구조로 분리: - base.css: CSS 변수, 리셋, 폰트 - layout.css: 그리드 레이아웃, 반응형 - components/: topbar, panels, toggles, speed, vessel-list, ais-list, alarms, relations, map-panels, map-settings, auth, weather, weather-overlay Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
357 lines
5.9 KiB
CSS
357 lines
5.9 KiB
CSS
/* ── Weather Overlay Panel (MapTiler) ────────────────────────────── */
|
|
|
|
.wo-gear {
|
|
position: absolute;
|
|
top: 180px;
|
|
left: 10px;
|
|
z-index: 850;
|
|
width: 29px;
|
|
height: 29px;
|
|
border-radius: 4px;
|
|
border: 1px solid var(--border);
|
|
background: rgba(15, 23, 42, 0.92);
|
|
backdrop-filter: blur(8px);
|
|
color: var(--muted);
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 16px;
|
|
transition: color 0.15s, border-color 0.15s;
|
|
user-select: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.wo-gear:hover {
|
|
color: var(--text);
|
|
border-color: var(--accent);
|
|
}
|
|
|
|
.wo-gear.open {
|
|
color: var(--accent);
|
|
border-color: var(--accent);
|
|
}
|
|
|
|
.wo-gear.active {
|
|
border-color: #22c55e;
|
|
}
|
|
|
|
.wo-gear.active.open {
|
|
border-color: var(--accent);
|
|
}
|
|
|
|
.wo-gear-badge {
|
|
position: absolute;
|
|
top: -4px;
|
|
right: -4px;
|
|
background: #22c55e;
|
|
color: #fff;
|
|
font-size: 8px;
|
|
font-weight: 700;
|
|
width: 14px;
|
|
height: 14px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
line-height: 1;
|
|
}
|
|
|
|
.wo-stack {
|
|
position: absolute;
|
|
top: 170px;
|
|
left: 48px;
|
|
z-index: 850;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
width: 280px;
|
|
pointer-events: none;
|
|
}
|
|
.wo-stack > * {
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.wo-panel {
|
|
background: rgba(15, 23, 42, 0.95);
|
|
backdrop-filter: blur(8px);
|
|
border: 1px solid var(--border);
|
|
border-radius: 8px;
|
|
padding: 10px;
|
|
width: 100%;
|
|
max-height: calc(100vh - 240px);
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.wo-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.wo-title {
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
color: var(--text);
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
.wo-loading {
|
|
font-size: 9px;
|
|
color: var(--accent);
|
|
animation: wo-pulse 1.2s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes wo-pulse {
|
|
0%, 100% { opacity: 1; }
|
|
50% { opacity: 0.4; }
|
|
}
|
|
|
|
.wo-layers {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 4px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.wo-layer-btn {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 2px;
|
|
padding: 6px 4px;
|
|
border-radius: 6px;
|
|
border: 1px solid var(--border);
|
|
background: rgba(255, 255, 255, 0.03);
|
|
color: var(--muted);
|
|
cursor: pointer;
|
|
transition: all 0.15s;
|
|
font-size: 10px;
|
|
}
|
|
|
|
.wo-layer-btn:hover {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
color: var(--text);
|
|
border-color: rgba(59, 130, 246, 0.4);
|
|
}
|
|
|
|
.wo-layer-btn.on {
|
|
background: rgba(59, 130, 246, 0.15);
|
|
color: var(--text);
|
|
border-color: var(--accent);
|
|
}
|
|
|
|
.wo-layer-icon {
|
|
font-size: 16px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.wo-layer-name {
|
|
font-size: 9px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.3px;
|
|
}
|
|
|
|
.wo-section {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.wo-label {
|
|
font-size: 9px;
|
|
font-weight: 600;
|
|
color: var(--text);
|
|
margin-bottom: 4px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.wo-val {
|
|
font-weight: 400;
|
|
color: var(--muted);
|
|
font-size: 9px;
|
|
}
|
|
.wo-offset {
|
|
color: #4fc3f7;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.wo-slider {
|
|
width: 100%;
|
|
height: 4px;
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
background: var(--border);
|
|
border-radius: 2px;
|
|
outline: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.wo-slider::-webkit-slider-thumb {
|
|
-webkit-appearance: none;
|
|
width: 12px;
|
|
height: 12px;
|
|
border-radius: 50%;
|
|
background: var(--accent);
|
|
border: 2px solid var(--panel);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.wo-slider::-moz-range-thumb {
|
|
width: 12px;
|
|
height: 12px;
|
|
border-radius: 50%;
|
|
background: var(--accent);
|
|
border: 2px solid var(--panel);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.wo-slider:disabled {
|
|
opacity: 0.4;
|
|
cursor: default;
|
|
}
|
|
|
|
.wo-timeline {
|
|
padding-top: 8px;
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
|
|
.wo-step-slider-wrap {
|
|
position: relative;
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
.wo-time-slider {
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.wo-step-ticks {
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
height: 8px;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.wo-step-tick {
|
|
position: absolute;
|
|
bottom: 0;
|
|
width: 1px;
|
|
height: 4px;
|
|
background: var(--muted);
|
|
opacity: 0.4;
|
|
transform: translateX(-0.5px);
|
|
}
|
|
|
|
.wo-step-tick.day {
|
|
height: 8px;
|
|
opacity: 0.8;
|
|
background: var(--accent);
|
|
}
|
|
|
|
.wo-time-range {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
font-size: 8px;
|
|
color: var(--muted);
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.wo-playback {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.wo-play-btn {
|
|
width: 26px;
|
|
height: 26px;
|
|
border-radius: 50%;
|
|
border: 1px solid var(--border);
|
|
background: var(--card);
|
|
color: var(--text);
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 11px;
|
|
transition: all 0.15s;
|
|
padding: 0;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.wo-play-btn:hover {
|
|
border-color: var(--accent);
|
|
background: rgba(59, 130, 246, 0.12);
|
|
}
|
|
|
|
.wo-play-btn:disabled {
|
|
opacity: 0.4;
|
|
cursor: default;
|
|
}
|
|
|
|
.wo-speed-btns {
|
|
display: flex;
|
|
gap: 2px;
|
|
}
|
|
|
|
.wo-speed-btn {
|
|
font-size: 8px;
|
|
padding: 3px 6px;
|
|
border-radius: 3px;
|
|
border: 1px solid var(--border);
|
|
background: transparent;
|
|
color: var(--muted);
|
|
cursor: pointer;
|
|
transition: all 0.15s;
|
|
}
|
|
|
|
.wo-speed-btn:hover {
|
|
color: var(--text);
|
|
border-color: rgba(59, 130, 246, 0.4);
|
|
}
|
|
|
|
.wo-speed-btn.on {
|
|
background: rgba(59, 130, 246, 0.15);
|
|
color: var(--text);
|
|
border-color: var(--accent);
|
|
}
|
|
|
|
.wo-hint {
|
|
font-size: 8px;
|
|
color: var(--muted);
|
|
text-align: right;
|
|
margin-top: 4px;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
/* ── Weather Legend ── */
|
|
.wo-legend {
|
|
background: rgba(15, 23, 42, 0.85);
|
|
backdrop-filter: blur(8px);
|
|
border: 1px solid var(--border);
|
|
border-radius: 6px;
|
|
padding: 6px 10px 4px;
|
|
width: 100%;
|
|
}
|
|
.wo-legend-header {
|
|
font-size: 9px;
|
|
color: var(--muted);
|
|
margin-bottom: 4px;
|
|
text-align: center;
|
|
}
|
|
.wo-legend-bar {
|
|
height: 10px;
|
|
border-radius: 3px;
|
|
width: 100%;
|
|
}
|
|
.wo-legend-ticks {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
font-size: 8px;
|
|
color: var(--muted);
|
|
margin-top: 2px;
|
|
}
|