From ca102c4d3623c9cf5121d7f69f463d62ddd3095c Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Mon, 24 Apr 2023 08:21:24 +0000 Subject: [PATCH] Remove some obsolete button styles from `_common.pcss` (#10548) * Remove obsolete style rules - `mx_linkButton` The block was added with fbab8ceeef0d4e313d58a774915452718ed475bf for CreateKeyBackupDialog.js. It has been replaced with AccessibleButton element (see: onSkipPassPhraseClick on L283 and changeText on L314-316). The last function which had used mx_linkButton (_onOptOutClick) has been removed. Signed-off-by: Suguru Hirahara * Remove obsolete style rules - `mx_textButton` mx_textButton has been replaced with AccessibleButton (with kind="link"). There is also not an element which uses the class. Signed-off-by: Suguru Hirahara --------- Signed-off-by: Suguru Hirahara --- res/css/_common.pcss | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/res/css/_common.pcss b/res/css/_common.pcss index dae1f8c601..d847381077 100644 --- a/res/css/_common.pcss +++ b/res/css/_common.pcss @@ -657,11 +657,6 @@ legend { margin: auto; } -.mx_linkButton { - cursor: pointer; - color: $accent; -} - .mx_TextInputDialog_label { text-align: left; padding-bottom: 12px; @@ -676,16 +671,6 @@ legend { background-color: $background; } -@define-mixin mx_DialogButton_small { - @mixin mx_DialogButton; - font-size: $font-15px; - padding: 0px 1.5em 0px 1.5em; -} - -.mx_textButton { - @mixin mx_DialogButton_small; -} - .mx_button_row { margin-top: 69px; }