424 lines
6.9 KiB
CSS
424 lines
6.9 KiB
CSS
:root {
|
|
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;
|
|
--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;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
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%);
|
|
color: var(--text);
|
|
font-family: var(--font);
|
|
}
|
|
|
|
button,
|
|
input,
|
|
textarea,
|
|
select {
|
|
font: inherit;
|
|
}
|
|
|
|
.app-shell {
|
|
min-height: 100vh;
|
|
padding: 18px;
|
|
}
|
|
|
|
.topbar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
padding: 18px 22px;
|
|
margin-bottom: 16px;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
background: rgba(20, 24, 33, 0.82);
|
|
box-shadow: var(--shadow);
|
|
backdrop-filter: blur(12px);
|
|
}
|
|
|
|
.topbar__brand,
|
|
.topbar__context,
|
|
.section-head,
|
|
.editor-toolbar,
|
|
.toolbar-tabs,
|
|
.toolbar-actions,
|
|
.bottom-tabs,
|
|
.export-box,
|
|
.export-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.topbar__brand h1,
|
|
.section-head h2,
|
|
.panel-section h2 {
|
|
margin: 0;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.brand-mark {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 40px;
|
|
height: 40px;
|
|
border: 1px solid rgba(125, 211, 252, 0.3);
|
|
border-radius: 12px;
|
|
background: var(--accent-soft);
|
|
color: var(--accent);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.eyebrow {
|
|
margin: 0 0 4px;
|
|
color: var(--muted);
|
|
font-size: 11px;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.workspace {
|
|
display: grid;
|
|
grid-template-columns: 280px minmax(640px, 1fr) 280px;
|
|
gap: 16px;
|
|
min-height: calc(100vh - 124px);
|
|
}
|
|
|
|
.panel {
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
background: rgba(20, 24, 33, 0.9);
|
|
box-shadow: var(--shadow);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.panel--nav,
|
|
.panel--side {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.panel--main {
|
|
display: grid;
|
|
grid-template-rows: auto minmax(240px, 1fr) auto minmax(260px, 0.9fr);
|
|
}
|
|
|
|
.panel-section,
|
|
.editor-toolbar,
|
|
.execution-banner,
|
|
.bottom-panel {
|
|
padding: 18px;
|
|
}
|
|
|
|
.panel-section + .panel-section {
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
|
|
.connection-pill,
|
|
.pill,
|
|
.ghost-button,
|
|
.action-button,
|
|
.toolbar-tab,
|
|
.bottom-tab,
|
|
.search-field,
|
|
.info-card,
|
|
.log-row,
|
|
.problem-box {
|
|
border: 1px solid var(--border);
|
|
border-radius: 999px;
|
|
}
|
|
|
|
.ghost-button,
|
|
.action-button,
|
|
.toolbar-tab,
|
|
.bottom-tab {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.ghost-button,
|
|
.toolbar-tab,
|
|
.bottom-tab,
|
|
.search-field {
|
|
padding: 8px 12px;
|
|
background: var(--panel-muted);
|
|
color: var(--muted);
|
|
}
|
|
|
|
.ghost-button--small {
|
|
padding: 6px 10px;
|
|
}
|
|
|
|
.action-button {
|
|
padding: 9px 13px;
|
|
background: var(--panel-strong);
|
|
color: var(--text);
|
|
}
|
|
|
|
.action-button--primary {
|
|
border-color: rgba(125, 211, 252, 0.28);
|
|
background: rgba(125, 211, 252, 0.16);
|
|
color: #dff6ff;
|
|
}
|
|
|
|
.connection-pill,
|
|
.pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 7px 11px;
|
|
background: var(--panel-muted);
|
|
}
|
|
|
|
.pill--success {
|
|
color: var(--success);
|
|
}
|
|
|
|
.pill--muted {
|
|
color: var(--muted);
|
|
}
|
|
|
|
.status-dot {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 999px;
|
|
background: var(--muted);
|
|
}
|
|
|
|
.status-dot--ok {
|
|
background: var(--success);
|
|
}
|
|
|
|
.connection-list,
|
|
.tree,
|
|
.detail-list,
|
|
.focus-list,
|
|
.log-list {
|
|
display: grid;
|
|
gap: 10px;
|
|
}
|
|
|
|
.connection-card {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
width: 100%;
|
|
padding: 14px;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-sm);
|
|
background: var(--panel-muted);
|
|
color: inherit;
|
|
text-align: left;
|
|
}
|
|
|
|
.connection-card p,
|
|
.export-box p,
|
|
.problem-box p,
|
|
.focus-list,
|
|
.detail-list span,
|
|
.info-card span,
|
|
.log-row span {
|
|
margin: 4px 0 0;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.connection-card.is-active {
|
|
border-color: rgba(125, 211, 252, 0.4);
|
|
background: rgba(125, 211, 252, 0.08);
|
|
}
|
|
|
|
.tree details {
|
|
padding: 10px 12px;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-sm);
|
|
background: var(--panel-muted);
|
|
}
|
|
|
|
.tree summary {
|
|
cursor: pointer;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.tree ul {
|
|
margin: 10px 0 0 18px;
|
|
padding: 0;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.editor {
|
|
display: grid;
|
|
grid-template-columns: 52px 1fr;
|
|
border-top: 1px solid var(--border);
|
|
border-bottom: 1px solid var(--border);
|
|
background: #10141b;
|
|
}
|
|
|
|
.editor-gutter,
|
|
.editor-code {
|
|
padding: 18px 16px;
|
|
margin: 0;
|
|
font-family: var(--mono);
|
|
font-size: 13px;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.editor-gutter {
|
|
color: #697386;
|
|
border-right: 1px solid var(--border);
|
|
background: #0d1016;
|
|
}
|
|
|
|
.editor-gutter span {
|
|
display: block;
|
|
}
|
|
|
|
.editor-code {
|
|
color: #d7e2f0;
|
|
overflow: auto;
|
|
}
|
|
|
|
.execution-banner {
|
|
display: flex;
|
|
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));
|
|
}
|
|
|
|
.execution-banner.is-error {
|
|
background: linear-gradient(90deg, rgba(240, 156, 156, 0.16), rgba(240, 156, 156, 0.06));
|
|
}
|
|
|
|
.banner-metrics {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(88px, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.banner-metrics div,
|
|
.detail-list div,
|
|
.info-card {
|
|
padding: 12px 14px;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-sm);
|
|
background: rgba(15, 18, 24, 0.7);
|
|
}
|
|
|
|
.banner-metrics span,
|
|
.detail-list span,
|
|
.info-card span {
|
|
display: block;
|
|
margin-bottom: 8px;
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.bottom-panel {
|
|
display: grid;
|
|
grid-template-rows: auto 1fr;
|
|
gap: 16px;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.tab-content {
|
|
display: none;
|
|
}
|
|
|
|
.tab-content.is-active {
|
|
display: block;
|
|
}
|
|
|
|
.table-wrap {
|
|
overflow: auto;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-sm);
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 13px;
|
|
}
|
|
|
|
th,
|
|
td {
|
|
padding: 12px 14px;
|
|
border-bottom: 1px solid var(--border);
|
|
text-align: left;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
th {
|
|
color: var(--muted);
|
|
font-weight: 600;
|
|
background: #121722;
|
|
}
|
|
|
|
.log-row,
|
|
.export-box,
|
|
.problem-box {
|
|
padding: 16px;
|
|
background: var(--panel-muted);
|
|
}
|
|
|
|
.focus-list {
|
|
padding-left: 18px;
|
|
}
|
|
|
|
.focus-list li + li {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
@media (max-width: 1320px) {
|
|
.workspace {
|
|
grid-template-columns: 250px minmax(520px, 1fr) 250px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1100px) {
|
|
.workspace {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.panel--main {
|
|
order: 1;
|
|
}
|
|
|
|
.panel--nav {
|
|
order: 2;
|
|
}
|
|
|
|
.panel--side {
|
|
order: 3;
|
|
}
|
|
}
|