diff --git a/assets/css/src/generic/_buttons.scss b/assets/css/src/generic/_buttons.scss index 306b3c8001..ebeb4c66ba 100644 --- a/assets/css/src/generic/_buttons.scss +++ b/assets/css/src/generic/_buttons.scss @@ -127,8 +127,15 @@ } } +.mailpoet-button-disabled { + opacity: .4; + pointer-events: none; + touch-action: none; +} + .mailpoet-button-with-spinner { pointer-events: none; + touch-action: none; &:after { background: rgba($color-secondary, .8) no-repeat center; diff --git a/assets/js/src/common/button/_stories/button.tsx b/assets/js/src/common/button/_stories/button.tsx index ebdffb8c53..5f65412e3a 100644 --- a/assets/js/src/common/button/_stories/button.tsx +++ b/assets/js/src/common/button/_stories/button.tsx @@ -122,6 +122,45 @@ export const WithoutIcons = () => (


+ Disabled buttons +

+ + + + + +

+
+ Buttons with spinner

+ + + +

+
+ Buttons with spinner