try and get ctrl-enter to add a clear all
[roojs1] / less / roojs-bootstrap / money-field.less
index 2fa52ac..4f5fd91 100644 (file)
         text-align: right;
     }
     
-    .has-success .roo-money-currency .input-group-addon {
-        border-color: @border-color;
-        .box-shadow(inset 0 1px 1px rgba(0,0,0,.075));
-        &:focus {
-          border-color: darken(@border-color, 10%);
-          @shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@border-color, 20%);
-          .box-shadow(@shadow);
-        }
-    }
-    
+}
+
+.has-success .roo-money-currency .roo-select2-container .input-group-addon {
+    border-color: @state-success-text;
+    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.2), 0 0 2px @state-success-text;
+}
+
+.has-warning .roo-money-currency .roo-select2-container .input-group-addon {
+    border-color: @state-warning-text;
+    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.2), 0 0 2px @state-warning-text;
+}
+
+.has-error .roo-money-currency .roo-select2-container .input-group-addon {
+    border-color: @state-danger-text;
+    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.2), 0 0 2px @state-danger-text;
 }
\ No newline at end of file