mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-25 08:50:22 +00:00
Add disabled bg color to disabled custom file
This commit is contained in:
parent
4dd65f0b38
commit
2ea0a9bba9
2 changed files with 5 additions and 0 deletions
|
|
@ -257,6 +257,10 @@
|
|||
}
|
||||
}
|
||||
|
||||
&:disabled ~ .custom-file-label {
|
||||
background-color: $custom-file-disabled-bg;
|
||||
}
|
||||
|
||||
@each $lang, $value in $custom-file-text {
|
||||
&:lang(#{$lang}) ~ .custom-file-label::after {
|
||||
content: $value;
|
||||
|
|
|
|||
|
|
@ -531,6 +531,7 @@ $custom-file-height: $input-height !default;
|
|||
$custom-file-height-inner: $input-height-inner !default;
|
||||
$custom-file-focus-border-color: $input-focus-border-color !default;
|
||||
$custom-file-focus-box-shadow: $input-btn-focus-box-shadow !default;
|
||||
$custom-file-disabled-bg: $input-disabled-bg !default;
|
||||
|
||||
$custom-file-padding-y: $input-btn-padding-y !default;
|
||||
$custom-file-padding-x: $input-btn-padding-x !default;
|
||||
|
|
|
|||
Loading…
Reference in a new issue