Download wp-calypso/client/devdocs/design/playground.scss from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 1.36 kB
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/devdocs/design/playground.scss
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/devdocs/design/playground.scss
-
curl -L -o playground.scss https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/devdocs/design/playground.scss
1.36 kB
| //Playground | |
| .react-live { | |
| .prism-code { | |
| background: #000; | |
| box-sizing: border-box; | |
| color: #eaeaea; | |
| font-size: $font-body; | |
| line-height: 1.4; | |
| margin: 0; | |
| padding: 24px; | |
| } | |
| } | |
| .design__playground { | |
| margin: -24px; | |
| @include breakpoint-deprecated( ">960px" ) { | |
| margin: -32px; | |
| } | |
| } | |
| .design__editor { | |
| background: #000; | |
| } | |
| .design__error { | |
| background: rgba(0, 0, 0, 0.5); | |
| box-sizing: border-box; | |
| color: var(--color-error); | |
| position: sticky; | |
| top: 0; | |
| } | |
| .react-live-error, | |
| .design__preview { | |
| padding: 24px; | |
| @include breakpoint-deprecated( ">960px" ) { | |
| padding: 32px; | |
| } | |
| } | |
| .design__preview { | |
| position: relative; | |
| @include breakpoint-deprecated( ">960px" ) { | |
| position: static; | |
| } | |
| } | |
| @include breakpoint-deprecated( ">960px" ) { | |
| .design__playground { | |
| display: flex; | |
| height: calc(100vh - 47px); | |
| } | |
| .design__editor, | |
| .design__preview { | |
| width: 50%; | |
| overflow: scroll; | |
| } | |
| } | |
| .design__component-playground-code { | |
| max-height: 100px; | |
| overflow: hidden; | |
| position: relative; | |
| &.show-code { | |
| max-height: none; | |
| } | |
| } | |
| .design__component-playground-clipboard { | |
| padding: 0; | |
| position: absolute; | |
| right: 10px; | |
| top: 10px; | |
| } | |
| .design__component-playground-show-code { | |
| margin-top: 1em; | |
| text-align: center; | |
| } | |
| .design__playground-examples { | |
| margin-bottom: 1em; | |
| text-align: right; | |
| .select-dropdown__container { | |
| text-align: left; | |
| } | |
| } | |