Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
style: modernize UI - design tokens, sticky header, focus rings, status dots
Browse filesOne radius pair, layered shadows, and a single teal focus ring replace the
ad-hoc values; sticky gradient header; pressed button states; pulsing dot on
running pills; gradient progress fill; chevroned collapsibles; blurred modal
backdrop with entrance fades; thin scrollbars. All decorative motion behind
prefers-reduced-motion. Grayscale font smoothing is scoped to high-DPI
screens only - global 'antialiased' made text fuzzy on 1x displays.
backend/static/assets/index-6wlQqoEv.css
DELETED
|
@@ -1 +0,0 @@
|
|
| 1 |
-
:root{--brand-ink: #151515;--brand: #26736f;--brand-dark: #1d5a57;--accent: #339b98;--ink: #1d2129;--muted: #667085;--line: #e5e7eb;--bg: #f7f7f8;--card: #ffffff;--ok: #157f3d;--err: #b42318;--accent-soft: #e7f3f2;--control-height: 40px}*{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,sans-serif;color:var(--ink);background:var(--bg);font-size:14.5px;line-height:1.5}.app{display:flex;flex-direction:column;min-height:100vh}a{color:var(--brand)}.header{background:var(--brand-ink);color:#fff;padding:14px 28px;display:flex;align-items:center;flex-wrap:wrap;gap:14px}.header .brand{flex:0 0 auto;display:inline-flex;align-items:center;gap:10px;font-size:17px;font-weight:650;letter-spacing:.2px;white-space:nowrap;color:#fff;text-decoration:none}.brand-logo{height:24px;width:auto;display:block}.header .brand:hover{opacity:.88}.header .sub{flex:1 1 280px;min-width:0;font-size:12.5px;opacity:.85}.layout{display:flex;flex:1;min-width:0;min-height:0}.sidebar{width:250px;background:var(--card);border-right:1px solid var(--line);padding:18px 14px;flex-shrink:0;display:flex;flex-direction:column;min-height:0}.sidebar h2{font-size:11.5px;text-transform:uppercase;letter-spacing:.7px;color:var(--muted);margin:0 0 10px 4px;display:flex;align-items:center;gap:8px}.sidebar h2 .count{background:var(--bg);border:1px solid var(--line);border-radius:999px;padding:0 8px;font-size:10.5px;letter-spacing:0;color:var(--muted)}.sidebar-filter{width:100%;padding:7px 10px;margin-bottom:10px;border:1px solid var(--line);border-radius:8px;font:inherit;font-size:13px;background:#fff;color:var(--ink)}.sidebar-filter:focus{outline:none;border-color:var(--brand)}.project-list{flex:1;min-height:0;overflow-y:auto;margin:0 -4px;padding:0 4px 4px}.group-label{font-size:10.5px;text-transform:uppercase;letter-spacing:.6px;color:var(--muted);margin:10px 4px 5px}div:first-child>.group-label{margin-top:2px}.project-item{display:block;width:100%;text-align:left;padding:9px 12px;margin-bottom:5px;border:1px solid transparent;border-radius:8px;background:none;cursor:pointer;font:inherit;color:var(--ink)}.project-item:hover{background:var(--bg)}.project-item.active{background:var(--accent-soft);border-color:var(--brand);font-weight:600}.project-item .project-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-item .date{display:block;font-size:11.5px;color:var(--muted);font-weight:400}.project-create{margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}.project-create>button{width:100%}.main{flex:1;padding:22px 28px;overflow-y:auto;min-width:0}.card{background:var(--card);border:1px solid var(--line);border-radius:10px;padding:18px 20px;margin-bottom:16px;box-shadow:0 1px 2px #1018280a}.card h3{margin:0 0 4px;font-size:15px}.card .hint{color:var(--muted);font-size:12.5px;margin:0 0 12px}.step-badge{display:inline-flex;align-items:center;justify-content:center;width:21px;height:21px;border-radius:50%;background:var(--brand);color:#fff;font-size:12px;font-weight:700;margin-right:8px;vertical-align:-3px}button{white-space:nowrap}button.primary{background:var(--brand);color:#fff;border:none;min-height:var(--control-height);display:inline-flex;align-items:center;justify-content:center;padding:0 18px;border-radius:8px;font:inherit;font-weight:600;cursor:pointer;line-height:1.2;transition:background-color .15s ease}button.primary:hover{background:var(--brand-dark)}button.primary:disabled{background:#c9ccd1;cursor:not-allowed}a.google-btn{background:var(--brand);color:#fff;border:none;min-height:var(--control-height);display:flex;align-items:center;justify-content:center;padding:0 18px;border-radius:8px;font:inherit;font-weight:600;cursor:pointer;line-height:1.2;text-decoration:none;width:100%;box-sizing:border-box}a.google-btn:hover{background:var(--brand-dark)}button.ghost,a.ghost{background:none;border:1px solid var(--line);color:var(--ink);min-height:var(--control-height);display:inline-flex;align-items:center;justify-content:center;padding:0 14px;border-radius:8px;font:inherit;cursor:pointer;line-height:1.2;text-decoration:none;transition:border-color .15s ease,color .15s ease}button.ghost:hover,a.ghost:hover{border-color:var(--brand);color:var(--brand)}button.linkish{background:none;border:none;color:var(--brand);font:inherit;cursor:pointer;padding:0;text-decoration:underline}input[type=text],input[type=email],input[type=password],textarea,select{width:100%;padding:8px 10px;border:1px solid var(--line);border-radius:8px;font:inherit;background:#fff;color:var(--ink)}input[type=text],input[type=email],input[type=password],select{height:var(--control-height)}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid rgba(51,155,152,.5);outline-offset:2px}input[type=file]{display:block;max-width:100%;margin-top:6px;font-size:13px;color:var(--muted)}input[type=file]::file-selector-button{background:#fff;border:1px solid var(--line);color:var(--ink);padding:7px 14px;border-radius:8px;font:inherit;font-size:13px;cursor:pointer;margin-right:10px}input[type=file]::file-selector-button:hover{border-color:var(--brand);color:var(--brand)}.row>button{align-self:flex-end;margin-bottom:1px}textarea{resize:vertical}label.field{display:block;margin-bottom:10px;font-size:13px;font-weight:600}label.field>*{margin-top:4px;font-weight:400}.field-hint{margin-top:0;font-weight:400;color:var(--muted);font-size:12px}.row{display:flex;gap:14px;flex-wrap:wrap}.row>*{min-width:0}.row>.grow{flex:1;min-width:min(220px,100%)}.language-control{min-width:170px}.model-control{min-width:260px}.run-settings{display:grid;grid-template-columns:minmax(160px,230px) minmax(320px,720px) max-content;justify-content:start;gap:14px;align-items:end}.run-settings .field{margin-bottom:0}.run-button{min-width:180px;height:var(--control-height)}.construct-row{display:grid;grid-template-columns:minmax(320px,1120px) max-content;justify-content:start;align-items:end;gap:14px}.results-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px;flex-wrap:wrap}.result-actions{justify-content:flex-end}.result-actions a{display:inline-flex;text-decoration:none}.pill{display:inline-block;padding:2px 10px;border-radius:999px;font-size:11.5px;font-weight:600}.pill.completed{background:#e6f4ea;color:var(--ok)}.pill.running{background:#fff3e0;color:#b45309}.pill.queued{background:#eef2f7;color:var(--muted)}.pill.failed{background:#fdecea;color:var(--err)}.progress-track{background:var(--line);border-radius:999px;height:7px;overflow:hidden}.progress-fill{background:var(--accent);height:100%;transition:width .4s ease}.warnings{background:#fff8e6;border:1px solid #f2dfa8;color:#7a5b00;border-radius:8px;padding:10px 14px}.error-banner{background:#fdecea;color:var(--err);border:1px solid #f5c6c0;padding:10px 14px;border-radius:8px;margin-bottom:14px;font-size:13px}.table-wrap{width:100%;overflow-x:auto}table.docs{width:100%;border-collapse:collapse;font-size:13px}table.docs th{text-align:left;color:var(--muted);font-size:11.5px;text-transform:uppercase;letter-spacing:.5px;padding:6px 8px;border-bottom:1px solid var(--line)}table.docs td{padding:7px 8px;border-bottom:1px solid var(--bg);vertical-align:top;overflow-wrap:anywhere}table.docs td.score{font-variant-numeric:tabular-nums;font-weight:600;white-space:nowrap}table.docs tbody tr:hover td{background:var(--bg)}.stat-grid{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:4px}.stat{flex:1;min-width:110px;background:var(--bg);border-radius:8px;padding:10px 14px}.stat .v{font-size:20px;font-weight:700;font-variant-numeric:tabular-nums}.stat .k{font-size:11.5px;color:var(--muted);text-transform:uppercase;letter-spacing:.5px}.item-bar-row{display:flex;align-items:center;gap:10px;margin-bottom:7px}.item-bar-label{flex:1;font-size:12.5px;min-width:0;overflow-wrap:anywhere}.item-bar-track{flex:1.2;background:var(--bg);border-radius:999px;height:10px}.item-bar-fill{background:var(--accent);opacity:.85;height:100%;border-radius:999px}.item-bar-val{width:52px;text-align:right;font-variant-numeric:tabular-nums;font-size:12.5px;font-weight:600}.construct-items{margin:8px 0 0;padding-left:20px;color:var(--muted);font-size:12.5px}.construct-items li{margin-bottom:2px}.meta-footer{font-size:12px;color:var(--muted);background:var(--bg);border-radius:8px;padding:10px 14px;margin-top:14px;font-variant-numeric:tabular-nums}.meta-footer code{font-size:11.5px}.muted{color:var(--muted)}.small{font-size:12.5px}.mt{margin-top:12px}.header-nav{margin-left:auto;display:flex;align-items:center;gap:14px;color:#fff;flex-wrap:wrap}.header-link{background:none;border:none;padding:0;color:#ffffffd1;font:inherit;font-size:13px;cursor:pointer;text-decoration:none;transition:color .15s ease}.header-link:hover{color:#fff;text-decoration:underline}.header-link.current{color:#fff;font-weight:600}.header-btn{background:#ffffff1f;color:#fff;border:1px solid rgba(255,255,255,.45);padding:5px 14px;border-radius:7px;font:inherit;font-size:13px;cursor:pointer;text-decoration:none;transition:background-color .15s ease}.header-btn:hover{background:#ffffff38}.project-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;flex-wrap:wrap}.project-title{font-size:17px;font-weight:650;margin-right:10px}button.danger{color:var(--err);border-color:#f0c4be}button.danger:hover{color:var(--err);border-color:var(--err)}button.danger-solid{background:var(--err)}button.danger-solid:hover{background:#93261b}button.danger-solid:disabled{background:#c9ccd1}.picker{position:relative}.picker-display{width:100%;display:flex;align-items:center;gap:10px;padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:#fff;font:inherit;color:var(--ink);cursor:pointer;text-align:left}.picker-display:hover{border-color:var(--brand)}.picker-display .picker-caret{margin-left:auto;color:var(--muted);font-size:11px}.picker-search{width:100%;padding:8px 12px;border:1px solid var(--brand);border-radius:8px;font:inherit;background:#fff}.picker-search:focus{outline:none;box-shadow:0 0 0 3px #339b9826}.picker-panel{position:absolute;top:calc(100% + 6px);left:0;z-index:50;width:100%;max-width:640px;background:var(--card);border:1px solid var(--line);border-radius:10px;box-shadow:0 14px 40px #0000002e;max-height:340px;overflow-y:auto;padding:4px 0 6px}.picker-group{font-size:10.5px;text-transform:uppercase;letter-spacing:.6px;color:var(--muted);padding:8px 12px 3px;position:sticky;top:0;background:var(--card)}.picker-option{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:6px 12px;cursor:pointer;font-size:13.5px}.picker-option:hover,.picker-option.active{background:var(--accent-soft)}.picker-option.selected .picker-name{font-weight:650;color:var(--brand)}.picker-name{min-width:0}.picker-meta{flex-shrink:0;font-size:11.5px;color:var(--muted);white-space:nowrap}.picker-empty{padding:12px;margin:0}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#14161a73;display:flex;align-items:center;justify-content:center;z-index:40;padding:16px}.modal{background:var(--card);border-radius:12px;padding:26px 28px 24px;width:100%;max-width:460px;box-shadow:0 12px 40px #0000002e}.modal h3{margin:0 0 8px;font-size:18px}.modal .hint{color:var(--muted);font-size:13px;line-height:1.5;margin:0 0 4px}.modal form.mt{margin-top:18px}.modal label.field{margin-bottom:16px}.modal label.field:last-of-type{margin-bottom:20px}.modal .row{gap:10px}.modal .row>.primary{flex:1}.modal p.small.muted.mt{margin-top:18px;padding-top:16px;border-top:1px solid var(--line);font-size:12.5px;line-height:1.6}@media (max-width: 820px){body{font-size:14px}.header{padding:12px 16px;align-items:flex-start;gap:2px 12px}.header .brand{font-size:16px}.header-nav{gap:10px 14px}.header .sub{flex:1 1 210px;font-size:12px;line-height:1.35}.layout{display:block}.sidebar{width:100%;border-right:0;border-bottom:1px solid var(--line);padding:14px}.project-list{max-height:220px;margin-right:0;flex:none}.project-create{border-top:0}.main{width:100%;padding:16px 14px 28px;overflow:visible}.card{padding:16px;margin-bottom:14px}.row,.run-settings,.construct-row,.results-toolbar,.result-actions{gap:10px}.row,.results-toolbar,.result-actions{flex-direction:column;align-items:stretch}.run-settings,.construct-row{grid-template-columns:1fr}.row>.grow,.construct-row>.grow,.language-control,.model-control{width:100%;min-width:0}.main .row>button,.main .row>a,.main .row>a>button,.results-toolbar>button{align-self:stretch;margin-bottom:0;width:100%}.run-button{width:100%;min-width:0}.stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.stat{min-width:0}.item-bar-row{display:grid;grid-template-columns:minmax(0,1fr) 56px;gap:6px 10px}.item-bar-track{grid-column:1 / -1;width:100%}.item-bar-val{width:auto}table.docs{min-width:520px}}@media (max-width: 460px){.header .sub{flex-basis:100%}.stat-grid{grid-template-columns:1fr}}.empty-state{text-align:center;max-width:560px;margin:48px auto 0;padding:36px 28px 28px}.empty-state h3{font-size:17px}.empty-state .hint{font-size:13px}.empty-actions{display:flex;gap:16px;align-items:center;justify-content:center;flex-wrap:wrap;margin:18px 0 16px}.ghost-link{color:var(--brand);font-weight:600;text-decoration:none}.ghost-link:hover{text-decoration:underline}.welcome{padding-top:1.2rem}.welcome-hero{padding:26px 28px}.welcome-hero h2{margin:0 0 .6rem;font-size:1.5rem}.welcome-hero p{max-width:62ch}.welcome-cta{display:flex;gap:1rem;align-items:center;flex-wrap:wrap;margin:1.1rem 0 .6rem}.welcome-cta .ghost-link{font-size:.95rem}.welcome-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.welcome-step h3{margin:.2rem 0 .3rem}.step-n{width:1.9rem;height:1.9rem;border-radius:50%;background:var(--brand);color:#fff;font-weight:700;display:flex;align-items:center;justify-content:center}@media (max-width: 700px){.welcome-steps{grid-template-columns:1fr}}.construct-selected{margin-top:8px;border:1px solid var(--line);border-radius:8px;padding:8px 12px;background:#fff}.construct-selected summary{cursor:pointer;display:flex;align-items:baseline;gap:8px;list-style-position:inside}.construct-selected-name{font-weight:600;font-size:13.5px}.construct-remove{margin-left:auto;flex-shrink:0}.construct-results summary{cursor:pointer}.construct-results summary .picker-meta{margin-left:6px}.construct-results h4{margin:14px 0 4px;font-size:13.5px}
|
|
|
|
|
|
backend/static/assets/{index-U6eqlx5K.js → index-BHSVf-_4.js}
RENAMED
|
File without changes
|
backend/static/assets/index-yUJ_ILdX.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
:root{--brand-ink: #151515;--brand: #26736f;--brand-dark: #1d5a57;--accent: #339b98;--ink: #1d2129;--muted: #667085;--line: #e5e7eb;--bg: #f7f7f8;--card: #ffffff;--ok: #157f3d;--err: #b42318;--accent-soft: #e7f3f2;--control-height: 40px;--radius: 12px;--radius-sm: 9px;--shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);--shadow-md: 0 2px 6px rgba(16, 24, 40, .05), 0 12px 24px -16px rgba(16, 24, 40, .14);--shadow-lg: 0 24px 60px -12px rgba(16, 24, 40, .26);--ring: 0 0 0 3px rgba(51, 155, 152, .18)}*{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,sans-serif;color:var(--ink);background:var(--bg);font-size:14.5px;line-height:1.5}@media (-webkit-min-device-pixel-ratio: 2),(min-resolution: 2dppx){body{-webkit-font-smoothing:antialiased}}*{scrollbar-width:thin;scrollbar-color:#c3c9d1 transparent}*::-webkit-scrollbar{width:8px;height:8px}*::-webkit-scrollbar-thumb{background:#c3c9d1;border-radius:999px}*::-webkit-scrollbar-track{background:transparent}.app{display:flex;flex-direction:column;min-height:100vh}a{color:var(--brand)}.header{background:linear-gradient(180deg,#1b1b1c,var(--brand-ink));color:#fff;padding:14px 28px;display:flex;align-items:center;flex-wrap:wrap;gap:14px;position:sticky;top:0;z-index:30;border-bottom:1px solid rgba(255,255,255,.07)}.header .brand{flex:0 0 auto;display:inline-flex;align-items:center;gap:10px;font-size:17px;font-weight:650;letter-spacing:.2px;white-space:nowrap;color:#fff;text-decoration:none}.brand-logo{height:24px;width:auto;display:block}.header .brand:hover{opacity:.88}.header .sub{flex:1 1 280px;min-width:0;font-size:12.5px;opacity:.85}.layout{display:flex;flex:1;min-width:0;min-height:0}.sidebar{width:250px;background:var(--card);border-right:1px solid var(--line);padding:18px 14px;flex-shrink:0;display:flex;flex-direction:column;min-height:0}.sidebar h2{font-size:11.5px;text-transform:uppercase;letter-spacing:.7px;color:var(--muted);margin:0 0 10px 4px;display:flex;align-items:center;gap:8px}.sidebar h2 .count{background:var(--bg);border:1px solid var(--line);border-radius:999px;padding:0 8px;font-size:10.5px;letter-spacing:0;color:var(--muted)}.sidebar-filter{width:100%;padding:7px 10px;margin-bottom:10px;border:1px solid var(--line);border-radius:var(--radius-sm);font:inherit;font-size:13px;background:#fff;color:var(--ink)}.sidebar-filter:focus{outline:none;border-color:var(--brand)}.project-list{flex:1;min-height:0;overflow-y:auto;margin:0 -4px;padding:0 4px 4px}.group-label{font-size:10.5px;text-transform:uppercase;letter-spacing:.6px;color:var(--muted);margin:10px 4px 5px}div:first-child>.group-label{margin-top:2px}.project-item{display:block;width:100%;text-align:left;padding:9px 12px;margin-bottom:5px;border:1px solid transparent;border-radius:var(--radius-sm);background:none;cursor:pointer;font:inherit;color:var(--ink)}.project-item:hover{background:var(--bg)}.project-item.active{background:var(--accent-soft);border-color:var(--brand);font-weight:600}.project-item .project-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-item .date{display:block;font-size:11.5px;color:var(--muted);font-weight:400}.project-create{margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}.project-create>button{width:100%}.main{flex:1;padding:22px 28px;overflow-y:auto;min-width:0}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:18px 20px;margin-bottom:16px;box-shadow:var(--shadow-sm)}.card h3{margin:0 0 4px;font-size:15px}.card .hint{color:var(--muted);font-size:12.5px;margin:0 0 12px}.step-badge{display:inline-flex;align-items:center;justify-content:center;width:21px;height:21px;border-radius:50%;background:var(--brand);color:#fff;font-size:12px;font-weight:700;margin-right:8px;vertical-align:-3px}button{white-space:nowrap}button.primary{background:var(--brand);color:#fff;border:none;min-height:var(--control-height);display:inline-flex;align-items:center;justify-content:center;padding:0 18px;border-radius:var(--radius-sm);font:inherit;font-weight:600;cursor:pointer;line-height:1.2;transition:background-color .15s ease}button.primary:hover{background:var(--brand-dark)}button.primary:active{transform:translateY(1px)}button.primary:disabled{background:#c9ccd1;cursor:not-allowed;transform:none}a.google-btn{background:var(--brand);color:#fff;border:none;min-height:var(--control-height);display:flex;align-items:center;justify-content:center;padding:0 18px;border-radius:var(--radius-sm);font:inherit;font-weight:600;cursor:pointer;line-height:1.2;text-decoration:none;width:100%;box-sizing:border-box}a.google-btn:hover{background:var(--brand-dark)}button.ghost,a.ghost{background:none;border:1px solid var(--line);color:var(--ink);min-height:var(--control-height);display:inline-flex;align-items:center;justify-content:center;padding:0 14px;border-radius:var(--radius-sm);font:inherit;cursor:pointer;line-height:1.2;text-decoration:none;transition:border-color .15s ease,color .15s ease}button.ghost:hover,a.ghost:hover{border-color:var(--brand);color:var(--brand);background:var(--accent-soft)}button.ghost:active,a.ghost:active{transform:translateY(1px)}button.linkish{background:none;border:none;color:var(--brand);font:inherit;cursor:pointer;padding:0;text-decoration:underline}input[type=text],input[type=email],input[type=password],textarea,select{width:100%;padding:8px 10px;border:1px solid var(--line);border-radius:var(--radius-sm);font:inherit;background:#fff;color:var(--ink)}input[type=text],input[type=email],input[type=password],select{height:var(--control-height)}input[type=text]:focus,input[type=email]:focus,input[type=password]:focus,textarea:focus,select:focus{outline:none;border-color:var(--accent);box-shadow:var(--ring)}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid rgba(51,155,152,.5);outline-offset:2px}input[type=file]{display:block;max-width:100%;margin-top:6px;font-size:13px;color:var(--muted)}input[type=file]::file-selector-button{background:#fff;border:1px solid var(--line);color:var(--ink);padding:7px 14px;border-radius:var(--radius-sm);font:inherit;font-size:13px;cursor:pointer;margin-right:10px}input[type=file]::file-selector-button:hover{border-color:var(--brand);color:var(--brand)}.row>button{align-self:flex-end;margin-bottom:1px}textarea{resize:vertical}label.field{display:block;margin-bottom:10px;font-size:13px;font-weight:600}label.field>*{margin-top:4px;font-weight:400}.field-hint{margin-top:0;font-weight:400;color:var(--muted);font-size:12px}.row{display:flex;gap:14px;flex-wrap:wrap}.row>*{min-width:0}.row>.grow{flex:1;min-width:min(220px,100%)}.language-control{min-width:170px}.model-control{min-width:260px}.run-settings{display:grid;grid-template-columns:minmax(160px,230px) minmax(320px,720px) max-content;justify-content:start;gap:14px;align-items:end}.run-settings .field{margin-bottom:0}.run-button{min-width:180px;height:var(--control-height)}.construct-row{display:grid;grid-template-columns:minmax(320px,1120px) max-content;justify-content:start;align-items:end;gap:14px}.results-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px;flex-wrap:wrap}.result-actions{justify-content:flex-end}.result-actions a{display:inline-flex;text-decoration:none}.pill{display:inline-flex;align-items:center;gap:6px;padding:2px 10px;border-radius:999px;font-size:11.5px;font-weight:600}.pill:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;opacity:.75}.pill.running:before{animation:pill-pulse 1.2s ease-in-out infinite}@keyframes pill-pulse{50%{opacity:.2}}.pill.completed{background:#e6f4ea;color:var(--ok)}.pill.running{background:#fff3e0;color:#b45309}.pill.queued{background:#eef2f7;color:var(--muted)}.pill.failed{background:#fdecea;color:var(--err)}.progress-track{background:var(--line);border-radius:999px;height:7px;overflow:hidden}.progress-fill{background:linear-gradient(90deg,var(--brand),var(--accent));height:100%;transition:width .4s ease;border-radius:999px}.warnings{background:#fff8e6;border:1px solid #f2dfa8;color:#7a5b00;border-radius:var(--radius-sm);padding:10px 14px}.error-banner{background:#fdecea;color:var(--err);border:1px solid #f5c6c0;padding:10px 14px;border-radius:var(--radius-sm);margin-bottom:14px;font-size:13px}.table-wrap{width:100%;overflow-x:auto}table.docs{width:100%;border-collapse:collapse;font-size:13px}table.docs th{text-align:left;color:var(--muted);font-size:11.5px;text-transform:uppercase;letter-spacing:.5px;padding:6px 8px;border-bottom:1px solid var(--line)}table.docs td{padding:8px;border-bottom:1px solid #f0f1f3;vertical-align:top;overflow-wrap:anywhere}table.docs tbody tr:last-child td{border-bottom:none}table.docs td.score{font-variant-numeric:tabular-nums;font-weight:600;white-space:nowrap}table.docs tbody tr:hover td{background:var(--bg)}.stat-grid{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:4px}.stat{flex:1;min-width:110px;background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:10px 14px}.stat .v{font-size:21px;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:-.02em}.stat .k{font-size:11.5px;color:var(--muted);text-transform:uppercase;letter-spacing:.5px}.item-bar-row{display:flex;align-items:center;gap:10px;margin-bottom:7px}.item-bar-label{flex:1;font-size:12.5px;min-width:0;overflow-wrap:anywhere}.item-bar-track{flex:1.2;background:var(--bg);border-radius:999px;height:10px}.item-bar-fill{background:var(--accent);opacity:.85;height:100%;border-radius:999px}.item-bar-val{width:52px;text-align:right;font-variant-numeric:tabular-nums;font-size:12.5px;font-weight:600}.construct-items{margin:8px 0 0;padding-left:20px;color:var(--muted);font-size:12.5px}.construct-items li{margin-bottom:2px}.meta-footer{font-size:12px;color:var(--muted);background:var(--bg);border-radius:var(--radius-sm);padding:10px 14px;margin-top:14px;font-variant-numeric:tabular-nums}.meta-footer code{font-size:11.5px}.muted{color:var(--muted)}.small{font-size:12.5px}.mt{margin-top:12px}.header-nav{margin-left:auto;display:flex;align-items:center;gap:14px;color:#fff;flex-wrap:wrap}.header-link{background:none;border:none;padding:0;color:#ffffffd1;font:inherit;font-size:13px;cursor:pointer;text-decoration:none;transition:color .15s ease}.header-link:hover{color:#fff;text-decoration:underline}.header-link.current{color:#fff;font-weight:600}.header-btn{background:#ffffff1f;color:#fff;border:1px solid rgba(255,255,255,.45);padding:5px 14px;border-radius:7px;font:inherit;font-size:13px;cursor:pointer;text-decoration:none;transition:background-color .15s ease}.header-btn:hover{background:#ffffff38}.project-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;flex-wrap:wrap}.project-title{font-size:17px;font-weight:650;margin-right:10px}button.danger{color:var(--err);border-color:#f0c4be}button.danger:hover{color:var(--err);border-color:var(--err)}button.danger-solid{background:var(--err)}button.danger-solid:hover{background:#93261b}button.danger-solid:disabled{background:#c9ccd1}.picker{position:relative}.picker-display{width:100%;display:flex;align-items:center;gap:10px;padding:8px 12px;border:1px solid var(--line);border-radius:var(--radius-sm);background:#fff;font:inherit;color:var(--ink);cursor:pointer;text-align:left}.picker-display:hover{border-color:var(--brand)}.picker-display .picker-caret{margin-left:auto;color:var(--muted);font-size:11px}.picker-search{width:100%;padding:8px 12px;border:1px solid var(--brand);border-radius:var(--radius-sm);font:inherit;background:#fff}.picker-search:focus{outline:none;box-shadow:0 0 0 3px #339b9826}.picker-panel{position:absolute;top:calc(100% + 6px);left:0;z-index:50;width:100%;max-width:640px;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-lg);max-height:340px;overflow-y:auto;padding:4px 0 6px;animation:float-in .14s ease-out}@keyframes float-in{0%{opacity:0;transform:translateY(-4px)}}.picker-group{font-size:10.5px;text-transform:uppercase;letter-spacing:.6px;color:var(--muted);padding:8px 12px 3px;position:sticky;top:0;background:var(--card)}.picker-option{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:6px 12px;cursor:pointer;font-size:13.5px}.picker-option:hover,.picker-option.active{background:var(--accent-soft)}.picker-option.selected .picker-name{font-weight:650;color:var(--brand)}.picker-name{min-width:0}.picker-meta{flex-shrink:0;font-size:11.5px;color:var(--muted);white-space:nowrap}.picker-empty{padding:12px;margin:0}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#14161a66;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;z-index:40;padding:16px}.modal{background:var(--card);border-radius:14px;padding:26px 28px 24px;width:100%;max-width:460px;box-shadow:var(--shadow-lg);animation:modal-in .16s ease-out}@keyframes modal-in{0%{opacity:0;transform:translateY(6px) scale(.985)}}.modal h3{margin:0 0 8px;font-size:18px}.modal .hint{color:var(--muted);font-size:13px;line-height:1.5;margin:0 0 4px}.modal form.mt{margin-top:18px}.modal label.field{margin-bottom:16px}.modal label.field:last-of-type{margin-bottom:20px}.modal .row{gap:10px}.modal .row>.primary{flex:1}.modal p.small.muted.mt{margin-top:18px;padding-top:16px;border-top:1px solid var(--line);font-size:12.5px;line-height:1.6}@media (max-width: 820px){body{font-size:14px}.header{padding:12px 16px;align-items:flex-start;gap:2px 12px}.header .brand{font-size:16px}.header-nav{gap:10px 14px}.header .sub{flex:1 1 210px;font-size:12px;line-height:1.35}.layout{display:block}.sidebar{width:100%;border-right:0;border-bottom:1px solid var(--line);padding:14px}.project-list{max-height:220px;margin-right:0;flex:none}.project-create{border-top:0}.main{width:100%;padding:16px 14px 28px;overflow:visible}.card{padding:16px;margin-bottom:14px}.row,.run-settings,.construct-row,.results-toolbar,.result-actions{gap:10px}.row,.results-toolbar,.result-actions{flex-direction:column;align-items:stretch}.run-settings,.construct-row{grid-template-columns:1fr}.row>.grow,.construct-row>.grow,.language-control,.model-control{width:100%;min-width:0}.main .row>button,.main .row>a,.main .row>a>button,.results-toolbar>button{align-self:stretch;margin-bottom:0;width:100%}.run-button{width:100%;min-width:0}.stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.stat{min-width:0}.item-bar-row{display:grid;grid-template-columns:minmax(0,1fr) 56px;gap:6px 10px}.item-bar-track{grid-column:1 / -1;width:100%}.item-bar-val{width:auto}table.docs{min-width:520px}}@media (max-width: 460px){.header .sub{flex-basis:100%}.stat-grid{grid-template-columns:1fr}}.empty-state{text-align:center;max-width:560px;margin:48px auto 0;padding:36px 28px 28px}.empty-state h3{font-size:17px}.empty-state .hint{font-size:13px}.empty-actions{display:flex;gap:16px;align-items:center;justify-content:center;flex-wrap:wrap;margin:18px 0 16px}.ghost-link{color:var(--brand);font-weight:600;text-decoration:none}.ghost-link:hover{text-decoration:underline}.welcome{padding-top:1.2rem}.welcome-hero{padding:26px 28px;background:linear-gradient(135deg,#ffffff 55%,var(--accent-soft))}.welcome-hero h2{margin:0 0 .6rem;font-size:1.5rem}.welcome-hero p{max-width:62ch}.welcome-cta{display:flex;gap:1rem;align-items:center;flex-wrap:wrap;margin:1.1rem 0 .6rem}.welcome-cta .ghost-link{font-size:.95rem}.welcome-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.welcome-step h3{margin:.2rem 0 .3rem}.step-n{width:1.9rem;height:1.9rem;border-radius:50%;background:var(--brand);color:#fff;font-weight:700;display:flex;align-items:center;justify-content:center}@media (max-width: 700px){.welcome-steps{grid-template-columns:1fr}}.construct-selected{margin-top:8px;border:1px solid var(--line);border-radius:var(--radius-sm);padding:8px 12px;background:#fff}.construct-selected summary,.construct-results summary{cursor:pointer;display:flex;align-items:baseline;gap:8px;list-style:none}.construct-selected summary::-webkit-details-marker,.construct-results summary::-webkit-details-marker{display:none}.construct-selected summary:before,.construct-results summary:before{content:"▸";color:var(--muted);font-size:11px;transition:transform .15s ease;align-self:center}details[open]>summary:before{transform:rotate(90deg)}.construct-selected-name{font-weight:600;font-size:13.5px}.construct-remove{margin-left:auto;flex-shrink:0}.construct-results summary .picker-meta{margin-left:6px}.construct-results h4{margin:14px 0 4px;font-size:13.5px}@media (prefers-reduced-motion: reduce){.picker-panel,.modal{animation:none}.pill.running:before{animation:none}.construct-selected summary:before,.construct-results summary:before{transition:none}button.primary:active,button.ghost:active,a.ghost:active{transform:none}}
|
backend/static/index.html
CHANGED
|
@@ -5,8 +5,8 @@
|
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
| 6 |
<link rel="icon" type="image/svg+xml" href="/ccr-logo.svg" />
|
| 7 |
<title>CCR Platform - Contextualized Construct Representations</title>
|
| 8 |
-
<script type="module" crossorigin src="/assets/index-
|
| 9 |
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
| 10 |
</head>
|
| 11 |
<body>
|
| 12 |
<div id="root"></div>
|
|
|
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
| 6 |
<link rel="icon" type="image/svg+xml" href="/ccr-logo.svg" />
|
| 7 |
<title>CCR Platform - Contextualized Construct Representations</title>
|
| 8 |
+
<script type="module" crossorigin src="/assets/index-BHSVf-_4.js"></script>
|
| 9 |
+
<link rel="stylesheet" crossorigin href="/assets/index-yUJ_ILdX.css">
|
| 10 |
</head>
|
| 11 |
<body>
|
| 12 |
<div id="root"></div>
|
frontend/src/styles.css
CHANGED
|
@@ -16,6 +16,13 @@
|
|
| 16 |
--err: #b42318;
|
| 17 |
--accent-soft: #e7f3f2;
|
| 18 |
--control-height: 40px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
}
|
| 20 |
|
| 21 |
* { box-sizing: border-box; }
|
|
@@ -29,19 +36,35 @@ body {
|
|
| 29 |
line-height: 1.5;
|
| 30 |
}
|
| 31 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
.app { display: flex; flex-direction: column; min-height: 100vh; }
|
| 33 |
|
| 34 |
a { color: var(--brand); }
|
| 35 |
|
| 36 |
/* ---------- header ---------- */
|
| 37 |
.header {
|
| 38 |
-
background: var(--brand-ink);
|
| 39 |
color: #fff;
|
| 40 |
padding: 14px 28px;
|
| 41 |
display: flex;
|
| 42 |
align-items: center;
|
| 43 |
flex-wrap: wrap;
|
| 44 |
gap: 14px;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
}
|
| 46 |
.header .brand {
|
| 47 |
flex: 0 0 auto;
|
|
@@ -83,7 +106,7 @@ a { color: var(--brand); }
|
|
| 83 |
}
|
| 84 |
.sidebar-filter {
|
| 85 |
width: 100%; padding: 7px 10px; margin-bottom: 10px;
|
| 86 |
-
border: 1px solid var(--line); border-radius:
|
| 87 |
background: #fff; color: var(--ink);
|
| 88 |
}
|
| 89 |
.sidebar-filter:focus { outline: none; border-color: var(--brand); }
|
|
@@ -102,7 +125,7 @@ div:first-child > .group-label { margin-top: 2px; }
|
|
| 102 |
.project-item {
|
| 103 |
display: block; width: 100%; text-align: left;
|
| 104 |
padding: 9px 12px; margin-bottom: 5px;
|
| 105 |
-
border: 1px solid transparent; border-radius:
|
| 106 |
background: none; cursor: pointer; font: inherit; color: var(--ink);
|
| 107 |
}
|
| 108 |
.project-item:hover { background: var(--bg); }
|
|
@@ -126,8 +149,8 @@ div:first-child > .group-label { margin-top: 2px; }
|
|
| 126 |
|
| 127 |
.card {
|
| 128 |
background: var(--card); border: 1px solid var(--line);
|
| 129 |
-
border-radius:
|
| 130 |
-
box-shadow:
|
| 131 |
}
|
| 132 |
.card h3 { margin: 0 0 4px; font-size: 15px; }
|
| 133 |
.card .hint { color: var(--muted); font-size: 12.5px; margin: 0 0 12px; }
|
|
@@ -148,17 +171,18 @@ button.primary {
|
|
| 148 |
display: inline-flex;
|
| 149 |
align-items: center;
|
| 150 |
justify-content: center;
|
| 151 |
-
padding: 0 18px; border-radius:
|
| 152 |
line-height: 1.2;
|
| 153 |
transition: background-color 0.15s ease;
|
| 154 |
}
|
| 155 |
button.primary:hover { background: var(--brand-dark); }
|
| 156 |
-
button.primary:
|
|
|
|
| 157 |
a.google-btn {
|
| 158 |
background: var(--brand); color: #fff; border: none;
|
| 159 |
min-height: var(--control-height);
|
| 160 |
display: flex; align-items: center; justify-content: center;
|
| 161 |
-
padding: 0 18px; border-radius:
|
| 162 |
cursor: pointer; line-height: 1.2; text-decoration: none; width: 100%;
|
| 163 |
box-sizing: border-box;
|
| 164 |
}
|
|
@@ -169,11 +193,14 @@ button.ghost, a.ghost {
|
|
| 169 |
display: inline-flex;
|
| 170 |
align-items: center;
|
| 171 |
justify-content: center;
|
| 172 |
-
padding: 0 14px; border-radius:
|
| 173 |
line-height: 1.2; text-decoration: none;
|
| 174 |
transition: border-color 0.15s ease, color 0.15s ease;
|
| 175 |
}
|
| 176 |
-
button.ghost:hover, a.ghost:hover {
|
|
|
|
|
|
|
|
|
|
| 177 |
button.linkish {
|
| 178 |
background: none; border: none; color: var(--brand);
|
| 179 |
font: inherit; cursor: pointer; padding: 0; text-decoration: underline;
|
|
@@ -181,10 +208,15 @@ button.linkish {
|
|
| 181 |
|
| 182 |
input[type="text"], input[type="email"], input[type="password"], textarea, select {
|
| 183 |
width: 100%; padding: 8px 10px; border: 1px solid var(--line);
|
| 184 |
-
border-radius:
|
| 185 |
}
|
| 186 |
input[type="text"], input[type="email"], input[type="password"], select { height: var(--control-height); }
|
| 187 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 188 |
button:focus-visible,
|
| 189 |
input:focus-visible,
|
| 190 |
textarea:focus-visible,
|
|
@@ -200,7 +232,7 @@ input[type="file"] {
|
|
| 200 |
}
|
| 201 |
input[type="file"]::file-selector-button {
|
| 202 |
background: #fff; border: 1px solid var(--line); color: var(--ink);
|
| 203 |
-
padding: 7px 14px; border-radius:
|
| 204 |
cursor: pointer; margin-right: 10px;
|
| 205 |
}
|
| 206 |
input[type="file"]::file-selector-button:hover {
|
|
@@ -252,25 +284,37 @@ label.field > * { margin-top: 4px; font-weight: 400; }
|
|
| 252 |
|
| 253 |
/* ---------- misc ---------- */
|
| 254 |
.pill {
|
| 255 |
-
display: inline-
|
|
|
|
| 256 |
font-size: 11.5px; font-weight: 600;
|
| 257 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 258 |
.pill.completed { background: #e6f4ea; color: var(--ok); }
|
| 259 |
.pill.running { background: #fff3e0; color: #b45309; }
|
| 260 |
.pill.queued { background: #eef2f7; color: var(--muted); }
|
| 261 |
.pill.failed { background: #fdecea; color: var(--err); }
|
| 262 |
|
| 263 |
.progress-track { background: var(--line); border-radius: 999px; height: 7px; overflow: hidden; }
|
| 264 |
-
.progress-fill {
|
|
|
|
|
|
|
|
|
|
| 265 |
|
| 266 |
.warnings {
|
| 267 |
background: #fff8e6; border: 1px solid #f2dfa8; color: #7a5b00;
|
| 268 |
-
border-radius:
|
| 269 |
}
|
| 270 |
|
| 271 |
.error-banner {
|
| 272 |
background: #fdecea; color: var(--err); border: 1px solid #f5c6c0;
|
| 273 |
-
padding: 10px 14px; border-radius:
|
| 274 |
}
|
| 275 |
|
| 276 |
.table-wrap { width: 100%; overflow-x: auto; }
|
|
@@ -280,18 +324,20 @@ table.docs th {
|
|
| 280 |
letter-spacing: 0.5px; padding: 6px 8px; border-bottom: 1px solid var(--line);
|
| 281 |
}
|
| 282 |
table.docs td {
|
| 283 |
-
padding:
|
| 284 |
overflow-wrap: anywhere;
|
| 285 |
}
|
|
|
|
| 286 |
table.docs td.score { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
|
| 287 |
table.docs tbody tr:hover td { background: var(--bg); }
|
| 288 |
|
| 289 |
.stat-grid { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
|
| 290 |
.stat {
|
| 291 |
flex: 1; min-width: 110px; background: var(--bg);
|
| 292 |
-
border
|
|
|
|
| 293 |
}
|
| 294 |
-
.stat .v { font-size:
|
| 295 |
.stat .k { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
|
| 296 |
|
| 297 |
.item-bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; }
|
|
@@ -305,7 +351,7 @@ table.docs tbody tr:hover td { background: var(--bg); }
|
|
| 305 |
|
| 306 |
.meta-footer {
|
| 307 |
font-size: 12px; color: var(--muted); background: var(--bg);
|
| 308 |
-
border-radius:
|
| 309 |
font-variant-numeric: tabular-nums;
|
| 310 |
}
|
| 311 |
.meta-footer code { font-size: 11.5px; }
|
|
@@ -350,22 +396,26 @@ button.danger-solid:disabled { background: #c9ccd1; }
|
|
| 350 |
.picker { position: relative; }
|
| 351 |
.picker-display {
|
| 352 |
width: 100%; display: flex; align-items: center; gap: 10px;
|
| 353 |
-
padding: 8px 12px; border: 1px solid var(--line); border-radius:
|
| 354 |
background: #fff; font: inherit; color: var(--ink); cursor: pointer; text-align: left;
|
| 355 |
}
|
| 356 |
.picker-display:hover { border-color: var(--brand); }
|
| 357 |
.picker-display .picker-caret { margin-left: auto; color: var(--muted); font-size: 11px; }
|
| 358 |
.picker-search {
|
| 359 |
width: 100%; padding: 8px 12px; border: 1px solid var(--brand);
|
| 360 |
-
border-radius:
|
| 361 |
}
|
| 362 |
.picker-search:focus { outline: none; box-shadow: 0 0 0 3px rgba(51, 155, 152, 0.15); }
|
| 363 |
.picker-panel {
|
| 364 |
position: absolute; top: calc(100% + 6px); left: 0; z-index: 50;
|
| 365 |
width: 100%; max-width: 640px;
|
| 366 |
-
background: var(--card); border: 1px solid var(--line); border-radius:
|
| 367 |
-
box-shadow:
|
| 368 |
max-height: 340px; overflow-y: auto; padding: 4px 0 6px;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 369 |
}
|
| 370 |
.picker-group {
|
| 371 |
font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.6px;
|
|
@@ -384,12 +434,17 @@ button.danger-solid:disabled { background: #c9ccd1; }
|
|
| 384 |
|
| 385 |
/* ---------- modal ---------- */
|
| 386 |
.modal-backdrop {
|
| 387 |
-
position: fixed; inset: 0; background: rgba(20, 22, 26, 0.
|
|
|
|
| 388 |
display: flex; align-items: center; justify-content: center; z-index: 40; padding: 16px;
|
| 389 |
}
|
| 390 |
.modal {
|
| 391 |
-
background: var(--card); border-radius:
|
| 392 |
-
width: 100%; max-width: 460px; box-shadow:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 393 |
}
|
| 394 |
.modal h3 { margin: 0 0 8px; font-size: 18px; }
|
| 395 |
|
|
@@ -517,7 +572,10 @@ button.danger-solid:disabled { background: #c9ccd1; }
|
|
| 517 |
|
| 518 |
/* ------------------------------------------------------------- welcome */
|
| 519 |
.welcome { padding-top: 1.2rem; }
|
| 520 |
-
.welcome-hero {
|
|
|
|
|
|
|
|
|
|
| 521 |
.welcome-hero h2 { margin: 0 0 .6rem; font-size: 1.5rem; }
|
| 522 |
.welcome-hero p { max-width: 62ch; }
|
| 523 |
.welcome-cta {
|
|
@@ -540,15 +598,31 @@ button.danger-solid:disabled { background: #c9ccd1; }
|
|
| 540 |
|
| 541 |
/* ------------------------------------------- multi-construct runs */
|
| 542 |
.construct-selected {
|
| 543 |
-
margin-top: 8px; border: 1px solid var(--line); border-radius:
|
| 544 |
padding: 8px 12px; background: #fff;
|
| 545 |
}
|
| 546 |
-
.construct-selected summary
|
|
|
|
| 547 |
cursor: pointer; display: flex; align-items: baseline; gap: 8px;
|
| 548 |
-
list-style
|
| 549 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 550 |
.construct-selected-name { font-weight: 600; font-size: 13.5px; }
|
| 551 |
.construct-remove { margin-left: auto; flex-shrink: 0; }
|
| 552 |
-
.construct-results summary { cursor: pointer; }
|
| 553 |
.construct-results summary .picker-meta { margin-left: 6px; }
|
| 554 |
.construct-results h4 { margin: 14px 0 4px; font-size: 13.5px; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
--err: #b42318;
|
| 17 |
--accent-soft: #e7f3f2;
|
| 18 |
--control-height: 40px;
|
| 19 |
+
/* modern surface language: one radius pair, layered shadows, one focus ring */
|
| 20 |
+
--radius: 12px;
|
| 21 |
+
--radius-sm: 9px;
|
| 22 |
+
--shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
|
| 23 |
+
--shadow-md: 0 2px 6px rgba(16, 24, 40, 0.05), 0 12px 24px -16px rgba(16, 24, 40, 0.14);
|
| 24 |
+
--shadow-lg: 0 24px 60px -12px rgba(16, 24, 40, 0.26);
|
| 25 |
+
--ring: 0 0 0 3px rgba(51, 155, 152, 0.18);
|
| 26 |
}
|
| 27 |
|
| 28 |
* { box-sizing: border-box; }
|
|
|
|
| 36 |
line-height: 1.5;
|
| 37 |
}
|
| 38 |
|
| 39 |
+
/* Grayscale antialiasing only on high-DPI screens, where it looks cleaner.
|
| 40 |
+
On 1x displays it kills subpixel rendering and text goes fuzzy. */
|
| 41 |
+
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
|
| 42 |
+
body { -webkit-font-smoothing: antialiased; }
|
| 43 |
+
}
|
| 44 |
+
|
| 45 |
+
/* thin, unobtrusive scrollbars everywhere */
|
| 46 |
+
* { scrollbar-width: thin; scrollbar-color: #c3c9d1 transparent; }
|
| 47 |
+
*::-webkit-scrollbar { width: 8px; height: 8px; }
|
| 48 |
+
*::-webkit-scrollbar-thumb { background: #c3c9d1; border-radius: 999px; }
|
| 49 |
+
*::-webkit-scrollbar-track { background: transparent; }
|
| 50 |
+
|
| 51 |
.app { display: flex; flex-direction: column; min-height: 100vh; }
|
| 52 |
|
| 53 |
a { color: var(--brand); }
|
| 54 |
|
| 55 |
/* ---------- header ---------- */
|
| 56 |
.header {
|
| 57 |
+
background: linear-gradient(180deg, #1b1b1c, var(--brand-ink)); /* logo ink */
|
| 58 |
color: #fff;
|
| 59 |
padding: 14px 28px;
|
| 60 |
display: flex;
|
| 61 |
align-items: center;
|
| 62 |
flex-wrap: wrap;
|
| 63 |
gap: 14px;
|
| 64 |
+
position: sticky;
|
| 65 |
+
top: 0;
|
| 66 |
+
z-index: 30;
|
| 67 |
+
border-bottom: 1px solid rgba(255, 255, 255, 0.07);
|
| 68 |
}
|
| 69 |
.header .brand {
|
| 70 |
flex: 0 0 auto;
|
|
|
|
| 106 |
}
|
| 107 |
.sidebar-filter {
|
| 108 |
width: 100%; padding: 7px 10px; margin-bottom: 10px;
|
| 109 |
+
border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; font-size: 13px;
|
| 110 |
background: #fff; color: var(--ink);
|
| 111 |
}
|
| 112 |
.sidebar-filter:focus { outline: none; border-color: var(--brand); }
|
|
|
|
| 125 |
.project-item {
|
| 126 |
display: block; width: 100%; text-align: left;
|
| 127 |
padding: 9px 12px; margin-bottom: 5px;
|
| 128 |
+
border: 1px solid transparent; border-radius: var(--radius-sm);
|
| 129 |
background: none; cursor: pointer; font: inherit; color: var(--ink);
|
| 130 |
}
|
| 131 |
.project-item:hover { background: var(--bg); }
|
|
|
|
| 149 |
|
| 150 |
.card {
|
| 151 |
background: var(--card); border: 1px solid var(--line);
|
| 152 |
+
border-radius: var(--radius); padding: 18px 20px; margin-bottom: 16px;
|
| 153 |
+
box-shadow: var(--shadow-sm);
|
| 154 |
}
|
| 155 |
.card h3 { margin: 0 0 4px; font-size: 15px; }
|
| 156 |
.card .hint { color: var(--muted); font-size: 12.5px; margin: 0 0 12px; }
|
|
|
|
| 171 |
display: inline-flex;
|
| 172 |
align-items: center;
|
| 173 |
justify-content: center;
|
| 174 |
+
padding: 0 18px; border-radius: var(--radius-sm); font: inherit; font-weight: 600; cursor: pointer;
|
| 175 |
line-height: 1.2;
|
| 176 |
transition: background-color 0.15s ease;
|
| 177 |
}
|
| 178 |
button.primary:hover { background: var(--brand-dark); }
|
| 179 |
+
button.primary:active { transform: translateY(1px); }
|
| 180 |
+
button.primary:disabled { background: #c9ccd1; cursor: not-allowed; transform: none; }
|
| 181 |
a.google-btn {
|
| 182 |
background: var(--brand); color: #fff; border: none;
|
| 183 |
min-height: var(--control-height);
|
| 184 |
display: flex; align-items: center; justify-content: center;
|
| 185 |
+
padding: 0 18px; border-radius: var(--radius-sm); font: inherit; font-weight: 600;
|
| 186 |
cursor: pointer; line-height: 1.2; text-decoration: none; width: 100%;
|
| 187 |
box-sizing: border-box;
|
| 188 |
}
|
|
|
|
| 193 |
display: inline-flex;
|
| 194 |
align-items: center;
|
| 195 |
justify-content: center;
|
| 196 |
+
padding: 0 14px; border-radius: var(--radius-sm); font: inherit; cursor: pointer;
|
| 197 |
line-height: 1.2; text-decoration: none;
|
| 198 |
transition: border-color 0.15s ease, color 0.15s ease;
|
| 199 |
}
|
| 200 |
+
button.ghost:hover, a.ghost:hover {
|
| 201 |
+
border-color: var(--brand); color: var(--brand); background: var(--accent-soft);
|
| 202 |
+
}
|
| 203 |
+
button.ghost:active, a.ghost:active { transform: translateY(1px); }
|
| 204 |
button.linkish {
|
| 205 |
background: none; border: none; color: var(--brand);
|
| 206 |
font: inherit; cursor: pointer; padding: 0; text-decoration: underline;
|
|
|
|
| 208 |
|
| 209 |
input[type="text"], input[type="email"], input[type="password"], textarea, select {
|
| 210 |
width: 100%; padding: 8px 10px; border: 1px solid var(--line);
|
| 211 |
+
border-radius: var(--radius-sm); font: inherit; background: #fff; color: var(--ink);
|
| 212 |
}
|
| 213 |
input[type="text"], input[type="email"], input[type="password"], select { height: var(--control-height); }
|
| 214 |
|
| 215 |
+
input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus,
|
| 216 |
+
textarea:focus, select:focus {
|
| 217 |
+
outline: none; border-color: var(--accent); box-shadow: var(--ring);
|
| 218 |
+
}
|
| 219 |
+
|
| 220 |
button:focus-visible,
|
| 221 |
input:focus-visible,
|
| 222 |
textarea:focus-visible,
|
|
|
|
| 232 |
}
|
| 233 |
input[type="file"]::file-selector-button {
|
| 234 |
background: #fff; border: 1px solid var(--line); color: var(--ink);
|
| 235 |
+
padding: 7px 14px; border-radius: var(--radius-sm); font: inherit; font-size: 13px;
|
| 236 |
cursor: pointer; margin-right: 10px;
|
| 237 |
}
|
| 238 |
input[type="file"]::file-selector-button:hover {
|
|
|
|
| 284 |
|
| 285 |
/* ---------- misc ---------- */
|
| 286 |
.pill {
|
| 287 |
+
display: inline-flex; align-items: center; gap: 6px;
|
| 288 |
+
padding: 2px 10px; border-radius: 999px;
|
| 289 |
font-size: 11.5px; font-weight: 600;
|
| 290 |
}
|
| 291 |
+
.pill::before {
|
| 292 |
+
content: ""; width: 6px; height: 6px; border-radius: 50%;
|
| 293 |
+
background: currentColor; opacity: 0.75;
|
| 294 |
+
}
|
| 295 |
+
.pill.running::before { animation: pill-pulse 1.2s ease-in-out infinite; }
|
| 296 |
+
@keyframes pill-pulse {
|
| 297 |
+
50% { opacity: 0.2; }
|
| 298 |
+
}
|
| 299 |
.pill.completed { background: #e6f4ea; color: var(--ok); }
|
| 300 |
.pill.running { background: #fff3e0; color: #b45309; }
|
| 301 |
.pill.queued { background: #eef2f7; color: var(--muted); }
|
| 302 |
.pill.failed { background: #fdecea; color: var(--err); }
|
| 303 |
|
| 304 |
.progress-track { background: var(--line); border-radius: 999px; height: 7px; overflow: hidden; }
|
| 305 |
+
.progress-fill {
|
| 306 |
+
background: linear-gradient(90deg, var(--brand), var(--accent));
|
| 307 |
+
height: 100%; transition: width 0.4s ease; border-radius: 999px;
|
| 308 |
+
}
|
| 309 |
|
| 310 |
.warnings {
|
| 311 |
background: #fff8e6; border: 1px solid #f2dfa8; color: #7a5b00;
|
| 312 |
+
border-radius: var(--radius-sm); padding: 10px 14px;
|
| 313 |
}
|
| 314 |
|
| 315 |
.error-banner {
|
| 316 |
background: #fdecea; color: var(--err); border: 1px solid #f5c6c0;
|
| 317 |
+
padding: 10px 14px; border-radius: var(--radius-sm); margin-bottom: 14px; font-size: 13px;
|
| 318 |
}
|
| 319 |
|
| 320 |
.table-wrap { width: 100%; overflow-x: auto; }
|
|
|
|
| 324 |
letter-spacing: 0.5px; padding: 6px 8px; border-bottom: 1px solid var(--line);
|
| 325 |
}
|
| 326 |
table.docs td {
|
| 327 |
+
padding: 8px; border-bottom: 1px solid #f0f1f3; vertical-align: top;
|
| 328 |
overflow-wrap: anywhere;
|
| 329 |
}
|
| 330 |
+
table.docs tbody tr:last-child td { border-bottom: none; }
|
| 331 |
table.docs td.score { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
|
| 332 |
table.docs tbody tr:hover td { background: var(--bg); }
|
| 333 |
|
| 334 |
.stat-grid { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
|
| 335 |
.stat {
|
| 336 |
flex: 1; min-width: 110px; background: var(--bg);
|
| 337 |
+
border: 1px solid var(--line);
|
| 338 |
+
border-radius: 10px; padding: 10px 14px;
|
| 339 |
}
|
| 340 |
+
.stat .v { font-size: 21px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
|
| 341 |
.stat .k { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
|
| 342 |
|
| 343 |
.item-bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; }
|
|
|
|
| 351 |
|
| 352 |
.meta-footer {
|
| 353 |
font-size: 12px; color: var(--muted); background: var(--bg);
|
| 354 |
+
border-radius: var(--radius-sm); padding: 10px 14px; margin-top: 14px;
|
| 355 |
font-variant-numeric: tabular-nums;
|
| 356 |
}
|
| 357 |
.meta-footer code { font-size: 11.5px; }
|
|
|
|
| 396 |
.picker { position: relative; }
|
| 397 |
.picker-display {
|
| 398 |
width: 100%; display: flex; align-items: center; gap: 10px;
|
| 399 |
+
padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm);
|
| 400 |
background: #fff; font: inherit; color: var(--ink); cursor: pointer; text-align: left;
|
| 401 |
}
|
| 402 |
.picker-display:hover { border-color: var(--brand); }
|
| 403 |
.picker-display .picker-caret { margin-left: auto; color: var(--muted); font-size: 11px; }
|
| 404 |
.picker-search {
|
| 405 |
width: 100%; padding: 8px 12px; border: 1px solid var(--brand);
|
| 406 |
+
border-radius: var(--radius-sm); font: inherit; background: #fff;
|
| 407 |
}
|
| 408 |
.picker-search:focus { outline: none; box-shadow: 0 0 0 3px rgba(51, 155, 152, 0.15); }
|
| 409 |
.picker-panel {
|
| 410 |
position: absolute; top: calc(100% + 6px); left: 0; z-index: 50;
|
| 411 |
width: 100%; max-width: 640px;
|
| 412 |
+
background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
|
| 413 |
+
box-shadow: var(--shadow-lg);
|
| 414 |
max-height: 340px; overflow-y: auto; padding: 4px 0 6px;
|
| 415 |
+
animation: float-in 0.14s ease-out;
|
| 416 |
+
}
|
| 417 |
+
@keyframes float-in {
|
| 418 |
+
from { opacity: 0; transform: translateY(-4px); }
|
| 419 |
}
|
| 420 |
.picker-group {
|
| 421 |
font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.6px;
|
|
|
|
| 434 |
|
| 435 |
/* ---------- modal ---------- */
|
| 436 |
.modal-backdrop {
|
| 437 |
+
position: fixed; inset: 0; background: rgba(20, 22, 26, 0.4);
|
| 438 |
+
backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
|
| 439 |
display: flex; align-items: center; justify-content: center; z-index: 40; padding: 16px;
|
| 440 |
}
|
| 441 |
.modal {
|
| 442 |
+
background: var(--card); border-radius: 14px; padding: 26px 28px 24px;
|
| 443 |
+
width: 100%; max-width: 460px; box-shadow: var(--shadow-lg);
|
| 444 |
+
animation: modal-in 0.16s ease-out;
|
| 445 |
+
}
|
| 446 |
+
@keyframes modal-in {
|
| 447 |
+
from { opacity: 0; transform: translateY(6px) scale(0.985); }
|
| 448 |
}
|
| 449 |
.modal h3 { margin: 0 0 8px; font-size: 18px; }
|
| 450 |
|
|
|
|
| 572 |
|
| 573 |
/* ------------------------------------------------------------- welcome */
|
| 574 |
.welcome { padding-top: 1.2rem; }
|
| 575 |
+
.welcome-hero {
|
| 576 |
+
padding: 26px 28px;
|
| 577 |
+
background: linear-gradient(135deg, #ffffff 55%, var(--accent-soft));
|
| 578 |
+
}
|
| 579 |
.welcome-hero h2 { margin: 0 0 .6rem; font-size: 1.5rem; }
|
| 580 |
.welcome-hero p { max-width: 62ch; }
|
| 581 |
.welcome-cta {
|
|
|
|
| 598 |
|
| 599 |
/* ------------------------------------------- multi-construct runs */
|
| 600 |
.construct-selected {
|
| 601 |
+
margin-top: 8px; border: 1px solid var(--line); border-radius: var(--radius-sm);
|
| 602 |
padding: 8px 12px; background: #fff;
|
| 603 |
}
|
| 604 |
+
.construct-selected summary,
|
| 605 |
+
.construct-results summary {
|
| 606 |
cursor: pointer; display: flex; align-items: baseline; gap: 8px;
|
| 607 |
+
list-style: none;
|
| 608 |
}
|
| 609 |
+
.construct-selected summary::-webkit-details-marker,
|
| 610 |
+
.construct-results summary::-webkit-details-marker { display: none; }
|
| 611 |
+
.construct-selected summary::before,
|
| 612 |
+
.construct-results summary::before {
|
| 613 |
+
content: "\25B8"; color: var(--muted); font-size: 11px;
|
| 614 |
+
transition: transform 0.15s ease; align-self: center;
|
| 615 |
+
}
|
| 616 |
+
details[open] > summary::before { transform: rotate(90deg); }
|
| 617 |
.construct-selected-name { font-weight: 600; font-size: 13.5px; }
|
| 618 |
.construct-remove { margin-left: auto; flex-shrink: 0; }
|
|
|
|
| 619 |
.construct-results summary .picker-meta { margin-left: 6px; }
|
| 620 |
.construct-results h4 { margin: 14px 0 4px; font-size: 13.5px; }
|
| 621 |
+
|
| 622 |
+
@media (prefers-reduced-motion: reduce) {
|
| 623 |
+
.picker-panel, .modal { animation: none; }
|
| 624 |
+
.pill.running::before { animation: none; }
|
| 625 |
+
.construct-selected summary::before,
|
| 626 |
+
.construct-results summary::before { transition: none; }
|
| 627 |
+
button.primary:active, button.ghost:active, a.ghost:active { transform: none; }
|
| 628 |
+
}
|