release: bump version to 0.38.0

This commit is contained in:
linkong
2026-04-23 17:57:35 +08:00
parent 195a8bf71c
commit d5f3784ffb
39 changed files with 4958 additions and 146 deletions

View File

@@ -421,8 +421,10 @@
.earth-mobile-drawer-sheet {
position: relative;
display: flex;
flex-direction: column;
min-height: calc(240px + var(--safe-bottom));
max-height: min(78vh, calc(100vh - 72px - var(--safe-top)));
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;
@@ -438,6 +440,8 @@
}
.earth-mobile-drawer-header {
order: 1;
flex: 0 0 auto;
padding: 10px 4px 8px;
cursor: ns-resize;
user-select: none;
@@ -452,45 +456,173 @@
background: rgba(225, 239, 255, 0.18);
}
.earth-mobile-drawer-tabs {
.earth-mobile-drawer-nav {
order: 3;
flex: 0 0 auto;
display: grid;
grid-template-columns: repeat(6, minmax(0, 1fr));
gap: 8px;
padding-bottom: 12px;
margin-top: 8px;
padding-top: 10px;
border-top: 1px solid rgba(214, 231, 247, 0.08);
}
.earth-mobile-drawer-nav-copy {
display: none;
}
.earth-mobile-drawer-nav-kicker {
color: rgba(167, 194, 223, 0.58);
font-size: 0.65rem;
font-weight: 700;
letter-spacing: 0.16em;
text-transform: uppercase;
}
.earth-mobile-drawer-nav-title {
color: var(--hud-title);
font-size: 0.92rem;
font-weight: 700;
letter-spacing: 0.01em;
}
.earth-mobile-drawer-tabs-shell {
position: relative;
padding: 8px 8px 2px;
border: 1px solid rgba(207, 226, 245, 0.06);
border-radius: 22px;
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
rgba(6, 16, 31, 0.32);
box-shadow:
inset 0 1px 0 rgba(255, 255, 255, 0.04),
0 10px 22px rgba(2, 8, 18, 0.12);
overflow: hidden;
}
.earth-mobile-drawer-tabs {
display: flex;
align-items: stretch;
gap: 10px;
padding: 2px;
overflow-x: auto;
overflow-y: hidden;
scrollbar-width: none;
-webkit-overflow-scrolling: touch;
scroll-snap-type: x proximity;
}
.earth-mobile-drawer-tabs-fade {
position: absolute;
top: 8px;
bottom: 8px;
width: 22px;
z-index: 2;
pointer-events: none;
}
.earth-mobile-drawer-tabs-fade--left {
left: 0;
background: linear-gradient(90deg, rgba(6, 16, 31, 0.92), rgba(6, 16, 31, 0));
}
.earth-mobile-drawer-tabs-fade--right {
right: 0;
background: linear-gradient(270deg, rgba(6, 16, 31, 0.92), rgba(6, 16, 31, 0));
}
.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);
flex: 0 0 auto;
min-width: 68px;
min-height: 58px;
padding: 8px 11px 9px;
display: inline-flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 5px;
border: 1px solid rgba(201, 225, 247, 0.06);
border-radius: 16px;
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
rgba(7, 18, 34, 0.38);
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;
scroll-snap-align: start;
position: relative;
z-index: 1;
transition:
background 0.18s ease,
border-color 0.18s ease,
color 0.18s ease,
transform 0.18s ease,
box-shadow 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);
background:
linear-gradient(180deg, rgba(111, 174, 255, 0.18), rgba(74, 126, 210, 0.08)),
rgba(10, 26, 52, 0.58);
border-color: rgba(122, 180, 255, 0.22);
box-shadow:
0 8px 18px rgba(11, 22, 40, 0.16),
inset 0 1px 0 rgba(255, 255, 255, 0.1);
transform: translateY(-1px);
}
.earth-mobile-drawer-tab:hover {
color: var(--hud-text);
border-color: rgba(201, 225, 247, 0.14);
}
.earth-mobile-drawer-tabs::-webkit-scrollbar {
display: none;
}
.earth-mobile-drawer-tab-icon {
width: 28px;
height: 28px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 999px;
font-size: 17px;
color: rgba(221, 235, 248, 0.88);
background: rgba(255, 255, 255, 0.06);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.earth-mobile-drawer-tab.is-active .earth-mobile-drawer-tab-icon {
color: #f6fbff;
background:
linear-gradient(180deg, rgba(161, 207, 255, 0.26), rgba(95, 154, 237, 0.18)),
rgba(255, 255, 255, 0.08);
}
.earth-mobile-drawer-tab-label {
font-size: 0.68rem;
font-weight: 700;
letter-spacing: 0.04em;
white-space: nowrap;
}
.earth-mobile-drawer-content {
order: 2;
flex: 1 1 auto;
position: relative;
min-height: 0;
max-height: calc(78vh - 108px - var(--safe-bottom));
max-height: none;
overflow: hidden;
}
.earth-mobile-drawer-slot {
display: none;
min-height: 0;
max-height: inherit;
height: 100%;
max-height: none;
overflow: auto;
overscroll-behavior: contain;
padding-bottom: 6px;
}
.earth-mobile-drawer-slot.is-active {
@@ -615,6 +747,14 @@
min-height: 0;
}
.earth-mobile-page--tv {
gap: 8px;
}
.earth-mobile-page--tv .earth-mobile-page-intro {
gap: 2px;
}
.earth-mobile-page-intro {
display: flex;
flex-direction: column;
@@ -634,6 +774,11 @@
line-height: 1.4;
}
.earth-mobile-page--tv .earth-mobile-page-summary {
font-size: 0.72rem;
line-height: 1.3;
}
.earth-mobile-layer-list,
.earth-mobile-news-board-list,
.earth-mobile-search-results {
@@ -765,6 +910,10 @@
gap: 10px;
}
.earth-mobile-page--situation .earth-mobile-stats-grid > * {
min-width: 0;
}
.earth-mobile-stat-card,
.earth-mobile-situation-card,
.earth-mobile-news-focus,
@@ -785,12 +934,23 @@
gap: 6px;
}
.earth-mobile-page--situation .earth-mobile-stat-card {
min-width: 0;
padding: 12px 12px;
gap: 4px;
}
.earth-mobile-stat-num {
color: var(--hud-title);
font-size: 1.26rem;
font-weight: 700;
}
.earth-mobile-page--situation .earth-mobile-stat-num {
font-size: 1.08rem;
line-height: 1.1;
}
.earth-mobile-stat-label,
.earth-mobile-situation-card-subtitle,
.earth-mobile-news-focus-kicker,
@@ -802,6 +962,52 @@
text-transform: uppercase;
}
.earth-mobile-page--situation .earth-mobile-stat-label {
font-size: 0.64rem;
letter-spacing: 0.04em;
line-height: 1.25;
white-space: normal;
word-break: break-word;
}
@media (orientation: landscape) and (max-height: 540px) {
.earth-mobile-page--situation {
gap: 8px;
}
.earth-mobile-page--situation .earth-mobile-page-intro {
gap: 1px;
}
.earth-mobile-page--situation .earth-mobile-page-kicker {
font-size: 0.6rem;
}
.earth-mobile-page--situation .earth-mobile-page-summary {
font-size: 0.68rem;
line-height: 1.2;
}
.earth-mobile-page--situation .earth-mobile-stats-grid {
gap: 8px;
}
.earth-mobile-page--situation .earth-mobile-stat-card {
padding: 10px 10px;
gap: 3px;
border-radius: 15px;
}
.earth-mobile-page--situation .earth-mobile-stat-num {
font-size: 0.98rem;
}
.earth-mobile-page--situation .earth-mobile-stat-label {
font-size: 0.6rem;
line-height: 1.15;
}
}
.earth-mobile-situation-card {
display: flex;
flex-direction: column;
@@ -857,17 +1063,124 @@
width: 100%;
}
.earth-mobile-tv-overview {
border-radius: 14px;
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: 8px 10px;
}
.earth-mobile-tv-overview-bar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
cursor: pointer;
}
.earth-mobile-tv-overview-copy {
display: flex;
flex-direction: column;
gap: 2px;
min-width: 0;
}
.earth-mobile-tv-overview-kicker {
color: var(--hud-text-muted);
font-size: 0.58rem;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.earth-mobile-tv-overview-headline {
color: var(--hud-title);
font-size: 0.84rem;
font-weight: 600;
line-height: 1.2;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.earth-mobile-tv-overview-summary {
color: var(--hud-text-soft);
font-size: 0.66rem;
line-height: 1.2;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.earth-mobile-tv-overview-tags {
display: flex;
flex-wrap: nowrap;
gap: 4px;
margin-top: 1px;
overflow: hidden;
}
.earth-mobile-tv-overview-tag {
display: inline-flex;
align-items: center;
min-height: 20px;
padding: 0 6px;
border-radius: 999px;
border: 1px solid rgba(212, 227, 244, 0.12);
background: rgba(255, 255, 255, 0.06);
color: var(--hud-text);
font-size: 0.62rem;
line-height: 1;
white-space: nowrap;
}
.earth-mobile-tv-overview-tag--status {
color: var(--hud-accent-strong);
border-color: rgba(122, 180, 255, 0.2);
background: rgba(122, 180, 255, 0.12);
}
.earth-mobile-tv-overview-actions {
display: inline-flex;
align-items: center;
gap: 4px;
flex: 0 0 auto;
}
.earth-mobile-tv-overview-bar:focus-visible {
outline: 2px solid rgba(122, 180, 255, 0.5);
outline-offset: 4px;
border-radius: 12px;
}
.earth-mobile-tv-meta-wrap {
overflow: hidden;
max-height: 240px;
opacity: 1;
margin-top: 10px;
transition: max-height 0.22s ease, opacity 0.18s ease, margin 0.22s ease;
}
.earth-mobile-tv-meta-wrap.is-collapsed {
max-height: 0;
opacity: 0;
pointer-events: none;
margin-top: 0;
}
.earth-mobile-tv-select {
border: 1px solid rgba(201, 225, 247, 0.14);
border-radius: 14px;
border-radius: 12px;
background: rgba(255, 255, 255, 0.04);
color: var(--hud-text);
padding: 12px 14px;
padding: 10px 12px;
}
.earth-mobile-tv-player {
position: relative;
min-height: 220px;
aspect-ratio: 16 / 9;
min-height: 0;
border-radius: 18px;
overflow: hidden;
border: 1px solid rgba(201, 225, 247, 0.1);
@@ -912,6 +1225,28 @@
font-weight: 600;
}
.earth-mobile-action-btn:disabled {
opacity: 0.42;
cursor: default;
}
.earth-mobile-action-btn--compact {
min-width: 32px;
min-height: 32px;
padding: 0;
border-radius: 10px;
background: rgba(255, 255, 255, 0.06);
border-color: rgba(212, 227, 244, 0.14);
color: var(--hud-text);
flex: 0 0 auto;
}
.earth-mobile-action-btn--compact .material-symbols-rounded {
font-size: 0.92rem;
}
.earth-mobile-action-btn--ghost {
background: rgba(255, 255, 255, 0.04);
border-color: rgba(212, 227, 244, 0.1);
@@ -961,6 +1296,43 @@
background: rgba(122, 180, 255, 0.14);
}
.earth-mobile-settings-chip-group {
display: inline-flex;
flex-wrap: wrap;
gap: 8px;
}
.earth-mobile-settings-chip {
border: 1px solid rgba(212, 227, 244, 0.12);
border-radius: 999px;
background: rgba(255, 255, 255, 0.04);
color: var(--hud-text-soft);
padding: 9px 14px;
font: inherit;
font-size: 0.82rem;
font-weight: 600;
letter-spacing: 0.02em;
cursor: pointer;
transition:
background 0.18s ease,
border-color 0.18s ease,
color 0.18s ease,
transform 0.18s ease;
}
.earth-mobile-settings-chip:hover {
color: var(--hud-text);
transform: translateY(-1px);
}
.earth-mobile-settings-chip.is-active {
color: var(--hud-title);
border-color: rgba(122, 180, 255, 0.24);
background:
radial-gradient(circle at 35% 22%, rgba(255, 255, 255, 0.18), transparent 58%),
linear-gradient(180deg, rgba(122, 180, 255, 0.16), rgba(82, 123, 186, 0.22));
}
.earth-mobile-settings-switch {
position: relative;
display: inline-flex;
@@ -1042,6 +1414,81 @@
gap: 10px;
}
.earth-mobile-news-detail {
display: grid;
gap: 12px;
}
.earth-mobile-news-detail-kicker {
color: rgba(255, 215, 122, 0.82);
font-size: 0.66rem;
font-weight: 700;
letter-spacing: 0.18em;
text-transform: uppercase;
}
.earth-mobile-news-detail-title {
color: var(--hud-title);
font-size: 1rem;
line-height: 1.5;
font-weight: 700;
}
.earth-mobile-news-detail-summary-shell {
position: relative;
padding: 12px 13px;
border: 1px solid rgba(255, 215, 122, 0.12);
background:
linear-gradient(180deg, rgba(255, 215, 122, 0.05), rgba(255, 255, 255, 0.02)),
radial-gradient(circle at top left, rgba(120, 180, 255, 0.08), transparent 56%),
rgba(7, 15, 29, 0.42);
box-shadow:
inset 0 1px 0 rgba(255, 255, 255, 0.05),
0 10px 28px rgba(0, 0, 0, 0.16);
overflow: hidden;
}
.earth-mobile-news-detail-summary-shell::before {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(90deg, transparent 0%, rgba(122, 180, 255, 0.12) 50%, transparent 100%);
opacity: 0.42;
transform: translateX(-100%);
animation: infoCardNewsScan 3.2s linear infinite;
pointer-events: none;
}
.earth-mobile-news-detail-summary-label {
color: rgba(188, 212, 238, 0.72);
font-size: 0.64rem;
font-weight: 700;
letter-spacing: 0.16em;
text-transform: uppercase;
margin-bottom: 7px;
}
.earth-mobile-news-detail-summary {
color: #d7e6f7;
font-size: 0.9rem;
line-height: 1.72;
min-height: 5.2em;
white-space: pre-wrap;
word-break: break-word;
}
.earth-mobile-news-detail-summary.is-typing::after {
content: "";
display: inline-block;
width: 0.58em;
height: 1.05em;
margin-left: 0.16em;
vertical-align: -0.14em;
background: linear-gradient(180deg, rgba(255, 215, 122, 0.96), rgba(122, 180, 255, 0.78));
box-shadow: 0 0 10px rgba(255, 215, 122, 0.28);
animation: infoCardNewsCaret 0.9s steps(1, end) infinite;
}
.earth-mobile-detail-row {
display: flex;
flex-direction: column;
@@ -1065,14 +1512,28 @@
.layout-mode-mobile .earth-status-message,
.layout-mode-mobile .earth-error-message {
top: calc(var(--safe-top) + 130px);
position: fixed;
top: calc(var(--safe-top) + 10px);
left: auto;
right: calc(8px + var(--safe-right));
transform: translate(0, -10px);
right: calc(10px + var(--safe-right));
transform: translate(12px, 0);
min-width: 0;
max-width: min(200px, 52vw);
font-size: 0.78rem;
padding: 6px 14px 6px 10px;
max-width: min(220px, 46vw);
border-radius: 16px;
font-size: 0.74rem;
line-height: 1.28;
padding: 7px 12px 7px 10px;
gap: 8px;
border-color: rgba(214, 230, 247, 0.1);
border-left-color: transparent;
background:
linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 52%),
linear-gradient(180deg, rgba(17, 29, 46, 0.92), rgba(7, 14, 24, 0.9));
box-shadow:
0 12px 28px rgba(0, 0, 0, 0.22),
0 0 0 1px rgba(255, 255, 255, 0.03);
backdrop-filter: blur(14px);
-webkit-backdrop-filter: blur(14px);
}
.layout-mode-mobile .earth-status-message.visible,
@@ -1080,6 +1541,34 @@
transform: translate(0, 0);
}
.layout-mode-mobile .earth-error-message {
top: calc(var(--safe-top) + 60px);
}
.layout-mode-mobile .earth-status-indicator {
gap: 4px;
}
.layout-mode-mobile .earth-status-dot {
width: 6px;
height: 6px;
box-shadow:
0 0 6px rgba(145, 186, 255, 0.48),
0 0 14px rgba(145, 186, 255, 0.16);
}
.layout-mode-mobile .earth-status-text {
font-weight: 600;
}
.layout-mode-mobile .earth-status-message.loading {
max-width: min(240px, 52vw);
}
.layout-mode-mobile .earth-status-message.loading .earth-status-text {
color: rgba(232, 242, 252, 0.92);
}
.hud-panel-row {
display: flex;
justify-content: space-between;
@@ -1754,6 +2243,50 @@
0 8px 18px rgba(0, 0, 0, 0.2);
}
.earth-settings-chip-group {
display: inline-flex;
flex-wrap: wrap;
gap: 8px;
align-self: flex-start;
}
.earth-settings-chip {
border: 1px solid rgba(212, 227, 244, 0.1);
border-radius: 999px;
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
rgba(255, 255, 255, 0.025);
color: var(--hud-text-soft);
padding: calc(6px * var(--hud-scale)) calc(12px * var(--hud-scale));
font: inherit;
font-size: calc(0.7rem * var(--hud-scale));
font-weight: 600;
letter-spacing: 0.02em;
cursor: pointer;
transition:
background 0.18s ease,
border-color 0.18s ease,
color 0.18s ease,
box-shadow 0.18s ease,
transform 0.18s ease;
}
.earth-settings-chip:hover {
color: var(--hud-text);
transform: translateY(-1px);
}
.earth-settings-chip.is-active {
color: var(--hud-title);
border-color: rgba(122, 180, 255, 0.24);
background:
radial-gradient(circle at 35% 22%, rgba(255, 255, 255, 0.22), transparent 58%),
linear-gradient(180deg, rgba(121, 159, 207, 0.2), rgba(72, 101, 139, 0.26));
box-shadow:
inset 0 1px 0 rgba(255, 255, 255, 0.08),
0 8px 18px rgba(0, 0, 0, 0.16);
}
.earth-settings-slider {
flex: 1 1 auto;
width: 100%;