0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01:00

Add disabled bg color to disabled custom file

This commit is contained in:
ysds 2018-05-11 13:35:28 +09:00 committed by XhmikosR
parent 4dd65f0b38
commit 2ea0a9bba9
2 changed files with 5 additions and 0 deletions

View File

@ -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;

View File

@ -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;