fix(button): disable :hover on non supported devices (#15705)

This commit is contained in:
Juan Miguel
2018-09-24 20:57:19 +02:00
committed by Manu MA
parent f68c457c06
commit 67eb661537
4 changed files with 23 additions and 12 deletions

View File

@ -26,9 +26,10 @@
// iOS Solid Button
// --------------------------------------------------
:host(.button-solid:hover) {
--opacity: #{$button-ios-opacity-hover};
@media (any-hover: hover) {
:host(.button-solid:hover) {
--opacity: #{$button-ios-opacity-hover};
}
}
:host(.button-solid.activated) {
@ -55,9 +56,10 @@
// iOS Clear Button
// --------------------------------------------------
:host(.button-clear:hover) {
--opacity: #{$button-ios-clear-opacity-hover};
@media (any-hover: hover) {
:host(.button-clear:hover) {
--opacity: #{$button-ios-clear-opacity-hover};
}
}
:host(.button-clear.activated) {