/
githubmirror
/
gutenberg
Обзор
Документация
Войти
/
githubmirror
/
gutenberg
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
trunk
packages/components/src/spinner/style.module.scss
39 строк
593 B
Eshaan Dabasiya
Components: Migrate Spinner styles from Emotion to SCSS module (#80511)
07 авг 2026, 16:26
Не верифицирован
07 авг 2026, 16:26
91b373e
Код
Авторство
О чём код?
@use "../utils/theme-variables" as *; .spinner { width: 16px; height: 16px; display: inline-block; margin: 5px 11px 0; position: relative; color: $components-color-accent; overflow: visible; opacity: 1; background-color: transparent; } .track, .indicator { fill: transparent; stroke-width: 1.5px; } .track { stroke: $components-color-gray-300; } .indicator { stroke: currentColor; stroke-linecap: round; transform-origin: 50% 50%; animation: spin 1.4s linear infinite both; } @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }