/
githubmirror
/
ionic
Обзор
Документация
Войти
/
githubmirror
/
ionic
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
core/src/components/datetime-button/datetime-button.scss
51 строка
837 B
Liam DeBeasi
feat: add high contrast themes (#29010)
13 фев 2024, 20:20
Не верифицирован
13 фев 2024, 20:20
ca61e50
Код
Авторство
О чём код?
@import "../../themes/ionic.globals"; // Datetime Button // -------------------------------------------------- :host { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; } :host button { @include border-radius(8px); @include margin(0px, 2px, 0px, 2px); position: relative; transition: 150ms color ease-in-out; border: none; background: var(--ion-color-step-300, var(--ion-background-color-step-300, #edeef0)); color: $text-color; font-family: inherit; font-size: dynamic-font(16px); cursor: pointer; overflow: hidden; appearance: none; } :host(.time-active) #time-button, :host(.date-active) #date-button { color: current-color(base); } :host(.datetime-button-disabled) { pointer-events: none; } :host(.datetime-button-disabled) button { opacity: 0.4; }