Merge pull request #3696 from Shidersz/fix_default_btn_disabled_style

Fix disabled style for some buttons.
This commit is contained in:
REJack 2021-06-12 18:56:34 +02:00 committed by GitHub
commit bea0e5aa8f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 2 deletions

View file

@ -53,6 +53,12 @@
background-color: darken($button-default-background-color, 5%);
color: darken($button-default-color, 10%);
}
&.disabled,
&:disabled {
color: $button-default-color;
background-color: $button-default-background-color;
}
}
.btn-outline-light {

View file

@ -37,8 +37,6 @@
color: color-yiq($color);
&.btn {
&.disabled,
&:disabled,
&:not(:disabled):not(.disabled):active,
&:not(:disabled):not(.disabled).active,
.show > &.dropdown-toggle {
@ -59,6 +57,13 @@
border-color: darken($color, 12.5%);
color: color-yiq(darken($color, 10%));
}
&:disabled,
&.disabled {
background-image: none !important;
border-color: $color;
color: color-yiq($color);
}
}
}
}