diff --git a/res/css/structures/_SpaceHierarchy.scss b/res/css/structures/_SpaceHierarchy.scss index cdcd0164de..6b71818558 100644 --- a/res/css/structures/_SpaceHierarchy.scss +++ b/res/css/structures/_SpaceHierarchy.scss @@ -16,7 +16,6 @@ limitations under the License. .mx_SpaceRoomView_landing { .mx_AccessibleButton_kind_link { - padding: 0; font-size: inherit; } diff --git a/res/css/structures/_ToastContainer.scss b/res/css/structures/_ToastContainer.scss index e4fe3c1e66..5137aed95a 100644 --- a/res/css/structures/_ToastContainer.scss +++ b/res/css/structures/_ToastContainer.scss @@ -159,7 +159,6 @@ limitations under the License. .mx_AccessibleButton_kind_link { font-size: inherit; - padding: 0; } a { diff --git a/res/css/structures/_UserMenu.scss b/res/css/structures/_UserMenu.scss index aa4e7d6403..351d938995 100644 --- a/res/css/structures/_UserMenu.scss +++ b/res/css/structures/_UserMenu.scss @@ -146,7 +146,6 @@ limitations under the License. .mx_AccessibleButton_kind_link { font-weight: normal; font-size: inherit; - padding: 0; } } } diff --git a/res/css/structures/auth/_Login.scss b/res/css/structures/auth/_Login.scss index 2290b6a345..0e6912e435 100644 --- a/res/css/structures/auth/_Login.scss +++ b/res/css/structures/auth/_Login.scss @@ -90,7 +90,6 @@ div.mx_AccessibleButton_kind_link.mx_Login_forgot { margin: 0 auto; // style it as a link font-size: inherit; - padding: 0; &.mx_AccessibleButton_disabled { cursor: not-allowed; diff --git a/res/css/views/dialogs/_AddExistingToSpaceDialog.scss b/res/css/views/dialogs/_AddExistingToSpaceDialog.scss index 5d53a99661..f82a29c546 100644 --- a/res/css/views/dialogs/_AddExistingToSpaceDialog.scss +++ b/res/css/views/dialogs/_AddExistingToSpaceDialog.scss @@ -54,7 +54,6 @@ limitations under the License. font-size: $font-12px; line-height: $font-15px; margin-top: 8px; - padding: 0; } } @@ -136,10 +135,6 @@ limitations under the License. left: 0; } } - - .mx_AccessibleButton_kind_link { - padding: 0; - } } } diff --git a/res/css/views/dialogs/_BugReportDialog.scss b/res/css/views/dialogs/_BugReportDialog.scss index 1920ac33ea..348d9ebb99 100644 --- a/res/css/views/dialogs/_BugReportDialog.scss +++ b/res/css/views/dialogs/_BugReportDialog.scss @@ -17,7 +17,7 @@ limitations under the License. .mx_BugReportDialog { .mx_BugReportDialog_download { .mx_AccessibleButton_kind_link { - padding-left: 0; + margin-right: 18px; // Space between "Downloading logs..." } } } diff --git a/res/css/views/dialogs/_CreateSubspaceDialog.scss b/res/css/views/dialogs/_CreateSubspaceDialog.scss index 1ed10df35c..bcce6def89 100644 --- a/res/css/views/dialogs/_CreateSubspaceDialog.scss +++ b/res/css/views/dialogs/_CreateSubspaceDialog.scss @@ -73,9 +73,5 @@ limitations under the License. margin-left: 16px; padding: 8px 36px; } - - .mx_AccessibleButton_kind_link { - padding: 0; - } } } diff --git a/res/css/views/dialogs/_FeedbackDialog.scss b/res/css/views/dialogs/_FeedbackDialog.scss index 9e4cf5e8aa..588f65eb65 100644 --- a/res/css/views/dialogs/_FeedbackDialog.scss +++ b/res/css/views/dialogs/_FeedbackDialog.scss @@ -59,7 +59,6 @@ limitations under the License. } .mx_AccessibleButton_kind_link { - padding: 0; font-size: inherit; } diff --git a/res/css/views/dialogs/_GenericFeatureFeedbackDialog.scss b/res/css/views/dialogs/_GenericFeatureFeedbackDialog.scss index ab7496249d..3898e09756 100644 --- a/res/css/views/dialogs/_GenericFeatureFeedbackDialog.scss +++ b/res/css/views/dialogs/_GenericFeatureFeedbackDialog.scss @@ -23,7 +23,6 @@ limitations under the License. } .mx_AccessibleButton_kind_link { - padding: 0; font-size: inherit; line-height: inherit; } diff --git a/res/css/views/dialogs/_InviteDialog.scss b/res/css/views/dialogs/_InviteDialog.scss index af64862992..debef30083 100644 --- a/res/css/views/dialogs/_InviteDialog.scss +++ b/res/css/views/dialogs/_InviteDialog.scss @@ -96,6 +96,11 @@ limitations under the License. > span { color: $primary-content; } + + .mx_InviteDialog_section_showMore { + margin: 7px 18px; + display: inline; + } } .mx_InviteDialog_section_hidden_suggestions_disclaimer { diff --git a/res/css/views/dialogs/_SpaceSettingsDialog.scss b/res/css/views/dialogs/_SpaceSettingsDialog.scss index 8f064f6b38..31a544d166 100644 --- a/res/css/views/dialogs/_SpaceSettingsDialog.scss +++ b/res/css/views/dialogs/_SpaceSettingsDialog.scss @@ -76,11 +76,12 @@ limitations under the License. } .mx_AccessibleButton_hasKind { - padding: 8px 22px; + &.mx_AccessibleButton_kind_link { + margin: 7px 18px; - &.mx_SettingsTab_showAdvanced { - margin: 16px 0; - padding: 0; + &.mx_SettingsTab_showAdvanced { + margin: 18px 0; + } } } diff --git a/res/css/views/elements/_AccessibleButton.scss b/res/css/views/elements/_AccessibleButton.scss index bf5440d682..a411d9c6e0 100644 --- a/res/css/views/elements/_AccessibleButton.scss +++ b/res/css/views/elements/_AccessibleButton.scss @@ -16,152 +16,158 @@ limitations under the License. .mx_AccessibleButton { cursor: pointer; -} -.mx_AccessibleButton_disabled { - cursor: default; -} + &_disabled { + cursor: default; -.mx_AccessibleButton_hasKind { - padding: 7px 18px; - text-align: center; - border-radius: 8px; - display: inline-flex; - align-items: center; - justify-content: center; - font-size: $font-14px; - border: none; // override default