amelia: set stateful input color, fix #90
[bootswatch] / amelia / bootswatch.less
index d2db1c3..545ebd1 100755 (executable)
@@ -533,12 +533,28 @@ input, textarea, .search-query, .uneditable-input,
        border-top: 0px solid transparent;
 }
 
+.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 {