Revamp UI visual system and add in-product net color legend
@ -51,6 +51,18 @@
|
|||||||
<input id="netFilter" placeholder="Filter nets" aria-label="Filter nets" />
|
<input id="netFilter" placeholder="Filter nets" aria-label="Filter nets" />
|
||||||
<ul id="netList" class="list" aria-label="Nets list"></ul>
|
<ul id="netList" class="list" aria-label="Nets list"></ul>
|
||||||
</section>
|
</section>
|
||||||
|
<section class="legendSection" aria-label="Net color legend">
|
||||||
|
<div class="sectionHead">
|
||||||
|
<h2>Legend</h2>
|
||||||
|
</div>
|
||||||
|
<div class="netLegend">
|
||||||
|
<div class="legendRow"><span class="legendSwatch legendPower"></span>Power</div>
|
||||||
|
<div class="legendRow"><span class="legendSwatch legendGround"></span>Ground</div>
|
||||||
|
<div class="legendRow"><span class="legendSwatch legendClock"></span>Clock</div>
|
||||||
|
<div class="legendRow"><span class="legendSwatch legendSignal"></span>Signal</div>
|
||||||
|
<div class="legendRow"><span class="legendSwatch legendAnalog"></span>Analog</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
</aside>
|
</aside>
|
||||||
|
|
||||||
<section class="pane center">
|
<section class="pane center">
|
||||||
|
|||||||
@ -1,56 +1,50 @@
|
|||||||
:root {
|
:root {
|
||||||
--bg: #eef2f6;
|
--bg-0: #f5f7fb;
|
||||||
--panel: #ffffff;
|
--bg-1: #ebf1f8;
|
||||||
--ink: #1d2939;
|
--bg-2: #dce8f4;
|
||||||
--ink-soft: #667085;
|
--panel: #fbfdff;
|
||||||
--line: #d0d5dd;
|
--panel-strong: #ffffff;
|
||||||
--accent: #155eef;
|
--canvas: #f4f8fd;
|
||||||
--accent-soft: #dbe8ff;
|
--ink: #0f1728;
|
||||||
--warn: #b54708;
|
--ink-muted: #4a607c;
|
||||||
--error: #b42318;
|
--ink-subtle: #7388a3;
|
||||||
--ok: #067647;
|
--line: #c8d5e4;
|
||||||
|
--line-strong: #9db1c9;
|
||||||
|
--accent: #1565d8;
|
||||||
|
--accent-strong: #0f4dab;
|
||||||
|
--accent-soft: #e6f0ff;
|
||||||
|
--ok: #0f7a49;
|
||||||
|
--warn: #9b6200;
|
||||||
|
--err: #ac2f24;
|
||||||
|
--power: #d6691f;
|
||||||
|
--ground: #60748d;
|
||||||
|
--clock: #d35c2f;
|
||||||
|
--signal: #2f72e7;
|
||||||
|
--analog: #0d978e;
|
||||||
|
--radius-sm: 8px;
|
||||||
|
--radius-md: 12px;
|
||||||
|
--radius-lg: 16px;
|
||||||
|
--shadow-1: 0 1px 2px rgba(16, 24, 40, 0.08);
|
||||||
|
--shadow-2: 0 10px 24px rgba(16, 24, 40, 0.08);
|
||||||
}
|
}
|
||||||
|
|
||||||
* {
|
* {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
html,
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-family: "Manrope", "Segoe UI", sans-serif;
|
min-height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family: "IBM Plex Sans", "Manrope", "Segoe UI", sans-serif;
|
||||||
color: var(--ink);
|
color: var(--ink);
|
||||||
background: radial-gradient(circle at 8% 8%, #fef7e6, transparent 30%),
|
background:
|
||||||
radial-gradient(circle at 88% 12%, #e0f2ff, transparent 30%), var(--bg);
|
radial-gradient(circle at 0% 0%, #fff4de 0 20%, transparent 30%),
|
||||||
min-height: 100vh;
|
radial-gradient(circle at 96% 5%, #dbf2ff 0 18%, transparent 28%),
|
||||||
}
|
linear-gradient(180deg, var(--bg-1), var(--bg-0));
|
||||||
|
|
||||||
.topbar {
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-between;
|
|
||||||
align-items: center;
|
|
||||||
padding: 10px 12px;
|
|
||||||
border-bottom: 1px solid var(--line);
|
|
||||||
background: #f7fbffde;
|
|
||||||
backdrop-filter: blur(4px);
|
|
||||||
}
|
|
||||||
|
|
||||||
.brand h1 {
|
|
||||||
margin: 0;
|
|
||||||
font-size: 1.2rem;
|
|
||||||
letter-spacing: 0.08em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.brand p {
|
|
||||||
margin: 2px 0 0;
|
|
||||||
color: var(--ink-soft);
|
|
||||||
font-size: 0.8rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.actions {
|
|
||||||
display: flex;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
gap: 8px;
|
|
||||||
align-items: center;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
button,
|
button,
|
||||||
@ -60,44 +54,101 @@ textarea {
|
|||||||
font: inherit;
|
font: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
button,
|
||||||
border: 1px solid var(--line);
|
input,
|
||||||
border-radius: 8px;
|
select,
|
||||||
background: #fff;
|
textarea,
|
||||||
padding: 6px 10px;
|
.list li,
|
||||||
color: var(--ink);
|
details > summary {
|
||||||
cursor: pointer;
|
transition: background-color 120ms ease, border-color 120ms ease, box-shadow 120ms ease, color 120ms ease;
|
||||||
}
|
|
||||||
|
|
||||||
button:disabled {
|
|
||||||
opacity: 0.5;
|
|
||||||
cursor: not-allowed;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
button:focus-visible,
|
button:focus-visible,
|
||||||
input:focus-visible,
|
input:focus-visible,
|
||||||
select:focus-visible,
|
select:focus-visible,
|
||||||
textarea:focus-visible,
|
textarea:focus-visible,
|
||||||
.list li:focus-visible {
|
.list li:focus-visible,
|
||||||
outline: 2px solid #155eef;
|
details > summary:focus-visible {
|
||||||
|
outline: 2px solid var(--accent);
|
||||||
outline-offset: 1px;
|
outline-offset: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
border: 1px solid var(--line);
|
||||||
|
border-radius: var(--radius-sm);
|
||||||
|
background: var(--panel-strong);
|
||||||
|
color: var(--ink);
|
||||||
|
padding: 6px 11px;
|
||||||
|
cursor: pointer;
|
||||||
|
box-shadow: var(--shadow-1);
|
||||||
|
}
|
||||||
|
|
||||||
|
button:hover {
|
||||||
|
border-color: var(--line-strong);
|
||||||
|
background: #f3f8ff;
|
||||||
|
}
|
||||||
|
|
||||||
|
button:disabled {
|
||||||
|
opacity: 0.48;
|
||||||
|
cursor: not-allowed;
|
||||||
|
}
|
||||||
|
|
||||||
button.primary {
|
button.primary {
|
||||||
|
border-color: var(--accent);
|
||||||
background: var(--accent);
|
background: var(--accent);
|
||||||
color: #fff;
|
color: #fff;
|
||||||
border-color: var(--accent);
|
}
|
||||||
|
|
||||||
|
button.primary:hover {
|
||||||
|
background: var(--accent-strong);
|
||||||
|
border-color: var(--accent-strong);
|
||||||
}
|
}
|
||||||
|
|
||||||
button.chip {
|
button.chip {
|
||||||
padding: 4px 8px;
|
padding: 4px 9px;
|
||||||
font-size: 0.76rem;
|
font-size: 0.76rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
button.activeChip {
|
button.activeChip {
|
||||||
background: var(--accent-soft);
|
background: var(--accent-soft);
|
||||||
border-color: var(--accent);
|
border-color: var(--accent);
|
||||||
color: #0f3ea3;
|
color: var(--accent-strong);
|
||||||
|
}
|
||||||
|
|
||||||
|
.topbar {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
gap: 14px;
|
||||||
|
padding: 10px 12px;
|
||||||
|
border-bottom: 1px solid var(--line);
|
||||||
|
background: linear-gradient(180deg, #f9fcff, #f2f8ff);
|
||||||
|
backdrop-filter: blur(2px);
|
||||||
|
position: sticky;
|
||||||
|
top: 0;
|
||||||
|
z-index: 40;
|
||||||
|
}
|
||||||
|
|
||||||
|
.brand h1 {
|
||||||
|
margin: 0;
|
||||||
|
font-size: 1.6rem;
|
||||||
|
letter-spacing: 0.08em;
|
||||||
|
line-height: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.brand p {
|
||||||
|
margin: 2px 0 0;
|
||||||
|
font-size: 0.84rem;
|
||||||
|
color: var(--ink-muted);
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
.actions {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
justify-content: flex-end;
|
||||||
|
align-items: center;
|
||||||
|
gap: 7px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.inlineSelect,
|
.inlineSelect,
|
||||||
@ -109,24 +160,22 @@ button.activeChip {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.inlineSelect select {
|
.inlineSelect select {
|
||||||
border: 1px solid var(--line);
|
min-width: 138px;
|
||||||
border-radius: 8px;
|
|
||||||
padding: 5px 8px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace {
|
.workspace {
|
||||||
height: calc(100vh - 65px);
|
height: calc(100vh - 77px);
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 270px minmax(480px, 1fr) 380px;
|
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
|
grid-template-columns: 270px minmax(520px, 1fr) 392px;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pane {
|
.pane {
|
||||||
background: var(--panel);
|
|
||||||
border: 1px solid var(--line);
|
border: 1px solid var(--line);
|
||||||
border-radius: 12px;
|
border-radius: var(--radius-md);
|
||||||
overflow: hidden;
|
background: linear-gradient(180deg, var(--panel), #f6faff);
|
||||||
|
box-shadow: var(--shadow-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.pane.left,
|
.pane.left,
|
||||||
@ -138,16 +187,27 @@ button.activeChip {
|
|||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.pane.center {
|
||||||
|
overflow: hidden;
|
||||||
|
background: linear-gradient(180deg, #fcfeff, #f6faff);
|
||||||
|
}
|
||||||
|
|
||||||
.sectionHead {
|
.sectionHead {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sectionHead h2 {
|
.sectionHead h2 {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-size: 0.9rem;
|
font-size: 0.92rem;
|
||||||
|
color: var(--ink);
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
margin: 0;
|
||||||
|
font-size: 0.94rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
input,
|
input,
|
||||||
@ -155,32 +215,44 @@ textarea,
|
|||||||
select {
|
select {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border: 1px solid var(--line);
|
border: 1px solid var(--line);
|
||||||
border-radius: 8px;
|
border-radius: var(--radius-sm);
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
|
background: #fff;
|
||||||
color: var(--ink);
|
color: var(--ink);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
input::placeholder,
|
||||||
|
textarea::placeholder {
|
||||||
|
color: var(--ink-subtle);
|
||||||
|
}
|
||||||
|
|
||||||
textarea {
|
textarea {
|
||||||
min-height: 250px;
|
min-height: 250px;
|
||||||
font-family: "JetBrains Mono", monospace;
|
font-family: "JetBrains Mono", "IBM Plex Mono", monospace;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
line-height: 1.45;
|
line-height: 1.42;
|
||||||
}
|
}
|
||||||
|
|
||||||
.list {
|
.list {
|
||||||
margin: 8px 0 0;
|
margin: 8px 0 0;
|
||||||
padding: 0;
|
|
||||||
list-style: none;
|
list-style: none;
|
||||||
max-height: 230px;
|
padding: 0;
|
||||||
|
max-height: 250px;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
border: 1px solid var(--line);
|
border: 1px solid var(--line);
|
||||||
border-radius: 8px;
|
border-radius: var(--radius-sm);
|
||||||
|
background: rgba(255, 255, 255, 0.72);
|
||||||
}
|
}
|
||||||
|
|
||||||
.list li {
|
.list li {
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
border-bottom: 1px solid var(--line);
|
border-bottom: 1px solid var(--line);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
color: var(--ink);
|
||||||
|
}
|
||||||
|
|
||||||
|
.list li:hover {
|
||||||
|
background: #f2f7ff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.list li:last-child {
|
.list li:last-child {
|
||||||
@ -189,6 +261,8 @@ textarea {
|
|||||||
|
|
||||||
.list li.active {
|
.list li.active {
|
||||||
background: var(--accent-soft);
|
background: var(--accent-soft);
|
||||||
|
color: #0b3a84;
|
||||||
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
.list li.listSpacer {
|
.list li.listSpacer {
|
||||||
@ -198,11 +272,60 @@ textarea {
|
|||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.legendSection {
|
||||||
|
margin-top: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.netLegend {
|
||||||
|
border: 1px solid var(--line);
|
||||||
|
border-radius: var(--radius-sm);
|
||||||
|
background: #fbfdff;
|
||||||
|
padding: 8px;
|
||||||
|
display: grid;
|
||||||
|
gap: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.legendRow {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 8px;
|
||||||
|
font-size: 0.8rem;
|
||||||
|
color: var(--ink-muted);
|
||||||
|
}
|
||||||
|
|
||||||
|
.legendSwatch {
|
||||||
|
display: inline-block;
|
||||||
|
width: 20px;
|
||||||
|
height: 0;
|
||||||
|
border-top: 3px solid var(--line-strong);
|
||||||
|
}
|
||||||
|
|
||||||
|
.legendPower {
|
||||||
|
border-top-color: var(--power);
|
||||||
|
}
|
||||||
|
|
||||||
|
.legendGround {
|
||||||
|
border-top-color: var(--ground);
|
||||||
|
}
|
||||||
|
|
||||||
|
.legendClock {
|
||||||
|
border-top-color: var(--clock);
|
||||||
|
}
|
||||||
|
|
||||||
|
.legendSignal {
|
||||||
|
border-top-color: var(--signal);
|
||||||
|
}
|
||||||
|
|
||||||
|
.legendAnalog {
|
||||||
|
border-top-color: var(--analog);
|
||||||
|
}
|
||||||
|
|
||||||
.card {
|
.card {
|
||||||
border: 1px solid var(--line);
|
border: 1px solid var(--line);
|
||||||
border-radius: 8px;
|
border-radius: var(--radius-sm);
|
||||||
|
background: #fbfdff;
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
color: var(--ink-soft);
|
color: var(--ink-muted);
|
||||||
font-size: 0.85rem;
|
font-size: 0.85rem;
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
}
|
}
|
||||||
@ -210,9 +333,9 @@ textarea {
|
|||||||
.editorCard {
|
.editorCard {
|
||||||
margin-top: 8px;
|
margin-top: 8px;
|
||||||
border: 1px solid var(--line);
|
border: 1px solid var(--line);
|
||||||
border-radius: 8px;
|
border-radius: var(--radius-sm);
|
||||||
padding: 8px;
|
padding: 9px;
|
||||||
background: #fcfcfd;
|
background: #f8fbff;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
@ -220,9 +343,10 @@ textarea {
|
|||||||
|
|
||||||
.editorSection {
|
.editorSection {
|
||||||
border: 1px solid var(--line);
|
border: 1px solid var(--line);
|
||||||
border-radius: 8px;
|
border-radius: var(--radius-sm);
|
||||||
margin-top: 8px;
|
margin-top: 8px;
|
||||||
background: #fff;
|
background: #ffffffcc;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.editorSection > summary {
|
.editorSection > summary {
|
||||||
@ -232,11 +356,15 @@ textarea {
|
|||||||
font-size: 0.8rem;
|
font-size: 0.8rem;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
color: var(--ink);
|
color: var(--ink);
|
||||||
border-bottom: 1px solid transparent;
|
}
|
||||||
|
|
||||||
|
.editorSection > summary:hover {
|
||||||
|
background: #f3f8ff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.editorSection[open] > summary {
|
.editorSection[open] > summary {
|
||||||
border-bottom-color: var(--line);
|
border-bottom: 1px solid var(--line);
|
||||||
|
background: #eef4ff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.editorSection > summary::-webkit-details-marker {
|
.editorSection > summary::-webkit-details-marker {
|
||||||
@ -251,27 +379,27 @@ textarea {
|
|||||||
|
|
||||||
.editorActions {
|
.editorActions {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 8px;
|
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
gap: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hintText {
|
.hintText {
|
||||||
font-size: 0.8rem;
|
font-size: 0.8rem;
|
||||||
color: var(--ink-soft);
|
color: var(--ink-muted);
|
||||||
}
|
}
|
||||||
|
|
||||||
.miniList {
|
.miniList {
|
||||||
border: 1px solid var(--line);
|
border: 1px solid var(--line);
|
||||||
border-radius: 8px;
|
border-radius: var(--radius-sm);
|
||||||
background: #fff;
|
background: #fff;
|
||||||
max-height: 170px;
|
max-height: 180px;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.miniRow {
|
.miniRow {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
padding: 6px 8px;
|
padding: 6px 8px;
|
||||||
border-bottom: 1px solid var(--line);
|
border-bottom: 1px solid var(--line);
|
||||||
@ -284,47 +412,48 @@ textarea {
|
|||||||
|
|
||||||
.symbolPinRow {
|
.symbolPinRow {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 1fr 0.9fr 0.9fr 0.8fr 1fr auto auto auto;
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
grid-template-columns: 1fr 0.9fr 0.9fr 0.8fr 1fr auto auto auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pinCol {
|
.pinCol {
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
padding: 5px 6px;
|
padding: 5px 6px;
|
||||||
font-size: 0.75rem;
|
font-size: 0.76rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.symbolPinRow.invalidRow {
|
.symbolPinRow.invalidRow {
|
||||||
background: #fff3f2;
|
background: #fff3f1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.symbolValidationError {
|
.symbolValidationError {
|
||||||
color: var(--error);
|
color: var(--err);
|
||||||
font-size: 0.76rem;
|
font-size: 0.76rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.migrationPreview {
|
.migrationPreview {
|
||||||
border: 1px solid var(--line);
|
border: 1px solid var(--line);
|
||||||
border-radius: 8px;
|
border-radius: var(--radius-sm);
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
background: #f8fafc;
|
margin: 6px 0;
|
||||||
margin-top: 6px;
|
|
||||||
margin-bottom: 6px;
|
|
||||||
line-height: 1.35;
|
line-height: 1.35;
|
||||||
|
background: #f5f9ff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.canvasTools {
|
.canvasTools {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 8px;
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
border-bottom: 1px solid var(--line);
|
gap: 8px;
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
|
border-bottom: 1px solid var(--line);
|
||||||
|
background: linear-gradient(180deg, #f8fbff, #f2f7ff);
|
||||||
}
|
}
|
||||||
|
|
||||||
#compileStatus {
|
#compileStatus {
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
color: var(--ink-soft);
|
color: var(--ink-muted);
|
||||||
font-size: 0.84rem;
|
font-size: 0.84rem;
|
||||||
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
.status-ok {
|
.status-ok {
|
||||||
@ -333,12 +462,14 @@ textarea {
|
|||||||
|
|
||||||
.canvasViewport {
|
.canvasViewport {
|
||||||
height: calc(100% - 52px);
|
height: calc(100% - 52px);
|
||||||
overflow: hidden;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
|
overflow: hidden;
|
||||||
cursor: grab;
|
cursor: grab;
|
||||||
background-image: linear-gradient(0deg, #ebeff3 1px, transparent 1px),
|
background:
|
||||||
linear-gradient(90deg, #ebeff3 1px, transparent 1px);
|
linear-gradient(0deg, #d9e4f0 1px, transparent 1px),
|
||||||
background-size: 20px 20px;
|
linear-gradient(90deg, #d9e4f0 1px, transparent 1px),
|
||||||
|
linear-gradient(180deg, var(--canvas), #edf4fc);
|
||||||
|
background-size: 20px 20px, 20px 20px, auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.canvasViewport.dragging {
|
.canvasViewport.dragging {
|
||||||
@ -346,10 +477,10 @@ textarea {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.canvasInner {
|
.canvasInner {
|
||||||
transform-origin: 0 0;
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
|
||||||
top: 0;
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
transform-origin: 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.canvasInner svg {
|
.canvasInner svg {
|
||||||
@ -358,10 +489,23 @@ textarea {
|
|||||||
|
|
||||||
.selectionBox {
|
.selectionBox {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
border: 1px solid #155eef;
|
|
||||||
background: rgba(21, 94, 239, 0.12);
|
|
||||||
pointer-events: none;
|
|
||||||
z-index: 15;
|
z-index: 15;
|
||||||
|
pointer-events: none;
|
||||||
|
border: 1px solid var(--accent);
|
||||||
|
background: rgba(21, 101, 216, 0.12);
|
||||||
|
}
|
||||||
|
|
||||||
|
.pinTooltip {
|
||||||
|
position: absolute;
|
||||||
|
z-index: 20;
|
||||||
|
pointer-events: none;
|
||||||
|
border: 1px solid var(--line);
|
||||||
|
border-radius: var(--radius-sm);
|
||||||
|
padding: 6px 8px;
|
||||||
|
color: var(--ink);
|
||||||
|
background: rgba(255, 255, 255, 0.95);
|
||||||
|
box-shadow: var(--shadow-2);
|
||||||
|
font-size: 0.74rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hidden {
|
.hidden {
|
||||||
@ -375,20 +519,20 @@ textarea {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.jsonActions button {
|
.jsonActions button {
|
||||||
|
font-size: 0.77rem;
|
||||||
padding: 4px 8px;
|
padding: 4px 8px;
|
||||||
font-size: 0.78rem;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.jsonFeedback {
|
.jsonFeedback {
|
||||||
min-height: 18px;
|
min-height: 18px;
|
||||||
color: var(--ink-soft);
|
|
||||||
font-size: 0.78rem;
|
|
||||||
margin-bottom: 6px;
|
margin-bottom: 6px;
|
||||||
|
color: var(--ink-muted);
|
||||||
|
font-size: 0.78rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.issueRow {
|
.issueRow {
|
||||||
border: 1px solid var(--line);
|
border: 1px solid var(--line);
|
||||||
border-radius: 7px;
|
border-radius: 8px;
|
||||||
padding: 7px;
|
padding: 7px;
|
||||||
margin-bottom: 6px;
|
margin-bottom: 6px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@ -396,51 +540,39 @@ textarea {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.issueRow:hover {
|
.issueRow:hover {
|
||||||
background: #f8faff;
|
background: #f4f8ff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.issueErr {
|
.issueErr {
|
||||||
border-color: #fecdca;
|
border-color: #f3bab5;
|
||||||
background: #fff6f5;
|
background: #fff5f4;
|
||||||
}
|
}
|
||||||
|
|
||||||
.issueWarn {
|
.issueWarn {
|
||||||
border-color: #fedf89;
|
border-color: #f0d28b;
|
||||||
background: #fffcf5;
|
background: #fffaf0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.issueTitle {
|
.issueTitle {
|
||||||
font-size: 0.8rem;
|
font-size: 0.8rem;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
|
color: var(--ink);
|
||||||
}
|
}
|
||||||
|
|
||||||
.issueMeta {
|
.issueMeta {
|
||||||
font-size: 0.72rem;
|
font-size: 0.72rem;
|
||||||
color: var(--ink-soft);
|
color: var(--ink-muted);
|
||||||
}
|
|
||||||
|
|
||||||
.pinTooltip {
|
|
||||||
position: absolute;
|
|
||||||
pointer-events: none;
|
|
||||||
padding: 6px 8px;
|
|
||||||
border: 1px solid var(--line);
|
|
||||||
border-radius: 8px;
|
|
||||||
background: #ffffffee;
|
|
||||||
color: var(--ink);
|
|
||||||
font-size: 0.74rem;
|
|
||||||
z-index: 20;
|
|
||||||
box-shadow: 0 6px 20px rgba(16, 24, 40, 0.12);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal {
|
.modal {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
inset: 0;
|
inset: 0;
|
||||||
background: rgba(15, 23, 42, 0.45);
|
|
||||||
z-index: 70;
|
z-index: 70;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
padding: 18px;
|
padding: 18px;
|
||||||
|
background: rgba(14, 22, 36, 0.54);
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal.hidden {
|
.modal.hidden {
|
||||||
@ -450,9 +582,10 @@ textarea {
|
|||||||
.modalCard {
|
.modalCard {
|
||||||
width: min(1120px, 100%);
|
width: min(1120px, 100%);
|
||||||
height: min(88vh, 900px);
|
height: min(88vh, 900px);
|
||||||
background: #fff;
|
|
||||||
border: 1px solid var(--line);
|
border: 1px solid var(--line);
|
||||||
border-radius: 12px;
|
border-radius: var(--radius-lg);
|
||||||
|
background: #fff;
|
||||||
|
box-shadow: 0 24px 60px rgba(16, 24, 40, 0.24);
|
||||||
padding: 12px;
|
padding: 12px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@ -461,19 +594,19 @@ textarea {
|
|||||||
|
|
||||||
.modalHead {
|
.modalHead {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modalHead h3 {
|
.modalHead h3 {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-size: 0.95rem;
|
font-size: 0.96rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modalHint {
|
.modalHint {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
color: var(--ink-soft);
|
color: var(--ink-muted);
|
||||||
font-size: 0.8rem;
|
font-size: 0.8rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -495,14 +628,38 @@ textarea {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 1460px) {
|
||||||
|
.workspace {
|
||||||
|
grid-template-columns: 248px minmax(420px, 1fr) 360px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@media (max-width: 1300px) {
|
@media (max-width: 1300px) {
|
||||||
.workspace {
|
.workspace {
|
||||||
|
height: auto;
|
||||||
grid-template-columns: 1fr;
|
grid-template-columns: 1fr;
|
||||||
grid-template-rows: auto auto auto;
|
grid-template-rows: auto auto auto;
|
||||||
height: auto;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.pane.center {
|
.pane.center {
|
||||||
min-height: 560px;
|
min-height: 600px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 820px) {
|
||||||
|
.topbar {
|
||||||
|
position: static;
|
||||||
|
}
|
||||||
|
|
||||||
|
.brand h1 {
|
||||||
|
font-size: 1.3rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.actions {
|
||||||
|
justify-content: flex-start;
|
||||||
|
}
|
||||||
|
|
||||||
|
.editorGrid {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 183 KiB After Width: | Height: | Size: 229 KiB |
|
Before Width: | Height: | Size: 126 KiB After Width: | Height: | Size: 170 KiB |
|
Before Width: | Height: | Size: 126 KiB After Width: | Height: | Size: 176 KiB |
|
Before Width: | Height: | Size: 127 KiB After Width: | Height: | Size: 170 KiB |
|
Before Width: | Height: | Size: 125 KiB After Width: | Height: | Size: 164 KiB |