Robot Ip input & cache

This commit is contained in:
2026-04-19 15:18:29 +03:00
parent bba2301ba6
commit 07f26e3906
10 changed files with 1589 additions and 570 deletions

View File

@@ -374,3 +374,71 @@ label { font-size: 12px; color: var(--muted); display: block; margin-bottom: 3px
/* ── Video area ── */
.video-controls { display: flex; gap: 6px; align-items: center; }
#video-status { font-size: 12px; color: var(--muted); }
/* ── Menu Section (Robot & Mode) ── */
.menu-section {
background: linear-gradient(135deg, var(--surface2), var(--surface));
border-bottom: 2px solid var(--accent);
}
#robot-select {
width: 100%;
padding: 7px 8px;
background: var(--surface2);
border: 1px solid var(--border);
border-radius: 5px;
color: var(--text);
font-size: 13px;
cursor: pointer;
}
#robot-select:hover { border-color: var(--accent); }
#robot-select:focus { border-color: var(--accent); background: var(--surface); }
/* ── Mode Buttons ── */
.mode-buttons {
display: flex;
flex-direction: column;
gap: 6px;
margin-top: 8px;
}
.mode-btn {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 10px;
background: var(--surface2);
border: 1px solid var(--border);
border-radius: 5px;
color: var(--text);
cursor: pointer;
font-size: 13px;
transition: background 0.15s, border-color 0.15s, transform 0.1s;
text-align: left;
}
.mode-btn:hover {
background: var(--accent2);
border-color: var(--accent);
transform: translateX(2px);
}
.mode-btn.active {
background: var(--accent);
border-color: var(--accent);
color: #000;
font-weight: 600;
box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}
.mode-icon {
font-size: 18px;
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: center;
}
.mode-label {
flex: 1;
}