Download wp-calypso/client/components/forms/form-currency-input/style.scss from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 769 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/components/forms/form-currency-input/style.scss
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/components/forms/form-currency-input/style.scss
-
curl -L -o style.scss https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/components/forms/form-currency-input/style.scss
769 Bytes
| input[type="number"].form-currency-input { | |
| -webkit-appearance: none; | |
| border-radius: 0 2px 2px 0; | |
| } | |
| .form-currency-input__affix { | |
| display: flex; | |
| align-items: center; | |
| } | |
| .form-currency-input__select-icon { | |
| color: var(--color-neutral-light); | |
| margin-left: 6px; | |
| align-self: center; | |
| } | |
| .form-text-input-with-affixes__prefix, | |
| .form-text-input-with-affixes__suffix { | |
| display: flex; | |
| &:hover .form-currency-input__select-icon { | |
| color: var(--color-neutral-50); | |
| } | |
| &:focus-within { | |
| z-index: 2; | |
| border: 1px solid var(--color-primary); | |
| box-shadow: 0 0 0 2px var(--color-primary-10); | |
| } | |
| } | |
| .form-currency-input__select { | |
| position: absolute; | |
| top: 0; | |
| bottom: 0; | |
| left: 0; | |
| right: 0; | |
| width: 100%; | |
| padding: 0; | |
| border: 0; | |
| background-image: none; | |
| opacity: 0; | |
| } | |