Spaces:
Running
Running
Download style.css from QuantModelDev/shambasense-ai-2: direct link, hf CLI and curl.
- Browser
- Download file 12.2 kB
-
https://huggingface.co/spaces/QuantModelDev/shambasense-ai-2/resolve/main/style.css
- Command line
-
hf download hf://spaces/QuantModelDev/shambasense-ai-2/style.css
-
curl -L -o style.css https://huggingface.co/spaces/QuantModelDev/shambasense-ai-2/resolve/main/style.css
12.2 kB
| :root { | |
| --forest-950: #17352a; | |
| --forest-800: #24553e; | |
| --forest-700: #2f7652; | |
| --leaf-500: #4d9c63; | |
| --leaf-100: #edf6ee; | |
| --cream: #fbfaf5; | |
| --ink: #213129; | |
| --muted: #64746a; | |
| --soft: #f3f6f1; | |
| --line: #dce5dc; | |
| --warning: #9a6a15; | |
| --error: #a64040; | |
| --white: #fff; | |
| --shadow: 0 10px 30px rgba(30, 60, 43, .07); | |
| font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; | |
| color: var(--ink); | |
| background: var(--cream); | |
| font-synthesis: none; | |
| } | |
| * { box-sizing: border-box; } | |
| html { scroll-behavior: smooth; } | |
| body { min-width: 320px; margin: 0; background: var(--cream); line-height: 1.5; } | |
| button, input, select, textarea { font: inherit; } | |
| button, select { cursor: pointer; } | |
| button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .drop-zone:focus-visible { | |
| outline: 3px solid #d8ae43; | |
| outline-offset: 3px; | |
| } | |
| a { color: var(--forest-800); } | |
| .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; } | |
| .skip-link { position: absolute; left: 12px; top: -60px; z-index: 10; padding: 10px 14px; color: var(--white); background: var(--forest-950); border-radius: 6px; } | |
| .skip-link:focus { top: 12px; } | |
| .site-header { background: var(--forest-950); color: #f4f8f0; } | |
| .header-inner, .page, .site-footer { width: min(1180px, calc(100% - 36px)); margin: 0 auto; } | |
| .header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; } | |
| .brand { display: inline-flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; } | |
| .brand-mark { display: grid; place-items: center; width: 37px; height: 37px; color: var(--forest-950); background: #c7e45b; border-radius: 10px; font-size: 19px; } | |
| .brand strong { display: block; font-size: 1.05rem; letter-spacing: -.02em; } | |
| .brand small { display: block; margin-top: 1px; color: #bbcbc0; font-size: .74rem; } | |
| .header-actions { display: flex; align-items: center; gap: 14px; } | |
| .status-dot { display: inline-flex; align-items: center; gap: 7px; color: #c9d8cc; font-size: .78rem; } | |
| .status-dot span:first-child { width: 7px; height: 7px; border-radius: 50%; background: #a6ca4b; } | |
| .language-control select { padding: 7px 28px 7px 9px; color: #f4f8f0; background: transparent; border: 1px solid #55715e; border-radius: 6px; } | |
| .page { padding: 42px 0 64px; } | |
| .hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); gap: 36px; align-items: end; padding-bottom: 36px; } | |
| .eyebrow, .step-label { margin: 0 0 8px; color: var(--forest-700); font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; } | |
| h1, h2, h3, h4 { line-height: 1.18; } | |
| h1 { max-width: 700px; margin: 0; color: var(--forest-950); font-size: clamp(2.05rem, 5vw, 3.65rem); letter-spacing: -.055em; } | |
| .hero-copy { max-width: 700px; margin: 18px 0 0; color: var(--muted); font-size: 1.05rem; } | |
| .hero-note { display: flex; gap: 11px; padding: 16px 18px; color: var(--forest-800); background: var(--leaf-100); border-left: 3px solid var(--leaf-500); border-radius: 6px; } | |
| .hero-note p { margin: 0; font-size: .88rem; } | |
| .note-icon { display: grid; flex: 0 0 auto; place-items: center; width: 20px; height: 20px; color: var(--white); background: var(--forest-700); border-radius: 50%; font-size: .75rem; font-weight: 700; } | |
| .tabs { display: flex; gap: 24px; margin-bottom: 30px; border-bottom: 1px solid var(--line); } | |
| .tab { position: relative; padding: 0 0 12px; color: var(--muted); background: none; border: 0; font-size: .9rem; font-weight: 700; } | |
| .tab.is-active { color: var(--forest-800); } | |
| .tab.is-active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 3px; background: var(--leaf-500); border-radius: 3px 3px 0 0; content: ""; } | |
| .view { display: none; } | |
| .view.is-visible { display: block; } | |
| .section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; } | |
| .section-heading h2 { margin: 0; color: var(--forest-950); font-size: clamp(1.35rem, 3vw, 1.8rem); letter-spacing: -.03em; } | |
| .muted, .helper, .disclaimer { color: var(--muted); } | |
| .muted { margin: 0; font-size: .84rem; } | |
| .workspace { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 22px; align-items: start; } | |
| .panel { padding: 25px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); } | |
| .panel-heading { display: flex; align-items: start; justify-content: space-between; gap: 15px; margin-bottom: 7px; } | |
| .panel-heading h3 { margin: 0; color: var(--forest-950); font-size: 1.15rem; } | |
| .panel-heading .step-label { margin-bottom: 3px; } | |
| .required, .state-badge { padding: 4px 8px; border-radius: 4px; font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; } | |
| .required { color: var(--forest-800); background: var(--leaf-100); } | |
| .state-empty { color: var(--muted); background: var(--soft); } | |
| .state-ready { color: var(--forest-800); background: #e6f4e9; } | |
| .state-error { color: var(--error); background: #fbeeee; } | |
| .state-loading { color: var(--warning); background: #fff5dc; } | |
| .helper { margin: 0 0 18px; font-size: .84rem; } | |
| .drop-zone { display: flex; align-items: center; justify-content: center; min-height: 255px; padding: 20px; color: var(--muted); text-align: center; background: #f8fbf7; border: 1px dashed #8eb69a; border-radius: 8px; transition: background .15s ease, border-color .15s ease; } | |
| .drop-zone:hover, .drop-zone.is-dragging { background: var(--leaf-100); border-color: var(--leaf-500); } | |
| .drop-zone > span { display: flex; flex-direction: column; align-items: center; gap: 5px; } | |
| .upload-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 5px; color: var(--white); background: var(--forest-700); border-radius: 50%; font-size: 1.35rem; } | |
| .drop-zone strong { color: var(--forest-800); font-size: .96rem; } | |
| .drop-zone span span:last-child { font-size: .8rem; } | |
| .preview-wrap { width: 100%; } | |
| .preview-wrap img { display: block; width: 100%; max-height: 260px; object-fit: contain; border-radius: 6px; } | |
| .file-name { overflow: hidden; max-width: 100%; margin-top: 9px; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; } | |
| .field-status, .form-status { min-height: 23px; margin-top: 8px; color: var(--muted); font-size: .78rem; } | |
| .field-status.error, .form-status.error { color: var(--error); } | |
| .field-status.success, .form-status.success { color: var(--forest-700); } | |
| .text-button { padding: 0; color: var(--forest-800); background: none; border: 0; font-size: .8rem; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; } | |
| .text-button.danger { color: var(--error); } | |
| .form-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 15px; margin-top: 13px; } | |
| .field { position: relative; } | |
| .field label { display: block; margin-bottom: 6px; color: var(--ink); font-size: .82rem; font-weight: 750; } | |
| select, textarea { width: 100%; color: var(--ink); background: var(--white); border: 1px solid #cbd8cd; border-radius: 6px; } | |
| select { min-height: 42px; padding: 8px 10px; } | |
| textarea { min-height: 100px; padding: 10px; resize: vertical; } | |
| select:hover, textarea:hover { border-color: var(--leaf-500); } | |
| .character-count { position: absolute; right: 8px; bottom: 8px; color: var(--muted); font-size: .68rem; } | |
| .form-actions { display: flex; gap: 10px; margin-top: 20px; } | |
| .button { min-height: 43px; padding: 9px 15px; border-radius: 6px; font-size: .84rem; font-weight: 800; transition: transform .15s ease, background .15s ease; } | |
| .button:hover { transform: translateY(-1px); } | |
| .button:disabled { cursor: wait; opacity: .6; transform: none; } | |
| .button-primary { flex: 1; color: var(--white); background: var(--forest-700); border: 1px solid var(--forest-700); } | |
| .button-primary:hover { background: var(--forest-800); } | |
| .button-secondary { color: var(--forest-800); background: var(--white); border: 1px solid #cbd8cd; } | |
| .button-secondary:hover { background: var(--leaf-100); } | |
| .results-content { min-height: 255px; padding: 20px; background: #fbfcfa; border: 1px solid var(--line); border-radius: 7px; } | |
| .empty-state { display: grid; place-items: center; min-height: 210px; text-align: center; } | |
| .empty-icon { color: #aab9ad; font-size: 2.2rem; } | |
| .empty-state h4 { margin: 12px 0 5px; color: var(--forest-800); } | |
| .empty-state p { max-width: 330px; margin: 0; color: var(--muted); font-size: .82rem; } | |
| .inference-not-configured { padding: 16px; color: #66511d; background: #fff8e6; border: 1px solid #eddaa3; border-radius: 6px; } | |
| .inference-not-configured h4 { margin: 0 0 6px; color: #725817; } | |
| .inference-not-configured p { margin: 0 0 8px; font-size: .83rem; } | |
| .result-card h4 { margin: 0 0 5px; color: var(--forest-800); font-size: 1.25rem; } | |
| .result-card .result-meta { margin: 0 0 15px; color: var(--muted); font-size: .82rem; } | |
| .confidence-row { display: flex; justify-content: space-between; margin: 14px 0 5px; font-size: .8rem; font-weight: 750; } | |
| .confidence-track { overflow: hidden; height: 8px; background: #e5ece5; border-radius: 10px; } | |
| .confidence-fill { height: 100%; background: var(--leaf-500); border-radius: inherit; } | |
| .result-section { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); } | |
| .result-section h5 { margin: 0 0 8px; color: var(--forest-800); font-size: .84rem; } | |
| .result-section p, .result-section li { color: var(--muted); font-size: .82rem; } | |
| .result-section ul { margin: 0; padding-left: 19px; } | |
| .prediction-list { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; } | |
| .prediction-list li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 7px; border-bottom: 1px solid #edf1ed; } | |
| .prediction-list li:last-child { border-bottom: 0; } | |
| .report-actions { display: flex; gap: 9px; margin-top: 12px; } | |
| .report-actions .button { flex: 1; } | |
| .disclaimer { margin: 11px 0 0; font-size: .75rem; } | |
| .history-list { display: grid; gap: 10px; } | |
| .history-empty { padding: 35px 20px; color: var(--muted); text-align: center; background: var(--white); border: 1px dashed var(--line); border-radius: 8px; } | |
| .history-item { display: flex; align-items: start; justify-content: space-between; gap: 20px; padding: 17px 19px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; } | |
| .history-item h3 { margin: 0 0 4px; color: var(--forest-800); font-size: .98rem; } | |
| .history-item p { margin: 0; color: var(--muted); font-size: .8rem; } | |
| .history-item time { color: var(--muted); font-size: .75rem; white-space: nowrap; } | |
| .about-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } | |
| .info-block { padding: 19px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; } | |
| .info-block h3 { margin: 0 0 8px; color: var(--forest-800); font-size: 1rem; } | |
| .info-block p { margin: 0; color: var(--muted); font-size: .85rem; } | |
| .site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0 28px; color: var(--muted); border-top: 1px solid var(--line); font-size: .76rem; } | |
| @media (max-width: 800px) { | |
| .hero, .workspace { grid-template-columns: 1fr; } | |
| .hero { gap: 20px; } | |
| .hero-note { max-width: 600px; } | |
| } | |
| @media (max-width: 560px) { | |
| .header-inner, .page, .site-footer { width: min(100% - 28px, 1180px); } | |
| .header-inner { min-height: 68px; } | |
| .status-dot { display: none; } | |
| .page { padding-top: 28px; } | |
| h1 { font-size: 2.2rem; } | |
| .tabs { gap: 17px; overflow-x: auto; } | |
| .tab { flex: 0 0 auto; } | |
| .section-heading { align-items: start; flex-direction: column; gap: 8px; } | |
| .panel { padding: 17px; } | |
| .form-grid, .about-grid { grid-template-columns: 1fr; } | |
| .form-actions, .report-actions { flex-direction: column; } | |
| .button { width: 100%; } | |
| .history-item { flex-direction: column; gap: 8px; } | |
| .site-footer { flex-direction: column; gap: 5px; } | |
| } | |
| @media (prefers-reduced-motion: reduce) { | |
| *, *::before, *::after { scroll-behavior: auto ; transition-duration: .01ms ; animation-duration: .01ms ; } | |
| } | |