2026-10-17 10:49:38 +00:00
|
|
|
|
@import "tailwindcss";
|
|
|
|
|
|
|
|
|
|
|
|
@source "../../../app/**/*.{vue,ts}";
|
|
|
|
|
|
|
|
|
|
|
|
@theme {
|
|
|
|
|
|
--font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
|
|
|
|
|
|
--font-mono: "JetBrains Mono", ui-monospace, monospace;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Dark workbench palette. Green = a wire carrying 1, grey = 0. */
|
|
|
|
|
|
:root {
|
|
|
|
|
|
--bg: #0e1116;
|
|
|
|
|
|
--panel: #13181f;
|
|
|
|
|
|
--panel-2: #1a212b;
|
|
|
|
|
|
--border: #252e3a;
|
|
|
|
|
|
--text: #dbe2ea;
|
|
|
|
|
|
--muted: #8592a3;
|
|
|
|
|
|
--accent: #4cc2ff;
|
|
|
|
|
|
--on: #3ddc84;
|
|
|
|
|
|
--on-dim: rgb(61 220 132 / 0.22);
|
|
|
|
|
|
--off: #3b4554;
|
|
|
|
|
|
--chip: #18202a;
|
|
|
|
|
|
--chip-stroke: #5a6779;
|
|
|
|
|
|
--danger: #ff6b6b;
|
|
|
|
|
|
--lamp: #ffd34d;
|
|
|
|
|
|
color-scheme: dark;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
html,
|
|
|
|
|
|
body,
|
|
|
|
|
|
#__nuxt {
|
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
body {
|
|
|
|
|
|
margin: 0;
|
|
|
|
|
|
background: var(--bg);
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
font-family: var(--font-sans);
|
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
kbd {
|
|
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
|
|
font-size: 10px;
|
|
|
|
|
|
line-height: 1;
|
|
|
|
|
|
padding: 2px 4px;
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-bottom-width: 2px;
|
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* ── Layout ─────────────────────────────────────────────────────── */
|
|
|
|
|
|
.app {
|
|
|
|
|
|
display: grid;
|
2026-10-22 18:24:52 +00:00
|
|
|
|
grid-template-rows: 1fr;
|
2026-10-17 10:49:38 +00:00
|
|
|
|
height: 100dvh;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.workspace {
|
R Top bar like the parts bar, no left panel
The parts panel on the left is gone: pinned parts sit at the start of the
bottom bar, components open from the pencil in its Components list (or a
double-click), examples load from there too. The side panel moved to the
left. The top bar floats across the whole width: menu with the project,
Main and the way into the open component instead of the circuit
selector, Challenges in a drop-down, clock, search, undo, settings,
share and account. / and the bar's search open quick add.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:17:41 +00:00
|
|
|
|
--left: 272px;
|
R Panels: This and Pins on the left, the selection on the right
The left panel is about the circuit you are in: This (challenge and
Check on top, problems, name, statistics, truth table, as a component,
transistors, tools) and Pins. The selection gets its own panel on the
right, there only while something is selected, with its settings and
actions such as making a component out of it. The bars follow the
canvas width and drop labels when it gets narrow.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:38:17 +00:00
|
|
|
|
--right: 280px;
|
R bars and panels fit small windows, Main always in reach; A Space search opens components
The top and bottom bars keep their steady centred width on wide windows,
but never get narrower than 760px as far as the panels leave room, and
move off the centre rather than under a panel. On a narrow bar the words
go first, the names between Main and the open component fold into "…"
(a menu back to each), and sound, settings and help, then undo, redo and
share, then challenges and search move into a "⋯" menu. Main keeps its
house at every width; before, the rule that hid its label hid the icons
too, and on a squeezed bar the crumbs, Main with them, were cut off.
From 821 to 1100px the selection's panel floats over the canvas edge
between the bars instead of narrowing the canvas. The zoom buttons sit
above the parts bar where it reaches them. The challenges drop-down, the
flyouts and the search box stay on screen.
In the Space search, Shift+Enter (or Ctrl+Enter, or the pencil on a
component's line) opens the component to edit it instead of placing it,
and typing a name lists "Open <name>" for every circuit of the project,
also those that cannot be placed here; the one you are in shows as where
you are. A circuit on the way here is reached by going back along it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 17:10:54 +00:00
|
|
|
|
/* The bars keep the width they have with both panels open, centred, whatever is open.
|
|
|
|
|
|
On a smaller window they stay at least 760px wide as far as the panels leave room,
|
|
|
|
|
|
moving off the centre rather than under a panel. */
|
|
|
|
|
|
--bar-start: calc(var(--left) + 12px);
|
|
|
|
|
|
--bar-end: 12px;
|
|
|
|
|
|
--bar-w: min(max(100% - 2 * (280px + 12px), 760px), 100% - var(--bar-start) - var(--bar-end));
|
|
|
|
|
|
--bar-x: clamp(var(--bar-start), (100% - var(--bar-w)) / 2, 100% - var(--bar-end) - var(--bar-w));
|
R Packed panels, Tab adds rows, flyouts at the pointer, steady top bar
Combining switches, buttons, lamps or outputs into a panel, and merging
panels, puts the rows right under each other (space 0). Tab in the last
row's name of a panel, or the last line of a connector type, adds the
next one once it is filled in. The bottom bar's lists open centred above
the pointer. The top bar keeps the width it has with both panels open,
centred, so it no longer grows and shrinks with the panels.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 20:47:38 +00:00
|
|
|
|
position: relative;
|
2026-10-17 10:49:38 +00:00
|
|
|
|
display: grid;
|
R Top bar like the parts bar, no left panel
The parts panel on the left is gone: pinned parts sit at the start of the
bottom bar, components open from the pencil in its Components list (or a
double-click), examples load from there too. The side panel moved to the
left. The top bar floats across the whole width: menu with the project,
Main and the way into the open component instead of the circuit
selector, Challenges in a drop-down, clock, search, undo, settings,
share and account. / and the bar's search open quick add.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:17:41 +00:00
|
|
|
|
grid-template-columns: var(--left) 1fr;
|
2026-10-17 10:49:38 +00:00
|
|
|
|
min-height: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
R Top bar like the parts bar, no left panel
The parts panel on the left is gone: pinned parts sit at the start of the
bottom bar, components open from the pencil in its Components list (or a
double-click), examples load from there too. The side panel moved to the
left. The top bar floats across the whole width: menu with the project,
Main and the way into the open component instead of the circuit
selector, Challenges in a drop-down, clock, search, undo, settings,
share and account. / and the bar's search open quick add.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:17:41 +00:00
|
|
|
|
.workspace.no-panel {
|
2026-10-21 08:09:43 +00:00
|
|
|
|
--left: 36px !important;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
R Panels: This and Pins on the left, the selection on the right
The left panel is about the circuit you are in: This (challenge and
Check on top, problems, name, statistics, truth table, as a component,
transistors, tools) and Pins. The selection gets its own panel on the
right, there only while something is selected, with its settings and
actions such as making a component out of it. The bars follow the
canvas width and drop labels when it gets narrow.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:38:17 +00:00
|
|
|
|
.workspace.has-selection {
|
R bars and panels fit small windows, Main always in reach; A Space search opens components
The top and bottom bars keep their steady centred width on wide windows,
but never get narrower than 760px as far as the panels leave room, and
move off the centre rather than under a panel. On a narrow bar the words
go first, the names between Main and the open component fold into "…"
(a menu back to each), and sound, settings and help, then undo, redo and
share, then challenges and search move into a "⋯" menu. Main keeps its
house at every width; before, the rule that hid its label hid the icons
too, and on a squeezed bar the crumbs, Main with them, were cut off.
From 821 to 1100px the selection's panel floats over the canvas edge
between the bars instead of narrowing the canvas. The zoom buttons sit
above the parts bar where it reaches them. The challenges drop-down, the
flyouts and the search box stay on screen.
In the Space search, Shift+Enter (or Ctrl+Enter, or the pencil on a
component's line) opens the component to edit it instead of placing it,
and typing a name lists "Open <name>" for every circuit of the project,
also those that cannot be placed here; the one you are in shows as where
you are. A circuit on the way here is reached by going back along it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 17:10:54 +00:00
|
|
|
|
--bar-end: calc(var(--right) + 12px);
|
R Panels: This and Pins on the left, the selection on the right
The left panel is about the circuit you are in: This (challenge and
Check on top, problems, name, statistics, truth table, as a component,
transistors, tools) and Pins. The selection gets its own panel on the
right, there only while something is selected, with its settings and
actions such as making a component out of it. The bars follow the
canvas width and drop labels when it gets narrow.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:38:17 +00:00
|
|
|
|
grid-template-columns: var(--left) 1fr var(--right);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-17 10:49:38 +00:00
|
|
|
|
.stage {
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
min-width: 0;
|
R Panels: This and Pins on the left, the selection on the right
The left panel is about the circuit you are in: This (challenge and
Check on top, problems, name, statistics, truth table, as a component,
transistors, tools) and Pins. The selection gets its own panel on the
right, there only while something is selected, with its settings and
actions such as making a component out of it. The bars follow the
canvas width and drop labels when it gets narrow.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:38:17 +00:00
|
|
|
|
container-type: inline-size;
|
2026-10-17 10:49:38 +00:00
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.inspector {
|
|
|
|
|
|
background: var(--panel);
|
|
|
|
|
|
min-height: 0;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.inspector {
|
R Top bar like the parts bar, no left panel
The parts panel on the left is gone: pinned parts sit at the start of the
bottom bar, components open from the pencil in its Components list (or a
double-click), examples load from there too. The side panel moved to the
left. The top bar floats across the whole width: menu with the project,
Main and the way into the open component instead of the circuit
selector, Challenges in a drop-down, clock, search, undo, settings,
share and account. / and the bar's search open quick add.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:17:41 +00:00
|
|
|
|
border-right: 1px solid var(--border);
|
2026-10-17 10:49:38 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.scroll {
|
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
|
flex: 1;
|
|
|
|
|
|
min-height: 0;
|
|
|
|
|
|
scrollbar-width: thin;
|
|
|
|
|
|
scrollbar-color: var(--border) transparent;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@media (max-width: 1100px) {
|
|
|
|
|
|
.workspace {
|
R Top bar like the parts bar, no left panel
The parts panel on the left is gone: pinned parts sit at the start of the
bottom bar, components open from the pencil in its Components list (or a
double-click), examples load from there too. The side panel moved to the
left. The top bar floats across the whole width: menu with the project,
Main and the way into the open component instead of the circuit
selector, Challenges in a drop-down, clock, search, undo, settings,
share and account. / and the bar's search open quick add.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:17:41 +00:00
|
|
|
|
--left: 252px;
|
2026-10-17 10:49:38 +00:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
R bars and panels fit small windows, Main always in reach; A Space search opens components
The top and bottom bars keep their steady centred width on wide windows,
but never get narrower than 760px as far as the panels leave room, and
move off the centre rather than under a panel. On a narrow bar the words
go first, the names between Main and the open component fold into "…"
(a menu back to each), and sound, settings and help, then undo, redo and
share, then challenges and search move into a "⋯" menu. Main keeps its
house at every width; before, the rule that hid its label hid the icons
too, and on a squeezed bar the crumbs, Main with them, were cut off.
From 821 to 1100px the selection's panel floats over the canvas edge
between the bars instead of narrowing the canvas. The zoom buttons sit
above the parts bar where it reaches them. The challenges drop-down, the
flyouts and the search box stay on screen.
In the Space search, Shift+Enter (or Ctrl+Enter, or the pencil on a
component's line) opens the component to edit it instead of placing it,
and typing a name lists "Open <name>" for every circuit of the project,
also those that cannot be placed here; the one you are in shows as where
you are. A circuit on the way here is reached by going back along it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 17:10:54 +00:00
|
|
|
|
/* A smaller window: the selection's panel floats over the canvas edge between
|
|
|
|
|
|
the bars instead of narrowing the canvas, and the bars run past it. */
|
|
|
|
|
|
@media (min-width: 821px) and (max-width: 1100px) {
|
|
|
|
|
|
.workspace.has-selection {
|
|
|
|
|
|
--bar-end: 12px;
|
|
|
|
|
|
grid-template-columns: var(--left) 1fr;
|
|
|
|
|
|
}
|
|
|
|
|
|
.workspace > .selection-panel {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
top: 62px;
|
|
|
|
|
|
right: 10px;
|
|
|
|
|
|
bottom: 72px;
|
|
|
|
|
|
z-index: 15;
|
|
|
|
|
|
width: var(--right);
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: 12px;
|
|
|
|
|
|
box-shadow: 0 18px 50px rgb(0 0 0 / 0.5);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-17 10:49:38 +00:00
|
|
|
|
@media (max-width: 820px) {
|
R Panels: This and Pins on the left, the selection on the right
The left panel is about the circuit you are in: This (challenge and
Check on top, problems, name, statistics, truth table, as a component,
transistors, tools) and Pins. The selection gets its own panel on the
right, there only while something is selected, with its settings and
actions such as making a component out of it. The bars follow the
canvas width and drop labels when it gets narrow.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:38:17 +00:00
|
|
|
|
.workspace,
|
|
|
|
|
|
.workspace.has-selection {
|
R bars and panels fit small windows, Main always in reach; A Space search opens components
The top and bottom bars keep their steady centred width on wide windows,
but never get narrower than 760px as far as the panels leave room, and
move off the centre rather than under a panel. On a narrow bar the words
go first, the names between Main and the open component fold into "…"
(a menu back to each), and sound, settings and help, then undo, redo and
share, then challenges and search move into a "⋯" menu. Main keeps its
house at every width; before, the rule that hid its label hid the icons
too, and on a squeezed bar the crumbs, Main with them, were cut off.
From 821 to 1100px the selection's panel floats over the canvas edge
between the bars instead of narrowing the canvas. The zoom buttons sit
above the parts bar where it reaches them. The challenges drop-down, the
flyouts and the search box stay on screen.
In the Space search, Shift+Enter (or Ctrl+Enter, or the pencil on a
component's line) opens the component to edit it instead of placing it,
and typing a name lists "Open <name>" for every circuit of the project,
also those that cannot be placed here; the one you are in shows as where
you are. A circuit on the way here is reached by going back along it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 17:10:54 +00:00
|
|
|
|
--bar-start: 12px;
|
|
|
|
|
|
--bar-end: 12px;
|
2026-10-17 10:49:38 +00:00
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
|
|
grid-template-rows: 1fr 40%;
|
|
|
|
|
|
}
|
R Panels: This and Pins on the left, the selection on the right
The left panel is about the circuit you are in: This (challenge and
Check on top, problems, name, statistics, truth table, as a component,
transistors, tools) and Pins. The selection gets its own panel on the
right, there only while something is selected, with its settings and
actions such as making a component out of it. The bars follow the
canvas width and drop labels when it gets narrow.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:38:17 +00:00
|
|
|
|
/* On a phone the selection takes the place of the panel below the canvas. */
|
|
|
|
|
|
.workspace.has-selection > .inspector:not(.selection-panel),
|
|
|
|
|
|
.workspace.has-selection > .rail {
|
|
|
|
|
|
display: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
.workspace > .selection-panel {
|
|
|
|
|
|
order: 2;
|
|
|
|
|
|
border-left: 0;
|
|
|
|
|
|
border-top: 1px solid var(--border);
|
|
|
|
|
|
}
|
R Top bar like the parts bar, no left panel
The parts panel on the left is gone: pinned parts sit at the start of the
bottom bar, components open from the pencil in its Components list (or a
double-click), examples load from there too. The side panel moved to the
left. The top bar floats across the whole width: menu with the project,
Main and the way into the open component instead of the circuit
selector, Challenges in a drop-down, clock, search, undo, settings,
share and account. / and the bar's search open quick add.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:17:41 +00:00
|
|
|
|
.workspace > .inspector,
|
|
|
|
|
|
.workspace > .rail {
|
|
|
|
|
|
order: 2;
|
|
|
|
|
|
border-right: 0;
|
2026-10-17 10:49:38 +00:00
|
|
|
|
border-top: 1px solid var(--border);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* ── Toolbar ────────────────────────────────────────────────────── */
|
|
|
|
|
|
.toolbar {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
gap: 12px;
|
|
|
|
|
|
padding: 0 10px;
|
|
|
|
|
|
background: var(--panel);
|
|
|
|
|
|
border-bottom: 1px solid var(--border);
|
|
|
|
|
|
min-width: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.brand {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 8px;
|
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
|
letter-spacing: -0.01em;
|
|
|
|
|
|
color: var(--on);
|
|
|
|
|
|
padding-right: 6px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.brand span {
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.tb-btn {
|
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 6px;
|
|
|
|
|
|
height: 32px;
|
|
|
|
|
|
padding: 0 8px;
|
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
|
max-width: 180px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.tb-btn:hover:not(:disabled) {
|
|
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.tb-btn.active {
|
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
|
background: rgb(76 194 255 / 0.12);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.tb-btn:disabled,
|
|
|
|
|
|
.tb-select:disabled {
|
|
|
|
|
|
opacity: 0.35;
|
|
|
|
|
|
cursor: not-allowed;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.tb-select,
|
|
|
|
|
|
.circuit-select select {
|
|
|
|
|
|
height: 32px;
|
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
|
padding: 0 6px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.circuit-select {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 6px;
|
|
|
|
|
|
min-width: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.circuit-select select {
|
|
|
|
|
|
max-width: 220px;
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.cycles {
|
|
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
padding: 0 4px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.status {
|
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 6px;
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
padding: 4px 8px;
|
|
|
|
|
|
border-radius: 999px;
|
|
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.status .dot {
|
|
|
|
|
|
width: 7px;
|
|
|
|
|
|
height: 7px;
|
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
background: var(--on);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.status.busy .dot {
|
|
|
|
|
|
background: var(--lamp);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.status.oscillating {
|
|
|
|
|
|
color: var(--danger);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.status.oscillating .dot {
|
|
|
|
|
|
background: var(--danger);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.seg {
|
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.seg button {
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
padding: 0 8px;
|
|
|
|
|
|
height: 30px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.seg button.active {
|
|
|
|
|
|
background: rgb(76 194 255 / 0.15);
|
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.menu-backdrop {
|
|
|
|
|
|
position: fixed;
|
|
|
|
|
|
inset: 0;
|
|
|
|
|
|
z-index: 40;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.menu {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
right: 0;
|
|
|
|
|
|
top: 38px;
|
|
|
|
|
|
z-index: 41;
|
|
|
|
|
|
width: 260px;
|
|
|
|
|
|
padding: 6px;
|
|
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
|
box-shadow: 0 12px 30px rgb(0 0 0 / 0.45);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.menu > button {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 8px;
|
|
|
|
|
|
padding: 7px 8px;
|
|
|
|
|
|
border-radius: 5px;
|
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
|
text-align: left;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.menu > button:hover {
|
|
|
|
|
|
background: var(--panel);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.menu hr {
|
|
|
|
|
|
border: 0;
|
|
|
|
|
|
border-top: 1px solid var(--border);
|
|
|
|
|
|
margin: 4px 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* ── Palette ────────────────────────────────────────────────────── */
|
|
|
|
|
|
.tabs {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
border-bottom: 1px solid var(--border);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.tabs button {
|
|
|
|
|
|
flex: 1;
|
|
|
|
|
|
height: 38px;
|
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
border-bottom: 2px solid transparent;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.tabs button.active {
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
border-bottom-color: var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.tabs .count {
|
|
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
|
|
font-size: 10px;
|
|
|
|
|
|
margin-left: 4px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
R Top bar like the parts bar, no left panel
The parts panel on the left is gone: pinned parts sit at the start of the
bottom bar, components open from the pencil in its Components list (or a
double-click), examples load from there too. The side panel moved to the
left. The top bar floats across the whole width: menu with the project,
Main and the way into the open component instead of the circuit
selector, Challenges in a drop-down, clock, search, undo, settings,
share and account. / and the bar's search open quick add.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:17:41 +00:00
|
|
|
|
.challenges-panel h3,
|
2026-10-17 10:49:38 +00:00
|
|
|
|
.inspector h3 {
|
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
|
letter-spacing: 0.06em;
|
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
R Top bar like the parts bar, no left panel
The parts panel on the left is gone: pinned parts sit at the start of the
bottom bar, components open from the pencil in its Components list (or a
double-click), examples load from there too. The side panel moved to the
left. The top bar floats across the whole width: menu with the project,
Main and the way into the open component instead of the circuit
selector, Challenges in a drop-down, clock, search, undo, settings,
share and account. / and the bar's search open quick add.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:17:41 +00:00
|
|
|
|
.challenges-panel h3 {
|
|
|
|
|
|
padding: 14px 6px 6px;
|
2026-10-17 10:49:38 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.items {
|
|
|
|
|
|
padding: 0 6px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.item {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 8px;
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
padding: 5px 6px;
|
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
|
text-align: left;
|
|
|
|
|
|
cursor: grab;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.item:hover {
|
|
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.item.active {
|
|
|
|
|
|
background: rgb(76 194 255 / 0.14);
|
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.item.current {
|
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.item.blocked:not(.current) {
|
|
|
|
|
|
opacity: 0.4;
|
|
|
|
|
|
cursor: not-allowed;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.editing {
|
|
|
|
|
|
font-size: 10px;
|
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
R Top bar like the parts bar, no left panel
The parts panel on the left is gone: pinned parts sit at the start of the
bottom bar, components open from the pencil in its Components list (or a
double-click), examples load from there too. The side panel moved to the
left. The top bar floats across the whole width: menu with the project,
Main and the way into the open component instead of the circuit
selector, Challenges in a drop-down, clock, search, undo, settings,
share and account. / and the bar's search open quick add.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:17:41 +00:00
|
|
|
|
/* Transistor count next to a component in a parts list. */
|
2026-10-20 17:29:16 +00:00
|
|
|
|
.tcount {
|
|
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
|
|
font-size: 10px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
opacity: 0.8;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.comp-row:hover .tcount {
|
|
|
|
|
|
visibility: hidden;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.challenges .best,
|
|
|
|
|
|
.challenge .best {
|
|
|
|
|
|
color: var(--on);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-17 10:49:38 +00:00
|
|
|
|
.nand-badge {
|
|
|
|
|
|
display: inline-grid;
|
|
|
|
|
|
place-items: center;
|
|
|
|
|
|
width: 16px;
|
|
|
|
|
|
height: 16px;
|
|
|
|
|
|
border: 1.5px solid var(--on);
|
|
|
|
|
|
border-radius: 3px;
|
|
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
|
|
font-size: 10px;
|
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
|
color: var(--on);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.comp-row {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.comp-row .open {
|
|
|
|
|
|
opacity: 0;
|
|
|
|
|
|
padding: 5px;
|
|
|
|
|
|
border-radius: 5px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.comp-row:hover .open {
|
|
|
|
|
|
opacity: 1;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.comp-row .open:hover {
|
|
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.search {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 6px;
|
|
|
|
|
|
margin: 14px 10px 0;
|
|
|
|
|
|
padding: 0 8px;
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.search input {
|
|
|
|
|
|
background: transparent;
|
|
|
|
|
|
height: 30px;
|
|
|
|
|
|
outline: none;
|
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
A finer component boxes, a regrouped parts list with keyboard search, a real green for wires and cables
- Box designer: drag pins up or down to open gaps between groups; size (+/−) and turn (R) lamps, displays, screens and drawings; pixels belong to named screens, each placed on its own; displays of the components inside can be shown on the box (off unless ticked); a list of everything the box can show, each optional; the box grows to hold what it shows
- Lamps and displays deep inside placed components light up on the box
- Parts list: one search box for parts and components (letters in order match too), recently placed parts first, grouped Logic / Inputs / Outputs / Wiring / Notes, then components by group; groups fold away
- Keys: / searches the parts list (Enter starts placing), Shift+A or Ctrl+K adds a part at the mouse
- Wires and cables get a green; the default swatch shows grey, as the default really is
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-22 04:48:42 +00:00
|
|
|
|
.search.part-search {
|
|
|
|
|
|
margin: 10px 10px 4px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.search.part-search:focus-within {
|
|
|
|
|
|
border-color: var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.search kbd {
|
|
|
|
|
|
padding: 0 5px;
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
|
|
font-size: 10px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Parts list groups: a heading that folds the group away. */
|
|
|
|
|
|
.group-head {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 5px;
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
padding: 12px 10px 5px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
|
letter-spacing: 0.06em;
|
|
|
|
|
|
text-align: left;
|
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.group-head:hover {
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.group-count {
|
|
|
|
|
|
margin-left: auto;
|
|
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
|
|
font-size: 10px;
|
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
letter-spacing: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.group-tag {
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.recent-parts {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
gap: 4px;
|
|
|
|
|
|
padding: 0 10px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.recent-chip {
|
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 5px;
|
|
|
|
|
|
padding: 3px 8px;
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
cursor: grab;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.recent-chip:hover {
|
|
|
|
|
|
border-color: var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-17 10:49:38 +00:00
|
|
|
|
.intro {
|
|
|
|
|
|
padding: 12px;
|
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
line-height: 1.5;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.challenges {
|
|
|
|
|
|
padding: 0 8px 16px;
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
gap: 6px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.challenges li {
|
|
|
|
|
|
padding: 8px;
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.challenges li.solved {
|
|
|
|
|
|
border-color: rgb(61 220 132 / 0.35);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.challenges p {
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
margin-top: 4px;
|
|
|
|
|
|
line-height: 1.45;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.challenges .pins,
|
|
|
|
|
|
.challenge .pins {
|
|
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* ── Inspector ──────────────────────────────────────────────────── */
|
|
|
|
|
|
.inspector section {
|
|
|
|
|
|
padding: 14px 14px;
|
|
|
|
|
|
border-bottom: 1px solid var(--border);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.inspector h3 {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 6px;
|
|
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.field {
|
|
|
|
|
|
display: block;
|
|
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.field > span {
|
|
|
|
|
|
display: block;
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
margin-bottom: 4px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.field input,
|
|
|
|
|
|
.field textarea,
|
|
|
|
|
|
.field select {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
|
padding: 6px 8px;
|
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
outline: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.field input:focus,
|
|
|
|
|
|
.field textarea:focus,
|
|
|
|
|
|
.field select:focus {
|
|
|
|
|
|
border-color: var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.field textarea {
|
|
|
|
|
|
resize: vertical;
|
|
|
|
|
|
line-height: 1.4;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.hint {
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
line-height: 1.5;
|
|
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.hint a {
|
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.stats {
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
grid-template-columns: auto 1fr;
|
|
|
|
|
|
gap: 4px 12px;
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
margin: 2px 0 12px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.stats dt {
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.stats dd {
|
|
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
|
|
text-align: right;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.btn,
|
|
|
|
|
|
.btn-sm {
|
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
gap: 6px;
|
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
|
|
height: 32px;
|
|
|
|
|
|
padding: 0 12px;
|
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.btn-sm {
|
|
|
|
|
|
height: 24px;
|
|
|
|
|
|
padding: 0 8px;
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.btn:hover,
|
|
|
|
|
|
.btn-sm:hover {
|
|
|
|
|
|
border-color: var(--chip-stroke);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.btn-primary {
|
|
|
|
|
|
background: var(--accent);
|
|
|
|
|
|
border-color: var(--accent);
|
|
|
|
|
|
color: #06121a;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.btn-primary:hover {
|
|
|
|
|
|
filter: brightness(1.1);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.btn-ghost {
|
|
|
|
|
|
background: transparent;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.btn-danger {
|
|
|
|
|
|
background: var(--danger);
|
|
|
|
|
|
border-color: var(--danger);
|
|
|
|
|
|
color: #1a0505;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.result {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
gap: 6px;
|
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
line-height: 1.45;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.result.pass {
|
|
|
|
|
|
color: var(--on);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.result.fail {
|
|
|
|
|
|
color: var(--danger);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.challenge {
|
|
|
|
|
|
background: rgb(76 194 255 / 0.06);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.challenge.solved {
|
|
|
|
|
|
background: rgb(61 220 132 / 0.07);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.challenge p {
|
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
|
line-height: 1.5;
|
|
|
|
|
|
margin-bottom: 8px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.challenge .pins {
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.section-toggle {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 4px;
|
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
|
letter-spacing: 0.06em;
|
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.truth {
|
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
|
max-height: 340px;
|
|
|
|
|
|
overflow: auto;
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.truth table {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
border-collapse: collapse;
|
|
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.truth th {
|
|
|
|
|
|
position: sticky;
|
|
|
|
|
|
top: 0;
|
|
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
padding: 4px 6px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.truth td {
|
|
|
|
|
|
padding: 2px 6px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.truth td.one {
|
|
|
|
|
|
color: var(--on);
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.truth .sep {
|
|
|
|
|
|
width: 1px;
|
|
|
|
|
|
padding: 0;
|
|
|
|
|
|
background: var(--border);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.truth th.out {
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.truth tr.unstable td.out {
|
|
|
|
|
|
color: var(--danger);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.actions {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
gap: 8px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* ── Canvas ─────────────────────────────────────────────────────── */
|
|
|
|
|
|
.canvas {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
inset: 0;
|
|
|
|
|
|
touch-action: none;
|
|
|
|
|
|
user-select: none;
|
|
|
|
|
|
background: var(--bg);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.grid-dot {
|
|
|
|
|
|
fill: #232c39;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.grid-major {
|
|
|
|
|
|
fill: #303b4c;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
A component faces, project library with share links, fine-grained wire editing
- Lamps and hex displays inside a component show on its box with their
labels, lit by that instance's state; Counter 4 example shows its count.
- Several projects per browser; share links at /p/<id> that the creator's
edits save to automatically, others get their own copy. Export, open a
file as project, or add a file's components to the open project.
- Wires: drag any segment or corner, Alt+drag for a new bend, Ctrl+drag to
branch, double-click selects the whole signal, multi-select, arrow keys,
colour tags.
- Share-link API (POST/GET/PUT /api/p) on Nitro fs storage in data/, mounted
as a volume on edgerealm.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-17 11:21:49 +00:00
|
|
|
|
.wire {
|
|
|
|
|
|
--w-on: var(--on);
|
|
|
|
|
|
--w-off: var(--off);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.wire.c-red { --w-on: #ff5c5c; --w-off: #6b3337; }
|
|
|
|
|
|
.wire.c-orange { --w-on: #ff9f43; --w-off: #6b4a2b; }
|
|
|
|
|
|
.wire.c-yellow { --w-on: #ffd93d; --w-off: #625a2e; }
|
A finer component boxes, a regrouped parts list with keyboard search, a real green for wires and cables
- Box designer: drag pins up or down to open gaps between groups; size (+/−) and turn (R) lamps, displays, screens and drawings; pixels belong to named screens, each placed on its own; displays of the components inside can be shown on the box (off unless ticked); a list of everything the box can show, each optional; the box grows to hold what it shows
- Lamps and displays deep inside placed components light up on the box
- Parts list: one search box for parts and components (letters in order match too), recently placed parts first, grouped Logic / Inputs / Outputs / Wiring / Notes, then components by group; groups fold away
- Keys: / searches the parts list (Enter starts placing), Shift+A or Ctrl+K adds a part at the mouse
- Wires and cables get a green; the default swatch shows grey, as the default really is
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-22 04:48:42 +00:00
|
|
|
|
.wire.c-green { --w-on: #3ddc84; --w-off: #2a5a3f; }
|
A component faces, project library with share links, fine-grained wire editing
- Lamps and hex displays inside a component show on its box with their
labels, lit by that instance's state; Counter 4 example shows its count.
- Several projects per browser; share links at /p/<id> that the creator's
edits save to automatically, others get their own copy. Export, open a
file as project, or add a file's components to the open project.
- Wires: drag any segment or corner, Alt+drag for a new bend, Ctrl+drag to
branch, double-click selects the whole signal, multi-select, arrow keys,
colour tags.
- Share-link API (POST/GET/PUT /api/p) on Nitro fs storage in data/, mounted
as a volume on edgerealm.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-17 11:21:49 +00:00
|
|
|
|
.wire.c-blue { --w-on: #4dabff; --w-off: #2b4a6b; }
|
|
|
|
|
|
.wire.c-purple { --w-on: #b388ff; --w-off: #463768; }
|
|
|
|
|
|
.wire.c-pink { --w-on: #ff7ac6; --w-off: #673657; }
|
|
|
|
|
|
|
2026-10-17 10:49:38 +00:00
|
|
|
|
.wire-line {
|
|
|
|
|
|
fill: none;
|
A component faces, project library with share links, fine-grained wire editing
- Lamps and hex displays inside a component show on its box with their
labels, lit by that instance's state; Counter 4 example shows its count.
- Several projects per browser; share links at /p/<id> that the creator's
edits save to automatically, others get their own copy. Export, open a
file as project, or add a file's components to the open project.
- Wires: drag any segment or corner, Alt+drag for a new bend, Ctrl+drag to
branch, double-click selects the whole signal, multi-select, arrow keys,
colour tags.
- Share-link API (POST/GET/PUT /api/p) on Nitro fs storage in data/, mounted
as a volume on edgerealm.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-17 11:21:49 +00:00
|
|
|
|
stroke: var(--w-off);
|
2026-10-17 10:49:38 +00:00
|
|
|
|
stroke-width: 2;
|
|
|
|
|
|
stroke-linejoin: round;
|
|
|
|
|
|
stroke-linecap: round;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.wire.on .wire-line {
|
A component faces, project library with share links, fine-grained wire editing
- Lamps and hex displays inside a component show on its box with their
labels, lit by that instance's state; Counter 4 example shows its count.
- Several projects per browser; share links at /p/<id> that the creator's
edits save to automatically, others get their own copy. Export, open a
file as project, or add a file's components to the open project.
- Wires: drag any segment or corner, Alt+drag for a new bend, Ctrl+drag to
branch, double-click selects the whole signal, multi-select, arrow keys,
colour tags.
- Share-link API (POST/GET/PUT /api/p) on Nitro fs storage in data/, mounted
as a volume on edgerealm.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-17 11:21:49 +00:00
|
|
|
|
stroke: var(--w-on);
|
2026-10-17 10:49:38 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
A Loxone-style working aids: named signals, inverted inputs, a project check, values on cables, search, printable sheets; wire ends move by dragging
- Send signal / Use signal: name a signal (CLK, RESET) once and use it anywhere in the circuit without a wire; selecting one lights up all of them, a use with no sender shows dashed
- Inverted inputs: Alt + click an input (or the menu/settings) puts a bubble on it; it reads the signal inverted through one NAND, counted in every transistor total
- Check (Circuit tab): open inputs, parts that drive nothing, duplicate pin names, unsent or doubly sent signals, loops that never settle; click one to show it. Open inputs get an orange marker on the canvas. Components no other circuit uses are listed with a delete
- Cables show the number they carry (= 13 · 0x0D); hovering a wire tells where it runs and its value
- Ctrl+F finds parts, signals, panel rows, notes and components in every circuit, with where each component is used
- Ctrl+P prints the circuit as a sheet with a title block on white paper (or save as PDF); also as an SVG file
- + and − under a selected gate change its number of inputs; swaps keep bubbles in place
- Drag a wire by its end to move that end to another pin; drop a dragged wire on another wire to tap its signal or feed what it fed
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 11:26:59 +00:00
|
|
|
|
/* A wire end being moved, and the wire a dragged wire would drop onto. */
|
|
|
|
|
|
.wire.moving .wire-line {
|
|
|
|
|
|
opacity: 0.3;
|
|
|
|
|
|
stroke-dasharray: 4 4;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.wire.drop-target .wire-line {
|
|
|
|
|
|
stroke: var(--on);
|
|
|
|
|
|
stroke-width: 3.5;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.wire-grip {
|
|
|
|
|
|
fill: var(--bg);
|
|
|
|
|
|
stroke: var(--accent);
|
|
|
|
|
|
stroke-width: 1.5;
|
|
|
|
|
|
cursor: grab;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.wire-grip:hover {
|
|
|
|
|
|
fill: var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
A component faces, project library with share links, fine-grained wire editing
- Lamps and hex displays inside a component show on its box with their
labels, lit by that instance's state; Counter 4 example shows its count.
- Several projects per browser; share links at /p/<id> that the creator's
edits save to automatically, others get their own copy. Export, open a
file as project, or add a file's components to the open project.
- Wires: drag any segment or corner, Alt+drag for a new bend, Ctrl+drag to
branch, double-click selects the whole signal, multi-select, arrow keys,
colour tags.
- Share-link API (POST/GET/PUT /api/p) on Nitro fs storage in data/, mounted
as a volume on edgerealm.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-17 11:21:49 +00:00
|
|
|
|
.wire.hover .wire-line {
|
2026-10-17 10:49:38 +00:00
|
|
|
|
stroke-width: 3;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-20 17:29:16 +00:00
|
|
|
|
/* A cable: several wires in one thick sleeve. */
|
|
|
|
|
|
.wire.cable .wire-line {
|
|
|
|
|
|
stroke-width: 6;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.wire.cable.hover .wire-line {
|
|
|
|
|
|
stroke-width: 7;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.wire.cable .wire-halo {
|
|
|
|
|
|
stroke-width: 13;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.cable-mark {
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.cable-mark path {
|
|
|
|
|
|
stroke: var(--text);
|
|
|
|
|
|
stroke-width: 1.5;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.cable-mark text {
|
|
|
|
|
|
fill: var(--text);
|
|
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
|
|
font-size: 9px;
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
A Loxone-style working aids: named signals, inverted inputs, a project check, values on cables, search, printable sheets; wire ends move by dragging
- Send signal / Use signal: name a signal (CLK, RESET) once and use it anywhere in the circuit without a wire; selecting one lights up all of them, a use with no sender shows dashed
- Inverted inputs: Alt + click an input (or the menu/settings) puts a bubble on it; it reads the signal inverted through one NAND, counted in every transistor total
- Check (Circuit tab): open inputs, parts that drive nothing, duplicate pin names, unsent or doubly sent signals, loops that never settle; click one to show it. Open inputs get an orange marker on the canvas. Components no other circuit uses are listed with a delete
- Cables show the number they carry (= 13 · 0x0D); hovering a wire tells where it runs and its value
- Ctrl+F finds parts, signals, panel rows, notes and components in every circuit, with where each component is used
- Ctrl+P prints the circuit as a sheet with a title block on white paper (or save as PDF); also as an SVG file
- + and − under a selected gate change its number of inputs; swaps keep bubbles in place
- Drag a wire by its end to move that end to another pin; drop a dragged wire on another wire to tap its signal or feed what it fed
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 11:26:59 +00:00
|
|
|
|
.cable-mark .cable-value {
|
|
|
|
|
|
fill: var(--muted);
|
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.wire.on .cable-mark .cable-value {
|
|
|
|
|
|
fill: var(--on);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-20 17:29:16 +00:00
|
|
|
|
/* Bundle and split: the ends of a cable. */
|
|
|
|
|
|
.node .body.cable-end {
|
|
|
|
|
|
fill: #2a3240;
|
|
|
|
|
|
stroke: #7d8aa0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-21 09:59:17 +00:00
|
|
|
|
/* A free cable end is only its wires running into the cable; this is where to grab it. */
|
|
|
|
|
|
.node .cable-hit {
|
|
|
|
|
|
fill: transparent;
|
|
|
|
|
|
stroke: transparent;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.node:hover .cable-hit,
|
|
|
|
|
|
.node.ghost .cable-hit {
|
|
|
|
|
|
stroke: rgb(125 138 160 / 0.5);
|
|
|
|
|
|
stroke-dasharray: 3 3;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.harness {
|
|
|
|
|
|
--w-on: var(--on);
|
|
|
|
|
|
--w-off: var(--off);
|
2026-10-20 17:29:16 +00:00
|
|
|
|
fill: none;
|
2026-10-21 09:59:17 +00:00
|
|
|
|
stroke: var(--w-off);
|
|
|
|
|
|
stroke-width: 1.6;
|
|
|
|
|
|
stroke-linejoin: round;
|
|
|
|
|
|
pointer-events: none;
|
2026-10-20 17:29:16 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-21 09:59:17 +00:00
|
|
|
|
.harness.on { stroke: var(--w-on); }
|
|
|
|
|
|
.harness.c-red { --w-on: #ff5c5c; --w-off: #6b3337; }
|
|
|
|
|
|
.harness.c-orange { --w-on: #ff9f43; --w-off: #6b4a2b; }
|
|
|
|
|
|
.harness.c-yellow { --w-on: #ffd93d; --w-off: #625a2e; }
|
A finer component boxes, a regrouped parts list with keyboard search, a real green for wires and cables
- Box designer: drag pins up or down to open gaps between groups; size (+/−) and turn (R) lamps, displays, screens and drawings; pixels belong to named screens, each placed on its own; displays of the components inside can be shown on the box (off unless ticked); a list of everything the box can show, each optional; the box grows to hold what it shows
- Lamps and displays deep inside placed components light up on the box
- Parts list: one search box for parts and components (letters in order match too), recently placed parts first, grouped Logic / Inputs / Outputs / Wiring / Notes, then components by group; groups fold away
- Keys: / searches the parts list (Enter starts placing), Shift+A or Ctrl+K adds a part at the mouse
- Wires and cables get a green; the default swatch shows grey, as the default really is
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-22 04:48:42 +00:00
|
|
|
|
.harness.c-green { --w-on: #3ddc84; --w-off: #2a5a3f; }
|
2026-10-21 09:59:17 +00:00
|
|
|
|
.harness.c-blue { --w-on: #4dabff; --w-off: #2b4a6b; }
|
|
|
|
|
|
.harness.c-purple { --w-on: #b388ff; --w-off: #463768; }
|
|
|
|
|
|
.harness.c-pink { --w-on: #ff7ac6; --w-off: #673657; }
|
|
|
|
|
|
|
A right-click menu for parts, wires and the canvas, "Wire them all to" as cards, plugged latches in plain greys
- Right click (or the menu key) shows what can be done with what is under the pointer: one part (open, rename, change to, inputs, colour, speed, panels, unpack, plug and unplug, cable colour), several parts (wire them all to with live preview, connect one by one, switches, change all, arrange, keep only, make a component), wires (bundle, colour, whole signal, straighten, remove cable) or empty canvas (paste here, add a part here, select all, fit, tidy, undo); right drag still moves the view
- "Wire them all to": a card per part, each fit a strip of its pins, and which wire goes where for the fit pointed at
- Plugged cable ends no longer look selected: grey connector, steel clips
- Icons named in menus are bundled for the browser too
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 10:33:30 +00:00
|
|
|
|
/* A plugged cable end: a plain connector in the part's own greys, held by two steel clips. */
|
2026-10-21 09:51:45 +00:00
|
|
|
|
.node .body.cable-end.plugged {
|
A right-click menu for parts, wires and the canvas, "Wire them all to" as cards, plugged latches in plain greys
- Right click (or the menu key) shows what can be done with what is under the pointer: one part (open, rename, change to, inputs, colour, speed, panels, unpack, plug and unplug, cable colour), several parts (wire them all to with live preview, connect one by one, switches, change all, arrange, keep only, make a component), wires (bundle, colour, whole signal, straighten, remove cable) or empty canvas (paste here, add a part here, select all, fit, tidy, undo); right drag still moves the view
- "Wire them all to": a card per part, each fit a strip of its pins, and which wire goes where for the fit pointed at
- Plugged cable ends no longer look selected: grey connector, steel clips
- Icons named in menus are bundled for the browser too
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 10:33:30 +00:00
|
|
|
|
fill: #1f2630;
|
|
|
|
|
|
stroke: #5d6878;
|
2026-10-21 09:51:45 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.node .latch rect {
|
A right-click menu for parts, wires and the canvas, "Wire them all to" as cards, plugged latches in plain greys
- Right click (or the menu key) shows what can be done with what is under the pointer: one part (open, rename, change to, inputs, colour, speed, panels, unpack, plug and unplug, cable colour), several parts (wire them all to with live preview, connect one by one, switches, change all, arrange, keep only, make a component), wires (bundle, colour, whole signal, straighten, remove cable) or empty canvas (paste here, add a part here, select all, fit, tidy, undo); right drag still moves the view
- "Wire them all to": a card per part, each fit a strip of its pins, and which wire goes where for the fit pointed at
- Plugged cable ends no longer look selected: grey connector, steel clips
- Icons named in menus are bundled for the browser too
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 10:33:30 +00:00
|
|
|
|
fill: #7a8698;
|
|
|
|
|
|
stroke: #10151c;
|
2026-10-21 09:51:45 +00:00
|
|
|
|
stroke-width: 1;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.node .latch .contact {
|
A right-click menu for parts, wires and the canvas, "Wire them all to" as cards, plugged latches in plain greys
- Right click (or the menu key) shows what can be done with what is under the pointer: one part (open, rename, change to, inputs, colour, speed, panels, unpack, plug and unplug, cable colour), several parts (wire them all to with live preview, connect one by one, switches, change all, arrange, keep only, make a component), wires (bundle, colour, whole signal, straighten, remove cable) or empty canvas (paste here, add a part here, select all, fit, tidy, undo); right drag still moves the view
- "Wire them all to": a card per part, each fit a strip of its pins, and which wire goes where for the fit pointed at
- Plugged cable ends no longer look selected: grey connector, steel clips
- Icons named in menus are bundled for the browser too
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 10:33:30 +00:00
|
|
|
|
stroke: #3a4554;
|
2026-10-21 09:51:45 +00:00
|
|
|
|
stroke-width: 2.5;
|
|
|
|
|
|
stroke-linecap: round;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.node .cable-name {
|
|
|
|
|
|
font-size: 9px;
|
2026-10-21 09:59:17 +00:00
|
|
|
|
fill: var(--muted);
|
2026-10-21 09:51:45 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-21 12:13:24 +00:00
|
|
|
|
.cable-choices .cable-row {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 4px;
|
|
|
|
|
|
margin-bottom: 4px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.cable-choices .cable-row .hint {
|
|
|
|
|
|
width: 84px;
|
|
|
|
|
|
margin: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
A Loxone-style working aids: named signals, inverted inputs, a project check, values on cables, search, printable sheets; wire ends move by dragging
- Send signal / Use signal: name a signal (CLK, RESET) once and use it anywhere in the circuit without a wire; selecting one lights up all of them, a use with no sender shows dashed
- Inverted inputs: Alt + click an input (or the menu/settings) puts a bubble on it; it reads the signal inverted through one NAND, counted in every transistor total
- Check (Circuit tab): open inputs, parts that drive nothing, duplicate pin names, unsent or doubly sent signals, loops that never settle; click one to show it. Open inputs get an orange marker on the canvas. Components no other circuit uses are listed with a delete
- Cables show the number they carry (= 13 · 0x0D); hovering a wire tells where it runs and its value
- Ctrl+F finds parts, signals, panel rows, notes and components in every circuit, with where each component is used
- Ctrl+P prints the circuit as a sheet with a title block on white paper (or save as PDF); also as an SVG file
- + and − under a selected gate change its number of inputs; swaps keep bubbles in place
- Drag a wire by its end to move that end to another pin; drop a dragged wire on another wire to tap its signal or feed what it fed
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 11:26:59 +00:00
|
|
|
|
.invert-pins {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
gap: 4px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.invert-pin {
|
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 5px;
|
|
|
|
|
|
height: 24px;
|
|
|
|
|
|
padding: 0 8px 0 6px;
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.invert-pin .dot {
|
|
|
|
|
|
width: 9px;
|
|
|
|
|
|
height: 9px;
|
|
|
|
|
|
border: 1.5px solid currentColor;
|
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.invert-pin.on {
|
|
|
|
|
|
border-color: var(--accent);
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.invert-pin.on .dot {
|
|
|
|
|
|
background: var(--bg);
|
|
|
|
|
|
border-color: var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
BF input panels are component inputs, cable ends plug in more reliably; A merge panels, hex pass-through, design a component's box
- Inside a component, the switch and button rows of its input panels are now input pins (in order with the other inputs, named after the rows); "Rows are component inputs" can be turned off per panel to keep the old fixed switches
- Select input panels, Merge: one panel with all rows, spacing and wires kept; circuits that place this one keep their wires
- Cable ends plug in more often: bundling orders the wires by the part a side runs to, an end with only some wires on a part still plugs, an end placed by hand next to the pins plugs, and dragging an end near its part shows green rings and plugs it on drop
- Hex displays pass their four bits on (outputs on the right), so they can sit in the middle of a bus
- Design the box: move lamps, displays, the screen and the name on a component's box, draw lines, boxes, circles and text in six colours, size it, leave things off; every placed copy shows it
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 11:49:29 +00:00
|
|
|
|
/* Drawings on a hand-drawn component box. */
|
|
|
|
|
|
.node .face-ink {
|
|
|
|
|
|
fill: none;
|
|
|
|
|
|
stroke-width: 1.5;
|
|
|
|
|
|
stroke-linecap: round;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.node .face-text {
|
|
|
|
|
|
font-family: var(--font-sans);
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.node .face-ink.ink-muted { stroke: #6b778a; }
|
|
|
|
|
|
.node .face-ink.ink-text { stroke: var(--text); }
|
|
|
|
|
|
.node .face-ink.ink-red { stroke: #ff5c5c; }
|
|
|
|
|
|
.node .face-ink.ink-yellow { stroke: #ffd34d; }
|
|
|
|
|
|
.node .face-ink.ink-green { stroke: #3ddc84; }
|
|
|
|
|
|
.node .face-ink.ink-blue { stroke: #4dabff; }
|
|
|
|
|
|
.node .face-ink.filled.ink-muted { fill: rgb(107 119 138 / 0.25); }
|
|
|
|
|
|
.node .face-ink.filled.ink-text { fill: rgb(219 226 234 / 0.18); }
|
|
|
|
|
|
.node .face-ink.filled.ink-red { fill: rgb(255 92 92 / 0.22); }
|
|
|
|
|
|
.node .face-ink.filled.ink-yellow { fill: rgb(255 211 77 / 0.22); }
|
|
|
|
|
|
.node .face-ink.filled.ink-green { fill: rgb(61 220 132 / 0.22); }
|
|
|
|
|
|
.node .face-ink.filled.ink-blue { fill: rgb(77 171 255 / 0.22); }
|
|
|
|
|
|
.node .face-text.ink-muted { fill: #8592a3; }
|
|
|
|
|
|
.node .face-text.ink-text { fill: var(--text); }
|
|
|
|
|
|
.node .face-text.ink-red { fill: #ff5c5c; }
|
|
|
|
|
|
.node .face-text.ink-yellow { fill: #ffd34d; }
|
|
|
|
|
|
.node .face-text.ink-green { fill: #3ddc84; }
|
|
|
|
|
|
.node .face-text.ink-blue { fill: #4dabff; }
|
|
|
|
|
|
|
2026-10-26 21:45:47 +00:00
|
|
|
|
/* Buttons beside the selection: cables onto pins, ports split, plugs in and out. */
|
2026-10-21 12:21:40 +00:00
|
|
|
|
.cable-btn {
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-26 21:45:47 +00:00
|
|
|
|
.cable-btn foreignObject {
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.cable-btn-icon {
|
|
|
|
|
|
display: block;
|
|
|
|
|
|
width: 12px;
|
|
|
|
|
|
height: 12px;
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.cable-btn:hover .cable-btn-icon {
|
|
|
|
|
|
color: #0e1116;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-21 12:21:40 +00:00
|
|
|
|
.cable-btn circle {
|
|
|
|
|
|
fill: var(--panel-2);
|
|
|
|
|
|
stroke: var(--accent);
|
|
|
|
|
|
stroke-width: 1.3;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.cable-btn path {
|
|
|
|
|
|
fill: none;
|
|
|
|
|
|
stroke: var(--text);
|
|
|
|
|
|
stroke-width: 1.5;
|
|
|
|
|
|
stroke-linecap: round;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.cable-btn:hover circle {
|
|
|
|
|
|
fill: var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.cable-btn:hover path {
|
|
|
|
|
|
stroke: #0e1116;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
A Loxone-style working aids: named signals, inverted inputs, a project check, values on cables, search, printable sheets; wire ends move by dragging
- Send signal / Use signal: name a signal (CLK, RESET) once and use it anywhere in the circuit without a wire; selecting one lights up all of them, a use with no sender shows dashed
- Inverted inputs: Alt + click an input (or the menu/settings) puts a bubble on it; it reads the signal inverted through one NAND, counted in every transistor total
- Check (Circuit tab): open inputs, parts that drive nothing, duplicate pin names, unsent or doubly sent signals, loops that never settle; click one to show it. Open inputs get an orange marker on the canvas. Components no other circuit uses are listed with a delete
- Cables show the number they carry (= 13 · 0x0D); hovering a wire tells where it runs and its value
- Ctrl+F finds parts, signals, panel rows, notes and components in every circuit, with where each component is used
- Ctrl+P prints the circuit as a sheet with a title block on white paper (or save as PDF); also as an SVG file
- + and − under a selected gate change its number of inputs; swaps keep bubbles in place
- Drag a wire by its end to move that end to another pin; drop a dragged wire on another wire to tap its signal or feed what it fed
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 11:26:59 +00:00
|
|
|
|
/* + and − under a selected gate. */
|
|
|
|
|
|
.widen-btn {
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.widen-btn circle {
|
|
|
|
|
|
fill: var(--panel-2);
|
|
|
|
|
|
stroke: var(--accent);
|
|
|
|
|
|
stroke-width: 1.2;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.widen-btn path {
|
|
|
|
|
|
stroke: var(--text);
|
|
|
|
|
|
stroke-width: 1.6;
|
|
|
|
|
|
stroke-linecap: round;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.widen-btn:hover circle {
|
|
|
|
|
|
fill: var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.widen-btn:hover path {
|
|
|
|
|
|
stroke: #0e1116;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* An input with no wire (reads 0). */
|
|
|
|
|
|
.node .open-pin {
|
|
|
|
|
|
fill: #e8a23a;
|
|
|
|
|
|
opacity: 0.85;
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Check: problems in the open circuit. */
|
|
|
|
|
|
.problems-head {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 8px;
|
|
|
|
|
|
margin-bottom: 6px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.problems-head h3 {
|
|
|
|
|
|
margin: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.problems-head .ok {
|
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 4px;
|
|
|
|
|
|
color: var(--on);
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.problems-head .check {
|
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.issue-list {
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
gap: 2px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.issue {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: flex-start;
|
|
|
|
|
|
gap: 7px;
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
padding: 4px 6px;
|
|
|
|
|
|
border-radius: 5px;
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
line-height: 1.35;
|
|
|
|
|
|
text-align: left;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.issue:hover:not(:disabled) {
|
|
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.issue:disabled {
|
|
|
|
|
|
cursor: default;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.issue.error .issue-icon { color: #ff7a7a; }
|
|
|
|
|
|
.issue.warn .issue-icon { color: #e8a23a; }
|
|
|
|
|
|
.issue.info .issue-icon { color: var(--muted); }
|
|
|
|
|
|
.issue.info { color: var(--muted); }
|
|
|
|
|
|
|
|
|
|
|
|
.unused-row {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 6px;
|
|
|
|
|
|
padding: 2px 6px;
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.btn-sm.danger {
|
|
|
|
|
|
border-color: rgb(255 107 107 / 0.5);
|
|
|
|
|
|
color: #ff8787;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.itabs .badge.warn {
|
|
|
|
|
|
background: #e8a23a;
|
|
|
|
|
|
color: #14181f;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* An inverted input: the classic bubble. */
|
|
|
|
|
|
.node .invert-bubble {
|
|
|
|
|
|
fill: var(--bg);
|
|
|
|
|
|
stroke: var(--chip-stroke);
|
|
|
|
|
|
stroke-width: 1.5;
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Signal tags and references: a flag with the name. */
|
|
|
|
|
|
.node .signal-flag {
|
|
|
|
|
|
fill: #1d2430;
|
|
|
|
|
|
stroke: #8a7bd8;
|
|
|
|
|
|
stroke-width: 1.5;
|
|
|
|
|
|
stroke-linejoin: round;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.node .signal-flag.use {
|
|
|
|
|
|
fill: #191f29;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.node .signal-flag.on {
|
|
|
|
|
|
fill: rgb(61 220 132 / 0.2);
|
|
|
|
|
|
stroke: var(--on);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.node .signal-flag.orphan {
|
|
|
|
|
|
stroke: #e8a23a;
|
|
|
|
|
|
stroke-dasharray: 3 2;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.node .signal-flag.linked {
|
|
|
|
|
|
stroke: #c9bfff;
|
|
|
|
|
|
stroke-width: 2.5;
|
|
|
|
|
|
filter: drop-shadow(0 0 4px rgb(138 123 216 / 0.8));
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.node .signal-name {
|
|
|
|
|
|
fill: var(--text);
|
|
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
|
|
font-size: 10px;
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-20 17:29:16 +00:00
|
|
|
|
/* Pixel and pixel screens. */
|
|
|
|
|
|
.node .pixel {
|
|
|
|
|
|
fill: #141a22;
|
|
|
|
|
|
stroke: #303a48;
|
|
|
|
|
|
stroke-width: 1;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.node .pixel.on {
|
|
|
|
|
|
fill: var(--px, #e8f0f8);
|
|
|
|
|
|
stroke: var(--px, #e8f0f8);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.screen-bg {
|
|
|
|
|
|
fill: #07090c;
|
|
|
|
|
|
stroke: #303a48;
|
|
|
|
|
|
stroke-width: 1;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.screen-px {
|
|
|
|
|
|
fill: #11161d;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.screen-px.on {
|
|
|
|
|
|
fill: var(--px, #e8f0f8);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.px-yellow { --px: #ffd34d; }
|
|
|
|
|
|
.px-red { --px: #ff5a4f; }
|
|
|
|
|
|
.px-green { --px: #3ddc84; }
|
|
|
|
|
|
.px-blue { --px: #4dabff; }
|
|
|
|
|
|
.px-white { --px: #e8f0f8; }
|
|
|
|
|
|
|
A component faces, project library with share links, fine-grained wire editing
- Lamps and hex displays inside a component show on its box with their
labels, lit by that instance's state; Counter 4 example shows its count.
- Several projects per browser; share links at /p/<id> that the creator's
edits save to automatically, others get their own copy. Export, open a
file as project, or add a file's components to the open project.
- Wires: drag any segment or corner, Alt+drag for a new bend, Ctrl+drag to
branch, double-click selects the whole signal, multi-select, arrow keys,
colour tags.
- Share-link API (POST/GET/PUT /api/p) on Nitro fs storage in data/, mounted
as a volume on edgerealm.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-17 11:21:49 +00:00
|
|
|
|
.wire-halo {
|
|
|
|
|
|
fill: none;
|
|
|
|
|
|
stroke: var(--accent);
|
|
|
|
|
|
stroke-opacity: 0.35;
|
|
|
|
|
|
stroke-width: 8;
|
|
|
|
|
|
stroke-linejoin: round;
|
|
|
|
|
|
stroke-linecap: round;
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.corner-handle {
|
|
|
|
|
|
fill: var(--panel);
|
|
|
|
|
|
stroke: var(--accent);
|
|
|
|
|
|
stroke-width: 1.5;
|
|
|
|
|
|
cursor: move;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.corner-handle:hover {
|
|
|
|
|
|
fill: var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-17 10:49:38 +00:00
|
|
|
|
.wire-flow {
|
|
|
|
|
|
fill: none;
|
|
|
|
|
|
stroke: #d2ffe6;
|
|
|
|
|
|
stroke-width: 2;
|
|
|
|
|
|
stroke-linecap: round;
|
|
|
|
|
|
stroke-dasharray: 1.5 10.5;
|
|
|
|
|
|
animation: flow 0.45s linear infinite;
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
opacity: 0.85;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@keyframes flow {
|
|
|
|
|
|
to {
|
|
|
|
|
|
stroke-dashoffset: -12;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.wire-hit {
|
|
|
|
|
|
fill: none;
|
|
|
|
|
|
stroke: transparent;
|
|
|
|
|
|
stroke-width: 10;
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
A component faces, project library with share links, fine-grained wire editing
- Lamps and hex displays inside a component show on its box with their
labels, lit by that instance's state; Counter 4 example shows its count.
- Several projects per browser; share links at /p/<id> that the creator's
edits save to automatically, others get their own copy. Export, open a
file as project, or add a file's components to the open project.
- Wires: drag any segment or corner, Alt+drag for a new bend, Ctrl+drag to
branch, double-click selects the whole signal, multi-select, arrow keys,
colour tags.
- Share-link API (POST/GET/PUT /api/p) on Nitro fs storage in data/, mounted
as a volume on edgerealm.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-17 11:21:49 +00:00
|
|
|
|
.wire-hit {
|
2026-10-17 10:49:38 +00:00
|
|
|
|
cursor: ns-resize;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
A component faces, project library with share links, fine-grained wire editing
- Lamps and hex displays inside a component show on its box with their
labels, lit by that instance's state; Counter 4 example shows its count.
- Several projects per browser; share links at /p/<id> that the creator's
edits save to automatically, others get their own copy. Export, open a
file as project, or add a file's components to the open project.
- Wires: drag any segment or corner, Alt+drag for a new bend, Ctrl+drag to
branch, double-click selects the whole signal, multi-select, arrow keys,
colour tags.
- Share-link API (POST/GET/PUT /api/p) on Nitro fs storage in data/, mounted
as a volume on edgerealm.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-17 11:21:49 +00:00
|
|
|
|
.wire-hit.vertical {
|
2026-10-17 10:49:38 +00:00
|
|
|
|
cursor: ew-resize;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.junction {
|
A component faces, project library with share links, fine-grained wire editing
- Lamps and hex displays inside a component show on its box with their
labels, lit by that instance's state; Counter 4 example shows its count.
- Several projects per browser; share links at /p/<id> that the creator's
edits save to automatically, others get their own copy. Export, open a
file as project, or add a file's components to the open project.
- Wires: drag any segment or corner, Alt+drag for a new bend, Ctrl+drag to
branch, double-click selects the whole signal, multi-select, arrow keys,
colour tags.
- Share-link API (POST/GET/PUT /api/p) on Nitro fs storage in data/, mounted
as a volume on edgerealm.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-17 11:21:49 +00:00
|
|
|
|
fill: var(--w-off);
|
2026-10-17 10:49:38 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
A component faces, project library with share links, fine-grained wire editing
- Lamps and hex displays inside a component show on its box with their
labels, lit by that instance's state; Counter 4 example shows its count.
- Several projects per browser; share links at /p/<id> that the creator's
edits save to automatically, others get their own copy. Export, open a
file as project, or add a file's components to the open project.
- Wires: drag any segment or corner, Alt+drag for a new bend, Ctrl+drag to
branch, double-click selects the whole signal, multi-select, arrow keys,
colour tags.
- Share-link API (POST/GET/PUT /api/p) on Nitro fs storage in data/, mounted
as a volume on edgerealm.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-17 11:21:49 +00:00
|
|
|
|
.wire.on .junction {
|
|
|
|
|
|
fill: var(--w-on);
|
2026-10-17 10:49:38 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.temp-wire {
|
|
|
|
|
|
fill: none;
|
|
|
|
|
|
stroke: var(--accent);
|
|
|
|
|
|
stroke-width: 2;
|
|
|
|
|
|
stroke-dasharray: 5 4;
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.temp-wire.snapped {
|
|
|
|
|
|
stroke-dasharray: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.box-select {
|
|
|
|
|
|
fill: rgb(76 194 255 / 0.08);
|
|
|
|
|
|
stroke: var(--accent);
|
|
|
|
|
|
stroke-dasharray: 4 3;
|
|
|
|
|
|
vector-effect: non-scaling-stroke;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.node {
|
|
|
|
|
|
cursor: move;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.node.ghost {
|
|
|
|
|
|
opacity: 0.55;
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.node .body {
|
|
|
|
|
|
fill: var(--chip);
|
|
|
|
|
|
stroke: var(--chip-stroke);
|
|
|
|
|
|
stroke-width: 1.5;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.node .body.prim {
|
|
|
|
|
|
fill: #172231;
|
|
|
|
|
|
stroke: #7d93ad;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.node .chip {
|
|
|
|
|
|
fill: #1a2330;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.node .chip.missing {
|
|
|
|
|
|
stroke: var(--danger);
|
|
|
|
|
|
stroke-dasharray: 4 3;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.node .stub {
|
|
|
|
|
|
fill: none;
|
|
|
|
|
|
stroke: var(--chip-stroke);
|
|
|
|
|
|
stroke-width: 2;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.node .stroke-only {
|
|
|
|
|
|
fill: none;
|
|
|
|
|
|
stroke: var(--chip-stroke);
|
|
|
|
|
|
stroke-width: 1.5;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.gate-label {
|
|
|
|
|
|
fill: var(--text);
|
|
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.chip-name {
|
|
|
|
|
|
fill: var(--text);
|
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.pin-label {
|
|
|
|
|
|
fill: var(--muted);
|
|
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
|
|
font-size: 9px;
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.pin-label.tiny {
|
|
|
|
|
|
font-size: 8px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.io-label {
|
|
|
|
|
|
fill: var(--text);
|
|
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.switch {
|
|
|
|
|
|
fill: #2a3240;
|
|
|
|
|
|
stroke: #4c586b;
|
|
|
|
|
|
stroke-width: 1.5;
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.switch.on {
|
|
|
|
|
|
fill: var(--on-dim);
|
|
|
|
|
|
stroke: var(--on);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.knob {
|
|
|
|
|
|
fill: #e6edf5;
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.terminal {
|
|
|
|
|
|
fill: #1f2632;
|
|
|
|
|
|
stroke: #5a6578;
|
|
|
|
|
|
stroke-width: 1.5;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.terminal.on {
|
|
|
|
|
|
fill: var(--on-dim);
|
|
|
|
|
|
stroke: var(--on);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.lamp {
|
|
|
|
|
|
fill: #1f2632;
|
|
|
|
|
|
stroke: #5a6578;
|
|
|
|
|
|
stroke-width: 1.5;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.lamp.on {
|
|
|
|
|
|
fill: var(--lamp);
|
|
|
|
|
|
stroke: #ffe9a3;
|
|
|
|
|
|
filter: drop-shadow(0 0 6px rgb(255 211 77 / 0.75));
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.lamp-cross {
|
|
|
|
|
|
stroke: #5a6578;
|
|
|
|
|
|
stroke-width: 1.5;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.lamp-cross.on {
|
|
|
|
|
|
stroke: #8a6400;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.const {
|
|
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
|
fill: var(--on);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.ground {
|
|
|
|
|
|
fill: none;
|
|
|
|
|
|
stroke: var(--chip-stroke);
|
|
|
|
|
|
stroke-width: 2;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.wave {
|
|
|
|
|
|
fill: none;
|
|
|
|
|
|
stroke: var(--muted);
|
|
|
|
|
|
stroke-width: 1.5;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.wave.on {
|
|
|
|
|
|
stroke: var(--on);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.button {
|
|
|
|
|
|
fill: #3a4454;
|
|
|
|
|
|
stroke: #6b778a;
|
|
|
|
|
|
stroke-width: 1.5;
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.button.on {
|
|
|
|
|
|
fill: var(--danger);
|
|
|
|
|
|
stroke: #ffb3b3;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-21 09:51:45 +00:00
|
|
|
|
/* Panel rows in a colour of their own */
|
|
|
|
|
|
.switch.on.l-yellow { fill: rgb(255 211 77 / 0.25); stroke: #ffd34d; }
|
|
|
|
|
|
.switch.on.l-red { fill: rgb(255 92 92 / 0.25); stroke: #ff5c5c; }
|
|
|
|
|
|
.switch.on.l-blue { fill: rgb(77 171 255 / 0.25); stroke: #4dabff; }
|
|
|
|
|
|
.switch.on.l-white { fill: rgb(244 246 250 / 0.22); stroke: #f4f6fa; }
|
|
|
|
|
|
.button.on.l-yellow { fill: #ffd34d; stroke: #fff0c2; }
|
|
|
|
|
|
.button.on.l-green { fill: #3ddc84; stroke: #b5f5d0; }
|
|
|
|
|
|
.button.on.l-blue { fill: #4dabff; stroke: #bfe0ff; }
|
|
|
|
|
|
.button.on.l-white { fill: #f4f6fa; stroke: #ffffff; }
|
|
|
|
|
|
|
2026-10-17 10:49:38 +00:00
|
|
|
|
.display {
|
|
|
|
|
|
fill: #0a0d11;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.seg {
|
|
|
|
|
|
stroke: #1e2731;
|
|
|
|
|
|
stroke-width: 3.4;
|
|
|
|
|
|
stroke-linecap: round;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.seg.on {
|
|
|
|
|
|
stroke: #ff5a4f;
|
|
|
|
|
|
filter: drop-shadow(0 0 3px rgb(255 90 79 / 0.8));
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.note {
|
|
|
|
|
|
fill: var(--muted);
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.note-bg {
|
|
|
|
|
|
fill: transparent;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.sel-outline {
|
|
|
|
|
|
fill: none;
|
|
|
|
|
|
stroke: var(--accent);
|
|
|
|
|
|
stroke-width: 1.5;
|
|
|
|
|
|
stroke-dasharray: 4 3;
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.pin {
|
|
|
|
|
|
fill: #6b778a;
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.pin.on {
|
|
|
|
|
|
fill: var(--on);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.pin-hit {
|
|
|
|
|
|
fill: transparent;
|
|
|
|
|
|
cursor: crosshair;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.pin-hit:hover {
|
|
|
|
|
|
fill: rgb(76 194 255 / 0.3);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
A input panels, automatic names, one-by-one wiring, tidy routing, truth table export
- Input panel part: rows of switches, buttons and clocks. "Attach input
panel" docks one to a component with a row per free input; it moves
with the component and follows its pins.
- Copies and new pins continue name series (D0 -> D1, A -> B); unnamed
switches, lamps and pins take the name of the component pin they are
wired to.
- Connecting: target pins are ringed, dropping on a part uses its next
free pin, click-then-click works, and "Connect one by one" (W) wires a
selection's pins in turn.
- Tidy wiring option and "Tidy all wires": sorted, evenly spaced columns
per gap, one trunk per signal, fewer crossings.
- Truth table full screen, CSV download, copy as Markdown, current row
highlighted.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 17:17:25 +00:00
|
|
|
|
/* Where a wire being drawn can go. */
|
|
|
|
|
|
.pin-target {
|
|
|
|
|
|
fill: none;
|
|
|
|
|
|
stroke: var(--accent);
|
|
|
|
|
|
stroke-width: 1.5;
|
|
|
|
|
|
opacity: 0.75;
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.pin-target.taken {
|
|
|
|
|
|
stroke: var(--muted);
|
|
|
|
|
|
stroke-dasharray: 2 2;
|
|
|
|
|
|
opacity: 0.45;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.pin-snap {
|
|
|
|
|
|
fill: rgb(76 194 255 / 0.25);
|
|
|
|
|
|
stroke: var(--accent);
|
|
|
|
|
|
stroke-width: 2;
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.queue-badge {
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.queue-badge rect {
|
|
|
|
|
|
fill: var(--panel-2);
|
|
|
|
|
|
stroke: var(--border);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.queue-badge text {
|
|
|
|
|
|
fill: var(--muted);
|
|
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
|
|
font-size: 9px;
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.queue-badge.current rect {
|
|
|
|
|
|
fill: var(--accent);
|
|
|
|
|
|
stroke: var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.queue-badge.current text {
|
|
|
|
|
|
fill: var(--bg);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Input panel */
|
|
|
|
|
|
.node .body.panel {
|
|
|
|
|
|
fill: #161d27;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.node .body.panel.docked {
|
|
|
|
|
|
stroke: #4f7fa3;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.panel-row {
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.panel-row .row-hit {
|
|
|
|
|
|
fill: transparent;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.panel-row:hover .row-hit {
|
|
|
|
|
|
fill: rgb(255 255 255 / 0.04);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.panel-row .pin-label.named {
|
|
|
|
|
|
fill: var(--text);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-17 10:49:38 +00:00
|
|
|
|
.zoom-controls {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
right: 12px;
|
|
|
|
|
|
bottom: 12px;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 2px;
|
|
|
|
|
|
padding: 3px;
|
|
|
|
|
|
background: var(--panel);
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.zoom-controls button {
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
place-items: center;
|
|
|
|
|
|
width: 26px;
|
|
|
|
|
|
height: 26px;
|
|
|
|
|
|
border-radius: 5px;
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.zoom-controls button:hover {
|
|
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.zoom-controls span {
|
|
|
|
|
|
min-width: 40px;
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
R bars and panels fit small windows, Main always in reach; A Space search opens components
The top and bottom bars keep their steady centred width on wide windows,
but never get narrower than 760px as far as the panels leave room, and
move off the centre rather than under a panel. On a narrow bar the words
go first, the names between Main and the open component fold into "…"
(a menu back to each), and sound, settings and help, then undo, redo and
share, then challenges and search move into a "⋯" menu. Main keeps its
house at every width; before, the rule that hid its label hid the icons
too, and on a squeezed bar the crumbs, Main with them, were cut off.
From 821 to 1100px the selection's panel floats over the canvas edge
between the bars instead of narrowing the canvas. The zoom buttons sit
above the parts bar where it reaches them. The challenges drop-down, the
flyouts and the search box stay on screen.
In the Space search, Shift+Enter (or Ctrl+Enter, or the pencil on a
component's line) opens the component to edit it instead of placing it,
and typing a name lists "Open <name>" for every circuit of the project,
also those that cannot be placed here; the one you are in shows as where
you are. A circuit on the way here is reached by going back along it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 17:10:54 +00:00
|
|
|
|
/* Where the parts bar reaches the canvas's lower right corner (beside the
|
|
|
|
|
|
selection's panel, or on a window under 760 + 2 × 292px), the zoom buttons
|
|
|
|
|
|
sit above it. */
|
|
|
|
|
|
.workspace.has-selection .zoom-controls {
|
|
|
|
|
|
bottom: 72px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@media (max-width: 1343px) {
|
|
|
|
|
|
.zoom-controls {
|
|
|
|
|
|
bottom: 72px;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@media (min-width: 821px) and (max-width: 1100px) {
|
|
|
|
|
|
.workspace.has-selection .zoom-controls {
|
|
|
|
|
|
right: calc(var(--right) + 22px);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-17 10:49:38 +00:00
|
|
|
|
.empty-hint {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
inset: 0;
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
place-content: center;
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
gap: 6px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* ── Overlays ───────────────────────────────────────────────────── */
|
|
|
|
|
|
.toast {
|
|
|
|
|
|
position: fixed;
|
|
|
|
|
|
left: 50%;
|
|
|
|
|
|
bottom: 24px;
|
|
|
|
|
|
transform: translateX(-50%);
|
|
|
|
|
|
z-index: 60;
|
|
|
|
|
|
padding: 8px 14px;
|
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
box-shadow: 0 10px 30px rgb(0 0 0 / 0.4);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.toast.error {
|
|
|
|
|
|
border-color: var(--danger);
|
|
|
|
|
|
color: #ffc9c9;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.placing-hint {
|
|
|
|
|
|
position: fixed;
|
|
|
|
|
|
left: 50%;
|
|
|
|
|
|
top: 60px;
|
|
|
|
|
|
transform: translateX(-50%);
|
|
|
|
|
|
z-index: 30;
|
|
|
|
|
|
padding: 6px 12px;
|
|
|
|
|
|
border-radius: 999px;
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
background: var(--panel);
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.fade-enter-active,
|
|
|
|
|
|
.fade-leave-active {
|
|
|
|
|
|
transition: opacity 0.2s;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.fade-enter-from,
|
|
|
|
|
|
.fade-leave-to {
|
|
|
|
|
|
opacity: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.modal-backdrop {
|
|
|
|
|
|
position: fixed;
|
|
|
|
|
|
inset: 0;
|
|
|
|
|
|
z-index: 70;
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
place-items: center;
|
|
|
|
|
|
padding: 16px;
|
|
|
|
|
|
background: rgb(5 8 12 / 0.7);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.modal {
|
|
|
|
|
|
width: min(640px, 100%);
|
|
|
|
|
|
max-height: calc(100dvh - 32px);
|
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
|
padding: 22px 24px;
|
|
|
|
|
|
background: var(--panel);
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: 12px;
|
|
|
|
|
|
box-shadow: 0 30px 80px rgb(0 0 0 / 0.5);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.modal h2 {
|
|
|
|
|
|
font-size: 20px;
|
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
|
letter-spacing: -0.01em;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.modal h3 {
|
|
|
|
|
|
margin: 18px 0 8px;
|
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
|
letter-spacing: 0.06em;
|
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.steps {
|
|
|
|
|
|
margin-top: 14px;
|
|
|
|
|
|
padding-left: 20px;
|
|
|
|
|
|
list-style: decimal;
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
gap: 6px;
|
|
|
|
|
|
font-size: 13.5px;
|
|
|
|
|
|
line-height: 1.5;
|
|
|
|
|
|
color: #c3ccd6;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.steps strong {
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.shortcuts {
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
grid-template-columns: minmax(150px, auto) 1fr;
|
|
|
|
|
|
gap: 3px 16px;
|
|
|
|
|
|
font-size: 12.5px;
|
|
|
|
|
|
margin-bottom: 14px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.shortcuts dt {
|
|
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.shortcuts dd {
|
|
|
|
|
|
color: #c3ccd6;
|
|
|
|
|
|
}
|
A component faces, project library with share links, fine-grained wire editing
- Lamps and hex displays inside a component show on its box with their
labels, lit by that instance's state; Counter 4 example shows its count.
- Several projects per browser; share links at /p/<id> that the creator's
edits save to automatically, others get their own copy. Export, open a
file as project, or add a file's components to the open project.
- Wires: drag any segment or corner, Alt+drag for a new bend, Ctrl+drag to
branch, double-click selects the whole signal, multi-select, arrow keys,
colour tags.
- Share-link API (POST/GET/PUT /api/p) on Nitro fs storage in data/, mounted
as a volume on edgerealm.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-17 11:21:49 +00:00
|
|
|
|
|
|
|
|
|
|
.face-label {
|
|
|
|
|
|
fill: var(--muted);
|
|
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
|
|
font-size: 8px;
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.swatches {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
gap: 6px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.swatch {
|
|
|
|
|
|
width: 22px;
|
|
|
|
|
|
height: 22px;
|
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
border: 2px solid transparent;
|
|
|
|
|
|
background: var(--w-on);
|
|
|
|
|
|
outline: 1px solid var(--border);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
A finer component boxes, a regrouped parts list with keyboard search, a real green for wires and cables
- Box designer: drag pins up or down to open gaps between groups; size (+/−) and turn (R) lamps, displays, screens and drawings; pixels belong to named screens, each placed on its own; displays of the components inside can be shown on the box (off unless ticked); a list of everything the box can show, each optional; the box grows to hold what it shows
- Lamps and displays deep inside placed components light up on the box
- Parts list: one search box for parts and components (letters in order match too), recently placed parts first, grouped Logic / Inputs / Outputs / Wiring / Notes, then components by group; groups fold away
- Keys: / searches the parts list (Enter starts placing), Shift+A or Ctrl+K adds a part at the mouse
- Wires and cables get a green; the default swatch shows grey, as the default really is
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-22 04:48:42 +00:00
|
|
|
|
/* The default colour: grey like an unlit wire or a cable's sleeve, struck through. */
|
A component faces, project library with share links, fine-grained wire editing
- Lamps and hex displays inside a component show on its box with their
labels, lit by that instance's state; Counter 4 example shows its count.
- Several projects per browser; share links at /p/<id> that the creator's
edits save to automatically, others get their own copy. Export, open a
file as project, or add a file's components to the open project.
- Wires: drag any segment or corner, Alt+drag for a new bend, Ctrl+drag to
branch, double-click selects the whole signal, multi-select, arrow keys,
colour tags.
- Share-link API (POST/GET/PUT /api/p) on Nitro fs storage in data/, mounted
as a volume on edgerealm.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-17 11:21:49 +00:00
|
|
|
|
.swatch.none {
|
A finer component boxes, a regrouped parts list with keyboard search, a real green for wires and cables
- Box designer: drag pins up or down to open gaps between groups; size (+/−) and turn (R) lamps, displays, screens and drawings; pixels belong to named screens, each placed on its own; displays of the components inside can be shown on the box (off unless ticked); a list of everything the box can show, each optional; the box grows to hold what it shows
- Lamps and displays deep inside placed components light up on the box
- Parts list: one search box for parts and components (letters in order match too), recently placed parts first, grouped Logic / Inputs / Outputs / Wiring / Notes, then components by group; groups fold away
- Keys: / searches the parts list (Enter starts placing), Shift+A or Ctrl+K adds a part at the mouse
- Wires and cables get a green; the default swatch shows grey, as the default really is
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-22 04:48:42 +00:00
|
|
|
|
background: linear-gradient(135deg, transparent 45%, #8592a3 45% 55%, transparent 55%), #3b4554;
|
A component faces, project library with share links, fine-grained wire editing
- Lamps and hex displays inside a component show on its box with their
labels, lit by that instance's state; Counter 4 example shows its count.
- Several projects per browser; share links at /p/<id> that the creator's
edits save to automatically, others get their own copy. Export, open a
file as project, or add a file's components to the open project.
- Wires: drag any segment or corner, Alt+drag for a new bend, Ctrl+drag to
branch, double-click selects the whole signal, multi-select, arrow keys,
colour tags.
- Share-link API (POST/GET/PUT /api/p) on Nitro fs storage in data/, mounted
as a volume on edgerealm.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-17 11:21:49 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.swatch.c-red { --w-on: #ff5c5c; }
|
|
|
|
|
|
.swatch.c-orange { --w-on: #ff9f43; }
|
|
|
|
|
|
.swatch.c-yellow { --w-on: #ffd93d; }
|
A finer component boxes, a regrouped parts list with keyboard search, a real green for wires and cables
- Box designer: drag pins up or down to open gaps between groups; size (+/−) and turn (R) lamps, displays, screens and drawings; pixels belong to named screens, each placed on its own; displays of the components inside can be shown on the box (off unless ticked); a list of everything the box can show, each optional; the box grows to hold what it shows
- Lamps and displays deep inside placed components light up on the box
- Parts list: one search box for parts and components (letters in order match too), recently placed parts first, grouped Logic / Inputs / Outputs / Wiring / Notes, then components by group; groups fold away
- Keys: / searches the parts list (Enter starts placing), Shift+A or Ctrl+K adds a part at the mouse
- Wires and cables get a green; the default swatch shows grey, as the default really is
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-22 04:48:42 +00:00
|
|
|
|
.swatch.c-green { --w-on: #3ddc84; }
|
A component faces, project library with share links, fine-grained wire editing
- Lamps and hex displays inside a component show on its box with their
labels, lit by that instance's state; Counter 4 example shows its count.
- Several projects per browser; share links at /p/<id> that the creator's
edits save to automatically, others get their own copy. Export, open a
file as project, or add a file's components to the open project.
- Wires: drag any segment or corner, Alt+drag for a new bend, Ctrl+drag to
branch, double-click selects the whole signal, multi-select, arrow keys,
colour tags.
- Share-link API (POST/GET/PUT /api/p) on Nitro fs storage in data/, mounted
as a volume on edgerealm.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-17 11:21:49 +00:00
|
|
|
|
.swatch.c-blue { --w-on: #4dabff; }
|
|
|
|
|
|
.swatch.c-purple { --w-on: #b388ff; }
|
|
|
|
|
|
.swatch.c-pink { --w-on: #ff7ac6; }
|
|
|
|
|
|
|
|
|
|
|
|
.swatch.active {
|
|
|
|
|
|
border-color: var(--panel);
|
|
|
|
|
|
outline: 2px solid var(--text);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.tips {
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
line-height: 1.5;
|
|
|
|
|
|
margin: 2px 0 12px;
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
gap: 3px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.tips strong {
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.check {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: flex-start;
|
|
|
|
|
|
gap: 8px;
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
margin: 2px 0 12px;
|
|
|
|
|
|
line-height: 1.4;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.check input {
|
|
|
|
|
|
margin-top: 2px;
|
|
|
|
|
|
accent-color: var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.btn:disabled {
|
|
|
|
|
|
opacity: 0.4;
|
|
|
|
|
|
cursor: not-allowed;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.project-btn {
|
|
|
|
|
|
max-width: 220px;
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.share-btn {
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.share-btn.saved,
|
|
|
|
|
|
.share-btn.dirty,
|
|
|
|
|
|
.share-btn.saving {
|
|
|
|
|
|
color: var(--on);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.share-btn.error {
|
|
|
|
|
|
color: var(--danger);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.project-list {
|
|
|
|
|
|
margin-top: 14px;
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
gap: 4px;
|
|
|
|
|
|
max-height: 50vh;
|
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.project-list li {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 4px;
|
|
|
|
|
|
padding: 4px;
|
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
|
border: 1px solid transparent;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.project-list li:hover {
|
|
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.project-list li.current {
|
|
|
|
|
|
border-color: var(--border);
|
|
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.project-list .pick {
|
|
|
|
|
|
flex: 1;
|
|
|
|
|
|
min-width: 0;
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
gap: 2px;
|
|
|
|
|
|
text-align: left;
|
|
|
|
|
|
padding: 4px 6px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.project-list .name {
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.project-list .meta {
|
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 4px;
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.project-list .badge {
|
|
|
|
|
|
font-size: 10px;
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
|
margin-left: 6px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.project-list .rename {
|
|
|
|
|
|
flex: 1;
|
|
|
|
|
|
background: var(--bg);
|
|
|
|
|
|
border: 1px solid var(--accent);
|
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
|
padding: 6px 8px;
|
|
|
|
|
|
outline: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.icon-btn {
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
place-items: center;
|
|
|
|
|
|
width: 28px;
|
|
|
|
|
|
height: 28px;
|
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.icon-btn:hover {
|
|
|
|
|
|
background: var(--panel);
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.link-row {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
gap: 8px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.link-row input {
|
|
|
|
|
|
flex: 1;
|
|
|
|
|
|
min-width: 0;
|
|
|
|
|
|
height: 32px;
|
|
|
|
|
|
padding: 0 10px;
|
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
background: var(--bg);
|
|
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
outline: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.modal.share .result {
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
}
|
A settings for every part, overlap-free wiring with crossing styles, accounts with sync
- Clicking anything opens its settings: swap parts in place (wires stay on
matching pins), clock frequency per clock, keyboard keys for switches and
buttons, lamp/display colours, note sizes, component names on the canvas,
position, unlink all wires, unpack a component, make an independent copy.
- Wires of different signals never share a line: auto routes pick free
columns or detours, remaining clashes go on separate lanes. Crossings drawn
as bow, triangle, bridge, gap or plain.
- Accounts (email + scrypt password, httpOnly session) with two-way project
sync and conflict copies; per-account limits; cross-site writes refused.
- Compatibility suite: a project and both browser-storage layouts from
release a241adc must load and compute identically.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-20 11:09:37 +00:00
|
|
|
|
|
|
|
|
|
|
/* Lamp and display colours */
|
|
|
|
|
|
.lamp.on.l-red { fill: #ff5c5c; stroke: #ffc2c2; filter: drop-shadow(0 0 6px rgb(255 92 92 / 0.75)); }
|
|
|
|
|
|
.lamp.on.l-green { fill: #3ddc84; stroke: #b5f5d0; filter: drop-shadow(0 0 6px rgb(61 220 132 / 0.75)); }
|
|
|
|
|
|
.lamp.on.l-blue { fill: #4dabff; stroke: #bfe0ff; filter: drop-shadow(0 0 6px rgb(77 171 255 / 0.75)); }
|
|
|
|
|
|
.lamp.on.l-white { fill: #f4f6fa; stroke: #ffffff; filter: drop-shadow(0 0 6px rgb(244 246 250 / 0.7)); }
|
|
|
|
|
|
.l-yellow .seg.on { stroke: #ffd34d; filter: drop-shadow(0 0 3px rgb(255 211 77 / 0.8)); }
|
|
|
|
|
|
.l-green .seg.on { stroke: #3ddc84; filter: drop-shadow(0 0 3px rgb(61 220 132 / 0.8)); }
|
|
|
|
|
|
.l-blue .seg.on { stroke: #4dabff; filter: drop-shadow(0 0 3px rgb(77 171 255 / 0.8)); }
|
|
|
|
|
|
.l-white .seg.on { stroke: #f4f6fa; filter: drop-shadow(0 0 3px rgb(244 246 250 / 0.7)); }
|
|
|
|
|
|
|
|
|
|
|
|
.lamp-swatch.default,
|
|
|
|
|
|
.lamp-swatch.l-yellow { background: #ffd34d; }
|
|
|
|
|
|
.lamp-swatch.default.hex,
|
|
|
|
|
|
.lamp-swatch.l-red { background: #ff5c5c; }
|
|
|
|
|
|
.lamp-swatch.l-green { background: #3ddc84; }
|
|
|
|
|
|
.lamp-swatch.l-blue { background: #4dabff; }
|
|
|
|
|
|
.lamp-swatch.l-white { background: #f4f6fa; }
|
|
|
|
|
|
|
|
|
|
|
|
.instance-label {
|
|
|
|
|
|
fill: var(--accent);
|
|
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
|
|
font-size: 10px;
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.key-badge {
|
|
|
|
|
|
fill: var(--muted);
|
|
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
|
|
font-size: 8px;
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.junction {
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.key-input {
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
caret-color: transparent;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.field.mb-0 {
|
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.crossings {
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
grid-template-columns: repeat(5, 1fr);
|
|
|
|
|
|
gap: 4px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.crossing {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 2px;
|
|
|
|
|
|
padding: 4px 0 3px;
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
|
font-size: 10px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.crossing.active {
|
|
|
|
|
|
border-color: var(--accent);
|
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
|
background: rgb(76 194 255 / 0.08);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.ci-v,
|
|
|
|
|
|
.ci-h {
|
|
|
|
|
|
fill: none;
|
|
|
|
|
|
stroke-width: 2;
|
|
|
|
|
|
stroke-linejoin: round;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.ci-v { stroke: var(--muted); }
|
|
|
|
|
|
.ci-h { stroke: var(--on); }
|
|
|
|
|
|
|
|
|
|
|
|
.account-btn {
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.avatar {
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
place-items: center;
|
|
|
|
|
|
width: 22px;
|
|
|
|
|
|
height: 22px;
|
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
background: rgb(76 194 255 / 0.18);
|
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.sync-dot {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
right: 5px;
|
|
|
|
|
|
bottom: 5px;
|
|
|
|
|
|
width: 7px;
|
|
|
|
|
|
height: 7px;
|
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
border: 1.5px solid var(--panel);
|
|
|
|
|
|
background: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.account-btn.synced .sync-dot { background: var(--on); }
|
|
|
|
|
|
.account-btn.syncing .sync-dot { background: var(--lamp); }
|
|
|
|
|
|
.account-btn.error .sync-dot,
|
|
|
|
|
|
.account-btn.offline .sync-dot { background: var(--danger); }
|
|
|
|
|
|
|
|
|
|
|
|
.modal .hint a {
|
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
|
}
|
A input panels, automatic names, one-by-one wiring, tidy routing, truth table export
- Input panel part: rows of switches, buttons and clocks. "Attach input
panel" docks one to a component with a row per free input; it moves
with the component and follows its pins.
- Copies and new pins continue name series (D0 -> D1, A -> B); unnamed
switches, lamps and pins take the name of the component pin they are
wired to.
- Connecting: target pins are ringed, dropping on a part uses its next
free pin, click-then-click works, and "Connect one by one" (W) wires a
selection's pins in turn.
- Tidy wiring option and "Tidy all wires": sorted, evenly spaced columns
per gap, one trunk per signal, fewer crossings.
- Truth table full screen, CSV download, copy as Markdown, current row
highlighted.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 17:17:25 +00:00
|
|
|
|
|
|
|
|
|
|
/* ── Truth table, full screen ───────────────────────────────────── */
|
|
|
|
|
|
.modal.table-modal {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
width: min(1100px, 100%);
|
|
|
|
|
|
height: calc(100dvh - 32px);
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.truth.large {
|
|
|
|
|
|
flex: 1;
|
|
|
|
|
|
max-height: none;
|
|
|
|
|
|
min-height: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.truth.large table {
|
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.truth.large th,
|
|
|
|
|
|
.truth.large td {
|
|
|
|
|
|
padding: 5px 10px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.truth tr.current td {
|
|
|
|
|
|
background: rgb(76 194 255 / 0.12);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* ── Panel rows in the inspector ────────────────────────────────── */
|
2026-10-23 10:59:16 +00:00
|
|
|
|
/* Rows of a panel: one line each, a grip to drag, space between rows to add to. */
|
|
|
|
|
|
.rows-head {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
margin-bottom: 4px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.rows-all {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 2px;
|
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.kind-btn {
|
A input panels, automatic names, one-by-one wiring, tidy routing, truth table export
- Input panel part: rows of switches, buttons and clocks. "Attach input
panel" docks one to a component with a row per free input; it moves
with the component and follows its pins.
- Copies and new pins continue name series (D0 -> D1, A -> B); unnamed
switches, lamps and pins take the name of the component pin they are
wired to.
- Connecting: target pins are ringed, dropping on a part uses its next
free pin, click-then-click works, and "Connect one by one" (W) wires a
selection's pins in turn.
- Tidy wiring option and "Tidy all wires": sorted, evenly spaced columns
per gap, one trunk per signal, fewer crossings.
- Truth table full screen, CSV download, copy as Markdown, current row
highlighted.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 17:17:25 +00:00
|
|
|
|
display: grid;
|
2026-10-23 10:59:16 +00:00
|
|
|
|
place-items: center;
|
|
|
|
|
|
width: 22px;
|
|
|
|
|
|
height: 22px;
|
|
|
|
|
|
border-radius: 5px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.kind-btn:hover {
|
|
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.panel-rows {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
A input panels, automatic names, one-by-one wiring, tidy routing, truth table export
- Input panel part: rows of switches, buttons and clocks. "Attach input
panel" docks one to a component with a row per free input; it moves
with the component and follows its pins.
- Copies and new pins continue name series (D0 -> D1, A -> B); unnamed
switches, lamps and pins take the name of the component pin they are
wired to.
- Connecting: target pins are ringed, dropping on a part uses its next
free pin, click-then-click works, and "Connect one by one" (W) wires a
selection's pins in turn.
- Tidy wiring option and "Tidy all wires": sorted, evenly spaced columns
per gap, one trunk per signal, fewer crossings.
- Truth table full screen, CSV download, copy as Markdown, current row
highlighted.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 17:17:25 +00:00
|
|
|
|
margin-bottom: 6px;
|
2026-10-23 10:59:16 +00:00
|
|
|
|
user-select: none;
|
A input panels, automatic names, one-by-one wiring, tidy routing, truth table export
- Input panel part: rows of switches, buttons and clocks. "Attach input
panel" docks one to a component with a row per free input; it moves
with the component and follows its pins.
- Copies and new pins continue name series (D0 -> D1, A -> B); unnamed
switches, lamps and pins take the name of the component pin they are
wired to.
- Connecting: target pins are ringed, dropping on a part uses its next
free pin, click-then-click works, and "Connect one by one" (W) wires a
selection's pins in turn.
- Tidy wiring option and "Tidy all wires": sorted, evenly spaced columns
per gap, one trunk per signal, fewer crossings.
- Truth table full screen, CSV download, copy as Markdown, current row
highlighted.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 17:17:25 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-23 10:59:16 +00:00
|
|
|
|
.panel-rows li.row {
|
|
|
|
|
|
position: relative;
|
A input panels, automatic names, one-by-one wiring, tidy routing, truth table export
- Input panel part: rows of switches, buttons and clocks. "Attach input
panel" docks one to a component with a row per free input; it moves
with the component and follows its pins.
- Copies and new pins continue name series (D0 -> D1, A -> B); unnamed
switches, lamps and pins take the name of the component pin they are
wired to.
- Connecting: target pins are ringed, dropping on a part uses its next
free pin, click-then-click works, and "Connect one by one" (W) wires a
selection's pins in turn.
- Tidy wiring option and "Tidy all wires": sorted, evenly spaced columns
per gap, one trunk per signal, fewer crossings.
- Truth table full screen, CSV download, copy as Markdown, current row
highlighted.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 17:17:25 +00:00
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
2026-10-23 10:59:16 +00:00
|
|
|
|
gap: 3px;
|
|
|
|
|
|
min-height: 30px;
|
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.panel-rows li.row.lifted {
|
|
|
|
|
|
opacity: 0.45;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.panel-rows li.row.drop-above::before,
|
|
|
|
|
|
.panel-rows li.row.drop-below::after {
|
|
|
|
|
|
content: '';
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
left: 0;
|
|
|
|
|
|
right: 0;
|
|
|
|
|
|
height: 2px;
|
|
|
|
|
|
border-radius: 1px;
|
|
|
|
|
|
background: var(--accent);
|
A input panels, automatic names, one-by-one wiring, tidy routing, truth table export
- Input panel part: rows of switches, buttons and clocks. "Attach input
panel" docks one to a component with a row per free input; it moves
with the component and follows its pins.
- Copies and new pins continue name series (D0 -> D1, A -> B); unnamed
switches, lamps and pins take the name of the component pin they are
wired to.
- Connecting: target pins are ringed, dropping on a part uses its next
free pin, click-then-click works, and "Connect one by one" (W) wires a
selection's pins in turn.
- Tidy wiring option and "Tidy all wires": sorted, evenly spaced columns
per gap, one trunk per signal, fewer crossings.
- Truth table full screen, CSV download, copy as Markdown, current row
highlighted.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 17:17:25 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-23 10:59:16 +00:00
|
|
|
|
.panel-rows li.row.drop-above::before {
|
|
|
|
|
|
top: -3px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.panel-rows li.row.drop-below::after {
|
|
|
|
|
|
bottom: -3px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.row-grip {
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
place-items: center;
|
|
|
|
|
|
width: 12px;
|
|
|
|
|
|
height: 26px;
|
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
cursor: grab;
|
|
|
|
|
|
touch-action: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.panel-rows.dragging,
|
|
|
|
|
|
.panel-rows.dragging .row-grip {
|
|
|
|
|
|
cursor: grabbing;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.row-grip:hover {
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.row-color {
|
|
|
|
|
|
width: 14px;
|
|
|
|
|
|
height: 14px;
|
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
outline: 1px solid var(--border);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.row-color.none {
|
|
|
|
|
|
outline: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.row-color.lamp-swatch:hover {
|
|
|
|
|
|
outline: 2px solid var(--text);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.panel-rows input {
|
A input panels, automatic names, one-by-one wiring, tidy routing, truth table export
- Input panel part: rows of switches, buttons and clocks. "Attach input
panel" docks one to a component with a row per free input; it moves
with the component and follows its pins.
- Copies and new pins continue name series (D0 -> D1, A -> B); unnamed
switches, lamps and pins take the name of the component pin they are
wired to.
- Connecting: target pins are ringed, dropping on a part uses its next
free pin, click-then-click works, and "Connect one by one" (W) wires a
selection's pins in turn.
- Tidy wiring option and "Tidy all wires": sorted, evenly spaced columns
per gap, one trunk per signal, fewer crossings.
- Truth table full screen, CSV download, copy as Markdown, current row
highlighted.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 17:17:25 +00:00
|
|
|
|
min-width: 0;
|
2026-10-23 10:59:16 +00:00
|
|
|
|
padding: 4px 6px;
|
A input panels, automatic names, one-by-one wiring, tidy routing, truth table export
- Input panel part: rows of switches, buttons and clocks. "Attach input
panel" docks one to a component with a row per free input; it moves
with the component and follows its pins.
- Copies and new pins continue name series (D0 -> D1, A -> B); unnamed
switches, lamps and pins take the name of the component pin they are
wired to.
- Connecting: target pins are ringed, dropping on a part uses its next
free pin, click-then-click works, and "Connect one by one" (W) wires a
selection's pins in turn.
- Tidy wiring option and "Tidy all wires": sorted, evenly spaced columns
per gap, one trunk per signal, fewer crossings.
- Truth table full screen, CSV download, copy as Markdown, current row
highlighted.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 17:17:25 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-23 10:59:16 +00:00
|
|
|
|
.panel-rows .row-name {
|
|
|
|
|
|
flex: 1;
|
A input panels, automatic names, one-by-one wiring, tidy routing, truth table export
- Input panel part: rows of switches, buttons and clocks. "Attach input
panel" docks one to a component with a row per free input; it moves
with the component and follows its pins.
- Copies and new pins continue name series (D0 -> D1, A -> B); unnamed
switches, lamps and pins take the name of the component pin they are
wired to.
- Connecting: target pins are ringed, dropping on a part uses its next
free pin, click-then-click works, and "Connect one by one" (W) wires a
selection's pins in turn.
- Tidy wiring option and "Tidy all wires": sorted, evenly spaced columns
per gap, one trunk per signal, fewer crossings.
- Truth table full screen, CSV download, copy as Markdown, current row
highlighted.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 17:17:25 +00:00
|
|
|
|
}
|
2026-10-20 17:29:16 +00:00
|
|
|
|
|
2026-10-23 10:59:16 +00:00
|
|
|
|
.kind-toggle {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
padding: 1px;
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
|
background: var(--panel-2);
|
2026-10-21 09:51:45 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-23 10:59:16 +00:00
|
|
|
|
.kind-toggle button {
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
place-items: center;
|
|
|
|
|
|
width: 20px;
|
|
|
|
|
|
height: 22px;
|
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
color: var(--muted);
|
2026-10-21 09:51:45 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-23 10:59:16 +00:00
|
|
|
|
.kind-toggle button:hover {
|
2026-10-21 09:51:45 +00:00
|
|
|
|
color: var(--text);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-23 10:59:16 +00:00
|
|
|
|
.kind-toggle button.on {
|
|
|
|
|
|
background: rgb(76 194 255 / 0.18);
|
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.panel-rows .row-side {
|
|
|
|
|
|
flex: 0 0 32px;
|
|
|
|
|
|
width: 32px;
|
|
|
|
|
|
padding: 4px 2px;
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.panel-rows .key-input {
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.panel-rows .key-input::placeholder {
|
|
|
|
|
|
text-transform: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Between two rows: thin until pointed at; empty rows show as that much space. */
|
|
|
|
|
|
.row-between {
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
height: 8px;
|
2026-10-21 09:51:45 +00:00
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
2026-10-23 10:59:16 +00:00
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.row-between.spaced {
|
|
|
|
|
|
height: calc(var(--gap) * 9px + 8px);
|
|
|
|
|
|
margin: 2px 0;
|
|
|
|
|
|
border: 1px dashed var(--border);
|
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.gap-label {
|
|
|
|
|
|
padding-right: 8px;
|
|
|
|
|
|
font-size: 10px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.between-tools {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
z-index: 2;
|
|
|
|
|
|
left: 50%;
|
|
|
|
|
|
top: 50%;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
gap: 2px;
|
|
|
|
|
|
padding: 2px;
|
|
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
|
|
background: var(--panel);
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: 7px;
|
|
|
|
|
|
box-shadow: 0 4px 14px rgb(0 0 0 / 0.4);
|
|
|
|
|
|
opacity: 0;
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
transition: opacity 0.1s;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.row-between:not(.end)::before {
|
|
|
|
|
|
content: '';
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
left: 18px;
|
|
|
|
|
|
right: 0;
|
|
|
|
|
|
top: 50%;
|
|
|
|
|
|
height: 1px;
|
|
|
|
|
|
background: var(--accent);
|
|
|
|
|
|
opacity: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.panel-rows:not(.dragging) .row-between:hover .between-tools,
|
|
|
|
|
|
.row-between:focus-within .between-tools {
|
|
|
|
|
|
opacity: 1;
|
|
|
|
|
|
pointer-events: auto;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.panel-rows:not(.dragging) .row-between:not(.spaced):hover::before {
|
|
|
|
|
|
opacity: 0.6;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.between-tools button {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 3px;
|
|
|
|
|
|
padding: 2px 7px;
|
|
|
|
|
|
border-radius: 5px;
|
2026-10-21 09:51:45 +00:00
|
|
|
|
font-size: 11px;
|
2026-10-23 10:59:16 +00:00
|
|
|
|
font-weight: 600;
|
2026-10-21 09:51:45 +00:00
|
|
|
|
color: var(--muted);
|
2026-10-23 10:59:16 +00:00
|
|
|
|
white-space: nowrap;
|
2026-10-21 09:51:45 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-23 10:59:16 +00:00
|
|
|
|
.between-tools button:hover {
|
|
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.row-between.end {
|
|
|
|
|
|
height: auto;
|
|
|
|
|
|
justify-content: flex-start;
|
|
|
|
|
|
margin-top: 4px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.add-row {
|
2026-10-21 09:51:45 +00:00
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
2026-10-23 10:59:16 +00:00
|
|
|
|
gap: 5px;
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
padding: 5px 8px;
|
|
|
|
|
|
border: 1px dashed var(--border);
|
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
color: var(--muted);
|
2026-10-21 09:51:45 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-23 10:59:16 +00:00
|
|
|
|
.add-row:hover {
|
|
|
|
|
|
border-color: var(--accent);
|
|
|
|
|
|
color: var(--text);
|
2026-10-21 09:51:45 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.swatches.mini {
|
|
|
|
|
|
gap: 4px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.swatches.mini .swatch {
|
|
|
|
|
|
width: 16px;
|
|
|
|
|
|
height: 16px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.lamp-swatch.default-on { background: var(--on); }
|
|
|
|
|
|
.lamp-swatch.default-on.button { background: var(--danger); }
|
|
|
|
|
|
|
A right panel in tabs, Pins list, bulk editing, transistor breakdown, Settings dialog
- Right panel tabs: Selection, Circuit, Pins, Test. Display and sound
preferences move to a Settings dialog (gear in the top bar).
- Pins tab: every input and output in pin order with live values; rename in
place (Enter goes to the next), number a whole side from a pattern, flag
duplicate names, centre the canvas on a part.
- Several selected parts: narrow by type, swap all, rename all from a
pattern, set switches to 0/1 or flip, shared colour/frequency/size, align
and spread.
- Transistors on every part (NAND 4, switches and lamps 0), NAND 4T in the
palette, and a per-part breakdown of the circuit. Test: the count equals
4 x the gates the simulator builds, for every example and wide gate.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 07:29:55 +00:00
|
|
|
|
.challenge .score,
|
|
|
|
|
|
.inspector .score {
|
2026-10-20 17:29:16 +00:00
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 6px;
|
|
|
|
|
|
margin-top: 8px;
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
A right panel in tabs, Pins list, bulk editing, transistor breakdown, Settings dialog
- Right panel tabs: Selection, Circuit, Pins, Test. Display and sound
preferences move to a Settings dialog (gear in the top bar).
- Pins tab: every input and output in pin order with live values; rename in
place (Enter goes to the next), number a whole side from a pattern, flag
duplicate names, centre the canvas on a part.
- Several selected parts: narrow by type, swap all, rename all from a
pattern, set switches to 0/1 or flip, shared colour/frequency/size, align
and spread.
- Transistors on every part (NAND 4, switches and lamps 0), NAND 4T in the
palette, and a per-part breakdown of the circuit. Test: the count equals
4 x the gates the simulator builds, for every example and wide gate.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 07:29:55 +00:00
|
|
|
|
.challenge .score strong,
|
|
|
|
|
|
.inspector .score strong {
|
2026-10-20 17:29:16 +00:00
|
|
|
|
color: var(--on);
|
|
|
|
|
|
}
|
A campaign with unlocks, synthesised sound, puzzles and the puzzle of the week
- Campaign projects start with NAND only; challenges open along a
dependency chain, each solution becomes a usable part, and basic parts
unlock on the way. Locked parts and challenges say what opens them.
- Sound effects made with Web Audio: place, connect, switches, buttons,
delete, clock ticks (opt-in), solve, fail, unlock, record. Mute and
volume in the top bar and Display settings.
- Publish any circuit as a puzzle link; only its behaviour is shared.
The server re-runs the checks on submitted solutions, counts their
transistors and keeps each player's best; the board shows a histogram
and your place. A generated puzzle of the week for everyone.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 17:54:57 +00:00
|
|
|
|
|
R Top bar like the parts bar, no left panel
The parts panel on the left is gone: pinned parts sit at the start of the
bottom bar, components open from the pencil in its Components list (or a
double-click), examples load from there too. The side panel moved to the
left. The top bar floats across the whole width: menu with the project,
Main and the way into the open component instead of the circuit
selector, Challenges in a drop-down, clock, search, undo, settings,
share and account. / and the bar's search open quick add.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:17:41 +00:00
|
|
|
|
/* ── Campaign and puzzles (challenges) ─────────────────────────────── */
|
A campaign with unlocks, synthesised sound, puzzles and the puzzle of the week
- Campaign projects start with NAND only; challenges open along a
dependency chain, each solution becomes a usable part, and basic parts
unlock on the way. Locked parts and challenges say what opens them.
- Sound effects made with Web Audio: place, connect, switches, buttons,
delete, clock ticks (opt-in), solve, fail, unlock, record. Mute and
volume in the top bar and Display settings.
- Publish any circuit as a puzzle link; only its behaviour is shared.
The server re-runs the checks on submitted solutions, counts their
transistors and keeps each player's best; the board shows a histogram
and your place. A generated puzzle of the week for everyone.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 17:54:57 +00:00
|
|
|
|
.campaign,
|
|
|
|
|
|
.weekly {
|
|
|
|
|
|
margin: 12px 12px 4px;
|
|
|
|
|
|
padding: 10px 12px;
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.campaign p,
|
|
|
|
|
|
.weekly p {
|
|
|
|
|
|
margin-top: 6px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
line-height: 1.45;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.weekly {
|
|
|
|
|
|
border-color: rgb(76 194 255 / 0.35);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
A main menu: free play, campaign, challenges and leaderboard over a circuit that builds itself
Logigate opens on a title screen. Continue, Free play (your own projects),
Campaign (progress and what is next), Challenges (every challenge and the
puzzle of the week in one Challenges project), Leaderboard (the best ten of
this and earlier weeks, your place, your records), Settings. Arrow keys,
Enter and Esc work through it; links still open straight into the editor.
Players can name themselves on the leaderboards. The logo in the editor
leads back to the menu.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-22 10:22:35 +00:00
|
|
|
|
.campaign .bar,
|
|
|
|
|
|
.menu-card .bar {
|
A campaign with unlocks, synthesised sound, puzzles and the puzzle of the week
- Campaign projects start with NAND only; challenges open along a
dependency chain, each solution becomes a usable part, and basic parts
unlock on the way. Locked parts and challenges say what opens them.
- Sound effects made with Web Audio: place, connect, switches, buttons,
delete, clock ticks (opt-in), solve, fail, unlock, record. Mute and
volume in the top bar and Display settings.
- Publish any circuit as a puzzle link; only its behaviour is shared.
The server re-runs the checks on submitted solutions, counts their
transistors and keeps each player's best; the board shows a histogram
and your place. A generated puzzle of the week for everyone.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 17:54:57 +00:00
|
|
|
|
height: 6px;
|
|
|
|
|
|
margin-top: 8px;
|
|
|
|
|
|
border-radius: 3px;
|
|
|
|
|
|
background: var(--bg);
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
A main menu: free play, campaign, challenges and leaderboard over a circuit that builds itself
Logigate opens on a title screen. Continue, Free play (your own projects),
Campaign (progress and what is next), Challenges (every challenge and the
puzzle of the week in one Challenges project), Leaderboard (the best ten of
this and earlier weeks, your place, your records), Settings. Arrow keys,
Enter and Esc work through it; links still open straight into the editor.
Players can name themselves on the leaderboards. The logo in the editor
leads back to the menu.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-22 10:22:35 +00:00
|
|
|
|
.campaign .bar span,
|
|
|
|
|
|
.menu-card .bar span {
|
A campaign with unlocks, synthesised sound, puzzles and the puzzle of the week
- Campaign projects start with NAND only; challenges open along a
dependency chain, each solution becomes a usable part, and basic parts
unlock on the way. Locked parts and challenges say what opens them.
- Sound effects made with Web Audio: place, connect, switches, buttons,
delete, clock ticks (opt-in), solve, fail, unlock, record. Mute and
volume in the top bar and Display settings.
- Publish any circuit as a puzzle link; only its behaviour is shared.
The server re-runs the checks on submitted solutions, counts their
transistors and keeps each player's best; the board shows a histogram
and your place. A generated puzzle of the week for everyone.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 17:54:57 +00:00
|
|
|
|
display: block;
|
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
background: var(--on);
|
|
|
|
|
|
border-radius: 3px;
|
|
|
|
|
|
transition: width 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.challenges li.locked {
|
|
|
|
|
|
opacity: 0.55;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.challenges .needs {
|
|
|
|
|
|
color: var(--lamp);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.btn-sm:disabled {
|
|
|
|
|
|
opacity: 0.45;
|
|
|
|
|
|
cursor: not-allowed;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Unlocks after a solve, and the puzzle's target. */
|
|
|
|
|
|
.challenge .unlock {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
gap: 8px;
|
|
|
|
|
|
margin-top: 8px;
|
|
|
|
|
|
padding: 8px 10px;
|
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
color: var(--lamp);
|
|
|
|
|
|
background: rgb(255 211 77 / 0.08);
|
|
|
|
|
|
border: 1px solid rgb(255 211 77 / 0.3);
|
|
|
|
|
|
animation: unlock-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.challenge .unlock p + p {
|
|
|
|
|
|
margin-top: 2px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@keyframes unlock-in {
|
|
|
|
|
|
from {
|
|
|
|
|
|
opacity: 0;
|
|
|
|
|
|
transform: translateY(4px) scale(0.98);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.target-table .truth {
|
|
|
|
|
|
max-height: 220px;
|
|
|
|
|
|
}
|
2026-10-20 18:15:38 +00:00
|
|
|
|
|
|
|
|
|
|
/* A name borrowed from the pin a part is wired to, while it has none of its own. */
|
|
|
|
|
|
.io-label.ghosted,
|
|
|
|
|
|
.face-label.ghosted {
|
|
|
|
|
|
fill: var(--muted);
|
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
font-style: italic;
|
|
|
|
|
|
opacity: 0.75;
|
|
|
|
|
|
}
|
A right panel in tabs, Pins list, bulk editing, transistor breakdown, Settings dialog
- Right panel tabs: Selection, Circuit, Pins, Test. Display and sound
preferences move to a Settings dialog (gear in the top bar).
- Pins tab: every input and output in pin order with live values; rename in
place (Enter goes to the next), number a whole side from a pattern, flag
duplicate names, centre the canvas on a part.
- Several selected parts: narrow by type, swap all, rename all from a
pattern, set switches to 0/1 or flip, shared colour/frequency/size, align
and spread.
- Transistors on every part (NAND 4, switches and lamps 0), NAND 4T in the
palette, and a per-part breakdown of the circuit. Test: the count equals
4 x the gates the simulator builds, for every example and wide gate.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 07:29:55 +00:00
|
|
|
|
|
|
|
|
|
|
/* ── Right panel tabs ───────────────────────────────────────────── */
|
|
|
|
|
|
.itabs {
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
grid-template-columns: repeat(4, 1fr);
|
|
|
|
|
|
border-bottom: 1px solid var(--border);
|
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.itabs button {
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 2px;
|
|
|
|
|
|
padding: 7px 2px 6px;
|
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
border-bottom: 2px solid transparent;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.itabs button:hover {
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.itabs button.active {
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
border-bottom-color: var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.itabs button.task:not(.active) {
|
|
|
|
|
|
color: var(--lamp);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.itabs .badge {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
top: 3px;
|
|
|
|
|
|
right: calc(50% - 22px);
|
|
|
|
|
|
min-width: 16px;
|
|
|
|
|
|
padding: 0 4px;
|
|
|
|
|
|
border-radius: 999px;
|
|
|
|
|
|
background: rgb(76 194 255 / 0.18);
|
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
|
|
font-size: 9px;
|
|
|
|
|
|
line-height: 14px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.empty-pane {
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
justify-items: center;
|
|
|
|
|
|
gap: 6px;
|
|
|
|
|
|
padding: 32px 18px !important;
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.empty-pane .hint {
|
|
|
|
|
|
margin: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* ── Transistor breakdown ───────────────────────────────────────── */
|
|
|
|
|
|
.cost {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
margin-top: 8px;
|
|
|
|
|
|
border-collapse: collapse;
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.cost td {
|
|
|
|
|
|
padding: 4px 4px;
|
|
|
|
|
|
border-bottom: 1px solid var(--border);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.cost tbody tr {
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.cost tbody tr:hover {
|
|
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.cost .num {
|
|
|
|
|
|
text-align: right;
|
|
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.cost .strong {
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.cost tfoot td {
|
|
|
|
|
|
border-bottom: 0;
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* ── Pins list ──────────────────────────────────────────────────── */
|
|
|
|
|
|
.count-pill {
|
|
|
|
|
|
margin-left: 4px;
|
|
|
|
|
|
padding: 0 6px;
|
|
|
|
|
|
border-radius: 999px;
|
|
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
|
|
font-size: 10px;
|
|
|
|
|
|
letter-spacing: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-21 08:09:43 +00:00
|
|
|
|
.io-section {
|
|
|
|
|
|
padding-top: 10px !important;
|
|
|
|
|
|
padding-bottom: 10px !important;
|
A right panel in tabs, Pins list, bulk editing, transistor breakdown, Settings dialog
- Right panel tabs: Selection, Circuit, Pins, Test. Display and sound
preferences move to a Settings dialog (gear in the top bar).
- Pins tab: every input and output in pin order with live values; rename in
place (Enter goes to the next), number a whole side from a pattern, flag
duplicate names, centre the canvas on a part.
- Several selected parts: narrow by type, swap all, rename all from a
pattern, set switches to 0/1 or flip, shared colour/frequency/size, align
and spread.
- Transistors on every part (NAND 4, switches and lamps 0), NAND 4T in the
palette, and a per-part breakdown of the circuit. Test: the count equals
4 x the gates the simulator builds, for every example and wide gate.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 07:29:55 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-21 08:09:43 +00:00
|
|
|
|
.io-head {
|
A right panel in tabs, Pins list, bulk editing, transistor breakdown, Settings dialog
- Right panel tabs: Selection, Circuit, Pins, Test. Display and sound
preferences move to a Settings dialog (gear in the top bar).
- Pins tab: every input and output in pin order with live values; rename in
place (Enter goes to the next), number a whole side from a pattern, flag
duplicate names, centre the canvas on a part.
- Several selected parts: narrow by type, swap all, rename all from a
pattern, set switches to 0/1 or flip, shared colour/frequency/size, align
and spread.
- Transistors on every part (NAND 4, switches and lamps 0), NAND 4T in the
palette, and a per-part breakdown of the circuit. Test: the count equals
4 x the gates the simulator builds, for every example and wide gate.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 07:29:55 +00:00
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 8px;
|
2026-10-21 08:09:43 +00:00
|
|
|
|
margin-bottom: 6px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.io-head h3 {
|
|
|
|
|
|
flex: 1;
|
|
|
|
|
|
margin: 0 !important;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.io-list {
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
gap: 1px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.io-row {
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
grid-template-columns: 20px minmax(0, 1fr) auto 22px;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 6px;
|
|
|
|
|
|
height: 26px;
|
|
|
|
|
|
padding: 0 2px;
|
|
|
|
|
|
border-radius: 5px;
|
A right panel in tabs, Pins list, bulk editing, transistor breakdown, Settings dialog
- Right panel tabs: Selection, Circuit, Pins, Test. Display and sound
preferences move to a Settings dialog (gear in the top bar).
- Pins tab: every input and output in pin order with live values; rename in
place (Enter goes to the next), number a whole side from a pattern, flag
duplicate names, centre the canvas on a part.
- Several selected parts: narrow by type, swap all, rename all from a
pattern, set switches to 0/1 or flip, shared colour/frequency/size, align
and spread.
- Transistors on every part (NAND 4, switches and lamps 0), NAND 4T in the
palette, and a per-part breakdown of the circuit. Test: the count equals
4 x the gates the simulator builds, for every example and wide gate.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 07:29:55 +00:00
|
|
|
|
border: 1px solid transparent;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-21 08:09:43 +00:00
|
|
|
|
.io-row:hover {
|
A right panel in tabs, Pins list, bulk editing, transistor breakdown, Settings dialog
- Right panel tabs: Selection, Circuit, Pins, Test. Display and sound
preferences move to a Settings dialog (gear in the top bar).
- Pins tab: every input and output in pin order with live values; rename in
place (Enter goes to the next), number a whole side from a pattern, flag
duplicate names, centre the canvas on a part.
- Several selected parts: narrow by type, swap all, rename all from a
pattern, set switches to 0/1 or flip, shared colour/frequency/size, align
and spread.
- Transistors on every part (NAND 4, switches and lamps 0), NAND 4T in the
palette, and a per-part breakdown of the circuit. Test: the count equals
4 x the gates the simulator builds, for every example and wide gate.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 07:29:55 +00:00
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-21 08:09:43 +00:00
|
|
|
|
.io-row.selected {
|
A right panel in tabs, Pins list, bulk editing, transistor breakdown, Settings dialog
- Right panel tabs: Selection, Circuit, Pins, Test. Display and sound
preferences move to a Settings dialog (gear in the top bar).
- Pins tab: every input and output in pin order with live values; rename in
place (Enter goes to the next), number a whole side from a pattern, flag
duplicate names, centre the canvas on a part.
- Several selected parts: narrow by type, swap all, rename all from a
pattern, set switches to 0/1 or flip, shared colour/frequency/size, align
and spread.
- Transistors on every part (NAND 4, switches and lamps 0), NAND 4T in the
palette, and a per-part breakdown of the circuit. Test: the count equals
4 x the gates the simulator builds, for every example and wide gate.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 07:29:55 +00:00
|
|
|
|
border-color: rgb(76 194 255 / 0.5);
|
|
|
|
|
|
background: rgb(76 194 255 / 0.07);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.io-value {
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
place-items: center;
|
|
|
|
|
|
width: 20px;
|
2026-10-21 08:09:43 +00:00
|
|
|
|
height: 18px;
|
|
|
|
|
|
border-radius: 4px;
|
A right panel in tabs, Pins list, bulk editing, transistor breakdown, Settings dialog
- Right panel tabs: Selection, Circuit, Pins, Test. Display and sound
preferences move to a Settings dialog (gear in the top bar).
- Pins tab: every input and output in pin order with live values; rename in
place (Enter goes to the next), number a whole side from a pattern, flag
duplicate names, centre the canvas on a part.
- Several selected parts: narrow by type, swap all, rename all from a
pattern, set switches to 0/1 or flip, shared colour/frequency/size, align
and spread.
- Transistors on every part (NAND 4, switches and lamps 0), NAND 4T in the
palette, and a per-part breakdown of the circuit. Test: the count equals
4 x the gates the simulator builds, for every example and wide gate.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 07:29:55 +00:00
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
|
font-weight: 700;
|
2026-10-21 08:09:43 +00:00
|
|
|
|
cursor: default;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.io-value.live {
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
outline: 1px solid var(--border);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.io-value.live:hover {
|
|
|
|
|
|
outline-color: var(--accent);
|
A right panel in tabs, Pins list, bulk editing, transistor breakdown, Settings dialog
- Right panel tabs: Selection, Circuit, Pins, Test. Display and sound
preferences move to a Settings dialog (gear in the top bar).
- Pins tab: every input and output in pin order with live values; rename in
place (Enter goes to the next), number a whole side from a pattern, flag
duplicate names, centre the canvas on a part.
- Several selected parts: narrow by type, swap all, rename all from a
pattern, set switches to 0/1 or flip, shared colour/frequency/size, align
and spread.
- Transistors on every part (NAND 4, switches and lamps 0), NAND 4T in the
palette, and a per-part breakdown of the circuit. Test: the count equals
4 x the gates the simulator builds, for every example and wide gate.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 07:29:55 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.io-value.on {
|
|
|
|
|
|
background: var(--on-dim);
|
|
|
|
|
|
color: var(--on);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.io-name {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
min-width: 0;
|
2026-10-21 08:09:43 +00:00
|
|
|
|
height: 22px;
|
|
|
|
|
|
padding: 0 5px;
|
A right panel in tabs, Pins list, bulk editing, transistor breakdown, Settings dialog
- Right panel tabs: Selection, Circuit, Pins, Test. Display and sound
preferences move to a Settings dialog (gear in the top bar).
- Pins tab: every input and output in pin order with live values; rename in
place (Enter goes to the next), number a whole side from a pattern, flag
duplicate names, centre the canvas on a part.
- Several selected parts: narrow by type, swap all, rename all from a
pattern, set switches to 0/1 or flip, shared colour/frequency/size, align
and spread.
- Transistors on every part (NAND 4, switches and lamps 0), NAND 4T in the
palette, and a per-part breakdown of the circuit. Test: the count equals
4 x the gates the simulator builds, for every example and wide gate.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 07:29:55 +00:00
|
|
|
|
border: 1px solid transparent;
|
2026-10-21 08:09:43 +00:00
|
|
|
|
border-radius: 4px;
|
A right panel in tabs, Pins list, bulk editing, transistor breakdown, Settings dialog
- Right panel tabs: Selection, Circuit, Pins, Test. Display and sound
preferences move to a Settings dialog (gear in the top bar).
- Pins tab: every input and output in pin order with live values; rename in
place (Enter goes to the next), number a whole side from a pattern, flag
duplicate names, centre the canvas on a part.
- Several selected parts: narrow by type, swap all, rename all from a
pattern, set switches to 0/1 or flip, shared colour/frequency/size, align
and spread.
- Transistors on every part (NAND 4, switches and lamps 0), NAND 4T in the
palette, and a per-part breakdown of the circuit. Test: the count equals
4 x the gates the simulator builds, for every example and wide gate.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 07:29:55 +00:00
|
|
|
|
background: transparent;
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
font-family: var(--font-mono);
|
2026-10-21 08:09:43 +00:00
|
|
|
|
font-size: 12.5px;
|
A right panel in tabs, Pins list, bulk editing, transistor breakdown, Settings dialog
- Right panel tabs: Selection, Circuit, Pins, Test. Display and sound
preferences move to a Settings dialog (gear in the top bar).
- Pins tab: every input and output in pin order with live values; rename in
place (Enter goes to the next), number a whole side from a pattern, flag
duplicate names, centre the canvas on a part.
- Several selected parts: narrow by type, swap all, rename all from a
pattern, set switches to 0/1 or flip, shared colour/frequency/size, align
and spread.
- Transistors on every part (NAND 4, switches and lamps 0), NAND 4T in the
palette, and a per-part breakdown of the circuit. Test: the count equals
4 x the gates the simulator builds, for every example and wide gate.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 07:29:55 +00:00
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
outline: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.io-name:hover {
|
|
|
|
|
|
border-color: var(--border);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.io-name:focus {
|
|
|
|
|
|
border-color: var(--accent);
|
|
|
|
|
|
background: var(--bg);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.io-name::placeholder {
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
|
font-style: italic;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.io-kind {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
2026-10-21 08:09:43 +00:00
|
|
|
|
gap: 3px;
|
A right panel in tabs, Pins list, bulk editing, transistor breakdown, Settings dialog
- Right panel tabs: Selection, Circuit, Pins, Test. Display and sound
preferences move to a Settings dialog (gear in the top bar).
- Pins tab: every input and output in pin order with live values; rename in
place (Enter goes to the next), number a whole side from a pattern, flag
duplicate names, centre the canvas on a part.
- Several selected parts: narrow by type, swap all, rename all from a
pattern, set switches to 0/1 or flip, shared colour/frequency/size, align
and spread.
- Transistors on every part (NAND 4, switches and lamps 0), NAND 4T in the
palette, and a per-part breakdown of the circuit. Test: the count equals
4 x the gates the simulator builds, for every example and wide gate.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 07:29:55 +00:00
|
|
|
|
font-size: 10.5px;
|
|
|
|
|
|
color: var(--muted);
|
2026-10-21 08:09:43 +00:00
|
|
|
|
white-space: nowrap;
|
A right panel in tabs, Pins list, bulk editing, transistor breakdown, Settings dialog
- Right panel tabs: Selection, Circuit, Pins, Test. Display and sound
preferences move to a Settings dialog (gear in the top bar).
- Pins tab: every input and output in pin order with live values; rename in
place (Enter goes to the next), number a whole side from a pattern, flag
duplicate names, centre the canvas on a part.
- Several selected parts: narrow by type, swap all, rename all from a
pattern, set switches to 0/1 or flip, shared colour/frequency/size, align
and spread.
- Transistors on every part (NAND 4, switches and lamps 0), NAND 4T in the
palette, and a per-part breakdown of the circuit. Test: the count equals
4 x the gates the simulator builds, for every example and wide gate.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 07:29:55 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-21 08:09:43 +00:00
|
|
|
|
.io-row.dup .io-kind {
|
A right panel in tabs, Pins list, bulk editing, transistor breakdown, Settings dialog
- Right panel tabs: Selection, Circuit, Pins, Test. Display and sound
preferences move to a Settings dialog (gear in the top bar).
- Pins tab: every input and output in pin order with live values; rename in
place (Enter goes to the next), number a whole side from a pattern, flag
duplicate names, centre the canvas on a part.
- Several selected parts: narrow by type, swap all, rename all from a
pattern, set switches to 0/1 or flip, shared colour/frequency/size, align
and spread.
- Transistors on every part (NAND 4, switches and lamps 0), NAND 4T in the
palette, and a per-part breakdown of the circuit. Test: the count equals
4 x the gates the simulator builds, for every example and wide gate.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 07:29:55 +00:00
|
|
|
|
color: var(--lamp);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-21 08:09:43 +00:00
|
|
|
|
.io-locate {
|
|
|
|
|
|
width: 22px !important;
|
|
|
|
|
|
height: 22px !important;
|
|
|
|
|
|
opacity: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.io-row:hover .io-locate,
|
|
|
|
|
|
.io-group-head:hover .io-locate,
|
|
|
|
|
|
.io-locate:focus-visible {
|
|
|
|
|
|
opacity: 1;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.io-group {
|
|
|
|
|
|
margin: 3px 0;
|
|
|
|
|
|
padding: 0 3px 3px;
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: 7px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.io-group.selected {
|
|
|
|
|
|
border-color: rgb(76 194 255 / 0.6);
|
|
|
|
|
|
background: rgb(76 194 255 / 0.05);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.io-group-head {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 6px;
|
|
|
|
|
|
height: 24px;
|
|
|
|
|
|
padding: 0 2px 0 5px;
|
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
A right panel in tabs, Pins list, bulk editing, transistor breakdown, Settings dialog
- Right panel tabs: Selection, Circuit, Pins, Test. Display and sound
preferences move to a Settings dialog (gear in the top bar).
- Pins tab: every input and output in pin order with live values; rename in
place (Enter goes to the next), number a whole side from a pattern, flag
duplicate names, centre the canvas on a part.
- Several selected parts: narrow by type, swap all, rename all from a
pattern, set switches to 0/1 or flip, shared colour/frequency/size, align
and spread.
- Transistors on every part (NAND 4, switches and lamps 0), NAND 4T in the
palette, and a per-part breakdown of the circuit. Test: the count equals
4 x the gates the simulator builds, for every example and wide gate.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 07:29:55 +00:00
|
|
|
|
.numbering {
|
|
|
|
|
|
margin: 4px 0 12px;
|
|
|
|
|
|
padding: 10px;
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* ── Bulk editing ───────────────────────────────────────────────── */
|
|
|
|
|
|
.type-chips {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
gap: 4px;
|
|
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.type-chip {
|
|
|
|
|
|
padding: 3px 8px;
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: 999px;
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.type-chip span {
|
|
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.type-chip:hover {
|
|
|
|
|
|
border-color: var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.arrange {
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
grid-template-columns: repeat(6, 1fr);
|
|
|
|
|
|
gap: 4px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.arrange .icon-btn {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.arrange .icon-btn:disabled {
|
|
|
|
|
|
opacity: 0.4;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.text-input {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
|
padding: 6px 8px;
|
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
outline: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.text-input:focus {
|
|
|
|
|
|
border-color: var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.tips-box {
|
|
|
|
|
|
margin-top: 12px;
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.tips-box summary {
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
margin-bottom: 6px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.field small.hint {
|
|
|
|
|
|
display: block;
|
|
|
|
|
|
margin-top: 4px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.inspector h3 + .score {
|
|
|
|
|
|
margin-top: -4px;
|
|
|
|
|
|
margin-bottom: 12px;
|
|
|
|
|
|
}
|
2026-10-21 08:09:43 +00:00
|
|
|
|
|
|
|
|
|
|
/* ── Collapsible side panels ────────────────────────────────────── */
|
|
|
|
|
|
.collapse-btn {
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
place-items: center;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
flex: 0 0 30px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.collapse-btn:hover {
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.itabs {
|
R Panels: This and Pins on the left, the selection on the right
The left panel is about the circuit you are in: This (challenge and
Check on top, problems, name, statistics, truth table, as a component,
transistors, tools) and Pins. The selection gets its own panel on the
right, there only while something is selected, with its settings and
actions such as making a component out of it. The bars follow the
canvas width and drop labels when it gets narrow.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:38:17 +00:00
|
|
|
|
grid-template-columns: 30px repeat(2, 1fr);
|
2026-10-21 08:09:43 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.rail {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 2px;
|
|
|
|
|
|
padding-top: 6px;
|
|
|
|
|
|
background: var(--panel);
|
|
|
|
|
|
min-height: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
R Top bar like the parts bar, no left panel
The parts panel on the left is gone: pinned parts sit at the start of the
bottom bar, components open from the pencil in its Components list (or a
double-click), examples load from there too. The side panel moved to the
left. The top bar floats across the whole width: menu with the project,
Main and the way into the open component instead of the circuit
selector, Challenges in a drop-down, clock, search, undo, settings,
share and account. / and the bar's search open quick add.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:17:41 +00:00
|
|
|
|
.rail {
|
2026-10-21 08:09:43 +00:00
|
|
|
|
border-right: 1px solid var(--border);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.rail-btn {
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
place-items: center;
|
|
|
|
|
|
width: 28px;
|
|
|
|
|
|
height: 28px;
|
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.rail-btn:hover {
|
|
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.tabs .collapse-btn,
|
|
|
|
|
|
.itabs .collapse-btn {
|
|
|
|
|
|
flex: 0 0 30px;
|
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
|
padding: 0;
|
|
|
|
|
|
border-bottom: 2px solid transparent;
|
|
|
|
|
|
}
|
2026-10-21 08:39:54 +00:00
|
|
|
|
|
|
|
|
|
|
/* Ribbon cable: sleeve, dark core, one thin line per wire in its own colour. */
|
|
|
|
|
|
.cable-sleeve {
|
|
|
|
|
|
fill: none;
|
|
|
|
|
|
stroke: var(--w-off);
|
|
|
|
|
|
stroke-linejoin: round;
|
|
|
|
|
|
stroke-linecap: butt;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.wire.on .cable-sleeve {
|
|
|
|
|
|
stroke: color-mix(in srgb, var(--w-on) 55%, var(--w-off));
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.cable-core {
|
|
|
|
|
|
fill: none;
|
|
|
|
|
|
stroke: #10151c;
|
|
|
|
|
|
stroke-linejoin: round;
|
|
|
|
|
|
stroke-linecap: butt;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.lane {
|
|
|
|
|
|
--w-on: var(--on);
|
|
|
|
|
|
--w-off: #3b4554;
|
|
|
|
|
|
fill: none;
|
|
|
|
|
|
stroke: var(--w-off);
|
|
|
|
|
|
stroke-width: 1.3;
|
|
|
|
|
|
stroke-linejoin: round;
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.lane.on {
|
|
|
|
|
|
stroke: var(--w-on);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.lane.c-red { --w-on: #ff5c5c; --w-off: #6b3337; }
|
|
|
|
|
|
.lane.c-orange { --w-on: #ff9f43; --w-off: #6b4a2b; }
|
|
|
|
|
|
.lane.c-yellow { --w-on: #ffd93d; --w-off: #625a2e; }
|
A finer component boxes, a regrouped parts list with keyboard search, a real green for wires and cables
- Box designer: drag pins up or down to open gaps between groups; size (+/−) and turn (R) lamps, displays, screens and drawings; pixels belong to named screens, each placed on its own; displays of the components inside can be shown on the box (off unless ticked); a list of everything the box can show, each optional; the box grows to hold what it shows
- Lamps and displays deep inside placed components light up on the box
- Parts list: one search box for parts and components (letters in order match too), recently placed parts first, grouped Logic / Inputs / Outputs / Wiring / Notes, then components by group; groups fold away
- Keys: / searches the parts list (Enter starts placing), Shift+A or Ctrl+K adds a part at the mouse
- Wires and cables get a green; the default swatch shows grey, as the default really is
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-22 04:48:42 +00:00
|
|
|
|
.lane.c-green { --w-on: #3ddc84; --w-off: #2a5a3f; }
|
2026-10-21 08:39:54 +00:00
|
|
|
|
.lane.c-blue { --w-on: #4dabff; --w-off: #2b4a6b; }
|
|
|
|
|
|
.lane.c-purple { --w-on: #b388ff; --w-off: #463768; }
|
|
|
|
|
|
.lane.c-pink { --w-on: #ff7ac6; --w-off: #673657; }
|
2026-10-21 09:08:32 +00:00
|
|
|
|
|
2026-10-21 10:16:26 +00:00
|
|
|
|
/* Where the selection fits: green boxes over runs of free pins, and pins a dragged part lands on. */
|
|
|
|
|
|
.fit-strip {
|
|
|
|
|
|
fill: rgb(61 220 132 / 0.16);
|
|
|
|
|
|
stroke: rgb(61 220 132 / 0.75);
|
|
|
|
|
|
stroke-width: 1.5;
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.fit-strip.active {
|
|
|
|
|
|
fill: rgb(61 220 132 / 0.06);
|
|
|
|
|
|
stroke-dasharray: 3 3;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.fit-window {
|
|
|
|
|
|
fill: rgb(61 220 132 / 0.32);
|
|
|
|
|
|
stroke: var(--on);
|
|
|
|
|
|
stroke-width: 2;
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.fit-line {
|
|
|
|
|
|
fill: none;
|
|
|
|
|
|
stroke: var(--on);
|
|
|
|
|
|
stroke-width: 1.5;
|
|
|
|
|
|
stroke-dasharray: 4 4;
|
|
|
|
|
|
opacity: 0.85;
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.fit-pin {
|
|
|
|
|
|
fill: none;
|
|
|
|
|
|
stroke: var(--on);
|
|
|
|
|
|
stroke-width: 2;
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.drop-ring {
|
|
|
|
|
|
fill: rgb(61 220 132 / 0.25);
|
|
|
|
|
|
stroke: var(--on);
|
|
|
|
|
|
stroke-width: 2;
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
A right-click menu for parts, wires and the canvas, "Wire them all to" as cards, plugged latches in plain greys
- Right click (or the menu key) shows what can be done with what is under the pointer: one part (open, rename, change to, inputs, colour, speed, panels, unpack, plug and unplug, cable colour), several parts (wire them all to with live preview, connect one by one, switches, change all, arrange, keep only, make a component), wires (bundle, colour, whole signal, straighten, remove cable) or empty canvas (paste here, add a part here, select all, fit, tidy, undo); right drag still moves the view
- "Wire them all to": a card per part, each fit a strip of its pins, and which wire goes where for the fit pointed at
- Plugged cable ends no longer look selected: grey connector, steel clips
- Icons named in menus are bundled for the browser too
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 10:33:30 +00:00
|
|
|
|
/* "Wire them all to": a card per part, each fit a strip of the pins it takes. */
|
|
|
|
|
|
.fit-cards {
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
gap: 6px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.fit-card {
|
|
|
|
|
|
padding: 8px;
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
transition: border-color 120ms;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.fit-card.hot {
|
|
|
|
|
|
border-color: rgb(61 220 132 / 0.55);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.fit-card-head {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 6px;
|
|
|
|
|
|
margin-bottom: 7px;
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.fit-card-head .fit-icon {
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.fit-tag {
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.fit-choices {
|
2026-10-21 10:16:26 +00:00
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-wrap: wrap;
|
A right-click menu for parts, wires and the canvas, "Wire them all to" as cards, plugged latches in plain greys
- Right click (or the menu key) shows what can be done with what is under the pointer: one part (open, rename, change to, inputs, colour, speed, panels, unpack, plug and unplug, cable colour), several parts (wire them all to with live preview, connect one by one, switches, change all, arrange, keep only, make a component), wires (bundle, colour, whole signal, straighten, remove cable) or empty canvas (paste here, add a part here, select all, fit, tidy, undo); right drag still moves the view
- "Wire them all to": a card per part, each fit a strip of its pins, and which wire goes where for the fit pointed at
- Plugged cable ends no longer look selected: grey connector, steel clips
- Icons named in menus are bundled for the browser too
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 10:33:30 +00:00
|
|
|
|
gap: 5px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.fit-choice {
|
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
padding: 2px;
|
|
|
|
|
|
border: 1px solid #2f3a48;
|
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
|
background: #11161d;
|
|
|
|
|
|
gap: 2px;
|
|
|
|
|
|
transition: border-color 100ms, background 100ms;
|
2026-10-21 10:16:26 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
A right-click menu for parts, wires and the canvas, "Wire them all to" as cards, plugged latches in plain greys
- Right click (or the menu key) shows what can be done with what is under the pointer: one part (open, rename, change to, inputs, colour, speed, panels, unpack, plug and unplug, cable colour), several parts (wire them all to with live preview, connect one by one, switches, change all, arrange, keep only, make a component), wires (bundle, colour, whole signal, straighten, remove cable) or empty canvas (paste here, add a part here, select all, fit, tidy, undo); right drag still moves the view
- "Wire them all to": a card per part, each fit a strip of its pins, and which wire goes where for the fit pointed at
- Plugged cable ends no longer look selected: grey connector, steel clips
- Icons named in menus are bundled for the browser too
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 10:33:30 +00:00
|
|
|
|
.fit-choice:hover,
|
|
|
|
|
|
.fit-choice.active {
|
2026-10-21 10:16:26 +00:00
|
|
|
|
border-color: var(--on);
|
A right-click menu for parts, wires and the canvas, "Wire them all to" as cards, plugged latches in plain greys
- Right click (or the menu key) shows what can be done with what is under the pointer: one part (open, rename, change to, inputs, colour, speed, panels, unpack, plug and unplug, cable colour), several parts (wire them all to with live preview, connect one by one, switches, change all, arrange, keep only, make a component), wires (bundle, colour, whole signal, straighten, remove cable) or empty canvas (paste here, add a part here, select all, fit, tidy, undo); right drag still moves the view
- "Wire them all to": a card per part, each fit a strip of its pins, and which wire goes where for the fit pointed at
- Plugged cable ends no longer look selected: grey connector, steel clips
- Icons named in menus are bundled for the browser too
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 10:33:30 +00:00
|
|
|
|
background: rgb(61 220 132 / 0.12);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.fit-pill {
|
|
|
|
|
|
min-width: 22px;
|
|
|
|
|
|
padding: 1px 5px;
|
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
background: #1f2732;
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
|
line-height: 17px;
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.fit-choice:hover .fit-pill,
|
|
|
|
|
|
.fit-choice.active .fit-pill {
|
|
|
|
|
|
background: rgb(61 220 132 / 0.22);
|
|
|
|
|
|
color: #d9ffe9;
|
2026-10-21 10:16:26 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
A right-click menu for parts, wires and the canvas, "Wire them all to" as cards, plugged latches in plain greys
- Right click (or the menu key) shows what can be done with what is under the pointer: one part (open, rename, change to, inputs, colour, speed, panels, unpack, plug and unplug, cable colour), several parts (wire them all to with live preview, connect one by one, switches, change all, arrange, keep only, make a component), wires (bundle, colour, whole signal, straighten, remove cable) or empty canvas (paste here, add a part here, select all, fit, tidy, undo); right drag still moves the view
- "Wire them all to": a card per part, each fit a strip of its pins, and which wire goes where for the fit pointed at
- Plugged cable ends no longer look selected: grey connector, steel clips
- Icons named in menus are bundled for the browser too
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 10:33:30 +00:00
|
|
|
|
.fit-map {
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
|
|
|
|
|
|
gap: 3px 10px;
|
|
|
|
|
|
margin-top: 8px;
|
|
|
|
|
|
padding: 6px 8px;
|
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
|
background: var(--bg);
|
2026-10-21 10:16:26 +00:00
|
|
|
|
color: var(--muted);
|
A right-click menu for parts, wires and the canvas, "Wire them all to" as cards, plugged latches in plain greys
- Right click (or the menu key) shows what can be done with what is under the pointer: one part (open, rename, change to, inputs, colour, speed, panels, unpack, plug and unplug, cable colour), several parts (wire them all to with live preview, connect one by one, switches, change all, arrange, keep only, make a component), wires (bundle, colour, whole signal, straighten, remove cable) or empty canvas (paste here, add a part here, select all, fit, tidy, undo); right drag still moves the view
- "Wire them all to": a card per part, each fit a strip of its pins, and which wire goes where for the fit pointed at
- Plugged cable ends no longer look selected: grey connector, steel clips
- Icons named in menus are bundled for the browser too
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 10:33:30 +00:00
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.fit-map.live {
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.fit-pair {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 4px;
|
|
|
|
|
|
min-width: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.fit-pair span {
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.fit-pair .fit-arrow {
|
|
|
|
|
|
flex: 0 0 auto;
|
|
|
|
|
|
color: var(--on);
|
2026-10-21 10:16:26 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-21 09:08:32 +00:00
|
|
|
|
.box-select.crossing {
|
|
|
|
|
|
fill: rgb(61 220 132 / 0.08);
|
|
|
|
|
|
stroke: var(--on);
|
|
|
|
|
|
}
|
A right-click menu for parts, wires and the canvas, "Wire them all to" as cards, plugged latches in plain greys
- Right click (or the menu key) shows what can be done with what is under the pointer: one part (open, rename, change to, inputs, colour, speed, panels, unpack, plug and unplug, cable colour), several parts (wire them all to with live preview, connect one by one, switches, change all, arrange, keep only, make a component), wires (bundle, colour, whole signal, straighten, remove cable) or empty canvas (paste here, add a part here, select all, fit, tidy, undo); right drag still moves the view
- "Wire them all to": a card per part, each fit a strip of its pins, and which wire goes where for the fit pointed at
- Plugged cable ends no longer look selected: grey connector, steel clips
- Icons named in menus are bundled for the browser too
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 10:33:30 +00:00
|
|
|
|
|
|
|
|
|
|
/* ── Context menu ───────────────────────────────────────────────── */
|
|
|
|
|
|
.ctx {
|
|
|
|
|
|
position: fixed;
|
|
|
|
|
|
z-index: 60;
|
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.ctx-list {
|
|
|
|
|
|
min-width: 220px;
|
|
|
|
|
|
max-width: 320px;
|
|
|
|
|
|
padding: 5px;
|
|
|
|
|
|
border: 1px solid #2d3745;
|
|
|
|
|
|
border-radius: 10px;
|
|
|
|
|
|
background: rgb(22 28 36 / 0.97);
|
|
|
|
|
|
backdrop-filter: blur(8px);
|
|
|
|
|
|
box-shadow: 0 12px 32px rgb(0 0 0 / 0.45), 0 2px 6px rgb(0 0 0 / 0.3);
|
|
|
|
|
|
animation: ctx-in 90ms ease-out;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@keyframes ctx-in {
|
|
|
|
|
|
from { opacity: 0; transform: translateY(-3px) scale(0.98); }
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.ctx-head {
|
|
|
|
|
|
padding: 5px 9px 4px;
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
letter-spacing: 0.04em;
|
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.ctx-sep {
|
|
|
|
|
|
height: 1px;
|
|
|
|
|
|
margin: 4px 6px;
|
|
|
|
|
|
background: var(--border);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.ctx-li {
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.ctx-item {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 9px;
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
min-height: 30px;
|
|
|
|
|
|
padding: 0 9px;
|
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
text-align: left;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.ctx-item:hover:not(:disabled),
|
|
|
|
|
|
.ctx-item:focus-visible,
|
|
|
|
|
|
.ctx-li.open > .ctx-item {
|
|
|
|
|
|
background: #232c38;
|
|
|
|
|
|
outline: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.ctx-item:disabled {
|
|
|
|
|
|
color: #566273;
|
|
|
|
|
|
cursor: default;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.ctx-item.danger {
|
|
|
|
|
|
color: #ff8787;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.ctx-item.danger:hover {
|
|
|
|
|
|
background: rgb(255 107 107 / 0.12);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.ctx-icon {
|
|
|
|
|
|
flex: 0 0 16px;
|
|
|
|
|
|
width: 16px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.ctx-icon.checked {
|
|
|
|
|
|
color: var(--on);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.ctx-label {
|
|
|
|
|
|
flex: 1 1 auto;
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.ctx-note {
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.ctx-keys {
|
|
|
|
|
|
color: #6b778a;
|
|
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.ctx-chevron {
|
|
|
|
|
|
margin-right: -3px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.ctx-sub {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
top: -6px;
|
|
|
|
|
|
left: calc(100% + 2px);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.ctx-sub.flip {
|
|
|
|
|
|
right: calc(100% + 2px);
|
|
|
|
|
|
left: auto;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.ctx-sub > .ctx-list {
|
|
|
|
|
|
max-height: 60vh;
|
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.ctx-swatches {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 6px;
|
|
|
|
|
|
min-height: 30px;
|
|
|
|
|
|
padding: 0 9px 0 34px;
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.ctx-dot {
|
|
|
|
|
|
width: 16px;
|
|
|
|
|
|
height: 16px;
|
|
|
|
|
|
border: 2px solid #161c24;
|
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
outline: 1px solid #3a4554;
|
|
|
|
|
|
transition: transform 80ms;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.ctx-dot:hover {
|
|
|
|
|
|
transform: scale(1.18);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.ctx-dot.active {
|
|
|
|
|
|
outline: 2px solid var(--text);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.ctx-input {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 9px;
|
|
|
|
|
|
padding: 3px 5px 3px 9px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.ctx-input input {
|
|
|
|
|
|
flex: 1;
|
|
|
|
|
|
min-width: 0;
|
|
|
|
|
|
height: 26px;
|
|
|
|
|
|
padding: 0 8px;
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
|
background: var(--bg);
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.ctx-input input:focus {
|
|
|
|
|
|
border-color: var(--accent);
|
|
|
|
|
|
outline: none;
|
|
|
|
|
|
}
|
A Loxone-style working aids: named signals, inverted inputs, a project check, values on cables, search, printable sheets; wire ends move by dragging
- Send signal / Use signal: name a signal (CLK, RESET) once and use it anywhere in the circuit without a wire; selecting one lights up all of them, a use with no sender shows dashed
- Inverted inputs: Alt + click an input (or the menu/settings) puts a bubble on it; it reads the signal inverted through one NAND, counted in every transistor total
- Check (Circuit tab): open inputs, parts that drive nothing, duplicate pin names, unsent or doubly sent signals, loops that never settle; click one to show it. Open inputs get an orange marker on the canvas. Components no other circuit uses are listed with a delete
- Cables show the number they carry (= 13 · 0x0D); hovering a wire tells where it runs and its value
- Ctrl+F finds parts, signals, panel rows, notes and components in every circuit, with where each component is used
- Ctrl+P prints the circuit as a sheet with a title block on white paper (or save as PDF); also as an SVG file
- + and − under a selected gate change its number of inputs; swaps keep bubbles in place
- Drag a wire by its end to move that end to another pin; drop a dragged wire on another wire to tap its signal or feed what it fed
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 11:26:59 +00:00
|
|
|
|
|
|
|
|
|
|
/* ── Search (Ctrl+F) ────────────────────────────────────────────── */
|
|
|
|
|
|
.search-backdrop {
|
|
|
|
|
|
align-items: start;
|
|
|
|
|
|
padding-top: 12vh;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.modal.search-modal {
|
|
|
|
|
|
width: min(600px, 100%);
|
|
|
|
|
|
padding: 0;
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.search-field {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 10px;
|
|
|
|
|
|
padding: 12px 14px;
|
|
|
|
|
|
border-bottom: 1px solid var(--border);
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.search-field input {
|
|
|
|
|
|
flex: 1;
|
|
|
|
|
|
min-width: 0;
|
|
|
|
|
|
border: 0;
|
|
|
|
|
|
background: transparent;
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
font-size: 15px;
|
|
|
|
|
|
outline: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.search-empty {
|
|
|
|
|
|
padding: 14px 16px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.search-results {
|
|
|
|
|
|
max-height: 60vh;
|
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
|
padding: 4px 6px 10px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.search-results h3 {
|
|
|
|
|
|
margin: 10px 8px 4px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.search-hit {
|
|
|
|
|
|
display: block;
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.search-hit.active {
|
|
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.search-main {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 9px;
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
min-height: 32px;
|
|
|
|
|
|
padding: 0 10px;
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
|
text-align: left;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.search-main .iconify,
|
|
|
|
|
|
.search-main > svg {
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.search-where {
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.search-uses {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
gap: 4px;
|
|
|
|
|
|
padding: 0 10px 8px 35px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.search-results .muted {
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
BF input panels are component inputs, cable ends plug in more reliably; A merge panels, hex pass-through, design a component's box
- Inside a component, the switch and button rows of its input panels are now input pins (in order with the other inputs, named after the rows); "Rows are component inputs" can be turned off per panel to keep the old fixed switches
- Select input panels, Merge: one panel with all rows, spacing and wires kept; circuits that place this one keep their wires
- Cable ends plug in more often: bundling orders the wires by the part a side runs to, an end with only some wires on a part still plugs, an end placed by hand next to the pins plugs, and dragging an end near its part shows green rings and plugs it on drop
- Hex displays pass their four bits on (outputs on the right), so they can sit in the middle of a bus
- Design the box: move lamps, displays, the screen and the name on a component's box, draw lines, boxes, circles and text in six colours, size it, leave things off; every placed copy shows it
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 11:49:29 +00:00
|
|
|
|
|
A public library of components: publish yours, add everybody's
"Publish to the library…" in the menu on a circuit's name (or Space)
sends the component with every component it uses and their connector
types, under your leaderboard name. The server checks it like any
project, refuses what is missing, inside itself, nested too deep or too
big to run, and counts its transistors and pins itself. Publishing again
from the same browser makes the next version of the same entry; only that
browser holds the entry's key, so only it can update or remove it.
Challenge circuits and puzzle solutions stay private.
The Library (Components in the bottom bar, Space, the main menu) lists
every entry, newest first, searchable by name, description and author,
with a picture of its box, its transistors, pins and what comes along.
Add brings an entry into the open project and starts placing it: what the
project has in exactly that form already is used as it is, the rest comes
with new ids, a taken name gets a number, connector types join one with
the same lines. The This panel says where a component came from and
offers a newer version, which replaces it in place. A campaign only adds
what is built from parts it has earned, and its challenges take nothing
from the library.
Components keep an optional "from" mark; projects without it load and
compute as before.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 17:14:46 +00:00
|
|
|
|
/* ── Library: components everyone published ─────────────────────── */
|
|
|
|
|
|
.modal.library-modal {
|
|
|
|
|
|
width: min(720px, 100%);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.library-modal .search.part-search {
|
|
|
|
|
|
margin: 12px 0 4px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.lib-list {
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
gap: 6px;
|
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.lib-entry {
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
grid-template-columns: 56px minmax(0, 1fr) auto;
|
|
|
|
|
|
gap: 12px;
|
|
|
|
|
|
align-items: start;
|
|
|
|
|
|
padding: 10px;
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.lib-thumb {
|
|
|
|
|
|
width: 56px;
|
|
|
|
|
|
height: 56px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.lib-thumb rect {
|
|
|
|
|
|
fill: var(--chip);
|
|
|
|
|
|
stroke: var(--chip-stroke);
|
|
|
|
|
|
stroke-width: 0.12;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.lib-thumb line {
|
|
|
|
|
|
stroke: var(--chip-stroke);
|
|
|
|
|
|
stroke-width: 0.12;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.lib-title {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: baseline;
|
|
|
|
|
|
min-width: 0;
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.lib-by,
|
|
|
|
|
|
.lib-stats {
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.lib-desc {
|
|
|
|
|
|
display: -webkit-box;
|
|
|
|
|
|
margin-top: 4px;
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
font-size: 12.5px;
|
|
|
|
|
|
line-height: 1.45;
|
|
|
|
|
|
color: #c3ccd6;
|
|
|
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.lib-stats {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
gap: 4px 12px;
|
|
|
|
|
|
margin-top: 6px;
|
|
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.lib-actions {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
align-items: stretch;
|
|
|
|
|
|
gap: 6px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@media (max-width: 560px) {
|
|
|
|
|
|
.lib-entry {
|
|
|
|
|
|
grid-template-columns: 40px minmax(0, 1fr);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.lib-thumb {
|
|
|
|
|
|
width: 40px;
|
|
|
|
|
|
height: 40px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.lib-actions {
|
|
|
|
|
|
grid-column: 1 / -1;
|
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* A component from the library, in the This panel. */
|
|
|
|
|
|
.lib-origin {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 6px;
|
|
|
|
|
|
margin: -6px 0 12px;
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
BF input panels are component inputs, cable ends plug in more reliably; A merge panels, hex pass-through, design a component's box
- Inside a component, the switch and button rows of its input panels are now input pins (in order with the other inputs, named after the rows); "Rows are component inputs" can be turned off per panel to keep the old fixed switches
- Select input panels, Merge: one panel with all rows, spacing and wires kept; circuits that place this one keep their wires
- Cable ends plug in more often: bundling orders the wires by the part a side runs to, an end with only some wires on a part still plugs, an end placed by hand next to the pins plugs, and dragging an end near its part shows green rings and plugs it on drop
- Hex displays pass their four bits on (outputs on the right), so they can sit in the middle of a bus
- Design the box: move lamps, displays, the screen and the name on a component's box, draw lines, boxes, circles and text in six colours, size it, leave things off; every placed copy shows it
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 11:49:29 +00:00
|
|
|
|
/* ── Face designer ──────────────────────────────────────────────── */
|
|
|
|
|
|
.modal.face-modal {
|
A finer component boxes, a regrouped parts list with keyboard search, a real green for wires and cables
- Box designer: drag pins up or down to open gaps between groups; size (+/−) and turn (R) lamps, displays, screens and drawings; pixels belong to named screens, each placed on its own; displays of the components inside can be shown on the box (off unless ticked); a list of everything the box can show, each optional; the box grows to hold what it shows
- Lamps and displays deep inside placed components light up on the box
- Parts list: one search box for parts and components (letters in order match too), recently placed parts first, grouped Logic / Inputs / Outputs / Wiring / Notes, then components by group; groups fold away
- Keys: / searches the parts list (Enter starts placing), Shift+A or Ctrl+K adds a part at the mouse
- Wires and cables get a green; the default swatch shows grey, as the default really is
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-22 04:48:42 +00:00
|
|
|
|
width: min(900px, 100%);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.face-body {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
gap: 12px;
|
|
|
|
|
|
align-items: flex-start;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.face-side {
|
|
|
|
|
|
flex: 1 1 200px;
|
|
|
|
|
|
min-width: 0;
|
|
|
|
|
|
max-height: 440px;
|
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.face-side h3 {
|
|
|
|
|
|
margin: 0 0 6px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.face-side h3 + * {
|
|
|
|
|
|
margin-bottom: 4px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.face-side .hint {
|
|
|
|
|
|
margin: 0 0 6px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.face-list {
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
gap: 1px;
|
|
|
|
|
|
margin-bottom: 12px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.face-list li {
|
|
|
|
|
|
padding: 2px 4px;
|
|
|
|
|
|
border-radius: 5px;
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.face-list li.sel {
|
|
|
|
|
|
background: rgb(76 194 255 / 0.12);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.face-list .check {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 6px;
|
|
|
|
|
|
min-width: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.face-thing.face-pinbox {
|
|
|
|
|
|
stroke: transparent;
|
|
|
|
|
|
cursor: ns-resize;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.face-thing.face-pinbox:hover,
|
|
|
|
|
|
.face-thing.face-pinbox.sel {
|
|
|
|
|
|
stroke: rgb(76 194 255 / 0.7);
|
BF input panels are component inputs, cable ends plug in more reliably; A merge panels, hex pass-through, design a component's box
- Inside a component, the switch and button rows of its input panels are now input pins (in order with the other inputs, named after the rows); "Rows are component inputs" can be turned off per panel to keep the old fixed switches
- Select input panels, Merge: one panel with all rows, spacing and wires kept; circuits that place this one keep their wires
- Cable ends plug in more often: bundling orders the wires by the part a side runs to, an end with only some wires on a part still plugs, an end placed by hand next to the pins plugs, and dragging an end near its part shows green rings and plugs it on drop
- Hex displays pass their four bits on (outputs on the right), so they can sit in the middle of a bus
- Design the box: move lamps, displays, the screen and the name on a component's box, draw lines, boxes, circles and text in six colours, size it, leave things off; every placed copy shows it
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 11:49:29 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.face-tools {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 10px;
|
|
|
|
|
|
margin: 14px 0 10px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.face-tools .seg button {
|
|
|
|
|
|
padding: 0 9px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.face-inks {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
gap: 5px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.face-size {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 5px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.face-size input {
|
|
|
|
|
|
width: 56px;
|
|
|
|
|
|
height: 26px;
|
|
|
|
|
|
padding: 0 6px;
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
|
background: var(--bg);
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.btn-sm.on {
|
|
|
|
|
|
border-color: var(--accent);
|
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.face-canvas {
|
|
|
|
|
|
display: block;
|
|
|
|
|
|
user-select: none;
|
|
|
|
|
|
-webkit-user-select: none;
|
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
|
background: var(--bg);
|
|
|
|
|
|
touch-action: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.face-canvas.drawing {
|
|
|
|
|
|
cursor: crosshair;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.face-thing {
|
|
|
|
|
|
fill: transparent;
|
|
|
|
|
|
stroke: rgb(76 194 255 / 0.25);
|
|
|
|
|
|
stroke-dasharray: 3 3;
|
|
|
|
|
|
cursor: move;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.face-thing.shape {
|
|
|
|
|
|
stroke: transparent;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.face-thing:hover,
|
|
|
|
|
|
.face-thing.shape:hover {
|
|
|
|
|
|
stroke: rgb(76 194 255 / 0.6);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.face-thing.sel,
|
|
|
|
|
|
.face-thing.shape.sel {
|
|
|
|
|
|
stroke: var(--accent);
|
|
|
|
|
|
stroke-dasharray: none;
|
|
|
|
|
|
stroke-width: 1.5;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.face-canvas.drawing .face-thing,
|
|
|
|
|
|
.face-canvas.drawing .face-hit {
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.face-hit {
|
|
|
|
|
|
stroke: transparent;
|
|
|
|
|
|
stroke-width: 9;
|
|
|
|
|
|
stroke-linecap: round;
|
|
|
|
|
|
cursor: move;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.face-hit:hover {
|
|
|
|
|
|
stroke: rgb(76 194 255 / 0.3);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.face-hit.sel {
|
|
|
|
|
|
stroke: rgb(76 194 255 / 0.45);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.face-grip {
|
|
|
|
|
|
fill: var(--bg);
|
|
|
|
|
|
stroke: var(--accent);
|
|
|
|
|
|
stroke-width: 1.5;
|
|
|
|
|
|
cursor: nwse-resize;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.face-props,
|
|
|
|
|
|
.face-hidden {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 8px;
|
|
|
|
|
|
min-height: 34px;
|
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.face-props .text-input {
|
|
|
|
|
|
flex: 1;
|
|
|
|
|
|
min-width: 120px;
|
|
|
|
|
|
}
|
2026-10-21 12:21:40 +00:00
|
|
|
|
|
|
|
|
|
|
/* A new release is out: offer a reload. */
|
|
|
|
|
|
.update-bar {
|
|
|
|
|
|
position: fixed;
|
|
|
|
|
|
top: 56px;
|
|
|
|
|
|
left: 50%;
|
|
|
|
|
|
z-index: 65;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 10px;
|
|
|
|
|
|
padding: 7px 8px 7px 14px;
|
|
|
|
|
|
transform: translateX(-50%);
|
|
|
|
|
|
border: 1px solid rgb(76 194 255 / 0.5);
|
|
|
|
|
|
border-radius: 10px;
|
|
|
|
|
|
background: #142231;
|
|
|
|
|
|
box-shadow: 0 10px 30px rgb(0 0 0 / 0.4);
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.update-bar .btn-sm {
|
|
|
|
|
|
border-color: var(--accent);
|
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
|
}
|
A finer component boxes, a regrouped parts list with keyboard search, a real green for wires and cables
- Box designer: drag pins up or down to open gaps between groups; size (+/−) and turn (R) lamps, displays, screens and drawings; pixels belong to named screens, each placed on its own; displays of the components inside can be shown on the box (off unless ticked); a list of everything the box can show, each optional; the box grows to hold what it shows
- Lamps and displays deep inside placed components light up on the box
- Parts list: one search box for parts and components (letters in order match too), recently placed parts first, grouped Logic / Inputs / Outputs / Wiring / Notes, then components by group; groups fold away
- Keys: / searches the parts list (Enter starts placing), Shift+A or Ctrl+K adds a part at the mouse
- Wires and cables get a green; the default swatch shows grey, as the default really is
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-22 04:48:42 +00:00
|
|
|
|
|
|
|
|
|
|
/* ── Quick add (Shift+A, Ctrl+K) ────────────────────────────────── */
|
|
|
|
|
|
.quick-add {
|
|
|
|
|
|
position: fixed;
|
|
|
|
|
|
z-index: 60;
|
R bars and panels fit small windows, Main always in reach; A Space search opens components
The top and bottom bars keep their steady centred width on wide windows,
but never get narrower than 760px as far as the panels leave room, and
move off the centre rather than under a panel. On a narrow bar the words
go first, the names between Main and the open component fold into "…"
(a menu back to each), and sound, settings and help, then undo, redo and
share, then challenges and search move into a "⋯" menu. Main keeps its
house at every width; before, the rule that hid its label hid the icons
too, and on a squeezed bar the crumbs, Main with them, were cut off.
From 821 to 1100px the selection's panel floats over the canvas edge
between the bars instead of narrowing the canvas. The zoom buttons sit
above the parts bar where it reaches them. The challenges drop-down, the
flyouts and the search box stay on screen.
In the Space search, Shift+Enter (or Ctrl+Enter, or the pencil on a
component's line) opens the component to edit it instead of placing it,
and typing a name lists "Open <name>" for every circuit of the project,
also those that cannot be placed here; the one you are in shows as where
you are. A circuit on the way here is reached by going back along it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 17:10:54 +00:00
|
|
|
|
width: min(340px, calc(100vw - 16px));
|
A finer component boxes, a regrouped parts list with keyboard search, a real green for wires and cables
- Box designer: drag pins up or down to open gaps between groups; size (+/−) and turn (R) lamps, displays, screens and drawings; pixels belong to named screens, each placed on its own; displays of the components inside can be shown on the box (off unless ticked); a list of everything the box can show, each optional; the box grows to hold what it shows
- Lamps and displays deep inside placed components light up on the box
- Parts list: one search box for parts and components (letters in order match too), recently placed parts first, grouped Logic / Inputs / Outputs / Wiring / Notes, then components by group; groups fold away
- Keys: / searches the parts list (Enter starts placing), Shift+A or Ctrl+K adds a part at the mouse
- Wires and cables get a green; the default swatch shows grey, as the default really is
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-22 04:48:42 +00:00
|
|
|
|
padding-bottom: 6px;
|
|
|
|
|
|
border: 1px solid #2d3745;
|
|
|
|
|
|
border-radius: 10px;
|
|
|
|
|
|
background: rgb(22 28 36 / 0.97);
|
|
|
|
|
|
box-shadow: 0 12px 32px rgb(0 0 0 / 0.45);
|
|
|
|
|
|
animation: ctx-in 90ms ease-out;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.quick-add .item {
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
}
|
A main menu: free play, campaign, challenges and leaderboard over a circuit that builds itself
Logigate opens on a title screen. Continue, Free play (your own projects),
Campaign (progress and what is next), Challenges (every challenge and the
puzzle of the week in one Challenges project), Leaderboard (the best ten of
this and earlier weeks, your place, your records), Settings. Arrow keys,
Enter and Esc work through it; links still open straight into the editor.
Players can name themselves on the leaderboards. The logo in the editor
leads back to the menu.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-22 10:22:35 +00:00
|
|
|
|
|
2026-10-23 10:43:08 +00:00
|
|
|
|
.quick-list {
|
|
|
|
|
|
max-height: min(420px, 60vh);
|
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
|
scrollbar-width: thin;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.quick-head {
|
|
|
|
|
|
padding: 8px 12px 2px;
|
|
|
|
|
|
font-size: 10px;
|
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
|
letter-spacing: 0.07em;
|
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.quick-add kbd {
|
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
R bars and panels fit small windows, Main always in reach; A Space search opens components
The top and bottom bars keep their steady centred width on wide windows,
but never get narrower than 760px as far as the panels leave room, and
move off the centre rather than under a panel. On a narrow bar the words
go first, the names between Main and the open component fold into "…"
(a menu back to each), and sound, settings and help, then undo, redo and
share, then challenges and search move into a "⋯" menu. Main keeps its
house at every width; before, the rule that hid its label hid the icons
too, and on a squeezed bar the crumbs, Main with them, were cut off.
From 821 to 1100px the selection's panel floats over the canvas edge
between the bars instead of narrowing the canvas. The zoom buttons sit
above the parts bar where it reaches them. The challenges drop-down, the
flyouts and the search box stay on screen.
In the Space search, Shift+Enter (or Ctrl+Enter, or the pencil on a
component's line) opens the component to edit it instead of placing it,
and typing a name lists "Open <name>" for every circuit of the project,
also those that cannot be placed here; the one you are in shows as where
you are. A circuit on the way here is reached by going back along it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 17:10:54 +00:00
|
|
|
|
/* The circuit you are in: listed, not offered. */
|
|
|
|
|
|
.quick-add .item:disabled {
|
|
|
|
|
|
background: none;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
cursor: default;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* The pencil that opens a component shows on the row pointed at or chosen with the arrows. */
|
|
|
|
|
|
.quick-add .comp-row:has(.item.active) .open {
|
|
|
|
|
|
opacity: 1;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.quick-foot {
|
|
|
|
|
|
margin-top: 4px;
|
|
|
|
|
|
padding: 6px 12px 0;
|
|
|
|
|
|
border-top: 1px solid var(--border);
|
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
A main menu: free play, campaign, challenges and leaderboard over a circuit that builds itself
Logigate opens on a title screen. Continue, Free play (your own projects),
Campaign (progress and what is next), Challenges (every challenge and the
puzzle of the week in one Challenges project), Leaderboard (the best ten of
this and earlier weeks, your place, your records), Settings. Arrow keys,
Enter and Esc work through it; links still open straight into the editor.
Players can name themselves on the leaderboards. The logo in the editor
leads back to the menu.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-22 10:22:35 +00:00
|
|
|
|
/* ── Title screen ───────────────────────────────────────────────── */
|
|
|
|
|
|
.brand {
|
|
|
|
|
|
padding: 4px 8px 4px 4px;
|
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.brand:hover {
|
|
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.title-screen {
|
|
|
|
|
|
position: fixed;
|
|
|
|
|
|
inset: 0;
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
background: #0b0f14;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.menu-bg {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
inset: 0;
|
|
|
|
|
|
display: block;
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.title-shade {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
inset: 0;
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
background:
|
|
|
|
|
|
radial-gradient(ellipse at 65% 50%, transparent 35%, rgb(5 8 12 / 0.7) 100%),
|
|
|
|
|
|
linear-gradient(90deg, rgb(8 11 16 / 0.94) 0%, rgb(8 11 16 / 0.72) 32%, rgb(8 11 16 / 0) 62%);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.title-layout {
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
gap: 40px;
|
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
padding: clamp(24px, 7vh, 80px) clamp(16px, 6vw, 96px);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.title-side {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
width: min(380px, 100%);
|
|
|
|
|
|
min-height: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.title-logo {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 14px;
|
|
|
|
|
|
color: var(--on);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.title-logo svg {
|
|
|
|
|
|
width: 52px;
|
|
|
|
|
|
height: 52px;
|
|
|
|
|
|
filter: drop-shadow(0 0 12px rgb(61 220 132 / 0.5));
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.title-logo h1 {
|
|
|
|
|
|
font-size: clamp(38px, 5vw, 56px);
|
|
|
|
|
|
font-weight: 800;
|
|
|
|
|
|
line-height: 1;
|
|
|
|
|
|
letter-spacing: -0.03em;
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.title-tag {
|
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
|
font-size: 15px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.title-nav {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
gap: 4px;
|
|
|
|
|
|
margin-top: clamp(24px, 6vh, 56px);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.title-item {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 14px;
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
padding: 11px 16px;
|
|
|
|
|
|
border: 1px solid transparent;
|
|
|
|
|
|
border-radius: 10px;
|
|
|
|
|
|
text-align: left;
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
transition:
|
|
|
|
|
|
background 0.15s,
|
|
|
|
|
|
border-color 0.15s;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.title-item .label {
|
|
|
|
|
|
display: block;
|
|
|
|
|
|
font-size: 17px;
|
|
|
|
|
|
font-weight: 650;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.title-item .sub {
|
|
|
|
|
|
display: block;
|
|
|
|
|
|
margin-top: 1px;
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.title-item .chev {
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
opacity: 0;
|
|
|
|
|
|
transition:
|
|
|
|
|
|
opacity 0.15s,
|
|
|
|
|
|
transform 0.15s;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.title-item:hover,
|
|
|
|
|
|
.title-item:focus-visible,
|
|
|
|
|
|
.title-item.active {
|
|
|
|
|
|
background: rgb(26 33 43 / 0.85);
|
|
|
|
|
|
border-color: var(--border);
|
|
|
|
|
|
outline: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.title-item:focus-visible {
|
|
|
|
|
|
border-color: var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.title-item:hover .chev,
|
|
|
|
|
|
.title-item:focus-visible .chev,
|
|
|
|
|
|
.title-item.active .chev {
|
|
|
|
|
|
opacity: 1;
|
|
|
|
|
|
transform: translateX(3px);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.title-item.active {
|
|
|
|
|
|
box-shadow: inset 3px 0 0 var(--on);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.title-item.primary > svg {
|
|
|
|
|
|
color: var(--on);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.title-foot {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
align-items: flex-start;
|
|
|
|
|
|
gap: 2px;
|
|
|
|
|
|
margin-top: auto;
|
|
|
|
|
|
padding-top: 20px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.title-link {
|
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 8px;
|
|
|
|
|
|
padding: 4px 0;
|
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.title-link:hover {
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.title-page {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
flex: 1;
|
|
|
|
|
|
min-width: 0;
|
|
|
|
|
|
max-width: 780px;
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
background: rgb(19 24 31 / 0.9);
|
|
|
|
|
|
backdrop-filter: blur(8px);
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: 14px;
|
|
|
|
|
|
box-shadow: 0 30px 80px rgb(0 0 0 / 0.5);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.title-page > header {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 8px;
|
|
|
|
|
|
padding: 12px 16px;
|
|
|
|
|
|
border-bottom: 1px solid var(--border);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.title-page h2 {
|
|
|
|
|
|
font-size: 20px;
|
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
|
letter-spacing: -0.01em;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.title-page h3 {
|
|
|
|
|
|
margin: 18px 0 8px;
|
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
|
letter-spacing: 0.06em;
|
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.title-page-body {
|
|
|
|
|
|
flex: 1;
|
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
|
padding: 16px 22px 24px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.title-page-enter-active,
|
|
|
|
|
|
.title-page-leave-active {
|
|
|
|
|
|
transition:
|
|
|
|
|
|
opacity 0.18s,
|
|
|
|
|
|
transform 0.18s;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.title-page-enter-from,
|
|
|
|
|
|
.title-page-leave-to {
|
|
|
|
|
|
opacity: 0;
|
|
|
|
|
|
transform: translateX(16px);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@media (max-width: 860px) {
|
|
|
|
|
|
.title-layout.open .title-side {
|
|
|
|
|
|
display: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.title-page {
|
|
|
|
|
|
max-width: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
|
|
.title-page-enter-active,
|
|
|
|
|
|
.title-page-leave-active {
|
|
|
|
|
|
transition: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.menu-card {
|
|
|
|
|
|
margin-top: 12px;
|
|
|
|
|
|
padding: 14px 16px;
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: 10px;
|
|
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.menu-card p {
|
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
|
line-height: 1.45;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.menu-card p strong {
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.weekly-card {
|
|
|
|
|
|
margin-top: 0;
|
|
|
|
|
|
border-color: rgb(76 194 255 / 0.35);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.menu-steps {
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
gap: 2px;
|
|
|
|
|
|
margin-top: 14px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.menu-steps li {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 10px;
|
|
|
|
|
|
padding: 7px 10px;
|
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.menu-steps li > svg {
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.menu-steps li.solved > svg {
|
|
|
|
|
|
color: var(--on);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.menu-steps li.locked {
|
|
|
|
|
|
opacity: 0.5;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.menu-steps li.next {
|
|
|
|
|
|
background: rgb(61 220 132 / 0.08);
|
|
|
|
|
|
box-shadow: inset 0 0 0 1px rgb(61 220 132 / 0.3);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.menu-steps .unlocks {
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.menu-grid {
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
|
|
|
|
|
|
gap: 8px;
|
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.menu-tile {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
gap: 6px;
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
padding: 12px 14px;
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: 10px;
|
|
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
text-align: left;
|
|
|
|
|
|
transition:
|
|
|
|
|
|
border-color 0.15s,
|
|
|
|
|
|
transform 0.15s;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.menu-tile:hover,
|
|
|
|
|
|
.menu-tile:focus-visible {
|
|
|
|
|
|
border-color: var(--accent);
|
|
|
|
|
|
outline: none;
|
|
|
|
|
|
transform: translateY(-1px);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.menu-grid li.solved .menu-tile {
|
|
|
|
|
|
border-color: rgb(61 220 132 / 0.3);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.menu-tile .goal {
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
line-height: 1.4;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.menu-tile .pins {
|
|
|
|
|
|
margin-top: auto;
|
|
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.menu-board .name-row {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: flex-end;
|
|
|
|
|
|
gap: 8px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.board-tabs {
|
|
|
|
|
|
margin-top: 16px;
|
|
|
|
|
|
overflow-x: auto;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.board-tabs button {
|
|
|
|
|
|
flex: none;
|
|
|
|
|
|
padding: 0 12px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
table.board {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
margin-top: 12px;
|
|
|
|
|
|
border-collapse: collapse;
|
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.board th {
|
|
|
|
|
|
padding: 6px 8px;
|
|
|
|
|
|
border-bottom: 1px solid var(--border);
|
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
text-align: left;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.board td {
|
|
|
|
|
|
padding: 7px 8px;
|
|
|
|
|
|
border-bottom: 1px solid rgb(37 46 58 / 0.5);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.board .num {
|
|
|
|
|
|
text-align: right;
|
|
|
|
|
|
font-variant-numeric: tabular-nums;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.board .rank {
|
|
|
|
|
|
width: 32px;
|
|
|
|
|
|
font-variant-numeric: tabular-nums;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.board tbody tr:first-child .rank {
|
|
|
|
|
|
color: var(--lamp);
|
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.board tr.you td {
|
|
|
|
|
|
background: rgb(61 220 132 / 0.08);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.board tr.gap td {
|
|
|
|
|
|
border-top: 2px dashed var(--border);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.you-tag {
|
|
|
|
|
|
margin-left: 8px;
|
|
|
|
|
|
font-size: 10px;
|
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
|
letter-spacing: 0.05em;
|
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
|
color: var(--on);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.records {
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
gap: 2px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.records li {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
padding: 6px 10px;
|
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.records li:nth-child(odd) {
|
|
|
|
|
|
background: rgb(26 33 43 / 0.6);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.menu-board .name-row .field {
|
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
|
}
|
R saves like a game: one save per project on every device, Load game in the menu, a pause menu, and a lean side panel
- Sync: when two devices changed the same project, the newer save wins
everywhere and the other becomes a savegame of it (new endpoint to keep
a savegame without replacing the save), never an "(other device)" copy.
A first visit keeps its starter unsaved until something changes, and
the main menu waits for the account's saves before anything starts.
- Main menu: Load game lists every save. In the editor, Esc with nothing
selected (or the project button) opens a pause menu: Resume, Save,
Save as copy, Load, Settings, How to play, Main menu. The projects
dialog is gone.
- Selection tab: name and transistors on top, one icon row (open,
duplicate, unlink, delete, more = the right-click menu), only the
settings that matter for the part; pins, component tools, keys, cable
and panel options fold away and remember it. X/Y fields removed.
The Circuit tab folds its component settings, transistor breakdown
and tools the same way.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 16:36:17 +00:00
|
|
|
|
|
|
|
|
|
|
.title-item:disabled {
|
|
|
|
|
|
opacity: 0.45;
|
|
|
|
|
|
cursor: progress;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.title-item:disabled:hover {
|
|
|
|
|
|
background: none;
|
|
|
|
|
|
border-color: transparent;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.project-list .badge.mode {
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
padding: 0 4px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* ── Pause menu ─────────────────────────────────────────────────── */
|
|
|
|
|
|
.pause-backdrop {
|
|
|
|
|
|
position: fixed;
|
|
|
|
|
|
inset: 0;
|
|
|
|
|
|
z-index: 65;
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
place-items: center;
|
|
|
|
|
|
padding: 16px;
|
|
|
|
|
|
background: rgb(5 8 12 / 0.72);
|
|
|
|
|
|
backdrop-filter: blur(3px);
|
|
|
|
|
|
animation: pause-in 0.15s ease-out;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.pause {
|
|
|
|
|
|
width: min(360px, 100%);
|
|
|
|
|
|
max-height: calc(100dvh - 32px);
|
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
|
padding: 22px 20px 18px;
|
|
|
|
|
|
background: rgb(19 24 31 / 0.96);
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: 14px;
|
|
|
|
|
|
box-shadow: 0 30px 80px rgb(0 0 0 / 0.55);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.pause.wide {
|
|
|
|
|
|
width: min(720px, 100%);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.pause-kicker {
|
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
|
letter-spacing: 0.08em;
|
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.pause h2 {
|
|
|
|
|
|
margin-top: 2px;
|
|
|
|
|
|
font-size: 20px;
|
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.pause-where {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 6px;
|
|
|
|
|
|
margin-top: 4px;
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.pause-nav {
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
gap: 2px;
|
|
|
|
|
|
margin-top: 16px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.pause-item {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 12px;
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
padding: 9px 12px;
|
|
|
|
|
|
border: 1px solid transparent;
|
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
|
font-size: 15px;
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
text-align: left;
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.pause-item kbd {
|
|
|
|
|
|
margin-left: auto;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.pause-item:hover,
|
|
|
|
|
|
.pause-item:focus-visible {
|
|
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
border-color: var(--border);
|
|
|
|
|
|
outline: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.pause-item:focus-visible {
|
|
|
|
|
|
border-color: var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.pause-item.primary {
|
|
|
|
|
|
color: var(--on);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.pause-item:disabled {
|
|
|
|
|
|
opacity: 0.5;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.pause-head {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 8px;
|
|
|
|
|
|
margin-bottom: 6px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@keyframes pause-in {
|
|
|
|
|
|
from {
|
|
|
|
|
|
opacity: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* ── Selection tab: header, compact rows, folds ─────────────────── */
|
|
|
|
|
|
.sel-head {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
gap: 8px;
|
|
|
|
|
|
margin: -2px 0 12px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.sel-title {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: baseline;
|
|
|
|
|
|
gap: 8px;
|
|
|
|
|
|
min-width: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.inspector .sel-title h3 {
|
|
|
|
|
|
margin: 0;
|
|
|
|
|
|
font-size: 15px;
|
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
|
letter-spacing: 0;
|
|
|
|
|
|
text-transform: none;
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.sel-t {
|
|
|
|
|
|
margin-left: auto;
|
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.sel-actions {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
gap: 2px;
|
|
|
|
|
|
padding: 3px;
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.sel-actions .icon-btn {
|
|
|
|
|
|
flex: 1;
|
|
|
|
|
|
width: auto;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.sel-actions .icon-btn:disabled {
|
|
|
|
|
|
opacity: 0.35;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.icon-btn.danger:hover {
|
|
|
|
|
|
color: var(--danger);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.sel-row {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
gap: 8px;
|
|
|
|
|
|
margin-bottom: 8px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.sel-row > .field {
|
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.sel-row .grow {
|
|
|
|
|
|
flex: 1;
|
|
|
|
|
|
min-width: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.sel-row .narrow {
|
|
|
|
|
|
flex: 0 0 72px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.field input.auto-name {
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
font-style: italic;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.field-input {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
|
padding: 6px 8px;
|
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
outline: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.field-input:focus {
|
|
|
|
|
|
border-color: var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.fold {
|
|
|
|
|
|
margin: 0 -14px;
|
|
|
|
|
|
border-top: 1px solid var(--border);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.fold:last-of-type {
|
|
|
|
|
|
margin-bottom: -14px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.fold-head {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 6px;
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
padding: 9px 14px;
|
R This tab: title, health, four tiles, tidy folds
The circuit name is the panel's title, edited in place, with where it is
used below. One line says whether all is good or how many problems
there are; inputs, outputs, transistors and delay sit in tiles. The rest
folds away with plain titles: truth table, as a component (fields one
under another), transistors (name, count × each, total), unused
components (only when there are any) and tools. The tabs are a
segmented control with the hide button beside it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:53:43 +00:00
|
|
|
|
font-size: 12.5px;
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
color: rgb(230 237 243 / 0.82);
|
R saves like a game: one save per project on every device, Load game in the menu, a pause menu, and a lean side panel
- Sync: when two devices changed the same project, the newer save wins
everywhere and the other becomes a savegame of it (new endpoint to keep
a savegame without replacing the save), never an "(other device)" copy.
A first visit keeps its starter unsaved until something changes, and
the main menu waits for the account's saves before anything starts.
- Main menu: Load game lists every save. In the editor, Esc with nothing
selected (or the project button) opens a pause menu: Resume, Save,
Save as copy, Load, Settings, How to play, Main menu. The projects
dialog is gone.
- Selection tab: name and transistors on top, one icon row (open,
duplicate, unlink, delete, more = the right-click menu), only the
settings that matter for the part; pins, component tools, keys, cable
and panel options fold away and remember it. X/Y fields removed.
The Circuit tab folds its component settings, transistor breakdown
and tools the same way.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 16:36:17 +00:00
|
|
|
|
text-align: left;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.fold-head:hover {
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
background: rgb(255 255 255 / 0.02);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.fold-chev {
|
|
|
|
|
|
transition: transform 0.15s;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.fold.open .fold-chev {
|
|
|
|
|
|
transform: rotate(90deg);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.fold-note {
|
R This tab: title, health, four tiles, tidy folds
The circuit name is the panel's title, edited in place, with where it is
used below. One line says whether all is good or how many problems
there are; inputs, outputs, transistors and delay sit in tiles. The rest
folds away with plain titles: truth table, as a component (fields one
under another), transistors (name, count × each, total), unused
components (only when there are any) and tools. The tabs are a
segmented control with the hide button beside it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:53:43 +00:00
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
max-width: 45%;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
font-size: 11px;
|
R saves like a game: one save per project on every device, Load game in the menu, a pause menu, and a lean side panel
- Sync: when two devices changed the same project, the newer save wins
everywhere and the other becomes a savegame of it (new endpoint to keep
a savegame without replacing the save), never an "(other device)" copy.
A first visit keeps its starter unsaved until something changes, and
the main menu waits for the account's saves before anything starts.
- Main menu: Load game lists every save. In the editor, Esc with nothing
selected (or the project button) opens a pause menu: Resume, Save,
Save as copy, Load, Settings, How to play, Main menu. The projects
dialog is gone.
- Selection tab: name and transistors on top, one icon row (open,
duplicate, unlink, delete, more = the right-click menu), only the
settings that matter for the part; pins, component tools, keys, cable
and panel options fold away and remember it. X/Y fields removed.
The Circuit tab folds its component settings, transistor breakdown
and tools the same way.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 16:36:17 +00:00
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
letter-spacing: 0;
|
|
|
|
|
|
text-transform: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.fold-body {
|
|
|
|
|
|
padding: 2px 14px 14px;
|
|
|
|
|
|
}
|
2026-10-22 16:59:56 +00:00
|
|
|
|
|
|
|
|
|
|
/* ── Connector ports and their cables ───────────────────────────── */
|
|
|
|
|
|
.node .body.port {
|
|
|
|
|
|
fill: #141a22;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.port-head {
|
|
|
|
|
|
opacity: 0.85;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.port-title {
|
|
|
|
|
|
fill: #0e1116;
|
|
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
|
|
font-size: 9px;
|
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.port-line {
|
|
|
|
|
|
fill: var(--text);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.port-socket {
|
|
|
|
|
|
stroke: #0e1116;
|
|
|
|
|
|
stroke-width: 1.5;
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
A ports on top of the box, split into lines to wire by hand
On a component's box every connector port now sits at the very top of its
side, above the single pins, in auto and hand-drawn boxes alike. A port
can be split on one placed component (its settings or right click: Split
… into lines): right below the socket the box then gets a pin per line,
named after the line, so lines can be wired by hand without an adapter.
Lines going into the component are inputs, lines coming out outputs, each
facing out of its side; a bar in the type's colour ties them to the
socket. A cable still plugs into the socket at the same time. Dropping a
single wire on a socket (or clicking one while connecting) splits the
port and takes the first free line that runs that way. Join … lines
takes the line pins and their wires away again, as one undo step.
A line wired by hand joins the same net the cable's line reaches inside;
a wire and a cable on one line both drive it, and the check says so.
Line pins are left out of the open-input warning, docked panels and
bubbles; docked panels no longer get a row for a port's socket either.
Saved as an optional list on the placed component (splitPorts); without
it a box only has its ports moved to the top.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 17:08:27 +00:00
|
|
|
|
/* A port split on a component's box: its lines hang off the socket. */
|
|
|
|
|
|
.port-bar {
|
|
|
|
|
|
fill: none;
|
|
|
|
|
|
stroke-width: 2;
|
|
|
|
|
|
stroke-linecap: round;
|
|
|
|
|
|
opacity: 0.8;
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-26 21:45:47 +00:00
|
|
|
|
/* Above and below a split port's wires: which pins belong to it. */
|
|
|
|
|
|
.port-bounds {
|
|
|
|
|
|
fill: none;
|
|
|
|
|
|
stroke-width: 1.5;
|
|
|
|
|
|
stroke-linecap: round;
|
|
|
|
|
|
opacity: 0.8;
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-22 16:59:56 +00:00
|
|
|
|
.wire.port-cable .cable-sleeve {
|
|
|
|
|
|
stroke: var(--w-on, #8592a3);
|
|
|
|
|
|
opacity: 0.9;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.wire.port-cable .cable-core {
|
|
|
|
|
|
stroke: #10151c;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.port-mark text {
|
|
|
|
|
|
fill: var(--text);
|
|
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
|
|
font-size: 9px;
|
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Connectors in the parts list */
|
|
|
|
|
|
.conn-row {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 6px;
|
|
|
|
|
|
padding: 2px 8px 2px 12px;
|
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.conn-row.blocked {
|
|
|
|
|
|
opacity: 0.45;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.conn-swatch {
|
|
|
|
|
|
flex: 0 0 auto;
|
|
|
|
|
|
width: 10px;
|
|
|
|
|
|
height: 10px;
|
|
|
|
|
|
border-radius: 3px;
|
|
|
|
|
|
background: var(--w-on, #8592a3);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.conn-swatch.c-red { --w-on: #ff5c5c; }
|
|
|
|
|
|
.conn-swatch.c-orange { --w-on: #ff9f43; }
|
|
|
|
|
|
.conn-swatch.c-yellow { --w-on: #ffd93d; }
|
|
|
|
|
|
.conn-swatch.c-green { --w-on: #3ddc84; }
|
|
|
|
|
|
.conn-swatch.c-blue { --w-on: #4dabff; }
|
|
|
|
|
|
.conn-swatch.c-purple { --w-on: #b388ff; }
|
|
|
|
|
|
.conn-swatch.c-pink { --w-on: #ff7ac6; }
|
|
|
|
|
|
|
|
|
|
|
|
.port-pick {
|
|
|
|
|
|
padding: 1px 7px;
|
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.port-pick.active {
|
|
|
|
|
|
border-color: var(--accent);
|
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Connector type dialog */
|
|
|
|
|
|
.conn-modal {
|
|
|
|
|
|
width: min(560px, 100%);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.conn-lines {
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
gap: 4px;
|
|
|
|
|
|
margin-bottom: 8px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.conn-lines li {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 4px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.conn-lines input {
|
|
|
|
|
|
flex: 1;
|
|
|
|
|
|
min-width: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.conn-index {
|
|
|
|
|
|
width: 20px;
|
|
|
|
|
|
text-align: right;
|
|
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.conn-dir {
|
|
|
|
|
|
min-width: 78px;
|
|
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.conn-dir.back {
|
|
|
|
|
|
color: var(--lamp);
|
|
|
|
|
|
border-color: rgb(255 211 77 / 0.4);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.wire.port-cable:not([class*='c-']) .cable-sleeve {
|
|
|
|
|
|
stroke: #8592a3;
|
|
|
|
|
|
}
|
R a Figma-like workspace: a floating bottom bar of part kinds with flyouts, pinned parts on the left
- Bottom bar over the canvas: Logic, Inputs, Outputs, Wiring, Notes,
Connectors, Components (and search). Pointing at one opens its parts
above it: click to place, drag onto the canvas, pin to the left.
Connectors offer Out/In, edit and new type; components come grouped
with their transistor counts.
- Left panel: pinned parts first (NAND, AND, OR, NOT, XOR, input,
output, lamp, clock to start with; kept per browser, components by
name so they follow you into every project), then the circuits list.
The long list of built-in parts and the connector list moved to the
bar.
- Slimmer top bar and side panels; notices sit above the bar.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:04:43 +00:00
|
|
|
|
|
|
|
|
|
|
/* ── Bottom bar: parts by kind, like Figma's toolbar ────────────── */
|
2026-10-23 10:43:08 +00:00
|
|
|
|
/* Same width and place as the top bar, whatever panels are open. */
|
R a Figma-like workspace: a floating bottom bar of part kinds with flyouts, pinned parts on the left
- Bottom bar over the canvas: Logic, Inputs, Outputs, Wiring, Notes,
Connectors, Components (and search). Pointing at one opens its parts
above it: click to place, drag onto the canvas, pin to the left.
Connectors offer Out/In, edit and new type; components come grouped
with their transistor counts.
- Left panel: pinned parts first (NAND, AND, OR, NOT, XOR, input,
output, lamp, clock to start with; kept per browser, components by
name so they follow you into every project), then the circuits list.
The long list of built-in parts and the connector list moved to the
bar.
- Slimmer top bar and side panels; notices sit above the bar.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:04:43 +00:00
|
|
|
|
.bottom-dock {
|
|
|
|
|
|
position: absolute;
|
R bars and panels fit small windows, Main always in reach; A Space search opens components
The top and bottom bars keep their steady centred width on wide windows,
but never get narrower than 760px as far as the panels leave room, and
move off the centre rather than under a panel. On a narrow bar the words
go first, the names between Main and the open component fold into "…"
(a menu back to each), and sound, settings and help, then undo, redo and
share, then challenges and search move into a "⋯" menu. Main keeps its
house at every width; before, the rule that hid its label hid the icons
too, and on a squeezed bar the crumbs, Main with them, were cut off.
From 821 to 1100px the selection's panel floats over the canvas edge
between the bars instead of narrowing the canvas. The zoom buttons sit
above the parts bar where it reaches them. The challenges drop-down, the
flyouts and the search box stay on screen.
In the Space search, Shift+Enter (or Ctrl+Enter, or the pencil on a
component's line) opens the component to edit it instead of placing it,
and typing a name lists "Open <name>" for every circuit of the project,
also those that cannot be placed here; the one you are in shows as where
you are. A circuit on the way here is reached by going back along it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 17:10:54 +00:00
|
|
|
|
left: var(--bar-x);
|
|
|
|
|
|
width: var(--bar-w);
|
R a Figma-like workspace: a floating bottom bar of part kinds with flyouts, pinned parts on the left
- Bottom bar over the canvas: Logic, Inputs, Outputs, Wiring, Notes,
Connectors, Components (and search). Pointing at one opens its parts
above it: click to place, drag onto the canvas, pin to the left.
Connectors offer Out/In, edit and new type; components come grouped
with their transistor counts.
- Left panel: pinned parts first (NAND, AND, OR, NOT, XOR, input,
output, lamp, clock to start with; kept per browser, components by
name so they follow you into every project), then the circuits list.
The long list of built-in parts and the connector list moved to the
bar.
- Slimmer top bar and side panels; notices sit above the bar.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:04:43 +00:00
|
|
|
|
bottom: 14px;
|
|
|
|
|
|
z-index: 20;
|
2026-10-23 10:43:08 +00:00
|
|
|
|
container-type: inline-size;
|
R Top bar like the parts bar, no left panel
The parts panel on the left is gone: pinned parts sit at the start of the
bottom bar, components open from the pencil in its Components list (or a
double-click), examples load from there too. The side panel moved to the
left. The top bar floats across the whole width: menu with the project,
Main and the way into the open component instead of the circuit
selector, Challenges in a drop-down, clock, search, undo, settings,
share and account. / and the bar's search open quick add.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:17:41 +00:00
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.bottom-dock > * {
|
|
|
|
|
|
pointer-events: auto;
|
R a Figma-like workspace: a floating bottom bar of part kinds with flyouts, pinned parts on the left
- Bottom bar over the canvas: Logic, Inputs, Outputs, Wiring, Notes,
Connectors, Components (and search). Pointing at one opens its parts
above it: click to place, drag onto the canvas, pin to the left.
Connectors offer Out/In, edit and new type; components come grouped
with their transistor counts.
- Left panel: pinned parts first (NAND, AND, OR, NOT, XOR, input,
output, lamp, clock to start with; kept per browser, components by
name so they follow you into every project), then the circuits list.
The long list of built-in parts and the connector list moved to the
bar.
- Slimmer top bar and side panels; notices sit above the bar.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:04:43 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.bottom-bar {
|
|
|
|
|
|
display: flex;
|
2026-10-23 10:43:08 +00:00
|
|
|
|
justify-content: space-between;
|
R a Figma-like workspace: a floating bottom bar of part kinds with flyouts, pinned parts on the left
- Bottom bar over the canvas: Logic, Inputs, Outputs, Wiring, Notes,
Connectors, Components (and search). Pointing at one opens its parts
above it: click to place, drag onto the canvas, pin to the left.
Connectors offer Out/In, edit and new type; components come grouped
with their transistor counts.
- Left panel: pinned parts first (NAND, AND, OR, NOT, XOR, input,
output, lamp, clock to start with; kept per browser, components by
name so they follow you into every project), then the circuits list.
The long list of built-in parts and the connector list moved to the
bar.
- Slimmer top bar and side panels; notices sit above the bar.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:04:43 +00:00
|
|
|
|
align-items: center;
|
2026-10-23 10:43:08 +00:00
|
|
|
|
gap: 6px;
|
|
|
|
|
|
width: 100%;
|
R a Figma-like workspace: a floating bottom bar of part kinds with flyouts, pinned parts on the left
- Bottom bar over the canvas: Logic, Inputs, Outputs, Wiring, Notes,
Connectors, Components (and search). Pointing at one opens its parts
above it: click to place, drag onto the canvas, pin to the left.
Connectors offer Out/In, edit and new type; components come grouped
with their transistor counts.
- Left panel: pinned parts first (NAND, AND, OR, NOT, XOR, input,
output, lamp, clock to start with; kept per browser, components by
name so they follow you into every project), then the circuits list.
The long list of built-in parts and the connector list moved to the
bar.
- Slimmer top bar and side panels; notices sit above the bar.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:04:43 +00:00
|
|
|
|
padding: 5px;
|
|
|
|
|
|
background: rgb(26 33 43 / 0.96);
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: 12px;
|
|
|
|
|
|
box-shadow:
|
|
|
|
|
|
0 10px 30px rgb(0 0 0 / 0.45),
|
|
|
|
|
|
0 1px 0 rgb(255 255 255 / 0.03) inset;
|
|
|
|
|
|
backdrop-filter: blur(8px);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.bar-btn {
|
|
|
|
|
|
display: flex;
|
R Top bar like the parts bar, no left panel
The parts panel on the left is gone: pinned parts sit at the start of the
bottom bar, components open from the pencil in its Components list (or a
double-click), examples load from there too. The side panel moved to the
left. The top bar floats across the whole width: menu with the project,
Main and the way into the open component instead of the circuit
selector, Challenges in a drop-down, clock, search, undo, settings,
share and account. / and the bar's search open quick add.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:17:41 +00:00
|
|
|
|
flex-shrink: 0;
|
R a Figma-like workspace: a floating bottom bar of part kinds with flyouts, pinned parts on the left
- Bottom bar over the canvas: Logic, Inputs, Outputs, Wiring, Notes,
Connectors, Components (and search). Pointing at one opens its parts
above it: click to place, drag onto the canvas, pin to the left.
Connectors offer Out/In, edit and new type; components come grouped
with their transistor counts.
- Left panel: pinned parts first (NAND, AND, OR, NOT, XOR, input,
output, lamp, clock to start with; kept per browser, components by
name so they follow you into every project), then the circuits list.
The long list of built-in parts and the connector list moved to the
bar.
- Slimmer top bar and side panels; notices sit above the bar.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:04:43 +00:00
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 6px;
|
|
|
|
|
|
height: 34px;
|
|
|
|
|
|
padding: 0 10px;
|
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
transition:
|
|
|
|
|
|
background 0.12s,
|
|
|
|
|
|
color 0.12s;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.bar-btn:hover,
|
|
|
|
|
|
.bar-btn.open {
|
|
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.bar-btn.active {
|
|
|
|
|
|
background: rgb(76 194 255 / 0.16);
|
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.bar-sep {
|
|
|
|
|
|
width: 1px;
|
|
|
|
|
|
height: 20px;
|
|
|
|
|
|
margin: 0 4px;
|
|
|
|
|
|
background: var(--border);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
R Panels: This and Pins on the left, the selection on the right
The left panel is about the circuit you are in: This (challenge and
Check on top, problems, name, statistics, truth table, as a component,
transistors, tools) and Pins. The selection gets its own panel on the
right, there only while something is selected, with its settings and
actions such as making a component out of it. The bars follow the
canvas width and drop labels when it gets narrow.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:38:17 +00:00
|
|
|
|
@container (max-width: 1100px) {
|
R a Figma-like workspace: a floating bottom bar of part kinds with flyouts, pinned parts on the left
- Bottom bar over the canvas: Logic, Inputs, Outputs, Wiring, Notes,
Connectors, Components (and search). Pointing at one opens its parts
above it: click to place, drag onto the canvas, pin to the left.
Connectors offer Out/In, edit and new type; components come grouped
with their transistor counts.
- Left panel: pinned parts first (NAND, AND, OR, NOT, XOR, input,
output, lamp, clock to start with; kept per browser, components by
name so they follow you into every project), then the circuits list.
The long list of built-in parts and the connector list moved to the
bar.
- Slimmer top bar and side panels; notices sit above the bar.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:04:43 +00:00
|
|
|
|
.bar-label {
|
|
|
|
|
|
display: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.flyout {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
bottom: calc(100% + 8px);
|
|
|
|
|
|
width: 250px;
|
|
|
|
|
|
max-height: min(60vh, 460px);
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
padding: 6px;
|
|
|
|
|
|
transform: translateX(-50%);
|
|
|
|
|
|
background: rgb(26 33 43 / 0.98);
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: 12px;
|
|
|
|
|
|
box-shadow: 0 18px 50px rgb(0 0 0 / 0.5);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.flyout-scroll {
|
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
|
min-height: 0;
|
|
|
|
|
|
scrollbar-width: thin;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.flyout-head {
|
|
|
|
|
|
padding: 6px 8px 4px;
|
|
|
|
|
|
font-size: 10px;
|
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
|
letter-spacing: 0.07em;
|
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.flyout-empty {
|
|
|
|
|
|
padding: 2px 8px 8px;
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
line-height: 1.45;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.flyout-list li {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 2px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.flyout-item {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex: 1;
|
|
|
|
|
|
min-width: 0;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 9px;
|
|
|
|
|
|
padding: 6px 8px;
|
|
|
|
|
|
border-radius: 7px;
|
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
text-align: left;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.flyout-item:not(.static):hover {
|
|
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.flyout-item .iconify {
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.flyout-item.active {
|
|
|
|
|
|
background: rgb(76 194 255 / 0.14);
|
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.flyout-item.blocked {
|
|
|
|
|
|
opacity: 0.4;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.flyout-note {
|
|
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
|
|
font-size: 10px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.pin-btn {
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
place-items: center;
|
|
|
|
|
|
width: 26px;
|
|
|
|
|
|
height: 26px;
|
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
opacity: 0;
|
|
|
|
|
|
transition: opacity 0.12s;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.flyout-list li:hover .pin-btn,
|
|
|
|
|
|
.pin-btn.on {
|
|
|
|
|
|
opacity: 1;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.pin-btn.on {
|
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.pin-btn:hover {
|
|
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.flyout-new {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 8px;
|
|
|
|
|
|
margin-top: 4px;
|
|
|
|
|
|
padding: 7px 8px;
|
|
|
|
|
|
border-top: 1px solid var(--border);
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.flyout-new:hover:not(:disabled) {
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.flyout-enter-active,
|
|
|
|
|
|
.flyout-leave-active {
|
|
|
|
|
|
transition:
|
|
|
|
|
|
opacity 0.12s,
|
|
|
|
|
|
transform 0.12s;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.flyout-enter-from,
|
|
|
|
|
|
.flyout-leave-to {
|
|
|
|
|
|
opacity: 0;
|
|
|
|
|
|
transform: translate(-50%, 4px);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Pinned parts in the left panel */
|
|
|
|
|
|
.pinned-head {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: baseline;
|
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
padding: 10px 14px 4px;
|
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
|
letter-spacing: 0.06em;
|
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.pinned-head .hint {
|
|
|
|
|
|
margin: 0;
|
|
|
|
|
|
font-size: 10px;
|
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
letter-spacing: 0;
|
|
|
|
|
|
text-transform: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.pinned li {
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.pinned li .open {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
right: 6px;
|
|
|
|
|
|
top: 50%;
|
|
|
|
|
|
transform: translateY(-50%);
|
|
|
|
|
|
opacity: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.pinned li:hover .open {
|
|
|
|
|
|
opacity: 1;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* The bar sits at the bottom: notices go above it. */
|
|
|
|
|
|
.toast {
|
|
|
|
|
|
bottom: 84px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.pinned li .open {
|
|
|
|
|
|
padding: 5px;
|
|
|
|
|
|
border-radius: 5px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
background: var(--panel);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.pinned li .open:hover {
|
|
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-22 18:24:52 +00:00
|
|
|
|
/* ── Top bar: floating over the canvas like the parts bar, across its width ─ */
|
R Top bar like the parts bar, no left panel
The parts panel on the left is gone: pinned parts sit at the start of the
bottom bar, components open from the pencil in its Components list (or a
double-click), examples load from there too. The side panel moved to the
left. The top bar floats across the whole width: menu with the project,
Main and the way into the open component instead of the circuit
selector, Challenges in a drop-down, clock, search, undo, settings,
share and account. / and the bar's search open quick add.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:17:41 +00:00
|
|
|
|
.top-dock {
|
2026-10-22 18:24:52 +00:00
|
|
|
|
position: absolute;
|
|
|
|
|
|
top: 10px;
|
R bars and panels fit small windows, Main always in reach; A Space search opens components
The top and bottom bars keep their steady centred width on wide windows,
but never get narrower than 760px as far as the panels leave room, and
move off the centre rather than under a panel. On a narrow bar the words
go first, the names between Main and the open component fold into "…"
(a menu back to each), and sound, settings and help, then undo, redo and
share, then challenges and search move into a "⋯" menu. Main keeps its
house at every width; before, the rule that hid its label hid the icons
too, and on a squeezed bar the crumbs, Main with them, were cut off.
From 821 to 1100px the selection's panel floats over the canvas edge
between the bars instead of narrowing the canvas. The zoom buttons sit
above the parts bar where it reaches them. The challenges drop-down, the
flyouts and the search box stay on screen.
In the Space search, Shift+Enter (or Ctrl+Enter, or the pencil on a
component's line) opens the component to edit it instead of placing it,
and typing a name lists "Open <name>" for every circuit of the project,
also those that cannot be placed here; the one you are in shows as where
you are. A circuit on the way here is reached by going back along it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 17:10:54 +00:00
|
|
|
|
left: var(--bar-x);
|
|
|
|
|
|
width: var(--bar-w);
|
R Top bar like the parts bar, no left panel
The parts panel on the left is gone: pinned parts sit at the start of the
bottom bar, components open from the pencil in its Components list (or a
double-click), examples load from there too. The side panel moved to the
left. The top bar floats across the whole width: menu with the project,
Main and the way into the open component instead of the circuit
selector, Challenges in a drop-down, clock, search, undo, settings,
share and account. / and the bar's search open quick add.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:17:41 +00:00
|
|
|
|
z-index: 30;
|
R Packed panels, Tab adds rows, flyouts at the pointer, steady top bar
Combining switches, buttons, lamps or outputs into a panel, and merging
panels, puts the rows right under each other (space 0). Tab in the last
row's name of a panel, or the last line of a connector type, adds the
next one once it is filled in. The bottom bar's lists open centred above
the pointer. The top bar keeps the width it has with both panels open,
centred, so it no longer grows and shrinks with the panels.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 20:47:38 +00:00
|
|
|
|
container-type: inline-size;
|
2026-10-22 18:24:52 +00:00
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.top-dock > * {
|
|
|
|
|
|
pointer-events: auto;
|
R Top bar like the parts bar, no left panel
The parts panel on the left is gone: pinned parts sit at the start of the
bottom bar, components open from the pencil in its Components list (or a
double-click), examples load from there too. The side panel moved to the
left. The top bar floats across the whole width: menu with the project,
Main and the way into the open component instead of the circuit
selector, Challenges in a drop-down, clock, search, undo, settings,
share and account. / and the bar's search open quick add.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:17:41 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.top-bar {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
gap: 10px;
|
|
|
|
|
|
min-width: 0;
|
|
|
|
|
|
padding: 4px;
|
|
|
|
|
|
background: rgb(26 33 43 / 0.96);
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: 12px;
|
|
|
|
|
|
box-shadow:
|
|
|
|
|
|
0 6px 20px rgb(0 0 0 / 0.35),
|
|
|
|
|
|
0 1px 0 rgb(255 255 255 / 0.03) inset;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.tb-group {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 2px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.top-bar .bar-btn {
|
|
|
|
|
|
height: 32px;
|
|
|
|
|
|
padding: 0 9px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.top-bar .bar-btn:disabled {
|
|
|
|
|
|
opacity: 0.35;
|
|
|
|
|
|
cursor: not-allowed;
|
|
|
|
|
|
background: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.top-bar .bar-btn.here:disabled {
|
|
|
|
|
|
opacity: 1;
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
cursor: default;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.top-bar .tb-select {
|
|
|
|
|
|
height: 30px;
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
R bars and panels fit small windows, Main always in reach; A Space search opens components
The top and bottom bars keep their steady centred width on wide windows,
but never get narrower than 760px as far as the panels leave room, and
move off the centre rather than under a panel. On a narrow bar the words
go first, the names between Main and the open component fold into "…"
(a menu back to each), and sound, settings and help, then undo, redo and
share, then challenges and search move into a "⋯" menu. Main keeps its
house at every width; before, the rule that hid its label hid the icons
too, and on a squeezed bar the crumbs, Main with them, were cut off.
From 821 to 1100px the selection's panel floats over the canvas edge
between the bars instead of narrowing the canvas. The zoom buttons sit
above the parts bar where it reaches them. The challenges drop-down, the
flyouts and the search box stay on screen.
In the Space search, Shift+Enter (or Ctrl+Enter, or the pencil on a
component's line) opens the component to edit it instead of placing it,
and typing a name lists "Open <name>" for every circuit of the project,
also those that cannot be placed here; the one you are in shows as where
you are. A circuit on the way here is reached by going back along it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 17:10:54 +00:00
|
|
|
|
/* On a narrow bar the project's name gives way first, down to the logo. */
|
R Top bar like the parts bar, no left panel
The parts panel on the left is gone: pinned parts sit at the start of the
bottom bar, components open from the pencil in its Components list (or a
double-click), examples load from there too. The side panel moved to the
left. The top bar floats across the whole width: menu with the project,
Main and the way into the open component instead of the circuit
selector, Challenges in a drop-down, clock, search, undo, settings,
share and account. / and the bar's search open quick add.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:17:41 +00:00
|
|
|
|
.brand-btn {
|
|
|
|
|
|
color: var(--on) !important;
|
R bars and panels fit small windows, Main always in reach; A Space search opens components
The top and bottom bars keep their steady centred width on wide windows,
but never get narrower than 760px as far as the panels leave room, and
move off the centre rather than under a panel. On a narrow bar the words
go first, the names between Main and the open component fold into "…"
(a menu back to each), and sound, settings and help, then undo, redo and
share, then challenges and search move into a "⋯" menu. Main keeps its
house at every width; before, the rule that hid its label hid the icons
too, and on a squeezed bar the crumbs, Main with them, were cut off.
From 821 to 1100px the selection's panel floats over the canvas edge
between the bars instead of narrowing the canvas. The zoom buttons sit
above the parts bar where it reaches them. The challenges drop-down, the
flyouts and the search box stay on screen.
In the Space search, Shift+Enter (or Ctrl+Enter, or the pencil on a
component's line) opens the component to edit it instead of placing it,
and typing a name lists "Open <name>" for every circuit of the project,
also those that cannot be placed here; the one you are in shows as where
you are. A circuit on the way here is reached by going back along it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 17:10:54 +00:00
|
|
|
|
flex-shrink: 1;
|
|
|
|
|
|
min-width: 38px;
|
R Top bar like the parts bar, no left panel
The parts panel on the left is gone: pinned parts sit at the start of the
bottom bar, components open from the pencil in its Components list (or a
double-click), examples load from there too. The side panel moved to the
left. The top bar floats across the whole width: menu with the project,
Main and the way into the open component instead of the circuit
selector, Challenges in a drop-down, clock, search, undo, settings,
share and account. / and the bar's search open quick add.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:17:41 +00:00
|
|
|
|
max-width: 260px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.project-name {
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
R bars and panels fit small windows, Main always in reach; A Space search opens components
The top and bottom bars keep their steady centred width on wide windows,
but never get narrower than 760px as far as the panels leave room, and
move off the centre rather than under a panel. On a narrow bar the words
go first, the names between Main and the open component fold into "…"
(a menu back to each), and sound, settings and help, then undo, redo and
share, then challenges and search move into a "⋯" menu. Main keeps its
house at every width; before, the rule that hid its label hid the icons
too, and on a squeezed bar the crumbs, Main with them, were cut off.
From 821 to 1100px the selection's panel floats over the canvas edge
between the bars instead of narrowing the canvas. The zoom buttons sit
above the parts bar where it reaches them. The challenges drop-down, the
flyouts and the search box stay on screen.
In the Space search, Shift+Enter (or Ctrl+Enter, or the pencil on a
component's line) opens the component to edit it instead of placing it,
and typing a name lists "Open <name>" for every circuit of the project,
also those that cannot be placed here; the one you are in shows as where
you are. A circuit on the way here is reached by going back along it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 17:10:54 +00:00
|
|
|
|
/* Main never shrinks; the names after it do, cut off with "…". */
|
R Top bar like the parts bar, no left panel
The parts panel on the left is gone: pinned parts sit at the start of the
bottom bar, components open from the pencil in its Components list (or a
double-click), examples load from there too. The side panel moved to the
left. The top bar floats across the whole width: menu with the project,
Main and the way into the open component instead of the circuit
selector, Challenges in a drop-down, clock, search, undo, settings,
share and account. / and the bar's search open quick add.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:17:41 +00:00
|
|
|
|
.crumbs {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 1px;
|
|
|
|
|
|
min-width: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.crumb {
|
R bars and panels fit small windows, Main always in reach; A Space search opens components
The top and bottom bars keep their steady centred width on wide windows,
but never get narrower than 760px as far as the panels leave room, and
move off the centre rather than under a panel. On a narrow bar the words
go first, the names between Main and the open component fold into "…"
(a menu back to each), and sound, settings and help, then undo, redo and
share, then challenges and search move into a "⋯" menu. Main keeps its
house at every width; before, the rule that hid its label hid the icons
too, and on a squeezed bar the crumbs, Main with them, were cut off.
From 821 to 1100px the selection's panel floats over the canvas edge
between the bars instead of narrowing the canvas. The zoom buttons sit
above the parts bar where it reaches them. The challenges drop-down, the
flyouts and the search box stay on screen.
In the Space search, Shift+Enter (or Ctrl+Enter, or the pencil on a
component's line) opens the component to edit it instead of placing it,
and typing a name lists "Open <name>" for every circuit of the project,
also those that cannot be placed here; the one you are in shows as where
you are. A circuit on the way here is reached by going back along it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 17:10:54 +00:00
|
|
|
|
flex-shrink: 1;
|
R Top bar like the parts bar, no left panel
The parts panel on the left is gone: pinned parts sit at the start of the
bottom bar, components open from the pencil in its Components list (or a
double-click), examples load from there too. The side panel moved to the
left. The top bar floats across the whole width: menu with the project,
Main and the way into the open component instead of the circuit
selector, Challenges in a drop-down, clock, search, undo, settings,
share and account. / and the bar's search open quick add.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:17:41 +00:00
|
|
|
|
min-width: 0;
|
|
|
|
|
|
max-width: 180px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.crumb-sep {
|
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
opacity: 0.6;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.bar-count {
|
|
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.top-pop {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
top: calc(100% + 10px);
|
|
|
|
|
|
left: 50%;
|
R bars and panels fit small windows, Main always in reach; A Space search opens components
The top and bottom bars keep their steady centred width on wide windows,
but never get narrower than 760px as far as the panels leave room, and
move off the centre rather than under a panel. On a narrow bar the words
go first, the names between Main and the open component fold into "…"
(a menu back to each), and sound, settings and help, then undo, redo and
share, then challenges and search move into a "⋯" menu. Main keeps its
house at every width; before, the rule that hid its label hid the icons
too, and on a squeezed bar the crumbs, Main with them, were cut off.
From 821 to 1100px the selection's panel floats over the canvas edge
between the bars instead of narrowing the canvas. The zoom buttons sit
above the parts bar where it reaches them. The challenges drop-down, the
flyouts and the search box stay on screen.
In the Space search, Shift+Enter (or Ctrl+Enter, or the pencil on a
component's line) opens the component to edit it instead of placing it,
and typing a name lists "Open <name>" for every circuit of the project,
also those that cannot be placed here; the one you are in shows as where
you are. A circuit on the way here is reached by going back along it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 17:10:54 +00:00
|
|
|
|
width: min(340px, calc(100vw - 16px));
|
R Top bar like the parts bar, no left panel
The parts panel on the left is gone: pinned parts sit at the start of the
bottom bar, components open from the pencil in its Components list (or a
double-click), examples load from there too. The side panel moved to the
left. The top bar floats across the whole width: menu with the project,
Main and the way into the open component instead of the circuit
selector, Challenges in a drop-down, clock, search, undo, settings,
share and account. / and the bar's search open quick add.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:17:41 +00:00
|
|
|
|
max-height: min(72vh, 640px);
|
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
|
padding: 10px;
|
|
|
|
|
|
transform: translateX(-50%);
|
|
|
|
|
|
background: rgb(26 33 43 / 0.98);
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: 12px;
|
|
|
|
|
|
box-shadow: 0 18px 50px rgb(0 0 0 / 0.5);
|
|
|
|
|
|
scrollbar-width: thin;
|
|
|
|
|
|
scrollbar-color: var(--border) transparent;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.drop-enter-active,
|
|
|
|
|
|
.drop-leave-active {
|
|
|
|
|
|
transition:
|
|
|
|
|
|
opacity 0.12s,
|
|
|
|
|
|
translate 0.12s;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.drop-enter-from,
|
|
|
|
|
|
.drop-leave-to {
|
|
|
|
|
|
opacity: 0;
|
|
|
|
|
|
translate: 0 -4px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
R bars and panels fit small windows, Main always in reach; A Space search opens components
The top and bottom bars keep their steady centred width on wide windows,
but never get narrower than 760px as far as the panels leave room, and
move off the centre rather than under a panel. On a narrow bar the words
go first, the names between Main and the open component fold into "…"
(a menu back to each), and sound, settings and help, then undo, redo and
share, then challenges and search move into a "⋯" menu. Main keeps its
house at every width; before, the rule that hid its label hid the icons
too, and on a squeezed bar the crumbs, Main with them, were cut off.
From 821 to 1100px the selection's panel floats over the canvas edge
between the bars instead of narrowing the canvas. The zoom buttons sit
above the parts bar where it reaches them. The challenges drop-down, the
flyouts and the search box stay on screen.
In the Space search, Shift+Enter (or Ctrl+Enter, or the pencil on a
component's line) opens the component to edit it instead of placing it,
and typing a name lists "Open <name>" for every circuit of the project,
also those that cannot be placed here; the one you are in shows as where
you are. A circuit on the way here is reached by going back along it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 17:10:54 +00:00
|
|
|
|
/* On a narrower bar the words go first, the icons stay (the buttons used least
|
|
|
|
|
|
move into "⋯", see Toolbar.vue); Main keeps its house. */
|
|
|
|
|
|
@container (max-width: 1180px) {
|
R Panels: This and Pins on the left, the selection on the right
The left panel is about the circuit you are in: This (challenge and
Check on top, problems, name, statistics, truth table, as a component,
transistors, tools) and Pins. The selection gets its own panel on the
right, there only while something is selected, with its settings and
actions such as making a component out of it. The bars follow the
canvas width and drop labels when it gets narrow.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:38:17 +00:00
|
|
|
|
.top-bar .status,
|
|
|
|
|
|
.top-bar .cycles,
|
|
|
|
|
|
.top-bar .bar-count,
|
|
|
|
|
|
.top-bar .bar-text {
|
R Top bar like the parts bar, no left panel
The parts panel on the left is gone: pinned parts sit at the start of the
bottom bar, components open from the pencil in its Components list (or a
double-click), examples load from there too. The side panel moved to the
left. The top bar floats across the whole width: menu with the project,
Main and the way into the open component instead of the circuit
selector, Challenges in a drop-down, clock, search, undo, settings,
share and account. / and the bar's search open quick add.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:17:41 +00:00
|
|
|
|
display: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
R Panels: This and Pins on the left, the selection on the right
The left panel is about the circuit you are in: This (challenge and
Check on top, problems, name, statistics, truth table, as a component,
transistors, tools) and Pins. The selection gets its own panel on the
right, there only while something is selected, with its settings and
actions such as making a component out of it. The bars follow the
canvas width and drop labels when it gets narrow.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:38:17 +00:00
|
|
|
|
@container (max-width: 760px) {
|
|
|
|
|
|
.top-bar .project-name,
|
|
|
|
|
|
.top-bar .tb-select {
|
|
|
|
|
|
display: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
.top-bar .bar-btn {
|
|
|
|
|
|
padding: 0 7px;
|
|
|
|
|
|
}
|
R bars and panels fit small windows, Main always in reach; A Space search opens components
The top and bottom bars keep their steady centred width on wide windows,
but never get narrower than 760px as far as the panels leave room, and
move off the centre rather than under a panel. On a narrow bar the words
go first, the names between Main and the open component fold into "…"
(a menu back to each), and sound, settings and help, then undo, redo and
share, then challenges and search move into a "⋯" menu. Main keeps its
house at every width; before, the rule that hid its label hid the icons
too, and on a squeezed bar the crumbs, Main with them, were cut off.
From 821 to 1100px the selection's panel floats over the canvas edge
between the bars instead of narrowing the canvas. The zoom buttons sit
above the parts bar where it reaches them. The challenges drop-down, the
flyouts and the search box stay on screen.
In the Space search, Shift+Enter (or Ctrl+Enter, or the pencil on a
component's line) opens the component to edit it instead of placing it,
and typing a name lists "Open <name>" for every circuit of the project,
also those that cannot be placed here; the one you are in shows as where
you are. A circuit on the way here is reached by going back along it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 17:10:54 +00:00
|
|
|
|
.top-bar .brand-btn {
|
|
|
|
|
|
min-width: 34px;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@container (max-width: 640px) {
|
|
|
|
|
|
.top-bar .main-label {
|
|
|
|
|
|
display: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* A narrow parts bar: the kinds of parts close up so all of them fit. */
|
|
|
|
|
|
@container (max-width: 420px) {
|
|
|
|
|
|
.bottom-bar .bar-btn {
|
|
|
|
|
|
padding: 0 7px;
|
|
|
|
|
|
}
|
R Panels: This and Pins on the left, the selection on the right
The left panel is about the circuit you are in: This (challenge and
Check on top, problems, name, statistics, truth table, as a component,
transistors, tools) and Pins. The selection gets its own panel on the
right, there only while something is selected, with its settings and
actions such as making a component out of it. The bars follow the
canvas width and drop labels when it gets narrow.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:38:17 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
R Top bar like the parts bar, no left panel
The parts panel on the left is gone: pinned parts sit at the start of the
bottom bar, components open from the pencil in its Components list (or a
double-click), examples load from there too. The side panel moved to the
left. The top bar floats across the whole width: menu with the project,
Main and the way into the open component instead of the circuit
selector, Challenges in a drop-down, clock, search, undo, settings,
share and account. / and the bar's search open quick add.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:17:41 +00:00
|
|
|
|
/* Pinned parts at the start of the parts bar. */
|
|
|
|
|
|
.bar-btn.pinned-part {
|
|
|
|
|
|
padding: 0 8px;
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.bar-btn.blocked {
|
|
|
|
|
|
opacity: 0.4;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
R Panels: This and Pins on the left, the selection on the right
The left panel is about the circuit you are in: This (challenge and
Check on top, problems, name, statistics, truth table, as a component,
transistors, tools) and Pins. The selection gets its own panel on the
right, there only while something is selected, with its settings and
actions such as making a component out of it. The bars follow the
canvas width and drop labels when it gets narrow.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:38:17 +00:00
|
|
|
|
@container (max-width: 1400px) {
|
R Top bar like the parts bar, no left panel
The parts panel on the left is gone: pinned parts sit at the start of the
bottom bar, components open from the pencil in its Components list (or a
double-click), examples load from there too. The side panel moved to the
left. The top bar floats across the whole width: menu with the project,
Main and the way into the open component instead of the circuit
selector, Challenges in a drop-down, clock, search, undo, settings,
share and account. / and the bar's search open quick add.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:17:41 +00:00
|
|
|
|
.bottom-bar:has(.pinned-part) .bar-label {
|
|
|
|
|
|
display: none;
|
|
|
|
|
|
}
|
R a Figma-like workspace: a floating bottom bar of part kinds with flyouts, pinned parts on the left
- Bottom bar over the canvas: Logic, Inputs, Outputs, Wiring, Notes,
Connectors, Components (and search). Pointing at one opens its parts
above it: click to place, drag onto the canvas, pin to the left.
Connectors offer Out/In, edit and new type; components come grouped
with their transistor counts.
- Left panel: pinned parts first (NAND, AND, OR, NOT, XOR, input,
output, lamp, clock to start with; kept per browser, components by
name so they follow you into every project), then the circuits list.
The long list of built-in parts and the connector list moved to the
bar.
- Slimmer top bar and side panels; notices sit above the bar.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:04:43 +00:00
|
|
|
|
}
|
R Panels: This and Pins on the left, the selection on the right
The left panel is about the circuit you are in: This (challenge and
Check on top, problems, name, statistics, truth table, as a component,
transistors, tools) and Pins. The selection gets its own panel on the
right, there only while something is selected, with its settings and
actions such as making a component out of it. The bars follow the
canvas width and drop labels when it gets narrow.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:38:17 +00:00
|
|
|
|
|
|
|
|
|
|
/* The selection's own panel on the right, there only while something is selected. */
|
|
|
|
|
|
.selection-panel {
|
|
|
|
|
|
border-right: 0;
|
|
|
|
|
|
border-left: 1px solid var(--border);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.sel-panel-head {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 8px;
|
|
|
|
|
|
height: 45px;
|
|
|
|
|
|
padding: 0 8px 0 12px;
|
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
border-bottom: 1px solid var(--border);
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.table-pane .truth {
|
|
|
|
|
|
margin-top: 4px;
|
|
|
|
|
|
}
|
R This tab: title, health, four tiles, tidy folds
The circuit name is the panel's title, edited in place, with where it is
used below. One line says whether all is good or how many problems
there are; inputs, outputs, transistors and delay sit in tiles. The rest
folds away with plain titles: truth table, as a component (fields one
under another), transistors (name, count × each, total), unused
components (only when there are any) and tools. The tabs are a
segmented control with the hide button beside it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:53:43 +00:00
|
|
|
|
|
|
|
|
|
|
/* ── Panel heads: segmented tabs on the left, a title on the right ── */
|
|
|
|
|
|
.panel-head,
|
|
|
|
|
|
.sel-panel-head {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 6px;
|
|
|
|
|
|
height: 48px;
|
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
padding: 0 8px 0 10px;
|
|
|
|
|
|
border-bottom: 1px solid var(--border);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.seg-tabs {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex: 1;
|
|
|
|
|
|
gap: 2px;
|
|
|
|
|
|
padding: 3px;
|
|
|
|
|
|
background: var(--bg);
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: 9px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.seg-tabs button {
|
|
|
|
|
|
flex: 1;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
gap: 6px;
|
|
|
|
|
|
height: 28px;
|
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.seg-tabs button:hover {
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.seg-tabs button.active {
|
|
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
box-shadow: 0 1px 2px rgb(0 0 0 / 0.3);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.seg-tabs button.task:not(.active) {
|
|
|
|
|
|
color: var(--lamp);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.seg-tabs .badge {
|
|
|
|
|
|
min-width: 18px;
|
|
|
|
|
|
padding: 0 5px;
|
|
|
|
|
|
border-radius: 999px;
|
|
|
|
|
|
background: rgb(76 194 255 / 0.16);
|
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
|
|
font-size: 10px;
|
|
|
|
|
|
line-height: 16px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.seg-tabs .badge.warn {
|
|
|
|
|
|
background: rgb(232 162 58 / 0.18);
|
|
|
|
|
|
color: #e8a23a;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* ── This: the circuit you are in ───────────────────────────────── */
|
|
|
|
|
|
.inspector section.this-head {
|
|
|
|
|
|
padding: 14px 14px 16px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.title-input {
|
|
|
|
|
|
width: calc(100% + 12px);
|
|
|
|
|
|
margin: -4px -6px 0;
|
|
|
|
|
|
padding: 3px 6px;
|
|
|
|
|
|
border: 1px solid transparent;
|
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
|
background: transparent;
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
font-size: 17px;
|
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
|
letter-spacing: -0.01em;
|
|
|
|
|
|
outline: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.title-input:hover {
|
|
|
|
|
|
border-color: var(--border);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.title-input:focus {
|
|
|
|
|
|
border-color: var(--accent);
|
|
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.this-sub {
|
|
|
|
|
|
margin: 2px 0 12px;
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.this-sub a {
|
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.health {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 8px;
|
|
|
|
|
|
padding: 7px 10px;
|
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
|
font-size: 12.5px;
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
color: var(--on);
|
|
|
|
|
|
background: rgb(61 220 132 / 0.08);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.health.warn {
|
|
|
|
|
|
color: #e8a23a;
|
|
|
|
|
|
background: rgb(232 162 58 / 0.1);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.health.error {
|
|
|
|
|
|
color: #ff7a7a;
|
|
|
|
|
|
background: rgb(255 122 122 / 0.1);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.health-notes {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 5px;
|
|
|
|
|
|
font-size: 11.5px;
|
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.this-head .issue-list {
|
|
|
|
|
|
margin-top: 6px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.tiles {
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
grid-template-columns: 1fr 1fr;
|
|
|
|
|
|
gap: 6px;
|
|
|
|
|
|
margin-top: 12px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.tile {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
align-items: flex-start;
|
|
|
|
|
|
min-width: 0;
|
|
|
|
|
|
padding: 8px 10px;
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
text-align: left;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
button.tile:hover {
|
|
|
|
|
|
border-color: rgb(76 194 255 / 0.5);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.tile-label {
|
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.tile-value {
|
|
|
|
|
|
font-size: 17px;
|
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
|
font-variant-numeric: tabular-nums;
|
|
|
|
|
|
line-height: 1.3;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.tile-note {
|
|
|
|
|
|
font-size: 10.5px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.inspector section.folds {
|
|
|
|
|
|
padding: 0 14px;
|
|
|
|
|
|
border-bottom: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.folds .fold:first-child {
|
|
|
|
|
|
border-top: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.folds .fold:last-of-type {
|
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
|
border-bottom: 1px solid var(--border);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.fold-head > .grow {
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.cost-list li {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 10px;
|
|
|
|
|
|
margin: 0 -8px;
|
|
|
|
|
|
padding: 5px 8px;
|
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.cost-list li:hover {
|
|
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.cost-name {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex: 1;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
min-width: 0;
|
|
|
|
|
|
font-size: 12.5px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.cost-each {
|
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
font-variant-numeric: tabular-nums;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.cost-total {
|
|
|
|
|
|
font-size: 12.5px;
|
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
|
font-variant-numeric: tabular-nums;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.cost-list li.cost-sum {
|
|
|
|
|
|
margin-top: 4px;
|
|
|
|
|
|
padding-top: 8px;
|
|
|
|
|
|
border-top: 1px solid var(--border);
|
|
|
|
|
|
border-radius: 0;
|
|
|
|
|
|
cursor: default;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.cost-list li.cost-sum:hover {
|
|
|
|
|
|
background: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.unused-list li {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 6px;
|
|
|
|
|
|
padding: 3px 0;
|
|
|
|
|
|
font-size: 12.5px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.unused-list a {
|
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
|
}
|
2026-10-23 10:33:47 +00:00
|
|
|
|
|
|
|
|
|
|
/* ── Part tiles in the bottom bar's flyouts ─────────────────────── */
|
|
|
|
|
|
.flyout.part-flyout {
|
|
|
|
|
|
width: max-content;
|
|
|
|
|
|
max-width: min(780px, 100%);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.part-tabs {
|
|
|
|
|
|
display: flex;
|
BF jumps always on top of what they cross; R circuit commands in a menu on its name, the side panel only says what it is
A jump is drawn once more over every line, so a cable that arches over
another is never hidden under it, whatever order they are drawn in. Cable
labels sit on the longest stretch no other line crosses.
The circuit's name in the top bar opens what can be done with it: tidy
its wires or every circuit's, design its box, duplicate, delete, print,
export SVG, publish as a puzzle. The This panel keeps what the circuit is:
its health, its numbers (the transistors tile opens their breakdown), its
truth table and how it looks as a part. Unused components are a tab of
the Components list in the parts bar, with a delete button on each.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-23 13:12:43 +00:00
|
|
|
|
flex-wrap: wrap;
|
2026-10-23 10:33:47 +00:00
|
|
|
|
gap: 2px;
|
|
|
|
|
|
padding: 2px 2px 4px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.part-tabs button {
|
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
padding: 4px 9px;
|
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.part-tabs button:hover {
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.part-tabs button.active {
|
|
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.part-tabs .count {
|
|
|
|
|
|
margin-left: 3px;
|
|
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
|
|
font-size: 10px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.strip-wrap {
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
min-width: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.part-strip {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
gap: 6px;
|
|
|
|
|
|
padding: 2px 2px 6px;
|
|
|
|
|
|
overflow-x: auto;
|
|
|
|
|
|
scroll-behavior: smooth;
|
|
|
|
|
|
scrollbar-width: thin;
|
|
|
|
|
|
scrollbar-color: var(--border) transparent;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.strip-arrow {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
z-index: 2;
|
|
|
|
|
|
top: 0;
|
|
|
|
|
|
bottom: 6px;
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
place-items: center;
|
|
|
|
|
|
width: 30px;
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.strip-arrow.left {
|
|
|
|
|
|
left: 0;
|
|
|
|
|
|
background: linear-gradient(90deg, rgb(26 33 43) 45%, transparent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.strip-arrow.right {
|
|
|
|
|
|
right: 0;
|
|
|
|
|
|
background: linear-gradient(270deg, rgb(26 33 43) 45%, transparent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.part-slot {
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.part-tile {
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 4px;
|
|
|
|
|
|
width: 100px;
|
|
|
|
|
|
height: 100px;
|
|
|
|
|
|
padding: 6px 6px 7px;
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: 10px;
|
|
|
|
|
|
background: var(--panel);
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
cursor: grab;
|
|
|
|
|
|
transition:
|
|
|
|
|
|
border-color 0.12s,
|
|
|
|
|
|
transform 0.12s;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.part-tile:hover {
|
|
|
|
|
|
border-color: var(--accent);
|
|
|
|
|
|
transform: translateY(-2px);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.part-tile.active {
|
|
|
|
|
|
border-color: var(--accent);
|
|
|
|
|
|
background: rgb(76 194 255 / 0.1);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.part-tile.blocked {
|
|
|
|
|
|
cursor: not-allowed;
|
|
|
|
|
|
opacity: 0.45;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.part-tile.blocked:hover {
|
|
|
|
|
|
transform: none;
|
|
|
|
|
|
border-color: var(--border);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.part-art {
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
place-items: center;
|
|
|
|
|
|
flex: 1;
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
min-height: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.part-thumb {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
max-height: 56px;
|
|
|
|
|
|
overflow: visible;
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.part-thumb .node.ghost {
|
|
|
|
|
|
opacity: 1;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.part-name {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
line-height: 1.2;
|
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.part-meta {
|
|
|
|
|
|
font-size: 10px;
|
|
|
|
|
|
line-height: 1;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.part-key {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
top: 5px;
|
|
|
|
|
|
left: 5px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.part-lock {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
top: 6px;
|
|
|
|
|
|
left: 6px;
|
|
|
|
|
|
color: var(--muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Pin (and edit) sit on the tile's top right corner, shown on pointing. */
|
|
|
|
|
|
.part-slot .pin-btn {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
top: 3px;
|
|
|
|
|
|
right: 3px;
|
|
|
|
|
|
width: 22px;
|
|
|
|
|
|
height: 22px;
|
|
|
|
|
|
background: var(--panel-2);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.part-slot .pin-btn.edit {
|
|
|
|
|
|
top: 27px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.part-slot:hover .pin-btn {
|
|
|
|
|
|
opacity: 1;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
|
|
.part-tile {
|
|
|
|
|
|
transition: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2026-10-23 10:43:08 +00:00
|
|
|
|
|
|
|
|
|
|
/* Pinned parts on the left, kinds of parts in the middle, search on the right. */
|
|
|
|
|
|
.bb-group {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 2px;
|
|
|
|
|
|
min-width: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.bb-group.pinned {
|
|
|
|
|
|
flex: 0 1 auto;
|
|
|
|
|
|
overflow-x: auto;
|
|
|
|
|
|
scrollbar-width: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.bb-group:not(.pinned) {
|
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.bb-group.end {
|
|
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@media (max-width: 820px) {
|
|
|
|
|
|
.bottom-dock {
|
|
|
|
|
|
bottom: calc(40% + 14px);
|
|
|
|
|
|
}
|
R bars and panels fit small windows, Main always in reach; A Space search opens components
The top and bottom bars keep their steady centred width on wide windows,
but never get narrower than 760px as far as the panels leave room, and
move off the centre rather than under a panel. On a narrow bar the words
go first, the names between Main and the open component fold into "…"
(a menu back to each), and sound, settings and help, then undo, redo and
share, then challenges and search move into a "⋯" menu. Main keeps its
house at every width; before, the rule that hid its label hid the icons
too, and on a squeezed bar the crumbs, Main with them, were cut off.
From 821 to 1100px the selection's panel floats over the canvas edge
between the bars instead of narrowing the canvas. The zoom buttons sit
above the parts bar where it reaches them. The challenges drop-down, the
flyouts and the search box stay on screen.
In the Space search, Shift+Enter (or Ctrl+Enter, or the pencil on a
component's line) opens the component to edit it instead of placing it,
and typing a name lists "Open <name>" for every circuit of the project,
also those that cannot be placed here; the one you are in shows as where
you are. A circuit on the way here is reached by going back along it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 17:10:54 +00:00
|
|
|
|
/* The canvas is the top 60%: a flyout stays below the top bar. */
|
|
|
|
|
|
.flyout {
|
|
|
|
|
|
max-height: min(460px, calc(60dvh - 140px));
|
|
|
|
|
|
}
|
2026-10-23 10:43:08 +00:00
|
|
|
|
}
|
2026-10-23 10:59:16 +00:00
|
|
|
|
|
|
|
|
|
|
.panel-rows .row-side.hz {
|
|
|
|
|
|
appearance: textfield;
|
|
|
|
|
|
-moz-appearance: textfield;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.panel-rows .row-side.hz::-webkit-inner-spin-button,
|
|
|
|
|
|
.panel-rows .row-side.hz::-webkit-outer-spin-button {
|
|
|
|
|
|
-webkit-appearance: none;
|
|
|
|
|
|
margin: 0;
|
|
|
|
|
|
}
|
BF jumps always on top of what they cross; R circuit commands in a menu on its name, the side panel only says what it is
A jump is drawn once more over every line, so a cable that arches over
another is never hidden under it, whatever order they are drawn in. Cable
labels sit on the longest stretch no other line crosses.
The circuit's name in the top bar opens what can be done with it: tidy
its wires or every circuit's, design its box, duplicate, delete, print,
export SVG, publish as a puzzle. The This panel keeps what the circuit is:
its health, its numbers (the transistors tile opens their breakdown), its
truth table and how it looks as a part. Unused components are a tab of
the Components list in the parts bar, with a delete button on each.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-23 13:12:43 +00:00
|
|
|
|
|
|
|
|
|
|
/* A jump drawn once more on top of what it crosses: only for looks. */
|
|
|
|
|
|
.wire.jump path {
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.top-bar .bar-btn.here {
|
|
|
|
|
|
color: var(--text);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.tile.active {
|
|
|
|
|
|
border-color: var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.part-tabs .unused-tab {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 4px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.part-slot .pin-btn.drop-btn:hover {
|
|
|
|
|
|
color: var(--danger);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.part-slot .pin-btn.drop-btn.confirm {
|
|
|
|
|
|
width: auto;
|
|
|
|
|
|
gap: 3px;
|
|
|
|
|
|
padding: 0 6px;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
color: #fff;
|
|
|
|
|
|
background: var(--danger);
|
|
|
|
|
|
opacity: 1;
|
|
|
|
|
|
}
|
2026-10-23 13:34:36 +00:00
|
|
|
|
|
|
|
|
|
|
/* A part latched onto another: a contact strip along the joint, a clamp at each end. */
|
|
|
|
|
|
.part-latch {
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.part-latch .contact {
|
|
|
|
|
|
stroke: #3a4554;
|
|
|
|
|
|
stroke-width: 2.5;
|
|
|
|
|
|
stroke-linecap: round;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.part-latch rect {
|
|
|
|
|
|
fill: #7a8698;
|
|
|
|
|
|
stroke: #10151c;
|
|
|
|
|
|
stroke-width: 1;
|
|
|
|
|
|
}
|