1825 lines
43 KiB
CSS
1825 lines
43 KiB
CSS
:root {
|
|
--bg: #f6f8fb;
|
|
--panel: #ffffff;
|
|
--panel2: #f2f5fb;
|
|
--text: #0f172a;
|
|
--muted: #64748b;
|
|
--border: rgba(15, 23, 42, 0.12);
|
|
--accent: #2563eb;
|
|
--accent2: #10b981;
|
|
--danger: #ef4444;
|
|
--shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
|
|
--shadow2: 0 14px 36px rgba(15, 23, 42, 0.10);
|
|
}
|
|
|
|
* { box-sizing: border-box; }
|
|
html, body { height: 100%; }
|
|
body {
|
|
margin: 0;
|
|
font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji",
|
|
"Segoe UI Emoji";
|
|
background: var(--bg);
|
|
color: var(--text);
|
|
}
|
|
|
|
.shell {
|
|
display: grid;
|
|
grid-template-columns: 260px 1fr;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.sidebar {
|
|
position: sticky;
|
|
top: 0;
|
|
height: 100vh;
|
|
background: linear-gradient(180deg, #0b1220, #0b1220);
|
|
color: #e8eefc;
|
|
padding: 16px 14px;
|
|
border-right: 1px solid rgba(255, 255, 255, 0.08);
|
|
}
|
|
.brand {
|
|
display: grid;
|
|
grid-template-columns: 40px 1fr;
|
|
gap: 10px;
|
|
align-items: center;
|
|
padding: 10px;
|
|
border-radius: 12px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
.brandIcon {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 12px;
|
|
display: grid;
|
|
place-items: center;
|
|
background: rgba(37, 99, 235, 0.22);
|
|
border: 1px solid rgba(37, 99, 235, 0.35);
|
|
font-weight: 800;
|
|
}
|
|
.brandTitle { font-weight: 800; font-size: 13px; letter-spacing: 0.2px; }
|
|
.brandSub { color: rgba(232,238,252,0.75); font-size: 12px; margin-top: 2px; }
|
|
|
|
.navTitle {
|
|
margin-top: 16px;
|
|
padding: 0 10px;
|
|
font-size: 11px;
|
|
color: rgba(232,238,252,0.65);
|
|
letter-spacing: 0.12em;
|
|
}
|
|
.nav { margin-top: 8px; display: grid; gap: 6px; }
|
|
.navItem {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 10px 10px;
|
|
border-radius: 12px;
|
|
color: rgba(232,238,252,0.85);
|
|
text-decoration: none;
|
|
border: 1px solid transparent;
|
|
}
|
|
.navItem:hover { background: rgba(255,255,255,0.05); }
|
|
.navItem.active {
|
|
background: rgba(37, 99, 235, 0.22);
|
|
border-color: rgba(37, 99, 235, 0.30);
|
|
color: #ffffff;
|
|
}
|
|
.navDot {
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 999px;
|
|
background: rgba(255,255,255,0.25);
|
|
}
|
|
.navItem.active .navDot { background: rgba(37, 99, 235, 1); }
|
|
|
|
.sidebarFooter {
|
|
position: absolute;
|
|
left: 14px;
|
|
right: 14px;
|
|
bottom: 14px;
|
|
}
|
|
.statusBadge {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 10px 12px;
|
|
border-radius: 14px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
}
|
|
.statusLed {
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 999px;
|
|
background: rgba(16, 185, 129, 0.85);
|
|
box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
|
|
}
|
|
.statusText { color: rgba(232,238,252,0.85); font-size: 12px; }
|
|
|
|
.body {
|
|
display: grid;
|
|
grid-template-rows: auto 1fr;
|
|
min-width: 0;
|
|
}
|
|
|
|
/* —— MiR-style top bar —— */
|
|
.mirTopbar {
|
|
background: linear-gradient(180deg, #4d7fbe 0%, #2f5f9e 48%, #254f87 100%);
|
|
color: #fff;
|
|
border-bottom: 1px solid rgba(0, 0, 0, 0.22);
|
|
position: relative;
|
|
z-index: 40;
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
|
|
}
|
|
.mirTopbarInner {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
min-height: 52px;
|
|
padding: 0 10px 0 14px;
|
|
overflow-x: auto;
|
|
overscroll-behavior: contain;
|
|
}
|
|
.mirTopbarLeft {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
}
|
|
.mirTopbarRight {
|
|
display: flex;
|
|
align-items: stretch;
|
|
flex-shrink: 0;
|
|
margin-left: auto;
|
|
}
|
|
.mirRobotId {
|
|
font-size: 22px;
|
|
font-weight: 800;
|
|
letter-spacing: 0.02em;
|
|
color: #fff;
|
|
padding-right: 6px;
|
|
flex-shrink: 0;
|
|
}
|
|
.mirPauseBtn {
|
|
appearance: none;
|
|
border: 1px solid rgba(0, 0, 0, 0.28);
|
|
background: rgba(16, 42, 82, 0.72);
|
|
border-radius: 6px;
|
|
width: 42px;
|
|
height: 42px;
|
|
display: grid;
|
|
place-items: center;
|
|
cursor: pointer;
|
|
flex-shrink: 0;
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
|
|
}
|
|
.mirPauseBtn:hover:not(:disabled) {
|
|
background: rgba(16, 42, 82, 0.9);
|
|
}
|
|
.mirPauseBtn:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
.mirPauseBtnIcon { display: block; }
|
|
.mirPauseBtnIcon[hidden] { display: none !important; }
|
|
.mirMissionStrip {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
max-width: 520px;
|
|
padding: 7px 8px 7px 16px;
|
|
border-radius: 999px;
|
|
background: rgba(14, 36, 72, 0.72);
|
|
border: 1px solid rgba(0, 0, 0, 0.22);
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
|
|
}
|
|
.mirMissionMsg {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: rgba(255, 255, 255, 0.88);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
min-width: 0;
|
|
}
|
|
.mirStatePill {
|
|
flex-shrink: 0;
|
|
font-size: 11px;
|
|
font-weight: 800;
|
|
letter-spacing: 0.06em;
|
|
padding: 5px 12px;
|
|
border-radius: 999px;
|
|
background: #e67e22;
|
|
color: #fff;
|
|
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
|
|
}
|
|
.mirStatePill.is-running { background: #3dba6a; }
|
|
.mirStatePill.is-paused { background: #e67e22; }
|
|
.mirStatePill.is-error { background: #c0392b; }
|
|
|
|
.mirSegment {
|
|
appearance: none;
|
|
border: 0;
|
|
background: transparent;
|
|
color: inherit;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
padding: 0 14px;
|
|
border-left: 1px solid rgba(255, 255, 255, 0.18);
|
|
cursor: pointer;
|
|
font: inherit;
|
|
white-space: nowrap;
|
|
flex-shrink: 0;
|
|
min-height: 52px;
|
|
}
|
|
.mirTopbarRight > .mirPanel {
|
|
top: 100%;
|
|
}
|
|
.mirSegment:disabled {
|
|
opacity: 0.55;
|
|
cursor: not-allowed;
|
|
}
|
|
.mirSegment:hover:not(:disabled) {
|
|
background: rgba(255, 255, 255, 0.07);
|
|
}
|
|
.mirSegment--battery {
|
|
cursor: default;
|
|
border-left: 1px solid rgba(255, 255, 255, 0.18);
|
|
}
|
|
.mirSegment--battery:hover {
|
|
background: transparent;
|
|
}
|
|
.mirSegment--joystick.is-active {
|
|
background: rgba(255, 255, 255, 0.14);
|
|
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
|
|
}
|
|
.mirSegment--status.is-error {
|
|
background: rgba(192, 57, 43, 0.35);
|
|
}
|
|
.mirSvgIcon {
|
|
display: block;
|
|
flex-shrink: 0;
|
|
color: #fff;
|
|
}
|
|
.mirStatusSvg.is-ok { color: #6ee7a0; }
|
|
.mirStatusSvg.is-error { color: #ff8a8a; }
|
|
.mirFlag {
|
|
font-size: 16px;
|
|
line-height: 1;
|
|
}
|
|
.mirSegmentLabel {
|
|
font-size: 11px;
|
|
font-weight: 800;
|
|
letter-spacing: 0.07em;
|
|
text-transform: uppercase;
|
|
}
|
|
.mirBatteryPct {
|
|
font-size: 12px;
|
|
letter-spacing: 0.02em;
|
|
text-transform: none;
|
|
font-weight: 700;
|
|
}
|
|
.mirCaret {
|
|
font-size: 9px;
|
|
opacity: 0.85;
|
|
margin-left: 2px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.mirPanel {
|
|
position: absolute;
|
|
top: calc(100% - 2px);
|
|
min-width: 280px;
|
|
background: #ececec;
|
|
color: #1f2937;
|
|
border: 1px solid #c5c5c5;
|
|
border-radius: 2px;
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
|
|
z-index: 50;
|
|
}
|
|
.mirPanel[hidden] {
|
|
display: none !important;
|
|
}
|
|
.mirPanel--status { right: 280px; left: auto; }
|
|
.mirPanel--locale { right: 140px; left: auto; }
|
|
.mirPanel--user { right: 8px; left: auto; }
|
|
.mirPanelBody { padding: 14px 16px; font-size: 13px; }
|
|
.mirStatusOkTitle, .mirStatusErrorTitle {
|
|
font-weight: 800;
|
|
margin-bottom: 8px;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
.mirStatusErrorTitle { color: #c0392b; }
|
|
.mirStatusDesc { color: #4b5563; line-height: 1.45; }
|
|
.mirStatusRow { font-size: 12px; margin-bottom: 4px; }
|
|
.mirStatusMeta { margin-top: 8px; font-size: 12px; color: #6b7280; }
|
|
.mirPanelFooter {
|
|
padding: 0 16px 14px;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
}
|
|
.mirPanel--locale {
|
|
flex-direction: column;
|
|
padding: 6px;
|
|
min-width: 200px;
|
|
}
|
|
.mirPanel--locale:not([hidden]) {
|
|
display: flex;
|
|
}
|
|
.mirLocaleOption {
|
|
appearance: none;
|
|
border: 0;
|
|
background: transparent;
|
|
text-align: left;
|
|
padding: 10px 12px;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 13px;
|
|
}
|
|
.mirLocaleOption:hover { background: rgba(0, 0, 0, 0.06); }
|
|
|
|
.mirUserPanelHeader {
|
|
display: flex;
|
|
gap: 12px;
|
|
align-items: center;
|
|
padding: 14px 16px 8px;
|
|
}
|
|
.mirUserPanelAvatar {
|
|
width: 42px;
|
|
height: 42px;
|
|
border-radius: 999px;
|
|
background: #d1d5db;
|
|
display: grid;
|
|
place-items: center;
|
|
font-size: 20px;
|
|
}
|
|
.mirUserPanelRole {
|
|
font-weight: 800;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
.mirProfileField {
|
|
display: grid;
|
|
gap: 6px;
|
|
padding: 0 16px 10px;
|
|
font-size: 12px;
|
|
color: #4b5563;
|
|
}
|
|
.mirProfileField input {
|
|
border: 1px solid #cbd5e1;
|
|
border-radius: 6px;
|
|
padding: 8px 10px;
|
|
font-size: 13px;
|
|
}
|
|
.mirPanel--user .mirBtn {
|
|
margin: 0 16px 8px;
|
|
width: calc(100% - 32px);
|
|
}
|
|
.mirBtn {
|
|
appearance: none;
|
|
border: 0;
|
|
border-radius: 4px;
|
|
padding: 10px 14px;
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
letter-spacing: 0.04em;
|
|
cursor: pointer;
|
|
}
|
|
.mirBtn--primary { background: #2980b9; color: #fff; }
|
|
.mirBtn--primary.subtle { background: #5dade2; }
|
|
.mirBtn--danger { background: #c0392b; color: #fff; }
|
|
.mirBtn--reset { background: #7f8c8d; color: #fff; min-width: 96px; }
|
|
|
|
.mirBatteryIcon {
|
|
width: 28px;
|
|
height: 13px;
|
|
border: 2px solid rgba(255, 255, 255, 0.95);
|
|
border-radius: 2px;
|
|
position: relative;
|
|
padding: 1px;
|
|
box-sizing: border-box;
|
|
flex-shrink: 0;
|
|
}
|
|
.mirBatteryIcon::after {
|
|
content: "";
|
|
position: absolute;
|
|
right: -5px;
|
|
top: 3px;
|
|
width: 3px;
|
|
height: 6px;
|
|
background: rgba(255, 255, 255, 0.9);
|
|
border-radius: 0 2px 2px 0;
|
|
}
|
|
.mirBatteryLevel {
|
|
display: block;
|
|
height: 100%;
|
|
width: 54%;
|
|
background: #fff;
|
|
border-radius: 1px;
|
|
}
|
|
.mirSegment--battery.is-low .mirBatteryLevel { background: #ffb4b4; }
|
|
.mirSegment--battery.is-mid .mirBatteryLevel { background: #ffe08a; }
|
|
|
|
.configPageActions {
|
|
display: flex;
|
|
gap: 8px;
|
|
align-items: center;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.joystickOverlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(15, 23, 42, 0.45);
|
|
z-index: 80;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 20px;
|
|
}
|
|
.joystickOverlay[hidden],
|
|
body.auth-logged-out .joystickOverlay {
|
|
display: none !important;
|
|
pointer-events: none !important;
|
|
}
|
|
.joystickOverlayCard {
|
|
background: #fff;
|
|
border-radius: 16px;
|
|
padding: 18px;
|
|
width: min(360px, 100%);
|
|
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
|
|
}
|
|
.joystickOverlayHeader {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 12px;
|
|
}
|
|
.joystickPadWrap { display: grid; place-items: center; padding: 8px 0 14px; }
|
|
.joystickPad {
|
|
width: 200px;
|
|
height: 200px;
|
|
border-radius: 999px;
|
|
background: radial-gradient(circle at 50% 50%, #f8fafc 0%, #e2e8f0 100%);
|
|
border: 2px solid #cbd5e1;
|
|
position: relative;
|
|
touch-action: none;
|
|
}
|
|
.joystickStick {
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50%;
|
|
width: 56px;
|
|
height: 56px;
|
|
margin: -28px 0 0 -28px;
|
|
border-radius: 999px;
|
|
background: linear-gradient(180deg, #3b82f6, #1d4ed8);
|
|
box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
|
|
}
|
|
.joystickOverlayActions {
|
|
display: flex;
|
|
gap: 10px;
|
|
align-items: end;
|
|
justify-content: space-between;
|
|
}
|
|
.joystickSpeedSelect {
|
|
display: grid;
|
|
gap: 4px;
|
|
font-size: 12px;
|
|
color: var(--muted);
|
|
}
|
|
.joystickSpeedSelect select {
|
|
padding: 8px 10px;
|
|
border-radius: 8px;
|
|
border: 1px solid var(--border);
|
|
}
|
|
|
|
.mirTopbar--no-missions .mirTopbarLeft {
|
|
visibility: hidden;
|
|
width: 0;
|
|
overflow: hidden;
|
|
flex: 0;
|
|
padding: 0;
|
|
}
|
|
.mirTopbar--no-missions .mirTopbarRight .mirSegment--joystick,
|
|
.mirTopbar--no-missions .mirTopbarRight .mirSegment--battery {
|
|
display: none;
|
|
}
|
|
|
|
.content {
|
|
padding: 18px;
|
|
display: grid;
|
|
gap: 16px;
|
|
align-items: start;
|
|
height: 100%;
|
|
min-height: 0;
|
|
}
|
|
.contentLeft {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
min-width: 0;
|
|
max-height: 100%;
|
|
overflow: auto;
|
|
overscroll-behavior: contain;
|
|
}
|
|
.contentRight {
|
|
min-width: 0;
|
|
max-height: 100%;
|
|
}
|
|
.splitter {
|
|
align-self: stretch;
|
|
width: 10px;
|
|
margin: 0 -16px; /* overlap gap a bit for easier grab */
|
|
cursor: col-resize;
|
|
border-radius: 10px;
|
|
background: rgba(15, 23, 42, 0.04);
|
|
border: 1px solid rgba(15, 23, 42, 0.08);
|
|
}
|
|
.splitter:hover,
|
|
.splitter.dragging {
|
|
background: rgba(37, 99, 235, 0.12);
|
|
border-color: rgba(37, 99, 235, 0.25);
|
|
}
|
|
.modelForm { display: grid; gap: 10px; }
|
|
.modelParams { display: grid; gap: 10px; }
|
|
.modelParams[hidden] { display: none; }
|
|
.modelForm .rowWide { grid-template-columns: 1fr; gap: 6px; align-items: stretch; }
|
|
.modelForm .rowWide label { line-height: 1.3; }
|
|
.inputUnit {
|
|
display: grid;
|
|
grid-template-columns: 1fr auto;
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
.inputUnit input { min-width: 0; }
|
|
.inputUnit .unit {
|
|
font-size: 12px;
|
|
color: var(--muted);
|
|
white-space: nowrap;
|
|
}
|
|
.acc {
|
|
border: 1px solid var(--border);
|
|
border-radius: 10px;
|
|
background: var(--panel2);
|
|
overflow: hidden;
|
|
}
|
|
.acc > summary {
|
|
padding: 10px 12px;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
list-style: none;
|
|
user-select: none;
|
|
}
|
|
.acc > summary::-webkit-details-marker { display: none; }
|
|
.acc > summary::after {
|
|
content: "";
|
|
float: right;
|
|
width: 8px;
|
|
height: 8px;
|
|
margin-top: 4px;
|
|
border-right: 2px solid var(--muted);
|
|
border-bottom: 2px solid var(--muted);
|
|
transform: rotate(45deg);
|
|
transition: transform 0.15s ease;
|
|
}
|
|
.acc[open] > summary::after { transform: rotate(-135deg); margin-top: 7px; }
|
|
.accBody { padding: 0 12px 12px; display: grid; gap: 10px; }
|
|
.accNested { margin-top: 4px; }
|
|
.validation {
|
|
margin: 0;
|
|
padding: 8px 10px;
|
|
border-radius: 8px;
|
|
font-size: 12px;
|
|
line-height: 1.35;
|
|
background: rgba(234, 179, 8, 0.12);
|
|
border: 1px solid rgba(234, 179, 8, 0.35);
|
|
color: #92400e;
|
|
}
|
|
.validation.error {
|
|
background: rgba(239, 68, 68, 0.1);
|
|
border-color: rgba(239, 68, 68, 0.35);
|
|
color: #b91c1c;
|
|
}
|
|
.yamlPreview {
|
|
margin: 0;
|
|
padding: 10px 12px;
|
|
max-height: 220px;
|
|
overflow: auto;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
font-size: 11px;
|
|
line-height: 1.45;
|
|
background: #0f172a;
|
|
color: #e2e8f0;
|
|
border-radius: 10px;
|
|
border: 1px solid var(--border);
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
}
|
|
.btnBlock { width: 100%; justify-content: center; }
|
|
.mutedNote { margin: 0; font-size: 12px; color: var(--muted); }
|
|
.mutedNote .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 11px; }
|
|
.mutedNote a { color: rgba(37, 99, 235, 0.9); }
|
|
.layoutManagerActions { display: flex; gap: 8px; margin-top: 4px; }
|
|
.layoutManagerActions .btn { flex: 1; justify-content: center; }
|
|
#layoutSelect { width: 100%; }
|
|
.motorWheels { display: grid; gap: 12px; }
|
|
.wheelMotorBlock {
|
|
border: 1px solid var(--border);
|
|
border-radius: 10px;
|
|
padding: 10px 12px;
|
|
background: #fff;
|
|
}
|
|
.wheelMotorTitle {
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
margin-bottom: 8px;
|
|
color: var(--text);
|
|
}
|
|
.wheelMotorMeta {
|
|
font-size: 11px;
|
|
color: var(--muted);
|
|
margin-top: 6px;
|
|
line-height: 1.35;
|
|
}
|
|
.wheelMotorBlock .rowWide { margin-bottom: 6px; }
|
|
.wheelMotorBlock .rowWide:last-child { margin-bottom: 0; }
|
|
.wheelMotorBlock input[type="checkbox"] {
|
|
width: auto;
|
|
margin-right: 6px;
|
|
}
|
|
.checkRow {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 12px;
|
|
color: var(--muted);
|
|
}
|
|
.robotDiffSummary {
|
|
width: 100%;
|
|
font-size: 12px;
|
|
color: rgba(37, 99, 235, 0.95);
|
|
}
|
|
|
|
.card {
|
|
background: var(--panel);
|
|
border: 1px solid var(--border);
|
|
border-radius: 14px;
|
|
box-shadow: var(--shadow);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.cardHeader {
|
|
padding: 14px 16px;
|
|
border-bottom: 1px solid var(--border);
|
|
background: linear-gradient(180deg, rgba(37, 99, 235, 0.06), transparent 70%);
|
|
}
|
|
.cardHeaderToggle {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
}
|
|
.cardHeaderToggle:hover { background: linear-gradient(180deg, rgba(37, 99, 235, 0.10), transparent 70%); }
|
|
.cardChevron {
|
|
flex-shrink: 0;
|
|
width: 28px;
|
|
height: 28px;
|
|
border-radius: 8px;
|
|
border: 1px solid var(--border);
|
|
background: var(--panel2);
|
|
position: relative;
|
|
margin-top: 2px;
|
|
transition: transform 0.2s ease;
|
|
}
|
|
.cardChevron::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50%;
|
|
width: 8px;
|
|
height: 8px;
|
|
border-right: 2px solid var(--muted);
|
|
border-bottom: 2px solid var(--muted);
|
|
transform: translate(-50%, -65%) rotate(45deg);
|
|
}
|
|
.card.collapsed .cardChevron { transform: rotate(-90deg); }
|
|
.card.collapsed .cardBody { display: none; }
|
|
.card.collapsed .cardHeader { border-bottom: none; }
|
|
|
|
.cardTitle { font-size: 14px; font-weight: 800; letter-spacing: 0.2px; }
|
|
.cardSub { margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.35; }
|
|
.cardBody { padding: 14px 16px; }
|
|
|
|
.form { display: grid; gap: 10px; margin-bottom: 12px; }
|
|
.formHint {
|
|
margin: 0;
|
|
font-size: 12px;
|
|
line-height: 1.35;
|
|
color: #b91c1c;
|
|
}
|
|
.formHint[hidden] { display: none; }
|
|
.row { display: grid; grid-template-columns: 90px 1fr; gap: 10px; align-items: center; }
|
|
label { color: var(--muted); font-size: 12px; }
|
|
input, select {
|
|
width: 100%;
|
|
padding: 10px 10px;
|
|
background: var(--panel2);
|
|
border: 1px solid var(--border);
|
|
color: var(--text);
|
|
border-radius: 10px;
|
|
outline: none;
|
|
}
|
|
input:focus, select:focus { border-color: rgba(37, 99, 235, 0.55); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12); }
|
|
|
|
.actions { display: flex; gap: 10px; }
|
|
.btn, button {
|
|
cursor: pointer;
|
|
border: 1px solid var(--border);
|
|
background: var(--panel2);
|
|
color: var(--text);
|
|
padding: 9px 12px;
|
|
border-radius: 10px;
|
|
font-weight: 600;
|
|
}
|
|
.btn.primary { background: rgba(37, 99, 235, 0.92); border-color: rgba(37, 99, 235, 0.92); color: #fff; }
|
|
.btn.primary:hover { background: rgba(37, 99, 235, 1); }
|
|
.btn.subtle { background: var(--panel2); }
|
|
.btn.danger { color: var(--danger); border-color: rgba(239, 68, 68, 0.35); }
|
|
.btn:active, button:active { transform: translateY(1px); }
|
|
.btn.active, button.active { box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12); border-color: rgba(37, 99, 235, 0.55); }
|
|
|
|
.list { display: grid; gap: 10px; }
|
|
.item {
|
|
border: 1px solid var(--border);
|
|
background: #ffffff;
|
|
border-radius: 12px;
|
|
padding: 10px;
|
|
}
|
|
.itemTop { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
|
|
.itemMain { flex: 1; min-width: 0; }
|
|
.itemToggle {
|
|
flex-shrink: 0;
|
|
width: 26px;
|
|
height: 26px;
|
|
margin-top: 2px;
|
|
margin-right: 8px;
|
|
padding: 0;
|
|
border-radius: 8px;
|
|
border: 1px solid var(--border);
|
|
background: var(--panel2);
|
|
cursor: pointer;
|
|
position: relative;
|
|
}
|
|
.itemToggle::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50%;
|
|
width: 7px;
|
|
height: 7px;
|
|
border-right: 2px solid var(--muted);
|
|
border-bottom: 2px solid var(--muted);
|
|
transform: translate(-50%, -65%) rotate(45deg);
|
|
transition: transform 0.2s ease;
|
|
}
|
|
.item.collapsed .itemToggle::before { transform: translate(-50%, -35%) rotate(-135deg); }
|
|
.item.collapsed .itemBody { display: none; }
|
|
.itemTopRow { display: flex; align-items: flex-start; }
|
|
.itemName { font-weight: 700; }
|
|
.itemMeta { color: var(--muted); font-size: 12px; margin-top: 4px; }
|
|
.itemBtns { display: flex; gap: 8px; }
|
|
.poseRow {
|
|
margin-top: 8px;
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 10px;
|
|
}
|
|
.poseField {
|
|
display: grid;
|
|
grid-template-columns: 18px 1fr;
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
.poseLabel {
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
text-align: right;
|
|
}
|
|
.poseInput {
|
|
padding: 8px 9px;
|
|
border-radius: 10px;
|
|
background: var(--panel2);
|
|
}
|
|
.pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
background: rgba(16, 185, 129, 0.10);
|
|
border: 1px solid rgba(16, 185, 129, 0.22);
|
|
color: rgba(16, 185, 129, 1);
|
|
padding: 2px 8px;
|
|
border-radius: 999px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.toolbar {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
align-items: end;
|
|
margin-bottom: 10px;
|
|
}
|
|
.tool { display: grid; gap: 6px; }
|
|
.tool label { font-size: 12px; }
|
|
.tool input { width: 120px; }
|
|
.toolGroup {
|
|
display: flex;
|
|
gap: 10px;
|
|
align-items: end;
|
|
}
|
|
.toolGroup[hidden] { display: none; }
|
|
.tool select { width: 170px; }
|
|
.toolGroup .tool input { width: 110px; }
|
|
|
|
.canvasWrap {
|
|
background: #ffffff;
|
|
border: 1px solid var(--border);
|
|
border-radius: 12px;
|
|
padding: 10px;
|
|
height: min(72vh, 680px);
|
|
min-height: 420px;
|
|
}
|
|
canvas {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 10px;
|
|
background: #0b1220;
|
|
touch-action: none;
|
|
}
|
|
.canvasWrap.panning canvas { cursor: grabbing; }
|
|
.canvasWrap.shift-pan canvas { cursor: grab; }
|
|
|
|
.metaBar {
|
|
margin-top: 10px;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px 14px;
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
}
|
|
.fpHint { color: rgba(37, 99, 235, 0.95); margin-top: 8px; font-size: 12px; line-height: 1.4; }
|
|
.footprintPresetPanel {
|
|
display: grid;
|
|
gap: 8px;
|
|
margin-bottom: 10px;
|
|
padding: 10px 12px;
|
|
border-radius: 10px;
|
|
border: 1px solid var(--border);
|
|
background: #f8fafc;
|
|
}
|
|
.footprintPresetPanel .fpShapeParams { display: grid; gap: 6px; }
|
|
.footprintPresetPanel.hidden { display: none; }
|
|
.footprintCustomPanel {
|
|
display: grid;
|
|
gap: 8px;
|
|
margin-bottom: 10px;
|
|
padding: 10px 12px;
|
|
border-radius: 10px;
|
|
border: 1px solid var(--border);
|
|
background: #f8fafc;
|
|
}
|
|
.footprintCustomPanel.hidden { display: none; }
|
|
.fpVertexRow {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: baseline;
|
|
justify-content: space-between;
|
|
gap: 6px 12px;
|
|
font-size: 12px;
|
|
}
|
|
.fpVertexLabel strong { color: var(--text); }
|
|
.fpSelectedVertex { font-size: 11px; }
|
|
.fpVertexActions { display: flex; gap: 8px; }
|
|
.fpVertexActions .btn { flex: 1; justify-content: center; font-size: 12px; padding: 6px 10px; }
|
|
.viewHint { color: var(--muted); font-size: 12px; width: 100%; }
|
|
.canvasWrap canvas.edit-footprint { cursor: crosshair; }
|
|
|
|
.content.content--missions,
|
|
.content.content--integrations {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
max-width: 1100px;
|
|
}
|
|
.content.content--dashboard {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
max-width: 1100px;
|
|
}
|
|
.content.content--config {
|
|
grid-template-columns: var(--leftPaneW, 460px) 10px 1fr;
|
|
}
|
|
|
|
.missionsPage { min-width: 0; width: 100%; }
|
|
.missionList { display: grid; gap: 10px; }
|
|
.missionListItem {
|
|
display: grid;
|
|
grid-template-columns: 1fr auto;
|
|
gap: 12px;
|
|
align-items: center;
|
|
padding: 12px 14px;
|
|
border-radius: 12px;
|
|
border: 1px solid var(--border);
|
|
background: var(--panel2);
|
|
cursor: pointer;
|
|
transition: border-color 0.15s ease, box-shadow 0.15s ease;
|
|
}
|
|
.missionListItem:hover {
|
|
border-color: rgba(37, 99, 235, 0.35);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
.missionListItemTitle { font-weight: 700; font-size: 14px; }
|
|
.missionListItemMeta { font-size: 12px; color: var(--muted); margin-top: 4px; }
|
|
.missionListItemActions { display: flex; gap: 8px; align-items: center; }
|
|
.missionListItemActions .btn { padding: 6px 10px; font-size: 12px; }
|
|
.missionQueueBtn {
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
color: var(--accent);
|
|
}
|
|
.missionQueueBtn:hover {
|
|
border-color: rgba(37, 99, 235, 0.35);
|
|
background: #eff6ff;
|
|
}
|
|
|
|
.missionQueueList { display: grid; gap: 8px; margin-top: 12px; }
|
|
.missionQueueItem {
|
|
display: grid;
|
|
grid-template-columns: auto 1fr auto;
|
|
gap: 10px;
|
|
align-items: start;
|
|
padding: 10px 12px;
|
|
border-radius: 12px;
|
|
border: 1px solid var(--border);
|
|
background: #fff;
|
|
}
|
|
.missionQueueItem.status-executing {
|
|
border-color: rgba(37, 99, 235, 0.45);
|
|
background: #eff6ff;
|
|
}
|
|
.missionQueueItem.status-completed { opacity: 0.72; }
|
|
.missionQueueItem.status-failed {
|
|
border-color: rgba(239, 68, 68, 0.35);
|
|
background: #fef2f2;
|
|
}
|
|
.missionQueueOrder { display: flex; flex-direction: column; gap: 4px; }
|
|
.missionQueueOrder .iconBtn { width: 28px; height: 28px; font-size: 12px; }
|
|
.missionQueueItemTitle { font-weight: 700; font-size: 13px; }
|
|
.missionQueueItemMeta { font-size: 12px; color: var(--muted); margin-top: 4px; }
|
|
.missionQueueItemParams { font-size: 12px; margin-top: 6px; }
|
|
.missionQueueParamVar { color: var(--accent); font-weight: 600; }
|
|
.missionQueueStatus {
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.06em;
|
|
padding: 4px 8px;
|
|
border-radius: 999px;
|
|
background: #f1f5f9;
|
|
color: var(--muted);
|
|
white-space: nowrap;
|
|
}
|
|
.missionQueueStatus.executing { background: #dbeafe; color: #1d4ed8; }
|
|
.missionQueueStatus.completed { background: #d1fae5; color: #047857; }
|
|
.missionQueueStatus.failed { background: #fee2e2; color: #b91c1c; }
|
|
.missionQueueStatus.cancelled { background: #f3f4f6; color: #6b7280; }
|
|
.missionQueueItem.status-cancelled { opacity: 0.72; }
|
|
.missionQueueCardActions { display: flex; gap: 8px; flex-wrap: wrap; }
|
|
.missionQueueRunner {
|
|
padding: 10px 12px;
|
|
border-radius: 10px;
|
|
border: 1px solid var(--border);
|
|
background: var(--panel2);
|
|
font-size: 12px;
|
|
margin-bottom: 10px;
|
|
}
|
|
.missionQueueRunner.running { border-color: rgba(37, 99, 235, 0.35); background: #eff6ff; color: #1e3a8a; }
|
|
.missionVarHint { font-size: 11px; color: var(--muted); margin-top: 4px; }
|
|
|
|
.missionEditorCard { overflow: hidden; }
|
|
.missionEditorTop {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
padding: 16px 18px;
|
|
border-bottom: 1px solid var(--border);
|
|
background: linear-gradient(180deg, #fff, #f8fafc);
|
|
}
|
|
.missionEditorTitleWrap { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
|
|
.missionBackBtn { padding: 8px 12px; flex-shrink: 0; }
|
|
.missionEditorKicker { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
|
|
.missionEditorTitleRow { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
|
|
.missionEditorTitle { margin: 0; font-size: 18px; font-weight: 800; }
|
|
.missionEditorMeta { font-size: 12px; color: var(--muted); margin-top: 6px; }
|
|
.missionEditorTopActions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
|
|
.missionDirtyBadge {
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
color: #b45309;
|
|
background: #fef3c7;
|
|
border: 1px solid #fcd34d;
|
|
padding: 4px 8px;
|
|
border-radius: 999px;
|
|
}
|
|
|
|
.missionActionBar {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
padding: 12px 18px;
|
|
border-bottom: 1px solid var(--border);
|
|
background: #0f172a;
|
|
}
|
|
.missionGroupTab {
|
|
position: relative;
|
|
}
|
|
.missionGroupTabBtn {
|
|
appearance: none;
|
|
border: 1px solid rgba(255,255,255,0.12);
|
|
background: rgba(255,255,255,0.06);
|
|
color: #e2e8f0;
|
|
border-radius: 10px;
|
|
padding: 8px 12px;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
}
|
|
.missionGroupTabBtn:hover,
|
|
.missionGroupTabBtn.open {
|
|
background: rgba(37, 99, 235, 0.35);
|
|
border-color: rgba(37, 99, 235, 0.5);
|
|
color: #fff;
|
|
}
|
|
.missionGroupMenu {
|
|
position: absolute;
|
|
top: calc(100% + 6px);
|
|
left: 0;
|
|
min-width: 220px;
|
|
max-height: 280px;
|
|
overflow: auto;
|
|
z-index: 20;
|
|
background: #fff;
|
|
border: 1px solid var(--border);
|
|
border-radius: 12px;
|
|
box-shadow: var(--shadow2);
|
|
padding: 6px;
|
|
}
|
|
.missionGroupMenu[hidden] { display: none; }
|
|
.missionPaletteItem {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
width: 100%;
|
|
text-align: left;
|
|
border: none;
|
|
background: transparent;
|
|
border-radius: 8px;
|
|
padding: 8px 10px;
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
color: var(--text);
|
|
}
|
|
.missionPaletteItem:hover { background: #eff6ff; }
|
|
.missionPaletteItem.dragging { opacity: 0.45; }
|
|
.missionPaletteItem.missionRef .missionActionIcon { background: rgba(16, 185, 129, 0.15); color: #059669; }
|
|
|
|
.missionEditorBody { padding: 16px 18px 20px; }
|
|
.missionFlowHint { margin: 0 0 12px; font-size: 12px; color: var(--muted); }
|
|
.missionActionList { display: grid; gap: 8px; min-height: 48px; }
|
|
.missionActionListEmpty { padding: 24px; text-align: center; border: 1px dashed var(--border); border-radius: 12px; }
|
|
.missionActionListEmpty[hidden],
|
|
.missionActionList:not(:empty) + .missionActionListEmpty { display: none; }
|
|
|
|
.missionActionRow {
|
|
display: grid;
|
|
grid-template-columns: 32px 1fr;
|
|
gap: 10px;
|
|
align-items: start;
|
|
padding: 10px 12px;
|
|
border-radius: 12px;
|
|
border: 1px solid var(--border);
|
|
background: #fff;
|
|
box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
|
|
}
|
|
.missionActionTop {
|
|
grid-column: 2;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
}
|
|
.missionActionBtns {
|
|
display: flex;
|
|
gap: 6px;
|
|
flex-shrink: 0;
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
.missionLoopBlock {
|
|
grid-column: 2;
|
|
margin-top: 0;
|
|
border-radius: 10px;
|
|
border: 1px dashed rgba(124, 58, 237, 0.35);
|
|
background: rgba(124, 58, 237, 0.04);
|
|
padding: 10px;
|
|
}
|
|
.missionActionRow.dragging { opacity: 0.45; }
|
|
.missionActionRow.dropBefore { box-shadow: inset 0 3px 0 var(--accent); }
|
|
.missionActionRow.dropAfter { box-shadow: inset 0 -3px 0 var(--accent); }
|
|
.missionDragHandle {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 8px;
|
|
border: 1px solid var(--border);
|
|
background: #f8fafc;
|
|
color: var(--muted);
|
|
cursor: grab;
|
|
display: grid;
|
|
place-items: center;
|
|
font-size: 14px;
|
|
user-select: none;
|
|
}
|
|
.missionDragHandle:active { cursor: grabbing; }
|
|
.missionActionMain { min-width: 0; }
|
|
.missionActionLabelRow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
|
|
.missionActionLabel { font-weight: 700; font-size: 13px; }
|
|
.missionActionSummary { font-size: 12px; color: var(--muted); margin-top: 4px; }
|
|
.missionActionIcon {
|
|
width: 22px;
|
|
height: 22px;
|
|
border-radius: 6px;
|
|
display: grid;
|
|
place-items: center;
|
|
font-size: 11px;
|
|
font-weight: 800;
|
|
background: rgba(37, 99, 235, 0.12);
|
|
color: var(--accent);
|
|
flex-shrink: 0;
|
|
}
|
|
.missionActionIcon.kind-mission { background: rgba(16, 185, 129, 0.15); color: #059669; }
|
|
.missionActionIcon.kind-loop { background: rgba(139, 92, 246, 0.15); color: #7c3aed; }
|
|
.iconBtn {
|
|
appearance: none;
|
|
border: 1px solid var(--border);
|
|
background: #fff;
|
|
width: 34px;
|
|
height: 34px;
|
|
border-radius: 10px;
|
|
cursor: pointer;
|
|
font-size: 16px;
|
|
line-height: 1;
|
|
color: var(--muted);
|
|
}
|
|
.iconBtn:hover { border-color: rgba(37, 99, 235, 0.35); color: var(--accent); background: #eff6ff; }
|
|
.iconBtn.danger:hover { border-color: rgba(239, 68, 68, 0.35); color: var(--danger); background: #fef2f2; }
|
|
|
|
.missionLoopLabel {
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
color: #7c3aed;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.06em;
|
|
margin-bottom: 8px;
|
|
}
|
|
.missionLoopDrop {
|
|
display: grid;
|
|
gap: 8px;
|
|
min-height: 44px;
|
|
border-radius: 8px;
|
|
padding: 4px;
|
|
transition: background 0.15s ease;
|
|
}
|
|
.missionLoopDrop.dragOver {
|
|
background: rgba(37, 99, 235, 0.08);
|
|
outline: 2px dashed rgba(37, 99, 235, 0.35);
|
|
outline-offset: 2px;
|
|
}
|
|
.missionLoopEmpty {
|
|
font-size: 12px;
|
|
color: var(--muted);
|
|
text-align: center;
|
|
padding: 10px;
|
|
}
|
|
|
|
.missionDialog {
|
|
border: none;
|
|
border-radius: 16px;
|
|
padding: 0;
|
|
width: min(480px, calc(100vw - 32px));
|
|
box-shadow: var(--shadow2);
|
|
}
|
|
.missionDialogWide { width: min(560px, calc(100vw - 32px)); }
|
|
.missionDialog::backdrop { background: rgba(15, 23, 42, 0.45); }
|
|
.missionDialogForm { display: grid; }
|
|
.missionDialogHeader {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding: 16px 18px;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
.missionDialogHeader h3 { margin: 0; font-size: 16px; }
|
|
.missionDialogBody { padding: 16px 18px; display: grid; gap: 12px; }
|
|
.missionDialogBody textarea {
|
|
width: 100%;
|
|
border: 1px solid var(--border);
|
|
border-radius: 10px;
|
|
padding: 10px 12px;
|
|
font: inherit;
|
|
resize: vertical;
|
|
}
|
|
.missionDialogFooter {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 10px;
|
|
padding: 14px 18px;
|
|
border-top: 1px solid var(--border);
|
|
background: #f8fafc;
|
|
}
|
|
.missionConfigGrid { display: grid; gap: 12px; }
|
|
.missionConfigGrid .rowWide { grid-template-columns: 1fr; gap: 6px; }
|
|
|
|
.dashboardPage { display: grid; gap: 16px; min-width: 0; width: 100%; }
|
|
.dashboardToolbar { display: flex; gap: 8px; flex-wrap: wrap; }
|
|
.dashboardGrid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
|
|
gap: 14px;
|
|
}
|
|
.dashboardGrid--edit .dashboardWidget { outline: 2px dashed rgba(37, 99, 235, 0.25); outline-offset: 2px; }
|
|
.dashboardWidget {
|
|
border: 1px solid var(--border);
|
|
border-radius: 14px;
|
|
background: #fff;
|
|
box-shadow: var(--shadow);
|
|
overflow: hidden;
|
|
min-height: 140px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.dashboardWidgetHeader {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
padding: 10px 12px;
|
|
border-bottom: 1px solid var(--border);
|
|
background: var(--panel2);
|
|
}
|
|
.dashboardWidgetTitle { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
|
|
.dashboardWidgetChrome { display: flex; gap: 6px; }
|
|
.dashboardWidgetBody { padding: 12px; display: grid; gap: 10px; flex: 1; align-content: start; }
|
|
.dashboardWidgetHint { margin: 0; font-size: 11px; }
|
|
.dashboardMissionBtn,
|
|
.dashboardMissionGroupBtn {
|
|
appearance: none;
|
|
width: 100%;
|
|
border: 1px solid rgba(37, 99, 235, 0.25);
|
|
background: linear-gradient(180deg, #eff6ff, #dbeafe);
|
|
color: #1e3a8a;
|
|
border-radius: 12px;
|
|
padding: 14px 12px;
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
}
|
|
.dashboardMissionBtn:hover,
|
|
.dashboardMissionGroupBtn:hover { border-color: rgba(37, 99, 235, 0.45); box-shadow: var(--shadow); }
|
|
.dashboardMissionBtnIcon {
|
|
width: 28px;
|
|
height: 28px;
|
|
border-radius: 999px;
|
|
display: grid;
|
|
place-items: center;
|
|
background: rgba(37, 99, 235, 0.15);
|
|
font-size: 12px;
|
|
}
|
|
.dashboardMissionGroupList { display: grid; gap: 8px; max-height: 220px; overflow: auto; }
|
|
.dashboardMissionGroupBtn { padding: 10px 12px; font-size: 13px; justify-content: flex-start; }
|
|
.dashboardQueueRunner {
|
|
padding: 8px 10px;
|
|
border-radius: 8px;
|
|
border: 1px solid var(--border);
|
|
background: #f8fafc;
|
|
font-size: 12px;
|
|
}
|
|
.dashboardQueueRunner.running { background: #eff6ff; border-color: rgba(37, 99, 235, 0.25); color: #1e3a8a; }
|
|
.dashboardQueueRunner.paused { background: #fef3c7; border-color: #fcd34d; color: #92400e; }
|
|
.dashboardQueueList { display: grid; gap: 6px; max-height: 180px; overflow: auto; }
|
|
.missionQueueItem.compact { grid-template-columns: 1fr auto; padding: 8px 10px; }
|
|
.missionQueueWidgetActions { display: flex; align-items: center; }
|
|
.dashboardPauseBtn {
|
|
appearance: none;
|
|
width: 100%;
|
|
border: 1px solid var(--border);
|
|
border-radius: 12px;
|
|
padding: 16px;
|
|
font-size: 16px;
|
|
font-weight: 800;
|
|
cursor: pointer;
|
|
background: #fff7ed;
|
|
color: #9a3412;
|
|
}
|
|
.dashboardPauseBtn.is-paused { background: #ecfdf5; color: #047857; }
|
|
.dashboardPauseBtn:disabled { opacity: 0.45; cursor: not-allowed; }
|
|
.dashboardRunnerControls { display: grid; gap: 8px; }
|
|
.dashboardCancelBtn {
|
|
appearance: none;
|
|
width: 100%;
|
|
border: 1px solid rgba(239, 68, 68, 0.35);
|
|
border-radius: 12px;
|
|
padding: 12px;
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
background: #fef2f2;
|
|
color: #b91c1c;
|
|
}
|
|
.dashboardCancelBtn:hover:not(:disabled) { background: #fee2e2; }
|
|
.dashboardCancelBtn:disabled { opacity: 0.45; cursor: not-allowed; }
|
|
.dashboardInfoCard .dashboardInfoGrid { display: grid; gap: 8px; }
|
|
.dashboardEmpty { text-align: center; padding: 12px 0 0; }
|
|
|
|
@media (max-width: 1100px) {
|
|
.mirMissionStrip { max-width: 280px; }
|
|
.mirPanel--status { right: 8px; left: 8px; }
|
|
.mirPanel--locale { right: 8px; left: 8px; }
|
|
.mirPanel--user { right: 8px; left: auto; }
|
|
}
|
|
|
|
@media (max-width: 980px) {
|
|
.shell { grid-template-columns: 1fr; }
|
|
.sidebar { position: relative; height: auto; }
|
|
.body { grid-template-rows: auto 1fr; }
|
|
.content { grid-template-columns: 1fr; height: auto; }
|
|
.splitter { display: none; }
|
|
.contentLeft { max-height: none; overflow: visible; }
|
|
}
|
|
|
|
.integrationsPage { min-width: 0; width: 100%; display: grid; gap: 16px; }
|
|
.integrationRow { cursor: default; }
|
|
.integrationHeaderActions { display: flex; gap: 8px; flex-wrap: wrap; }
|
|
.integrationCoilSection { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); }
|
|
.integrationSectionLabel { font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
|
|
.integrationCoilGrid { display: flex; flex-wrap: wrap; gap: 8px; }
|
|
.integrationCoilChip {
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
font-size: 12px;
|
|
padding: 6px 10px;
|
|
border-radius: 8px;
|
|
border: 1px solid var(--border);
|
|
background: var(--panel2);
|
|
color: var(--text);
|
|
cursor: pointer;
|
|
}
|
|
.integrationCoilChip.on {
|
|
border-color: var(--accent);
|
|
background: color-mix(in srgb, var(--accent) 18%, var(--panel2));
|
|
}
|
|
.integrationCoilChip:hover { border-color: var(--accent); }
|
|
.integrationApiBody { display: grid; gap: 14px; }
|
|
.integrationApiBlock { display: grid; gap: 6px; }
|
|
.integrationPre {
|
|
margin: 0;
|
|
padding: 12px 14px;
|
|
border-radius: 10px;
|
|
border: 1px solid var(--border);
|
|
background: var(--panel2);
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
font-size: 11px;
|
|
line-height: 1.5;
|
|
overflow-x: auto;
|
|
white-space: pre-wrap;
|
|
word-break: break-all;
|
|
}
|
|
.integrationCode { font-size: 13px; word-break: break-all; }
|
|
.integrationTestRow .integrationTestActions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
|
|
.integrationTestRow select { min-width: 220px; }
|
|
|
|
/* --- Auth / Sign in (MiR §2.1) --- */
|
|
.shell.auth-locked { display: none !important; }
|
|
.loginScreen[hidden] { display: none !important; }
|
|
.loginForm[hidden] { display: none !important; }
|
|
.loginHelp[hidden] { display: none !important; }
|
|
.loginError[hidden] { display: none !important; }
|
|
|
|
.loginPanel {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 40px;
|
|
padding: 36px 40px 40px;
|
|
}
|
|
|
|
.loginPanel--pin {
|
|
align-items: start;
|
|
}
|
|
|
|
.loginPanel[hidden] { display: none !important; }
|
|
|
|
.loginScreen {
|
|
--mir-blue: #3d6cb3;
|
|
--mir-blue-dark: #2f5a9a;
|
|
--mir-green: #5cb85c;
|
|
--mir-green-hover: #4cae4c;
|
|
--mir-tab-inactive: #c8c8c8;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 32px 24px;
|
|
background: var(--mir-blue);
|
|
font-family: "Segoe UI", ui-sans-serif, system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
|
|
}
|
|
|
|
.loginFrame {
|
|
width: min(920px, 100%);
|
|
}
|
|
|
|
.loginHeader {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: space-between;
|
|
gap: 20px;
|
|
flex-wrap: wrap;
|
|
padding: 0 8px 0 4px;
|
|
margin-bottom: -1px;
|
|
}
|
|
|
|
.loginHeaderBrand {
|
|
color: #fff;
|
|
font-size: clamp(2rem, 5vw, 2.75rem);
|
|
font-weight: 700;
|
|
letter-spacing: -0.02em;
|
|
line-height: 1;
|
|
padding-bottom: 12px;
|
|
}
|
|
|
|
.loginHeaderRight {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
gap: 14px;
|
|
flex-wrap: wrap;
|
|
margin-left: auto;
|
|
padding-bottom: 8px;
|
|
}
|
|
|
|
.loginHeaderPrompt {
|
|
color: #fff;
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
.loginTabs {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
gap: 4px;
|
|
}
|
|
|
|
.loginTab {
|
|
border: none;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
padding: 12px 18px;
|
|
border-radius: 6px 6px 0 0;
|
|
background: var(--mir-tab-inactive);
|
|
color: #333;
|
|
transition: background 0.15s ease;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.loginTab:hover:not(.active) {
|
|
background: #d8d8d8;
|
|
}
|
|
|
|
.loginTab.active {
|
|
background: #fff;
|
|
color: #111;
|
|
padding-bottom: 13px;
|
|
}
|
|
|
|
.loginCard {
|
|
background: #fff;
|
|
border-radius: 0 8px 8px 8px;
|
|
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
|
|
min-height: 320px;
|
|
}
|
|
|
|
.loginHelpNote {
|
|
font-size: 13px;
|
|
color: #888;
|
|
font-style: italic;
|
|
}
|
|
|
|
.loginPinLeft {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0;
|
|
}
|
|
|
|
.loginPinBoxes {
|
|
display: flex;
|
|
gap: 14px;
|
|
margin-top: 28px;
|
|
}
|
|
|
|
.loginPinCell {
|
|
width: 54px;
|
|
height: 54px;
|
|
border: 2px solid #c8c8c8;
|
|
border-radius: 10px;
|
|
background: #fff;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 32px;
|
|
line-height: 1;
|
|
color: #111;
|
|
transition: border-color 0.15s ease;
|
|
}
|
|
|
|
.loginPinCell.filled::after {
|
|
content: "•";
|
|
font-weight: 700;
|
|
}
|
|
|
|
.loginPinCell.active {
|
|
border-color: var(--mir-blue);
|
|
box-shadow: 0 0 0 2px rgba(61, 108, 179, 0.2);
|
|
}
|
|
|
|
.loginPinError {
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.loginKeypad {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 10px;
|
|
width: min(100%, 300px);
|
|
margin: 0 auto;
|
|
align-self: center;
|
|
}
|
|
|
|
.loginKey {
|
|
border: none;
|
|
border-radius: 12px;
|
|
background: var(--mir-green);
|
|
color: #fff;
|
|
font-size: 26px;
|
|
font-weight: 600;
|
|
line-height: 1;
|
|
padding: 20px 0;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
transition: background 0.12s ease, transform 0.08s ease;
|
|
min-height: 64px;
|
|
}
|
|
|
|
.loginKey:hover {
|
|
background: var(--mir-green-hover);
|
|
}
|
|
|
|
.loginKey:active {
|
|
transform: scale(0.97);
|
|
}
|
|
|
|
.loginKey--wide {
|
|
grid-column: span 2;
|
|
}
|
|
|
|
.loginKey--back {
|
|
background: #3a3a3a;
|
|
font-size: 22px;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
}
|
|
|
|
.loginKey--back:hover {
|
|
background: #2a2a2a;
|
|
}
|
|
|
|
.loginScreen.is-loading .loginKey {
|
|
opacity: 0.55;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.loginHelp {
|
|
color: #666;
|
|
font-size: 14px;
|
|
line-height: 1.55;
|
|
}
|
|
|
|
.loginHelpTitle {
|
|
margin: 0 0 16px;
|
|
color: #222;
|
|
font-size: 1.35rem;
|
|
font-weight: 700;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.loginHelp p {
|
|
margin: 0 0 14px;
|
|
}
|
|
|
|
.loginHelp p:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.loginForms {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
min-height: 220px;
|
|
}
|
|
|
|
.loginForm {
|
|
display: grid;
|
|
gap: 18px;
|
|
}
|
|
|
|
.loginField {
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.loginFieldLabel {
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
color: #222;
|
|
}
|
|
|
|
.loginField input {
|
|
width: 100%;
|
|
padding: 10px 12px;
|
|
font-size: 15px;
|
|
border: 1px solid #c5c5c5;
|
|
border-radius: 4px;
|
|
background: #fff;
|
|
color: #111;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.loginField input:focus {
|
|
outline: 2px solid rgba(61, 108, 179, 0.35);
|
|
border-color: var(--mir-blue);
|
|
}
|
|
|
|
.loginField input:-webkit-autofill {
|
|
-webkit-box-shadow: 0 0 0 1000px #fff8d6 inset;
|
|
box-shadow: 0 0 0 1000px #fff8d6 inset;
|
|
}
|
|
|
|
.loginSubmit {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
align-self: flex-start;
|
|
margin-top: 4px;
|
|
padding: 10px 22px;
|
|
border: none;
|
|
border-radius: 6px;
|
|
background: var(--mir-green);
|
|
color: #fff;
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: background 0.15s ease;
|
|
}
|
|
|
|
.loginSubmit:hover {
|
|
background: var(--mir-green-hover);
|
|
}
|
|
|
|
.loginSubmit:active {
|
|
transform: translateY(1px);
|
|
}
|
|
|
|
.loginSubmitIcon {
|
|
flex-shrink: 0;
|
|
opacity: 0.95;
|
|
}
|
|
|
|
.loginScreen.is-loading .loginSubmit {
|
|
opacity: 0.75;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.loginError {
|
|
color: #b42318;
|
|
font-size: 13px;
|
|
margin: 12px 0 0;
|
|
padding: 10px 12px;
|
|
border-radius: 6px;
|
|
background: rgba(239, 68, 68, 0.08);
|
|
border: 1px solid rgba(239, 68, 68, 0.25);
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.loginHeader {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.loginHeaderRight {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
margin-left: 0;
|
|
}
|
|
|
|
.loginHeaderPrompt {
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.loginTabs {
|
|
width: 100%;
|
|
}
|
|
|
|
.loginTab {
|
|
flex: 1;
|
|
text-align: center;
|
|
border-radius: 6px 6px 0 0;
|
|
white-space: normal;
|
|
font-size: 13px;
|
|
padding: 10px 8px;
|
|
}
|
|
|
|
.loginPanel {
|
|
grid-template-columns: 1fr;
|
|
gap: 24px;
|
|
padding: 24px 20px 28px;
|
|
}
|
|
|
|
.loginKeypad {
|
|
width: 100%;
|
|
max-width: 320px;
|
|
}
|
|
|
|
.loginCard {
|
|
border-radius: 8px;
|
|
}
|
|
}
|
|
|
|
.userMenuWrap { position: relative; }
|
|
.userMenuBtn { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.userMenuPanel {
|
|
position: absolute;
|
|
top: calc(100% + 6px);
|
|
right: 0;
|
|
min-width: 220px;
|
|
background: var(--panel);
|
|
border: 1px solid var(--border);
|
|
border-radius: 12px;
|
|
box-shadow: var(--shadow2);
|
|
padding: 8px;
|
|
z-index: 50;
|
|
}
|
|
.userMenuHeader { padding: 8px 10px 10px; border-bottom: 1px solid var(--border); margin-bottom: 4px; }
|
|
.userMenuName { font-weight: 600; }
|
|
.userMenuGroup { font-size: 12px; }
|
|
.userMenuItem {
|
|
display: block;
|
|
width: 100%;
|
|
text-align: left;
|
|
border: none;
|
|
background: transparent;
|
|
padding: 10px 12px;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
font-size: 13px;
|
|
}
|
|
.userMenuItem:hover { background: var(--panel2); }
|
|
.userMenuItemDanger { color: var(--danger); }
|
|
|
|
body.auth-readonly-config #saveLayoutBtn,
|
|
body.auth-readonly-config .btn.primary[data-write-config] { display: none !important; }
|
|
body.auth-readonly-missions .missionToolbar .btn.primary,
|
|
body.auth-readonly-missions #missionCreateBtn { pointer-events: none; opacity: 0.45; }
|
|
body.auth-readonly-integrations .integrationToolbar .btn.primary { pointer-events: none; opacity: 0.45; }
|
|
|