/
githubmirror
/
components
Обзор
Документация
Войти
/
githubmirror
/
components
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/material/core/style/_button-common.scss
17 строк
561 B
Kristiyan Kostadinov
feat(material/core): migrate to the Sass module system (#21204)
22 фев 2021, 21:44
Не верифицирован
22 фев 2021, 21:44
53e98b1
Код
Авторство
О чём код?
@use './vendor-prefixes'; // Mixin overriding default button styles like the gray background, the border, and the outline. @mixin reset { @include vendor-prefixes.user-select(none); cursor: pointer; outline: none; border: none; -webkit-tap-highlight-color: transparent; // The `outline: none` from above works on all browsers, however Firefox also // adds a special `focus-inner` which we have to disable explicitly. See: // https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#Firefox &::-moz-focus-inner { border: 0; } }