mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Fix disabled floating labels color
This commit is contained in:
parent
baedc38758
commit
ca68922986
3 changed files with 16 additions and 11 deletions
|
@ -30,7 +30,7 @@
|
|||
},
|
||||
{
|
||||
"path": "./dist/css/bootstrap.min.css",
|
||||
"maxSize": "27.5 kB"
|
||||
"maxSize": "27.75 kB"
|
||||
},
|
||||
{
|
||||
"path": "./dist/js/bootstrap.bundle.js",
|
||||
|
|
|
@ -1005,6 +1005,7 @@ $form-floating-input-padding-b: .625rem !default;
|
|||
$form-floating-label-height: 1.875em !default;
|
||||
$form-floating-label-opacity: .65 !default;
|
||||
$form-floating-label-transform: scale(.85) translateY(-.5rem) translateX(.15rem) !default;
|
||||
$form-floating-label-disabled-color: $gray-600 !default;
|
||||
$form-floating-transition: opacity .1s ease-in-out, transform .1s ease-in-out !default;
|
||||
// scss-docs-end form-floating-variables
|
||||
|
||||
|
|
|
@ -83,4 +83,8 @@
|
|||
border-width: $input-border-width 0; // Required to properly position label text - as explained above
|
||||
}
|
||||
}
|
||||
|
||||
> .form-control:disabled ~ label {
|
||||
color: $form-floating-label-disabled-color;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue