less/roojs-bootstrap/money-field.less
[roojs1] / less / roojs-bootstrap / money-field.less
index d534793..4f5fd91 100644 (file)
@@ -9,14 +9,36 @@
         padding-left: 0px;
     }
     
-    .roo-money-amount-input {
+    .roo-money-currency-input {
         border-right: 0px;
     }
     
     .input-group-addon {
         background-color: transparent;
         border-left: 0px;
-        border-right: 0px
+        border-right: 0px;
+        border-radius: 0px;
+    }
+    
+    .roo-money-amount-input {
+        border-top-left-radius: 0px;
+        border-bottom-left-radius: 0px;
+        text-align: right;
     }
     
+}
+
+.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