mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-04-27 07:24:43 +00:00
Move hardcoded opacity value in .btn:disabled to variable $btn-disabled-opacity (#24680)
This commit is contained in:
parent
1524837af2
commit
e2c15da967
2 changed files with 2 additions and 1 deletions
|
|
@ -28,7 +28,7 @@
|
|||
// Disabled comes first so active can properly restyle
|
||||
&.disabled,
|
||||
&:disabled {
|
||||
opacity: .65;
|
||||
opacity: $btn-disabled-opacity;
|
||||
@include box-shadow(none);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -357,6 +357,7 @@ $btn-font-weight: $font-weight-normal !default;
|
|||
$btn-box-shadow: inset 0 1px 0 rgba($white, .15), 0 1px 1px rgba($black, .075) !default;
|
||||
$btn-focus-width: $input-btn-focus-width !default;
|
||||
$btn-focus-box-shadow: $input-btn-focus-box-shadow !default;
|
||||
$btn-disabled-opacity: .65 !default;
|
||||
$btn-active-box-shadow: inset 0 3px 5px rgba($black, .125) !default;
|
||||
|
||||
$btn-link-disabled-color: $gray-600 !default;
|
||||
|
|
|
|||
Loading…
Reference in a new issue