Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Download web/src/styles/sdlc80/icon-tile.css from fsanyoto/runloopable: direct link, hf CLI and curl.
- Browser
- Download file 2.74 kB
-
https://huggingface.co/spaces/fsanyoto/runloopable/resolve/main/web/src/styles/sdlc80/icon-tile.css
- Command line
-
hf download hf://spaces/fsanyoto/runloopable/web/src/styles/sdlc80/icon-tile.css
-
curl -L -o icon-tile.css https://huggingface.co/spaces/fsanyoto/runloopable/resolve/main/web/src/styles/sdlc80/icon-tile.css
2.74 kB
| :root { | |
| --lp-icon-tile-home-size: 26px; | |
| --lp-icon-tile-home-card-size: 40px; | |
| --lp-icon-tile-starred-size: var(--lp-icon-tile-home-size); | |
| --lp-icon-tile-rail-size: 26px; | |
| --lp-icon-tile-template-size: var(--lp-icon-tile-home-card-size); | |
| --lp-icon-tile-radius: var(--lp-r-md); | |
| --lp-icon-tile-label-gap: 6px; | |
| } | |
| .lp-icon-tile--home { | |
| --lp-icon-tile-size: var(--lp-icon-tile-home-size); | |
| } | |
| .lp-icon-tile--home-card { | |
| --lp-icon-tile-size: var(--lp-icon-tile-home-card-size); | |
| } | |
| .lp-icon-tile--starred { | |
| --lp-icon-tile-size: var(--lp-icon-tile-starred-size); | |
| } | |
| .lp-icon-tile--rail { | |
| --lp-icon-tile-size: var(--lp-icon-tile-rail-size); | |
| } | |
| .lp-icon-tile--template { | |
| --lp-icon-tile-size: var(--lp-icon-tile-template-size); | |
| } | |
| /* The frame owns its dimensions; the fill prop decides the background. | |
| Both selectors weigh two classes, so the frame beats `.shell-db-chip` and `.home-app-glyph`. */ | |
| .lp-icon-tile:not(.shell-db-chip), | |
| .lp-icon-tile.shell-db-chip { | |
| display: inline-flex; | |
| align-items: center; | |
| justify-content: center; | |
| flex: 0 0 auto; | |
| box-sizing: border-box; | |
| width: var(--lp-icon-tile-size); | |
| height: var(--lp-icon-tile-size); | |
| border-radius: var(--lp-icon-tile-radius); | |
| font-size: var(--lp-fs-2xs); | |
| font-weight: 600; | |
| line-height: 1; | |
| } | |
| /* Grid folder rules must not fill object glyphs inside the shared frame. */ | |
| .lp-icon-tile.shell-db-chip .cg-folder-mark path { | |
| fill: none; | |
| stroke: currentColor; | |
| } | |
| /* A rail glyph dims to 0.55. On the tinted app chip it stays at full ink. */ | |
| .lp-icon-tile.home-app-glyph .shell-nav-icon { | |
| opacity: 1; | |
| } | |
| .cg-fold-toggle > .lp-icon-tile { | |
| flex: none; | |
| } | |
| .cg-fold-toggle > .lp-source-mark, | |
| .lp-icon-tile > .lp-source-mark { | |
| display: inline-flex; | |
| flex: none; | |
| align-items: center; | |
| } | |
| /* The row gap matches .home-tile; the stacked card's 4px gap is too tight beside a tile. */ | |
| .shell-home .home-card { | |
| flex-direction: row; | |
| align-items: center; | |
| column-gap: calc(var(--lp-panel-inset) * 1.5); | |
| } | |
| .home-card > .home-card-head { | |
| flex-direction: column; | |
| align-items: flex-start; | |
| gap: calc(var(--lp-panel-inset) / 2); | |
| min-width: 0; | |
| } | |
| /* Only a filled tile repaints card glyphs. An unfilled one keeps the card's primary stroke. */ | |
| .home-card .lp-icon-tile.shell-db-chip :is(.home-card-icon, .home-app-icon, .shell-nav-icon) { | |
| color: inherit; | |
| opacity: 1; | |
| } | |
| /* Stroke glyphs inherit tile ink; Phosphor keeps its filled path model. */ | |
| .home-card .lp-icon-tile.shell-db-chip :is(.home-card-icon, .home-app-icon, .shell-nav-icon:not(.is-glyph)) { | |
| stroke: currentColor; | |
| } | |
| /* Phosphor keeps its filled path model on every tile, filled or not. */ | |
| .home-card .lp-icon-tile .shell-nav-icon.is-glyph { | |
| fill: currentColor; | |
| stroke: none; | |
| } | |