Download static/style.css from Piyush82/Divas_ai: direct link, hf CLI and curl.
- Browser
- Download file 19.8 kB
-
https://huggingface.co/spaces/Piyush82/Divas_ai/resolve/main/static/style.css
- Command line
-
hf download hf://spaces/Piyush82/Divas_ai/static/style.css
-
curl -L -o style.css https://huggingface.co/spaces/Piyush82/Divas_ai/resolve/main/static/style.css
19.8 kB
| /* Base Variables & Design Tokens */ | |
| :root { | |
| --bg-primary: #0a0e1a; | |
| --bg-secondary: #0f172a; | |
| --card-bg: rgba(15, 23, 42, 0.65); | |
| --card-border: rgba(255, 255, 255, 0.08); | |
| --text-primary: #f8fafc; | |
| --text-secondary: #94a3b8; | |
| --text-muted: #64748b; | |
| /* Neon accents */ | |
| --accent-blue: #00f2fe; | |
| --accent-blue-glow: rgba(0, 242, 254, 0.35); | |
| --accent-indigo: #6366f1; | |
| --accent-indigo-glow: rgba(99, 102, 241, 0.35); | |
| --accent-purple: #a855f7; | |
| --accent-green: #10b981; | |
| --accent-red: #ef4444; | |
| /* Borders */ | |
| --radius-lg: 16px; | |
| --radius-md: 10px; | |
| --radius-sm: 6px; | |
| --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| } | |
| /* Reset & Basics */ | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| scrollbar-width: thin; | |
| scrollbar-color: var(--text-muted) var(--bg-primary); | |
| } | |
| body { | |
| font-family: 'Outfit', sans-serif; | |
| background-color: var(--bg-primary); | |
| color: var(--text-primary); | |
| min-height: 100vh; | |
| display: flex; | |
| flex-direction: column; | |
| overflow-x: hidden; | |
| background-image: | |
| radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.12) 0px, transparent 50%), | |
| radial-gradient(at 100% 100%, rgba(0, 242, 254, 0.08) 0px, transparent 50%); | |
| } | |
| /* Custom Scrollbars */ | |
| ::-webkit-scrollbar { | |
| width: 6px; | |
| height: 6px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: var(--bg-primary); | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: var(--text-muted); | |
| border-radius: 10px; | |
| } | |
| ::-webkit-scrollbar-thumb:hover { | |
| background: var(--text-secondary); | |
| } | |
| /* App Container Layout */ | |
| .app-container { | |
| max-width: 1600px; | |
| width: 100%; | |
| margin: 0 auto; | |
| padding: 24px; | |
| display: flex; | |
| flex-direction: column; | |
| flex-grow: 1; | |
| } | |
| /* App Header */ | |
| .app-header { | |
| margin-bottom: 24px; | |
| position: relative; | |
| } | |
| .logo-area { | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| position: relative; | |
| } | |
| .logo-icon { | |
| font-size: 1.8rem; | |
| background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-indigo) 100%); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| filter: drop-shadow(0 2px 10px var(--accent-blue-glow)); | |
| } | |
| .logo-glow { | |
| position: absolute; | |
| width: 40px; | |
| height: 40px; | |
| background: radial-gradient(circle, var(--accent-blue-glow) 0%, transparent 70%); | |
| top: -5px; | |
| left: -5px; | |
| z-index: -1; | |
| filter: blur(5px); | |
| } | |
| .app-header h1 { | |
| font-family: 'Space Grotesk', sans-serif; | |
| font-size: 2.2rem; | |
| font-weight: 700; | |
| letter-spacing: 1px; | |
| } | |
| .app-header h1 span { | |
| color: var(--accent-blue); | |
| text-shadow: 0 0 15px var(--accent-blue-glow); | |
| } | |
| .tagline { | |
| color: var(--text-secondary); | |
| font-size: 0.95rem; | |
| margin-top: 4px; | |
| letter-spacing: 0.3px; | |
| } | |
| /* Main Content Grid */ | |
| .app-content { | |
| display: grid; | |
| grid-template-columns: 380px 1fr; | |
| gap: 24px; | |
| flex-grow: 1; | |
| min-height: 0; | |
| } | |
| @media (max-width: 1024px) { | |
| .app-content { | |
| grid-template-columns: 1fr; | |
| } | |
| } | |
| /* Glassmorphism Cards */ | |
| .glass-card { | |
| background: var(--card-bg); | |
| border: 1px solid var(--card-border); | |
| backdrop-filter: blur(16px); | |
| -webkit-backdrop-filter: blur(16px); | |
| border-radius: var(--radius-lg); | |
| box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); | |
| padding: 20px; | |
| transition: var(--transition-smooth); | |
| } | |
| .glass-card:hover { | |
| border-color: rgba(255, 255, 255, 0.12); | |
| box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45); | |
| } | |
| .disabled-card { | |
| opacity: 0.4; | |
| pointer-events: none; | |
| user-select: none; | |
| } | |
| .card-header { | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| margin-bottom: 16px; | |
| border-bottom: 1px solid rgba(255, 255, 255, 0.05); | |
| padding-bottom: 10px; | |
| } | |
| .card-header i { | |
| font-size: 1.1rem; | |
| color: var(--accent-blue); | |
| } | |
| .card-header h2 { | |
| font-family: 'Space Grotesk', sans-serif; | |
| font-size: 1.15rem; | |
| font-weight: 600; | |
| letter-spacing: 0.5px; | |
| } | |
| /* Sidebar Layout */ | |
| .sidebar-panel { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 20px; | |
| overflow-y: auto; | |
| max-height: calc(100vh - 120px); | |
| padding-right: 4px; | |
| } | |
| /* Drag and Drop Zone */ | |
| .drag-drop-zone { | |
| border: 2px dashed rgba(255, 255, 255, 0.15); | |
| border-radius: var(--radius-md); | |
| padding: 30px 20px; | |
| text-align: center; | |
| cursor: pointer; | |
| background: rgba(255, 255, 255, 0.02); | |
| transition: var(--transition-smooth); | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| gap: 8px; | |
| } | |
| .drag-drop-zone:hover, .drag-drop-zone.dragover { | |
| border-color: var(--accent-blue); | |
| background: rgba(0, 242, 254, 0.04); | |
| box-shadow: 0 0 20px rgba(0, 242, 254, 0.08) inset; | |
| } | |
| .upload-placeholder-icon { | |
| font-size: 2.2rem; | |
| color: var(--text-muted); | |
| transition: var(--transition-smooth); | |
| } | |
| .drag-drop-zone:hover .upload-placeholder-icon { | |
| color: var(--accent-blue); | |
| transform: translateY(-3px); | |
| } | |
| .upload-main-text { | |
| font-size: 0.95rem; | |
| font-weight: 500; | |
| } | |
| .upload-sub-text { | |
| font-size: 0.8rem; | |
| color: var(--text-muted); | |
| } | |
| .browse-btn { | |
| color: var(--accent-blue); | |
| text-decoration: underline; | |
| font-weight: 500; | |
| } | |
| /* File Info Bar */ | |
| .image-info-bar { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| background: rgba(255, 255, 255, 0.03); | |
| border-radius: var(--radius-sm); | |
| padding: 8px 12px; | |
| margin-top: 12px; | |
| font-size: 0.8rem; | |
| border: 1px solid rgba(255, 255, 255, 0.05); | |
| } | |
| .file-name { | |
| color: var(--text-secondary); | |
| display: flex; | |
| align-items: center; | |
| gap: 6px; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| white-space: nowrap; | |
| max-width: 200px; | |
| } | |
| .file-name i { | |
| color: var(--accent-blue); | |
| } | |
| .file-size { | |
| color: var(--text-muted); | |
| } | |
| /* Mode Switcher Tabs */ | |
| .mode-tabs { | |
| display: grid; | |
| grid-template-columns: 1fr 1fr; | |
| background: rgba(0, 0, 0, 0.25); | |
| border-radius: var(--radius-md); | |
| padding: 4px; | |
| border: 1px solid rgba(255, 255, 255, 0.05); | |
| } | |
| .mode-tab { | |
| background: transparent; | |
| border: none; | |
| color: var(--text-secondary); | |
| font-family: inherit; | |
| font-size: 0.85rem; | |
| font-weight: 500; | |
| padding: 10px; | |
| border-radius: var(--radius-sm); | |
| cursor: pointer; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 6px; | |
| transition: var(--transition-smooth); | |
| } | |
| .mode-tab:hover { | |
| color: var(--text-primary); | |
| } | |
| .mode-tab.active { | |
| background: linear-gradient(135deg, rgba(0, 242, 254, 0.15) 0%, rgba(99, 102, 241, 0.15) 100%); | |
| color: var(--accent-blue); | |
| border: 1px solid rgba(0, 242, 254, 0.25); | |
| box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); | |
| } | |
| /* Input Fields & Textareas */ | |
| .info-desc { | |
| font-size: 0.8rem; | |
| color: var(--text-muted); | |
| margin-top: -6px; | |
| margin-bottom: 16px; | |
| line-height: 1.4; | |
| } | |
| .input-group { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 8px; | |
| margin-bottom: 16px; | |
| } | |
| .input-group label { | |
| font-size: 0.82rem; | |
| color: var(--text-secondary); | |
| font-weight: 500; | |
| } | |
| textarea { | |
| width: 100%; | |
| background: rgba(0, 0, 0, 0.25); | |
| border: 1px solid rgba(255, 255, 255, 0.08); | |
| border-radius: var(--radius-sm); | |
| padding: 10px 12px; | |
| color: var(--text-primary); | |
| font-family: inherit; | |
| font-size: 0.9rem; | |
| resize: none; | |
| outline: none; | |
| transition: var(--transition-smooth); | |
| } | |
| textarea:focus:not(:disabled) { | |
| border-color: var(--accent-blue); | |
| box-shadow: 0 0 10px rgba(0, 242, 254, 0.15); | |
| } | |
| textarea:disabled { | |
| opacity: 0.5; | |
| cursor: not-allowed; | |
| } | |
| /* Buttons */ | |
| .action-btn { | |
| width: 100%; | |
| border: none; | |
| font-family: inherit; | |
| font-weight: 600; | |
| padding: 12px 18px; | |
| border-radius: var(--radius-md); | |
| cursor: pointer; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 8px; | |
| transition: var(--transition-smooth); | |
| font-size: 0.9rem; | |
| } | |
| .primary-btn { | |
| background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-indigo) 100%); | |
| color: #040815; | |
| } | |
| .primary-btn:hover:not(:disabled) { | |
| transform: translateY(-2px); | |
| } | |
| .btn-glowing { | |
| box-shadow: 0 0 15px rgba(0, 242, 254, 0.25); | |
| } | |
| .btn-glowing:hover:not(:disabled) { | |
| box-shadow: 0 0 25px rgba(0, 242, 254, 0.45); | |
| } | |
| .primary-btn:disabled { | |
| opacity: 0.5; | |
| transform: none; | |
| box-shadow: none; | |
| cursor: not-allowed; | |
| } | |
| .secondary-btn { | |
| background: rgba(255, 255, 255, 0.05); | |
| color: var(--text-primary); | |
| border: 1px solid rgba(255, 255, 255, 0.08); | |
| } | |
| .secondary-btn:hover { | |
| background: rgba(255, 255, 255, 0.1); | |
| border-color: rgba(255, 255, 255, 0.15); | |
| } | |
| .outline-btn { | |
| background: transparent; | |
| border: 1px solid rgba(255, 255, 255, 0.1); | |
| color: var(--text-secondary); | |
| padding: 8px 12px; | |
| border-radius: var(--radius-sm); | |
| font-size: 0.8rem; | |
| } | |
| .outline-btn:hover { | |
| color: var(--text-primary); | |
| border-color: rgba(255, 255, 255, 0.25); | |
| } | |
| /* Object Picker Controls */ | |
| .object-id-picker { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| background: rgba(0, 0, 0, 0.15); | |
| border-radius: var(--radius-md); | |
| padding: 10px 14px; | |
| margin-bottom: 16px; | |
| border: 1px solid rgba(255, 255, 255, 0.04); | |
| } | |
| .picker-label { | |
| font-size: 0.85rem; | |
| color: var(--text-secondary); | |
| font-weight: 500; | |
| } | |
| .picker-controls { | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| } | |
| .picker-btn { | |
| width: 28px; | |
| height: 28px; | |
| border-radius: 50%; | |
| border: 1px solid rgba(255, 255, 255, 0.15); | |
| background: rgba(255, 255, 255, 0.05); | |
| color: var(--text-primary); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| cursor: pointer; | |
| font-size: 0.75rem; | |
| transition: var(--transition-smooth); | |
| } | |
| .picker-btn:hover { | |
| background: rgba(255, 255, 255, 0.12); | |
| border-color: rgba(255, 255, 255, 0.25); | |
| } | |
| .picker-value-wrapper { | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| } | |
| .picker-value { | |
| font-size: 1.1rem; | |
| font-weight: 700; | |
| min-width: 16px; | |
| text-align: center; | |
| } | |
| .color-dot { | |
| width: 14px; | |
| height: 14px; | |
| border-radius: 50%; | |
| box-shadow: 0 0 8px rgba(0,0,0,0.5); | |
| border: 1px solid rgba(255,255,255,0.4); | |
| transition: var(--transition-smooth); | |
| } | |
| /* Radio Group & Options Switchers */ | |
| .radio-group { | |
| display: grid; | |
| grid-template-columns: 1fr 1fr; | |
| gap: 10px; | |
| } | |
| .radio-label { | |
| cursor: pointer; | |
| } | |
| .radio-label input[type="radio"] { | |
| display: none; | |
| } | |
| .radio-custom { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 8px; | |
| background: rgba(255, 255, 255, 0.02); | |
| border: 1px solid rgba(255, 255, 255, 0.06); | |
| padding: 10px; | |
| border-radius: var(--radius-sm); | |
| color: var(--text-secondary); | |
| font-size: 0.85rem; | |
| font-weight: 500; | |
| transition: var(--transition-smooth); | |
| } | |
| .radio-label input[type="radio"]:checked + .radio-custom { | |
| background: rgba(99, 102, 241, 0.15); | |
| border-color: var(--accent-indigo); | |
| color: var(--text-primary); | |
| } | |
| /* Radio Split Settings */ | |
| .radio-group-split { | |
| display: grid; | |
| grid-template-columns: 1fr 1fr; | |
| gap: 10px; | |
| } | |
| .radio-label-split { | |
| cursor: pointer; | |
| } | |
| .radio-label-split input[type="radio"] { | |
| display: none; | |
| } | |
| .radio-custom-split { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 6px; | |
| background: rgba(255, 255, 255, 0.02); | |
| border: 1px solid rgba(255, 255, 255, 0.06); | |
| padding: 10px 6px; | |
| border-radius: var(--radius-sm); | |
| color: var(--text-muted); | |
| font-size: 0.8rem; | |
| font-weight: 500; | |
| transition: var(--transition-smooth); | |
| } | |
| .pos-label input[type="radio"]:checked + .radio-custom-split { | |
| background: rgba(16, 185, 129, 0.15); | |
| border-color: var(--accent-green); | |
| color: var(--accent-green); | |
| } | |
| .neg-label input[type="radio"]:checked + .radio-custom-split { | |
| background: rgba(239, 68, 68, 0.15); | |
| border-color: var(--accent-red); | |
| color: var(--accent-red); | |
| } | |
| .settings-actions { | |
| display: grid; | |
| grid-template-columns: auto 1fr; | |
| gap: 10px; | |
| margin-top: 10px; | |
| } | |
| /* Layers list panel */ | |
| .layers-card { | |
| flex-grow: 1; | |
| display: flex; | |
| flex-direction: column; | |
| min-height: 200px; | |
| } | |
| .layers-list { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 8px; | |
| overflow-y: auto; | |
| flex-grow: 1; | |
| margin-bottom: 12px; | |
| max-height: 250px; | |
| padding-right: 2px; | |
| } | |
| .layer-item { | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| background: rgba(255, 255, 255, 0.03); | |
| border: 1px solid rgba(255, 255, 255, 0.05); | |
| border-radius: var(--radius-sm); | |
| padding: 8px 12px; | |
| transition: var(--transition-smooth); | |
| } | |
| .layer-item:hover { | |
| background: rgba(255, 255, 255, 0.06); | |
| } | |
| .layer-left { | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| } | |
| .layer-color { | |
| width: 12px; | |
| height: 12px; | |
| border-radius: 50%; | |
| border: 1px solid rgba(255,255,255,0.2); | |
| } | |
| .layer-label { | |
| font-size: 0.85rem; | |
| font-weight: 500; | |
| max-width: 140px; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| white-space: nowrap; | |
| } | |
| .layer-id { | |
| font-size: 0.75rem; | |
| color: var(--text-muted); | |
| } | |
| .layer-right { | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| } | |
| .layer-action-btn { | |
| background: transparent; | |
| border: none; | |
| color: var(--text-secondary); | |
| cursor: pointer; | |
| font-size: 0.85rem; | |
| transition: var(--transition-smooth); | |
| width: 24px; | |
| height: 24px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| border-radius: 4px; | |
| } | |
| .layer-action-btn:hover { | |
| color: var(--text-primary); | |
| background: rgba(255, 255, 255, 0.08); | |
| } | |
| .layer-action-btn.btn-delete:hover { | |
| color: var(--accent-red); | |
| background: rgba(239, 68, 68, 0.1); | |
| } | |
| .layers-actions { | |
| display: grid; | |
| grid-template-columns: 1fr 1fr; | |
| gap: 10px; | |
| } | |
| /* Main Playground Layout */ | |
| .playground-panel { | |
| display: flex; | |
| flex-direction: column; | |
| min-height: 0; | |
| } | |
| .canvas-card { | |
| flex-grow: 1; | |
| display: flex; | |
| flex-direction: column; | |
| min-height: 600px; | |
| padding: 0; | |
| overflow: hidden; | |
| position: relative; | |
| } | |
| /* Canvas Toolbar */ | |
| .canvas-toolbar { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| background: rgba(15, 23, 42, 0.9); | |
| border-bottom: 1px solid rgba(255, 255, 255, 0.06); | |
| padding: 12px 20px; | |
| z-index: 10; | |
| } | |
| .status-indicator { | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| font-size: 0.85rem; | |
| font-weight: 500; | |
| color: var(--text-secondary); | |
| } | |
| .status-dot { | |
| width: 8px; | |
| height: 8px; | |
| border-radius: 50%; | |
| } | |
| .green-glow { | |
| background-color: var(--accent-green); | |
| box-shadow: 0 0 8px var(--accent-green); | |
| } | |
| .blue-glow { | |
| background-color: var(--accent-blue); | |
| box-shadow: 0 0 8px var(--accent-blue); | |
| } | |
| .toolbar-right { | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| } | |
| .toolbar-btn { | |
| background: transparent; | |
| border: none; | |
| color: var(--text-secondary); | |
| font-family: inherit; | |
| font-size: 0.85rem; | |
| font-weight: 500; | |
| padding: 8px 12px; | |
| border-radius: var(--radius-sm); | |
| cursor: pointer; | |
| display: flex; | |
| align-items: center; | |
| gap: 6px; | |
| transition: var(--transition-smooth); | |
| } | |
| .toolbar-btn:hover:not(:disabled) { | |
| color: var(--text-primary); | |
| background: rgba(255, 255, 255, 0.06); | |
| } | |
| .toolbar-btn:disabled { | |
| opacity: 0.35; | |
| cursor: not-allowed; | |
| } | |
| .highlight-btn { | |
| background: linear-gradient(135deg, rgba(0, 242, 254, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%); | |
| color: var(--accent-blue); | |
| border: 1px solid rgba(0, 242, 254, 0.2); | |
| } | |
| .highlight-btn:hover:not(:disabled) { | |
| background: linear-gradient(135deg, rgba(0, 242, 254, 0.2) 0%, rgba(99, 102, 241, 0.2) 100%) ; | |
| border-color: rgba(0, 242, 254, 0.35); | |
| } | |
| .divider { | |
| width: 1px; | |
| height: 20px; | |
| background: rgba(255, 255, 255, 0.1); | |
| } | |
| /* Workspace Area */ | |
| .workspace-area { | |
| flex-grow: 1; | |
| background: #070a13; | |
| position: relative; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| overflow: auto; | |
| padding: 20px; | |
| } | |
| /* Empty State */ | |
| .empty-workspace { | |
| text-align: center; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| gap: 16px; | |
| max-width: 420px; | |
| } | |
| .empty-icon-glow { | |
| width: 80px; | |
| height: 80px; | |
| border-radius: 50%; | |
| background: rgba(0, 242, 254, 0.05); | |
| border: 1px solid rgba(0, 242, 254, 0.15); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: 2.2rem; | |
| color: var(--accent-blue); | |
| box-shadow: 0 0 30px rgba(0, 242, 254, 0.1); | |
| animation: pulseGlow 3s infinite ease-in-out; | |
| } | |
| .empty-workspace h3 { | |
| font-family: 'Space Grotesk', sans-serif; | |
| font-size: 1.3rem; | |
| font-weight: 600; | |
| } | |
| .empty-workspace p { | |
| font-size: 0.9rem; | |
| color: var(--text-secondary); | |
| line-height: 1.5; | |
| } | |
| .demo-hints { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 8px; | |
| margin-top: 10px; | |
| text-align: left; | |
| } | |
| .demo-hints span { | |
| font-size: 0.8rem; | |
| color: var(--text-muted); | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| } | |
| .demo-hints i { | |
| color: var(--accent-indigo); | |
| } | |
| /* Interactive Canvas Workspace */ | |
| .canvas-container { | |
| position: relative; | |
| box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6); | |
| border-radius: var(--radius-sm); | |
| overflow: hidden; | |
| display: none; /* Shown dynamically when image loaded */ | |
| line-height: 0; | |
| } | |
| #image-canvas { | |
| z-index: 1; | |
| position: relative; | |
| max-width: 100%; | |
| max-height: 70vh; | |
| object-fit: contain; | |
| } | |
| .mask-overlays-container { | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| z-index: 2; | |
| pointer-events: none; | |
| } | |
| .mask-overlay { | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| object-fit: contain; | |
| transition: opacity 0.2s ease; | |
| } | |
| #interactive-canvas { | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| z-index: 3; | |
| cursor: crosshair; | |
| } | |
| /* Loading Overlay */ | |
| .processing-overlay { | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| background: rgba(7, 10, 19, 0.85); | |
| backdrop-filter: blur(8px); | |
| z-index: 20; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| } | |
| .loader-box { | |
| text-align: center; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| gap: 16px; | |
| max-width: 320px; | |
| padding: 30px; | |
| background: var(--bg-secondary); | |
| border-radius: var(--radius-lg); | |
| border: 1px solid rgba(255, 255, 255, 0.08); | |
| box-shadow: 0 15px 40px rgba(0,0,0,0.5); | |
| } | |
| .spinner-neon { | |
| width: 48px; | |
| height: 48px; | |
| border: 3px solid rgba(0, 242, 254, 0.1); | |
| border-top: 3px solid var(--accent-blue); | |
| border-radius: 50%; | |
| animation: spin 1s linear infinite; | |
| filter: drop-shadow(0 0 10px var(--accent-blue-glow)); | |
| } | |
| .loading-message { | |
| font-size: 0.95rem; | |
| font-weight: 600; | |
| letter-spacing: 0.5px; | |
| } | |
| .loading-sub { | |
| font-size: 0.75rem; | |
| color: var(--text-muted); | |
| line-height: 1.4; | |
| } | |
| /* Keyframes & Animations */ | |
| @keyframes spin { | |
| 0% { transform: rotate(0deg); } | |
| 100% { transform: rotate(360deg); } | |
| } | |
| @keyframes pulseGlow { | |
| 0%, 100% { | |
| box-shadow: 0 0 20px rgba(0, 242, 254, 0.1); | |
| border-color: rgba(0, 242, 254, 0.15); | |
| } | |
| 50% { | |
| box-shadow: 0 0 40px rgba(0, 242, 254, 0.25); | |
| border-color: rgba(0, 242, 254, 0.35); | |
| } | |
| } | |