css-bootstrap/select2.css
authorEdward <edward@roojs.com>
Fri, 8 May 2015 09:50:20 +0000 (17:50 +0800)
committerEdward <edward@roojs.com>
Fri, 8 May 2015 09:50:20 +0000 (17:50 +0800)
css-bootstrap/select2.css

index af9b745..21e9f4b 100644 (file)
@@ -441,12 +441,10 @@ disabled look for disabled choices in the results dropdown
     height: 1%;
     margin: 0;
     padding: 0;
-    position: relative;
-
+    /*position: relative;*/
     border: 1px solid #aaa;
     cursor: text;
     overflow: hidden;
-
     background-color: #fff;
     background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(1%, #eee), color-stop(15%, #fff));
     background-image: -webkit-linear-gradient(top, #eee 1%, #fff 15%);
@@ -644,3 +642,9 @@ html[dir="rtl"] .select2-search-choice-close {
         background-position: 100% -21px !important;
     }
 }
+
+.has-error .select2-choices {
+    border-color: #a94442;
+    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
+    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
+}
\ No newline at end of file