Parcourir la source

Merge pull request #1717 from ProLoser/patch-1

Fixes styling in bootstrap environment
Igor Vaynberg il y a 11 ans
Parent
commit
057cf7e71b
1 fichiers modifiés avec 27 ajouts et 0 suppressions
  1. 27 0
      select2-bootstrap.css

+ 27 - 0
select2-bootstrap.css

@@ -0,0 +1,27 @@
+.form-control .select2-choice {
+    border: 0;
+    border-radius: 2px;
+}
+
+.form-control .select2-choice .select2-arrow {
+    border-radius: 0 2px 2px 0;   
+}
+
+.form-control.select2-container {
+    height: auto !important;
+    padding: 0px;
+}
+
+.form-control.select2-container.select2-dropdown-open {
+    border-color: #5897FB;
+    border-radius: 3px 3px 0 0;
+}
+
+.form-control .select2-container.select2-dropdown-open .select2-choices {
+    border-radius: 3px 3px 0 0;
+}
+
+.form-control.select2-container .select2-choices {
+    border: 0 !important;
+    border-radius: 3px;
+}