Spaces:
Sleeping
Sleeping
Download frontend/src/App.css from eerabhatt/ao-damage-estimation: direct link, hf CLI and curl.
- Browser
- Download file 1.83 kB
-
https://huggingface.co/spaces/eerabhatt/ao-damage-estimation/resolve/main/frontend/src/App.css
- Command line
-
hf download hf://spaces/eerabhatt/ao-damage-estimation/frontend/src/App.css
-
curl -L -o App.css https://huggingface.co/spaces/eerabhatt/ao-damage-estimation/resolve/main/frontend/src/App.css
1.83 kB
| .App { | |
| min-height: 100vh; | |
| background: linear-gradient(135deg, #084477 0%, #0a5694 50%, #084477 100%); | |
| padding: 40px 20px; | |
| } | |
| .container { | |
| max-width: 1000px; | |
| margin: 0 auto; | |
| background: white; | |
| border-radius: 12px; | |
| padding: 40px; | |
| box-shadow: 0 10px 40px rgba(8, 68, 119, 0.3); | |
| } | |
| h1 { | |
| color:#333; | |
| margin-bottom: 10px; | |
| } | |
| .subtitle { | |
| color: #666; | |
| margin-bottom: 30px; | |
| } | |
| .upload-section { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 20px; | |
| } | |
| .file-label { | |
| display: inline-block; | |
| padding: 12px 24px; | |
| background: #084477; | |
| color: white; | |
| border-radius: 6px; | |
| cursor: pointer; | |
| text-align: center; | |
| transition: background 0.3s; | |
| } | |
| .file-label:hover { | |
| background: #0a5694; | |
| } | |
| .preview { | |
| width: 100%; | |
| max-height: 300px; | |
| overflow: hidden; | |
| border-radius: 8px; | |
| border: 2px solid #eee; | |
| } | |
| .preview img { | |
| width: 100%; | |
| height: auto; | |
| display: block; | |
| } | |
| .analyze-button { | |
| padding: 14px 28px; | |
| background: #084477; | |
| color: white; | |
| border: none; | |
| border-radius: 6px; | |
| font-size: 16px; | |
| font-weight: 600; | |
| cursor: pointer; | |
| transition: background 0.3s; | |
| } | |
| .analyze-button:hover:not(:disabled) { | |
| background: #0a5694; | |
| } | |
| .analyze-button:disabled { | |
| background: #ccc; | |
| cursor: not-allowed; | |
| } | |
| .results { | |
| margin-top: 30px; | |
| padding: 20px; | |
| background: #f7fafc; | |
| border-radius: 8px; | |
| border-left: 4px solid #084477; | |
| } | |
| .results h2 { | |
| margin-top: 0; | |
| color: #084477; | |
| } | |
| .results ul { | |
| list-style: none; | |
| padding: 0; | |
| margin: 15px 0 0 0; | |
| } | |
| .results li { | |
| padding: 12px; | |
| margin-bottom: 8px; | |
| background: white; | |
| border-radius: 6px; | |
| border: 1px solid #e2e8f0; | |
| } | |
| .part-name { | |
| font-weight: 600; | |
| color: #084477; | |
| } | |
| .error { | |
| margin-top: 20px; | |
| padding: 15px; | |
| background: #fed7d7; | |
| color: #c53030; | |
| border-radius: 6px; | |
| border-left: 4px solid #c53030; | |
| } |