react-code-dataset / wp-calypso /client /my-sites /plugins /plugin-management-v2 /plugin-action-status /style.scss
react-code-dataset / wp-calypso /client /my-sites /plugins /plugin-management-v2 /plugin-action-status /style.scss
Download wp-calypso/client/my-sites/plugins/plugin-management-v2/plugin-action-status/style.scss from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 1.38 kB
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/my-sites/plugins/plugin-management-v2/plugin-action-status/style.scss
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/my-sites/plugins/plugin-management-v2/plugin-action-status/style.scss
-
curl -L -o style.scss https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/my-sites/plugins/plugin-management-v2/plugin-action-status/style.scss
1.38 kB
| @import "@wordpress/base-styles/breakpoints"; | |
| @import "@wordpress/base-styles/mixins"; | |
| .plugin-action-status-container { | |
| margin-left: 20px; | |
| white-space: pre; | |
| } | |
| .plugin-action-status { | |
| position: relative; | |
| height: 20px; | |
| padding: 2px 8px; | |
| border-radius: 2px; | |
| font-size: 0.75rem; | |
| width: fit-content; | |
| display: block; | |
| margin-block-start: 5px; | |
| &:not(:last-child) { | |
| margin-inline-end: 5px; | |
| } | |
| @include break-xlarge { | |
| display: inline; | |
| top: 1px; | |
| } | |
| } | |
| .plugin-action-status-inProgress { | |
| background: #b8e6bf; | |
| color: #00450c; | |
| /* reference busy state from https://github.com/WordPress/gutenberg/blob/trunk/packages/components/src/button/style.scss */ | |
| animation: plugin-action-status-inProgress__busy-animation 2500ms infinite linear; | |
| @media (prefers-reduced-motion: reduce) { | |
| animation-duration: 0s; | |
| } | |
| background-size: 100px 100%; | |
| background-image: linear-gradient( | |
| -45deg, | |
| darken( #b8e6bf, 2%) 33%, | |
| darken( #b8e6bf, 12%) 33%, | |
| darken( #b8e6bf, 12%) 70%, | |
| darken( #b8e6bf, 2%) 70% | |
| ); | |
| } | |
| @keyframes plugin-action-status-inProgress__busy-animation { | |
| 0% { | |
| background-position: 200px 0; | |
| } | |
| } | |
| .plugin-action-status-up-to-date { | |
| background: #f6f7f7; | |
| color: #50575e; | |
| } | |
| .plugin-action-status-completed { | |
| background: #b8e6bf; | |
| color: #00450c; | |
| } | |
| .plugin-action-status-error, | |
| .plugin-action-status-incompleted { | |
| background: #facfd2; | |
| color: #691c1c; | |
| } | |