Download apps/web/app/globals.css from husnainbinmunawar/ShiftBudget-Research-Lab: direct link, hf CLI and curl.
- Browser
- Download file 7.9 kB
-
https://huggingface.co/spaces/husnainbinmunawar/ShiftBudget-Research-Lab/resolve/main/apps/web/app/globals.css
- Command line
-
hf download hf://spaces/husnainbinmunawar/ShiftBudget-Research-Lab/apps/web/app/globals.css
-
curl -L -o globals.css https://huggingface.co/spaces/husnainbinmunawar/ShiftBudget-Research-Lab/resolve/main/apps/web/app/globals.css
7.9 kB
| @tailwind base; | |
| @tailwind components; | |
| @tailwind utilities; | |
| :root { --ink: #e8ecf7; --muted: #8d96af; --panel: rgba(17, 24, 43, .78); --line: rgba(142, 157, 190, .16); --cyan: #5fe1d0; --violet: #9b8cff; --orange: #ffb86b; } | |
| * { box-sizing: border-box; } | |
| body { margin: 0; background: #080b14; color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; } | |
| button, input, select { font: inherit; } | |
| button { cursor: pointer; } | |
| .shell { min-height: 100vh; background: radial-gradient(circle at 70% -10%, rgba(75, 71, 160, .28), transparent 34rem), radial-gradient(circle at 0% 35%, rgba(28, 119, 123, .12), transparent 32rem); } | |
| .topbar { height: 72px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 36px; background: rgba(8, 11, 20, .72); backdrop-filter: blur(18px); position: sticky; top: 0; z-index: 10; } | |
| .brand { display: flex; align-items: center; gap: 12px; letter-spacing: -.02em; font-weight: 700; } | |
| .brand-mark { width: 30px; height: 30px; border-radius: 10px; background: linear-gradient(135deg, var(--cyan), var(--violet)); box-shadow: 0 0 30px rgba(95, 225, 208, .22); position: relative; } | |
| .brand-mark:after { content: ""; position: absolute; inset: 7px; border: 2px solid #08121b; border-radius: 5px; } | |
| .top-status { color: var(--muted); display: flex; align-items: center; gap: 9px; font-size: 12px; } | |
| .dot { width: 7px; height: 7px; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 13px var(--cyan); } | |
| .layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); max-width: 1540px; margin: 0 auto; } | |
| .sidebar { padding: 28px 16px; border-right: 1px solid var(--line); min-height: calc(100vh - 72px); } | |
| .eyebrow { color: var(--cyan); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; } | |
| .nav-group { margin: 22px 0 8px 12px; color: #56617a; font-size: 10px; text-transform: uppercase; letter-spacing: .14em; } | |
| .nav-item { width: 100%; color: var(--muted); background: transparent; border: 1px solid transparent; padding: 10px 12px; text-align: left; border-radius: 9px; margin: 2px 0; font-size: 13px; } | |
| .nav-item:hover, .nav-item.active { background: rgba(104, 116, 190, .13); border-color: rgba(155, 140, 255, .17); color: var(--ink); } | |
| .main { padding: 38px clamp(24px, 4vw, 64px) 80px; min-width: 0; } | |
| .page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; } | |
| h1 { font-size: clamp(29px, 3.4vw, 46px); line-height: 1; letter-spacing: -.055em; margin: 8px 0 12px; } | |
| h2 { letter-spacing: -.035em; font-size: 20px; margin: 0; } | |
| .sub { color: var(--muted); font-size: 13px; max-width: 680px; line-height: 1.6; } | |
| .grid { display: grid; gap: 14px; } | |
| .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } | |
| .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } | |
| .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } | |
| .panel { border: 1px solid var(--line); background: var(--panel); border-radius: 14px; padding: 18px; box-shadow: 0 18px 55px rgba(0,0,0,.14); } | |
| .metric { min-height: 112px; position: relative; overflow: hidden; } | |
| .metric:after { content: ""; width: 100px; height: 100px; position: absolute; right: -35px; bottom: -50px; border: 1px solid rgba(95,225,208,.22); border-radius: 50%; } | |
| .metric-value { display: block; font-size: 28px; letter-spacing: -.05em; margin-top: 12px; } | |
| .metric-label { color: var(--muted); font-size: 12px; } | |
| .metric-note { color: #66728e; font-size: 10px; margin-top: 8px; } | |
| .accent-violet { color: var(--violet); } .accent-cyan { color: var(--cyan); } .accent-orange { color: var(--orange); } | |
| .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; } | |
| .section-title { margin: 30px 0 12px; display: flex; align-items: center; justify-content: space-between; } | |
| .section-title span { color: var(--muted); font-size: 12px; } | |
| .small { font-size: 11px; color: var(--muted); line-height: 1.5; } | |
| .tag { display: inline-flex; align-items: center; border: 1px solid rgba(95,225,208,.24); background: rgba(95,225,208,.07); color: var(--cyan); padding: 4px 8px; border-radius: 999px; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; } | |
| .tag.warn { color: var(--orange); border-color: rgba(255,184,107,.28); background: rgba(255,184,107,.08); } | |
| .tag.muted { color: var(--muted); border-color: var(--line); background: transparent; } | |
| .btn { border: 1px solid rgba(95,225,208,.35); background: rgba(95,225,208,.1); color: var(--cyan); padding: 10px 14px; border-radius: 8px; font-size: 12px; font-weight: 600; } | |
| .btn:hover { background: rgba(95,225,208,.18); } .btn:disabled { opacity: .45; cursor: not-allowed; } | |
| .btn.secondary { color: var(--ink); border-color: var(--line); background: rgba(255,255,255,.04); } | |
| .btn.violet { color: #e9e5ff; border-color: rgba(155,140,255,.4); background: rgba(155,140,255,.13); } | |
| .control { display: grid; gap: 7px; margin: 12px 0; } .control label { color: var(--muted); font-size: 11px; } | |
| input[type=file], select, input[type=number] { color: var(--ink); background: #0d1322; border: 1px solid var(--line); padding: 10px; border-radius: 8px; width: 100%; } | |
| input[type=range] { accent-color: var(--cyan); width: 100%; } | |
| .image-frame { background: #05070c; border: 1px solid var(--line); border-radius: 10px; min-height: 240px; display: grid; place-items: center; overflow: hidden; } | |
| .image-frame img { max-width: 100%; max-height: 430px; object-fit: contain; display: block; } | |
| .image-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 14px; } | |
| .sample { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #0a0e18; color: var(--muted); text-align: left; padding: 0; } | |
| .sample:hover, .sample.selected { border-color: var(--cyan); } .sample img { width: 100%; height: 86px; object-fit: cover; display: block; } .sample span { display: block; padding: 6px; font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } | |
| .decision { display: flex; justify-content: space-between; align-items: center; padding: 18px; border-radius: 10px; margin-top: 14px; background: linear-gradient(110deg, rgba(95,225,208,.1), rgba(155,140,255,.1)); border: 1px solid rgba(95,225,208,.24); } | |
| .decision strong { font-size: 24px; letter-spacing: -.04em; } .decision p { color: var(--muted); font-size: 11px; margin: 4px 0 0; } | |
| .table { width: 100%; border-collapse: collapse; font-size: 12px; } .table th, .table td { text-align: left; border-bottom: 1px solid var(--line); padding: 11px 8px; } .table th { color: var(--muted); font-weight: 500; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; } | |
| .bar { height: 8px; border-radius: 99px; background: #151c2d; overflow: hidden; } .bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--violet)); border-radius: inherit; } | |
| .notice { padding: 14px; border-radius: 9px; border: 1px solid rgba(255,184,107,.25); color: #d9b98e; background: rgba(255,184,107,.06); font-size: 12px; line-height: 1.5; } | |
| .error { color: #ff9a9a; border-color: rgba(255, 100, 100, .28); background: rgba(255, 100, 100, .06); } | |
| @media (max-width: 900px) { .layout { grid-template-columns: 1fr; } .sidebar { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 10px 18px; display: flex; gap: 6px; overflow-x: auto; } .sidebar .eyebrow, .nav-group { display: none; } .nav-item { white-space: nowrap; width: auto; } .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); } } | |
| @media (max-width: 620px) { .topbar { padding: 0 18px; } .main { padding: 26px 16px 60px; } .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .page-heading { display: block; } .image-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } } | |