Files
phelex 88ac95dd19 Integrate Antirion admin with FastAPI and htmx
Add the shared document API, constructor and expert editors, isolated preview, and fragment catalog metadata with typed block IDs.

Include design references, specification 001, QA scripts, project guidance, and cached Docker dependency installation. Leave example sites for a separate commit.
2026-11-12 21:55:36 +03:00

132 lines
9.5 KiB
CSS
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/* Site Engine — 05 / Ember Graphite
Reference: Flexly AI / 04-ember-graphite gradients palette.
Intent: preserve 04 UX and flat grid; introduce warm copper signal and teal depth.
*/
body[data-skin="dark"]{
color-scheme: dark;
--shell:#0b1216; --shell2:#152329; --nav-text:#a3b5b9;
--paper:#10191d; --paper2:#162227; --paper3:#233137;
--ink:#f0f2ef; --secondary:#a9b9bc; --dim:#72868d;
--stroke:#314349; --stroke2:#26383e;
--accent:#f47a42; --accent2:#382a25; --focus:#f9b17b;
--good:#8fd4bd; --goodbg:#1e3a36; --warn:#ffbb75; --warnbg:#3a2b23;
--error:#ff9e90; --errorbg:#422829;
--site:#e9e5dc; --siteink:#212629; --sider:#142125;
}
body[data-skin="light"]{
color-scheme:light;
--shell:#0d171a; --shell2:#172a2e; --nav-text:#b3c4c7;
--paper:#fbf9f5; --paper2:#f4f1eb; --paper3:#eae5df;
--ink:#252d2e; --secondary:#697579; --dim:#8f9697;
--stroke:#d7d9d4; --stroke2:#e6e6e1;
--accent:#c3563e; --accent2:#fff0e8; --focus:#e15e38;
--good:#317c67; --goodbg:#e6f1eb; --warn:#a9652d; --warnbg:#fff2e4;
--error:#a84040; --errorbg:#feeae6;
--site:#eeeae3; --siteink:#232b2d; --sider:#ffffff;
}
:root{
--ember-signal:linear-gradient(110deg,#f9b17b 0%,#f57a44 35%,#e15e38 68%,#b43d2b 100%);
--teal-midnight:linear-gradient(138deg,#253d40 0%,#1b2e33 35%,#101b1f 75%,#0b1115 100%);
--rust-to-teal:linear-gradient(112deg,#6e372f 0%,#453431 25%,#273638 58%,#18343a 100%);
--charcoal-glass:linear-gradient(140deg,rgba(37,46,47,.94) 0%,rgba(19,27,30,.98) 56%,rgba(12,17,20,1) 100%);
--copper-halo:radial-gradient(ellipse at 23% 18%,rgba(229,101,63,.34) 0%,rgba(124,54,43,.15) 41%,transparent 76%);
--teal-halo:radial-gradient(ellipse at 87% 14%,rgba(65,118,120,.23) 0%,rgba(27,67,70,.11) 40%,transparent 76%);
}
/* Full-height graphite navigation / copper active state */
.sidebar{
background:var(--teal-midnight);
border-right:1px solid rgba(125,173,174,.16);
}
.brand{border-bottom-color:rgba(160,201,198,.15)}
.brand-logo{background:var(--ember-signal);color:#190d0a;box-shadow:0 0 30px rgba(233,104,60,.19)}
.brand h1{letter-spacing:-.025em}
.brand p{color:#96a9ae}
.nav-title{color:#809da1}
.nav-item{color:#b9c5c6}
.nav-item:hover{background:rgba(255,255,255,.065)}
.nav-item.active{background:linear-gradient(90deg,rgba(244,122,66,.21),rgba(63,108,111,.1) 83%);color:#fff7f0}
.nav-item.active:before{width:3px;background:var(--ember-signal);box-shadow:0 0 11px rgba(245,122,68,.58)}
.nav-item.active svg{color:#ffae82}
.nav-item .count{border-color:#476064;color:#e0cbbf}
.sidebar-bottom{border-top-color:rgba(160,201,198,.15)}
.sitelabel{background:var(--rust-to-teal);border-color:#536065;color:#faf1e7}
.sitelabel small{color:#c6b8af}
.side-footer button:hover{color:#ffbd8f}
/* Work area atmospheric lighting – restrained in tables, stronger in masthead */
.main{background:var(--paper)}
.topbar{position:relative;z-index:2;background:linear-gradient(100deg,rgba(14,27,30,.5),rgba(20,40,43,.38) 58%,rgba(109,53,44,.2));border-bottom:1px solid var(--stroke)}
body[data-skin="light"] .topbar{background:linear-gradient(95deg,#fdfaf5,#f1f1ec 74%,#fff0e6)}
.topbar:after{content:"";position:absolute;bottom:-1px;left:0;width:100%;height:1px;background:linear-gradient(90deg,transparent 15%,rgba(235,103,60,.48),rgba(65,118,120,.35),transparent 93%);pointer-events:none}
.content{position:relative;isolation:isolate;background:var(--paper)}
.content:before{content:"";position:absolute;z-index:-1;pointer-events:none;inset:0 0 auto 0;height:360px;background:radial-gradient(ellipse at 83% 5%,rgba(224,95,50,.115),transparent 52%),radial-gradient(ellipse at 27% 1%,rgba(42,111,114,.15),transparent 57%)}
body[data-skin="light"] .content:before{background:radial-gradient(ellipse at 86% 0%,rgba(244,122,66,.085),transparent 50%),radial-gradient(ellipse at 18% 0%,rgba(65,118,120,.065),transparent 54%)}
.headline{position:relative;border-bottom:1px solid var(--stroke2);margin-bottom:25px;padding-bottom:24px;z-index:0}
.headline:after{content:"";position:absolute;bottom:-1px;left:0;width:min(360px,48%);height:2px;background:var(--ember-signal);opacity:.9}
.headline h2{background:linear-gradient(105deg,var(--ink) 0%,var(--ink) 36%,#f9b17b 76%,#ed7347 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
body[data-skin="light"] .headline h2{background:linear-gradient(100deg,#252d2e 0%,#3c3330 48%,#bb4c32 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.kicker{color:var(--accent);letter-spacing:.14em}
.crumb strong{color:var(--ink)}
.live-pip:before{background:#89d1b2;box-shadow:0 0 0 3px rgba(137,209,178,.08),0 0 13px rgba(137,209,178,.32)}
.btn.primary{background:var(--ember-signal);border-color:#dc673f;color:#1d1311;text-shadow:0 1px #ffbc8c66;font-weight:760}
.btn.primary:hover{filter:brightness(1.12) saturate(1.06);box-shadow:0 0 24px rgba(241,111,60,.17)}
.btn:not(.primary):hover{border-color:var(--accent);background:var(--accent2)}
.btn.danger{border-color:#b85446;color:var(--error)}
.btn:focus-visible,.nav-item:focus-visible{outline-color:var(--focus)}
.cmd{border-color:var(--stroke);background:rgba(12,26,29,.18)}
body[data-skin="light"] .cmd{background:#ffffff70}
.user-chip{border:1px solid rgba(249,177,123,.58);background:linear-gradient(130deg,#703c2f,#29474b);color:#fff2e6;border-radius:2px}
/* Workspace: glowing accent used only for active/selected states */
.tabs button[aria-selected="true"]{color:var(--ink)}
.tabs button[aria-selected="true"]:after{background:var(--ember-signal);height:2px}
.search:focus-within{border-color:var(--accent);box-shadow:0 0 0 2px rgba(244,122,66,.09)}
.select:focus-visible{outline-color:var(--accent)}
.data-table tr.selected{background:linear-gradient(90deg,rgba(196,82,57,.14),rgba(47,93,96,.16) 57%,transparent)}
body[data-skin="light"] .data-table tr.selected{background:linear-gradient(90deg,rgba(244,122,66,.12),rgba(125,192,183,.07) 67%,transparent)}
.data-table tbody tr.selected td:first-child{box-shadow:inset 3px 0 #f47a42}
.name .file{background:var(--paper3)}
.data-table tbody tr:hover:not(.selected){background:var(--paper2)}
.status.changed{color:#ffab7e;background:rgba(179,80,43,.19)}
body[data-skin="light"] .status.changed{color:#b64e33;background:#fff0e8}
.status.draft{color:var(--secondary)}
.status.live{color:var(--good)}
.status.warn{color:var(--warn)}
.inspector{border-left-color:var(--stroke)}
.inspect-heading{border-bottom:1px solid var(--stroke2)}
.inspect-heading h3{color:var(--ink)}
.preview{background:linear-gradient(150deg,var(--paper3),var(--paper2));border-color:#4b5859}
body[data-skin="light"] .preview{border-color:var(--stroke)}
.device-toggle button.active{background:var(--rust-to-teal);color:#fff5ed}
.note{border-left-color:var(--accent);background:linear-gradient(90deg,rgba(179,69,43,.12),rgba(56,95,99,.08))}
/* Status board: a purposeful brand surface, no large decorative KPI cards */
.overview-stage{position:relative;isolation:isolate;padding:0 24px;margin-top:4px;background:var(--rust-to-teal);border:1px solid #466066;overflow:hidden;color:#f6eee8}
.overview-stage:before{content:"";pointer-events:none;position:absolute;z-index:-1;inset:0;background:radial-gradient(ellipse at 15% 8%,rgba(247,119,77,.38) 0%,rgba(164,69,48,.1) 47%,transparent 78%),radial-gradient(ellipse at 87% 14%,rgba(65,118,120,.32),transparent 76%)}
.overview-stage:after{content:"";height:2px;position:absolute;left:0;right:0;top:0;background:var(--ember-signal)}
.overview-stage .kicker,.overview-stage .label{color:#e7c7b0}
.overview-stage .giant em{background:linear-gradient(110deg,#f9b17b,#ff7d50);-webkit-background-clip:text;background-clip:text;color:transparent}
.overview-stage .overview-lead p,.overview-stage .overview-live .meta{color:#d7dedb}
.overview-stage .overview-live{border-color:#6a6861}
.overview-stage .buildid{color:#fff6e8}
.overview-stage .btn{border-color:#799394;background:#121e21c9;color:#fff}
.overview-stage .btn:hover{background:#254048}
.ribbon{border-bottom-color:var(--stroke)}
.ribbon-item{position:relative}
.ribbon-item:first-child:before,.ribbon-item:nth-child(2):before{content:"";position:absolute;top:0;left:0;right:17px;height:1px;background:linear-gradient(90deg,rgba(248,150,91,.8),transparent)}
.ribbon-item:nth-child(2) .number{color:#f5a67d}
.ribbon-item:nth-child(4) .number{color:var(--good)}
body[data-skin="light"] .ribbon-item:nth-child(2) .number{color:#bb5139}
.section-title{border-bottom-color:var(--stroke)}
.section-title h3{color:var(--ink)}
.activity:hover{background:linear-gradient(90deg,var(--accent2),transparent)}
.activity .activity-symbol{background:linear-gradient(140deg,var(--paper3),var(--paper2));border:1px solid var(--stroke2)}
.stage:first-child{border-top:2px solid #b9583d}
.stage:nth-child(2){border-top:2px solid #d78450}
.stage:nth-child(3){border-top:2px solid #41858b}
.collection-row.selected,.collection-row:hover{background:linear-gradient(90deg,rgba(200,88,56,.14),rgba(60,106,108,.10),transparent)}
.dialog{border-top:2px solid #ed8e59}
.toast{background:var(--charcoal-glass);color:#fff5e9;border:1px solid #83503c}
/* small-screen: background lights should not become a horizontal scrollbar */
@media(max-width:1050px){.inspector{border-left:0}.overview-stage{padding:0 18px}}
@media(max-width:760px){.overview-stage{padding:0 15px}.overview-stage .overview-live{border-color:#6a6861}.headline{margin-bottom:20px}.content:before{height:250px}.topbar{background:var(--paper)}.sidebar{background:var(--teal-midnight)}}
@media(max-width:420px){.headline:after{width:70%}.overview-lead .giant{font-size:42px}}
@media(prefers-reduced-motion:reduce){.btn,.nav-item,.data-table tr{transition:none!important}}