mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-26 23:54:23 +01:00
Disabled buttons get colored error fixed
This commit is contained in:
parent
7c392498fa
commit
ba14b77237
@ -117,8 +117,11 @@
|
|||||||
background-color: var(--#{$prefix}btn-disabled-bg);
|
background-color: var(--#{$prefix}btn-disabled-bg);
|
||||||
background-image: if($enable-gradients, none, null);
|
background-image: if($enable-gradients, none, null);
|
||||||
border-color: var(--#{$prefix}btn-disabled-border-color);
|
border-color: var(--#{$prefix}btn-disabled-border-color);
|
||||||
opacity: var(--#{$prefix}btn-disabled-opacity);
|
opacity: 1; // Set opacity to 1 to avoid blending with background
|
||||||
@include box-shadow(none);
|
@include box-shadow(none);
|
||||||
|
|
||||||
|
// Apply a solid background color for disabled buttons to avoid blending issues
|
||||||
|
background-color: var(--#{$prefix}btn-disabled-solid-bg, var(--#{$prefix}btn-disabled-bg));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user