Revert "less/roojs-bootstrap/alert.less"
[roojs1] / less / roojs-bootstrap / money-field.less
diff --git a/less/roojs-bootstrap/money-field.less b/less/roojs-bootstrap/money-field.less
new file mode 100644 (file)
index 0000000..4f5fd91
--- /dev/null
@@ -0,0 +1,44 @@
+
+.roo-money-field {
+    
+    .roo-money-currency {
+        padding-right: 0px;
+    }
+    
+    .roo-money-amount {
+        padding-left: 0px;
+    }
+    
+    .roo-money-currency-input {
+        border-right: 0px;
+    }
+    
+    .input-group-addon {
+        background-color: transparent;
+        border-left: 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