mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Add input-disabled-color Sass variable
This commit is contained in:
parent
54e0af0303
commit
544cf8df48
2 changed files with 2 additions and 0 deletions
|
@ -822,6 +822,7 @@ $input-padding-x-lg: $input-btn-padding-x-lg !default;
|
|||
$input-font-size-lg: $input-btn-font-size-lg !default;
|
||||
|
||||
$input-bg: $body-bg !default;
|
||||
$input-disabled-color: null !default;
|
||||
$input-disabled-bg: $gray-200 !default;
|
||||
$input-disabled-border-color: null !default;
|
||||
|
||||
|
|
|
@ -66,6 +66,7 @@
|
|||
// don't honor that edge case; we style them as disabled anyway.
|
||||
&:disabled,
|
||||
&[readonly] {
|
||||
color: $input-disabled-color;
|
||||
background-color: $input-disabled-bg;
|
||||
border-color: $input-disabled-border-color;
|
||||
// iOS fix for unreadable disabled content; see https://github.com/twbs/bootstrap/issues/11655.
|
||||
|
|
Loading…
Reference in a new issue