mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 05:04:57 +08:00
Fix broken buttons (#8133)
This commit is contained in:
parent
f92fcb7945
commit
64871c057b
@ -20,7 +20,6 @@ limitations under the License.
|
||||
.mx_AccessibleButton_disabled {
|
||||
cursor: default;
|
||||
|
||||
&.mx_AccessibleButton_kind {
|
||||
.mx_AccessibleButton_kind_primary,
|
||||
.mx_AccessibleButton_kind_primary_outline,
|
||||
.mx_AccessibleButton_kind_primary_sm,
|
||||
@ -30,7 +29,6 @@ limitations under the License.
|
||||
opacity: 0.4;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.mx_AccessibleButton_hasKind {
|
||||
padding: 7px 18px;
|
||||
@ -42,7 +40,6 @@ limitations under the License.
|
||||
font-size: $font-14px;
|
||||
border: none; // override default <button /> styles
|
||||
|
||||
&.mx_AccessibleButton_kind {
|
||||
.mx_AccessibleButton_kind_primary_sm,
|
||||
.mx_AccessibleButton_kind_danger_sm,
|
||||
.mx_AccessibleButton_kind_link_sm {
|
||||
@ -79,9 +76,7 @@ limitations under the License.
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.mx_AccessibleButton_kind {
|
||||
.mx_AccessibleButton_kind_primary,
|
||||
.mx_AccessibleButton_kind_primary_outline,
|
||||
.mx_AccessibleButton_kind_secondary {
|
||||
@ -133,18 +128,17 @@ limitations under the License.
|
||||
background-color: $button-danger-disabled-bg-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.mx_AccessibleButton_kind_link {
|
||||
color: $accent;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.mx_AccessibleButton_kind_link_inline {
|
||||
color: $accent;
|
||||
font-size: inherit;
|
||||
padding: 0 2px;
|
||||
}
|
||||
}
|
||||
|
||||
.mx_AccessibleButton_kind_confirm_sm,
|
||||
.mx_AccessibleButton_kind_cancel_sm {
|
||||
|
Loading…
Reference in New Issue
Block a user