/
githubmirror
/
docusaurus
Обзор
Документация
Войти
/
githubmirror
/
docusaurus
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
packages/docusaurus-theme-live-codeblock/src/theme/Playground/Buttons/ResetButton/styles.module.css
36 строк
843 B
Neel Bansal
feat(theme-live-codeblock): reset button + wire `position` prop (#11675)
19 фев 2026, 19:41
Не верифицирован
19 фев 2026, 19:41
49619fd
Код
Авторство
О чём код?
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ .resetButton { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.25rem 0.5rem; font-size: 0.875rem; line-height: 1.5; border: 1px solid var(--ifm-color-emphasis-300); border-radius: var(--ifm-global-radius); background: var(--ifm-button-background-color); color: var(--ifm-font-color-base); cursor: pointer; transition: all var(--ifm-transition-fast); } .resetButton:hover { background: var(--ifm-color-emphasis-200); border-color: var(--ifm-color-emphasis-400); } .resetButton:active { background: var(--ifm-color-emphasis-300); } .resetButtonIcon { width: 1rem; height: 1rem; flex-shrink: 0; }