| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189 |
- /*
- Code Studio — Workbench stylesheet
- Layout follows the VS Code workbench convention:
- titlebar / menubar
- ┌───────────┬──────────────────────────────┬───────────┐
- │ activity │ editor stack │ aux bar │
- │ bar ├──────────────────────────────┤ (tools) │
- │ + sidebar │ bottom panel (terminal …) │ │
- └───────────┴──────────────────────────────┴───────────┘
- statusbar
- Every colour is driven by a CSS variable so the three colour schemes
- (blue / dark / light) can be swapped at runtime by changing the theme
- class on <body>. Never hard-code a colour below this block.
- */
- /* ═══════════════════════════════════════════════════════════════════
- Colour schemes
- ═══════════════════════════════════════════════════════════════════ */
- /* Default — dark blue (matches the ArozOS desktop accent) */
- body.theme-blue {
- --bg-title: #0a1320;
- --bg-activity: #0a1522;
- --bg-side: #0e1a2b;
- --bg-editor: #0d1b2e;
- --bg-panel: #0b1727;
- --bg-tab: #0b1726;
- --bg-tab-active: #0d1b2e;
- --bg-elevated: #15263d;
- --bg-hover: rgba(255, 255, 255, 0.06);
- --bg-active: rgba(59, 130, 246, 0.20);
- --bg-input: #0a1523;
- --border: #1c2f47;
- --border-strong: #27405e;
- --fg: #c8d6e8;
- --fg-strong: #ffffff;
- --fg-dim: #7c90aa;
- --fg-faint: #556882;
- --accent: #3b82f6;
- --accent-fg: #ffffff;
- --accent-dim: rgba(59, 130, 246, 0.35);
- --ok: #4ec9b0;
- --warn: #dcb67a;
- --err: #f4707a;
- --info: #6cb6ff;
- --shadow: 0 6px 22px rgba(0, 0, 0, 0.55);
- --monaco-theme: "arozos-blue";
- }
- /* Neutral dark */
- body.theme-dark {
- --bg-title: #1a1a1a;
- --bg-activity: #1f1f1f;
- --bg-side: #252526;
- --bg-editor: #1e1e1e;
- --bg-panel: #1b1b1b;
- --bg-tab: #2d2d2d;
- --bg-tab-active: #1e1e1e;
- --bg-elevated: #2d2d30;
- --bg-hover: rgba(255, 255, 255, 0.07);
- --bg-active: rgba(0, 122, 204, 0.30);
- --bg-input: #1a1a1a;
- --border: #3c3c3c;
- --border-strong: #505050;
- --fg: #d4d4d4;
- --fg-strong: #ffffff;
- --fg-dim: #969696;
- --fg-faint: #6e6e6e;
- --accent: #0e8ad8;
- --accent-fg: #ffffff;
- --accent-dim: rgba(14, 138, 216, 0.35);
- --ok: #4ec9b0;
- --warn: #dcb67a;
- --err: #f48771;
- --info: #75beff;
- --shadow: 0 6px 22px rgba(0, 0, 0, 0.6);
- --monaco-theme: "vs-dark";
- }
- /* Light */
- body.theme-light {
- --bg-title: #eceef1;
- --bg-activity: #eceef1;
- --bg-side: #f4f5f7;
- --bg-editor: #ffffff;
- --bg-panel: #f7f8fa;
- --bg-tab: #eceef1;
- --bg-tab-active: #ffffff;
- --bg-elevated: #ffffff;
- --bg-hover: rgba(0, 0, 0, 0.05);
- --bg-active: rgba(0, 102, 184, 0.14);
- --bg-input: #ffffff;
- --border: #dcdfe4;
- --border-strong: #c3c8d0;
- --fg: #2f333a;
- --fg-strong: #10131a;
- --fg-dim: #646b76;
- --fg-faint: #8b929c;
- --accent: #0066b8;
- --accent-fg: #ffffff;
- --accent-dim: rgba(0, 102, 184, 0.25);
- --ok: #17845a;
- --warn: #a37200;
- --err: #c5232c;
- --info: #0066b8;
- --shadow: 0 6px 22px rgba(0, 0, 0, 0.18);
- --monaco-theme: "vs";
- }
- /* ═══════════════════════════════════════════════════════════════════
- Shell
- ═══════════════════════════════════════════════════════════════════ */
- html, body {
- height: 100%;
- margin: 0;
- padding: 0;
- overflow: hidden;
- }
- body {
- background: var(--bg-editor);
- color: var(--fg);
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans",
- Helvetica, Arial, sans-serif;
- font-size: 13px;
- -webkit-font-smoothing: antialiased;
- }
- #ide {
- display: flex;
- flex-direction: column;
- height: 100vh;
- width: 100%;
- overflow: hidden;
- }
- /* Thin scrollbars everywhere inside the workbench */
- #ide *::-webkit-scrollbar { width: 10px; height: 10px; }
- #ide *::-webkit-scrollbar-track { background: transparent; }
- #ide *::-webkit-scrollbar-thumb {
- background: var(--border-strong);
- border-radius: 5px;
- border: 3px solid transparent;
- background-clip: content-box;
- }
- #ide *::-webkit-scrollbar-thumb:hover { background-clip: padding-box; }
- /* ── Title bar ─────────────────────────────────────────────────── */
- #titlebar {
- flex-shrink: 0;
- height: 34px;
- display: flex;
- align-items: center;
- padding: 0 10px;
- background: var(--bg-title);
- border-bottom: 1px solid var(--border);
- user-select: none;
- }
- #titlebar .brand {
- display: flex;
- align-items: center;
- gap: 8px;
- color: var(--fg-strong);
- font-weight: 600;
- letter-spacing: 0.01em;
- }
- #titlebar .brand img { height: 18px; width: 18px; }
- #titlebar .titlecenter {
- flex: 1;
- text-align: center;
- color: var(--fg-dim);
- font-size: 12px;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- padding: 0 12px;
- }
- #titlebar .titleactions { display: flex; align-items: center; gap: 2px; }
- /* ── Menu bar ──────────────────────────────────────────────────── */
- #menubar {
- flex-shrink: 0;
- height: 30px;
- display: flex;
- align-items: center;
- padding: 0 6px;
- background: var(--bg-title);
- border-bottom: 1px solid var(--border);
- user-select: none;
- }
- #menubar .menuitem {
- padding: 4px 9px;
- border-radius: 4px;
- cursor: pointer;
- color: var(--fg);
- white-space: nowrap;
- }
- #menubar .menuitem:hover { background: var(--bg-hover); }
- #menubar .menuitem.open { background: var(--bg-active); color: var(--fg-strong); }
- #menubar .spacer { flex: 1; }
- /* Icon-only buttons used in the title bar and menu bar right side */
- .iconbtn {
- display: inline-flex;
- align-items: center;
- justify-content: center;
- min-width: 26px;
- height: 24px;
- padding: 0 6px;
- border-radius: 4px;
- color: var(--fg-dim);
- cursor: pointer;
- border: none;
- background: transparent;
- font-size: 12px;
- font-family: inherit;
- }
- .iconbtn:hover { background: var(--bg-hover); color: var(--fg-strong); }
- .iconbtn.active { background: var(--bg-active); color: var(--fg-strong); }
- .iconbtn i.icon { margin: 0 !important; }
- /* ── Workbench ─────────────────────────────────────────────────── */
- #workbench {
- flex: 1;
- display: flex;
- min-height: 0;
- overflow: hidden;
- }
- /* ── Activity bar ──────────────────────────────────────────────── */
- #activitybar {
- flex-shrink: 0;
- width: 48px;
- background: var(--bg-activity);
- border-right: 1px solid var(--border);
- display: flex;
- flex-direction: column;
- align-items: center;
- padding: 6px 0;
- user-select: none;
- }
- #activitybar .actitem {
- position: relative;
- width: 48px;
- height: 44px;
- display: flex;
- align-items: center;
- justify-content: center;
- color: var(--fg-dim);
- cursor: pointer;
- font-size: 17px;
- }
- #activitybar .actitem:hover { color: var(--fg-strong); }
- #activitybar .actitem.active { color: var(--fg-strong); }
- #activitybar .actitem.active::before {
- content: "";
- position: absolute;
- left: 0;
- top: 8px;
- bottom: 8px;
- width: 2px;
- background: var(--accent);
- }
- #activitybar .actitem i.icon { margin: 0 !important; }
- #activitybar .actitem .badge {
- position: absolute;
- right: 8px;
- bottom: 7px;
- min-width: 15px;
- height: 15px;
- padding: 0 4px;
- border-radius: 8px;
- background: var(--accent);
- color: var(--accent-fg);
- font-size: 9px;
- line-height: 15px;
- text-align: center;
- font-family: -apple-system, "Segoe UI", sans-serif;
- }
- #activitybar .actspacer { flex: 1; }
- /* ── Sidebar ───────────────────────────────────────────────────── */
- #sidebar {
- flex-shrink: 0;
- width: 250px;
- background: var(--bg-side);
- display: flex;
- flex-direction: column;
- overflow: hidden;
- }
- #sidebar.collapsed { display: none; }
- .sideview { display: none; flex-direction: column; height: 100%; overflow: hidden; }
- .sideview.active { display: flex; }
- .sideview .viewheader {
- flex-shrink: 0;
- display: flex;
- align-items: center;
- height: 34px;
- padding: 0 6px 0 18px;
- font-size: 11px;
- letter-spacing: 0.08em;
- text-transform: uppercase;
- color: var(--fg-dim);
- user-select: none;
- }
- .sideview .viewheader .title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
- .sideview .viewbody { flex: 1; overflow-y: auto; overflow-x: hidden; }
- /* Collapsible section inside a sidebar view */
- .section { border-top: 1px solid var(--border); display: flex; flex-direction: column; min-height: 0; }
- .section:first-child { border-top: none; }
- .section > .sectionhead {
- flex-shrink: 0;
- display: flex;
- align-items: center;
- gap: 4px;
- height: 24px;
- padding: 0 8px;
- font-size: 11px;
- font-weight: 700;
- letter-spacing: 0.04em;
- text-transform: uppercase;
- color: var(--fg);
- cursor: pointer;
- user-select: none;
- }
- .section > .sectionhead:hover { background: var(--bg-hover); }
- .section > .sectionhead .caret { width: 14px; text-align: center; color: var(--fg-dim); }
- .section > .sectionhead .label { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
- .section > .sectionhead .actions { display: none; gap: 2px; }
- .section > .sectionhead:hover .actions { display: flex; }
- .section > .sectionbody { overflow-y: auto; overflow-x: hidden; }
- .section.collapsed > .sectionbody { display: none; }
- /* Tree rows (open editors, explorer, changes …) */
- .row {
- display: flex;
- align-items: center;
- gap: 5px;
- height: 22px;
- padding: 0 8px 0 18px;
- color: var(--fg);
- cursor: pointer;
- white-space: nowrap;
- overflow: hidden;
- user-select: none;
- }
- .row:hover { background: var(--bg-hover); }
- .row.selected { background: var(--bg-active); color: var(--fg-strong); }
- .row .name { flex: 1; overflow: hidden; text-overflow: ellipsis; }
- .row .sub { color: var(--fg-faint); font-size: 11px; overflow: hidden; text-overflow: ellipsis; }
- .row i.icon { margin: 0 !important; flex-shrink: 0; width: 14px; text-align: center; }
- .row .caret { width: 12px; flex-shrink: 0; text-align: center; color: var(--fg-dim); font-size: 10px; }
- .row .rowbtn { opacity: 0; color: var(--fg-dim); flex-shrink: 0; padding: 0 2px; }
- .row:hover .rowbtn { opacity: 1; }
- .row .rowbtn:hover { color: var(--fg-strong); }
- .row.unsaved .name { font-style: italic; }
- .row.unsaved .dot { color: var(--accent); font-size: 9px; }
- .emptyhint { padding: 14px 18px; color: var(--fg-dim); font-size: 12px; line-height: 1.6; }
- .emptyhint .ui.button { margin-top: 8px; width: 100%; }
- /* Explorer tree indentation */
- .dirlist { }
- .dirlist .row { padding-left: 30px; }
- .dirlist .dirlist .row { padding-left: 42px; }
- .dirlist .dirlist .dirlist .row { padding-left: 54px; }
- .dirlist .dirlist .dirlist .dirlist .row { padding-left: 66px; }
- .folderObjectWrapper.drag-over > .row,
- #directoryExplorer.drag-over {
- background: var(--accent-dim);
- outline: 1px dashed var(--accent);
- outline-offset: -1px;
- }
- .row input.rename-input {
- flex: 1;
- background: var(--bg-input);
- border: 1px solid var(--accent);
- color: var(--fg-strong);
- padding: 1px 4px;
- font-size: 12px;
- font-family: inherit;
- outline: none;
- min-width: 0;
- }
- /* ── Splitters ─────────────────────────────────────────────────── */
- .vsplit {
- flex-shrink: 0;
- width: 1px;
- background: var(--border);
- cursor: col-resize;
- position: relative;
- }
- .vsplit::after {
- content: "";
- position: absolute;
- top: 0; bottom: 0; left: -2px; right: -2px;
- z-index: 5;
- }
- .vsplit:hover, .vsplit.dragging { background: var(--accent); }
- .hsplit {
- flex-shrink: 0;
- height: 1px;
- background: var(--border);
- cursor: row-resize;
- position: relative;
- }
- .hsplit::after {
- content: "";
- position: absolute;
- left: 0; right: 0; top: -2px; bottom: -2px;
- z-index: 5;
- }
- .hsplit:hover, .hsplit.dragging { background: var(--accent); }
- /* ── Editor region + bottom panel ──────────────────────────────── */
- #center {
- flex: 1;
- display: flex;
- flex-direction: column;
- min-width: 0;
- min-height: 0;
- }
- #codeArea {
- flex: 1;
- min-height: 0;
- display: flex;
- background: var(--bg-editor);
- overflow: hidden;
- }
- .codeBoard {
- flex: 1;
- min-width: 0;
- display: flex;
- flex-direction: column;
- position: relative;
- border-left: 1px solid var(--border);
- }
- .codeBoard:first-child { border-left: none; }
- .codeBoard .tabs {
- flex-shrink: 0;
- height: 35px;
- display: flex;
- align-items: stretch;
- background: var(--bg-tab);
- border-bottom: 1px solid var(--border);
- overflow-x: auto;
- overflow-y: hidden;
- scrollbar-width: none;
- }
- .codeBoard .tabs::-webkit-scrollbar { height: 0; }
- .codeBoard .tabs .item {
- display: flex;
- align-items: center;
- gap: 6px;
- padding: 0 8px 0 12px;
- max-width: 220px;
- background: var(--bg-tab);
- color: var(--fg-dim);
- border-right: 1px solid var(--border);
- cursor: pointer;
- white-space: nowrap;
- flex-shrink: 0;
- position: relative;
- user-select: none;
- }
- .codeBoard .tabs .item:hover { color: var(--fg); }
- .codeBoard .tabs .item.selected {
- background: var(--bg-tab-active);
- color: var(--fg-strong);
- }
- .codeBoard .tabs .item.selected::before {
- content: "";
- position: absolute;
- left: 0; right: 0; top: 0;
- height: 1px;
- background: var(--accent);
- }
- .codeBoard .tabs .item .tabFilename {
- overflow: hidden;
- text-overflow: ellipsis;
- }
- .codeBoard .tabs .item i.icon { margin: 0 !important; flex-shrink: 0; }
- .codeBoard .tabs .item .closebtn {
- flex-shrink: 0;
- width: 18px;
- height: 18px;
- display: flex;
- align-items: center;
- justify-content: center;
- border-radius: 4px;
- opacity: 0;
- color: var(--fg-dim);
- }
- .codeBoard .tabs .item:hover .closebtn,
- .codeBoard .tabs .item.selected .closebtn { opacity: 1; }
- .codeBoard .tabs .item .closebtn:hover { background: var(--bg-hover); color: var(--fg-strong); }
- .codeBoard .tabs .item.dirty .closebtn { opacity: 1; }
- .codeBoard .editor { flex: 1; min-height: 0; }
- .codeBoard .editorcover {
- position: absolute;
- left: 0; right: 0; top: 35px; bottom: 0;
- background: var(--bg-editor);
- overflow: auto;
- z-index: 3;
- }
- .tabs .item.drag-over-left { box-shadow: inset 2px 0 0 var(--accent); }
- .tabs .item.drag-over-right { box-shadow: inset -2px 0 0 var(--accent); }
- .tabs .item.closing { animation: tabClose 0.15s ease-out forwards; }
- @keyframes tabClose {
- from { opacity: 1; max-width: 220px; }
- to { opacity: 0; max-width: 0; padding: 0; }
- }
- /* Welcome screen shown inside the editor cover */
- .welcome {
- display: flex;
- flex-direction: column;
- justify-content: center;
- height: 100%;
- padding: 0 10%;
- color: var(--fg-dim);
- user-select: none;
- }
- .welcome h1 {
- font-size: 26px;
- font-weight: 300;
- color: var(--fg-strong);
- margin: 0 0 4px 0;
- }
- .welcome .tagline { margin-bottom: 26px; font-size: 13px; }
- .welcome .cols { display: flex; gap: 48px; flex-wrap: wrap; }
- .welcome .col h4 {
- font-size: 11px;
- text-transform: uppercase;
- letter-spacing: 0.08em;
- color: var(--fg-dim);
- margin: 0 0 8px 0;
- font-weight: 700;
- }
- .welcome a {
- display: block;
- color: var(--accent);
- cursor: pointer;
- padding: 3px 0;
- text-decoration: none;
- }
- .welcome a:hover { text-decoration: underline; }
- .welcome .keyhint { color: var(--fg-faint); font-size: 12px; padding: 3px 0; }
- .welcome .recentpath {
- display: block;
- color: var(--fg-faint);
- font-size: 11px;
- margin-top: -1px;
- }
- .welcome a:hover .recentpath { text-decoration: none; }
- .welcome kbd {
- background: var(--bg-elevated);
- border: 1px solid var(--border-strong);
- border-radius: 3px;
- padding: 1px 5px;
- font-size: 11px;
- font-family: monospace;
- }
- .errorcover {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- height: 100%;
- gap: 10px;
- user-select: none;
- text-align: center;
- padding: 20px;
- }
- .errorcover .headline { color: var(--err); font-size: 15px; }
- .errorcover .path { color: var(--fg-dim); font-size: 12px; word-break: break-all; max-width: 420px; }
- /* ── Bottom panel ──────────────────────────────────────────────── */
- #bottomPanel {
- flex-shrink: 0;
- height: 240px;
- display: none;
- flex-direction: column;
- background: var(--bg-panel);
- overflow: hidden;
- }
- #bottomPanel.open { display: flex; }
- #split-panel { display: none; }
- #split-panel.open { display: block; }
- .paneltabs {
- flex-shrink: 0;
- height: 32px;
- display: flex;
- align-items: center;
- padding: 0 6px 0 14px;
- gap: 2px;
- border-bottom: 1px solid var(--border);
- user-select: none;
- }
- .paneltabs .ptab {
- padding: 0 10px;
- height: 32px;
- line-height: 32px;
- font-size: 11px;
- letter-spacing: 0.06em;
- text-transform: uppercase;
- color: var(--fg-dim);
- cursor: pointer;
- border-bottom: 1px solid transparent;
- }
- .paneltabs .ptab:hover { color: var(--fg); }
- .paneltabs .ptab.active { color: var(--fg-strong); border-bottom-color: var(--fg-strong); }
- .paneltabs .ptab .count {
- display: inline-block;
- min-width: 16px;
- padding: 0 4px;
- margin-left: 4px;
- border-radius: 8px;
- background: var(--bg-elevated);
- color: var(--fg);
- font-size: 10px;
- line-height: 15px;
- text-align: center;
- }
- .paneltabs .spacer { flex: 1; }
- .panelbody { flex: 1; min-height: 0; position: relative; }
- .panelview { display: none; height: 100%; overflow: auto; }
- .panelview.active { display: block; }
- /* Problems / output list */
- .loglist { padding: 6px 0; font-family: "Cascadia Code", Consolas, "Courier New", monospace; font-size: 12px; }
- .loglist .logrow { display: flex; gap: 8px; padding: 2px 14px; white-space: pre-wrap; word-break: break-word; }
- .loglist .logrow:hover { background: var(--bg-hover); }
- .loglist .logrow .ts { color: var(--fg-faint); flex-shrink: 0; }
- .loglist .logrow.err { color: var(--err); }
- .loglist .logrow.warn { color: var(--warn); }
- .loglist .logrow.ok { color: var(--ok); }
- .loglist .logrow.info { color: var(--info); }
- /* ── Terminal ──────────────────────────────────────────────────── */
- #terminalView { display: none; height: 100%; }
- #terminalView.active { display: flex; }
- .termstack { flex: 1; min-width: 0; position: relative; }
- .termsessionlist {
- flex-shrink: 0;
- width: 170px;
- border-left: 1px solid var(--border);
- overflow-y: auto;
- padding: 4px 0;
- }
- .termsessionlist .row { height: 24px; padding-left: 12px; font-size: 12px; }
- .termsessionlist .row.selected { background: var(--bg-active); }
- .terminstance {
- position: absolute;
- inset: 0;
- display: none;
- flex-direction: column;
- background: var(--bg-panel);
- }
- .terminstance.active { display: flex; }
- .termout {
- flex: 1;
- overflow-y: auto;
- padding: 8px 14px 4px;
- cursor: text;
- font-family: "Cascadia Code", Consolas, "Courier New", monospace;
- font-size: 12.5px;
- line-height: 1.55;
- }
- .termout .tl { white-space: pre-wrap; word-break: break-word; min-height: 1.55em; }
- .termout .tl-in { color: var(--fg); }
- .termout .tl-ok { color: var(--ok); }
- .termout .tl-err { color: var(--err); }
- .termout .tl-log { color: var(--warn); }
- .termout .tl-sys { color: var(--info); }
- .termout .tl-dim { color: var(--fg-faint); }
- .terminputrow {
- flex-shrink: 0;
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 5px 14px;
- border-top: 1px solid var(--border);
- background: var(--bg-input);
- font-family: "Cascadia Code", Consolas, "Courier New", monospace;
- font-size: 12.5px;
- }
- .terminputrow .prompt { color: var(--ok); flex-shrink: 0; white-space: nowrap; }
- .terminputrow input {
- flex: 1;
- min-width: 0;
- background: transparent;
- border: none;
- outline: none;
- color: var(--fg);
- font-family: inherit;
- font-size: inherit;
- caret-color: var(--accent);
- }
- .termstatus {
- flex-shrink: 0;
- display: flex;
- align-items: center;
- gap: 6px;
- padding: 3px 14px;
- font-size: 11px;
- color: var(--fg-dim);
- border-top: 1px solid var(--border);
- }
- .conndot {
- width: 7px;
- height: 7px;
- border-radius: 50%;
- background: var(--fg-faint);
- flex-shrink: 0;
- }
- .conndot.connecting { background: var(--warn); animation: blink 1s ease-in-out infinite; }
- .conndot.connected { background: var(--ok); }
- .conndot.error { background: var(--err); }
- @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
- /* ── Aux bar (docked tools) ────────────────────────────────────── */
- #auxbar {
- flex-shrink: 0;
- width: 380px;
- background: var(--bg-side);
- display: none;
- flex-direction: column;
- overflow: hidden;
- }
- #auxbar.open { display: flex; }
- #split-aux { display: none; }
- #split-aux.open { display: block; }
- .auxtabs {
- flex-shrink: 0;
- height: 34px;
- display: flex;
- align-items: center;
- gap: 2px;
- padding: 0 4px 0 10px;
- border-bottom: 1px solid var(--border);
- overflow-x: auto;
- scrollbar-width: none;
- user-select: none;
- }
- .auxtabs::-webkit-scrollbar { height: 0; }
- .auxtabs .atab {
- display: flex;
- align-items: center;
- gap: 5px;
- height: 34px;
- padding: 0 8px;
- font-size: 11px;
- letter-spacing: 0.05em;
- text-transform: uppercase;
- color: var(--fg-dim);
- cursor: pointer;
- border-bottom: 1px solid transparent;
- white-space: nowrap;
- flex-shrink: 0;
- }
- .auxtabs .atab:hover { color: var(--fg); }
- .auxtabs .atab.active { color: var(--fg-strong); border-bottom-color: var(--fg-strong); }
- .auxtabs .atab .closebtn { opacity: 0.5; }
- .auxtabs .atab .closebtn:hover { opacity: 1; }
- .auxtabs .spacer { flex: 1; }
- .auxbody { flex: 1; min-height: 0; position: relative; }
- .auxpane {
- position: absolute;
- inset: 0;
- display: none;
- flex-direction: column;
- background: var(--bg-editor);
- }
- .auxpane.active { display: flex; }
- .auxpane .toolbar {
- flex-shrink: 0;
- display: flex;
- align-items: center;
- gap: 6px;
- padding: 4px 8px;
- border-bottom: 1px solid var(--border);
- background: var(--bg-side);
- font-size: 11px;
- color: var(--fg-dim);
- }
- .auxpane iframe {
- flex: 1;
- width: 100%;
- border: 0;
- background: var(--bg-editor);
- }
- /* ── Status bar ────────────────────────────────────────────────── */
- #statusbar {
- flex-shrink: 0;
- height: 24px;
- display: flex;
- align-items: center;
- gap: 2px;
- padding: 0 4px;
- background: var(--bg-title);
- border-top: 1px solid var(--border);
- color: var(--fg-dim);
- font-size: 11.5px;
- user-select: none;
- }
- #statusbar .sbitem {
- display: flex;
- align-items: center;
- gap: 4px;
- height: 22px;
- padding: 0 7px;
- border-radius: 3px;
- cursor: pointer;
- white-space: nowrap;
- }
- #statusbar .sbitem:hover { background: var(--bg-hover); color: var(--fg-strong); }
- #statusbar .sbitem i.icon { margin: 0 !important; font-size: 11px; }
- #statusbar .sbitem.plain { cursor: default; }
- #statusbar .sbitem.plain:hover { background: transparent; color: var(--fg-dim); }
- #statusbar .spacer { flex: 1; }
- #statusbar .sbitem.flash { background: var(--accent); color: var(--accent-fg); }
- /* ═══════════════════════════════════════════════════════════════════
- Menus (drop-down + context)
- ═══════════════════════════════════════════════════════════════════ */
- .menupanel {
- position: fixed;
- z-index: 900;
- min-width: 230px;
- padding: 4px 0;
- background: var(--bg-elevated);
- border: 1px solid var(--border-strong);
- border-radius: 5px;
- box-shadow: var(--shadow);
- color: var(--fg);
- display: none;
- user-select: none;
- }
- .menupanel .item {
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 5px 12px 5px 34px;
- cursor: pointer;
- position: relative;
- white-space: nowrap;
- }
- .menupanel .item:hover { background: var(--accent); color: var(--accent-fg); }
- .menupanel .item .label { flex: 1; }
- .menupanel .item .tips { color: var(--fg-faint); font-size: 11px; }
- .menupanel .item:hover .tips { color: var(--accent-fg); opacity: 0.85; }
- .menupanel .item .check {
- position: absolute;
- left: 9px;
- top: 0;
- bottom: 0;
- width: 16px;
- display: flex;
- align-items: center;
- justify-content: center;
- color: var(--accent);
- }
- .menupanel .item .check i.icon {
- margin: 0;
- margin-left: -0.6em;
- width: auto;
- height: auto;
- line-height: 1;
- font-size: 12px;
- }
- .menupanel .item:hover .check { color: var(--accent-fg); }
- .menupanel .item.disabled { color: var(--fg-faint); cursor: default; }
- .menupanel .item.disabled:hover { background: transparent; color: var(--fg-faint); }
- .menupanel .divider {
- height: 1px;
- background: var(--border);
- margin: 4px 8px;
- }
- .menupanel .grouplabel {
- padding: 4px 12px 3px;
- font-size: 10px;
- text-transform: uppercase;
- letter-spacing: 0.08em;
- color: var(--fg-faint);
- }
- /* ═══════════════════════════════════════════════════════════════════
- Source control view
- ═══════════════════════════════════════════════════════════════════ */
- .scmbox { padding: 8px 10px; border-bottom: 1px solid var(--border); }
- .scmbox textarea {
- width: 100%;
- min-height: 54px;
- resize: vertical;
- background: var(--bg-input);
- border: 1px solid var(--border-strong);
- border-radius: 4px;
- color: var(--fg);
- padding: 6px 8px;
- font-family: inherit;
- font-size: 12px;
- outline: none;
- }
- .scmbox textarea:focus { border-color: var(--accent); }
- .btn {
- display: inline-flex;
- align-items: center;
- justify-content: center;
- gap: 6px;
- padding: 5px 10px;
- border: 1px solid var(--border-strong);
- border-radius: 4px;
- background: transparent;
- color: var(--fg);
- font-family: inherit;
- font-size: 12px;
- cursor: pointer;
- }
- .btn:hover:not(:disabled) { background: var(--bg-hover); color: var(--fg-strong); }
- .btn:disabled { opacity: 0.45; cursor: default; }
- .btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
- .btn.primary:hover:not(:disabled) { filter: brightness(1.12); background: var(--accent); color: var(--accent-fg); }
- .btn.block { width: 100%; margin-top: 6px; }
- .btn i.icon { margin: 0 !important; }
- .scmstatus { display: flex; gap: 8px; padding: 6px 10px; color: var(--fg-dim); font-size: 11.5px; }
- .gitbadge {
- flex-shrink: 0;
- width: 15px;
- text-align: center;
- font-weight: 700;
- font-size: 11px;
- font-family: "Cascadia Code", Consolas, monospace;
- }
- .gitbadge.modified { color: var(--warn); }
- .gitbadge.added { color: var(--ok); }
- .gitbadge.untracked { color: var(--ok); }
- .gitbadge.deleted { color: var(--err); }
- .gitbadge.renamed { color: var(--info); }
- .gitbadge.conflicted{ color: var(--err); }
- /* ═══════════════════════════════════════════════════════════════════
- Search view
- ═══════════════════════════════════════════════════════════════════ */
- .searchbox { padding: 8px 10px; display: flex; flex-direction: column; gap: 6px; }
- .searchbox input[type="text"] {
- width: 100%;
- background: var(--bg-input);
- border: 1px solid var(--border-strong);
- border-radius: 4px;
- color: var(--fg);
- padding: 5px 8px;
- font-family: inherit;
- font-size: 12px;
- outline: none;
- }
- .searchbox input[type="text"]:focus { border-color: var(--accent); }
- .searchbox .opts { display: flex; gap: 4px; align-items: center; }
- .searchresult .hitline {
- padding-left: 30px;
- font-family: "Cascadia Code", Consolas, monospace;
- font-size: 11.5px;
- color: var(--fg-dim);
- }
- .searchresult .hitline mark {
- background: var(--accent-dim);
- color: var(--fg-strong);
- padding: 0 1px;
- border-radius: 2px;
- }
- /* ═══════════════════════════════════════════════════════════════════
- File / folder icon colours (kept from the previous stylesheet)
- ═══════════════════════════════════════════════════════════════════ */
- .folder-icon { margin-right: 2px; }
- .folder.icon { color: #dcb67a !important; }
- .folder-icon.src, .folder-icon.components, .folder-icon.backend,
- .folder-icon.server { color: #4ec9b0 !important; }
- .folder-icon.lib, .folder-icon.js, .folder-icon.scripts,
- .folder-icon.utils, .folder-icon.helpers { color: #dcdcaa !important; }
- .folder-icon.test, .folder-icon.tests, .folder-icon.spec,
- .folder-icon.middleware, .folder-icon.frontend,
- .folder-icon.client { color: #ce9178 !important; }
- .folder-icon.config { color: #9cdcfe !important; }
- .folder-icon.public, .folder-icon.static, .folder-icon.api,
- .folder-icon.routes { color: #4fc1ff !important; }
- .folder-icon.assets, .folder-icon.images, .folder-icon.img { color: #c586c0 !important; }
- .folder-icon.css, .folder-icon.styles, .folder-icon.docs,
- .folder-icon.documentation { color: #569cd6 !important; }
- .folder-icon.views, .folder-icon.pages, .folder-icon.templates { color: #6a9955 !important; }
- .folder-icon.models, .folder-icon.controllers, .folder-icon.database,
- .folder-icon.db, .folder-icon.migrations, .folder-icon.seeds { color: #d7ba7d !important; }
- .folder-icon.vendor { color: #808080 !important; }
- .folder-icon.node_modules { color: #6d8086 !important; }
- .folder-icon.build, .folder-icon.dist, .folder-icon.out,
- .folder-icon.bin { color: #b0b0b0 !important; }
- .file-icon-js { color: #f1e05a !important; }
- .file-icon-ts { color: #3178c6 !important; }
- .file-icon-jsx { color: #61dafb !important; }
- .file-icon-tsx { color: #3178c6 !important; }
- .file-icon-html { color: #e34c26 !important; }
- .file-icon-htm { color: #e34c26 !important; }
- .file-icon-css { color: #7b61c9 !important; }
- .file-icon-scss { color: #c6538c !important; }
- .file-icon-sass { color: #c6538c !important; }
- .file-icon-less { color: #4d7ac7 !important; }
- .file-icon-json { color: #f1e05a !important; }
- .file-icon-xml { color: #e34c26 !important; }
- .file-icon-md { color: #519aba !important; }
- .file-icon-py { color: #3572a5 !important; }
- .file-icon-go { color: #00add8 !important; }
- .file-icon-java { color: #b07219 !important; }
- .file-icon-c { color: #9aa0a6 !important; }
- .file-icon-cpp { color: #f34b7d !important; }
- .file-icon-cs { color: #4bb54b !important; }
- .file-icon-php { color: #8892bf !important; }
- .file-icon-rb { color: #c9414a !important; }
- .file-icon-rs { color: #dea584 !important; }
- .file-icon-swift { color: #ffac45 !important; }
- .file-icon-sh { color: #89e051 !important; }
- .file-icon-bash { color: #89e051 !important; }
- .file-icon-sql { color: #e38c00 !important; }
- .file-icon-vue { color: #41b883 !important; }
- .file-icon-agi { color: #f1e05a !important; }
- .file-icon-yaml { color: #cb171e !important; }
- .file-icon-yml { color: #cb171e !important; }
- .file-icon-toml { color: #c1704a !important; }
- .file-icon-ini { color: #a5b3ba !important; }
- .file-icon-env { color: #ecd53f !important; }
- .file-icon-gitignore { color: #f14e32 !important; }
- .file-icon-dockerfile { color: #5d8fa3 !important; }
- /* ═══════════════════════════════════════════════════════════════════
- Semantic UI overrides so its components inherit the workbench theme
- ═══════════════════════════════════════════════════════════════════ */
- #ide .ui.button {
- font-family: inherit;
- }
- .ui.modal > .header,
- .ui.modal > .content,
- .ui.modal > .actions {
- background: var(--bg-elevated) !important;
- color: var(--fg) !important;
- border-color: var(--border) !important;
- }
- .ui.modal > .header { color: var(--fg-strong) !important; }
- .ui.modal .ui.header { color: var(--fg-strong) !important; }
|