gemx-webui / static /style.css
coooooooai's picture
Publish lightweight local motion interface and free static showcase
009fa12 verified
Raw History Blame Contribute Delete
9.14 kB
*{box-sizing:border-box} :root{--ink:#22232b;--muted:#82838e;--line:#e7e6ec;--purple:#7060d4;--paper:#f7f7fa}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.6 Inter,"Segoe UI","Microsoft YaHei",sans-serif}button,input,textarea{font:inherit}button,a,input,textarea,summary{outline-offset:4px}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{cursor:not-allowed;opacity:.5}[hidden]{display:none!important}.sidebar{position:fixed;inset:0 auto 0 0;width:248px;background:#efeff5;border-right:1px solid var(--line);padding:30px 22px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;font-weight:750;font-size:17px;letter-spacing:-.5px;margin-bottom:48px}.brand-icon{background:#292733;color:white;width:34px;height:34px;border-radius:11px;text-align:center;font:italic 800 28px/30px Georgia}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:650;color:#9998a7}.nav{margin:16px 0 35px;border:0;border-radius:10px;padding:12px 15px;text-align:left;font-weight:600}.nav.active{background:#e0dcf1;color:#5c4caa}.history-title{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#858393}.history-title button{background:none;border:0;color:#777;font-size:20px}.history{overflow:auto;margin-top:12px;flex:1}.history-item{display:block;width:100%;padding:13px 9px;background:none;border:0;border-radius:8px;text-align:left;color:#575562;margin-bottom:4px}.history-item:hover,.history-item.selected{background:#e4e2ed}.history-item strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:550;font-size:12px}.history-item small{color:#8b8998;font-size:10px}.sidebar-bottom{font-size:10px;color:#92909c;line-height:2}.sidebar-bottom a{display:block}.little-dot{display:inline-block;background:#a8ad98;width:6px;height:6px;border-radius:50%;margin-right:7px}main{margin-left:248px;padding:40px 48px 20px;max-width:1820px}header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:23px}h1{font-size:28px;letter-spacing:-.8px;margin:8px 0 5px;font-weight:650}header p{margin:0;color:var(--muted);font-size:12px}.pill,.quiet-pill{white-space:nowrap;border:1px solid var(--line);border-radius:20px;padding:6px 12px;font-size:11px;background:#fff;color:#6d6b79}.pill.ready{background:#eaf0e8;color:#60715d;border-color:#e0e8dc}.notice{padding:12px 16px;margin-bottom:24px;border:1px solid #e1dcec;background:#f0edf7;border-radius:9px;color:#736486;font-size:12px}.notice.ready{background:#f2f4ef;border-color:#e3e8dc;color:#717968}.workspace{display:grid;grid-template-columns:minmax(280px,390px) minmax(380px,1fr);gap:24px;align-items:stretch}.card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:25px;box-shadow:0 4px 12px #26223803}.section-title{display:flex;gap:11px;align-items:center;margin-bottom:26px}.section-title h2{font-size:15px;font-weight:650;margin:0}.section-title .quiet-pill,.section-title a{margin-left:auto}.number{font-size:10px;color:#a09eae;background:#f3f2f7;border:1px solid #eceaf1;padding:3px 7px;border-radius:6px}label{display:block;color:#6f6d7b;font-size:12px;margin:0 0 9px}label small{color:#aaa;font-size:10px}textarea,input[type=number]{width:100%;border:1px solid #e1dfE8;background:#fbfafc;border-radius:8px;padding:12px;color:#36323f;transition:border-color .2s}textarea{resize:vertical;min-height:145px;line-height:1.8;font-size:13px}textarea:focus,input:focus{border-color:#9d90d9;outline:2px solid #e8e1ff}.help{color:#a09ba9;font-size:11px;line-height:1.8;margin:10px 0}.examples{display:flex;gap:6px;flex-wrap:wrap}.examples button{font-size:10px;color:#8d879b;background:#fff;border:1px solid #e8e4ee;border-radius:20px;padding:5px 9px}.examples button:hover{background:#f3effb}.divider{height:1px;background:#eeedf2;margin:24px 0}.parameters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.parameters input{padding:10px}.gem-params{grid-template-columns:1fr 1fr}.settings{margin:23px 0;color:#85808e;font-size:12px}.settings summary{cursor:pointer;margin-bottom:14px}.settings>input{max-width:110px}.check{display:flex;align-items:center;gap:8px}.check input{accent-color:var(--purple)}.primary{width:100%;background:#7060cd;color:white;border:0;border-radius:9px;box-shadow:0 4px 10px #7764d329;padding:14px 18px;text-align:left;font-weight:650;display:flex;justify-content:space-between}.primary:hover{background:#6252ba}.form-message{font-size:12px;color:#b45b62;min-height:18px}.preview{display:flex;flex-direction:column}.viewport{min-height:350px;flex:1;position:relative;overflow:hidden;border-radius:10px;background:radial-gradient(ellipse at center,#f8f7fb 0,#eeedf3 95%);display:flex;justify-content:center;align-items:center}#empty-preview{text-align:center;position:relative;z-index:1;color:#97929f}#empty-preview h3{font-size:15px;font-weight:500;margin:23px 0 6px}#empty-preview p{font-size:12px;margin:0 0 19px}.empty-orbit{height:95px;width:95px;border:1px solid #d8d3e4;border-radius:50%;margin:auto;position:relative;transform:rotate(-25deg)}.empty-orbit:before{content:"";position:absolute;inset:16px -18px;border:1px solid #d8d3e4;border-radius:50%;transform:rotate(40deg)}.empty-orbit:after{content:"";position:absolute;inset:-10px 25px;border:1px solid #c5bcdb;border-radius:50%;transform:rotate(40deg)}.empty-orbit span{position:absolute;top:10px;left:8px;width:10px;height:10px;border-radius:50%;background:#b3a7d2;box-shadow:0 0 0 5px #b3a7d213}.small-label{font-size:9px;letter-spacing:1px;color:#b5b1bd}.preview-caption{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1px;color:#aaa5b3;margin-top:16px}.quiet-pill{border:0;background:#f4f2f8;color:#9791a4;font-size:10px}.results{margin-top:24px}.results .section-title{margin-bottom:18px}.muted{font-size:12px;color:#a39ead}.secondary{border:1px solid #ddd7eb;background:#faf8fd;color:#807294;border-radius:7px;padding:7px 11px;font-size:11px}.danger{color:#a55b67}.job-progress{margin-top:20px}.progress-heading{display:flex;justify-content:space-between;font-size:11px;color:#8b8299}.progress-track{height:3px;background:#f0edf7;overflow:hidden;margin-top:9px;border-radius:4px}.progress-track div{height:100%;width:24%;background:#9a88cd;animation:slide 1.8s ease-in-out infinite}@keyframes slide{from{transform:translateX(-100%)}to{transform:translateX(520%)}}.progress-track.done div{animation:none;width:100%;background:#99ad90}#job-message{font-size:11px;color:#918897;overflow-wrap:anywhere;max-height:50px;overflow:auto}.file-row{display:flex;align-items:center;gap:15px;padding:11px 0;border-top:1px solid #f1eef5}.file-icon{background:#efecf6;color:#9486ac;font-size:9px;font-weight:bold;padding:5px;border-radius:5px;min-width:37px;text-align:center}.file-name{flex:1;font-size:12px;overflow-wrap:anywhere}.file-size{font-size:10px;color:#aba3b4}.file-row a{font-size:12px;color:#847398}.results details{margin-top:20px;font-size:11px;color:#948a9f}.results summary{cursor:pointer}pre{background:#24232c;color:#bcb7ca;padding:17px;border-radius:8px;max-height:260px;overflow:auto;white-space:pre-wrap;font:11px/1.7 Consolas,monospace}footer{display:flex;justify-content:space-between;font-size:10px;color:#b0a9b8;margin:22px 0}.dropzone{border:1px dashed #d6cce8;border-radius:10px;min-height:165px;position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;background:#fbf9fe}.dropzone strong{font-size:12px;font-weight:500;color:#8a7f99}.dropzone span{font-size:9px;color:#aaa0b5}.dropzone .upload-symbol{font-size:24px}.dropzone input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.dropzone.drag{background:#ece4fc}video{width:100%;max-height:420px;border-radius:8px}#input-video{max-height:180px;margin-top:10px}#skeleton{position:absolute;width:100%;height:100%;touch-action:none;cursor:grab}.playback{display:flex;align-items:center;gap:10px;margin-top:12px;font-size:10px;color:#918497}.playback input{flex:1;min-width:40px;accent-color:#9783c7}.playback button{background:none;border:0;color:#8e789f;font-size:10px}@media(min-width:1550px){main{padding:50px 65px}.workspace{grid-template-columns:420px 1fr}.viewport{min-height:460px}}@media(max-width:1080px){main{padding:28px 24px}.sidebar{width:200px;padding:24px 15px}main{margin-left:200px}.workspace{gap:16px;grid-template-columns:minmax(270px,1fr) minmax(320px,1.2fr)}.card{padding:19px}h1{font-size:22px}}@media(max-width:860px){.sidebar{position:static;width:100%;height:auto;display:block;padding:16px 20px}.brand{margin:0}.sidebar>.eyebrow,.nav,.history-title,.history,.sidebar-bottom{display:none}main{margin:0;padding:24px 16px}.workspace{grid-template-columns:1fr}header{align-items:flex-start}h1{font-size:21px}.preview{min-height:460px}.notice{font-size:11px}footer{gap:10px}.section-title{margin-bottom:18px}}@media(prefers-reduced-motion:reduce){.progress-track div{animation:none;width:100%;opacity:.5}}
#original-preview{position:absolute;inset:0;width:100%;height:100%;border:0;background:white}