diff --git a/core/src/components/button/button.scss b/core/src/components/button/button.scss index 1f7bc23d0b..9ca426ba73 100644 --- a/core/src/components/button/button.scss +++ b/core/src/components/button/button.scss @@ -63,12 +63,12 @@ } :host(.button-disabled) { + --opacity: .5; pointer-events: none; } :host(.button-disabled) .button-native { cursor: default; - opacity: .5; pointer-events: none; } diff --git a/core/src/components/button/test/basic/index.html b/core/src/components/button/test/basic/index.html index 4ad9f443e3..1fb5ecdbab 100644 --- a/core/src/components/button/test/basic/index.html +++ b/core/src/components/button/test/basic/index.html @@ -81,9 +81,14 @@ Dark.activated

+

+ Opacity: 0.2 +

+

Button Disabled Secondary Disabled + Disabled opacity: 1