77 lines
9.7 KiB
CSS
77 lines
9.7 KiB
CSS
/** WidgetWorkbench V5.4 — industrial curved chrome + component library.
|
|
* Scoped to .shell.neon or explicit .ww54-* widgets. No overrides to ios.css.
|
|
* All shapes are vector/CSS, no vendor images/fonts or remote resources.
|
|
*/
|
|
.shell.neon{position:relative;padding-top:112px}
|
|
.shell.neon .sidebar{min-height:calc(100vh - 112px);padding-top:10px}
|
|
.shell.neon .sidebar .brand{padding:8px 10px;margin:0 0 8px;min-height:55px}
|
|
.shell.neon .content{min-width:0}
|
|
.curved-workbench-header{position:absolute;top:0;left:0;right:0;height:116px;z-index:5;pointer-events:none;filter:drop-shadow(0 5px 5px #000b);color:#d1eafa}
|
|
.curved-header-art{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
|
|
.curved-header-center{position:absolute;top:17px;left:34%;right:34%;display:flex;align-items:center;flex-direction:column;white-space:nowrap;gap:1px}
|
|
.curved-header-center strong{font-size:clamp(22px,2.7vw,41px);line-height:1.18;letter-spacing:.04em;font-weight:480;color:#a5dcff;text-shadow:0 0 8px #54a1ed,0 0 18px #1269b678}
|
|
.curved-header-center span{font-size:9px;letter-spacing:.20em;color:#81a7b9}
|
|
.curved-header-left{position:absolute;left:4%;top:43px;letter-spacing:.23em;font-size:11px;color:#a8c5d3}
|
|
.curved-header-right{position:absolute;right:4%;top:37px;font-size:clamp(12px,1.4vw,20px);font-weight:800;letter-spacing:.08em;color:#d9e2e9;text-shadow:0 2px 3px #000}
|
|
.shell.neon .toolbar{min-height:72px;padding:12px 22px;border-radius:0 0 18px 9px;box-shadow:inset 0 1px #677985,0 6px 18px #0008}
|
|
.shell.neon .toolbar h1{font-size:1.28em}
|
|
.shell.neon .nav-root,.shell.neon .nav-link,.shell.neon .nav-add{clip-path:polygon(0 0,calc(100% - 12px) 0,100% 12px,100% 100%,12px 100%,0 calc(100% - 12px));border-radius:4px}
|
|
.shell.neon .nav-root[aria-expanded=true],.shell.neon .nav-link.active{background:linear-gradient(115deg,#064153,#1688a0 45%,#0a4357);box-shadow:inset 0 0 10px #75f5ff88,0 0 18px #27d8ef88}
|
|
.shell.neon .grid-stack-item-content{background:linear-gradient(145deg,#263d47 0%,#10232d 15%,#0c1923 77%,#2a3544 100%);border-color:#4c7f92;border-radius:8px 17px 11px 17px}
|
|
.shell.neon .widget-head{position:relative;background:linear-gradient(180deg,#3d5661cc 0%,#172c36 68%,#152a34 100%)}
|
|
.shell.neon .widget-head::after{content:"";position:absolute;left:20px;right:20px;bottom:0;height:1px;background:linear-gradient(90deg,transparent,#79e4ff 32%,#518bb8,transparent);box-shadow:0 0 8px #44cbff80}
|
|
.shell.neon .canvas{background-image:radial-gradient(ellipse at 88% 100%,#25192b55,transparent 53%),repeating-linear-gradient(45deg,#ffffff03 0 1px,transparent 1px 5px),linear-gradient(#07131b,#08141c)}
|
|
.shell.neon .mode-btn,.shell.neon .subtle-button,.shell.neon .primary-button,.shell.neon .publish-button,.shell.neon .icon-button,.shell.neon .wb-btn,
|
|
body[data-hmi-theme='neon'] .wb-mes-dialog .wb-btn{
|
|
clip-path:polygon(0 0,calc(100% - 11px) 0,100% 11px,100% 100%,11px 100%,0 calc(100% - 11px));
|
|
border-radius:3px;min-height:36px;transition:filter .15s ease, transform .15s ease;
|
|
}
|
|
.shell.neon :is(.mode-btn,.subtle-button,.primary-button,.publish-button,.icon-button,.wb-btn):not(:disabled):hover{filter:brightness(1.2) drop-shadow(0 0 5px #38cffa78);transform:translateY(-1px)}
|
|
/* Shared decorative metal frame widget usable in all themes with readable fallback. */
|
|
.curved-widget-frame{position:relative;isolation:isolate;width:100%;height:100%;min-height:86px;display:flex;justify-content:center;align-items:center;overflow:hidden;background:#111f29;color:#b7e8ff;border-radius:9px}
|
|
.curved-widget-svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
|
|
.curved-widget-copy{z-index:1;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:6px;min-width:0;text-align:center;transform:translateY(-2%);padding:12px 26%;line-height:1.1}
|
|
.curved-widget-copy strong{color:#a7dfff;font-weight:500;letter-spacing:.02em;text-shadow:0 0 13px #57b4f8;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
|
.curved-widget-copy span{color:#b2c7d8;font-size:clamp(9px,.8vw,13px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
|
|
/* All accents are role-agnostic visual tones; permissions remain server-side. */
|
|
.futuristic-button{--fb-top:#3d657b;--fb-mid:#1a4864;--fb-bottom:#102a42;--fb-edge:#64d9ff;--fb-glow:#36c5f777;
|
|
font:inherit;font-weight:700;font-size:.86em;letter-spacing:.02em;color:#f5fcff;min-height:38px;min-width:48px;padding:2px;border:1px solid var(--fb-edge);background:linear-gradient(145deg,#a7d9e7 0%,var(--fb-edge) 8%,#11171e 15%,#60707b 85%,#17242d);cursor:pointer;
|
|
box-shadow:0 2px 4px #000b,inset 0 1px 0 #e1f6ff88,0 0 9px var(--fb-glow);transition:filter .12s ease,transform .12s ease,box-shadow .12s ease;position:relative}
|
|
.futuristic-button .fb-inner{display:flex;align-items:center;justify-content:center;min-height:34px;padding:7px 15px;background:linear-gradient(180deg,var(--fb-top),var(--fb-mid) 46%,var(--fb-bottom));box-shadow:inset 0 2px 0 #ffffff44,inset 0 -1px 0 #000b;text-shadow:0 1px 1px #000;clip-path:inherit}
|
|
.futuristic-button.fb-shape-hex{clip-path:polygon(18% 0,82% 0,100% 22%,100% 78%,82% 100%,18% 100%,0 78%,0 22%);min-width:52px;min-height:48px}
|
|
.futuristic-button.fb-shape-hex .fb-inner{min-height:43px;padding:8px 14px}
|
|
.futuristic-button.fb-shape-capsule{border-radius:22px}.futuristic-button.fb-shape-capsule .fb-inner{border-radius:21px}
|
|
.futuristic-button.fb-shape-plate{clip-path:polygon(0 0,calc(100% - 11px) 0,100% 11px,100% 100%,11px 100%,0 calc(100% - 11px))}
|
|
.futuristic-button.fb-shape-tab{clip-path:polygon(12px 0,calc(100% - 12px) 0,100% 27%,100% 100%,0 100%,0 27%)}
|
|
.futuristic-button.fb-tone-red{--fb-top:#a74c60;--fb-mid:#821d38;--fb-bottom:#490d26;--fb-edge:#ef7e98;--fb-glow:#ec336077}
|
|
.futuristic-button.fb-tone-blue{--fb-top:#497aa0;--fb-mid:#295783;--fb-bottom:#153152;--fb-edge:#8bd3ff;--fb-glow:#389ae777}
|
|
.futuristic-button.fb-tone-purple{--fb-top:#755aaf;--fb-mid:#573886;--fb-bottom:#332350;--fb-edge:#b8a0fa;--fb-glow:#ad7bff77}
|
|
.futuristic-button.fb-tone-magenta{--fb-top:#b650a4;--fb-mid:#872a78;--fb-bottom:#591544;--fb-edge:#fc83e5;--fb-glow:#ed44cf77}
|
|
.futuristic-button.fb-tone-green{--fb-top:#46877b;--fb-mid:#21635c;--fb-bottom:#153d36;--fb-edge:#76ebca;--fb-glow:#38e1b077}
|
|
.futuristic-button.fb-tone-steel{--fb-top:#667883;--fb-mid:#3d5566;--fb-bottom:#1f323e;--fb-edge:#acc7d2;--fb-glow:#7cbdd044}
|
|
.futuristic-button.is-pressed{box-shadow:0 0 0 1px #ffffff66,0 0 19px var(--fb-glow),inset 0 1px 0 #fff8;filter:brightness(1.19)}
|
|
.futuristic-button:focus-visible{outline:3px solid #e7fcff;outline-offset:3px}
|
|
.futuristic-button:disabled{opacity:.45;cursor:not-allowed;filter:grayscale(.4)}
|
|
@media(hover:hover){.futuristic-button:not(:disabled):hover{filter:brightness(1.24);transform:translateY(-1px)}}
|
|
.neon-actions-widget{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:100%;height:100%;gap:8px;min-height:52px}
|
|
.neon-action-buttons{display:flex;align-items:center;flex-wrap:wrap;gap:8px;width:100%}
|
|
.neon-actions-selection{font-size:.78em;color:var(--muted,#a6bfd0)}
|
|
.metal-panel-widget{--mp-accent:#47cee9;position:relative;height:100%;min-height:90px;color:#e0f4fc;background:linear-gradient(163deg,#4e6872 0%,#132c37 8%,#101e29 78%,#252032 94%,#607787 100%);border:2px solid #66899a;border-radius:13px 22px 15px 18px;box-shadow:inset 0 2px 0 #94b2c3aa,inset 0 -2px 0 #10202b,0 0 14px #24cde933;overflow:auto;padding:0 16px 12px}
|
|
.metal-accent-purple{--mp-accent:#ad8bea}.metal-accent-magenta{--mp-accent:#ee75c8}.metal-accent-green{--mp-accent:#67e9bd}.metal-accent-blue{--mp-accent:#73b9f4}.metal-accent-red{--mp-accent:#ec6c88}.metal-accent-steel{--mp-accent:#a9c4d7}
|
|
.metal-panel-edge{position:absolute;top:0;left:12%;right:20%;height:2px;background:linear-gradient(90deg,transparent,var(--mp-accent),transparent);box-shadow:0 0 10px var(--mp-accent);pointer-events:none}
|
|
.metal-panel-top{display:flex;align-items:center;gap:10px;padding:14px 0 8px;border-bottom:1px solid #517485}
|
|
.metal-panel-pip{display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--mp-accent);box-shadow:0 0 12px var(--mp-accent)}
|
|
.metal-panel-top h3{font-size:1em;flex:1;margin:0;letter-spacing:.015em}
|
|
.metal-panel-tag{font-size:.65em;color:#a8cdda;letter-spacing:.11em}
|
|
.metal-panel-content p{color:#c5dce8;line-height:1.5;white-space:pre-wrap}
|
|
.metal-panel-content small{color:#91b4c5}.metal-panel-rule{height:1px;background:linear-gradient(90deg,#70c9e8,transparent);opacity:.45;margin:6px 0 10px}
|
|
/* Native history & booking tabs: pronounced luminous trapezoids. */
|
|
.shell.neon .wb-mes-tab{clip-path:polygon(11px 0,calc(100% - 11px) 0,100% 27%,100% 100%,0 100%,0 27%);border-radius:0;min-height:40px;padding:8px 16px}
|
|
.shell.neon .wb-mes-tab.selected{filter:drop-shadow(0 0 3px #56d7f6)}
|
|
.shell.neon .wb-mes-tabs{padding-top:5px;padding-bottom:7px;border-bottom:2px solid #3e6a81;background:linear-gradient(90deg,#111c24,#303d49 45%,#131d28)}
|
|
/* Panel contrast and focus are more important than decorative bloom. */
|
|
.shell.neon.high-contrast .futuristic-button{box-shadow:none;border-width:2px}
|
|
@media(max-width:1050px){.curved-header-center{left:30%;right:30%}.curved-header-left{display:none}.curved-header-right{right:2%;top:43px;font-size:11px}}
|
|
@media(max-width:800px){.shell.neon{padding-top:75px}.curved-workbench-header{height:83px}.shell.neon .sidebar{min-height:0}.curved-header-center{left:20%;right:20%;top:10px}.curved-header-center strong{font-size:25px}.curved-header-center span{display:none}.curved-header-right{display:none}.curved-widget-copy{padding:10px 19%}.curved-widget-copy strong{font-size:22px!important}}
|
|
@media(prefers-reduced-motion:reduce){.futuristic-button,.shell.neon .mode-btn,.shell.neon .subtle-button,.shell.neon .primary-button,.shell.neon .publish-button{transition:none!important;transform:none!important}}
|