fix(button): avoid using attribute selectors for disabled (#17198)

This commit is contained in:
Manu MA
2019-01-22 14:23:30 +01:00
committed by GitHub
parent 8e8e2fd23d
commit 3defbf3a8f
2 changed files with 11 additions and 12 deletions

View File

@ -109,12 +109,6 @@
box-sizing: border-box;
}
.button-native[disabled] {
cursor: default;
opacity: .5;
pointer-events: none;
}
::slotted(ion-icon) {
line-height: 1;
}
@ -157,6 +151,12 @@
pointer-events: none;
}
:host(.fab-button-disabled) .button-native {
cursor: default;
opacity: .5;
pointer-events: none;
}
// FAB Content
// --------------------------------------------------