release: bump version to 0.35.0

This commit is contained in:
linkong
2026-04-22 17:29:24 +08:00
parent 5b623a6385
commit f73fa1ea6d
24 changed files with 2496 additions and 187 deletions

View File

@@ -117,6 +117,7 @@
.hud-panel-drag-handle {
cursor: grab;
user-select: none;
touch-action: none;
}
.hud-panel-drag-handle:active {
@@ -260,6 +261,779 @@
display: none !important;
}
/* ── Mobile popup card ───────────────────────────────────────── */
.earth-mobile-popup {
display: none;
}
.layout-mode-mobile .earth-mobile-popup {
display: flex;
position: fixed;
z-index: 260;
align-items: center;
gap: 10px;
padding: 10px 12px 10px 12px;
max-width: 220px;
min-width: 120px;
background: linear-gradient(145deg, rgba(14, 25, 42, 0.97), rgba(7, 15, 28, 0.97));
border: 1px solid rgba(200, 224, 255, 0.13);
border-radius: 20px;
box-shadow: 0 10px 36px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(140, 190, 255, 0.05);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
pointer-events: auto;
opacity: 0;
transform: scale(0.86) translateY(4px);
transition: opacity 0.17s ease, transform 0.17s cubic-bezier(0.22, 1, 0.36, 1);
cursor: grab;
user-select: none;
touch-action: none;
}
.layout-mode-mobile .earth-mobile-popup:active {
cursor: grabbing;
}
.layout-mode-mobile .earth-mobile-popup[hidden] {
display: none;
}
.layout-mode-mobile .earth-mobile-popup.is-visible {
opacity: 1;
transform: scale(1) translateY(0);
}
.earth-mobile-popup-icon {
font-size: 1.25rem;
flex-shrink: 0;
line-height: 1;
}
.earth-mobile-popup-body {
flex: 1;
min-width: 0;
}
.earth-mobile-popup-title {
color: var(--hud-text);
font-size: 0.84rem;
font-weight: 700;
line-height: 1.25;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
letter-spacing: 0.01em;
}
.earth-mobile-popup-sub {
color: var(--hud-text-muted);
font-size: 0.70rem;
margin-top: 2px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
letter-spacing: 0.03em;
}
.earth-mobile-popup-chevron {
color: rgba(160, 200, 255, 0.5);
font-size: 1rem;
flex-shrink: 0;
}
/* ── Mobile drawer ───────────────────────────────────────────── */
.earth-mobile-drawer-overlay,
.earth-mobile-drawer-shell {
display: none;
}
.layout-mode-mobile .earth-mobile-drawer-overlay,
.layout-mode-mobile .earth-mobile-drawer-shell {
display: block;
}
.earth-mobile-drawer-overlay {
position: fixed;
inset: 0;
background: linear-gradient(180deg, rgba(3, 8, 16, 0.06), rgba(3, 8, 16, 0.54));
opacity: 0;
pointer-events: none;
transition: opacity 0.22s ease;
z-index: 245;
}
.earth-mobile-drawer-shell {
position: fixed;
left: 0;
right: 0;
bottom: 0;
z-index: 250;
pointer-events: none;
}
.earth-mobile-drawer-sheet {
position: relative;
min-height: calc(240px + var(--safe-bottom));
max-height: min(78vh, calc(100vh - 72px - var(--safe-top)));
padding: 10px 14px calc(14px + var(--safe-bottom)) 14px;
border-top-left-radius: 28px;
border-top-right-radius: 28px;
background:
linear-gradient(180deg, rgba(15, 27, 43, 0.98), rgba(7, 14, 24, 0.98)),
rgba(5, 10, 19, 0.92);
border-top: 1px solid rgba(220, 238, 255, 0.1);
box-shadow: 0 -26px 60px rgba(0, 0, 0, 0.38);
transform: translateY(calc(100% - 36px - var(--safe-bottom)));
transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
pointer-events: none;
touch-action: none;
}
.earth-mobile-drawer-header {
padding: 10px 4px 8px;
cursor: ns-resize;
user-select: none;
pointer-events: auto;
}
.earth-mobile-drawer-grabber {
width: 54px;
height: 5px;
margin: 0 auto;
border-radius: 999px;
background: rgba(225, 239, 255, 0.18);
}
.earth-mobile-drawer-tabs {
display: grid;
grid-template-columns: repeat(6, minmax(0, 1fr));
gap: 8px;
padding-bottom: 12px;
}
.earth-mobile-drawer-tab {
min-height: 40px;
border: 1px solid rgba(201, 225, 247, 0.12);
border-radius: 12px;
background: rgba(255, 255, 255, 0.04);
color: var(--hud-text-muted);
font-size: 0.78rem;
font-weight: 600;
letter-spacing: 0.03em;
cursor: pointer;
transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.earth-mobile-drawer-tab.is-active {
color: var(--hud-title);
background: rgba(122, 180, 255, 0.14);
border-color: rgba(122, 180, 255, 0.24);
}
.earth-mobile-drawer-content {
position: relative;
min-height: 0;
max-height: calc(78vh - 108px - var(--safe-bottom));
overflow: hidden;
}
.earth-mobile-drawer-slot {
display: none;
min-height: 0;
max-height: inherit;
overflow: auto;
overscroll-behavior: contain;
}
.earth-mobile-drawer-slot.is-active {
display: block;
}
.earth-mobile-drawer-slot--situation {
display: none;
gap: 12px;
}
.earth-mobile-drawer-slot--situation.is-active {
display: grid;
}
@keyframes earth-drawer-hint {
0% { transform: translateY(calc(100% - 36px - var(--safe-bottom))); }
14% { transform: translateY(calc(100% - 36px - var(--safe-bottom) - 22px)); }
26% { transform: translateY(calc(100% - 36px - var(--safe-bottom) - 4px)); }
38% { transform: translateY(calc(100% - 36px - var(--safe-bottom) - 14px)); }
50% { transform: translateY(calc(100% - 36px - var(--safe-bottom) - 1px)); }
62% { transform: translateY(calc(100% - 36px - var(--safe-bottom) - 7px)); }
76% { transform: translateY(calc(100% - 36px - var(--safe-bottom))); }
100% { transform: translateY(calc(100% - 36px - var(--safe-bottom))); }
}
.layout-mode-mobile .earth-mobile-drawer-sheet.is-hinting {
animation: earth-drawer-hint 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.layout-mode-mobile.earth-mobile-drawer-open .earth-mobile-drawer-overlay {
opacity: 1;
pointer-events: auto;
}
.layout-mode-mobile.earth-mobile-drawer-open .earth-mobile-drawer-sheet {
transform: translateY(0);
pointer-events: auto;
}
.layout-mode-mobile .earth-left-column {
pointer-events: none;
}
.layout-mode-mobile #brand-panel {
pointer-events: auto;
}
.layout-mode-mobile #search-modal,
.layout-mode-mobile #settings-modal {
display: block;
position: static;
inset: auto;
pointer-events: none;
}
.layout-mode-mobile #search-backdrop,
.layout-mode-mobile #settings-backdrop {
display: none;
}
.layout-mode-mobile .earth-mobile-drawer-slot > .hud-panel,
.layout-mode-mobile .earth-mobile-drawer-slot > .earth-search-sheet,
.layout-mode-mobile .earth-mobile-drawer-slot > .earth-settings-sheet {
position: relative !important;
inset: auto !important;
left: auto !important;
right: auto !important;
top: auto !important;
bottom: auto !important;
transform: none !important;
width: 100% !important;
max-width: none !important;
min-width: 0 !important;
max-height: none !important;
height: auto !important;
margin: 0;
pointer-events: auto;
opacity: 1 !important;
filter: none !important;
visibility: visible !important;
}
.layout-mode-mobile .earth-mobile-drawer-slot > .hud-panel {
box-shadow: none;
}
.layout-mode-mobile .earth-mobile-drawer-slot > .earth-search-sheet {
display: flex !important;
}
.layout-mode-mobile .earth-mobile-drawer-slot > .earth-settings-sheet {
display: flex !important;
}
.layout-mode-mobile .earth-mobile-drawer-slot .hud-panel-drag-handle {
cursor: default;
}
.layout-mode-mobile .earth-mobile-drawer-slot .tv-panel-edge {
display: none;
}
.layout-mode-mobile .earth-mobile-drawer-slot .tv-panel-player {
min-height: 220px;
}
.layout-mode-mobile #layer-toggles,
.layout-mode-mobile #legend,
.layout-mode-mobile #earth-stats,
.layout-mode-mobile #media-panel,
.layout-mode-mobile #search-modal,
.layout-mode-mobile #settings-modal,
.layout-mode-mobile #info-panel {
display: none !important;
}
.earth-mobile-page {
display: flex;
flex-direction: column;
gap: 14px;
min-height: 0;
}
.earth-mobile-page-intro {
display: flex;
flex-direction: column;
gap: 4px;
}
.earth-mobile-page-kicker {
color: var(--hud-text-muted);
font-size: 0.68rem;
letter-spacing: 0.12em;
text-transform: uppercase;
}
.earth-mobile-page-summary {
color: var(--hud-text-soft);
font-size: 0.84rem;
line-height: 1.4;
}
.earth-mobile-layer-list,
.earth-mobile-news-board-list,
.earth-mobile-search-results {
display: flex;
flex-direction: column;
gap: 10px;
}
.earth-mobile-layer-card,
.earth-mobile-action-btn,
.earth-mobile-settings-pill,
.earth-mobile-search-clear {
appearance: none;
-webkit-appearance: none;
}
.earth-mobile-layer-card {
display: grid;
grid-template-columns: auto minmax(0, 1fr) auto;
gap: 12px;
align-items: center;
width: 100%;
border: 1px solid rgba(212, 227, 244, 0.08);
border-radius: 18px;
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent),
rgba(255, 255, 255, 0.03);
color: var(--hud-text);
padding: 14px 16px;
text-align: left;
}
.earth-mobile-layer-card.is-active {
border-color: rgba(122, 180, 255, 0.24);
background:
linear-gradient(180deg, rgba(122, 180, 255, 0.12), transparent),
rgba(255, 255, 255, 0.04);
}
.earth-mobile-layer-card-icon {
font-size: 22px;
color: var(--hud-accent-strong);
}
.earth-mobile-layer-card-copy {
display: flex;
flex-direction: column;
gap: 3px;
min-width: 0;
}
.earth-mobile-layer-card-title,
.earth-mobile-detail-title,
.earth-mobile-tv-title,
.earth-mobile-news-focus-label,
.earth-mobile-settings-label {
color: var(--hud-title);
font-weight: 600;
}
.earth-mobile-layer-card-subtitle,
.earth-mobile-detail-type,
.earth-mobile-tv-subtitle,
.earth-mobile-settings-subtitle,
.earth-mobile-news-focus-coords,
.earth-mobile-tv-notes,
.earth-mobile-tv-catalog,
.earth-mobile-news-board-status,
.earth-mobile-search-meta,
.earth-mobile-search-empty {
color: var(--hud-text-soft);
font-size: 0.76rem;
line-height: 1.45;
}
.earth-mobile-layer-card-status {
color: var(--hud-text-muted);
font-size: 0.72rem;
letter-spacing: 0.08em;
}
.earth-mobile-search-shell {
display: flex;
align-items: center;
gap: 10px;
min-height: 52px;
padding: 0 14px;
border-radius: 16px;
border: 1px solid rgba(214, 230, 247, 0.12);
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent),
rgba(255, 255, 255, 0.03);
}
.earth-mobile-search-input {
flex: 1 1 auto;
min-width: 0;
border: 0;
background: transparent;
color: var(--hud-title);
font: inherit;
outline: 0;
}
.earth-mobile-search-input::placeholder {
color: rgba(190, 208, 227, 0.46);
}
.earth-mobile-search-icon {
color: var(--hud-text-muted);
}
.earth-mobile-search-clear {
border: 0;
background: transparent;
color: var(--hud-text-muted);
display: inline-flex;
align-items: center;
justify-content: center;
}
.earth-mobile-search-clear[hidden] {
display: none;
}
.earth-mobile-stats-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
}
.earth-mobile-stat-card,
.earth-mobile-situation-card,
.earth-mobile-news-focus,
.earth-mobile-settings-card,
.earth-mobile-detail-card,
.earth-mobile-tv-meta {
border-radius: 18px;
border: 1px solid rgba(212, 227, 244, 0.08);
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent),
rgba(255, 255, 255, 0.03);
padding: 14px 16px;
}
.earth-mobile-stat-card {
display: flex;
flex-direction: column;
gap: 6px;
}
.earth-mobile-stat-num {
color: var(--hud-title);
font-size: 1.26rem;
font-weight: 700;
}
.earth-mobile-stat-label,
.earth-mobile-situation-card-subtitle,
.earth-mobile-news-focus-kicker,
.earth-mobile-settings-title,
.earth-mobile-tv-status {
color: var(--hud-text-muted);
font-size: 0.7rem;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.earth-mobile-situation-card {
display: flex;
flex-direction: column;
gap: 10px;
}
.earth-mobile-situation-card-title {
color: var(--hud-title);
font-size: 0.92rem;
font-weight: 600;
}
.earth-mobile-situation-legend-list {
display: flex;
flex-direction: column;
gap: 8px;
}
.earth-mobile-situation-status {
color: var(--hud-text);
line-height: 1.5;
}
.earth-mobile-news-focus,
.earth-mobile-tv-actions,
.earth-mobile-news-actions,
.earth-mobile-settings-actions {
display: flex;
gap: 10px;
}
.earth-mobile-news-focus {
justify-content: space-between;
align-items: flex-start;
}
.earth-mobile-news-source-count {
color: var(--hud-accent-strong);
font-size: 0.74rem;
font-weight: 600;
}
.earth-mobile-news-board-list .news-story-card {
margin: 0;
}
.earth-mobile-news-board-empty[hidden] {
display: none;
}
.earth-mobile-tv-select,
.earth-mobile-settings-slider {
width: 100%;
}
.earth-mobile-tv-select {
border: 1px solid rgba(201, 225, 247, 0.14);
border-radius: 14px;
background: rgba(255, 255, 255, 0.04);
color: var(--hud-text);
padding: 12px 14px;
}
.earth-mobile-tv-player {
position: relative;
min-height: 220px;
border-radius: 18px;
overflow: hidden;
border: 1px solid rgba(201, 225, 247, 0.1);
background: linear-gradient(180deg, rgba(9, 18, 32, 0.94), rgba(5, 11, 22, 0.94));
}
.earth-mobile-tv-empty,
.earth-mobile-tv-iframe,
.earth-mobile-tv-video {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
}
.earth-mobile-tv-empty {
display: grid;
place-items: center;
padding: 16px;
text-align: center;
color: var(--hud-text-muted);
}
.earth-mobile-tv-iframe,
.earth-mobile-tv-video {
border: 0;
background: #050a14;
}
.earth-mobile-action-btn {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 42px;
padding: 0 14px;
border-radius: 12px;
border: 1px solid rgba(122, 180, 255, 0.22);
background: rgba(122, 180, 255, 0.12);
color: var(--hud-title);
text-decoration: none;
font-size: 0.82rem;
font-weight: 600;
}
.earth-mobile-action-btn--ghost {
background: rgba(255, 255, 255, 0.04);
border-color: rgba(212, 227, 244, 0.1);
}
.earth-mobile-settings-group {
display: flex;
flex-direction: column;
gap: 10px;
}
.earth-mobile-settings-card {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.earth-mobile-settings-card--stacked {
flex-direction: column;
align-items: stretch;
}
.earth-mobile-settings-copy {
display: flex;
flex-direction: column;
gap: 4px;
}
.earth-mobile-settings-segmented {
display: inline-flex;
flex-wrap: wrap;
gap: 8px;
}
.earth-mobile-settings-pill {
border: 1px solid rgba(212, 227, 244, 0.1);
border-radius: 999px;
background: rgba(255, 255, 255, 0.04);
color: var(--hud-text-soft);
padding: 10px 14px;
}
.earth-mobile-settings-pill.is-active {
color: var(--hud-title);
border-color: rgba(122, 180, 255, 0.24);
background: rgba(122, 180, 255, 0.14);
}
.earth-mobile-settings-switch {
position: relative;
display: inline-flex;
width: 44px;
height: 28px;
flex-shrink: 0;
}
.earth-mobile-settings-switch input {
position: absolute;
inset: 0;
opacity: 0;
}
.earth-mobile-settings-switch-track {
width: 100%;
height: 100%;
border-radius: 999px;
background: rgba(255, 255, 255, 0.1);
position: relative;
}
.earth-mobile-settings-switch-track::after {
content: "";
position: absolute;
top: 4px;
left: 4px;
width: 20px;
height: 20px;
border-radius: 50%;
background: #fff;
transition: transform 0.18s ease;
}
.earth-mobile-settings-switch input:checked + .earth-mobile-settings-switch-track {
background: rgba(122, 180, 255, 0.34);
}
.earth-mobile-settings-switch input:checked + .earth-mobile-settings-switch-track::after {
transform: translateX(16px);
}
.earth-mobile-settings-slider-row {
display: flex;
align-items: center;
gap: 12px;
}
.earth-mobile-settings-slider-value {
color: var(--hud-title);
font-weight: 600;
}
.earth-mobile-detail-card {
display: flex;
flex-direction: column;
gap: 14px;
}
.earth-mobile-detail-header {
display: flex;
gap: 12px;
align-items: center;
}
.earth-mobile-detail-icon {
font-size: 1.5rem;
}
.earth-mobile-detail-heading {
display: flex;
flex-direction: column;
gap: 4px;
}
.earth-mobile-detail-content {
display: flex;
flex-direction: column;
gap: 10px;
}
.earth-mobile-detail-row {
display: flex;
flex-direction: column;
gap: 4px;
padding-bottom: 10px;
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.earth-mobile-detail-row-label {
color: var(--hud-text-muted);
font-size: 0.72rem;
letter-spacing: 0.06em;
text-transform: uppercase;
}
.earth-mobile-detail-row-value,
.earth-mobile-detail-empty {
color: var(--hud-text);
line-height: 1.5;
}
.layout-mode-mobile .earth-status-message,
.layout-mode-mobile .earth-error-message {
top: calc(var(--safe-top) + 130px);
left: auto;
right: calc(8px + var(--safe-right));
transform: translate(0, -10px);
min-width: 0;
max-width: min(200px, 52vw);
font-size: 0.78rem;
padding: 6px 14px 6px 10px;
}
.layout-mode-mobile .earth-status-message.visible,
.layout-mode-mobile .earth-error-message.visible {
transform: translate(0, 0);
}
.hud-panel-row {
display: flex;
justify-content: space-between;
@@ -1110,6 +1884,30 @@
}
}
.layout-mode-mobile .earth-search-sheet {
top: calc(8px + var(--safe-top));
left: 8px;
right: 8px;
width: auto;
max-height: calc(100vh - var(--safe-top) - var(--safe-bottom) - 16px);
transform: translateX(0) translateY(8px) scale(1);
}
.layout-mode-mobile .earth-search-modal.is-open .earth-search-sheet {
transform: translateX(0) translateY(0) scale(1);
}
.layout-mode-mobile .earth-settings-sheet {
top: auto;
left: 8px;
right: 8px;
bottom: calc(8px + var(--safe-bottom));
width: auto;
max-width: none;
max-height: min(78vh, 720px);
border-radius: 24px 24px 18px 18px;
}
/* .earth-left-column layout-expanded rule lives in info-panel.css */
/* .hud-panel-legend layout-expanded rule lives in legend.css */
/* .hud-panel-stats layout-expanded rule lives in earth-stats.css */