Spaces:
Sleeping
Sleeping
Download static/css/style.css from Nausad/Data2Model: direct link, hf CLI and curl.
- Browser
- Download file 5.11 kB
-
https://huggingface.co/spaces/Nausad/Data2Model/resolve/main/static/css/style.css
- Command line
-
hf download hf://spaces/Nausad/Data2Model/static/css/style.css
-
curl -L -o style.css https://huggingface.co/spaces/Nausad/Data2Model/resolve/main/static/css/style.css
5.11 kB
| /* Data2Model Custom Styles */ | |
| :root { | |
| --primary-color: #667eea; | |
| --secondary-color: #764ba2; | |
| --success-color: #10b981; | |
| --danger-color: #ef4444; | |
| --warning-color: #f59e0b; | |
| --info-color: #3b82f6; | |
| --dark-color: #1f2937; | |
| } | |
| body { | |
| font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | |
| min-height: 100vh; | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| main { | |
| flex: 1; | |
| } | |
| /* Navbar Styles */ | |
| .navbar-brand { | |
| font-weight: bold; | |
| font-size: 1.5rem; | |
| } | |
| .navbar-brand i { | |
| margin-right: 8px; | |
| } | |
| .nav-link { | |
| transition: all 0.3s ease; | |
| margin: 0 5px; | |
| } | |
| .nav-link:hover { | |
| transform: translateY(-2px); | |
| } | |
| /* Card Styles */ | |
| .card { | |
| border: none; | |
| border-radius: 10px; | |
| overflow: hidden; | |
| transition: transform 0.3s ease, box-shadow 0.3s ease; | |
| } | |
| .card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) ; | |
| } | |
| .card-header { | |
| border-bottom: none; | |
| padding: 1.25rem 1.5rem; | |
| } | |
| /* Button Styles */ | |
| .btn { | |
| border-radius: 8px; | |
| padding: 10px 20px; | |
| font-weight: 500; | |
| transition: all 0.3s ease; | |
| } | |
| .btn-lg { | |
| padding: 12px 30px; | |
| font-size: 1.1rem; | |
| } | |
| .btn:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); | |
| } | |
| /* Alert Styles */ | |
| .alert { | |
| border-radius: 8px; | |
| border: none; | |
| } | |
| /* Form Styles */ | |
| .form-control, | |
| .form-select { | |
| border-radius: 8px; | |
| padding: 10px 15px; | |
| border: 2px solid #e5e7eb; | |
| transition: all 0.3s ease; | |
| } | |
| .form-control:focus, | |
| .form-select:focus { | |
| border-color: var(--primary-color); | |
| box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25); | |
| } | |
| /* Hero Section */ | |
| .hero-section { | |
| background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%); | |
| border-radius: 0 0 50px 50px; | |
| } | |
| /* Step Circle */ | |
| .step-circle { | |
| width: 80px; | |
| height: 80px; | |
| line-height: 80px; | |
| border-radius: 50%; | |
| font-size: 2rem; | |
| font-weight: bold; | |
| display: inline-flex; | |
| align-items: center; | |
| justify-content: center; | |
| } | |
| /* Metric Box */ | |
| .metric-box { | |
| padding: 20px; | |
| border-radius: 10px; | |
| background-color: #f8f9fa; | |
| transition: all 0.3s ease; | |
| } | |
| .metric-box:hover { | |
| background-color: #e9ecef; | |
| transform: scale(1.05); | |
| } | |
| .metric-box h3 { | |
| font-size: 2.5rem; | |
| font-weight: bold; | |
| margin-bottom: 5px; | |
| } | |
| .metric-box p { | |
| margin-bottom: 0; | |
| font-weight: 500; | |
| text-transform: uppercase; | |
| font-size: 0.9rem; | |
| } | |
| /* Table Styles */ | |
| .table { | |
| border-radius: 8px; | |
| overflow: hidden; | |
| } | |
| .table-hover tbody tr:hover { | |
| background-color: rgba(102, 126, 234, 0.1); | |
| } | |
| /* Loading Animation */ | |
| .loading { | |
| display: inline-block; | |
| width: 20px; | |
| height: 20px; | |
| border: 3px solid rgba(255, 255, 255, 0.3); | |
| border-radius: 50%; | |
| border-top-color: #fff; | |
| animation: spin 1s ease-in-out infinite; | |
| } | |
| @keyframes spin { | |
| to { transform: rotate(360deg); } | |
| } | |
| /* Footer */ | |
| footer { | |
| margin-top: auto; | |
| } | |
| /* Utility Classes */ | |
| .shadow-lg { | |
| box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) ; | |
| } | |
| .rounded-lg { | |
| border-radius: 15px ; | |
| } | |
| /* Badge Styles */ | |
| .badge { | |
| padding: 6px 12px; | |
| border-radius: 6px; | |
| font-weight: 500; | |
| } | |
| /* File Upload */ | |
| .form-control[type="file"] { | |
| padding: 10px; | |
| } | |
| .form-control[type="file"]::file-selector-button { | |
| padding: 8px 20px; | |
| border-radius: 6px; | |
| border: none; | |
| background: var(--primary-color); | |
| color: white; | |
| cursor: pointer; | |
| transition: all 0.3s ease; | |
| margin-right: 15px; | |
| } | |
| .form-control[type="file"]::file-selector-button:hover { | |
| background: var(--secondary-color); | |
| } | |
| /* Responsive Design */ | |
| @media (max-width: 768px) { | |
| .hero-section { | |
| border-radius: 0 0 30px 30px; | |
| } | |
| .display-4 { | |
| font-size: 2rem; | |
| } | |
| .step-circle { | |
| width: 60px; | |
| height: 60px; | |
| line-height: 60px; | |
| font-size: 1.5rem; | |
| } | |
| .metric-box h3 { | |
| font-size: 2rem; | |
| } | |
| } | |
| /* Animation Classes */ | |
| .fade-in { | |
| animation: fadeIn 0.5s ease-in; | |
| } | |
| @keyframes fadeIn { | |
| from { | |
| opacity: 0; | |
| transform: translateY(20px); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| } | |
| .slide-in { | |
| animation: slideIn 0.5s ease-out; | |
| } | |
| @keyframes slideIn { | |
| from { | |
| transform: translateX(-100%); | |
| } | |
| to { | |
| transform: translateX(0); | |
| } | |
| } | |
| /* Code Block Styles */ | |
| pre { | |
| border-radius: 8px; | |
| padding: 15px; | |
| background-color: #f8f9fa; | |
| border: 1px solid #e5e7eb; | |
| } | |
| code { | |
| color: #e83e8c; | |
| font-family: 'Courier New', Courier, monospace; | |
| } | |
| /* Progress Bar */ | |
| .progress { | |
| height: 25px; | |
| border-radius: 8px; | |
| overflow: hidden; | |
| } | |
| .progress-bar { | |
| font-weight: 500; | |
| } | |
| /* Custom Scrollbar */ | |
| ::-webkit-scrollbar { | |
| width: 10px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: #f1f1f1; | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: var(--primary-color); | |
| border-radius: 5px; | |
| } | |
| ::-webkit-scrollbar-thumb:hover { | |
| background: var(--secondary-color); | |
| } | |