forked from linkong/planet
1016 lines
23 KiB
CSS
1016 lines
23 KiB
CSS
/* Compact geographic callouts built from the shared HUD surface. */
|
|
#compute-workspace {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: auto;
|
|
pointer-events: none;
|
|
color: var(--hud-text);
|
|
font-size: var(--hud-font-size);
|
|
}
|
|
|
|
#compute-workspace[hidden],
|
|
.compute-picker[hidden],
|
|
.compute-evidence[hidden] {
|
|
display: none;
|
|
}
|
|
|
|
#compute-workspace .hud-panel {
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.compute-mobile {
|
|
display: none;
|
|
}
|
|
|
|
.compute-picker {
|
|
position: absolute;
|
|
z-index: 50;
|
|
top: max(var(--hud-offset), 12px);
|
|
left: 50%;
|
|
width: min(340px, calc(100vw - 28px));
|
|
max-height: min(44vh, 340px);
|
|
transform: translateX(-50%);
|
|
padding: var(--hud-panel-padding-sm);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--hud-gap-xs);
|
|
color: var(--hud-text);
|
|
font-size: var(--hud-font-size-sm);
|
|
}
|
|
|
|
.compute-picker__body {
|
|
min-height: 0;
|
|
overflow: auto;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 8px 12px;
|
|
}
|
|
|
|
.compute-picker__notice {
|
|
width: 100%;
|
|
color: var(--hud-accent-strong);
|
|
}
|
|
|
|
.compute-picker__body label {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
color: var(--hud-text-muted);
|
|
}
|
|
|
|
.compute-picker__body select {
|
|
max-width: 170px;
|
|
border: 1px solid var(--hud-border);
|
|
border-radius: 6px;
|
|
padding: 5px;
|
|
background: var(--hud-surface-bottom);
|
|
color: var(--hud-text);
|
|
font: inherit;
|
|
}
|
|
|
|
.compute-picker__body p {
|
|
margin: 0;
|
|
}
|
|
|
|
.compute-card {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: min(var(--hud-detail-card-width), calc(100vw - 24px));
|
|
min-width: min(var(--hud-detail-card-width), calc(100vw - 24px));
|
|
min-height: calc(160px * var(--hud-scale));
|
|
max-width: min(calc(360px * var(--hud-scale)), calc(100vw - calc(24px * var(--hud-scale))));
|
|
max-height: min(calc(520px * var(--hud-scale)), calc(100vh - calc(24px * var(--hud-scale))));
|
|
padding: 0;
|
|
overflow: hidden;
|
|
resize: none;
|
|
contain: layout style;
|
|
will-change: width, height, transform, box-shadow;
|
|
transition:
|
|
width 0.36s cubic-bezier(0.16, 1, 0.3, 1),
|
|
height 0.36s cubic-bezier(0.16, 1, 0.3, 1),
|
|
border-color 0.25s ease,
|
|
box-shadow 0.32s cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
/* Desktop compact mode for peripheral / non-spotlight compute cards */
|
|
body:not(.layout-mode-mobile) .compute-card:not(.is-spotlight) {
|
|
width: min(calc(220px * var(--hud-scale)), calc(100vw - 24px));
|
|
min-width: min(calc(180px * var(--hud-scale)), calc(100vw - 24px));
|
|
min-height: auto;
|
|
height: calc(42px * var(--hud-scale)) !important;
|
|
max-height: calc(42px * var(--hud-scale)) !important;
|
|
padding: 0;
|
|
cursor: pointer;
|
|
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
|
|
border-color: rgba(124, 190, 218, 0.18);
|
|
transform: scale(var(--spatial-scale, 1));
|
|
transform-origin: center center;
|
|
transition:
|
|
border-color 0.25s ease,
|
|
box-shadow 0.32s cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
body:not(.layout-mode-mobile) .compute-card.is-backside:not(.is-spotlight) {
|
|
z-index: 8 !important;
|
|
pointer-events: auto !important;
|
|
border-color: rgba(100, 160, 220, 0.18) !important;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
|
|
}
|
|
|
|
body:not(.layout-mode-mobile) .compute-card:not(.is-spotlight):hover {
|
|
border-color: rgba(147, 202, 255, 0.45);
|
|
box-shadow: 0 0 16px rgba(56, 189, 248, 0.28), 0 4px 14px rgba(0, 0, 0, 0.45);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
body:not(.layout-mode-mobile) .compute-card.is-hover-expanded {
|
|
z-index: 60 !important;
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.65), 0 0 20px rgba(56, 189, 248, 0.35) !important;
|
|
transition:
|
|
border-color 0.25s ease,
|
|
box-shadow 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
|
|
}
|
|
|
|
body:not(.layout-mode-mobile) .compute-card.is-hover-expanded::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: -8px;
|
|
pointer-events: auto;
|
|
z-index: -1;
|
|
}
|
|
|
|
body:not(.layout-mode-mobile) .compute-card:not(.is-spotlight) .hud-panel__header {
|
|
padding: calc(6px * var(--hud-scale)) calc(10px * var(--hud-scale));
|
|
gap: calc(6px * var(--hud-scale));
|
|
height: calc(42px * var(--hud-scale));
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.compute-card .compute-card__essentials,
|
|
.compute-card .compute-card__body {
|
|
transform-origin: top left;
|
|
will-change: opacity, transform;
|
|
transition:
|
|
opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
|
|
transform 0.26s cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.compute-card.hud-panel--expand-up .compute-card__essentials,
|
|
.compute-card.hud-panel--expand-up .compute-card__body {
|
|
transform-origin: bottom left;
|
|
}
|
|
|
|
.compute-card.hud-panel--expand-down .compute-card__essentials,
|
|
.compute-card.hud-panel--expand-down .compute-card__body {
|
|
transform-origin: top left;
|
|
}
|
|
|
|
body:not(.layout-mode-mobile) .compute-card:not(.is-spotlight) .compute-card__essentials,
|
|
body:not(.layout-mode-mobile) .compute-card:not(.is-spotlight) .compute-card__body {
|
|
opacity: 0 !important;
|
|
pointer-events: none !important;
|
|
transform: translateY(-6px) scale(0.97);
|
|
overflow: hidden !important;
|
|
height: 0 !important;
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
border-top-color: transparent !important;
|
|
}
|
|
|
|
body:not(.layout-mode-mobile) .compute-card.hud-panel--expand-up:not(.is-spotlight) .compute-card__essentials,
|
|
body:not(.layout-mode-mobile) .compute-card.hud-panel--expand-up:not(.is-spotlight) .compute-card__body {
|
|
transform: translateY(6px) scale(0.97);
|
|
}
|
|
|
|
body:not(.layout-mode-mobile) .compute-card.is-spotlight .compute-card__essentials,
|
|
body:not(.layout-mode-mobile) .compute-card.is-spotlight .compute-card__body {
|
|
opacity: 1;
|
|
pointer-events: auto;
|
|
transform: translateY(0) scale(1);
|
|
transition:
|
|
opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1) 0.06s,
|
|
transform 0.36s cubic-bezier(0.16, 1, 0.3, 1) 0.04s;
|
|
}
|
|
|
|
body:not(.layout-mode-mobile) .compute-card:not(.is-spotlight) .hud-panel__actions {
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
width: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Spotlight mode */
|
|
body:not(.layout-mode-mobile) .compute-card.is-spotlight {
|
|
border-color: rgba(145, 195, 255, 0.5);
|
|
box-shadow:
|
|
0 0 32px rgba(56, 189, 248, 0.28),
|
|
0 18px 46px rgba(1, 7, 16, 0.45);
|
|
z-index: 50;
|
|
}
|
|
|
|
.compute-card.is-expanded {
|
|
width: min(var(--hud-detail-card-width), calc(100vw - 24px));
|
|
max-width: min(calc(480px * var(--hud-scale)), calc(100vw - calc(24px * var(--hud-scale))));
|
|
min-height: calc(300px * var(--hud-scale));
|
|
resize: both;
|
|
}
|
|
|
|
.compute-card .hud-panel__header {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.compute-card .hud-panel__title {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.compute-card__flag {
|
|
display: block;
|
|
flex: 0 0 auto;
|
|
width: calc(22px * var(--hud-scale));
|
|
height: calc(16px * var(--hud-scale));
|
|
border: 1px solid rgba(225, 239, 255, 0.18);
|
|
border-radius: calc(2px * var(--hud-scale));
|
|
object-fit: cover;
|
|
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.24);
|
|
}
|
|
|
|
.compute-card__region-icon,
|
|
.compute-card__country-icon {
|
|
flex: 0 0 auto;
|
|
color: var(--hud-accent);
|
|
font-size: calc(15px * var(--hud-scale));
|
|
font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 20;
|
|
}
|
|
|
|
|
|
.compute-card__summary {
|
|
display: block;
|
|
margin: 0;
|
|
min-height: calc(112px * var(--hud-scale));
|
|
padding: calc(18px * var(--hud-scale)) calc(16px * var(--hud-scale));
|
|
}
|
|
|
|
.compute-card__summary.has-trend {
|
|
display: grid;
|
|
min-height: calc(112px * var(--hud-scale));
|
|
grid-template-columns: minmax(0, 1fr) calc(112px * var(--hud-scale));
|
|
align-items: end;
|
|
gap: calc(10px * var(--hud-scale));
|
|
}
|
|
|
|
.compute-card__metric-block {
|
|
min-width: 0;
|
|
}
|
|
|
|
.compute-card__metric {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: calc(5px * var(--hud-scale));
|
|
color: var(--hud-title);
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.compute-card__metric strong {
|
|
font-size: calc(48px * var(--hud-scale));
|
|
font-weight: 650;
|
|
line-height: 0.96;
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
.compute-card__metric span {
|
|
color: var(--hud-text-muted);
|
|
font-size: calc(16px * var(--hud-scale));
|
|
font-weight: 600;
|
|
}
|
|
|
|
.compute-card__metric.is-missing strong {
|
|
color: var(--hud-text-soft);
|
|
font-size: calc(40px * var(--hud-scale));
|
|
font-weight: 560;
|
|
opacity: 0.72;
|
|
}
|
|
|
|
.compute-card__metric.is-missing span {
|
|
opacity: 0.68;
|
|
}
|
|
|
|
.compute-card__caption,
|
|
.compute-card__note,
|
|
.compute-card__empty {
|
|
color: var(--hud-text-soft);
|
|
font-size: var(--hud-font-size);
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.compute-card__caption {
|
|
margin: calc(8px * var(--hud-scale)) 0 0;
|
|
}
|
|
|
|
.compute-card__share-meter {
|
|
display: block;
|
|
width: 100%;
|
|
height: calc(3px * var(--hud-scale));
|
|
margin-top: calc(7px * var(--hud-scale));
|
|
overflow: hidden;
|
|
border-radius: 999px;
|
|
background: var(--hud-line);
|
|
}
|
|
|
|
.compute-card__share-meter > span {
|
|
display: block;
|
|
width: var(--compute-share, 0%);
|
|
height: 100%;
|
|
border-radius: inherit;
|
|
background: var(--hud-accent);
|
|
}
|
|
|
|
.compute-card__note,
|
|
.compute-card__empty {
|
|
margin: 0;
|
|
}
|
|
|
|
.compute-card__essentials {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: calc(12px * var(--hud-scale));
|
|
margin: 0;
|
|
padding: 0 calc(16px * var(--hud-scale)) calc(16px * var(--hud-scale));
|
|
}
|
|
|
|
.compute-card__member-preview {
|
|
display: grid;
|
|
grid-template-columns: max-content minmax(0, 1fr);
|
|
align-items: baseline;
|
|
gap: calc(6px * var(--hud-scale));
|
|
margin: 0;
|
|
min-width: 0;
|
|
color: var(--hud-text-muted);
|
|
font-size: var(--hud-font-size-sm);
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.compute-card__member-preview > span:first-child {
|
|
color: var(--hud-text);
|
|
}
|
|
|
|
.compute-card__member-preview > span:last-child {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.compute-card__summary-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: calc(8px * var(--hud-scale));
|
|
min-width: 0;
|
|
}
|
|
|
|
.compute-card__trend-change {
|
|
display: flex;
|
|
align-items: baseline;
|
|
justify-content: space-between;
|
|
gap: calc(8px * var(--hud-scale));
|
|
margin: 0;
|
|
color: var(--hud-text-muted);
|
|
font-size: var(--hud-font-size-sm);
|
|
line-height: 1.3;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.compute-card__trend-change strong {
|
|
color: var(--hud-text);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.compute-card__trend-summary {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: calc(5px * var(--hud-scale));
|
|
min-width: 0;
|
|
margin: 0;
|
|
color: var(--hud-text-soft);
|
|
font-size: var(--hud-font-size-sm);
|
|
line-height: 1.3;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.compute-card__trend-summary .material-symbols-rounded {
|
|
flex: 0 0 auto;
|
|
color: var(--hud-accent);
|
|
font-size: calc(14px * var(--hud-scale));
|
|
}
|
|
|
|
.compute-card__trend-summary span:not(.material-symbols-rounded) {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.compute-card__summary-footer > button {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.compute-card__sparkline {
|
|
display: block;
|
|
width: calc(112px * var(--hud-scale));
|
|
height: calc(50px * var(--hud-scale));
|
|
align-self: center;
|
|
}
|
|
|
|
.compute-card__sparkline polyline {
|
|
fill: none;
|
|
stroke: var(--hud-accent);
|
|
stroke-width: 1.8;
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
}
|
|
|
|
.compute-card__sparkline circle {
|
|
fill: var(--hud-accent-strong);
|
|
}
|
|
|
|
.compute-card__body {
|
|
--hud-body-collapse-gap: 0px;
|
|
flex: 0 1 auto;
|
|
min-height: 0;
|
|
margin: var(--hud-gap-sm) 0 0;
|
|
padding: 0 var(--hud-panel-padding-sm);
|
|
overflow: auto;
|
|
max-height: min(var(--hud-body-content-height, calc(330px * var(--hud-scale))), calc(100vh - calc(190px * var(--hud-scale))));
|
|
}
|
|
|
|
.compute-card.hud-panel--collapsed {
|
|
min-height: calc(160px * var(--hud-scale));
|
|
height: auto !important;
|
|
}
|
|
|
|
.compute-card__rear-label {
|
|
display: none;
|
|
color: var(--hud-text-soft);
|
|
font-size: var(--hud-font-size-sm);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.compute-card.is-rear .compute-card__rear-label {
|
|
display: inline;
|
|
}
|
|
|
|
.compute-card__coverage {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: calc(6px * var(--hud-scale));
|
|
margin: calc(9px * var(--hud-scale)) 0 0;
|
|
color: var(--hud-text-muted);
|
|
font-size: var(--hud-font-size-sm);
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.compute-card__coverage .material-symbols-rounded {
|
|
flex: 0 0 auto;
|
|
color: var(--hud-accent);
|
|
font-size: calc(15px * var(--hud-scale));
|
|
}
|
|
|
|
.compute-card__coverage.is-partial .material-symbols-rounded {
|
|
color: #f0c88a;
|
|
}
|
|
|
|
.compute-card__section {
|
|
margin-top: calc(13px * var(--hud-scale));
|
|
padding-top: calc(11px * var(--hud-scale));
|
|
border-top: 1px solid var(--hud-line);
|
|
}
|
|
|
|
.compute-card__section h4 {
|
|
display: flex;
|
|
align-items: baseline;
|
|
justify-content: space-between;
|
|
gap: calc(8px * var(--hud-scale));
|
|
margin: 0 0 calc(8px * var(--hud-scale));
|
|
color: var(--hud-text-soft);
|
|
font-size: var(--hud-font-size-sm);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.compute-card__section h4 span {
|
|
color: var(--hud-text-muted);
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.compute-card__members,
|
|
.compute-card__facilities {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: calc(6px * var(--hud-scale));
|
|
}
|
|
|
|
.compute-card__members {
|
|
max-height: calc(98px * var(--hud-scale));
|
|
overflow: auto;
|
|
}
|
|
|
|
.compute-card__members .compute-card__flag {
|
|
width: calc(16px * var(--hud-scale));
|
|
height: calc(12px * var(--hud-scale));
|
|
}
|
|
|
|
.compute-card__members .compute-card__country-icon {
|
|
font-size: calc(14px * var(--hud-scale));
|
|
}
|
|
|
|
.compute-card__sample {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: calc(3px * var(--hud-scale));
|
|
margin: 0 0 calc(8px * var(--hud-scale));
|
|
color: var(--hud-text-muted);
|
|
font-size: var(--hud-font-size-sm);
|
|
}
|
|
|
|
.compute-card__sample strong {
|
|
color: var(--hud-text);
|
|
font-size: var(--hud-font-size);
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.compute-card__chart {
|
|
margin: 0;
|
|
}
|
|
|
|
.compute-card__chart figcaption {
|
|
margin-bottom: calc(5px * var(--hud-scale));
|
|
color: var(--hud-text-soft);
|
|
font-size: var(--hud-font-size-sm);
|
|
}
|
|
|
|
.compute-card__chart svg {
|
|
display: block;
|
|
width: 100%;
|
|
height: calc(104px * var(--hud-scale));
|
|
}
|
|
|
|
.compute-card__chart polyline {
|
|
fill: none;
|
|
stroke: var(--hud-accent);
|
|
stroke-width: 2;
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
}
|
|
|
|
.compute-card__chart-axis {
|
|
stroke: var(--hud-line);
|
|
stroke-width: 1;
|
|
}
|
|
|
|
.compute-card__chart circle {
|
|
fill: var(--hud-accent-strong);
|
|
}
|
|
|
|
.compute-card__chart text {
|
|
fill: var(--hud-text-soft);
|
|
font-size: 10px;
|
|
}
|
|
|
|
.compute-card__media {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: calc(7px * var(--hud-scale));
|
|
}
|
|
|
|
.compute-card__media figure {
|
|
min-width: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.compute-card__media img {
|
|
display: block;
|
|
width: 100%;
|
|
aspect-ratio: 4 / 3;
|
|
border: 1px solid var(--hud-border);
|
|
border-radius: calc(5px * var(--hud-scale));
|
|
object-fit: cover;
|
|
background: rgba(0, 0, 0, 0.24);
|
|
}
|
|
|
|
.compute-card__media figcaption {
|
|
margin-top: calc(4px * var(--hud-scale));
|
|
overflow: hidden;
|
|
color: var(--hud-text-muted);
|
|
font-size: var(--hud-font-size-sm);
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.compute-connector {
|
|
z-index: 6;
|
|
}
|
|
|
|
.compute-connector.is-rear {
|
|
z-index: 4;
|
|
}
|
|
|
|
.compute-connector.is-visible.is-rear {
|
|
opacity: 0.62;
|
|
}
|
|
|
|
.compute-evidence {
|
|
position: absolute;
|
|
z-index: 51;
|
|
left: 50%;
|
|
top: min(44vh, 340px);
|
|
width: min(calc(360px * var(--hud-scale)), calc(100vw - calc(28px * var(--hud-scale))));
|
|
max-height: 40vh;
|
|
padding: var(--hud-panel-padding-sm);
|
|
transform: translateX(-50%);
|
|
color: var(--hud-text);
|
|
font-size: var(--hud-font-size-sm);
|
|
}
|
|
|
|
.compute-evidence__body {
|
|
max-height: 30vh;
|
|
overflow: auto;
|
|
}
|
|
|
|
.compute-evidence__body a {
|
|
color: var(--hud-accent-strong);
|
|
}
|
|
|
|
.layout-mode-mobile #compute-workspace {
|
|
--hud-font-size: calc(0.88rem * var(--hud-scale));
|
|
--hud-font-size-sm: calc(0.75rem * var(--hud-scale));
|
|
--hud-title-size: calc(1.2rem * var(--hud-scale));
|
|
--hud-panel-header-title-size: calc(0.88rem * var(--hud-scale));
|
|
position: static;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
width: 100%;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.layout-mode-mobile #compute-workspace[hidden] {
|
|
display: none;
|
|
}
|
|
|
|
.layout-mode-mobile .compute-mobile {
|
|
display: block;
|
|
width: 100%;
|
|
min-width: 0;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.layout-mode-mobile #compute-workspace > .compute-picker,
|
|
.layout-mode-mobile #compute-workspace > .compute-card,
|
|
.layout-mode-mobile #compute-workspace > .compute-evidence {
|
|
display: none !important;
|
|
}
|
|
|
|
.compute-mobile__page-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.compute-mobile__page-header .earth-mobile-page-intro {
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
}
|
|
|
|
.compute-mobile__header-actions {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.compute-mobile__header-toggle {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
color: var(--hud-text-muted);
|
|
font-size: 0.7rem;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.compute-mobile__toggle {
|
|
padding: 10px 12px;
|
|
border-radius: 14px;
|
|
}
|
|
|
|
.compute-mobile__region-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.compute-mobile__region-item {
|
|
--hud-body-collapse-gap: 0px;
|
|
width: 100%;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
border-radius: 14px;
|
|
}
|
|
|
|
.compute-mobile__region {
|
|
min-height: 68px;
|
|
padding: 10px 12px;
|
|
border-radius: 14px;
|
|
cursor: pointer;
|
|
transition:
|
|
border-radius 0.22s ease,
|
|
border-color 0.22s ease,
|
|
background 0.22s ease;
|
|
}
|
|
|
|
.compute-mobile__region-item.is-expanded .compute-mobile__region {
|
|
border-bottom-left-radius: 0;
|
|
border-bottom-right-radius: 0;
|
|
border-color: rgba(122, 180, 255, 0.2);
|
|
background:
|
|
linear-gradient(180deg, rgba(122, 180, 255, 0.1), transparent),
|
|
rgba(255, 255, 255, 0.035);
|
|
}
|
|
|
|
.compute-mobile__region-detail {
|
|
--hud-body-max-height: var(--hud-body-content-height, 1600px);
|
|
overflow: hidden;
|
|
background: rgba(4, 12, 23, 0.68);
|
|
}
|
|
|
|
.compute-mobile__region-detail-inner {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
padding: 12px;
|
|
border: 1px solid rgba(122, 180, 255, 0.16);
|
|
border-top: 0;
|
|
border-bottom-left-radius: 14px;
|
|
border-bottom-right-radius: 14px;
|
|
}
|
|
|
|
.compute-mobile__region-icon {
|
|
width: 28px;
|
|
min-width: 28px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.compute-mobile__region-icon .compute-card__flag {
|
|
width: calc(24px * var(--hud-scale));
|
|
height: calc(18px * var(--hud-scale));
|
|
}
|
|
|
|
.compute-mobile__metric {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
color: var(--hud-text-muted);
|
|
}
|
|
|
|
.compute-mobile__metric > span:first-child {
|
|
display: inline-flex;
|
|
align-items: baseline;
|
|
gap: 4px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.compute-mobile__metric strong {
|
|
color: var(--hud-title);
|
|
font-size: 1.5rem;
|
|
line-height: 1;
|
|
font-weight: 700;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.compute-mobile__metric.is-missing strong {
|
|
color: var(--hud-text-soft);
|
|
font-size: 1.2rem;
|
|
font-weight: 560;
|
|
opacity: 0.72;
|
|
}
|
|
|
|
.compute-mobile__region .compute-card__share-meter {
|
|
max-width: calc(150px * var(--hud-scale));
|
|
height: calc(2px * var(--hud-scale));
|
|
margin-top: calc(5px * var(--hud-scale));
|
|
}
|
|
|
|
.compute-mobile__metric small {
|
|
color: var(--hud-text-muted);
|
|
font-size: 0.68rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.compute-mobile__metric .material-symbols-rounded {
|
|
font-size: 17px;
|
|
}
|
|
|
|
.compute-mobile__status {
|
|
gap: 10px;
|
|
color: var(--hud-text-muted);
|
|
font-size: 0.8rem;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.compute-mobile__field {
|
|
min-width: 0;
|
|
}
|
|
|
|
.compute-mobile__field select {
|
|
min-width: 104px;
|
|
max-width: 52%;
|
|
border: 1px solid rgba(212, 227, 244, 0.12);
|
|
border-radius: 10px;
|
|
padding: 8px 9px;
|
|
background: rgba(5, 14, 26, 0.88);
|
|
color: var(--hud-text);
|
|
font: inherit;
|
|
font-size: 0.78rem;
|
|
}
|
|
|
|
.compute-mobile__settings .earth-mobile-settings-card--stacked.compute-mobile__field select {
|
|
width: 100%;
|
|
max-width: none;
|
|
}
|
|
|
|
.compute-mobile__detail-section,
|
|
.compute-mobile__region-detail .compute-card__section {
|
|
margin: 0;
|
|
padding-top: calc(12px * var(--hud-scale));
|
|
border-top: 1px solid var(--hud-line);
|
|
}
|
|
|
|
.compute-mobile__detail-section h3,
|
|
.compute-mobile__region-detail .compute-card__section h4 {
|
|
display: flex;
|
|
align-items: baseline;
|
|
justify-content: space-between;
|
|
gap: calc(8px * var(--hud-scale));
|
|
margin: 0 0 calc(8px * var(--hud-scale));
|
|
color: var(--hud-text-soft);
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.compute-mobile__detail-section h3 span {
|
|
color: var(--hud-text-muted);
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.compute-mobile__facility-list {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 8px;
|
|
margin-top: 8px;
|
|
max-height: 240px;
|
|
padding-right: 4px;
|
|
overflow: auto;
|
|
overscroll-behavior: contain;
|
|
}
|
|
|
|
.compute-mobile__facility-list .earth-mobile-action-btn {
|
|
min-width: 0;
|
|
min-height: 42px;
|
|
padding: 7px 10px;
|
|
justify-content: flex-start;
|
|
overflow: visible;
|
|
text-align: left;
|
|
text-overflow: clip;
|
|
white-space: normal;
|
|
overflow-wrap: anywhere;
|
|
word-break: break-word;
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.compute-mobile__inline-error {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
color: var(--hud-text-muted);
|
|
font-size: 0.78rem;
|
|
}
|
|
|
|
.compute-mobile__region-detail .compute-card__chart svg {
|
|
height: calc(126px * var(--hud-scale));
|
|
}
|
|
|
|
.compute-mobile__region-detail .compute-card__members {
|
|
max-height: none;
|
|
}
|
|
|
|
.layout-mode-mobile .compute-picker,
|
|
.layout-mode-mobile .compute-card,
|
|
.layout-mode-mobile .compute-evidence {
|
|
position: relative;
|
|
inset: auto !important;
|
|
top: auto !important;
|
|
left: auto !important;
|
|
width: 100% !important;
|
|
min-width: 0 !important;
|
|
max-width: 100%;
|
|
max-height: none;
|
|
min-height: 0;
|
|
height: auto !important;
|
|
transform: none !important;
|
|
will-change: auto;
|
|
}
|
|
|
|
.layout-mode-mobile .compute-card {
|
|
height: auto;
|
|
min-height: 0;
|
|
padding: 0;
|
|
resize: none;
|
|
}
|
|
|
|
.layout-mode-mobile .compute-card.is-expanded {
|
|
min-height: 0;
|
|
resize: none;
|
|
}
|
|
|
|
.layout-mode-mobile .compute-card__summary {
|
|
grid-template-columns: minmax(0, 1fr) calc(92px * var(--hud-scale));
|
|
min-height: calc(64px * var(--hud-scale));
|
|
margin: 0;
|
|
padding: var(--hud-panel-padding-sm);
|
|
}
|
|
|
|
.layout-mode-mobile .compute-card__essentials {
|
|
margin: 0;
|
|
}
|
|
|
|
.layout-mode-mobile .compute-card__metric strong {
|
|
font-size: calc(30px * var(--hud-scale));
|
|
}
|
|
|
|
.layout-mode-mobile .compute-card__sparkline {
|
|
width: calc(92px * var(--hud-scale));
|
|
}
|
|
|
|
.layout-mode-mobile .compute-card__body {
|
|
max-height: min(var(--hud-body-content-height, calc(420px * var(--hud-scale))), 52vh);
|
|
margin: var(--hud-gap-sm) 0 0;
|
|
}
|
|
|
|
.compute-card.hud-panel--collapsed .compute-card__body {
|
|
max-height: 0;
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.layout-mode-mobile .compute-card__rear-label {
|
|
display: none !important;
|
|
}
|
|
|
|
|
|
.layout-mode-mobile .compute-picker {
|
|
max-height: none;
|
|
}
|
|
|
|
.layout-mode-mobile .compute-picker .earth-settings-item-title {
|
|
font-size: var(--hud-font-size);
|
|
}
|
|
|
|
.layout-mode-mobile .compute-picker .earth-settings-item-subtitle {
|
|
font-size: var(--hud-font-size-sm);
|
|
}
|
|
|
|
.layout-mode-mobile .compute-picker__body {
|
|
overflow: visible;
|
|
}
|
|
|
|
.layout-mode-mobile .compute-picker[data-dragged="true"],
|
|
.layout-mode-mobile .compute-evidence[data-dragged="true"] {
|
|
position: relative !important;
|
|
width: 100% !important;
|
|
left: auto !important;
|
|
top: auto !important;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.compute-card .hud-panel__body--collapsible,
|
|
.compute-mobile__region-item .hud-panel__body--collapsible,
|
|
.compute-mobile__region {
|
|
transition-duration: 0.01ms;
|
|
}
|
|
}
|
|
|
|
.compute-card__region-emoji { display:inline-flex; align-items:center; justify-content:center; width:calc(22px * var(--hud-scale)); height:calc(20px * var(--hud-scale)); font-size:calc(18px * var(--hud-scale)); line-height:1; }
|
|
|
|
.compute-card__region-monogram {
|
|
display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto;
|
|
width:calc(22px * var(--hud-scale)); height:calc(16px * var(--hud-scale));
|
|
font-family:inherit; font-size:var(--hud-panel-header-title-size); font-weight:700; line-height:1;
|
|
color:var(--hud-accent); border-radius:calc(2px * var(--hud-scale));
|
|
}
|