Loading files
/* Fragua observer UI. Dark, offline, no external assets. */
:root {
color-scheme: dark;
--bg: #0b0d11;
--panel: #12151c;
--panel-2: #171a21;
--line: #232a36;
--line-soft: #1b212b;
--text: #e8eaed;
--muted: #97a1b2;
--faint: #6b7686;
--accent: #d6905b;
--accent-dim: #8a5c37;
--error: #ff6b6b;
--warn: #e3b341;
--ok: #6fd18d;
--mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
--sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
margin: 0;
background: var(--bg);
color: var(--text);
font: 13px/1.45 var(--sans);
display: grid;
grid-template-rows: 46px minmax(0, 1fr) 26px;
overflow: hidden;
}
.spacer { flex: 1 1 auto; }
.mono { font-family: var(--mono); }
/* ── header ─────────────────────────────────────────────────────── */
header {
display: flex;
align-items: center;
gap: 14px;
padding: 0 14px;
background: linear-gradient(180deg, #161a22, #12151c);
border-bottom: 1px solid var(--line);
}
.brand {
font: 600 13px/1 var(--sans);
letter-spacing: .18em;
color: var(--accent);
}
.project { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.project strong { font-weight: 600; }
.project .path {
font-family: var(--mono);
font-size: 11px;
color: var(--faint);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 46vw;
direction: rtl;
text-align: left;
}
.conn { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11px; }
.conn i { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.conn.is-live i { background: var(--ok); box-shadow: 0 0 6px rgba(111, 209, 141, .7); }
.conn.is-down i { background: var(--error); }
/* ── buttons ────────────────────────────────────────────────────── */
button {
font: 500 12px/1 var(--sans);
border-radius: 6px;
border: 1px solid transparent;
padding: 7px 11px;
cursor: pointer;
color: var(--text);
background: #232a36;
transition: background .12s ease, border-color .12s ease, color .12s ease;
}
button:hover { background: #2c3543; }
button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
button:disabled { opacity: .45; cursor: not-allowed; }
button.primary { background: var(--accent); color: #1b1108; font-weight: 600; }
button.primary:hover { background: #e5a06b; }
button.ghost { background: #1a1f28; border-color: var(--line); color: var(--muted); }
button.ghost:hover { background: #222a36; color: var(--text); }
button.danger { border-color: #5a2a2a; color: #ffb3b3; }
button.danger:hover { background: #3a1d1d; }
button.small { padding: 4px 8px; font-size: 11px; }
/* ── layout ─────────────────────────────────────────────────────── */
main {
display: grid;
grid-template-columns: 236px minmax(0, 1fr) 380px;
min-height: 0;
}
.rail {
background: var(--panel);
display: flex;
flex-direction: column;
min-height: 0;
overflow: hidden;
}
#rail-left { border-right: 1px solid var(--line); overflow-y: auto; }
#rail-right { border-left: 1px solid var(--line); }
.card { padding: 12px 12px 14px; border-bottom: 1px solid var(--line-soft); }
.card h2 {
margin: 0 0 9px;
font: 600 10px/1 var(--sans);
letter-spacing: .13em;
text-transform: uppercase;
color: var(--faint);
}
.hint { margin: 10px 0 0; font-size: 11px; line-height: 1.5; color: var(--faint); }
kbd {
font-family: var(--mono);
font-size: 10px;
background: #1d232d;
border: 1px solid var(--line);
border-radius: 3px;
padding: 0 3px;
}
.btn-row { display: flex; gap: 6px; align-items: center; }
.btn-row button { flex: 1 1 auto; }
.btn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.btn-grid button { font-family: var(--mono); font-size: 11px; padding: 7px 6px; }
.seg { display: flex; margin-top: 8px; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.seg-btn { flex: 1; border-radius: 0; background: #14181f; color: var(--muted); border: 0; }
.seg-btn.is-on { background: var(--accent-dim); color: #fff; }
/* ── layer list ─────────────────────────────────────────────────── */
.layer-list { display: flex; flex-direction: column; gap: 1px; }
.layer-list:empty { display: none; }
#overlays { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line-soft); }
.layer {
display: flex;
align-items: center;
gap: 8px;
padding: 4px 6px;
border-radius: 5px;
cursor: pointer;
user-select: none;
color: var(--muted);
font-size: 12px;
border: 1px solid transparent;
background: none;
width: 100%;
text-align: left;
}
.layer:hover { background: #1a1f28; color: var(--text); }
.layer .swatch {
width: 10px; height: 10px; border-radius: 2px;
background: var(--sw, #6b7686);
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .45);
flex: 0 0 auto;
}
.layer .name { flex: 1 1 auto; font-family: var(--mono); font-size: 11px; }
.layer .key { color: var(--faint); font-family: var(--mono); font-size: 10px; }
.layer.is-off { opacity: .38; }
.layer.is-off .name { text-decoration: line-through; }
/* ── stage / canvas ─────────────────────────────────────────────── */
.stage { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: #0e1116; }
.tabs, .panel-tabs {
display: flex;
align-items: stretch;
gap: 2px;
padding: 0 10px;
background: var(--panel);
border-bottom: 1px solid var(--line);
flex: 0 0 auto;
}
.tab {
background: none;
border: 0;
border-bottom: 2px solid transparent;
border-radius: 0;
padding: 9px 12px;
color: var(--muted);
font-size: 12px;
}
.tab:hover { background: #171b23; color: var(--text); }
.tab.is-on { color: var(--text); border-bottom-color: var(--accent); }
.zoomlabel { align-self: center; font-family: var(--mono); font-size: 11px; color: var(--faint); }
.badge {
display: inline-block;
min-width: 16px;
padding: 0 4px;
border-radius: 8px;
background: var(--error);
color: #2a0d0d;
font: 600 10px/16px var(--mono);
text-align: center;
}
.badge[hidden] { display: none; }
.badge.is-clean { background: var(--ok); color: #0c2415; }
.badge.is-warn { background: var(--warn); color: #2a2109; }
.canvas { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; }
.svg-host { position: absolute; inset: 0; touch-action: none; cursor: grab; outline: none; }
.svg-host.is-panning { cursor: grabbing; }
.svg-host.is-dragging { cursor: move; }
.svg-host > svg { width: 100%; height: 100%; display: block; }
/* selection + net highlight */
.svg-host svg [data-ref] { cursor: pointer; }
.svg-host svg.has-hl [data-net]:not(.hl) { opacity: .13; }
.svg-host svg.has-hl [data-layer="silk"],
.svg-host svg.has-hl [data-layer="pad-names"] { opacity: .22; }
.svg-host svg line.hl, .svg-host svg circle.hl { stroke: #fff; stroke-opacity: .95; }
.svg-host svg rect.hl { stroke: #fff; stroke-width: .1; }
.svg-host svg path.hl { stroke: #fff; stroke-width: .12; }
.svg-host svg g.sel > rect.fp-body { stroke: var(--accent); stroke-width: .28; fill: rgba(214, 144, 91, .1); }
.svg-host svg g[data-marker].is-focus { animation: ping 1.1s ease-out 2; }
@keyframes ping { 0% { opacity: 1; } 50% { opacity: .15; } 100% { opacity: 1; } }
/* bottom view: mirror the board, keep the lettering readable */
.svg-host svg[data-flip="1"] text { transform: scale(-1, 1); }
.tooltip {
position: absolute;
z-index: 5;
pointer-events: none;
background: #10141b;
border: 1px solid var(--line);
border-radius: 5px;
padding: 4px 7px;
font: 11px/1.35 var(--mono);
color: var(--text);
box-shadow: 0 6px 20px rgba(0, 0, 0, .55);
max-width: 280px;
}
.progress {
position: absolute;
left: 14px; right: 14px; bottom: 14px;
z-index: 6;
background: rgba(18, 21, 28, .96);
border: 1px solid var(--line);
border-radius: 8px;
padding: 9px 11px 11px;
box-shadow: 0 10px 32px rgba(0, 0, 0, .55);
}
.progress-head { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.progress-head strong { color: var(--accent); font-family: var(--mono); }
.progress-head .mono { color: var(--muted); font-size: 11px; }
.bar { margin-top: 8px; height: 4px; border-radius: 2px; background: #232a36; overflow: hidden; }
.bar-fill { height: 100%; width: 0; background: var(--accent); transition: width .2s ease; }
.bar-fill.indeterminate {
width: 32%;
animation: slide 1.3s ease-in-out infinite;
}
@keyframes slide { 0% { margin-left: -32%; } 100% { margin-left: 100%; } }
/* ── right rail ─────────────────────────────────────────────────── */
.panel-body { flex: 1 1 auto; min-height: 0; overflow: hidden; display: flex; }
.pane { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 12px; }
.empty { color: var(--faint); font-size: 12px; margin: 4px 0; }
.inspector h3 {
margin: 0 0 2px;
font: 600 15px/1.2 var(--mono);
color: var(--accent);
}
.inspector .sub { color: var(--muted); font-size: 11px; margin: 0 0 10px; font-family: var(--mono); }
.kv { display: grid; grid-template-columns: 88px 1fr; gap: 3px 10px; font-size: 11px; }
.kv dt { color: var(--faint); font-family: var(--mono); }
.kv dd { margin: 0; font-family: var(--mono); color: var(--text); word-break: break-word; }
.kv dd a { color: var(--accent); }
.pins { margin-top: 12px; border-top: 1px solid var(--line-soft); padding-top: 9px; }
.pins table { width: 100%; border-collapse: collapse; font: 11px var(--mono); }
.pins th {
text-align: left;
color: var(--faint);
font-weight: 500;
padding: 2px 4px;
border-bottom: 1px solid var(--line-soft);
}
.pins td { padding: 2px 4px; color: var(--muted); border-bottom: 1px solid #151a21; }
.pins tr:hover td { background: #171c24; color: var(--text); cursor: pointer; }
.pins .net { color: var(--accent); }
.inspector .actions { margin-top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.checks { margin-top: 10px; display: flex; flex-direction: column; gap: 3px; }
.chk { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 11px; white-space: nowrap; }
.viol {
display: block;
width: 100%;
text-align: left;
background: #151a21;
border: 1px solid var(--line-soft);
border-left: 2px solid var(--warn);
border-radius: 5px;
padding: 6px 8px;
color: var(--muted);
font: 11px/1.4 var(--mono);
}
.viol:hover { background: #1c222b; color: var(--text); }
.viol.is-error { border-left-color: var(--error); }
.viol .kind { color: var(--text); }
.viol .msg { display: block; margin-top: 2px; color: var(--muted); }
.viol .at { color: var(--faint); }
/* ── console ────────────────────────────────────────────────────── */
.console {
flex: 0 0 44%;
min-height: 0;
display: flex;
flex-direction: column;
border-top: 1px solid var(--line);
background: var(--panel-2);
}
.console-head { display: flex; align-items: center; gap: 6px; padding: 7px 10px; border-bottom: 1px solid var(--line-soft); }
.console-head h2 {
margin: 0;
font: 600 10px/1 var(--sans);
letter-spacing: .13em;
text-transform: uppercase;
color: var(--faint);
}
.log {
flex: 1 1 auto;
min-height: 0;
overflow-y: auto;
padding: 8px 10px;
font: 11px/1.55 var(--mono);
color: var(--muted);
white-space: pre-wrap;
word-break: break-word;
}
.log .l-ok { color: var(--ok); }
.log .l-err { color: var(--error); }
.log .l-sys { color: var(--faint); }
.log .l-cmd { color: var(--accent); }
.log div { margin: 0; }
.console-input { display: flex; gap: 6px; padding: 8px; border-top: 1px solid var(--line-soft); }
textarea {
flex: 1 1 auto;
min-height: 72px;
max-height: 180px;
resize: vertical;
background: #0b0e13;
color: var(--text);
border: 1px solid var(--line);
border-radius: 6px;
padding: 7px 8px;
font: 12px/1.5 var(--mono);
}
textarea:focus { outline: none; border-color: var(--accent-dim); }
/* ── status bar ─────────────────────────────────────────────────── */
.status {
display: flex;
align-items: center;
gap: 10px;
padding: 0 12px;
background: var(--panel);
border-top: 1px solid var(--line);
font: 11px/1 var(--mono);
color: var(--muted);
overflow: hidden;
white-space: nowrap;
}
.status .sep { width: 1px; height: 12px; background: var(--line); }
.status .stat.is-error { color: var(--error); }
.status .stat.is-warn { color: var(--warn); }
.status .stat.is-ok { color: var(--ok); }
#st-last { color: var(--faint); overflow: hidden; text-overflow: ellipsis; }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-thumb { background: #29313d; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #37414f; }
::-webkit-scrollbar-track { background: transparent; }
8fa3436b2This file is pinned to the selected release. Download the original to open it in your design tool.