Download web/src/styles/wave55/apps.css from fsanyoto/loopable: direct link, hf CLI and curl.
- Browser
- Download file 14.1 kB
-
https://huggingface.co/spaces/fsanyoto/loopable/resolve/main/web/src/styles/wave55/apps.css
- Command line
-
hf download hf://spaces/fsanyoto/loopable/web/src/styles/wave55/apps.css
-
curl -L -o apps.css https://huggingface.co/spaces/fsanyoto/loopable/resolve/main/web/src/styles/wave55/apps.css
14.1 kB
| /* WAVE 55: Home and App share one quiet directory vocabulary. */ | |
| .home-page-head { | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| gap: 16px; | |
| margin-bottom: var(--lp-section-gap); | |
| } | |
| /* One module home subtitle: a single muted line under the title (ModuleHomeHead). */ | |
| .home-page-head .home-subtitle { | |
| margin: 8px 0 0; | |
| color: var(--lp-muted); | |
| font-size: var(--lp-fs-sm); | |
| } | |
| .home-app-create { | |
| height: 32px; | |
| padding: 0 12px; | |
| border: 0; | |
| border-radius: var(--lp-r-md); | |
| background: var(--lp-primary); | |
| color: var(--lp-surface); | |
| font: inherit; | |
| font-size: var(--lp-fs-2xs); | |
| font-weight: 600; | |
| cursor: pointer; | |
| transition: | |
| background 140ms var(--lp-fold-e), | |
| transform 140ms var(--lp-fold-e); | |
| } | |
| .home-app-create:hover { | |
| background: var(--lp-primary-hover); | |
| } | |
| .home-app-create:active { | |
| transform: translateY(1px); | |
| } | |
| .home-app-create:focus-visible, | |
| .home-starred-filter:focus-visible { | |
| outline: 2px solid var(--lp-primary); | |
| outline-offset: 2px; | |
| } | |
| .home-layout-btn.home-starred-filter { | |
| width: auto; | |
| gap: 6px; | |
| padding: 0 10px; | |
| white-space: nowrap; | |
| } | |
| .home-layout-btn.home-starred-filter:disabled { | |
| cursor: default; | |
| opacity: 0.55; | |
| } | |
| /* Shared home chips stay tinted when the Data grid stylesheet loads. */ | |
| .home-app-glyph { | |
| background: var(--lp-primary-tint); | |
| color: var(--lp-primary); | |
| font-weight: 400; | |
| } | |
| .home-app-icon { | |
| width: 16px; | |
| height: 16px; | |
| fill: none; | |
| stroke: currentColor; | |
| stroke-width: 1.3; | |
| stroke-linecap: round; | |
| stroke-linejoin: round; | |
| } | |
| .home-app-note { | |
| margin: 0 0 12px; | |
| color: var(--lp-red-deep); | |
| font-size: var(--lp-fs-2xs); | |
| } | |
| /* Reachability floor for Share and New database, whose geometry lives in index.css. | |
| The full geometry fix belongs to a ticket that owns that file. */ | |
| .shell-newdb-scrim:has(.shell-newdb) { | |
| overflow-y: auto; | |
| } | |
| .shell-newdb-scrim:has(.app-wizard) { | |
| align-items: center; | |
| padding: 24px 16px; | |
| overflow-y: auto; | |
| } | |
| /* Routing and Catalog Application creation share one five-step dialog. */ | |
| .shell-newdb.app-wizard { | |
| width: min(720px, calc(100vw - 32px)); | |
| min-height: min(548px, calc(100vh - 48px)); | |
| max-height: calc(100vh - 48px); | |
| padding: 0; | |
| display: grid; | |
| grid-template-rows: auto auto minmax(0, 1fr) auto; | |
| overflow: hidden; | |
| animation: app-wizard-in 160ms ease-out both; | |
| } | |
| .app-wizard-head, | |
| .app-wizard-actions { | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| padding: 20px 24px; | |
| } | |
| .app-wizard-head { | |
| justify-content: space-between; | |
| } | |
| .app-wizard-head p, | |
| .app-wizard-head h2, | |
| .app-wizard-field-list > p, | |
| .app-wizard-review-note { | |
| margin: 0; | |
| } | |
| .app-wizard-head p, | |
| .cg-app-catalog-kicker { | |
| color: var(--lp-muted); | |
| font-size: var(--lp-fs-3xs); | |
| font-weight: 600; | |
| } | |
| .app-wizard-head h2 { | |
| margin-top: 4px; | |
| color: var(--lp-ink); | |
| font-size: var(--lp-fs-lg); | |
| line-height: var(--lp-lh-tight); | |
| } | |
| .app-wizard-close { | |
| width: 36px; | |
| height: 36px; | |
| display: grid; | |
| place-items: center; | |
| padding: 0; | |
| border: 0; | |
| border-radius: var(--lp-r-md); | |
| background: transparent; | |
| color: var(--lp-muted); | |
| cursor: pointer; | |
| } | |
| .app-wizard-close:hover { | |
| background: var(--lp-wash); | |
| color: var(--lp-ink); | |
| } | |
| .app-wizard-close svg { | |
| width: 16px; | |
| height: 16px; | |
| fill: none; | |
| stroke: currentColor; | |
| stroke-width: 1.5; | |
| stroke-linecap: round; | |
| } | |
| .app-wizard-steps { | |
| display: grid; | |
| grid-template-columns: repeat(5, 1fr); | |
| gap: 8px; | |
| margin: 0; | |
| padding: 12px 24px; | |
| border-top: 1px solid var(--lp-line); | |
| border-bottom: 1px solid var(--lp-line); | |
| list-style: none; | |
| } | |
| .app-wizard-steps li { | |
| min-width: 0; | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| color: var(--lp-muted); | |
| font-size: var(--lp-fs-3xs); | |
| font-weight: 600; | |
| } | |
| .app-wizard-steps li > span { | |
| width: 24px; | |
| height: 24px; | |
| flex: 0 0 24px; | |
| display: grid; | |
| place-items: center; | |
| border: 1px solid var(--lp-line-strong); | |
| border-radius: var(--lp-r-pill); | |
| background: var(--lp-surface); | |
| font-size: var(--lp-fs-4xs); | |
| } | |
| .app-wizard-steps li.is-current, | |
| .app-wizard-steps li.is-done { | |
| color: var(--lp-primary); | |
| } | |
| .app-wizard-steps li.is-current > span, | |
| .app-wizard-steps li.is-done > span { | |
| border-color: var(--lp-primary); | |
| background: var(--lp-primary-tint); | |
| } | |
| .app-wizard-body { | |
| min-height: 0; | |
| overflow: auto; | |
| padding: 24px; | |
| } | |
| .app-wizard-template-grid { | |
| display: grid; | |
| grid-template-columns: repeat(2, minmax(0, 1fr)); | |
| grid-auto-rows: 1fr; | |
| gap: 16px; | |
| } | |
| .app-wizard-template { | |
| min-height: 104px; | |
| display: flex; | |
| align-items: flex-start; | |
| gap: 16px; | |
| padding: 20px; | |
| border: 1px solid var(--lp-line); | |
| border-radius: var(--lp-r-lg); | |
| background: var(--lp-surface); | |
| color: var(--lp-ink); | |
| text-align: left; | |
| font: inherit; | |
| cursor: pointer; | |
| transition: border-color 140ms ease-out, background 140ms ease-out, transform 140ms ease-out; | |
| } | |
| .app-wizard-template:hover { | |
| border-color: var(--lp-line-strong); | |
| transform: translateY(-1px); | |
| } | |
| .app-wizard-template.is-selected { | |
| border-color: var(--lp-primary); | |
| background: var(--lp-primary-tint); | |
| } | |
| .app-wizard-template:focus-visible, | |
| .app-wizard-close:focus-visible, | |
| .app-wizard-secondary:focus-visible, | |
| .cg-app-catalog-card:focus-visible { | |
| outline: 2px solid var(--lp-primary); | |
| outline-offset: 2px; | |
| } | |
| .app-wizard-template-icon { | |
| width: 44px; | |
| height: 44px; | |
| flex: 0 0 44px; | |
| display: grid; | |
| place-items: center; | |
| border-radius: var(--lp-r-md); | |
| background: var(--lp-blue-tint); | |
| color: var(--lp-primary); | |
| } | |
| .app-wizard-template-icon svg { | |
| width: 24px; | |
| height: 24px; | |
| fill: none; | |
| stroke: currentColor; | |
| stroke-width: 1.5; | |
| stroke-linecap: round; | |
| stroke-linejoin: round; | |
| } | |
| .app-wizard-template strong, | |
| .app-wizard-template small { | |
| display: block; | |
| } | |
| .app-wizard-template strong { | |
| margin: 0 0 4px; | |
| font-size: var(--lp-fs-sm); | |
| } | |
| .app-wizard-template small, | |
| .app-wizard-field small, | |
| .app-wizard-field-list > p, | |
| .app-wizard-review-note { | |
| color: var(--lp-muted); | |
| font-size: var(--lp-fs-2xs); | |
| line-height: 1.45; | |
| } | |
| .app-wizard-field-list, | |
| .app-wizard-review { | |
| display: grid; | |
| gap: 16px; | |
| } | |
| .app-wizard-field { | |
| display: grid; | |
| gap: 8px; | |
| color: var(--lp-ink); | |
| font-size: var(--lp-fs-2xs); | |
| font-weight: 600; | |
| } | |
| .app-wizard-field > span { | |
| display: flex; | |
| justify-content: space-between; | |
| gap: 12px; | |
| } | |
| .app-wizard-field input, | |
| .app-wizard-field select { | |
| width: 100%; | |
| height: 36px; | |
| padding: 0 10px; | |
| border: 1px solid var(--lp-line-strong); | |
| border-radius: var(--lp-r-md); | |
| background: var(--lp-surface); | |
| color: var(--lp-ink); | |
| font: inherit; | |
| font-size: var(--lp-fs-2xs); | |
| } | |
| .app-wizard-field input:focus, | |
| .app-wizard-field select:focus { | |
| border-color: var(--lp-primary); | |
| outline: 2px solid var(--lp-primary-tint); | |
| outline-offset: 1px; | |
| } | |
| .app-wizard-review dl { | |
| margin: 0; | |
| border-top: 1px solid var(--lp-line); | |
| } | |
| .app-wizard-review dl > div { | |
| min-height: 40px; | |
| display: grid; | |
| grid-template-columns: 140px minmax(0, 1fr); | |
| align-items: center; | |
| gap: 12px; | |
| border-bottom: 1px solid var(--lp-line); | |
| font-size: var(--lp-fs-2xs); | |
| } | |
| .app-wizard-review dt { | |
| color: var(--lp-muted); | |
| } | |
| .app-wizard-review dd { | |
| margin: 0; | |
| color: var(--lp-ink); | |
| font-weight: 600; | |
| } | |
| .app-wizard-message { | |
| min-height: 20px; | |
| margin: 16px 0 0; | |
| color: var(--lp-muted); | |
| font-size: var(--lp-fs-2xs); | |
| } | |
| .app-wizard-message.is-error, | |
| .app-wizard-field small.is-error { | |
| color: var(--lp-red-deep); | |
| } | |
| .app-wizard-loading { | |
| display: grid; | |
| grid-template-columns: repeat(2, minmax(0, 1fr)); | |
| gap: 16px; | |
| } | |
| .app-wizard-loading span { | |
| height: 104px; | |
| border-radius: var(--lp-r-lg); | |
| background: var(--lp-wash); | |
| animation: app-wizard-pulse 1.1s ease-in-out infinite alternate; | |
| } | |
| .app-wizard-actions { | |
| border-top: 1px solid var(--lp-line); | |
| } | |
| .app-wizard-actions > span { | |
| flex: 1; | |
| } | |
| .app-wizard-actions button { | |
| min-width: 84px; | |
| height: 36px; | |
| } | |
| .app-wizard-actions .login-submit { | |
| width: auto; | |
| margin-top: 0; | |
| padding: 0 16px; | |
| } | |
| .app-wizard-secondary { | |
| padding: 0 12px; | |
| border: 1px solid var(--lp-line-strong); | |
| border-radius: var(--lp-r-md); | |
| background: var(--lp-surface); | |
| color: var(--lp-ink); | |
| font: inherit; | |
| font-size: var(--lp-fs-2xs); | |
| font-weight: 600; | |
| cursor: pointer; | |
| } | |
| .app-wizard-actions button:disabled, | |
| .app-wizard-close:disabled { | |
| cursor: default; | |
| opacity: 0.5; | |
| } | |
| /* Template-backed Catalog launch surface. */ | |
| .cg-app-catalog { | |
| height: 100%; | |
| min-height: 0; | |
| overflow: auto; | |
| padding: 24px; | |
| background: var(--lp-bg); | |
| } | |
| /* An Application definition fixes its trusted renderer. The ordinary View switch would be an | |
| inert control here, and Catalog has no use for Map's secondary settings row. */ | |
| .cg-app-catalog.is-print-editor { | |
| padding: 0; | |
| overflow: hidden; | |
| } | |
| .cg-main:has(.cg-app-catalog, .cg-app-route-surface) .cg-modes { | |
| display: none; | |
| } | |
| /* W59-T28: Toolbar.tsx is SHARED and deliberately outside this ticket's fence. | |
| Filter and Sort have computed aria-labels, so the tone class is the stable hook. | |
| Bubble size also wears cg-tb-btn--sort; scope to .cg-toolbar to preserve Map settings. */ | |
| .cg-main:has(.cg-app-catalog, .cg-app-route-surface) .cg-toolbar .cg-pop-wrap:not(:has(> .cg-tb-btn--filter)), | |
| .cg-main:has(.cg-app-catalog, .cg-app-route-surface) .cg-toolbar > .cg-tb-btn { | |
| display: none; | |
| } | |
| /* D-710: the view rail must not stand beside an addressed App. It is a SIBLING of | |
| .cg-main, not a descendant, so the scope starts one level up at .cg-shell. | |
| MEASURED 2026-09-13: on an addressed App the rail is already absent from the DOM, | |
| because CustomerGrid's `hideViews` happens to be true there. That derivation reads | |
| `!hostWorkspace || payload?.workspace?.hideViews === true` and knows nothing about app | |
| addressing, so the absence is incidental. This rule is the scope-correct guard that | |
| keeps the rail away if that derivation ever changes; it is a no-op today by design. */ | |
| .cg-shell:has(.cg-main .cg-app-catalog, .cg-main .cg-app-route-surface) .cg-views { | |
| display: none; | |
| } | |
| .cg-app-catalog-head { | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| gap: 16px; | |
| margin-bottom: 20px; | |
| } | |
| .cg-app-catalog-head h2, | |
| .cg-app-catalog-kicker { | |
| margin: 0; | |
| } | |
| .cg-app-catalog-head h2 { | |
| margin-top: 4px; | |
| color: var(--lp-ink); | |
| font-size: var(--lp-fs-lg); | |
| } | |
| .cg-app-catalog-count { | |
| color: var(--lp-muted); | |
| font-size: var(--lp-fs-2xs); | |
| } | |
| .cg-app-catalog-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fill, minmax(184px, 1fr)); | |
| gap: 12px; | |
| } | |
| .cg-app-catalog-card { | |
| min-width: 0; | |
| padding: 0; | |
| border: 1px solid var(--lp-line); | |
| border-radius: var(--lp-r-lg); | |
| overflow: hidden; | |
| background: var(--lp-surface); | |
| color: var(--lp-ink); | |
| text-align: left; | |
| font: inherit; | |
| cursor: pointer; | |
| transition: border-color 140ms ease-out, transform 140ms ease-out, box-shadow 140ms ease-out; | |
| } | |
| .cg-app-catalog-card:hover { | |
| border-color: var(--lp-line-strong); | |
| box-shadow: var(--lp-shadow-md); | |
| transform: translateY(-1px); | |
| } | |
| .cg-app-catalog-image { | |
| aspect-ratio: 4 / 3; | |
| display: grid; | |
| place-items: center; | |
| overflow: hidden; | |
| background: var(--lp-surface-2); | |
| color: var(--lp-muted); | |
| font-size: var(--lp-fs-3xs); | |
| } | |
| .cg-app-catalog-image img { | |
| width: 100%; | |
| height: 100%; | |
| display: block; | |
| object-fit: contain; | |
| } | |
| .cg-app-catalog-copy { | |
| display: grid; | |
| gap: 4px; | |
| padding: 12px; | |
| } | |
| .cg-app-catalog-copy strong, | |
| .cg-app-catalog-copy span { | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| white-space: nowrap; | |
| } | |
| .cg-app-catalog-copy strong { | |
| font-size: var(--lp-fs-2xs); | |
| } | |
| .cg-app-catalog-copy span, | |
| .cg-app-catalog-empty { | |
| color: var(--lp-muted); | |
| font-size: var(--lp-fs-3xs); | |
| } | |
| .cg-app-route-context { | |
| display: grid; | |
| gap: 2px; | |
| margin: 0 0 12px; | |
| padding: 0 8px; | |
| } | |
| .cg-app-map-name { | |
| display: grid; | |
| gap: 1px; | |
| margin-right: 4px; | |
| padding-right: 12px; | |
| border-right: 1px solid var(--lp-line); | |
| } | |
| .cg-app-map-name small { | |
| color: var(--lp-muted); | |
| font-size: var(--lp-fs-5xs); | |
| } | |
| .cg-app-map-name strong { | |
| max-width: 240px; | |
| color: var(--lp-ink); | |
| font-size: var(--lp-fs-2xs); | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| white-space: nowrap; | |
| } | |
| .cg-app-route-context span { | |
| color: var(--lp-muted); | |
| font-size: var(--lp-fs-4xs); | |
| } | |
| .cg-app-route-context strong { | |
| color: var(--lp-ink); | |
| font-size: var(--lp-fs-2xs); | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| white-space: nowrap; | |
| } | |
| .cg-app-launch-state { | |
| height: 100%; | |
| min-height: 240px; | |
| display: grid; | |
| align-content: start; | |
| gap: 12px; | |
| padding: 24px; | |
| background: var(--lp-bg); | |
| color: var(--lp-muted); | |
| font-size: var(--lp-fs-2xs); | |
| } | |
| .cg-app-launch-state.is-error { | |
| color: var(--lp-red-deep); | |
| } | |
| .cg-app-launch-line, | |
| .cg-app-launch-grid { | |
| display: block; | |
| border-radius: var(--lp-r-md); | |
| background: var(--lp-wash); | |
| animation: app-wizard-pulse 1.1s ease-in-out infinite alternate; | |
| } | |
| .cg-app-launch-line { | |
| width: 180px; | |
| height: 16px; | |
| } | |
| .cg-app-launch-line.is-wide { | |
| width: 280px; | |
| height: 24px; | |
| } | |
| .cg-app-launch-grid { | |
| height: 240px; | |
| margin-top: 8px; | |
| } | |
| @keyframes app-wizard-in { | |
| from { opacity: 0; transform: translateY(6px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| @keyframes app-wizard-pulse { | |
| from { opacity: 0.55; } | |
| to { opacity: 1; } | |
| } | |
| @media (prefers-reduced-motion: reduce) { | |
| .home-app-create, | |
| .app-wizard-template, | |
| .cg-app-catalog-card, | |
| .shell-newdb.app-wizard, | |
| .app-wizard-loading span, | |
| .cg-app-launch-line, | |
| .cg-app-launch-grid { | |
| transition: none; | |
| animation: none; | |
| } | |
| } | |
| @media (max-width: 640px) { | |
| .home-page-head { | |
| align-items: flex-start; | |
| } | |
| .home-layout-btn.home-starred-filter span { | |
| display: none; | |
| } | |
| .shell-newdb.app-wizard { | |
| min-height: min(548px, calc(100vh - 48px)); | |
| } | |
| .app-wizard-template-grid, | |
| .app-wizard-loading { | |
| grid-template-columns: 1fr; | |
| } | |
| .app-wizard-steps li { | |
| justify-content: center; | |
| font-size: 0; | |
| } | |
| .app-wizard-steps li > span { | |
| font-size: var(--lp-fs-4xs); | |
| } | |
| .app-wizard-review dl > div { | |
| grid-template-columns: 112px minmax(0, 1fr); | |
| } | |
| } | |