Download packages/ui/src/components/progress.css from SaylorTwift/opencode: direct link, hf CLI and curl.
- Browser
- Download file 1.4 kB
-
https://huggingface.co/SaylorTwift/opencode/resolve/eb1202c08d0fcc3e89b18b16bcc802e692e97016/packages/ui/src/components/progress.css
- Command line
-
hf download hf://SaylorTwift/opencode@eb1202c08d0fcc3e89b18b16bcc802e692e97016/packages/ui/src/components/progress.css
-
curl -L -o progress.css https://huggingface.co/SaylorTwift/opencode/resolve/eb1202c08d0fcc3e89b18b16bcc802e692e97016/packages/ui/src/components/progress.css
1.4 kB
| [data-component="progress"] { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 4px; | |
| [data-slot="progress-header"] { | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| gap: 8px; | |
| } | |
| [data-slot="progress-label"], | |
| [data-slot="progress-value-label"] { | |
| font-family: var(--font-family-sans); | |
| font-size: var(--font-size-small); | |
| font-weight: var(--font-weight-regular); | |
| line-height: var(--line-height-large); | |
| letter-spacing: var(--letter-spacing-normal); | |
| } | |
| [data-slot="progress-label"] { | |
| color: var(--text-base); | |
| } | |
| [data-slot="progress-value-label"] { | |
| color: var(--text-weak); | |
| font-variant-numeric: tabular-nums; | |
| } | |
| [data-slot="progress-track"] { | |
| position: relative; | |
| width: 100%; | |
| height: 8px; | |
| overflow: hidden; | |
| border-radius: 999px; | |
| border: 1px solid var(--border-weak-base); | |
| background-color: var(--surface-base); | |
| } | |
| [data-slot="progress-fill"] { | |
| height: 100%; | |
| width: var(--kb-progress-fill-width); | |
| border-radius: inherit; | |
| background-color: var(--border-active); | |
| transition: width 200ms ease; | |
| } | |
| &[data-indeterminate] [data-slot="progress-fill"] { | |
| width: 35%; | |
| animation: progress-indeterminate 1.3s ease-in-out infinite; | |
| } | |
| } | |
| @keyframes progress-indeterminate { | |
| from { | |
| transform: translateX(-100%); | |
| } | |
| to { | |
| transform: translateX(300%); | |
| } | |
| } | |