2026-03-11 22:09:24 +07:00
|
|
|
/* ── Oscilloscope panel ─────────────────────────────────────────────────── */
|
|
|
|
|
|
|
|
|
|
.osc-container {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
height: 100%;
|
|
|
|
|
background: #1e1e1e;
|
|
|
|
|
border-top: 1px solid #333;
|
|
|
|
|
font-family: 'Consolas', 'Menlo', monospace;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
color: #ccc;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Header ── */
|
|
|
|
|
.osc-header {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 8px;
|
|
|
|
|
padding: 4px 8px;
|
|
|
|
|
background: #252526;
|
|
|
|
|
border-bottom: 1px solid #333;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
min-height: 32px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.osc-title {
|
|
|
|
|
color: #cccccc;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
margin-right: 4px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.osc-btn {
|
|
|
|
|
background: transparent;
|
|
|
|
|
border: 1px solid #555;
|
|
|
|
|
color: #ccc;
|
|
|
|
|
padding: 2px 8px;
|
|
|
|
|
border-radius: 3px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
white-space: nowrap;
|
2026-04-22 02:45:45 +07:00
|
|
|
transition:
|
|
|
|
|
border-color 0.15s,
|
|
|
|
|
background 0.15s;
|
2026-03-11 22:09:24 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.osc-btn:hover {
|
style(ui): unify every interactive surface on the single #0071e3 accent
Sweep all off-brand blues (#007acc logo-blue, #0e639c, #3b82f6) and the neon
cyan family (#4fc3f7, #00b8d4, #00e5ff, rgba 0,184,212 / 0,122,204) across the
editor, simulator, examples gallery and pages to var(--color-action-primary).
The Code/Both/Circuit toggle, board chips, library manager, modals etc. now
match the Libraries / +Add buttons. Also keep the editor Libraries label
visible in the default split (lower the container-query threshold).
2026-06-21 10:34:25 +07:00
|
|
|
border-color: var(--color-action-primary);
|
2026-03-11 22:09:24 +07:00
|
|
|
color: #fff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.osc-btn-active {
|
|
|
|
|
background: #0e3a5a;
|
style(ui): unify every interactive surface on the single #0071e3 accent
Sweep all off-brand blues (#007acc logo-blue, #0e639c, #3b82f6) and the neon
cyan family (#4fc3f7, #00b8d4, #00e5ff, rgba 0,184,212 / 0,122,204) across the
editor, simulator, examples gallery and pages to var(--color-action-primary).
The Code/Both/Circuit toggle, board chips, library manager, modals etc. now
match the Libraries / +Add buttons. Also keep the editor Libraries label
visible in the default split (lower the container-query threshold).
2026-06-21 10:34:25 +07:00
|
|
|
border-color: var(--color-action-primary);
|
|
|
|
|
color: var(--color-action-primary);
|
2026-03-11 22:09:24 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.osc-btn-danger {
|
|
|
|
|
border-color: #7a0000;
|
|
|
|
|
color: #ff6b6b;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.osc-btn-danger:hover {
|
|
|
|
|
background: #3a0000;
|
|
|
|
|
border-color: #ff6b6b;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.osc-label {
|
|
|
|
|
color: #888;
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.osc-select {
|
|
|
|
|
background: #1e1e1e;
|
|
|
|
|
border: 1px solid #444;
|
|
|
|
|
color: #ccc;
|
|
|
|
|
padding: 2px 4px;
|
|
|
|
|
border-radius: 3px;
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
outline: none;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.osc-select:focus {
|
style(ui): unify every interactive surface on the single #0071e3 accent
Sweep all off-brand blues (#007acc logo-blue, #0e639c, #3b82f6) and the neon
cyan family (#4fc3f7, #00b8d4, #00e5ff, rgba 0,184,212 / 0,122,204) across the
editor, simulator, examples gallery and pages to var(--color-action-primary).
The Code/Both/Circuit toggle, board chips, library manager, modals etc. now
match the Libraries / +Add buttons. Also keep the editor Libraries label
visible in the default split (lower the container-query threshold).
2026-06-21 10:34:25 +07:00
|
|
|
border-color: var(--color-action-primary);
|
2026-03-11 22:09:24 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Channel picker dropdown ── */
|
|
|
|
|
.osc-picker-wrap {
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.osc-picker-dropdown {
|
2026-03-16 20:30:51 +07:00
|
|
|
/* position/left/bottom/z-index set via inline style (portal) */
|
2026-03-11 22:09:24 +07:00
|
|
|
background: #252526;
|
|
|
|
|
border: 1px solid #555;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
padding: 4px;
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: repeat(4, 1fr);
|
|
|
|
|
gap: 3px;
|
|
|
|
|
min-width: 200px;
|
2026-03-16 20:30:51 +07:00
|
|
|
box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Multi-board picker layout */
|
|
|
|
|
.osc-picker-multiboard {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
gap: 6px;
|
|
|
|
|
padding: 8px;
|
|
|
|
|
min-width: 260px;
|
|
|
|
|
max-height: 320px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.osc-picker-board-tabs {
|
|
|
|
|
display: flex;
|
|
|
|
|
gap: 4px;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
border-bottom: 1px solid #3a3a3a;
|
|
|
|
|
padding-bottom: 6px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.osc-picker-board-tab {
|
|
|
|
|
background: #2d2d2d;
|
|
|
|
|
border: 1px solid #444;
|
|
|
|
|
color: #999;
|
|
|
|
|
padding: 2px 8px;
|
|
|
|
|
border-radius: 3px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
font-family: inherit;
|
2026-04-22 02:45:45 +07:00
|
|
|
transition:
|
|
|
|
|
background 0.1s,
|
|
|
|
|
color 0.1s;
|
2026-03-16 20:30:51 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.osc-picker-board-tab:hover {
|
|
|
|
|
background: #383838;
|
|
|
|
|
color: #ccc;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.osc-picker-board-tab.active {
|
|
|
|
|
background: #0e3a5a;
|
style(ui): unify every interactive surface on the single #0071e3 accent
Sweep all off-brand blues (#007acc logo-blue, #0e639c, #3b82f6) and the neon
cyan family (#4fc3f7, #00b8d4, #00e5ff, rgba 0,184,212 / 0,122,204) across the
editor, simulator, examples gallery and pages to var(--color-action-primary).
The Code/Both/Circuit toggle, board chips, library manager, modals etc. now
match the Libraries / +Add buttons. Also keep the editor Libraries label
visible in the default split (lower the container-query threshold).
2026-06-21 10:34:25 +07:00
|
|
|
border-color: var(--color-action-primary);
|
|
|
|
|
color: var(--color-action-primary);
|
2026-03-16 20:30:51 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.osc-picker-board-label {
|
|
|
|
|
font-size: 10px;
|
|
|
|
|
color: #666;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
letter-spacing: 0.5px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.osc-picker-pins {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: repeat(4, 1fr);
|
|
|
|
|
gap: 3px;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
flex: 1;
|
2026-03-11 22:09:24 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.osc-pin-btn {
|
|
|
|
|
background: #2d2d2d;
|
|
|
|
|
border: 1px solid #444;
|
|
|
|
|
color: #ccc;
|
|
|
|
|
padding: 3px 6px;
|
|
|
|
|
border-radius: 3px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
text-align: center;
|
2026-04-22 02:45:45 +07:00
|
|
|
transition:
|
|
|
|
|
background 0.1s,
|
|
|
|
|
border-color 0.1s;
|
2026-03-11 22:09:24 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.osc-pin-btn:hover {
|
|
|
|
|
background: #0e3a5a;
|
style(ui): unify every interactive surface on the single #0071e3 accent
Sweep all off-brand blues (#007acc logo-blue, #0e639c, #3b82f6) and the neon
cyan family (#4fc3f7, #00b8d4, #00e5ff, rgba 0,184,212 / 0,122,204) across the
editor, simulator, examples gallery and pages to var(--color-action-primary).
The Code/Both/Circuit toggle, board chips, library manager, modals etc. now
match the Libraries / +Add buttons. Also keep the editor Libraries label
visible in the default split (lower the container-query threshold).
2026-06-21 10:34:25 +07:00
|
|
|
border-color: var(--color-action-primary);
|
2026-03-11 22:09:24 +07:00
|
|
|
color: #fff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.osc-pin-btn-active {
|
|
|
|
|
background: #1a3a1a;
|
|
|
|
|
border-color: #00ff41;
|
|
|
|
|
color: #00ff41;
|
|
|
|
|
cursor: default;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Waveform area ── */
|
|
|
|
|
.osc-waveforms {
|
|
|
|
|
flex: 1;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
overflow-x: hidden;
|
|
|
|
|
background: #0a0a0a;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.osc-empty {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
height: 100%;
|
|
|
|
|
color: #555;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
gap: 8px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.osc-channel-row {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: stretch;
|
|
|
|
|
border-bottom: 1px solid #1a1a1a;
|
|
|
|
|
height: 60px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.osc-channel-label {
|
2026-03-16 20:30:51 +07:00
|
|
|
width: 72px;
|
2026-03-11 22:09:24 +07:00
|
|
|
flex-shrink: 0;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
padding: 4px 6px;
|
|
|
|
|
background: #141414;
|
|
|
|
|
border-right: 1px solid #222;
|
2026-03-16 20:30:51 +07:00
|
|
|
gap: 2px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.osc-channel-board {
|
|
|
|
|
font-size: 9px;
|
|
|
|
|
color: #666;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
max-width: 100%;
|
2026-03-11 22:09:24 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.osc-channel-name {
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.osc-channel-remove {
|
|
|
|
|
background: transparent;
|
|
|
|
|
border: none;
|
|
|
|
|
color: #555;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
line-height: 1;
|
|
|
|
|
padding: 0;
|
|
|
|
|
transition: color 0.1s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.osc-channel-remove:hover {
|
|
|
|
|
color: #ff6b6b;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.osc-channel-canvas-wrap {
|
|
|
|
|
flex: 1;
|
|
|
|
|
position: relative;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.osc-channel-canvas {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Time ruler ── */
|
|
|
|
|
.osc-ruler {
|
|
|
|
|
height: 20px;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
background: #141414;
|
|
|
|
|
border-top: 1px solid #222;
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.osc-ruler-canvas {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
2026-05-23 02:11:03 +07:00
|
|
|
|
|
|
|
|
/* ── Trigger status badge ───────────────────────────────────────────────── */
|
|
|
|
|
.osc-trigger-status {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
padding: 2px 8px;
|
|
|
|
|
border-radius: 3px;
|
|
|
|
|
font-size: 10px;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
letter-spacing: 0.5px;
|
|
|
|
|
border: 1px solid currentColor;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.osc-trigger-status-idle {
|
|
|
|
|
color: #6b7280;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.osc-trigger-status-armed {
|
|
|
|
|
color: #f59e0b;
|
|
|
|
|
background: rgba(245, 158, 11, 0.1);
|
|
|
|
|
animation: osc-pulse-armed 1.5s ease-in-out infinite;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.osc-trigger-status-triggered {
|
|
|
|
|
color: #22c55e;
|
|
|
|
|
background: rgba(34, 197, 94, 0.1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.osc-trigger-status-captured {
|
|
|
|
|
color: #ff9800;
|
|
|
|
|
background: rgba(255, 152, 0, 0.15);
|
|
|
|
|
border-color: #ff9800;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes osc-pulse-armed {
|
|
|
|
|
0%, 100% { opacity: 0.6; }
|
|
|
|
|
50% { opacity: 1; }
|
|
|
|
|
}
|