Download wp-calypso/client/blocks/get-apps/apps-badge.scss from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 587 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/blocks/get-apps/apps-badge.scss
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/blocks/get-apps/apps-badge.scss
-
curl -L -o apps-badge.scss https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/blocks/get-apps/apps-badge.scss
587 Bytes
| .get-apps__app-badge { | |
| display: flex; | |
| max-width: 135px; | |
| max-height: 40px; | |
| margin-left: 0.5rem; | |
| // Set overflow: hidden here instead of the parent node so that its focus outline is not cut-off. | |
| > a { | |
| overflow: hidden; | |
| &:focus-visible { | |
| box-shadow: 0 0 0 2px var(--color-primary); | |
| } | |
| } | |
| &:first-child { | |
| margin-left: 0; | |
| } | |
| // Crops the Android badge in order to remove the transparent space around it and generate a size-equivalent image | |
| // to the iOS badge. | |
| &.android-app-badge img { | |
| transform: scale(1.13) translate(-7px, -5.1px); | |
| transform-origin: left; | |
| } | |
| } | |