feat: integrate calibration extension and self-repair modules
This commit is contained in:
+300
-131
@@ -343,8 +343,8 @@
|
||||
|
||||
.v2-config-stack {
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
padding: 2px 0 0 10px;
|
||||
gap: 8px;
|
||||
padding: 0 0 0 9px;
|
||||
border-left: 1px solid color-mix(in srgb, var(--v2-accent) 14%, transparent);
|
||||
}
|
||||
|
||||
@@ -353,55 +353,70 @@
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.console-v2 .v2-config-field .provider-note {
|
||||
margin: 5px 3px 0;
|
||||
color: #7a8a8a;
|
||||
font-size: 8px;
|
||||
line-height: 1.35;
|
||||
.console-v2 .v2-config-field > .provider-note,
|
||||
.console-v2 .v2-config-card > .provider-note,
|
||||
.console-v2 .v2-config-card > .v2-gesture-model-note {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.console-v2 .v2-gesture-model-note {
|
||||
display: block;
|
||||
margin: 5px 3px 0;
|
||||
color: #7a8a8a;
|
||||
font-size: 8px;
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
.console-v2 .v2-vehicle-field .vehicle-select-control,
|
||||
.v2-static-select,
|
||||
.v2-select-shell {
|
||||
min-height: 46px;
|
||||
.console-v2 .v2-config-card {
|
||||
min-width: 0;
|
||||
min-height: 43px;
|
||||
display: grid;
|
||||
grid-template-columns: 22px minmax(0, 1fr) auto;
|
||||
grid-template-columns: 28px minmax(0, 1fr) auto;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 0 13px;
|
||||
color: #0d2527;
|
||||
background: color-mix(in srgb, var(--v2-accent-soft) 72%, white);
|
||||
border: 1px solid color-mix(in srgb, var(--v2-accent) 17%, white);
|
||||
padding: 6px 8px;
|
||||
background: rgba(255, 255, 255, 0.72);
|
||||
border: 1px solid rgba(255, 255, 255, 0.78);
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.console-v2 .v2-vehicle-field .vehicle-select-control > svg,
|
||||
.v2-static-select > svg,
|
||||
.v2-select-shell > svg {
|
||||
.console-v2 .v2-config-card > svg {
|
||||
width: 17px;
|
||||
height: 17px;
|
||||
color: var(--v2-accent);
|
||||
}
|
||||
|
||||
.console-v2 .v2-vehicle-field select,
|
||||
.v2-select-shell select {
|
||||
.v2-config-card-copy,
|
||||
.v2-config-card > div {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.v2-config-card small,
|
||||
.v2-config-card strong {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.v2-config-card small {
|
||||
color: #819091;
|
||||
font-size: 8px;
|
||||
}
|
||||
|
||||
.v2-config-card strong {
|
||||
margin-top: 2px;
|
||||
color: #263d3f;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.v2-config-card-select {
|
||||
min-width: 0;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.v2-config-card-select select {
|
||||
width: 100%;
|
||||
height: 44px;
|
||||
height: 18px;
|
||||
padding: 0;
|
||||
appearance: none;
|
||||
color: #102224;
|
||||
color: #263d3f;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
outline: 0;
|
||||
font-size: 14px;
|
||||
font-size: 11px;
|
||||
font-weight: 850;
|
||||
cursor: pointer;
|
||||
}
|
||||
@@ -443,12 +458,10 @@
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.vehicle-select-control > .v2-dropdown-trigger,
|
||||
.v2-select-shell > .v2-dropdown-trigger {
|
||||
.v2-config-card-select > .v2-dropdown-trigger {
|
||||
width: 100%;
|
||||
height: 44px;
|
||||
grid-column: 2 / -1;
|
||||
font-size: 14px;
|
||||
height: 18px;
|
||||
font-size: 11px;
|
||||
font-weight: 850;
|
||||
text-align: left;
|
||||
}
|
||||
@@ -567,25 +580,30 @@
|
||||
opacity: 0.72;
|
||||
}
|
||||
|
||||
.v2-static-select strong {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
font-size: 13px;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.v2-field-state {
|
||||
padding: 4px 6px;
|
||||
padding: 3px 5px;
|
||||
color: var(--v2-accent-strong);
|
||||
background: rgba(255, 255, 255, 0.68);
|
||||
background: color-mix(in srgb, var(--v2-accent-soft) 68%, white);
|
||||
border-radius: 5px;
|
||||
font: 850 8px "SFMono-Regular", Consolas, monospace;
|
||||
font: 800 7px "SFMono-Regular", Consolas, monospace;
|
||||
}
|
||||
|
||||
.v2-static-select.unavailable {
|
||||
.v2-config-card.unavailable {
|
||||
color: #9b5f32;
|
||||
background: #fff1df;
|
||||
}
|
||||
|
||||
.v2-config-card.unavailable > svg,
|
||||
.v2-config-card.unavailable > .v2-field-state {
|
||||
color: #9b5f32;
|
||||
}
|
||||
|
||||
.v2-config-card[data-state="offline"] > svg,
|
||||
.v2-config-card[data-state="offline"] > .v2-field-state {
|
||||
color: #a85f43;
|
||||
}
|
||||
|
||||
.v2-config-card[data-state="offline"] > .v2-field-state {
|
||||
background: #fff0e9;
|
||||
}
|
||||
|
||||
.console-v2[data-demo-role="user"] .v2-execution-field {
|
||||
@@ -723,12 +741,13 @@
|
||||
/* Main canvas -------------------------------------------------------------- */
|
||||
|
||||
.console-v2 .main-panel {
|
||||
--v2-main-pad: clamp(12px, 1.5vw, 20px);
|
||||
min-width: 0;
|
||||
height: 100dvh;
|
||||
display: grid;
|
||||
grid-template-rows: clamp(240px, 31.5dvh, 340px) minmax(0, 1fr);
|
||||
grid-template-rows: 36px clamp(240px, 31.5dvh, 340px) minmax(0, 1fr);
|
||||
gap: clamp(10px, 1.25vh, 14px);
|
||||
padding: clamp(12px, 1.5vw, 20px);
|
||||
padding: 0 var(--v2-main-pad) var(--v2-main-pad);
|
||||
overflow: hidden;
|
||||
background:
|
||||
radial-gradient(circle at 40% -15%, rgba(255, 255, 255, 0.98), transparent 38%),
|
||||
@@ -1093,11 +1112,12 @@
|
||||
position: static;
|
||||
display: grid;
|
||||
grid-template-columns:
|
||||
minmax(205px, 0.72fr)
|
||||
minmax(330px, 1.12fr)
|
||||
minmax(282px, 0.9fr);
|
||||
grid-template-rows: auto auto minmax(0, 1fr);
|
||||
gap: 9px 12px;
|
||||
minmax(180px, 0.72fr)
|
||||
44px
|
||||
minmax(270px, 1.58fr)
|
||||
minmax(230px, 1fr);
|
||||
grid-template-rows: minmax(0, 1fr);
|
||||
gap: 12px;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
visibility: visible;
|
||||
@@ -1117,47 +1137,114 @@
|
||||
}
|
||||
|
||||
.console-v2 .v2-inline-gesture .gesture-camera-stage {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
grid-column: 1;
|
||||
grid-row: 1 / -1;
|
||||
grid-row: 1;
|
||||
height: 100%;
|
||||
min-height: 0;
|
||||
margin: 0;
|
||||
aspect-ratio: auto;
|
||||
overflow: hidden;
|
||||
background: linear-gradient(145deg, #263537, #111b1d);
|
||||
border: 1px solid rgba(43, 103, 102, 0.18);
|
||||
border: 1px solid color-mix(in srgb, var(--v2-accent) 42%, transparent);
|
||||
border-radius: 17px;
|
||||
box-shadow: 0 12px 32px rgba(25, 48, 50, 0.15);
|
||||
box-shadow: 0 12px 32px color-mix(in srgb, var(--v2-accent) 14%, transparent);
|
||||
}
|
||||
|
||||
.v2-module-switcher {
|
||||
min-width: 0;
|
||||
min-height: 36px;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
align-items: stretch;
|
||||
margin-inline: calc(0px - var(--v2-main-pad));
|
||||
padding: 3px var(--v2-main-pad) 0;
|
||||
overflow: hidden;
|
||||
background: color-mix(in srgb, var(--v2-accent) 30%, var(--v2-accent-soft));
|
||||
border: 0;
|
||||
border-bottom: 1px solid color-mix(in srgb, var(--v2-accent) 28%, transparent);
|
||||
border-radius: 0;
|
||||
box-shadow: 0 6px 16px color-mix(in srgb, var(--v2-accent) 10%, transparent);
|
||||
}
|
||||
|
||||
.v2-module-tab {
|
||||
min-width: 0;
|
||||
min-height: 32px;
|
||||
position: relative;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
padding: 5px 10px 7px;
|
||||
overflow: hidden;
|
||||
color: color-mix(in srgb, var(--v2-accent-strong) 48%, #7c898a);
|
||||
background: transparent;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
font: 650 clamp(11px, 0.92vw, 14px) Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
|
||||
text-overflow: ellipsis;
|
||||
transition: color 160ms ease, font-weight 160ms ease;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.v2-module-tab > span {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.v2-module-tab.active {
|
||||
color: var(--v2-accent-strong);
|
||||
background: transparent;
|
||||
box-shadow: none;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.v2-module-tab.active::after {
|
||||
width: clamp(48px, 45%, 72px);
|
||||
height: 3px;
|
||||
position: absolute;
|
||||
right: auto;
|
||||
bottom: 0;
|
||||
left: 50%;
|
||||
content: "";
|
||||
background: var(--v2-accent);
|
||||
border-radius: 999px;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
|
||||
.v2-module-tab:disabled {
|
||||
cursor: default;
|
||||
opacity: 0.78;
|
||||
}
|
||||
|
||||
.console-v2 .v2-inline-gesture .v2-camera-toggle {
|
||||
width: 42px;
|
||||
height: 42px;
|
||||
min-height: 42px;
|
||||
position: absolute;
|
||||
right: 13px;
|
||||
bottom: 12px;
|
||||
z-index: 5;
|
||||
grid-row: 3;
|
||||
position: static;
|
||||
z-index: 2;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0;
|
||||
color: #083a35;
|
||||
border: 1px solid rgba(255, 255, 255, 0.56);
|
||||
color: white;
|
||||
border: 0;
|
||||
border-radius: 50%;
|
||||
background: linear-gradient(135deg, #a8f2e2, #58d2b9);
|
||||
box-shadow: 0 8px 20px rgba(4, 27, 27, 0.3);
|
||||
background: var(--v2-accent);
|
||||
box-shadow: 0 8px 20px color-mix(in srgb, var(--v2-accent) 24%, transparent);
|
||||
cursor: pointer;
|
||||
transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
|
||||
}
|
||||
|
||||
.console-v2 .v2-inline-gesture .v2-camera-toggle:hover {
|
||||
transform: translateY(-1px);
|
||||
box-shadow: 0 10px 24px rgba(4, 27, 27, 0.38);
|
||||
background: var(--v2-accent-strong);
|
||||
box-shadow: 0 10px 24px color-mix(in srgb, var(--v2-accent) 32%, transparent);
|
||||
}
|
||||
|
||||
.console-v2 .v2-inline-gesture .v2-camera-toggle:disabled {
|
||||
cursor: wait;
|
||||
opacity: 0.64;
|
||||
cursor: not-allowed;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.console-v2 .v2-inline-gesture .v2-camera-toggle svg {
|
||||
@@ -1176,9 +1263,8 @@
|
||||
}
|
||||
|
||||
.console-v2 .v2-inline-gesture .v2-camera-toggle.active {
|
||||
color: #fff4f4;
|
||||
border-color: rgba(255, 255, 255, 0.34);
|
||||
background: linear-gradient(135deg, #e26969, #bb3f48);
|
||||
color: white;
|
||||
background: var(--v2-accent);
|
||||
}
|
||||
|
||||
.console-v2 .v2-inline-gesture .v2-camera-toggle.active svg {
|
||||
@@ -1193,56 +1279,70 @@
|
||||
background: currentColor;
|
||||
}
|
||||
|
||||
.console-v2 .v2-inline-gesture .gesture-status-strip {
|
||||
.console-v2 .v2-inline-gesture .v2-gesture-action-rail {
|
||||
grid-column: 2;
|
||||
grid-row: 1;
|
||||
min-height: 36px;
|
||||
margin: 0;
|
||||
padding: 7px 10px;
|
||||
background: #f1f5f4;
|
||||
border: 1px solid #e2eae8;
|
||||
border-radius: 9px;
|
||||
}
|
||||
|
||||
.console-v2 .v2-inline-gesture .gesture-now {
|
||||
grid-column: 2;
|
||||
grid-row: 2;
|
||||
min-height: 50px;
|
||||
margin: 0;
|
||||
padding: 8px 10px;
|
||||
background: color-mix(in srgb, var(--v2-accent-soft) 44%, white);
|
||||
border: 1px solid var(--v2-line);
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.console-v2 .v2-inline-gesture .gesture-actions {
|
||||
grid-column: 2;
|
||||
grid-row: 3;
|
||||
align-self: end;
|
||||
align-self: stretch;
|
||||
position: relative;
|
||||
z-index: 8;
|
||||
display: grid;
|
||||
grid-template-rows: 42px 10px 42px;
|
||||
align-content: end;
|
||||
place-items: center;
|
||||
gap: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.console-v2 .v2-inline-gesture #gestureStopButton,
|
||||
.console-v2[data-demo-role="user"] .v2-inline-gesture .gesture-actions {
|
||||
.console-v2 .v2-inline-gesture #gestureStopButton {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.console-v2[data-demo-role="admin"] .v2-inline-gesture .gesture-actions {
|
||||
position: relative;
|
||||
z-index: 8;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
.console-v2 .v2-inline-gesture #gestureArmButton {
|
||||
width: 42px;
|
||||
height: 42px;
|
||||
min-height: 42px;
|
||||
grid-row: 1;
|
||||
display: inline-grid;
|
||||
place-items: center;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
color: white;
|
||||
border: 0;
|
||||
border-radius: 50%;
|
||||
background: var(--v2-accent);
|
||||
box-shadow: 0 8px 20px color-mix(in srgb, var(--v2-accent) 24%, transparent);
|
||||
font-size: 0;
|
||||
line-height: 0;
|
||||
}
|
||||
|
||||
.console-v2[data-demo-role="admin"] .v2-inline-gesture #gestureArmButton {
|
||||
width: min(150px, 100%);
|
||||
.console-v2 .v2-inline-gesture #gestureArmButton svg {
|
||||
width: 17px;
|
||||
height: 17px;
|
||||
display: block;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.console-v2 .v2-inline-gesture #gestureArmButton span {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.console-v2[data-demo-role="user"] .v2-inline-gesture #gestureArmButton {
|
||||
cursor: default;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.console-v2[data-demo-role="user"] .v2-inline-gesture #gestureArmButton svg {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.console-v2 .v2-inline-gesture .gesture-debug-panel {
|
||||
width: min(360px, 100%);
|
||||
width: clamp(300px, 28vw, 360px);
|
||||
max-width: none;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
bottom: calc(100% + 7px);
|
||||
top: auto;
|
||||
left: calc(100% + 8px);
|
||||
right: auto;
|
||||
bottom: 52px;
|
||||
display: grid;
|
||||
gap: 7px;
|
||||
padding: 9px;
|
||||
@@ -1297,9 +1397,14 @@
|
||||
}
|
||||
|
||||
.console-v2 .v2-inline-gesture .gesture-debug-controls button {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 5px;
|
||||
padding: 5px 9px;
|
||||
color: white;
|
||||
background: var(--v2-accent);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.console-v2 .v2-inline-gesture .gesture-debug-controls button svg {
|
||||
@@ -1307,21 +1412,91 @@
|
||||
height: 12px;
|
||||
}
|
||||
|
||||
.console-v2 .v2-inline-gesture .gesture-actions button {
|
||||
min-height: 38px;
|
||||
border-radius: 9px;
|
||||
}
|
||||
|
||||
.console-v2 .v2-inline-gesture .gesture-footnote,
|
||||
.console-v2 .v2-inline-gesture .gesture-progress {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.console-v2 .v2-inline-gesture .gesture-guide-card {
|
||||
.console-v2 .v2-inline-gesture .v2-gesture-result-stack {
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
grid-column: 3;
|
||||
grid-row: 1 / -1;
|
||||
grid-row: 1;
|
||||
display: grid;
|
||||
grid-template-rows: minmax(58px, 0.78fr) minmax(72px, 1.22fr);
|
||||
gap: 9px;
|
||||
}
|
||||
|
||||
.console-v2 .v2-inline-gesture .v2-gesture-recognition-card,
|
||||
.console-v2 .v2-inline-gesture .v2-gesture-execution-slot {
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
display: grid;
|
||||
grid-template-rows: auto minmax(0, 1fr);
|
||||
gap: 4px;
|
||||
padding: 8px 10px;
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--v2-line);
|
||||
border-radius: 11px;
|
||||
background: color-mix(in srgb, var(--v2-accent-soft) 24%, #f1f3f3);
|
||||
}
|
||||
|
||||
.console-v2 .v2-inline-gesture .v2-gesture-execution-slot {
|
||||
background: color-mix(in srgb, var(--v2-accent-soft) 16%, #f4f5f5);
|
||||
}
|
||||
|
||||
.console-v2 .v2-inline-gesture .v2-gesture-result-label {
|
||||
color: color-mix(in srgb, var(--v2-accent-strong) 68%, #5f6d6e);
|
||||
font-size: 10px;
|
||||
font-weight: 850;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.console-v2 .v2-inline-gesture .gesture-status-strip {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.console-v2 .v2-inline-gesture .gesture-now {
|
||||
min-height: 0;
|
||||
margin: 0;
|
||||
padding: 4px 8px;
|
||||
background: rgba(255, 255, 255, 0.66);
|
||||
border: 1px solid color-mix(in srgb, var(--v2-accent) 8%, transparent);
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.console-v2 .v2-inline-gesture .v2-gesture-execution-slot .v2-request-status {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
min-height: 0;
|
||||
align-content: center;
|
||||
gap: 4px;
|
||||
padding: 2px 8px 0;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.console-v2 .v2-inline-gesture .v2-gesture-execution-slot .v2-request-status .request-title-row {
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.console-v2 .v2-inline-gesture .v2-gesture-execution-slot .v2-request-status h2 {
|
||||
color: var(--v2-ink);
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.console-v2 .v2-inline-gesture .v2-gesture-execution-slot .v2-request-status #requestMeta {
|
||||
color: var(--v2-muted);
|
||||
}
|
||||
|
||||
.console-v2 .v2-inline-gesture .gesture-guide-card {
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
grid-column: 4;
|
||||
grid-row: 1;
|
||||
align-self: stretch;
|
||||
display: grid;
|
||||
grid-template-rows: auto minmax(0, 1fr) auto;
|
||||
@@ -2178,16 +2353,8 @@
|
||||
padding-left: 8px;
|
||||
}
|
||||
|
||||
.console-v2 .v2-vehicle-field .vehicle-select-control,
|
||||
.v2-static-select,
|
||||
.v2-select-shell {
|
||||
min-height: 39px;
|
||||
}
|
||||
|
||||
.console-v2 .v2-vehicle-field select,
|
||||
.v2-select-shell select {
|
||||
height: 37px;
|
||||
font-size: 12px;
|
||||
.console-v2 .v2-config-card {
|
||||
min-height: 38px;
|
||||
}
|
||||
|
||||
.console-v2 .v2-config-field .provider-note {
|
||||
@@ -2195,9 +2362,10 @@
|
||||
}
|
||||
|
||||
.console-v2 .main-panel {
|
||||
grid-template-rows: clamp(207px, 29dvh, 236px) minmax(0, 1fr);
|
||||
--v2-main-pad: 9px;
|
||||
grid-template-rows: 34px clamp(207px, 29dvh, 236px) minmax(0, 1fr);
|
||||
gap: 12px;
|
||||
padding: 9px;
|
||||
padding: 0 var(--v2-main-pad) var(--v2-main-pad);
|
||||
}
|
||||
|
||||
.v2-natural-panel {
|
||||
@@ -2341,9 +2509,10 @@
|
||||
}
|
||||
|
||||
.console-v2 .main-panel {
|
||||
grid-template-rows: 350px minmax(0, 1fr);
|
||||
--v2-main-pad: 24px;
|
||||
grid-template-rows: 42px 350px minmax(0, 1fr);
|
||||
gap: 18px;
|
||||
padding: 24px;
|
||||
padding: 0 var(--v2-main-pad) var(--v2-main-pad);
|
||||
}
|
||||
|
||||
.v2-operation-shell,
|
||||
|
||||
Reference in New Issue
Block a user