Download wp-calypso/client/components/forms/form-checkbox/style.scss from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 743 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/components/forms/form-checkbox/style.scss
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/components/forms/form-checkbox/style.scss
-
curl -L -o style.scss https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/components/forms/form-checkbox/style.scss
743 Bytes
| @import "@automattic/typography/styles/variables"; | |
| @import "../../../assets/stylesheets/shared/extends-forms"; | |
| .form-checkbox { | |
| @extend %form-field !optional; | |
| clear: none; | |
| cursor: pointer; | |
| display: inline-block; | |
| line-height: 0; | |
| height: 16px; | |
| margin: 2px 0 0; | |
| float: left; | |
| outline: 0; | |
| padding: 0; | |
| text-align: center; | |
| vertical-align: middle; | |
| width: 16px; | |
| min-width: 16px; | |
| appearance: none; | |
| border-radius: 2px; | |
| &:checked::before { | |
| content: url(calypso/assets/images/checkbox-icons/checkmark-primary.svg); | |
| width: 12px; | |
| height: 12px; | |
| margin: 1px auto; | |
| display: inline-block; | |
| speak: none; | |
| } | |
| &:disabled:checked::before { | |
| color: var(--color-neutral-20); | |
| } | |
| & + span { | |
| display: block; | |
| margin-left: 24px; | |
| } | |
| } | |