mirror of
https://github.com/jasny/bootstrap.git
synced 2026-02-03 10:34:57 -05:00
revamp alert message and error state color/text/bg to be variables
This commit is contained in:
@@ -295,17 +295,17 @@ textarea[readonly] {
|
||||
border-color: @textColor;
|
||||
}
|
||||
}
|
||||
// Error
|
||||
.control-group.error {
|
||||
.formFieldState(#b94a48, #ee5f5b, lighten(#ee5f5b, 30%));
|
||||
}
|
||||
// Warning
|
||||
.control-group.warning {
|
||||
.formFieldState(#c09853, #ccae64, lighten(#CCAE64, 5%));
|
||||
.formFieldState(@warningText, @warningBorder, @warningBackground);
|
||||
}
|
||||
// Error
|
||||
.control-group.error {
|
||||
.formFieldState(@errorText, @errorBorder, @errorBackground);
|
||||
}
|
||||
// Success
|
||||
.control-group.success {
|
||||
.formFieldState(#468847, #57a957, lighten(#57a957, 30%));
|
||||
.formFieldState(@successText, @successBorder, @successBackground);
|
||||
}
|
||||
|
||||
// HTML5 invalid states
|
||||
|
||||
Reference in New Issue
Block a user