diff --git a/res/css/views/elements/_AccessibleButton.scss b/res/css/views/elements/_AccessibleButton.scss index 6595eff4c8..a87aab7af8 100644 --- a/res/css/views/elements/_AccessibleButton.scss +++ b/res/css/views/elements/_AccessibleButton.scss @@ -17,20 +17,20 @@ limitations under the License. .mx_AccessibleButton { cursor: pointer; - .mx_AccessibleButton_disabled { + &.mx_AccessibleButton_disabled { cursor: default; - .mx_AccessibleButton_kind_primary, - .mx_AccessibleButton_kind_primary_outline, - .mx_AccessibleButton_kind_primary_sm, - .mx_AccessibleButton_kind_link, - .mx_AccessibleButton_kind_link_inline, - .mx_AccessibleButton_kind_link_sm { + &.mx_AccessibleButton_kind_primary, + &.mx_AccessibleButton_kind_primary_outline, + &.mx_AccessibleButton_kind_primary_sm, + &.mx_AccessibleButton_kind_link, + &.mx_AccessibleButton_kind_link_inline, + &.mx_AccessibleButton_kind_link_sm { opacity: 0.4; } } - .mx_AccessibleButton_hasKind { + &.mx_AccessibleButton_hasKind { padding: 7px 18px; text-align: center; border-radius: 8px; @@ -40,27 +40,27 @@ limitations under the License. font-size: $font-14px; border: none; // override default