Unable to download the converted file. Fix the errors, improve the application code so that the downloaded file can be downloaded.
3d220ce verified Download style.css from DanielKruzo/pixel-perfect-vectorizer: direct link, hf CLI and curl.
- Browser
- Download file 1.88 kB
-
https://huggingface.co/spaces/DanielKruzo/pixel-perfect-vectorizer/resolve/main/style.css
- Command line
-
hf download hf://spaces/DanielKruzo/pixel-perfect-vectorizer/style.css
-
curl -L -o style.css https://huggingface.co/spaces/DanielKruzo/pixel-perfect-vectorizer/resolve/main/style.css
1.88 kB
| /* Custom styles for PixelToVector Pro */ | |
| body { | |
| font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; | |
| color: #1f2937; | |
| } | |
| #drop-area.highlight { | |
| border-color: #3b82f6; | |
| background-color: #f0f9ff; | |
| transform: scale(1.01); | |
| } | |
| #svg-code { | |
| max-height: 300px; | |
| font-family: 'Menlo', 'Monaco', 'Consolas', monospace; | |
| line-height: 1.5; | |
| } | |
| #original-container, | |
| #result-container { | |
| position: relative; | |
| } | |
| #original-container img, | |
| #result-container img { | |
| max-width: 100%; | |
| max-height: 100%; | |
| width: auto; | |
| height: auto; | |
| object-fit: contain; | |
| } | |
| #result-container { | |
| cursor: grab; | |
| } | |
| #result-container.dragging { | |
| cursor: grabbing; | |
| } | |
| #download-btn:disabled { | |
| opacity: 0.7; | |
| cursor: not-allowed; | |
| background: #cbd5e1; | |
| } | |
| .conversion-stats { | |
| display: flex; | |
| gap: 1rem; | |
| margin-top: 1rem; | |
| flex-wrap: wrap; | |
| } | |
| .stat-card { | |
| background: white; | |
| border-radius: 0.5rem; | |
| padding: 0.75rem 1rem; | |
| box-shadow: 0 1px 3px rgba(0,0,0,0.1); | |
| flex: 1; | |
| min-width: 120px; | |
| } | |
| .stat-card h4 { | |
| font-size: 0.75rem; | |
| color: #6b7280; | |
| margin-bottom: 0.25rem; | |
| font-weight: 500; | |
| text-transform: uppercase; | |
| letter-spacing: 0.05em; | |
| } | |
| .stat-card p { | |
| font-size: 1.25rem; | |
| font-weight: 600; | |
| color: #1f2937; | |
| } | |
| @keyframes spin { | |
| to { transform: rotate(360deg); } | |
| } | |
| .animate-spin { | |
| animation: spin 1s linear infinite; | |
| } | |
| .toggle-checkbox:checked { | |
| right: 0; | |
| border-color: #3b82f6; | |
| } | |
| .toggle-checkbox:checked + .toggle-label { | |
| background-color: #3b82f6; | |
| } | |
| /* Custom scrollbar */ | |
| ::-webkit-scrollbar { | |
| width: 8px; | |
| height: 8px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: #f1f1f1; | |
| border-radius: 10px; | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: #c1c1c1; | |
| border-radius: 10px; | |
| } | |
| ::-webkit-scrollbar-thumb:hover { | |
| background: #a1a1a1; | |
| } |