Spaces:
Running
Running
Download style.css from EHDEM/wastlessv6test2: direct link, hf CLI and curl.
- Browser
- Download file 10.4 kB
-
https://huggingface.co/spaces/EHDEM/wastlessv6test2/resolve/main/style.css
- Command line
-
hf download hf://spaces/EHDEM/wastlessv6test2/style.css
-
curl -L -o style.css https://huggingface.co/spaces/EHDEM/wastlessv6test2/resolve/main/style.css
10.4 kB
| :root { | |
| --primary: #059669; | |
| --primary-dark: #047857; | |
| --primary-light: #a7f3d0; | |
| --secondary: #10b981; | |
| --secondary-dark: #059669; | |
| --accent: #f59e0b; | |
| --accent-light: #fde68a; | |
| --light: #f8fafc; | |
| --dark: #064e3b; | |
| --gray: #6b7280; | |
| --success: #10b981; | |
| --warning: #f59e0b; | |
| --danger: #ef4444; | |
| --gradient-start: #10b981; | |
| --gradient-end: #34d399; | |
| --gradient-secondary: #6ee7b7; | |
| --card-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); | |
| --card-shadow-hover: 0 25px 50px -12px rgba(0, 0, 0, 0.25); | |
| } | |
| body { | |
| font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; | |
| background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%); | |
| color: var(--dark); | |
| line-height: 1.6; | |
| min-height: 100vh; | |
| position: relative; | |
| overflow-x: hidden; | |
| } | |
| body::before { | |
| content: ''; | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| background-image: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.3) 0%, transparent 20%), | |
| radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.3) 0%, transparent 20%); | |
| pointer-events: none; | |
| z-index: -1; | |
| } | |
| h1, h2, h3, h4 { | |
| font-weight: 800; | |
| color: var(--dark); | |
| letter-spacing: -0.025em; | |
| } | |
| h1 { | |
| font-size: 3rem; | |
| background: linear-gradient(to right, var(--primary), var(--gradient-end)); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| background-clip: text; | |
| } | |
| h2 { | |
| font-size: 2.25rem; | |
| position: relative; | |
| display: inline-block; | |
| margin-bottom: 2rem; | |
| } | |
| h2::after { | |
| content: ''; | |
| position: absolute; | |
| bottom: -10px; | |
| left: 0; | |
| width: 60px; | |
| height: 4px; | |
| background: linear-gradient(to right, var(--primary), var(--secondary)); | |
| border-radius: 2px; | |
| } | |
| h3 { | |
| font-size: 1.75rem; | |
| font-weight: 700; | |
| } | |
| .container { | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| padding: 2rem; | |
| } | |
| /* Enhanced Cards */ | |
| .card { | |
| background: rgba(255, 255, 255, 0.9); | |
| backdrop-filter: blur(10px); | |
| border-radius: 1.5rem; | |
| box-shadow: var(--card-shadow); | |
| padding: 2.5rem; | |
| margin-bottom: 2rem; | |
| border: 1px solid rgba(255, 255, 255, 0.2); | |
| transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); | |
| position: relative; | |
| overflow: hidden; | |
| z-index: 1; | |
| } | |
| .card::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| height: 4px; | |
| background: linear-gradient(to right, var(--primary), var(--secondary)); | |
| z-index: 2; | |
| } | |
| .card:hover { | |
| transform: translateY(-8px) scale(1.02); | |
| box-shadow: var(--card-shadow-hover); | |
| border-color: rgba(79, 70, 229, 0.2); | |
| } | |
| .card .text-5xl { | |
| font-size: 4rem; | |
| margin-bottom: 1.5rem; | |
| opacity: 0.9; | |
| } | |
| /* Buttons - Modern Design */ | |
| .btn { | |
| display: inline-flex; | |
| align-items: center; | |
| justify-content: center; | |
| padding: 0.875rem 2rem; | |
| border-radius: 0.75rem; | |
| font-weight: 700; | |
| transition: all 0.3s ease; | |
| cursor: pointer; | |
| position: relative; | |
| overflow: hidden; | |
| z-index: 1; | |
| border: none; | |
| outline: none; | |
| } | |
| .btn::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: -100%; | |
| width: 100%; | |
| height: 100%; | |
| background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent); | |
| transition: 0.5s; | |
| z-index: -1; | |
| } | |
| .btn:hover::before { | |
| left: 100%; | |
| } | |
| .btn-primary { | |
| background: linear-gradient(135deg, var(--primary), var(--primary-dark)); | |
| color: white; | |
| box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3); | |
| } | |
| .btn-primary:hover { | |
| background: linear-gradient(135deg, var(--primary-dark), var(--primary)); | |
| transform: translateY(-2px); | |
| box-shadow: 0 8px 25px rgba(5, 150, 105, 0.4); | |
| } | |
| .btn-secondary { | |
| background: linear-gradient(135deg, var(--secondary), var(--secondary-dark)); | |
| color: white; | |
| box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3); | |
| } | |
| .btn-danger { | |
| background: linear-gradient(135deg, #ef4444, #dc2626); | |
| color: white; | |
| } | |
| /* Forms - Glassmorphism */ | |
| .form-control { | |
| width: 100%; | |
| padding: 1rem 1.5rem; | |
| border: 2px solid rgba(5, 150, 105, 0.1); | |
| border-radius: 0.75rem; | |
| transition: all 0.3s ease; | |
| background: rgba(255, 255, 255, 0.8); | |
| font-size: 1rem; | |
| font-weight: 500; | |
| } | |
| .form-control:focus { | |
| outline: none; | |
| border-color: var(--primary); | |
| box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.1); | |
| background: white; | |
| } | |
| /* Header Styling */ | |
| header { | |
| background: linear-gradient(135deg, var(--primary), var(--gradient-end)); | |
| color: white; | |
| border-radius: 1.5rem; | |
| box-shadow: 0 20px 25px -5px rgba(5, 150, 105, 0.3); | |
| padding: 3rem 2rem; | |
| margin-bottom: 3rem; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| header::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| bottom: 0; | |
| background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" opacity="0.1"><path d="M0,0 L1000,0 L1000,100 Q500,80 0,100 Z" fill="white"/></svg>'); | |
| background-size: cover; | |
| background-position: bottom; | |
| pointer-events: none; | |
| } | |
| /* Navigation */ | |
| .navbar { | |
| background: rgba(255, 255, 255, 0.95); | |
| backdrop-filter: blur(10px); | |
| box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); | |
| padding: 1.25rem 2rem; | |
| border-radius: 1rem; | |
| margin-bottom: 2rem; | |
| } | |
| /* Animations */ | |
| @keyframes fadeIn { | |
| from { | |
| opacity: 0; | |
| transform: translateY(20px) scale(0.95); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: translateY(0) scale(1); | |
| } | |
| } | |
| @keyframes float { | |
| 0%, 100% { transform: translateY(0); } | |
| 50% { transform: translateY(-10px); } | |
| } | |
| @keyframes shimmer { | |
| 0% { background-position: -1000px 0; } | |
| 100% { background-position: 1000px 0; } | |
| } | |
| .fade-in { | |
| animation: fadeIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; | |
| } | |
| .float { | |
| animation: float 3s ease-in-out infinite; | |
| } | |
| /* Grid System */ | |
| .grid { | |
| display: grid; | |
| gap: 2rem; | |
| } | |
| .grid-cols-1 { grid-template-columns: 1fr; } | |
| .grid-cols-2 { grid-template-columns: repeat(2, 1fr); } | |
| .grid-cols-3 { grid-template-columns: repeat(3, 1fr); } | |
| .grid-cols-4 { grid-template-columns: repeat(4, 1fr); } | |
| /* Table Styling */ | |
| .data-table { | |
| width: 100%; | |
| border-collapse: separate; | |
| border-spacing: 0; | |
| border-radius: 1rem; | |
| overflow: hidden; | |
| box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); | |
| background: white; | |
| } | |
| .data-table th { | |
| background: linear-gradient(to right, var(--primary), var(--primary-dark)); | |
| color: white; | |
| padding: 1.25rem 1.5rem; | |
| text-align: left; | |
| font-weight: 700; | |
| border-bottom: 2px solid rgba(255, 255, 255, 0.2); | |
| } | |
| .data-table td { | |
| padding: 1.25rem 1.5rem; | |
| border-bottom: 1px solid rgba(0, 0, 0, 0.05); | |
| transition: background-color 0.2s; | |
| } | |
| .data-table tr:last-child td { | |
| border-bottom: none; | |
| } | |
| .data-table tr:hover td { | |
| background-color: rgba(5, 150, 105, 0.05); | |
| } | |
| /* Meal Time Cards */ | |
| .meal-time { | |
| position: relative; | |
| padding: 1rem 1.5rem; | |
| border-radius: 1rem; | |
| border: 2px solid transparent; | |
| font-weight: 600; | |
| cursor: pointer; | |
| transition: all 0.3s ease; | |
| backdrop-filter: blur(10px); | |
| background: rgba(255, 255, 255, 0.7); | |
| } | |
| .meal-time:hover { | |
| transform: translateY(-3px); | |
| box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); | |
| } | |
| /* Stats Cards */ | |
| .stat-card { | |
| background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7)); | |
| backdrop-filter: blur(10px); | |
| border-radius: 1.5rem; | |
| padding: 2rem; | |
| text-align: center; | |
| border: 1px solid rgba(255, 255, 255, 0.2); | |
| box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); | |
| transition: all 0.3s ease; | |
| } | |
| .stat-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15); | |
| } | |
| .stat-value { | |
| font-size: 3rem; | |
| font-weight: 800; | |
| margin-bottom: 0.5rem; | |
| background: linear-gradient(to right, var(--primary), var(--secondary)); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| background-clip: text; | |
| } | |
| .stat-label { | |
| color: var(--gray); | |
| font-size: 0.9rem; | |
| font-weight: 600; | |
| text-transform: uppercase; | |
| letter-spacing: 0.05em; | |
| } | |
| /* Chart Containers */ | |
| .chart-container { | |
| background: white; | |
| border-radius: 1.5rem; | |
| padding: 2rem; | |
| box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); | |
| border: 1px solid rgba(0, 0, 0, 0.05); | |
| } | |
| /* Footer */ | |
| footer { | |
| margin-top: 4rem; | |
| padding: 2rem 0; | |
| border-top: 1px solid rgba(0, 0, 0, 0.1); | |
| text-align: center; | |
| color: var(--gray); | |
| font-size: 0.9rem; | |
| } | |
| /* Loader */ | |
| .loader { | |
| width: 50px; | |
| height: 50px; | |
| border: 5px solid rgba(79, 70, 229, 0.1); | |
| border-radius: 50%; | |
| border-top-color: var(--primary); | |
| animation: spin 1s ease-in-out infinite; | |
| } | |
| @keyframes spin { | |
| to { transform: rotate(360deg); } | |
| } | |
| /* Responsive Design */ | |
| @media (max-width: 1024px) { | |
| .container { | |
| padding: 1.5rem; | |
| } | |
| h1 { font-size: 2.5rem; } | |
| h2 { font-size: 2rem; } | |
| .grid-cols-3, | |
| .grid-cols-4 { | |
| grid-template-columns: repeat(2, 1fr); | |
| } | |
| } | |
| @media (max-width: 768px) { | |
| .container { | |
| padding: 1rem; | |
| } | |
| h1 { font-size: 2rem; } | |
| h2 { font-size: 1.75rem; } | |
| .grid-cols-2, | |
| .grid-cols-3, | |
| .grid-cols-4 { | |
| grid-template-columns: 1fr; | |
| } | |
| .card { | |
| padding: 1.5rem; | |
| } | |
| header { | |
| padding: 2rem 1rem; | |
| } | |
| } | |
| /* Custom Scrollbar */ | |
| ::-webkit-scrollbar { | |
| width: 8px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: rgba(0, 0, 0, 0.05); | |
| border-radius: 4px; | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: linear-gradient(to bottom, var(--primary), var(--secondary)); | |
| border-radius: 4px; | |
| } | |
| ::-webkit-scrollbar-thumb:hover { | |
| background: linear-gradient(to bottom, var(--primary-dark), var(--secondary-dark)); | |
| } | |
| /* Selection Color */ | |
| ::selection { | |
| background: rgba(5, 150, 105, 0.2); | |
| color: var(--dark); | |
| } | |
| /* Focus Styles */ | |
| :focus { | |
| outline: 2px solid var(--primary); | |
| outline-offset: 2px; | |
| } | |
| /* Gradient Text */ | |
| .gradient-text { | |
| background: linear-gradient(to right, var(--primary), var(--secondary)); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| background-clip: text; | |
| } | |