feat(usable): package gui-host validation snapshot
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -1,20 +1,44 @@
|
||||
:root {
|
||||
html[data-theme="dark"] {
|
||||
color-scheme: dark;
|
||||
--bg: #0f1115;
|
||||
--panel: #141821;
|
||||
--panel-muted: #10141c;
|
||||
--panel-strong: #1a202b;
|
||||
--border: #273041;
|
||||
--text: #e6e8ee;
|
||||
--muted: #9da7b8;
|
||||
--accent: #7dd3fc;
|
||||
--accent-soft: rgba(125, 211, 252, 0.12);
|
||||
--success: #7dd3a0;
|
||||
--warning: #f5c26b;
|
||||
--danger: #f09c9c;
|
||||
--shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
|
||||
--radius: 14px;
|
||||
--radius-sm: 10px;
|
||||
--bg: #11141a;
|
||||
--bg-elevated: #161b22;
|
||||
--panel: #171d25;
|
||||
--panel-muted: #11161d;
|
||||
--panel-strong: #202835;
|
||||
--border: #2a3341;
|
||||
--border-strong: #3a4759;
|
||||
--text: #e6ebf2;
|
||||
--muted: #9aa6b6;
|
||||
--accent: #8bb8ff;
|
||||
--accent-soft: rgba(139, 184, 255, 0.14);
|
||||
--success: #7bc59a;
|
||||
--warning: #d7b26d;
|
||||
--danger: #e09a9a;
|
||||
--shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
html[data-theme="light"] {
|
||||
color-scheme: light;
|
||||
--bg: #eef2f6;
|
||||
--bg-elevated: #f6f8fb;
|
||||
--panel: #fbfcfe;
|
||||
--panel-muted: #f3f6fa;
|
||||
--panel-strong: #e9eef5;
|
||||
--border: #d7dde7;
|
||||
--border-strong: #c2cddd;
|
||||
--text: #162031;
|
||||
--muted: #5f6f84;
|
||||
--accent: #3667d6;
|
||||
--accent-soft: rgba(54, 103, 214, 0.1);
|
||||
--success: #237a4b;
|
||||
--warning: #946400;
|
||||
--danger: #af3a3a;
|
||||
--shadow: 0 16px 36px rgba(18, 30, 46, 0.08);
|
||||
}
|
||||
|
||||
:root {
|
||||
--radius: 16px;
|
||||
--radius-sm: 12px;
|
||||
--font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
||||
--mono: "SFMono-Regular", ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, monospace;
|
||||
}
|
||||
@@ -26,13 +50,15 @@
|
||||
body {
|
||||
margin: 0;
|
||||
min-height: 100vh;
|
||||
background:
|
||||
radial-gradient(circle at top, rgba(125, 211, 252, 0.07), transparent 25%),
|
||||
linear-gradient(180deg, #0d1016 0%, #0f1115 100%);
|
||||
background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 100%);
|
||||
color: var(--text);
|
||||
font-family: var(--font);
|
||||
}
|
||||
|
||||
body.has-modal {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
button,
|
||||
input,
|
||||
textarea,
|
||||
@@ -42,21 +68,21 @@ select {
|
||||
|
||||
.app-shell {
|
||||
min-height: 100vh;
|
||||
padding: 18px;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.topbar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
padding: 18px 22px;
|
||||
gap: 18px;
|
||||
padding: 20px 24px;
|
||||
margin-bottom: 16px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius);
|
||||
background: rgba(20, 24, 33, 0.82);
|
||||
background: rgba(255, 255, 255, 0.04);
|
||||
box-shadow: var(--shadow);
|
||||
backdrop-filter: blur(12px);
|
||||
backdrop-filter: blur(10px);
|
||||
}
|
||||
|
||||
.topbar__brand,
|
||||
@@ -67,7 +93,10 @@ select {
|
||||
.toolbar-actions,
|
||||
.bottom-tabs,
|
||||
.export-box,
|
||||
.export-actions {
|
||||
.export-actions,
|
||||
.connection-card__head,
|
||||
.connection-card__meta,
|
||||
.status-shortcuts {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
@@ -78,20 +107,34 @@ select {
|
||||
.panel-section h2 {
|
||||
margin: 0;
|
||||
font-size: 16px;
|
||||
letter-spacing: -0.01em;
|
||||
}
|
||||
|
||||
.topbar__copy {
|
||||
margin: 8px 0 0;
|
||||
max-width: 620px;
|
||||
color: var(--muted);
|
||||
font-size: 13px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.brand-mark {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border: 1px solid rgba(125, 211, 252, 0.3);
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
border: 1px solid color-mix(in srgb, var(--accent) 36%, var(--border));
|
||||
border-radius: 12px;
|
||||
background: var(--accent-soft);
|
||||
color: var(--accent);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.topbar__context {
|
||||
justify-content: flex-end;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.eyebrow {
|
||||
margin: 0 0 4px;
|
||||
color: var(--muted);
|
||||
@@ -100,17 +143,47 @@ select {
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.workspace-summary {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
gap: 14px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.summary-card {
|
||||
padding: 16px 18px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius);
|
||||
background: var(--panel);
|
||||
box-shadow: var(--shadow);
|
||||
}
|
||||
|
||||
.summary-card strong {
|
||||
display: block;
|
||||
margin-top: 6px;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.summary-card p,
|
||||
.summary-card__label,
|
||||
.pill-label,
|
||||
.result-summary span {
|
||||
margin: 6px 0 0;
|
||||
color: var(--muted);
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.workspace {
|
||||
display: grid;
|
||||
grid-template-columns: 280px minmax(640px, 1fr) 280px;
|
||||
gap: 16px;
|
||||
min-height: calc(100vh - 124px);
|
||||
min-height: calc(100vh - 222px);
|
||||
}
|
||||
|
||||
.panel {
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius);
|
||||
background: rgba(20, 24, 33, 0.9);
|
||||
background: var(--panel);
|
||||
box-shadow: var(--shadow);
|
||||
overflow: hidden;
|
||||
}
|
||||
@@ -123,13 +196,15 @@ select {
|
||||
|
||||
.panel--main {
|
||||
display: grid;
|
||||
grid-template-rows: auto minmax(240px, 1fr) auto minmax(260px, 0.9fr);
|
||||
grid-template-rows: auto auto minmax(260px, 1fr) auto minmax(280px, 0.92fr) auto;
|
||||
}
|
||||
|
||||
.panel-section,
|
||||
.editor-toolbar,
|
||||
.context-strip,
|
||||
.execution-banner,
|
||||
.bottom-panel {
|
||||
.bottom-panel,
|
||||
.status-bar {
|
||||
padding: 18px;
|
||||
}
|
||||
|
||||
@@ -146,9 +221,11 @@ select {
|
||||
.search-field,
|
||||
.info-card,
|
||||
.log-row,
|
||||
.problem-box {
|
||||
.problem-box,
|
||||
.summary-card,
|
||||
.result-summary {
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 999px;
|
||||
border-radius: 14px;
|
||||
}
|
||||
|
||||
.ghost-button,
|
||||
@@ -156,6 +233,7 @@ select {
|
||||
.toolbar-tab,
|
||||
.bottom-tab {
|
||||
cursor: pointer;
|
||||
transition: border-color 120ms ease, background 120ms ease, color 120ms ease, transform 120ms ease;
|
||||
}
|
||||
|
||||
.ghost-button,
|
||||
@@ -167,6 +245,21 @@ select {
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.ghost-button:hover,
|
||||
.action-button:hover,
|
||||
.toolbar-tab:hover,
|
||||
.bottom-tab:hover,
|
||||
.connection-card:hover,
|
||||
.tree-item:hover {
|
||||
border-color: var(--border-strong);
|
||||
}
|
||||
|
||||
.ghost-button:disabled,
|
||||
.action-button:disabled {
|
||||
cursor: not-allowed;
|
||||
opacity: 0.55;
|
||||
}
|
||||
|
||||
.ghost-button--small {
|
||||
padding: 6px 10px;
|
||||
}
|
||||
@@ -178,17 +271,17 @@ select {
|
||||
}
|
||||
|
||||
.action-button--primary {
|
||||
border-color: rgba(125, 211, 252, 0.28);
|
||||
background: rgba(125, 211, 252, 0.16);
|
||||
color: #dff6ff;
|
||||
border-color: color-mix(in srgb, var(--accent) 32%, var(--border));
|
||||
background: var(--accent-soft);
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.connection-pill,
|
||||
.pill {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 7px 11px;
|
||||
gap: 10px;
|
||||
padding: 9px 12px;
|
||||
background: var(--panel-muted);
|
||||
}
|
||||
|
||||
@@ -221,10 +314,8 @@ select {
|
||||
}
|
||||
|
||||
.connection-card {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
width: 100%;
|
||||
padding: 14px;
|
||||
border: 1px solid var(--border);
|
||||
@@ -245,35 +336,108 @@ select {
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.connection-card.is-active {
|
||||
border-color: rgba(125, 211, 252, 0.4);
|
||||
background: rgba(125, 211, 252, 0.08);
|
||||
.connection-card__head,
|
||||
.connection-card__meta {
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.tree details {
|
||||
.connection-card__meta {
|
||||
color: var(--muted);
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.connection-card.is-active {
|
||||
border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
|
||||
background: var(--accent-soft);
|
||||
}
|
||||
|
||||
.search-field {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
border-radius: var(--radius-sm);
|
||||
}
|
||||
|
||||
.search-field input {
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
outline: none;
|
||||
background: transparent;
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.tree-group {
|
||||
padding: 10px 12px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-sm);
|
||||
background: var(--panel-muted);
|
||||
}
|
||||
|
||||
.tree-group[hidden],
|
||||
.tree-item[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.tree summary {
|
||||
cursor: pointer;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.tree ul {
|
||||
margin: 10px 0 0 18px;
|
||||
padding: 0;
|
||||
.tree-item {
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
width: 100%;
|
||||
margin-top: 10px;
|
||||
padding: 11px 12px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 10px;
|
||||
background: transparent;
|
||||
color: inherit;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.tree-item span {
|
||||
color: var(--muted);
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.tree-item.is-selected {
|
||||
border-color: color-mix(in srgb, var(--accent) 38%, var(--border));
|
||||
background: var(--accent-soft);
|
||||
}
|
||||
|
||||
.context-strip {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
gap: 12px;
|
||||
border-top: 1px solid var(--border);
|
||||
border-bottom: 1px solid var(--border);
|
||||
background: var(--panel-muted);
|
||||
}
|
||||
|
||||
.context-strip div {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.context-label {
|
||||
display: block;
|
||||
margin-bottom: 6px;
|
||||
color: var(--muted);
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.context-strip strong {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.editor {
|
||||
display: grid;
|
||||
grid-template-columns: 52px 1fr;
|
||||
border-top: 1px solid var(--border);
|
||||
border-bottom: 1px solid var(--border);
|
||||
background: #10141b;
|
||||
background: var(--panel-muted);
|
||||
}
|
||||
|
||||
.editor-gutter,
|
||||
@@ -286,9 +450,9 @@ select {
|
||||
}
|
||||
|
||||
.editor-gutter {
|
||||
color: #697386;
|
||||
color: var(--muted);
|
||||
border-right: 1px solid var(--border);
|
||||
background: #0d1016;
|
||||
background: color-mix(in srgb, var(--panel-muted) 82%, black 18%);
|
||||
}
|
||||
|
||||
.editor-gutter span {
|
||||
@@ -296,7 +460,7 @@ select {
|
||||
}
|
||||
|
||||
.editor-code {
|
||||
color: #d7e2f0;
|
||||
color: var(--text);
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
@@ -305,16 +469,29 @@ select {
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 18px;
|
||||
background: linear-gradient(90deg, rgba(125, 211, 160, 0.12), rgba(125, 211, 252, 0.04));
|
||||
border-top: 1px solid var(--border);
|
||||
background: color-mix(in srgb, var(--success) 10%, var(--panel));
|
||||
}
|
||||
|
||||
.execution-banner.is-running {
|
||||
background: color-mix(in srgb, var(--accent) 10%, var(--panel));
|
||||
}
|
||||
|
||||
.execution-banner.is-empty {
|
||||
background: color-mix(in srgb, var(--warning) 10%, var(--panel));
|
||||
}
|
||||
|
||||
.execution-banner.is-error {
|
||||
background: linear-gradient(90deg, rgba(240, 156, 156, 0.16), rgba(240, 156, 156, 0.06));
|
||||
background: color-mix(in srgb, var(--danger) 12%, var(--panel));
|
||||
}
|
||||
|
||||
.execution-banner.is-exported {
|
||||
background: color-mix(in srgb, var(--accent) 12%, var(--panel));
|
||||
}
|
||||
|
||||
.banner-metrics {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(88px, 1fr));
|
||||
grid-template-columns: repeat(3, minmax(88px, 1fr));
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
@@ -342,11 +519,25 @@ select {
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.result-summary {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
margin-bottom: 12px;
|
||||
padding: 12px 14px;
|
||||
background: var(--panel-muted);
|
||||
}
|
||||
|
||||
.result-summary strong {
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.toolbar-tab.is-active,
|
||||
.bottom-tab.is-active {
|
||||
border-color: rgba(125, 211, 252, 0.3);
|
||||
background: rgba(125, 211, 252, 0.14);
|
||||
color: #e4f7ff;
|
||||
border-color: color-mix(in srgb, var(--accent) 32%, var(--border));
|
||||
background: var(--accent-soft);
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.tab-content {
|
||||
@@ -380,14 +571,34 @@ td {
|
||||
th {
|
||||
color: var(--muted);
|
||||
font-weight: 600;
|
||||
background: #121722;
|
||||
background: var(--panel-strong);
|
||||
}
|
||||
|
||||
.log-row,
|
||||
.export-box,
|
||||
.problem-box {
|
||||
.problem-box,
|
||||
.contract-card {
|
||||
padding: 16px;
|
||||
background: var(--panel-muted);
|
||||
border-radius: var(--radius-sm);
|
||||
}
|
||||
|
||||
.contract-card {
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.contract-preview {
|
||||
margin: 0;
|
||||
padding: 16px;
|
||||
overflow: auto;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-sm);
|
||||
background: color-mix(in srgb, var(--panel-muted) 74%, black 26%);
|
||||
color: var(--text);
|
||||
font-family: var(--mono);
|
||||
font-size: 12px;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.focus-list {
|
||||
@@ -398,17 +609,128 @@ th {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
@media (max-width: 1320px) {
|
||||
.status-bar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
border-top: 1px solid var(--border);
|
||||
color: var(--muted);
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.status-shortcuts {
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.command-palette {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 40;
|
||||
}
|
||||
|
||||
.command-palette__backdrop {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
border: 0;
|
||||
background: rgba(9, 12, 18, 0.48);
|
||||
backdrop-filter: blur(8px);
|
||||
}
|
||||
|
||||
.command-dialog {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
width: min(920px, calc(100vw - 32px));
|
||||
margin: 56px auto;
|
||||
padding: 20px;
|
||||
border: 1px solid var(--border-strong);
|
||||
border-radius: var(--radius);
|
||||
background: var(--panel);
|
||||
box-shadow: var(--shadow);
|
||||
}
|
||||
|
||||
.command-dialog__head,
|
||||
.command-grid,
|
||||
.command-list {
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.command-dialog__head {
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
align-items: center;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.command-grid {
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.command-section {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.command-item {
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
width: 100%;
|
||||
padding: 14px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-sm);
|
||||
background: var(--panel-muted);
|
||||
color: inherit;
|
||||
text-align: left;
|
||||
cursor: pointer;
|
||||
transition: border-color 120ms ease, background 120ms ease;
|
||||
}
|
||||
|
||||
.command-item:hover,
|
||||
.command-item:focus-visible {
|
||||
border-color: color-mix(in srgb, var(--accent) 36%, var(--border));
|
||||
background: var(--accent-soft);
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.command-item span {
|
||||
color: var(--muted);
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
@media (max-width: 1440px) {
|
||||
.workspace-summary {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.workspace {
|
||||
grid-template-columns: 250px minmax(520px, 1fr) 250px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 1100px) {
|
||||
.topbar,
|
||||
.status-bar,
|
||||
.result-summary,
|
||||
.context-strip,
|
||||
.workspace-summary {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.topbar,
|
||||
.status-bar,
|
||||
.result-summary {
|
||||
display: grid;
|
||||
}
|
||||
|
||||
.workspace {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.command-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.panel--main {
|
||||
order: 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user