Download wp-calypso/client/components/forms/form-radio/style.scss from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 816 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/components/forms/form-radio/style.scss
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/components/forms/form-radio/style.scss
-
curl -L -o style.scss https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/components/forms/form-radio/style.scss
816 Bytes
| @import "@automattic/typography/styles/variables"; | |
| // stylelint-disable-next-line scss/load-no-partial-leading-underscore | |
| @import "calypso/assets/stylesheets/shared/_extends-forms"; | |
| .form-radio { | |
| @extend %form-field; | |
| clear: none; | |
| cursor: pointer; | |
| height: 16px; | |
| margin: 2px 0 0; | |
| float: left; | |
| outline: 0; | |
| padding: 0; | |
| text-align: center; | |
| width: 16px; | |
| min-width: 16px; | |
| appearance: none; | |
| border-radius: 50%; | |
| margin-right: 4px; | |
| line-height: 10px; | |
| &:checked::before { | |
| float: left; | |
| content: "\2022"; | |
| margin: 3px; | |
| width: 8px; | |
| height: 8px; | |
| text-indent: -9999px; | |
| background: var(--color-primary); | |
| border-radius: 50%; | |
| animation: grow 0.2s ease-in-out; | |
| } | |
| &:disabled:checked::before { | |
| background: var(--color-neutral-0); | |
| } | |
| } | |
| .form-radio__label { | |
| display: block; | |
| margin-left: 24px; | |
| } | |