Download web/src/ui/codeInput.css from fsanyoto/loopable: direct link, hf CLI and curl.
- Browser
- Download file 1.82 kB
-
https://huggingface.co/spaces/fsanyoto/loopable/resolve/623acbc433f972703d46dcda190a3d39c4064fa7/web/src/ui/codeInput.css
- Command line
-
hf download hf://spaces/fsanyoto/loopable@623acbc433f972703d46dcda190a3d39c4064fa7/web/src/ui/codeInput.css
-
curl -L -o codeInput.css https://huggingface.co/spaces/fsanyoto/loopable/resolve/623acbc433f972703d46dcda190a3d39c4064fa7/web/src/ui/codeInput.css
1.82 kB
| .code-input { | |
| position: relative; | |
| display: grid; | |
| grid-template-columns: repeat(6, minmax(0, 1fr)); | |
| gap: calc(var(--lp-home-grid-gap) / 2); | |
| width: 100%; | |
| height: var(--lp-login-control-height); | |
| transition: opacity var(--lp-motion-feedback-duration) var(--lp-motion-feedback-easing); | |
| } | |
| .code-input-box { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| min-width: 0; | |
| height: 100%; | |
| box-sizing: border-box; | |
| border: var(--lp-hairline-width) solid var(--lp-line); | |
| border-radius: var(--lp-r-sm); | |
| background: var(--lp-surface); | |
| color: var(--lp-ink); | |
| font: inherit; | |
| font-size: var(--lp-fs-md); | |
| font-weight: var(--lp-fw-semibold); | |
| line-height: var(--lp-lh-tight); | |
| font-variant-numeric: tabular-nums; | |
| pointer-events: none; | |
| } | |
| .code-input-box[data-active] { | |
| border-color: var(--lp-primary); | |
| } | |
| .code-input:focus-within .code-input-box[data-active] { | |
| outline: calc(var(--lp-hairline-width) * 2) solid var(--lp-primary); | |
| outline-offset: var(--lp-hairline-width); | |
| } | |
| .code-input[data-invalid] .code-input-box { | |
| border-color: var(--lp-red-deep); | |
| outline: var(--lp-hairline-width) solid var(--lp-red-deep); | |
| } | |
| .code-input[data-invalid]:focus-within .code-input-box[data-active] { | |
| outline-width: calc(var(--lp-hairline-width) * 2); | |
| } | |
| .code-input-field { | |
| position: absolute; | |
| inset: 0; | |
| width: 100%; | |
| height: 100%; | |
| box-sizing: border-box; | |
| margin: 0; | |
| padding: 0; | |
| border: 0; | |
| outline: none; | |
| background: transparent; | |
| color: transparent; | |
| caret-color: transparent; | |
| opacity: 0; | |
| font: inherit; | |
| cursor: text; | |
| } | |
| .code-input[data-disabled] { | |
| opacity: var(--lp-home-disabled-opacity); | |
| cursor: not-allowed; | |
| } | |
| .code-input-field:disabled { | |
| cursor: not-allowed; | |
| } | |
| @media (prefers-reduced-motion: reduce) { | |
| .code-input { transition: none; } | |
| } | |