2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-15 11:59:39 +03:00

Add input-disabled-color Sass variable

This commit is contained in:
Mark Otto
2022-04-12 13:42:38 -07:00
committed by Mark Otto
parent 54e0af0303
commit 544cf8df48
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -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;
+1
View File
@@ -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.