Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit 88fb288

Browse files
committed
Update dist
1 parent 55a3f7a commit 88fb288

File tree

2 files changed

+302
-125
lines changed

2 files changed

+302
-125
lines changed

dist/select.css

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
font-weight: bold;
44
}
55

6+
7+
/* Select2 theme */
8+
9+
10+
/* Selectize theme */
11+
612
/* Fix input width for Selectize theme */
713
.selectize-control > .selectize-input > input {
814
width: 100%;
@@ -12,3 +18,40 @@
1218
.selectize-control > .selectize-dropdown {
1319
width: 100%;
1420
}
21+
22+
23+
/* Bootstrap theme */
24+
25+
/* Fix Bootstrap dropdown position when inside a input-group */
26+
.input-group > .ui-select-bootstrap.dropdown {
27+
/* Instead of relative */
28+
position: static;
29+
}
30+
31+
.input-group > .ui-select-bootstrap > input.ui-select-search.form-control {
32+
border-radius: 4px; /* FIXME hardcoded value :-/ */
33+
border-top-right-radius: 0;
34+
border-bottom-right-radius: 0;
35+
}
36+
37+
.ui-select-bootstrap > .ui-select-match {
38+
/* Instead of center because of .btn */
39+
text-align: left;
40+
}
41+
42+
.ui-select-bootstrap > .ui-select-match > .caret {
43+
top: 45%;
44+
position: absolute;
45+
right: 17px;
46+
}
47+
48+
.ui-select-bootstrap > .ui-select-choices {
49+
width: 100%;
50+
}
51+
52+
/* See Scrollable Menu with Bootstrap 3 http://stackoverflow.com/questions/19227496 */
53+
.ui-select-bootstrap > .ui-select-choices {
54+
height: auto;
55+
max-height: 200px;
56+
overflow-x: hidden;
57+
}

0 commit comments

Comments
 (0)