Download wp-calypso/client/components/forms/form-text-input/style.scss from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 1.18 kB
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/components/forms/form-text-input/style.scss
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/components/forms/form-text-input/style.scss
-
curl -L -o style.scss https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/components/forms/form-text-input/style.scss
1.18 kB
| @import "@automattic/typography/styles/variables"; | |
| @import "../../../assets/stylesheets/shared/extends-forms"; | |
| .form-text-input { | |
| @at-root { | |
| input[type='text']#{&}, | |
| input[type='url']#{&}, | |
| input[type='password']#{&}, | |
| input[type='email']#{&}, | |
| input[type='tel']#{&}, | |
| input[type='number']#{&}, | |
| input[type='search']#{&} { | |
| @extend %form-field; | |
| } | |
| input[type='url']#{&}, | |
| input[type='password']#{&}, | |
| input[type='email']#{&} { | |
| text-align: left; | |
| /*!rtl:ignore*/ | |
| direction: ltr; | |
| } | |
| input[type='url']#{&}, | |
| input[type='search']#{&} { | |
| appearance: none; | |
| } | |
| input[type='search']#{&}::-webkit-search-decoration { | |
| // We don't use the native results="" UI | |
| // Ensures the input text is flush to the start of the element, as in regular text inputs | |
| // See, for example, http://geek.michaelgrace.org/2011/06/webkit-search-input-styling/ | |
| display: none; | |
| } | |
| } | |
| } | |
| .form-text-input-core-styles { | |
| @at-root { | |
| input[type='text']#{&}, | |
| input[type='url']#{&}, | |
| input[type='password']#{&}, | |
| input[type='email']#{&}, | |
| input[type='tel']#{&}, | |
| input[type='number']#{&}, | |
| input[type='search']#{&} { | |
| @extend %form-field-core-styles; | |
| } | |
| } | |
| } | |