select2-rails 3.5.11 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +1 -1
- data/Rakefile +1 -2
- data/lib/select2-rails/engine.rb +0 -4
- data/lib/select2-rails/source_file.rb +6 -19
- data/lib/select2-rails/version.rb +1 -1
- data/select2-rails.gemspec +2 -2
- data/vendor/assets/javascripts/select2.js +4854 -3180
- data/vendor/assets/javascripts/select2_locale_az.js +2 -19
- data/vendor/assets/javascripts/select2_locale_bg.js +2 -19
- data/vendor/assets/javascripts/select2_locale_ca.js +2 -18
- data/vendor/assets/javascripts/select2_locale_cs.js +2 -50
- data/vendor/assets/javascripts/select2_locale_da.js +2 -18
- data/vendor/assets/javascripts/select2_locale_de.js +2 -17
- data/vendor/assets/javascripts/select2_locale_en.js +3 -0
- data/vendor/assets/javascripts/select2_locale_es.js +2 -18
- data/vendor/assets/javascripts/select2_locale_et.js +2 -18
- data/vendor/assets/javascripts/select2_locale_eu.js +2 -44
- data/vendor/assets/javascripts/select2_locale_fa.js +2 -20
- data/vendor/assets/javascripts/select2_locale_fi.js +2 -29
- data/vendor/assets/javascripts/select2_locale_fr.js +2 -17
- data/vendor/assets/javascripts/select2_locale_gl.js +2 -44
- data/vendor/assets/javascripts/select2_locale_he.js +2 -18
- data/vendor/assets/javascripts/select2_locale_hi.js +3 -0
- data/vendor/assets/javascripts/select2_locale_hr.js +2 -23
- data/vendor/assets/javascripts/select2_locale_hu.js +2 -16
- data/vendor/assets/javascripts/select2_locale_id.js +2 -20
- data/vendor/assets/javascripts/select2_locale_is.js +2 -16
- data/vendor/assets/javascripts/select2_locale_it.js +2 -16
- data/vendor/assets/javascripts/select2_locale_ko.js +2 -18
- data/vendor/assets/javascripts/select2_locale_lt.js +2 -25
- data/vendor/assets/javascripts/select2_locale_lv.js +2 -18
- data/vendor/assets/javascripts/select2_locale_mk.js +2 -18
- data/vendor/assets/javascripts/select2_locale_nb.js +2 -21
- data/vendor/assets/javascripts/select2_locale_nl.js +2 -16
- data/vendor/assets/javascripts/select2_locale_pl.js +2 -53
- data/vendor/assets/javascripts/select2_locale_pt-BR.js +2 -17
- data/vendor/assets/javascripts/select2_locale_pt.js +3 -0
- data/vendor/assets/javascripts/select2_locale_ro.js +2 -16
- data/vendor/assets/javascripts/select2_locale_ru.js +2 -22
- data/vendor/assets/javascripts/select2_locale_sk.js +2 -49
- data/vendor/assets/javascripts/select2_locale_sr.js +3 -0
- data/vendor/assets/javascripts/select2_locale_sv.js +2 -18
- data/vendor/assets/javascripts/select2_locale_th.js +2 -18
- data/vendor/assets/javascripts/select2_locale_tr.js +2 -19
- data/vendor/assets/javascripts/select2_locale_uk.js +2 -24
- data/vendor/assets/javascripts/select2_locale_vi.js +2 -19
- data/vendor/assets/javascripts/select2_locale_zh-CN.js +2 -15
- data/vendor/assets/javascripts/select2_locale_zh-TW.js +2 -15
- data/vendor/assets/stylesheets/select2-bootstrap.css +542 -65
- data/vendor/assets/stylesheets/select2.css +431 -0
- metadata +15 -23
- data/vendor/assets/images/select2-spinner.gif +0 -0
- data/vendor/assets/images/select2.png +0 -0
- data/vendor/assets/images/select2x2.png +0 -0
- data/vendor/assets/javascripts/select2_locale_ar.js +0 -19
- data/vendor/assets/javascripts/select2_locale_el.js +0 -19
- data/vendor/assets/javascripts/select2_locale_ja.js +0 -17
- data/vendor/assets/javascripts/select2_locale_ka.js +0 -19
- data/vendor/assets/javascripts/select2_locale_ms.js +0 -21
- data/vendor/assets/javascripts/select2_locale_no.js +0 -20
- data/vendor/assets/javascripts/select2_locale_pt-PT.js +0 -17
- data/vendor/assets/javascripts/select2_locale_rs.js +0 -19
- data/vendor/assets/javascripts/select2_locale_ug-CN.js +0 -16
- data/vendor/assets/stylesheets/select2.scss +0 -692
@@ -1,19 +1,3 @@
|
|
1
|
-
|
2
|
-
* Select2 Thai translation.
|
3
|
-
*
|
4
|
-
* Author: Atsawin Chaowanakritsanakul <joke@nakhon.net>
|
5
|
-
*/
|
6
|
-
(function ($) {
|
7
|
-
"use strict";
|
1
|
+
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
8
2
|
|
9
|
-
|
10
|
-
formatNoMatches: function () { return "ไม่พบข้อมูล"; },
|
11
|
-
formatInputTooShort: function (input, min) { var n = min - input.length; return "โปรดพิมพ์เพิ่มอีก " + n + " ตัวอักษร"; },
|
12
|
-
formatInputTooLong: function (input, max) { var n = input.length - max; return "โปรดลบออก " + n + " ตัวอักษร"; },
|
13
|
-
formatSelectionTooBig: function (limit) { return "คุณสามารถเลือกได้ไม่เกิน " + limit + " รายการ"; },
|
14
|
-
formatLoadMore: function (pageNumber) { return "กำลังค้นข้อมูลเพิ่ม…"; },
|
15
|
-
formatSearching: function () { return "กำลังค้นข้อมูล…"; }
|
16
|
-
};
|
17
|
-
|
18
|
-
$.extend($.fn.select2.defaults, $.fn.select2.locales['th']);
|
19
|
-
})(jQuery);
|
3
|
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/th",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="โปรดลบออก "+t+" ตัวอักษร";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="โปรดพิมพ์เพิ่มอีก "+t+" ตัวอักษร";return n},loadingMore:function(){return"กำลังค้นข้อมูลเพิ่ม…"},maximumSelected:function(e){var t="คุณสามารถเลือกได้ไม่เกิน "+e.maximum+" รายการ";return t},noResults:function(){return"ม่พบข้อมูล"},searching:function(){return"กำลังค้นข้อมูล…"}}}),{define:e.define,require:e.require}})();
|
@@ -1,20 +1,3 @@
|
|
1
|
-
|
2
|
-
* Select2 Turkish translation.
|
3
|
-
*
|
4
|
-
* Author: Salim KAYABAŞI <salim.kayabasi@gmail.com>
|
5
|
-
*/
|
6
|
-
(function ($) {
|
7
|
-
"use strict";
|
1
|
+
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
8
2
|
|
9
|
-
|
10
|
-
formatMatches: function (matches) { if (matches === 1) { return "Sadece bir sonuç bulundu, seçmek için enter tuşuna basabilirsiniz."; } return matches + " sonuç bulundu, yukarı ve aşağı tuşları ile seçebilirsiniz."; },
|
11
|
-
formatNoMatches: function () { return "Sonuç bulunamadı"; },
|
12
|
-
formatInputTooShort: function (input, min) { var n = min - input.length; return "En az " + n + " karakter daha girmelisiniz"; },
|
13
|
-
formatInputTooLong: function (input, max) { var n = input.length - max; return n + " karakter azaltmalısınız"; },
|
14
|
-
formatSelectionTooBig: function (limit) { return "Sadece " + limit + " seçim yapabilirsiniz"; },
|
15
|
-
formatLoadMore: function (pageNumber) { return "Daha fazla…"; },
|
16
|
-
formatSearching: function () { return "Aranıyor…"; }
|
17
|
-
};
|
18
|
-
|
19
|
-
$.extend($.fn.select2.defaults, $.fn.select2.locales['tr']);
|
20
|
-
})(jQuery);
|
3
|
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/tr",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n=t+" karakter daha girmelisiniz";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="En az "+t+" karakter daha girmelisiniz";return n},loadingMore:function(){return"Daha fazla…"},maximumSelected:function(e){var t="Sadece "+e.maximum+" seçim yapabilirsiniz";return t},noResults:function(){return"Sonuç bulunamadı"},searching:function(){return"Aranıyor…"}}}),{define:e.define,require:e.require}})();
|
@@ -1,25 +1,3 @@
|
|
1
|
-
|
2
|
-
* Select2 Ukrainian translation.
|
3
|
-
*
|
4
|
-
* @author bigmihail <bigmihail@bigmir.net>
|
5
|
-
* @author Uriy Efremochkin <efremochkin@uriy.me>
|
6
|
-
*/
|
7
|
-
(function ($) {
|
8
|
-
"use strict";
|
1
|
+
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
9
2
|
|
10
|
-
|
11
|
-
formatMatches: function (matches) { return character(matches, "результат") + " знайдено, використовуйте клавіші зі стрілками вверх та вниз для навігації."; },
|
12
|
-
formatNoMatches: function () { return "Нічого не знайдено"; },
|
13
|
-
formatInputTooShort: function (input, min) { return "Введіть буль ласка ще " + character(min - input.length, "символ"); },
|
14
|
-
formatInputTooLong: function (input, max) { return "Введіть буль ласка на " + character(input.length - max, "символ") + " менше"; },
|
15
|
-
formatSelectionTooBig: function (limit) { return "Ви можете вибрати лише " + character(limit, "елемент"); },
|
16
|
-
formatLoadMore: function (pageNumber) { return "Завантаження даних…"; },
|
17
|
-
formatSearching: function () { return "Пошук…"; }
|
18
|
-
};
|
19
|
-
|
20
|
-
$.extend($.fn.select2.defaults, $.fn.select2.locales['uk']);
|
21
|
-
|
22
|
-
function character (n, word) {
|
23
|
-
return n + " " + word + (n%10 < 5 && n%10 > 0 && (n%100 < 5 || n%100 > 19) ? n%10 > 1 ? "и" : "" : "ів");
|
24
|
-
}
|
25
|
-
})(jQuery);
|
3
|
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/uk",[],function(){function e(e,t,n,r){return e%100>10&&e%100<15?r:e%10===1?t:e%10>1&&e%10<5?n:r}return{errorLoading:function(){return"Неможливо завантажити результати"},inputTooLong:function(t){var n=t.input.length-t.maximum;return"Будь ласка, видаліть "+n+" "+e(t.maximum,"літеру","літери","літер")},inputTooShort:function(e){var t=e.minimum-e.input.length;return"Будь ласка, введіть "+t+" або більше літер"},loadingMore:function(){return"Завантаження інших результатів…"},maximumSelected:function(t){return"Ви можете вибрати лише "+t.maximum+" "+e(t.maximum,"пункт","пункти","пунктів")},noResults:function(){return"Нічого не знайдено"},searching:function(){return"Пошук…"}}}),{define:e.define,require:e.require}})();
|
@@ -1,20 +1,3 @@
|
|
1
|
-
|
2
|
-
* Select2 Vietnamese translation.
|
3
|
-
*
|
4
|
-
* Author: Long Nguyen <olragon@gmail.com>, Nguyen Chien Cong
|
5
|
-
*/
|
6
|
-
(function ($) {
|
7
|
-
"use strict";
|
8
|
-
|
9
|
-
$.fn.select2.locales['vi'] = {
|
10
|
-
formatNoMatches: function () { return "Không tìm thấy kết quả"; },
|
11
|
-
formatInputTooShort: function (input, min) { var n = min - input.length; return "Vui lòng nhập nhiều hơn " + n + " ký tự"; },
|
12
|
-
formatInputTooLong: function (input, max) { var n = input.length - max; return "Vui lòng nhập ít hơn " + n + " ký tự"; },
|
13
|
-
formatSelectionTooBig: function (limit) { return "Chỉ có thể chọn được " + limit + " lựa chọn"; },
|
14
|
-
formatLoadMore: function (pageNumber) { return "Đang lấy thêm kết quả…"; },
|
15
|
-
formatSearching: function () { return "Đang tìm…"; }
|
16
|
-
};
|
17
|
-
|
18
|
-
$.extend($.fn.select2.defaults, $.fn.select2.locales['vi']);
|
19
|
-
})(jQuery);
|
1
|
+
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
20
2
|
|
3
|
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/vi",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Vui lòng nhập ít hơn "+t+" ký tự";return t!=1&&(n+="s"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Vui lòng nhập nhiều hơn "+t+' ký tự"';return n},loadingMore:function(){return"Đang lấy thêm kết quả…"},maximumSelected:function(e){var t="Chỉ có thể chọn được "+e.maximum+" lựa chọn";return t},noResults:function(){return"Không tìm thấy kết quả"},searching:function(){return"Đang tìm…"}}}),{define:e.define,require:e.require}})();
|
@@ -1,16 +1,3 @@
|
|
1
|
-
|
2
|
-
* Select2 Chinese translation
|
3
|
-
*/
|
4
|
-
(function ($) {
|
5
|
-
"use strict";
|
6
|
-
$.fn.select2.locales['zh-CN'] = {
|
7
|
-
formatNoMatches: function () { return "没有找到匹配项"; },
|
8
|
-
formatInputTooShort: function (input, min) { var n = min - input.length; return "请再输入" + n + "个字符";},
|
9
|
-
formatInputTooLong: function (input, max) { var n = input.length - max; return "请删掉" + n + "个字符";},
|
10
|
-
formatSelectionTooBig: function (limit) { return "你只能选择最多" + limit + "项"; },
|
11
|
-
formatLoadMore: function (pageNumber) { return "加载结果中…"; },
|
12
|
-
formatSearching: function () { return "搜索中…"; }
|
13
|
-
};
|
1
|
+
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
14
2
|
|
15
|
-
|
16
|
-
})(jQuery);
|
3
|
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/zh-CN",[],function(){return{errorLoading:function(){return"无法载入结果。"},inputTooLong:function(e){var t=e.input.length-e.maximum,n="请删除"+t+"个字符";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="请再输入至少"+t+"个字符";return n},loadingMore:function(){return"载入更多结果…"},maximumSelected:function(e){var t="最多只能选择"+e.maximum+"个项目";return t},noResults:function(){return"未找到结果"},searching:function(){return"搜索中…"}}}),{define:e.define,require:e.require}})();
|
@@ -1,16 +1,3 @@
|
|
1
|
-
|
2
|
-
* Select2 Traditional Chinese translation
|
3
|
-
*/
|
4
|
-
(function ($) {
|
5
|
-
"use strict";
|
6
|
-
$.fn.select2.locales['zh-TW'] = {
|
7
|
-
formatNoMatches: function () { return "沒有找到相符的項目"; },
|
8
|
-
formatInputTooShort: function (input, min) { var n = min - input.length; return "請再輸入" + n + "個字元";},
|
9
|
-
formatInputTooLong: function (input, max) { var n = input.length - max; return "請刪掉" + n + "個字元";},
|
10
|
-
formatSelectionTooBig: function (limit) { return "你只能選擇最多" + limit + "項"; },
|
11
|
-
formatLoadMore: function (pageNumber) { return "載入中…"; },
|
12
|
-
formatSearching: function () { return "搜尋中…"; }
|
13
|
-
};
|
1
|
+
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
14
2
|
|
15
|
-
|
16
|
-
})(jQuery);
|
3
|
+
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/zh-TW",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="請刪掉"+t+"個字元";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="請再輸入"+t+"個字元";return n},loadingMore:function(){return"載入中…"},maximumSelected:function(e){var t="你只能選擇最多"+e.maximum+"項";return t},noResults:function(){return"沒有找到相符的項目"},searching:function(){return"搜尋中…"}}}),{define:e.define,require:e.require}})();
|
@@ -1,87 +1,564 @@
|
|
1
|
-
.
|
2
|
-
|
3
|
-
|
1
|
+
/*! Select2 Bootstrap Theme v0.1.0-beta.3 | MIT License | github.com/fk/select2-bootstrap-theme */
|
2
|
+
.select2-container--bootstrap {
|
3
|
+
display: block;
|
4
|
+
/*------------------------------------*\
|
5
|
+
#COMMON STYLES
|
6
|
+
\*------------------------------------*/
|
7
|
+
/**
|
8
|
+
* Search field in the Select2 dropdown.
|
9
|
+
*/
|
10
|
+
/**
|
11
|
+
* No outline for all search fields - in the dropdown
|
12
|
+
* and inline in multi Select2s.
|
13
|
+
*/
|
14
|
+
/**
|
15
|
+
* Adjust Select2's choices hover and selected styles to match
|
16
|
+
* Bootstrap 3's default dropdown styles.
|
17
|
+
*
|
18
|
+
* @see http://getbootstrap.com/components/#dropdowns
|
19
|
+
*/
|
20
|
+
/**
|
21
|
+
* Address disabled Select2 styles.
|
22
|
+
*
|
23
|
+
* @see https://select2.github.io/examples.html#disabled
|
24
|
+
* @see http://getbootstrap.com/css/#forms-control-disabled
|
25
|
+
*/
|
26
|
+
/*------------------------------------*\
|
27
|
+
#DROPDOWN
|
28
|
+
\*------------------------------------*/
|
29
|
+
/**
|
30
|
+
* Dropdown border color and box-shadow.
|
31
|
+
*/
|
32
|
+
/**
|
33
|
+
* Limit the dropdown height.
|
34
|
+
*/
|
35
|
+
/*------------------------------------*\
|
36
|
+
#SINGLE SELECT2
|
37
|
+
\*------------------------------------*/
|
38
|
+
/*------------------------------------*\
|
39
|
+
#MULTIPLE SELECT2
|
40
|
+
\*------------------------------------*/
|
41
|
+
/**
|
42
|
+
* Address Bootstrap control sizing classes
|
43
|
+
*
|
44
|
+
* 1. Reset Bootstrap defaults.
|
45
|
+
* 2. Adjust the dropdown arrow button icon position.
|
46
|
+
*
|
47
|
+
* @see http://getbootstrap.com/css/#forms-control-sizes
|
48
|
+
*/
|
49
|
+
/* 1 */
|
50
|
+
/*------------------------------------*\
|
51
|
+
#RTL SUPPORT
|
52
|
+
\*------------------------------------*/
|
4
53
|
}
|
5
|
-
|
6
|
-
|
7
|
-
|
54
|
+
.select2-container--bootstrap .select2-selection {
|
55
|
+
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
56
|
+
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
57
|
+
background-color: #fff;
|
58
|
+
border: 1px solid #ccc;
|
59
|
+
border-radius: 4px;
|
60
|
+
color: #555555;
|
61
|
+
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
62
|
+
font-size: 14px;
|
63
|
+
outline: 0;
|
8
64
|
}
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
65
|
+
.select2-container--bootstrap .select2-search--dropdown .select2-search__field {
|
66
|
+
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
67
|
+
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
68
|
+
background-color: #fff;
|
69
|
+
border: 1px solid #ccc;
|
70
|
+
border-radius: 4px;
|
71
|
+
color: #555555;
|
72
|
+
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
73
|
+
font-size: 14px;
|
13
74
|
}
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
75
|
+
.select2-container--bootstrap .select2-search__field {
|
76
|
+
outline: 0;
|
77
|
+
/* Firefox 18- */
|
78
|
+
/**
|
79
|
+
* Firefox 19+
|
80
|
+
*
|
81
|
+
* @see http://stackoverflow.com/questions/24236240/color-for-styled-placeholder-text-is-muted-in-firefox
|
82
|
+
*/
|
18
83
|
}
|
19
|
-
|
20
|
-
|
21
|
-
border-radius: 3px 3px 0 0;
|
84
|
+
.select2-container--bootstrap .select2-search__field::-webkit-input-placeholder {
|
85
|
+
color: #999;
|
22
86
|
}
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
87
|
+
.select2-container--bootstrap .select2-search__field:-moz-placeholder {
|
88
|
+
color: #999;
|
89
|
+
}
|
90
|
+
.select2-container--bootstrap .select2-search__field::-moz-placeholder {
|
91
|
+
color: #999;
|
92
|
+
opacity: 1;
|
93
|
+
}
|
94
|
+
.select2-container--bootstrap .select2-search__field:-ms-input-placeholder {
|
95
|
+
color: #999;
|
96
|
+
}
|
97
|
+
.select2-container--bootstrap .select2-results__option {
|
98
|
+
/**
|
99
|
+
* Disabled results.
|
100
|
+
*
|
101
|
+
* @see https://select2.github.io/examples.html#disabled-results
|
102
|
+
*/
|
103
|
+
/**
|
104
|
+
* Hover state.
|
105
|
+
*/
|
106
|
+
/**
|
107
|
+
* Selected state.
|
108
|
+
*/
|
109
|
+
}
|
110
|
+
.select2-container--bootstrap .select2-results__option[role=group] {
|
111
|
+
padding: 0;
|
112
|
+
}
|
113
|
+
.select2-container--bootstrap .select2-results__option[aria-disabled=true] {
|
114
|
+
color: #777777;
|
115
|
+
cursor: not-allowed;
|
116
|
+
}
|
117
|
+
.select2-container--bootstrap .select2-results__option[aria-selected=true] {
|
118
|
+
background-color: #f5f5f5;
|
119
|
+
color: #262626;
|
120
|
+
}
|
121
|
+
.select2-container--bootstrap .select2-results__option--highlighted[aria-selected] {
|
122
|
+
background-color: #337ab7;
|
123
|
+
color: #fff;
|
124
|
+
}
|
125
|
+
.select2-container--bootstrap .select2-results__option .select2-results__option {
|
126
|
+
padding: 6px 12px;
|
127
|
+
}
|
128
|
+
.select2-container--bootstrap .select2-results__option .select2-results__option .select2-results__group {
|
129
|
+
padding-left: 0;
|
130
|
+
}
|
131
|
+
.select2-container--bootstrap .select2-results__option .select2-results__option .select2-results__option {
|
132
|
+
margin-left: -12px;
|
133
|
+
padding-left: 24px;
|
134
|
+
}
|
135
|
+
.select2-container--bootstrap .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
|
136
|
+
margin-left: -24px;
|
137
|
+
padding-left: 36px;
|
138
|
+
}
|
139
|
+
.select2-container--bootstrap .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
|
140
|
+
margin-left: -36px;
|
141
|
+
padding-left: 48px;
|
142
|
+
}
|
143
|
+
.select2-container--bootstrap .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
|
144
|
+
margin-left: -48px;
|
145
|
+
padding-left: 60px;
|
146
|
+
}
|
147
|
+
.select2-container--bootstrap .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
|
148
|
+
margin-left: -60px;
|
149
|
+
padding-left: 72px;
|
150
|
+
}
|
151
|
+
.select2-container--bootstrap .select2-results__group {
|
152
|
+
color: #777777;
|
153
|
+
display: block;
|
154
|
+
padding: 6px 12px;
|
155
|
+
font-size: 12px;
|
156
|
+
line-height: 1.428571429;
|
157
|
+
white-space: nowrap;
|
158
|
+
}
|
159
|
+
.select2-container--bootstrap.select2-container--open {
|
160
|
+
/**
|
161
|
+
* Handle border radii of the container when the dropdown is showing.
|
162
|
+
*/
|
163
|
+
}
|
164
|
+
.select2-container--bootstrap.select2-container--open .select2-selection {
|
165
|
+
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
|
166
|
+
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
|
167
|
+
-webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
|
168
|
+
-o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
|
169
|
+
transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
|
170
|
+
border-color: #66afe9;
|
171
|
+
/**
|
172
|
+
* Make the dropdown arrow point up while the dropdown is visible.
|
173
|
+
*/
|
174
|
+
}
|
175
|
+
.select2-container--bootstrap.select2-container--open .select2-selection .select2-selection__arrow b {
|
176
|
+
border-color: transparent transparent #999 transparent;
|
177
|
+
border-width: 0 4px 4px 4px;
|
178
|
+
}
|
179
|
+
.select2-container--bootstrap.select2-container--open.select2-container--below .select2-selection {
|
180
|
+
border-bottom-right-radius: 0;
|
181
|
+
border-bottom-left-radius: 0;
|
182
|
+
border-bottom-color: transparent;
|
183
|
+
}
|
184
|
+
.select2-container--bootstrap.select2-container--open.select2-container--above .select2-selection {
|
185
|
+
border-top-right-radius: 0;
|
186
|
+
border-top-left-radius: 0;
|
187
|
+
border-top-color: transparent;
|
188
|
+
}
|
189
|
+
.select2-container--bootstrap.select2-container--disabled .select2-selection,
|
190
|
+
.select2-container--bootstrap.select2-container--disabled .select2-search__field {
|
191
|
+
cursor: not-allowed;
|
192
|
+
}
|
193
|
+
.select2-container--bootstrap.select2-container--disabled .select2-selection,
|
194
|
+
.select2-container--bootstrap.select2-container--disabled .select2-selection--multiple .select2-selection__choice {
|
195
|
+
background-color: #eeeeee;
|
196
|
+
}
|
197
|
+
.select2-container--bootstrap.select2-container--disabled .select2-selection__clear,
|
198
|
+
.select2-container--bootstrap.select2-container--disabled .select2-selection--multiple .select2-selection__choice__remove {
|
199
|
+
display: none;
|
200
|
+
}
|
201
|
+
.select2-container--bootstrap .select2-dropdown {
|
202
|
+
-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
203
|
+
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
204
|
+
border-color: #66afe9;
|
205
|
+
overflow-x: hidden;
|
206
|
+
margin-top: -1px;
|
207
|
+
}
|
208
|
+
.select2-container--bootstrap .select2-dropdown--above {
|
209
|
+
margin-top: 1px;
|
210
|
+
}
|
211
|
+
.select2-container--bootstrap .select2-results > .select2-results__options {
|
212
|
+
max-height: 200px;
|
213
|
+
overflow-y: auto;
|
214
|
+
}
|
215
|
+
.select2-container--bootstrap .select2-selection--single {
|
216
|
+
height: 34px;
|
217
|
+
line-height: 1.428571429;
|
218
|
+
padding: 6px 24px 6px 12px;
|
219
|
+
/**
|
220
|
+
* Clear the selection.
|
221
|
+
*/
|
222
|
+
/**
|
223
|
+
* Adjust the single Select2's dropdown arrow button appearance.
|
224
|
+
*/
|
225
|
+
}
|
226
|
+
.select2-container--bootstrap .select2-selection--single .select2-selection__clear {
|
227
|
+
color: #999;
|
228
|
+
cursor: pointer;
|
229
|
+
float: right;
|
230
|
+
font-weight: bold;
|
231
|
+
margin-right: 10px;
|
232
|
+
}
|
233
|
+
.select2-container--bootstrap .select2-selection--single .select2-selection__clear:hover {
|
234
|
+
color: #333;
|
235
|
+
}
|
236
|
+
.select2-container--bootstrap .select2-selection--single .select2-selection__arrow {
|
237
|
+
position: absolute;
|
238
|
+
bottom: 0;
|
239
|
+
right: 12px;
|
240
|
+
top: 0;
|
241
|
+
width: 4px;
|
242
|
+
}
|
243
|
+
.select2-container--bootstrap .select2-selection--single .select2-selection__arrow b {
|
244
|
+
border-color: #999 transparent transparent transparent;
|
245
|
+
border-style: solid;
|
246
|
+
border-width: 4px 4px 0 4px;
|
247
|
+
height: 0;
|
248
|
+
left: 0;
|
249
|
+
margin-left: -4px;
|
250
|
+
margin-top: -2px;
|
251
|
+
position: absolute;
|
252
|
+
top: 50%;
|
253
|
+
width: 0;
|
254
|
+
}
|
255
|
+
.select2-container--bootstrap .select2-selection--single .select2-selection__rendered {
|
256
|
+
color: #555555;
|
257
|
+
padding: 0;
|
258
|
+
}
|
259
|
+
.select2-container--bootstrap .select2-selection--single .select2-selection__placeholder {
|
260
|
+
color: #999;
|
261
|
+
}
|
262
|
+
.select2-container--bootstrap .select2-selection--multiple {
|
263
|
+
min-height: 34px;
|
264
|
+
/**
|
265
|
+
* Make Multi Select2's choices match Bootstrap 3's default button styles.
|
266
|
+
*/
|
267
|
+
/**
|
268
|
+
* Minus 2px borders.
|
269
|
+
*/
|
270
|
+
}
|
271
|
+
.select2-container--bootstrap .select2-selection--multiple .select2-selection__rendered {
|
272
|
+
box-sizing: border-box;
|
273
|
+
display: block;
|
274
|
+
line-height: 1.428571429;
|
275
|
+
list-style: none;
|
276
|
+
margin: 0;
|
277
|
+
overflow: hidden;
|
278
|
+
padding: 0;
|
279
|
+
width: 100%;
|
280
|
+
text-overflow: ellipsis;
|
281
|
+
white-space: nowrap;
|
282
|
+
}
|
283
|
+
.select2-container--bootstrap .select2-selection--multiple .select2-selection__placeholder {
|
284
|
+
color: #999;
|
285
|
+
float: left;
|
286
|
+
margin-top: 5px;
|
287
|
+
}
|
288
|
+
.select2-container--bootstrap .select2-selection--multiple .select2-selection__choice {
|
289
|
+
color: #555555;
|
290
|
+
background: #fff;
|
291
|
+
border: 1px solid #ccc;
|
292
|
+
border-radius: 4px;
|
293
|
+
cursor: default;
|
294
|
+
float: left;
|
295
|
+
margin: 5px 0 0 6px;
|
296
|
+
padding: 0 6px;
|
297
|
+
}
|
298
|
+
.select2-container--bootstrap .select2-selection--multiple .select2-search--inline .select2-search__field {
|
299
|
+
background: transparent;
|
300
|
+
padding: 0 12px;
|
301
|
+
height: 32px;
|
302
|
+
line-height: 1.428571429;
|
303
|
+
margin-top: 0;
|
304
|
+
min-width: 5em;
|
305
|
+
}
|
306
|
+
.select2-container--bootstrap .select2-selection--multiple .select2-selection__choice__remove {
|
307
|
+
color: #999;
|
308
|
+
cursor: pointer;
|
309
|
+
display: inline-block;
|
310
|
+
font-weight: bold;
|
311
|
+
margin-right: 3px;
|
312
|
+
}
|
313
|
+
.select2-container--bootstrap .select2-selection--multiple .select2-selection__choice__remove:hover {
|
314
|
+
color: #333;
|
315
|
+
}
|
316
|
+
.select2-container--bootstrap.input-sm, .select2-container--bootstrap.input-lg {
|
317
|
+
border-radius: 0;
|
318
|
+
font-size: 12px;
|
319
|
+
height: auto;
|
320
|
+
line-height: 1;
|
321
|
+
padding: 0;
|
322
|
+
}
|
323
|
+
.select2-container--bootstrap.input-sm .select2-selection--single, .input-group-sm .select2-container--bootstrap .select2-selection--single, .form-group-sm .select2-container--bootstrap .select2-selection--single {
|
324
|
+
border-radius: 3px;
|
325
|
+
font-size: 12px;
|
326
|
+
height: 30px;
|
327
|
+
line-height: 1.5;
|
328
|
+
padding: 5px 22px 5px 10px;
|
329
|
+
/* 2 */
|
330
|
+
}
|
331
|
+
.select2-container--bootstrap.input-sm .select2-selection--single .select2-selection__arrow b, .input-group-sm .select2-container--bootstrap .select2-selection--single .select2-selection__arrow b, .form-group-sm .select2-container--bootstrap .select2-selection--single .select2-selection__arrow b {
|
332
|
+
margin-left: -5px;
|
333
|
+
}
|
334
|
+
.select2-container--bootstrap.input-sm .select2-selection--multiple, .input-group-sm .select2-container--bootstrap .select2-selection--multiple, .form-group-sm .select2-container--bootstrap .select2-selection--multiple {
|
335
|
+
min-height: 30px;
|
336
|
+
}
|
337
|
+
.select2-container--bootstrap.input-sm .select2-selection--multiple .select2-selection__choice, .input-group-sm .select2-container--bootstrap .select2-selection--multiple .select2-selection__choice, .form-group-sm .select2-container--bootstrap .select2-selection--multiple .select2-selection__choice {
|
338
|
+
font-size: 12px;
|
339
|
+
line-height: 1.5;
|
340
|
+
margin: 4px 0 0 5px;
|
341
|
+
padding: 0 5px;
|
342
|
+
}
|
343
|
+
.select2-container--bootstrap.input-sm .select2-selection--multiple .select2-search--inline .select2-search__field, .input-group-sm .select2-container--bootstrap .select2-selection--multiple .select2-search--inline .select2-search__field, .form-group-sm .select2-container--bootstrap .select2-selection--multiple .select2-search--inline .select2-search__field {
|
344
|
+
padding: 0 10px;
|
345
|
+
font-size: 12px;
|
346
|
+
height: 28px;
|
347
|
+
line-height: 1.5;
|
348
|
+
}
|
349
|
+
.select2-container--bootstrap.input-lg .select2-selection--single, .input-group-lg .select2-container--bootstrap .select2-selection--single, .form-group-lg .select2-container--bootstrap .select2-selection--single {
|
350
|
+
border-radius: 6px;
|
351
|
+
font-size: 18px;
|
352
|
+
height: 46px;
|
353
|
+
line-height: 1.3333333;
|
354
|
+
padding: 10px 31px 10px 16px;
|
355
|
+
/* 1 */
|
356
|
+
}
|
357
|
+
.select2-container--bootstrap.input-lg .select2-selection--single .select2-selection__arrow, .input-group-lg .select2-container--bootstrap .select2-selection--single .select2-selection__arrow, .form-group-lg .select2-container--bootstrap .select2-selection--single .select2-selection__arrow {
|
358
|
+
width: 5px;
|
359
|
+
}
|
360
|
+
.select2-container--bootstrap.input-lg .select2-selection--single .select2-selection__arrow b, .input-group-lg .select2-container--bootstrap .select2-selection--single .select2-selection__arrow b, .form-group-lg .select2-container--bootstrap .select2-selection--single .select2-selection__arrow b {
|
361
|
+
border-width: 5px 5px 0 5px;
|
362
|
+
margin-left: -5px;
|
363
|
+
margin-left: -10px;
|
364
|
+
margin-top: -2.5px;
|
365
|
+
}
|
366
|
+
.select2-container--bootstrap.input-lg .select2-selection--multiple, .input-group-lg .select2-container--bootstrap .select2-selection--multiple, .form-group-lg .select2-container--bootstrap .select2-selection--multiple {
|
367
|
+
min-height: 46px;
|
368
|
+
}
|
369
|
+
.select2-container--bootstrap.input-lg .select2-selection--multiple .select2-selection__choice, .input-group-lg .select2-container--bootstrap .select2-selection--multiple .select2-selection__choice, .form-group-lg .select2-container--bootstrap .select2-selection--multiple .select2-selection__choice {
|
370
|
+
font-size: 18px;
|
371
|
+
line-height: 1.3333333;
|
372
|
+
border-radius: 4px;
|
373
|
+
margin: 9px 0 0 8px;
|
374
|
+
padding: 0 10px;
|
375
|
+
}
|
376
|
+
.select2-container--bootstrap.input-lg .select2-selection--multiple .select2-search--inline .select2-search__field, .input-group-lg .select2-container--bootstrap .select2-selection--multiple .select2-search--inline .select2-search__field, .form-group-lg .select2-container--bootstrap .select2-selection--multiple .select2-search--inline .select2-search__field {
|
377
|
+
padding: 0 16px;
|
378
|
+
font-size: 18px;
|
379
|
+
height: 44px;
|
380
|
+
line-height: 1.3333333;
|
381
|
+
}
|
382
|
+
.select2-container--bootstrap.input-lg.select2-container--open .select2-selection--single {
|
383
|
+
/**
|
384
|
+
* Make the dropdown arrow point up while the dropdown is visible.
|
385
|
+
*/
|
386
|
+
}
|
387
|
+
.select2-container--bootstrap.input-lg.select2-container--open .select2-selection--single .select2-selection__arrow b {
|
388
|
+
border-color: transparent transparent #999 transparent;
|
389
|
+
border-width: 0 5px 5px 5px;
|
390
|
+
}
|
391
|
+
.input-group-lg .select2-container--bootstrap.select2-container--open .select2-selection--single {
|
392
|
+
/**
|
393
|
+
* Make the dropdown arrow point up while the dropdown is visible.
|
394
|
+
*/
|
395
|
+
}
|
396
|
+
.input-group-lg .select2-container--bootstrap.select2-container--open .select2-selection--single .select2-selection__arrow b {
|
397
|
+
border-color: transparent transparent #999 transparent;
|
398
|
+
border-width: 0 5px 5px 5px;
|
399
|
+
}
|
400
|
+
.select2-container--bootstrap[dir="rtl"] {
|
401
|
+
/**
|
402
|
+
* Single Select2
|
403
|
+
*
|
404
|
+
* 1. Makes sure that .select2-selection__placeholder is positioned
|
405
|
+
* correctly.
|
406
|
+
*/
|
407
|
+
/**
|
408
|
+
* Multiple Select2
|
409
|
+
*/
|
410
|
+
}
|
411
|
+
.select2-container--bootstrap[dir="rtl"] .select2-selection--single {
|
412
|
+
padding-left: 24px;
|
413
|
+
padding-right: 12px;
|
414
|
+
}
|
415
|
+
.select2-container--bootstrap[dir="rtl"] .select2-selection--single .select2-selection__rendered {
|
416
|
+
padding-right: 0;
|
417
|
+
padding-left: 0;
|
418
|
+
text-align: right;
|
419
|
+
/* 1 */
|
420
|
+
}
|
421
|
+
.select2-container--bootstrap[dir="rtl"] .select2-selection--single .select2-selection__clear {
|
422
|
+
float: left;
|
423
|
+
}
|
424
|
+
.select2-container--bootstrap[dir="rtl"] .select2-selection--single .select2-selection__arrow {
|
425
|
+
left: 12px;
|
426
|
+
right: auto;
|
427
|
+
}
|
428
|
+
.select2-container--bootstrap[dir="rtl"] .select2-selection--single .select2-selection__arrow b {
|
429
|
+
margin-left: 0;
|
430
|
+
}
|
431
|
+
.select2-container--bootstrap[dir="rtl"] .select2-selection--multiple .select2-selection__choice,
|
432
|
+
.select2-container--bootstrap[dir="rtl"] .select2-selection--multiple .select2-selection__placeholder {
|
433
|
+
float: right;
|
434
|
+
}
|
435
|
+
.select2-container--bootstrap[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
|
436
|
+
margin-left: 0;
|
437
|
+
margin-right: 6px;
|
438
|
+
}
|
439
|
+
.select2-container--bootstrap[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
|
440
|
+
margin-left: 2px;
|
441
|
+
margin-right: auto;
|
27
442
|
}
|
28
443
|
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
444
|
+
/*------------------------------------*\
|
445
|
+
#ADDITIONAL GOODIES
|
446
|
+
\*------------------------------------*/
|
447
|
+
/**
|
448
|
+
* Address Bootstrap's validation states
|
449
|
+
*
|
450
|
+
* If a Select2 widget parent has one of Bootstrap's validation state modifier
|
451
|
+
* classes, adjust Select2's border colors and focus states accordingly.
|
452
|
+
* You may apply said classes to the Select2 dropdown (body > .select2-container)
|
453
|
+
* via JavaScript match Bootstraps' to make its styles match.
|
454
|
+
*
|
455
|
+
* @see http://getbootstrap.com/css/#forms-control-validation
|
456
|
+
*/
|
457
|
+
.has-warning .select2-dropdown,
|
458
|
+
.has-warning .select2-selection {
|
459
|
+
border-color: #8a6d3b;
|
460
|
+
}
|
461
|
+
.has-warning .select2-container--open .select2-selection {
|
462
|
+
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b;
|
463
|
+
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b;
|
464
|
+
border-color: #66512c;
|
465
|
+
}
|
466
|
+
.has-warning.select2-drop-active {
|
467
|
+
border-color: #66512c;
|
468
|
+
}
|
469
|
+
.has-warning.select2-drop-active.select2-drop.select2-drop-above {
|
470
|
+
border-top-color: #66512c;
|
37
471
|
}
|
38
472
|
|
39
|
-
.
|
40
|
-
|
41
|
-
|
473
|
+
.has-error .select2-dropdown,
|
474
|
+
.has-error .select2-selection {
|
475
|
+
border-color: #a94442;
|
476
|
+
}
|
477
|
+
.has-error .select2-container--open .select2-selection {
|
478
|
+
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;
|
479
|
+
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;
|
480
|
+
border-color: #843534;
|
481
|
+
}
|
482
|
+
.has-error.select2-drop-active {
|
483
|
+
border-color: #843534;
|
484
|
+
}
|
485
|
+
.has-error.select2-drop-active.select2-drop.select2-drop-above {
|
486
|
+
border-top-color: #843534;
|
42
487
|
}
|
43
488
|
|
44
|
-
.
|
45
|
-
.
|
46
|
-
|
47
|
-
|
48
|
-
.
|
49
|
-
|
50
|
-
|
51
|
-
|
489
|
+
.has-success .select2-dropdown,
|
490
|
+
.has-success .select2-selection {
|
491
|
+
border-color: #3c763d;
|
492
|
+
}
|
493
|
+
.has-success .select2-container--open .select2-selection {
|
494
|
+
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168;
|
495
|
+
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168;
|
496
|
+
border-color: #2b542c;
|
497
|
+
}
|
498
|
+
.has-success.select2-drop-active {
|
499
|
+
border-color: #2b542c;
|
500
|
+
}
|
501
|
+
.has-success.select2-drop-active.select2-drop.select2-drop-above {
|
502
|
+
border-top-color: #2b542c;
|
52
503
|
}
|
53
504
|
|
54
|
-
|
55
|
-
|
56
|
-
|
505
|
+
/**
|
506
|
+
* Select2 widgets in Bootstrap Input Groups
|
507
|
+
*
|
508
|
+
* When Select2 widgets are combined with other elements using Bootstraps
|
509
|
+
* "Input Group" component, we don't want specific edges of the Select2
|
510
|
+
* container to have a border-radius.
|
511
|
+
*
|
512
|
+
* Use .select2-bootstrap-prepend and .select2-bootstrap-append on
|
513
|
+
* a Bootstrap 3 .input-group to let the contained Select2 widget know which
|
514
|
+
* edges should not be rounded as they are directly followed by another element.
|
515
|
+
*
|
516
|
+
* @see http://getbootstrap.com/components/#input-groups
|
517
|
+
*/
|
518
|
+
/**
|
519
|
+
* Mimick Bootstraps .input-group .form-control styles.
|
520
|
+
*
|
521
|
+
* @see https://github.com/twbs/bootstrap/blob/master/less/input-groups.less
|
522
|
+
*/
|
523
|
+
.input-group .select2-container--bootstrap {
|
524
|
+
display: table;
|
525
|
+
table-layout: fixed;
|
526
|
+
position: relative;
|
527
|
+
z-index: 2;
|
528
|
+
float: left;
|
529
|
+
width: 100%;
|
530
|
+
margin-bottom: 0;
|
57
531
|
}
|
58
532
|
|
59
|
-
.
|
60
|
-
|
61
|
-
|
62
|
-
.control-group.info .select2-container-active .select2-choices,
|
63
|
-
.control-group.info .select2-dropdown-open.select2-drop-above .select2-choice,
|
64
|
-
.control-group.info .select2-dropdown-open.select2-drop-above .select2-choices,
|
65
|
-
.control-group.info .select2-container-multi.select2-container-active .select2-choices {
|
66
|
-
border: 1px solid #3A87AD !important;
|
533
|
+
.input-group.select2-bootstrap-prepend .select2-container--bootstrap .select2-selection {
|
534
|
+
border-bottom-left-radius: 0;
|
535
|
+
border-top-left-radius: 0;
|
67
536
|
}
|
68
537
|
|
69
|
-
.
|
70
|
-
|
71
|
-
|
538
|
+
.input-group.select2-bootstrap-append .select2-container--bootstrap .select2-selection {
|
539
|
+
border-bottom-right-radius: 0;
|
540
|
+
border-top-right-radius: 0;
|
72
541
|
}
|
73
542
|
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
543
|
+
/**
|
544
|
+
* Adjust alignment of Bootstrap buttons in Bootstrap Input Groups to address
|
545
|
+
* Multi Select2's height which - depending on how many elements have been selected -
|
546
|
+
* may grown higher than their initial size.
|
547
|
+
*
|
548
|
+
* @see http://getbootstrap.com/components/#input-groups
|
549
|
+
*/
|
550
|
+
.select2-bootstrap-append .select2-container--bootstrap,
|
551
|
+
.select2-bootstrap-append .input-group-btn,
|
552
|
+
.select2-bootstrap-append .input-group-btn .btn,
|
553
|
+
.select2-bootstrap-prepend .select2-container--bootstrap,
|
554
|
+
.select2-bootstrap-prepend .input-group-btn,
|
555
|
+
.select2-bootstrap-prepend .input-group-btn .btn {
|
556
|
+
vertical-align: top;
|
82
557
|
}
|
83
558
|
|
84
|
-
|
85
|
-
|
86
|
-
|
559
|
+
/**
|
560
|
+
* Temporary fix for https://github.com/fk/select2-bootstrap-theme/issues/9
|
561
|
+
*/
|
562
|
+
.form-control.select2-hidden-accessible {
|
563
|
+
position: absolute !important;
|
87
564
|
}
|