Download src/static/css/standalone-apps.css from anaselamr/yaz: direct link, hf CLI and curl.
- Browser
- Download file 9.4 kB
-
https://huggingface.co/spaces/anaselamr/yaz/resolve/main/src/static/css/standalone-apps.css
- Command line
-
hf download hf://spaces/anaselamr/yaz/src/static/css/standalone-apps.css
-
curl -L -o standalone-apps.css https://huggingface.co/spaces/anaselamr/yaz/resolve/main/src/static/css/standalone-apps.css
9.4 kB
| /* ───────────────────────────────────────────────────────────── | |
| * standalone-apps.css — Standalone App Templates | |
| * ─────────────────────────────────────────────────────────── */ | |
| /* ── unified_dashboard ─── */ | |
| /* Unified Dashboard — page-specific styles only. | |
| Design tokens from tokens.css, components from components.css. */ | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| body { | |
| font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; | |
| background: var(--bg); | |
| color: var(--text); | |
| line-height: 1.5; | |
| } | |
| /* Module grid layout */ | |
| .module-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); | |
| gap: 1rem; | |
| margin-bottom: 2rem; | |
| } | |
| /* Module cards matching existing card style */ | |
| .module-card { | |
| background: var(--surface); | |
| border: 1px solid var(--border); | |
| border-radius: var(--card-radius); | |
| overflow: hidden; | |
| transition: transform var(--transition), box-shadow var(--transition); | |
| } | |
| .module-card:hover { | |
| border-color: var(--border-strong); | |
| } | |
| .module-header { | |
| padding: 1rem; | |
| font-weight: 600; | |
| border-bottom: 1px solid var(--border); | |
| } | |
| .module-actions { | |
| padding: 0.5rem; | |
| } | |
| .module-action-link { | |
| display: block; | |
| padding: 0.5rem 0.75rem; | |
| color: var(--text); | |
| text-decoration: none; | |
| border-radius: 4px; | |
| font-size: 0.875rem; | |
| transition: background var(--transition); | |
| } | |
| .module-action-link:hover { | |
| background: var(--border); | |
| } | |
| .category-section { | |
| margin-bottom: 3rem; | |
| } | |
| .category-title { | |
| font-size: 1.5rem; | |
| font-weight: 700; | |
| margin-bottom: 1rem; | |
| color: var(--text); | |
| } | |
| /* Metrics grid */ | |
| .metrics-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); | |
| gap: 1rem; | |
| margin-bottom: 2rem; | |
| } | |
| .metric-card { | |
| background: var(--surface); | |
| border: 1px solid var(--border); | |
| border-radius: var(--card-radius); | |
| padding: 1rem; | |
| } | |
| .metric-value { | |
| font-size: var(--text-2xl); | |
| font-weight: 800; | |
| color: var(--text); | |
| letter-spacing: -0.02em; | |
| font-variant-numeric: tabular-nums; | |
| } | |
| .metric-label { | |
| font-size: 0.875rem; | |
| color: var(--text-muted); | |
| margin-top: 0.25rem; | |
| } | |
| /* Header styles */ | |
| .dashboard-header { | |
| background: var(--surface); | |
| border-bottom: 1px solid var(--border); | |
| padding: 1rem 2rem; | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| position: sticky; | |
| top: 0; | |
| z-index: 100; | |
| } | |
| .header-title { | |
| font-size: 1.5rem; | |
| font-weight: 700; | |
| color: var(--primary); | |
| } | |
| .search-container { | |
| flex: 1; | |
| max-width: 600px; | |
| margin: 0 2rem; | |
| position: relative; | |
| } | |
| .search-input { | |
| width: 100%; | |
| padding: 0.5rem 1rem 0.5rem 2.5rem; | |
| border: 1px solid var(--border); | |
| border-radius: var(--radius-md); | |
| background: var(--bg); | |
| color: var(--text); | |
| font-size: var(--text-sm); | |
| } | |
| .search-input:focus { | |
| outline: 2px solid var(--primary); | |
| outline-offset: -2px; | |
| } | |
| .search-icon { | |
| position: absolute; | |
| left: 0.75rem; | |
| top: 50%; | |
| transform: translateY(-50%); | |
| width: 1rem; | |
| height: 1rem; | |
| color: var(--text-muted); | |
| } | |
| .main-container { | |
| max-width: 1400px; | |
| margin: 0 auto; | |
| padding: 2rem; | |
| } | |
| .back-link { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 0.5rem; | |
| color: var(--text-muted); | |
| text-decoration: none; | |
| font-size: 0.875rem; | |
| margin-bottom: 1.5rem; | |
| transition: color var(--transition); | |
| } | |
| .back-link:hover { | |
| color: var(--primary); | |
| } | |
| [x-cloak] { | |
| display: none ; | |
| } | |
| /* ── docs_documentation ─── */ | |
| * { margin: 0; padding: 0; box-sizing: border-box; } | |
| body { | |
| font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif; | |
| line-height: 1.6; | |
| color: var(--text); | |
| background: var(--bg); | |
| } | |
| .header { | |
| background: var(--primary); | |
| color: white; | |
| padding: 3rem 0; | |
| text-align: center; | |
| } | |
| .header h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 0.5rem; } | |
| .header p { font-size: 1.125rem; opacity: 0.9; } | |
| .container { max-width: 1200px; margin: 0 auto; padding: 2rem; } | |
| .intro { | |
| background: var(--surface); | |
| padding: 2rem; | |
| border-radius: 12px; | |
| margin-bottom: 2rem; | |
| box-shadow: 0 2px 4px rgba(0,0,0,0.1); | |
| } | |
| .service-card { | |
| background: var(--surface); | |
| border-radius: 12px; | |
| padding: 2rem; | |
| margin-bottom: 2rem; | |
| box-shadow: 0 2px 4px rgba(0,0,0,0.1); | |
| border-left: 4px solid var(--c-info-400); | |
| } | |
| .service-header { | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| margin-bottom: 1rem; | |
| flex-wrap: wrap; | |
| } | |
| .service-header h2 { color: var(--text); font-size: 1.5rem; font-weight: 600; } | |
| .status-badge { | |
| padding: 0.25rem 0.75rem; | |
| border-radius: 6px; | |
| font-size: 0.75rem; | |
| font-weight: 600; | |
| text-transform: uppercase; | |
| } | |
| .status-active { background: var(--c-success-100); color: var(--c-success-700); } | |
| .service-description { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 1rem; } | |
| .service-section { margin: 1.5rem 0; } | |
| .service-section h3 { | |
| color: var(--text); | |
| font-size: 1.125rem; | |
| font-weight: 600; | |
| margin-bottom: 0.75rem; | |
| border-bottom: 2px solid var(--border); | |
| padding-bottom: 0.5rem; | |
| } | |
| .features-list { list-style: none; padding: 0; } | |
| .features-list li { padding: 0.5rem 0; padding-left: 1.5rem; position: relative; } | |
| .features-list li:before { content: ""; position: absolute; left: 0; color: var(--c-success-500); font-weight: bold; } | |
| .endpoints-table { width: 100%; border-collapse: collapse; margin-top: 0.5rem; } | |
| .endpoints-table th, | |
| .endpoints-table td { padding: 0.75rem; text-align: left; border-bottom: 1px solid var(--border); } | |
| .endpoints-table th { background: var(--surface); font-weight: 600; color: var(--text); } | |
| .method { | |
| padding: 0.25rem 0.5rem; | |
| border-radius: 4px; | |
| font-size: 0.75rem; | |
| font-weight: 600; | |
| text-transform: uppercase; | |
| } | |
| .method-get { background: var(--c-success-100); color: var(--c-success-700); } | |
| .method-post { background: var(--c-info-100); color: var(--c-info-700); } | |
| .endpoints-table code { | |
| background: var(--c-neutral-100); | |
| padding: 0.25rem 0.5rem; | |
| border-radius: 4px; | |
| font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace; | |
| font-size: 0.875rem; | |
| } | |
| .navigation { | |
| background: var(--surface); | |
| padding: 1rem 2rem; | |
| border-radius: 12px; | |
| margin-bottom: 2rem; | |
| box-shadow: 0 2px 4px rgba(0,0,0,0.1); | |
| } | |
| .nav-links { display: flex; gap: 1rem; flex-wrap: wrap; } | |
| .nav-link { | |
| padding: 0.5rem 1rem; | |
| background: var(--c-neutral-100); | |
| color: var(--text); | |
| text-decoration: none; | |
| border-radius: 6px; | |
| font-size: 0.875rem; | |
| transition: background-color 0.2s ease; | |
| } | |
| .nav-link:hover { background: var(--c-neutral-200); } | |
| @media (max-width: 768px) { | |
| .service-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; } | |
| .container { padding: 1rem; } | |
| .endpoints-table { font-size: 0.875rem; } | |
| .nav-links { flex-direction: column; } | |
| } | |