CarDentIQ / static /css /workspace.css
parthmax24's picture
added the latest updates
81b4246
Raw
History Blame Contribute Delete
4.76 kB
.workspace-page {
min-height: calc(100vh - 68px - 61px);
padding: 3.5rem 0 5rem;
position: relative;
}
.workspace-page .glow-orb.orb-1 { width: 420px; height: 420px; background: var(--accent-violet); top: -100px; left: -160px; }
.workspace-page .glow-orb.orb-2 { width: 360px; height: 360px; background: var(--accent-cyan); bottom: -140px; right: -140px; animation-delay: -8s; }
.workspace-header {
position: relative;
z-index: 1;
text-align: center;
max-width: 560px;
margin: 0 auto 2.5rem;
}
.workspace-header h1 { font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 800; margin: 1rem 0 0.6rem; letter-spacing: -0.01em; }
.workspace-header p { color: var(--text-secondary); margin: 0; }
.workspace-card {
position: relative;
z-index: 1;
max-width: 640px;
margin: 0 auto;
padding: 2rem;
}
/* ── Dropzone ────────────────────────────────────────────── */
.dropzone {
border: 1.5px dashed var(--border-strong);
border-radius: var(--radius-md);
padding: 2.5rem 1.5rem;
text-align: center;
cursor: pointer;
transition: border-color 0.15s, background 0.15s;
margin-bottom: 1.25rem;
}
.dropzone:hover, .dropzone:focus-visible, .dropzone.dragover {
border-color: var(--accent-cyan);
background: rgba(6, 182, 212, 0.05);
outline: none;
}
.dropzone-empty { color: var(--text-secondary); }
.dropzone-empty .upload-icon {
width: 52px; height: 52px;
border-radius: 50%;
background: var(--gradient-brand);
display: flex; align-items: center; justify-content: center;
color: #fff;
margin: 0 auto 1rem;
}
.dropzone-title { margin: 0.25rem 0; color: var(--text-primary); font-weight: 600; }
.dropzone-hint { margin: 0; font-size: 0.85rem; color: var(--text-muted); }
.dropzone-preview-frame {
position: relative;
border-radius: var(--radius-md);
overflow: hidden;
max-height: 280px;
}
.dropzone-preview img { max-width: 100%; max-height: 280px; border-radius: var(--radius-md); display: block; margin: 0 auto 0.85rem; }
.scan-overlay {
position: absolute;
inset: 0;
background: rgba(5, 6, 10, 0.35);
display: none;
align-items: center;
justify-content: center;
}
.scan-overlay.active { display: flex; }
.scan-overlay .scan-line {
position: absolute;
left: 0; right: 0;
height: 2px;
background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
box-shadow: 0 0 20px var(--accent-cyan);
animation: scan-sweep 1.6s ease-in-out infinite;
}
@keyframes scan-sweep {
0% { top: 0%; }
100% { top: 100%; }
}
.scan-overlay-label {
position: relative;
background: rgba(5, 6, 10, 0.75);
border: 1px solid var(--border-strong);
padding: 0.5rem 1rem;
border-radius: var(--radius-full);
font-size: 0.85rem;
font-weight: 600;
}
.dropzone-preview-meta {
display: flex;
align-items: center;
justify-content: center;
gap: 0.6rem;
font-size: 0.85rem;
color: var(--text-muted);
flex-wrap: wrap;
}
.dot-sep { color: var(--border-strong); }
/* ── Advanced settings (progressive disclosure) ─────────── */
details.advanced {
border-top: 1px solid var(--border);
margin-top: 0.25rem;
}
details.advanced summary {
cursor: pointer;
padding: 0.9rem 0;
font-size: 0.9rem;
font-weight: 600;
color: var(--text-secondary);
list-style: none;
display: flex;
align-items: center;
}
details.advanced summary::-webkit-details-marker { display: none; }
details.advanced summary::before {
content: "β€Ί";
display: inline-block;
margin-right: 0.5rem;
font-size: 1.1rem;
transition: transform 0.15s;
}
details[open].advanced summary::before { transform: rotate(90deg); }
.advanced-body { padding: 0.25rem 0 1rem; }
.checkbox {
display: flex;
align-items: center;
gap: 0.5rem;
color: var(--text-secondary);
font-size: 0.9rem;
margin-bottom: 1.1rem;
}
.advanced-body h4 {
font-size: 0.8rem;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.04em;
margin: 0 0 0.75rem;
}
.sliders-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 0.75rem 1.5rem;
margin-bottom: 1.25rem;
}
.slider-item { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.85rem; }
.slider-item label { color: var(--text-secondary); text-transform: capitalize; }
.slider-item input[type="range"] { width: 100%; accent-color: var(--accent-cyan); }
.slider-item span { color: var(--text-muted); font-size: 0.78rem; }
.legend { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.legend-item { display: flex; align-items: center; gap: 0.5em; font-size: 0.82rem; color: var(--text-secondary); }
@media (max-width: 560px) {
.sliders-grid { grid-template-columns: 1fr; }
}