diff options
author | Thomas Park <thomas@thomaspark.me> | 2013-03-29 13:21:49 -0400 |
---|---|---|
committer | Thomas Park <thomas@thomaspark.me> | 2013-03-29 13:21:49 -0400 |
commit | 2cb76ffc4df6a364b71efd0fc393ee55d1f8c63b (patch) | |
tree | 573875b9e1061b97ada9fe6cce405d254b293a62 /amelia/bootswatch.less | |
parent | fd3915f080947a04f25e8a45ff03a92f7db9131d (diff) |
amelia: set stateful input color, fix #90
Diffstat (limited to 'amelia/bootswatch.less')
-rwxr-xr-x | amelia/bootswatch.less | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/amelia/bootswatch.less b/amelia/bootswatch.less index d2db1c3e..545ebd1a 100755 --- a/amelia/bootswatch.less +++ b/amelia/bootswatch.less @@ -534,11 +534,27 @@ input, textarea, .search-query, .uneditable-input, } .control-group.warning { + .formFieldState(@yellow, lighten(@yellow, 30%), @warningBackground); +} + +.control-group.error { + .formFieldState(@orange, lighten(@orange, 30%), @errorBackground); +} + +.control-group.success { + .formFieldState(@green, lighten(@green, 20%), @successBackground); +} + +.control-group.info { + .formFieldState(@purple, lighten(@purple, 20%), @infoBackground); +} + +.control-group.warning { .control-label, .help-block, .help-inline { - color: lighten(@orange, 30%); + color: lighten(@yellow, 30%); } } @@ -547,7 +563,7 @@ input, textarea, .search-query, .uneditable-input, .control-label, .help-block, .help-inline { - color: lighten(@linkColor, 10%); + color: lighten(@orange, 30%); } } @@ -559,6 +575,14 @@ input, textarea, .search-query, .uneditable-input, color: lighten(@green, 20%); } } +.control-group.info { + + .control-label, + .help-block, + .help-inline { + color: lighten(@purple, 20%); + } +} .input-prepend .add-on, .input-append .add-on { |