diff options
| author | Mark Otto <[email protected]> | 2012-01-24 16:54:35 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-01-24 16:54:35 -0800 |
| commit | 40e92221a616bfe4e9500bcf2b72c86844f7f03f (patch) | |
| tree | 24b0c52f43d40b9f9b0b8c5509f36d7110beaac6 /lib/forms.less | |
| parent | c2312220e4e1da3939c9fa79e97d79f693058ea2 (diff) | |
| download | bootstrap-40e92221a616bfe4e9500bcf2b72c86844f7f03f.tar.xz bootstrap-40e92221a616bfe4e9500bcf2b72c86844f7f03f.zip | |
revamp alert message and error state color/text/bg to be variables
Diffstat (limited to 'lib/forms.less')
| -rw-r--r-- | lib/forms.less | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/forms.less b/lib/forms.less index 1f424abaa..2b24fb2f0 100644 --- a/lib/forms.less +++ b/lib/forms.less @@ -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 |
