Download web/src/components/shell/rail.css from EnergyVenom/patch-testing-coworker: direct link, hf CLI and curl.
- Browser
- Download file 3.17 kB
-
https://huggingface.co/spaces/EnergyVenom/patch-testing-coworker/resolve/main/web/src/components/shell/rail.css
- Command line
-
hf download hf://spaces/EnergyVenom/patch-testing-coworker/web/src/components/shell/rail.css
-
curl -L -o rail.css https://huggingface.co/spaces/EnergyVenom/patch-testing-coworker/resolve/main/web/src/components/shell/rail.css
3.17 kB
| /* The icon rail (IconRail.tsx): the app's navigation on a desktop. 64px wide, icons named on hover, the active page as | |
| a filled square, the waiting count as a badge, warnings and the account at the bottom. Tokens only. */ | |
| .pw-rail-aside { position: relative; z-index: 5; width: 64px; flex: 0 0 64px; display: flex; min-height: 0; background: var(--bg-elev); box-shadow: inset -1px 0 0 var(--sep); } | |
| .pw-rail { display: flex; flex-direction: column; align-items: center; width: 100%; height: 100%; padding: var(--sp-3) 0; box-sizing: border-box; gap: var(--sp-1); } | |
| .pw-rail-brand { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: var(--sp-3); border-radius: var(--r-md); } | |
| .pw-rail-brand:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; } | |
| .pw-rail-nav { display: flex; flex-direction: column; align-items: center; gap: var(--sp-1); flex: 1 1 auto; min-height: 0; overflow-y: auto; scrollbar-width: none; } | |
| .pw-rail-slot[data-gap] { margin-top: var(--sp-2); padding-top: var(--sp-2); border-top: 1px solid var(--sep); } | |
| .pw-rail-item { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; color: var(--label-3); | |
| text-decoration: none; transition: background var(--d1), color var(--d1); } | |
| .pw-rail-item svg { width: 19px; height: 19px; } | |
| .pw-rail-item:hover { background: var(--fill); color: var(--label); text-decoration: none; } | |
| .pw-rail-item[data-active='true'] { background: var(--fill-2); color: var(--label); } | |
| .pw-rail-item:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; } | |
| .pw-rail-badge { position: absolute; top: 4px; right: 3px; min-width: 16px; height: 16px; padding: 0 4px; box-sizing: border-box; border-radius: 8px; | |
| background: var(--orange-dot); color: #1d1400; font-size: 10px; font-weight: 800; line-height: 16px; text-align: center; font-family: var(--font); } | |
| .pw-rail-foot { display: flex; flex-direction: column; align-items: center; gap: var(--sp-2); padding-top: var(--sp-2); } | |
| .pw-rail-warn { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; } | |
| .pw-rail-warn[data-tone='red'] { background: var(--red-soft); color: var(--red); } | |
| .pw-rail-warn[data-tone='orange'] { background: var(--orange-soft); color: var(--orange); } | |
| /* the account button as the avatar alone */ | |
| .pw-rail .fpt-me[data-compact] { width: 40px; height: 40px; padding: 0; justify-content: center; border: 0; background: transparent; border-radius: 50%; } | |
| .pw-rail .fpt-me[data-compact]:hover { background: var(--fill); } | |
| /* the environment switcher in the top bar: a compact pill instead of the sidebar's card */ | |
| html body .pw-topbar .fpt-env.pw-topbar-env { width: auto; max-width: 320px; margin: 0; padding: 4px 10px 4px 6px; gap: 8px; border-radius: var(--r-md); | |
| background: transparent; box-shadow: inset 0 0 0 1px var(--sep); } | |
| html body .pw-topbar .fpt-env.pw-topbar-env:hover { background: var(--fill); } | |
| html body .pw-topbar .fpt-env.pw-topbar-env .fpt-env-tile { width: 24px; height: 24px; } | |
| html body .pw-topbar .fpt-env.pw-topbar-env .fpt-env-label { line-height: 14px; } | |