1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-29 16:19:53 +02:00

Revamp custom form styles

- Less nesting with more specific classes
- New class names for most elements to avoid unnecessary and potentially confusing shorthand
- Require new class and markup for the description (though it's only necessary for disable states, it's now part of the entire component's markup for all states just in case)
- Change up colors and variables for regular and disabled states
This commit is contained in:
Mark Otto
2016-01-05 23:25:42 -08:00
parent 871a003ca2
commit 11df78ec74
2 changed files with 50 additions and 61 deletions

View File

@@ -322,9 +322,9 @@ $input-group-addon-border-color: $input-border-color !default;
$cursor-disabled: not-allowed !default;
$custom-form-bg-color: #d1d1d1 !default;
$custom-form-bg-color-disabled: #e2e2e2 !default;
$custom-form-label-color-disabled: #c3c3c3 !default;
$custom-form-bg-color: #ddd !default;
$custom-form-bg-color-disabled: #eee !default;
$custom-form-description-color-disabled: #767676 !default;
// Form validation icons