react-code-dataset / wp-calypso /packages /global-styles /src /components /_search-control-styles.scss
react-code-dataset / wp-calypso /packages /global-styles /src /components /_search-control-styles.scss
Download wp-calypso/packages/global-styles/src/components/_search-control-styles.scss from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 707 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/packages/global-styles/src/components/_search-control-styles.scss
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/packages/global-styles/src/components/_search-control-styles.scss
-
curl -L -o _search-control-styles.scss https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/packages/global-styles/src/components/_search-control-styles.scss
707 Bytes
| /** | |
| * WP.com styles for @wordpress/components search control component | |
| * You can use this mixin to apply the WP.com styles to the search control component | |
| * Usage: | |
| * @import "@automattic/global-styles/src/components/search-control-styles"; | |
| * @include search-control-wpcom-styles; | |
| */ | |
| @mixin search-control-wpcom-styles { | |
| .components-search-control { | |
| min-width: 250px; | |
| .components-input-control__container { | |
| background: var(--studio-white); | |
| border-radius: 4px; | |
| input { | |
| font-size: 0.875rem; | |
| } | |
| .components-input-control__suffix svg { | |
| fill: var(--studio-gray-30); | |
| } | |
| .components-input-control__backdrop { | |
| box-shadow: 0 0 0 1px var(--studio-gray-10); | |
| } | |
| } | |
| } | |
| } | |