Download web/src/styles/wave55/sheet.css from fsanyoto/loopable: direct link, hf CLI and curl.
- Browser
- Download file 10.3 kB
-
https://huggingface.co/spaces/fsanyoto/loopable/resolve/main/web/src/styles/wave55/sheet.css
- Command line
-
hf download hf://spaces/fsanyoto/loopable/web/src/styles/wave55/sheet.css
-
curl -L -o sheet.css https://huggingface.co/spaces/fsanyoto/loopable/resolve/main/web/src/styles/wave55/sheet.css
10.3 kB
| /* Wave 55: Sheet-specific tokens and full-hit direct-manipulation tabs. */ | |
| :root { | |
| --sheet-cell-border: #000000; | |
| } | |
| .sheet-tab-strip { | |
| gap: 4px; | |
| overflow-x: auto; | |
| overflow-y: hidden; | |
| border-top: 1px solid var(--lp-line); | |
| border-bottom: 0; | |
| padding: 4px 8px; | |
| } | |
| .sheet-tab-strip .sheet-ribbon-btn[data-sheet-tab-id] { | |
| position: relative; | |
| flex: 0 0 auto; | |
| min-width: 80px; | |
| height: 36px; | |
| padding: 0 12px; | |
| touch-action: none; | |
| user-select: none; | |
| cursor: grab; | |
| transform: translateX(var(--sheet-tab-drag-x, 0)); | |
| transition: opacity 150ms ease-out; | |
| } | |
| .sheet-tab-strip .sheet-ribbon-btn[data-sheet-tab-id][data-dragging="true"] { | |
| z-index: var(--cg-z-menu); | |
| cursor: grabbing; | |
| opacity: 0.88; | |
| transition: none; | |
| } | |
| .sheet-tab-strip .sheet-ribbon-label { | |
| min-width: 0; | |
| font-weight: 600; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| white-space: nowrap; | |
| pointer-events: none; | |
| } | |
| @media (prefers-reduced-motion: reduce) { | |
| .sheet-tab-strip .sheet-ribbon-btn[data-sheet-tab-id] { | |
| transition: none; | |
| } | |
| } | |
| /* W55-T06: one deliberate 8px title gap on every ribbon tab. Home already owns the shared | |
| control band; the new tabs declare the same band and reuse the same group/control vocabulary. */ | |
| .sheet-ribbon.sheet-ribbon-home { | |
| --sheet-ribbon-group-gap: 8px; | |
| } | |
| .sheet-ribbon.sheet-ribbon-formulas, | |
| .sheet-ribbon.sheet-ribbon-data, | |
| .sheet-ribbon.sheet-ribbon-view { | |
| --sheet-ribbon-band: 52px; | |
| --sheet-ribbon-group-gap: 8px; | |
| align-items: stretch; | |
| gap: 0; | |
| padding: 4px 8px; | |
| } | |
| .sheet-ribbon.sheet-ribbon-formulas .sheet-ribbon-group, | |
| .sheet-ribbon.sheet-ribbon-data .sheet-ribbon-group, | |
| .sheet-ribbon.sheet-ribbon-view .sheet-ribbon-group { | |
| justify-content: flex-start; | |
| gap: var(--sheet-ribbon-group-gap); | |
| } | |
| .sheet-ribbon.sheet-ribbon-formulas .sheet-ribbon-group-controls, | |
| .sheet-ribbon.sheet-ribbon-data .sheet-ribbon-group-controls, | |
| .sheet-ribbon.sheet-ribbon-view .sheet-ribbon-group-controls { | |
| height: var(--sheet-ribbon-band); | |
| } | |
| .sheet-ribbon.sheet-ribbon-formulas .sheet-ribbon-btn, | |
| .sheet-ribbon.sheet-ribbon-data .sheet-ribbon-btn, | |
| .sheet-ribbon.sheet-ribbon-view .sheet-ribbon-btn { | |
| gap: 4px; | |
| } | |
| .sheet-ribbon.sheet-ribbon-formulas .sheet-ribbon-label, | |
| .sheet-ribbon.sheet-ribbon-data .sheet-ribbon-label, | |
| .sheet-ribbon.sheet-ribbon-view .sheet-ribbon-label { | |
| white-space: nowrap; | |
| } | |
| /* Unsupported commands stay visible but cannot enter the roving order or pretend to execute. */ | |
| .sheet-ribbon-unavailable:disabled { | |
| cursor: not-allowed; | |
| } | |
| .sheet-ribbon-state { | |
| font-size: var(--lp-fs-3xs); | |
| color: var(--lp-muted); | |
| white-space: nowrap; | |
| } | |
| /* W55-T07: Cell View keeps the Link-field drawer and adds one compact control row inside its | |
| existing header. No second card or floating toolbar competes with the drawer's containment. */ | |
| .cg-link-grid-head > div:first-child { | |
| min-width: 96px; | |
| } | |
| .sheet-cell-view-toolbar { | |
| order: 2; | |
| display: flex; | |
| min-width: 0; | |
| margin-left: auto; | |
| align-items: center; | |
| gap: 4px; | |
| overflow-x: auto; | |
| scrollbar-width: none; | |
| } | |
| .sheet-cell-view-toolbar::-webkit-scrollbar { | |
| display: none; | |
| } | |
| .cg-link-grid-head > .cg-icon-btn { | |
| order: 3; | |
| flex: 0 0 auto; | |
| margin-left: 4px; | |
| } | |
| .sheet-cell-view-modes { | |
| display: flex; | |
| flex: 0 0 auto; | |
| align-items: center; | |
| gap: 2px; | |
| padding: 2px; | |
| border: 1px solid var(--lp-line); | |
| border-radius: var(--lp-r-md); | |
| background: var(--lp-surface-2); | |
| } | |
| .sheet-cell-view-mode, | |
| .sheet-cell-view-action { | |
| display: inline-flex; | |
| flex: 0 0 auto; | |
| height: 28px; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 4px; | |
| border: 1px solid transparent; | |
| border-radius: var(--lp-r-sm); | |
| padding: 0 8px; | |
| background: transparent; | |
| color: var(--lp-muted); | |
| font: inherit; | |
| font-size: var(--lp-fs-2xs); | |
| line-height: 1; | |
| white-space: nowrap; | |
| cursor: pointer; | |
| transition: background-color 150ms ease-out, color 150ms ease-out, | |
| border-color 150ms ease-out, opacity 150ms ease-out; | |
| } | |
| .sheet-cell-view-action { | |
| color: var(--lp-text); | |
| } | |
| .sheet-cell-view-mode:hover:not(:disabled), | |
| .sheet-cell-view-action:hover:not(:disabled) { | |
| background: var(--lp-primary-tint); | |
| color: var(--lp-primary); | |
| } | |
| .sheet-cell-view-mode[data-active="true"] { | |
| border-color: var(--lp-line-strong); | |
| background: var(--lp-surface); | |
| color: var(--lp-primary); | |
| } | |
| .sheet-cell-view-mode:disabled, | |
| .sheet-cell-view-action:disabled { | |
| opacity: 0.42; | |
| cursor: not-allowed; | |
| } | |
| .sheet-cell-view-action > svg { | |
| width: 14px; | |
| height: 14px; | |
| fill: none; | |
| stroke: currentColor; | |
| stroke-width: 1.35; | |
| stroke-linecap: round; | |
| stroke-linejoin: round; | |
| } | |
| /* The linked-record component continues to own the drawer, focus trap and dismissals. Its body | |
| is replaced by the cell-local projection so Grid, List and Map share C6's visible-field law. */ | |
| .cg-link-grid-body.sheet-cell-view-custom > :not(.sheet-cell-view-surface) { | |
| display: none; | |
| } | |
| .sheet-cell-view-surface { | |
| position: relative; | |
| width: 100%; | |
| height: 100%; | |
| min-height: 0; | |
| overflow: auto; | |
| background: var(--lp-surface); | |
| color: var(--lp-text); | |
| animation: sheet-cell-view-enter 150ms ease-out; | |
| } | |
| @keyframes sheet-cell-view-enter { | |
| from { opacity: 0; transform: translateY(2px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| .sheet-cell-grid { | |
| min-width: max-content; | |
| width: 100%; | |
| } | |
| .sheet-cell-grid-head, | |
| .sheet-cell-grid-row { | |
| display: flex; | |
| min-width: 100%; | |
| border-bottom: 1px solid var(--lp-line); | |
| } | |
| .sheet-cell-grid-head { | |
| position: sticky; | |
| z-index: 1; | |
| top: 0; | |
| background: var(--lp-surface-2); | |
| color: var(--lp-muted); | |
| font-size: var(--lp-fs-3xs); | |
| font-weight: 600; | |
| } | |
| .sheet-cell-grid-head > span, | |
| .sheet-cell-grid-row > span { | |
| flex: 1 0 168px; | |
| min-width: 168px; | |
| max-width: 280px; | |
| padding: 8px 12px; | |
| overflow: hidden; | |
| border-right: 1px solid var(--lp-line); | |
| text-overflow: ellipsis; | |
| white-space: nowrap; | |
| } | |
| .sheet-cell-grid-row > span { | |
| min-height: calc(32px + 4px); | |
| font-size: var(--lp-fs-2xs); | |
| } | |
| .sheet-cell-grid-row > span.is-identity { | |
| color: var(--lp-ink); | |
| font-weight: 600; | |
| } | |
| .sheet-cell-grid-row:hover { | |
| background: var(--lp-wash); | |
| } | |
| .sheet-cell-list { | |
| display: grid; | |
| max-width: 920px; | |
| gap: 8px; | |
| margin: 0 auto; | |
| padding: 12px; | |
| } | |
| .sheet-cell-list-row { | |
| border: 1px solid var(--lp-line); | |
| border-radius: var(--lp-r-md); | |
| padding: 12px; | |
| background: var(--lp-surface); | |
| } | |
| .sheet-cell-list-row > h3 { | |
| margin: 0 0 8px; | |
| color: var(--lp-ink); | |
| font-size: var(--lp-fs-sm); | |
| font-weight: 600; | |
| } | |
| .sheet-cell-list-fields { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); | |
| gap: 8px 16px; | |
| } | |
| .sheet-cell-list-fields > span { | |
| display: grid; | |
| min-width: 0; | |
| gap: 2px; | |
| } | |
| .sheet-cell-list-fields small { | |
| color: var(--lp-muted); | |
| font-size: var(--lp-fs-4xs); | |
| font-weight: 500; | |
| } | |
| .sheet-cell-list-fields strong { | |
| overflow: hidden; | |
| color: var(--lp-text); | |
| font-size: var(--lp-fs-2xs); | |
| font-weight: 400; | |
| text-overflow: ellipsis; | |
| white-space: nowrap; | |
| } | |
| .sheet-cell-map { | |
| position: relative; | |
| width: 100%; | |
| height: 100%; | |
| min-height: 360px; | |
| overflow: hidden; | |
| background: var(--lp-blue-tint); | |
| } | |
| .sheet-cell-map-canvas { | |
| display: block; | |
| width: 100%; | |
| height: 100%; | |
| } | |
| .sheet-cell-map-water { | |
| fill: var(--lp-blue-tint); | |
| } | |
| .sheet-cell-map-land { | |
| fill: var(--lp-surface-2); | |
| stroke: var(--lp-line-strong); | |
| stroke-width: 1.2; | |
| vector-effect: non-scaling-stroke; | |
| } | |
| .sheet-cell-map-lake { | |
| fill: var(--lp-blue-tint); | |
| stroke: var(--lp-line); | |
| stroke-width: 0.8; | |
| vector-effect: non-scaling-stroke; | |
| } | |
| .sheet-cell-map-pin { | |
| fill: var(--lp-primary); | |
| stroke: var(--lp-surface); | |
| stroke-width: 1.5; | |
| vector-effect: non-scaling-stroke; | |
| } | |
| .sheet-cell-map-note, | |
| .sheet-cell-view-limit { | |
| position: absolute; | |
| left: 12px; | |
| bottom: 12px; | |
| padding: 6px 8px; | |
| border: 1px solid var(--lp-line); | |
| border-radius: var(--lp-r-pill); | |
| background: var(--lp-surface); | |
| color: var(--lp-muted); | |
| font-size: var(--lp-fs-3xs); | |
| } | |
| .sheet-cell-view-limit { | |
| right: 12px; | |
| left: auto; | |
| } | |
| .sheet-cell-view-empty { | |
| display: grid; | |
| min-height: 100%; | |
| place-items: center; | |
| padding: 24px; | |
| color: var(--lp-muted); | |
| font-size: var(--lp-fs-sm); | |
| text-align: center; | |
| } | |
| .sheet-cell-view-loading { | |
| display: grid; | |
| min-height: 100%; | |
| grid-template-rows: repeat(4, 32px); | |
| align-content: start; | |
| gap: 8px; | |
| padding: 16px; | |
| } | |
| .sheet-cell-view-loading > span { | |
| display: block; | |
| border-radius: var(--lp-r-sm); | |
| background: var(--lp-surface-2); | |
| opacity: 0.72; | |
| transition: opacity 150ms ease-out; | |
| } | |
| .sheet-cell-fields-pop, | |
| .sheet-cell-export-pop { | |
| border: 1px solid var(--lp-line); | |
| border-radius: var(--lp-r-md); | |
| background: var(--lp-surface); | |
| box-shadow: var(--shell-shadow-overlay); | |
| } | |
| .sheet-cell-fields-pop { | |
| width: 280px; | |
| max-height: min(420px, calc(100vh - 32px)); | |
| padding: 8px; | |
| } | |
| .sheet-cell-fields-title { | |
| padding: 4px 4px 8px; | |
| color: var(--lp-ink); | |
| font-size: var(--lp-fs-xs); | |
| font-weight: 600; | |
| } | |
| .sheet-cell-fields-list { | |
| max-height: 356px; | |
| overflow: auto; | |
| } | |
| .sheet-cell-field-choice { | |
| display: grid; | |
| min-height: 32px; | |
| grid-template-columns: 16px minmax(0, 1fr) auto; | |
| align-items: center; | |
| gap: 8px; | |
| border-radius: var(--lp-r-sm); | |
| padding: 4px 6px; | |
| font-size: var(--lp-fs-2xs); | |
| } | |
| .sheet-cell-field-choice:hover { | |
| background: var(--lp-wash); | |
| } | |
| .sheet-cell-field-choice > span { | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| white-space: nowrap; | |
| } | |
| .sheet-cell-field-choice > small { | |
| color: var(--lp-muted); | |
| font-size: var(--lp-fs-4xs); | |
| white-space: nowrap; | |
| } | |
| .sheet-cell-export-pop { | |
| display: grid; | |
| min-width: 144px; | |
| gap: 2px; | |
| padding: 6px; | |
| } | |
| .sheet-cell-export-choice { | |
| min-height: 32px; | |
| border: 0; | |
| border-radius: var(--lp-r-sm); | |
| padding: 0 10px; | |
| background: transparent; | |
| color: var(--lp-text); | |
| font: inherit; | |
| font-size: var(--lp-fs-2xs); | |
| text-align: left; | |
| cursor: pointer; | |
| } | |
| .sheet-cell-export-choice:hover, | |
| .sheet-cell-export-choice:focus-visible { | |
| background: var(--lp-primary-tint); | |
| color: var(--lp-primary); | |
| } | |
| @media (prefers-reduced-motion: reduce) { | |
| .sheet-cell-view-mode, | |
| .sheet-cell-view-action, | |
| .sheet-cell-view-surface, | |
| .sheet-cell-view-loading > span { | |
| transition: none; | |
| animation: none; | |
| } | |
| } | |