bootstrap-select-rails 1.6.3 → 1.12.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bootstrap-select-rails/version.rb +1 -1
- data/vendor/assets/javascripts/.jshintrc +15 -0
- data/vendor/assets/javascripts/bootstrap-select.js +1036 -382
- data/vendor/assets/javascripts/i18n/defaults-ar_AR.js +23 -0
- data/vendor/assets/javascripts/i18n/defaults-bg_BG.js +23 -0
- data/vendor/assets/javascripts/i18n/defaults-cro_CRO.js +23 -0
- data/vendor/assets/javascripts/i18n/defaults-cs_CZ.js +14 -0
- data/vendor/assets/javascripts/i18n/defaults-da_DK.js +23 -0
- data/vendor/assets/javascripts/i18n/defaults-de_DE.js +23 -0
- data/vendor/assets/javascripts/i18n/defaults-en_US.js +23 -0
- data/vendor/assets/javascripts/i18n/defaults-es_CL.js +14 -0
- data/vendor/assets/javascripts/i18n/defaults-eu.js +14 -0
- data/vendor/assets/javascripts/i18n/defaults-fa_IR.js +16 -0
- data/vendor/assets/javascripts/i18n/defaults-fi_FI.js +23 -0
- data/vendor/assets/javascripts/i18n/defaults-fr_FR.js +23 -0
- data/vendor/assets/javascripts/i18n/defaults-hu_HU.js +23 -0
- data/vendor/assets/javascripts/i18n/defaults-id_ID.js +16 -0
- data/vendor/assets/javascripts/i18n/defaults-it_IT.js +15 -0
- data/vendor/assets/javascripts/i18n/defaults-ko_KR.js +23 -0
- data/vendor/assets/javascripts/i18n/defaults-lt_LT.js +23 -0
- data/vendor/assets/javascripts/i18n/defaults-nb_NO.js +23 -0
- data/vendor/assets/javascripts/i18n/defaults-nl_NL.js +15 -0
- data/vendor/assets/javascripts/i18n/defaults-pl_PL.js +16 -0
- data/vendor/assets/javascripts/i18n/defaults-pt_BR.js +15 -0
- data/vendor/assets/javascripts/i18n/defaults-pt_PT.js +15 -0
- data/vendor/assets/javascripts/i18n/defaults-ro_RO.js +15 -0
- data/vendor/assets/javascripts/i18n/defaults-ru_RU.js +15 -0
- data/vendor/assets/javascripts/i18n/defaults-sk_SK.js +16 -0
- data/vendor/assets/javascripts/i18n/defaults-sl_SI.js +23 -0
- data/vendor/assets/javascripts/i18n/defaults-sv_SE.js +23 -0
- data/vendor/assets/javascripts/i18n/defaults-tr_TR.js +24 -0
- data/vendor/assets/javascripts/i18n/defaults-ua_UA.js +14 -0
- data/vendor/assets/javascripts/i18n/defaults-zh_CN.js +14 -0
- data/vendor/assets/javascripts/i18n/defaults-zh_TW.js +16 -0
- data/vendor/assets/stylesheets/bootstrap-select.css.map +1 -0
- data/vendor/assets/stylesheets/bootstrap-select.scss +389 -0
- data/vendor/assets/stylesheets/variables.scss +9 -0
- metadata +38 -4
- data/vendor/assets/stylesheets/bootstrap-select.css +0 -259
@@ -0,0 +1,15 @@
|
|
1
|
+
/*
|
2
|
+
* Translated default messages for bootstrap-select.
|
3
|
+
* Locale: PT (Portuguese; português)
|
4
|
+
* Region: PT (Portugal; Portugal)
|
5
|
+
* Author: Burnspirit <burnspirit@gmail.com>
|
6
|
+
*/
|
7
|
+
(function ($) {
|
8
|
+
$.fn.selectpicker.defaults = {
|
9
|
+
noneSelectedText: 'Nenhum seleccionado',
|
10
|
+
noneResultsText: 'Sem resultados contendo {0}',
|
11
|
+
countSelectedText: 'Selecionado {0} de {1}',
|
12
|
+
maxOptionsText: ['Limite ultrapassado (máx. {n} {var})', 'Limite de seleções ultrapassado (máx. {n} {var})', ['itens', 'item']],
|
13
|
+
multipleSeparator: ', '
|
14
|
+
};
|
15
|
+
})(jQuery);
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/*
|
2
|
+
* Translated default messages for bootstrap-select.
|
3
|
+
* Locale: RO (Romanian)
|
4
|
+
* Region: RO (Romania)
|
5
|
+
* Alex Florea <alecz.fia@gmail.com>
|
6
|
+
*/
|
7
|
+
(function ($) {
|
8
|
+
$.fn.selectpicker.defaults = {
|
9
|
+
noneSelectedText: 'Nu a fost selectat nimic',
|
10
|
+
noneResultsText: 'Nu exista niciun rezultat {0}',
|
11
|
+
countSelectedText: '{0} din {1} selectat(e)',
|
12
|
+
maxOptionsText: ['Limita a fost atinsa ({n} {var} max)', 'Limita de grup a fost atinsa ({n} {var} max)', ['iteme', 'item']],
|
13
|
+
multipleSeparator: ', '
|
14
|
+
};
|
15
|
+
})(jQuery);
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/*
|
2
|
+
* Translated default messages for bootstrap-select.
|
3
|
+
* Locale: RU (Russian; Русский)
|
4
|
+
* Region: RU (Russian Federation)
|
5
|
+
*/
|
6
|
+
(function ($) {
|
7
|
+
$.fn.selectpicker.defaults = {
|
8
|
+
noneSelectedText: 'Ничего не выбрано',
|
9
|
+
noneResultsText: 'Совпадений не найдено {0}',
|
10
|
+
countSelectedText: 'Выбрано {0} из {1}',
|
11
|
+
maxOptionsText: ['Достигнут предел ({n} {var} максимум)', 'Достигнут предел в группе ({n} {var} максимум)', ['items', 'item']],
|
12
|
+
doneButtonText: 'Закрыть',
|
13
|
+
multipleSeparator: ', '
|
14
|
+
};
|
15
|
+
})(jQuery);
|
@@ -0,0 +1,16 @@
|
|
1
|
+
/*
|
2
|
+
* Translated default messages for bootstrap-select.
|
3
|
+
* Locale: SK
|
4
|
+
* Region: SK (Slovak Republic)
|
5
|
+
*/
|
6
|
+
(function ($) {
|
7
|
+
$.fn.selectpicker.defaults = {
|
8
|
+
noneSelectedText: 'Vyberte zo zoznamu',
|
9
|
+
noneResultsText: 'Pre výraz {0} neboli nájdené žiadne výsledky',
|
10
|
+
countSelectedText: 'Vybrané {0} z {1}',
|
11
|
+
maxOptionsText: ['Limit prekročený ({n} {var} max)', 'Limit skupiny prekročený ({n} {var} max)', ['položiek', 'položka']],
|
12
|
+
selectAllText: 'Vybrať všetky',
|
13
|
+
deselectAllText: 'Zrušiť výber',
|
14
|
+
multipleSeparator: ', '
|
15
|
+
};
|
16
|
+
})(jQuery);
|
@@ -0,0 +1,23 @@
|
|
1
|
+
/*
|
2
|
+
* Translated default messages for bootstrap-select.
|
3
|
+
* Locale: SL (Slovenian)
|
4
|
+
* Region: SI (Slovenia)
|
5
|
+
*/
|
6
|
+
(function ($) {
|
7
|
+
$.fn.selectpicker.defaults = {
|
8
|
+
noneSelectedText: 'Nič izbranega',
|
9
|
+
noneResultsText: 'Ni zadetkov za {0}',
|
10
|
+
countSelectedText: function (numSelected, numTotal) {
|
11
|
+
"Število izbranih: {0}";
|
12
|
+
},
|
13
|
+
maxOptionsText: function (numAll, numGroup) {
|
14
|
+
return [
|
15
|
+
'Omejitev dosežena (max. izbranih: {n})',
|
16
|
+
'Omejitev skupine dosežena (max. izbranih: {n})'
|
17
|
+
];
|
18
|
+
},
|
19
|
+
selectAllText: 'Izberi vse',
|
20
|
+
deselectAllText: 'Počisti izbor',
|
21
|
+
multipleSeparator: ', '
|
22
|
+
};
|
23
|
+
})(jQuery);
|
@@ -0,0 +1,23 @@
|
|
1
|
+
/*
|
2
|
+
* Translated default messages for bootstrap-select.
|
3
|
+
* Locale: SV (Swedish)
|
4
|
+
* Region: SE (Sweden)
|
5
|
+
*/
|
6
|
+
(function ($) {
|
7
|
+
$.fn.selectpicker.defaults = {
|
8
|
+
noneSelectedText: 'Inget valt',
|
9
|
+
noneResultsText: 'Inget sökresultat matchar {0}',
|
10
|
+
countSelectedText: function (numSelected, numTotal) {
|
11
|
+
return (numSelected === 1) ? "{0} alternativ valt" : "{0} alternativ valda";
|
12
|
+
},
|
13
|
+
maxOptionsText: function (numAll, numGroup) {
|
14
|
+
return [
|
15
|
+
'Gräns uppnåd (max {n} alternativ)',
|
16
|
+
'Gräns uppnåd (max {n} gruppalternativ)'
|
17
|
+
];
|
18
|
+
},
|
19
|
+
selectAllText: 'Markera alla',
|
20
|
+
deselectAllText: 'Avmarkera alla',
|
21
|
+
multipleSeparator: ', '
|
22
|
+
};
|
23
|
+
})(jQuery);
|
@@ -0,0 +1,24 @@
|
|
1
|
+
/*
|
2
|
+
* Translated default messages for bootstrap-select.
|
3
|
+
* Locale: TR (Turkey)
|
4
|
+
* Region: TR (Europe)
|
5
|
+
* Author: Serhan Güney
|
6
|
+
*/
|
7
|
+
(function ($) {
|
8
|
+
$.fn.selectpicker.defaults = {
|
9
|
+
noneSelectedText: 'Hiçbiri seçilmedi',
|
10
|
+
noneResultsText: 'Hiçbir sonuç bulunamadı {0}',
|
11
|
+
countSelectedText: function (numSelected, numTotal) {
|
12
|
+
return (numSelected == 1) ? "{0} öğe seçildi" : "{0} öğe seçildi";
|
13
|
+
},
|
14
|
+
maxOptionsText: function (numAll, numGroup) {
|
15
|
+
return [
|
16
|
+
(numAll == 1) ? 'Limit aşıldı (maksimum {n} sayıda öğe )' : 'Limit aşıldı (maksimum {n} sayıda öğe)',
|
17
|
+
(numGroup == 1) ? 'Grup limiti aşıldı (maksimum {n} sayıda öğe)' : 'Grup limiti aşıldı (maksimum {n} sayıda öğe)'
|
18
|
+
];
|
19
|
+
},
|
20
|
+
selectAllText: 'Tümünü Seç',
|
21
|
+
deselectAllText: 'Seçiniz',
|
22
|
+
multipleSeparator: ', '
|
23
|
+
};
|
24
|
+
})(jQuery);
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/*
|
2
|
+
* Translated default messages for bootstrap-select.
|
3
|
+
* Locale: UA (Ukrainian; Українська)
|
4
|
+
* Region: UA (Ukraine)
|
5
|
+
*/
|
6
|
+
(function ($) {
|
7
|
+
$.fn.selectpicker.defaults = {
|
8
|
+
noneSelectedText: 'Нічого не вибрано',
|
9
|
+
noneResultsText: 'Збігів не знайдено {0}',
|
10
|
+
countSelectedText: 'Вибрано {0} із {1}',
|
11
|
+
maxOptionsText: ['Досягнута межа ({n} {var} максимум)', 'Досягнута межа в групі ({n} {var} максимум)', ['items', 'item']],
|
12
|
+
multipleSeparator: ', '
|
13
|
+
};
|
14
|
+
})(jQuery);
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/*
|
2
|
+
* Translated default messages for bootstrap-select.
|
3
|
+
* Locale: ZH (Chinese)
|
4
|
+
* Region: CN (China)
|
5
|
+
*/
|
6
|
+
(function ($) {
|
7
|
+
$.fn.selectpicker.defaults = {
|
8
|
+
noneSelectedText: '没有选中任何项',
|
9
|
+
noneResultsText: '没有找到匹配项',
|
10
|
+
countSelectedText: '选中{1}中的{0}项',
|
11
|
+
maxOptionsText: ['超出限制 (最多选择{n}项)', '组选择超出限制(最多选择{n}组)'],
|
12
|
+
multipleSeparator: ', '
|
13
|
+
};
|
14
|
+
})(jQuery);
|
@@ -0,0 +1,16 @@
|
|
1
|
+
/*
|
2
|
+
* Translated default messages for bootstrap-select.
|
3
|
+
* Locale: ZH (Chinese)
|
4
|
+
* Region: TW (Taiwan)
|
5
|
+
*/
|
6
|
+
(function ($) {
|
7
|
+
$.fn.selectpicker.defaults = {
|
8
|
+
noneSelectedText: '沒有選取任何項目',
|
9
|
+
noneResultsText: '沒有找到符合的結果',
|
10
|
+
countSelectedText: '已經選取{0}個項目',
|
11
|
+
maxOptionsText: ['超過限制 (最多選擇{n}項)', '超過限制(最多選擇{n}組)'],
|
12
|
+
selectAllText: '選取全部',
|
13
|
+
deselectAllText: '全部取消',
|
14
|
+
multipleSeparator: ', '
|
15
|
+
};
|
16
|
+
})(jQuery);
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["less/bootstrap-select.less","bootstrap-select.css"],"names":[],"mappings":"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","file":"bootstrap-select.css","sourcesContent":["@import \"variables\";\n\n// Mixins\n.cursor-disabled() {\n cursor: not-allowed;\n}\n\n// Rules\nselect.bs-select-hidden,\nselect.selectpicker {\n display: none !important;\n}\n\n.bootstrap-select {\n width: 220px \\0; /*IE9 and below*/\n\n // The selectpicker button\n > .dropdown-toggle {\n width: 100%;\n padding-right: 25px;\n z-index: 1;\n\n &.bs-placeholder,\n &.bs-placeholder:hover,\n &.bs-placeholder:focus,\n &.bs-placeholder:active { color: @input-color-placeholder; }\n }\n\n > select {\n position: absolute !important;\n bottom: 0;\n left: 50%;\n display: block !important;\n width: 0.5px !important;\n height: 100% !important;\n padding: 0 !important;\n opacity: 0 !important;\n border: none;\n\n &.mobile-device {\n top: 0;\n left: 0;\n display: block !important;\n width: 100% !important;\n z-index: 2;\n }\n }\n\n // Error display\n .has-error & .dropdown-toggle,\n .error & .dropdown-toggle {\n border-color: @color-red-error;\n }\n\n &.fit-width {\n width: auto !important;\n }\n\n &:not([class*=\"col-\"]):not([class*=\"form-control\"]):not(.input-group-btn) {\n width: @width-default;\n }\n\n .dropdown-toggle:focus {\n outline: thin dotted #333333 !important;\n outline: 5px auto -webkit-focus-ring-color !important;\n outline-offset: -2px;\n }\n}\n\n.bootstrap-select.form-control {\n margin-bottom: 0;\n padding: 0;\n border: none;\n\n &:not([class*=\"col-\"]) {\n width: 100%;\n }\n\n &.input-group-btn {\n z-index: auto;\n\n &:not(:first-child):not(:last-child) {\n > .btn {\n border-radius: 0;\n }\n }\n }\n}\n\n// The selectpicker components\n.bootstrap-select.btn-group {\n &:not(.input-group-btn),\n &[class*=\"col-\"] {\n float: none;\n display: inline-block;\n margin-left: 0;\n }\n\n // Forces the pull to the right, if necessary\n &,\n &[class*=\"col-\"],\n .row &[class*=\"col-\"] {\n &.dropdown-menu-right {\n float: right;\n }\n }\n\n .form-inline &,\n .form-horizontal &,\n .form-group & {\n margin-bottom: 0;\n }\n\n .form-group-lg &.form-control,\n .form-group-sm &.form-control {\n padding: 0;\n }\n\n // Set the width of the live search (and any other form control within an inline form)\n // see https://github.com/silviomoreto/bootstrap-select/issues/685\n .form-inline & .form-control {\n width: 100%;\n }\n\n &.disabled,\n > .disabled {\n .cursor-disabled();\n\n &:focus {\n outline: none !important;\n }\n }\n\n &.bs-container {\n position: absolute;\n height: 0 !important;\n padding: 0 !important;\n \n .dropdown-menu {\n z-index: @zindex-select-dropdown;\n }\n }\n\n // The selectpicker button\n .dropdown-toggle {\n .filter-option {\n display: inline-block;\n overflow: hidden;\n width: 100%;\n text-align: left;\n }\n\n .caret {\n position: absolute;\n top: 50%;\n right: 12px;\n margin-top: -2px;\n vertical-align: middle;\n }\n }\n\n &[class*=\"col-\"] .dropdown-toggle {\n width: 100%;\n }\n\n // The selectpicker dropdown\n .dropdown-menu {\n min-width: 100%;\n box-sizing: border-box;\n\n &.inner {\n position: static;\n float: none;\n border: 0;\n padding: 0;\n margin: 0;\n border-radius: 0;\n box-shadow: none;\n }\n\n li {\n position: relative;\n\n &.active small {\n color: #fff;\n }\n\n &.disabled a {\n .cursor-disabled();\n }\n\n a {\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n\n &.opt {\n position: relative;\n padding-left: 2.25em;\n }\n\n span.check-mark {\n display: none;\n }\n\n span.text {\n display: inline-block;\n }\n }\n\n small {\n padding-left: 0.5em;\n }\n }\n\n .notify {\n position: absolute;\n bottom: 5px;\n width: 96%;\n margin: 0 2%;\n min-height: 26px;\n padding: 3px 5px;\n background: rgb(245, 245, 245);\n border: 1px solid rgb(227, 227, 227);\n box-shadow: inset 0 1px 1px fade(rgb(0, 0, 0), 5%);\n pointer-events: none;\n opacity: 0.9;\n box-sizing: border-box;\n }\n }\n\n .no-results {\n padding: 3px;\n background: #f5f5f5;\n margin: 0 5px;\n white-space: nowrap;\n }\n\n &.fit-width .dropdown-toggle {\n .filter-option {\n position: static;\n }\n\n .caret {\n position: static;\n top: auto;\n margin-top: -1px;\n }\n }\n\n &.show-tick .dropdown-menu li {\n &.selected a span.check-mark {\n position: absolute;\n display: inline-block;\n right: 15px;\n margin-top: 5px;\n }\n\n a span.text {\n margin-right: 34px;\n }\n }\n}\n\n.bootstrap-select.show-menu-arrow {\n &.open > .dropdown-toggle {\n z-index: (@zindex-select-dropdown + 1);\n }\n\n .dropdown-toggle {\n &:before {\n content: '';\n border-left: 7px solid transparent;\n border-right: 7px solid transparent;\n border-bottom: 7px solid @color-grey-arrow;\n position: absolute;\n bottom: -4px;\n left: 9px;\n display: none;\n }\n\n &:after {\n content: '';\n border-left: 6px solid transparent;\n border-right: 6px solid transparent;\n border-bottom: 6px solid white;\n position: absolute;\n bottom: -4px;\n left: 10px;\n display: none;\n }\n }\n\n &.dropup .dropdown-toggle {\n &:before {\n bottom: auto;\n top: -3px;\n border-top: 7px solid @color-grey-arrow;\n border-bottom: 0;\n }\n\n &:after {\n bottom: auto;\n top: -3px;\n border-top: 6px solid white;\n border-bottom: 0;\n }\n }\n\n &.pull-right .dropdown-toggle {\n &:before {\n right: 12px;\n left: auto;\n }\n\n &:after {\n right: 13px;\n left: auto;\n }\n }\n\n &.open > .dropdown-toggle {\n &:before,\n &:after {\n display: block;\n }\n }\n}\n\n.bs-searchbox,\n.bs-actionsbox,\n.bs-donebutton {\n padding: 4px 8px;\n}\n\n.bs-actionsbox {\n width: 100%;\n box-sizing: border-box;\n\n & .btn-group button {\n width: 50%;\n }\n}\n\n.bs-donebutton {\n float: left;\n width: 100%;\n box-sizing: border-box;\n\n & .btn-group button {\n width: 100%;\n }\n}\n\n.bs-searchbox {\n & + .bs-actionsbox {\n padding: 0 8px 4px;\n }\n\n & .form-control {\n margin-bottom: 0;\n width: 100%;\n float: none;\n }\n}\n","select.bs-select-hidden,\nselect.selectpicker {\n display: none !important;\n}\n.bootstrap-select {\n width: 220px \\0;\n /*IE9 and below*/\n}\n.bootstrap-select > .dropdown-toggle {\n width: 100%;\n padding-right: 25px;\n z-index: 1;\n}\n.bootstrap-select > .dropdown-toggle.bs-placeholder,\n.bootstrap-select > .dropdown-toggle.bs-placeholder:hover,\n.bootstrap-select > .dropdown-toggle.bs-placeholder:focus,\n.bootstrap-select > .dropdown-toggle.bs-placeholder:active {\n color: #999;\n}\n.bootstrap-select > select {\n position: absolute !important;\n bottom: 0;\n left: 50%;\n display: block !important;\n width: 0.5px !important;\n height: 100% !important;\n padding: 0 !important;\n opacity: 0 !important;\n border: none;\n}\n.bootstrap-select > select.mobile-device {\n top: 0;\n left: 0;\n display: block !important;\n width: 100% !important;\n z-index: 2;\n}\n.has-error .bootstrap-select .dropdown-toggle,\n.error .bootstrap-select .dropdown-toggle {\n border-color: #b94a48;\n}\n.bootstrap-select.fit-width {\n width: auto !important;\n}\n.bootstrap-select:not([class*=\"col-\"]):not([class*=\"form-control\"]):not(.input-group-btn) {\n width: 220px;\n}\n.bootstrap-select .dropdown-toggle:focus {\n outline: thin dotted #333333 !important;\n outline: 5px auto -webkit-focus-ring-color !important;\n outline-offset: -2px;\n}\n.bootstrap-select.form-control {\n margin-bottom: 0;\n padding: 0;\n border: none;\n}\n.bootstrap-select.form-control:not([class*=\"col-\"]) {\n width: 100%;\n}\n.bootstrap-select.form-control.input-group-btn {\n z-index: auto;\n}\n.bootstrap-select.form-control.input-group-btn:not(:first-child):not(:last-child) > .btn {\n border-radius: 0;\n}\n.bootstrap-select.btn-group:not(.input-group-btn),\n.bootstrap-select.btn-group[class*=\"col-\"] {\n float: none;\n display: inline-block;\n margin-left: 0;\n}\n.bootstrap-select.btn-group.dropdown-menu-right,\n.bootstrap-select.btn-group[class*=\"col-\"].dropdown-menu-right,\n.row .bootstrap-select.btn-group[class*=\"col-\"].dropdown-menu-right {\n float: right;\n}\n.form-inline .bootstrap-select.btn-group,\n.form-horizontal .bootstrap-select.btn-group,\n.form-group .bootstrap-select.btn-group {\n margin-bottom: 0;\n}\n.form-group-lg .bootstrap-select.btn-group.form-control,\n.form-group-sm .bootstrap-select.btn-group.form-control {\n padding: 0;\n}\n.form-inline .bootstrap-select.btn-group .form-control {\n width: 100%;\n}\n.bootstrap-select.btn-group.disabled,\n.bootstrap-select.btn-group > .disabled {\n cursor: not-allowed;\n}\n.bootstrap-select.btn-group.disabled:focus,\n.bootstrap-select.btn-group > .disabled:focus {\n outline: none !important;\n}\n.bootstrap-select.btn-group.bs-container {\n position: absolute;\n height: 0 !important;\n padding: 0 !important;\n}\n.bootstrap-select.btn-group.bs-container .dropdown-menu {\n z-index: 1060;\n}\n.bootstrap-select.btn-group .dropdown-toggle .filter-option {\n display: inline-block;\n overflow: hidden;\n width: 100%;\n text-align: left;\n}\n.bootstrap-select.btn-group .dropdown-toggle .caret {\n position: absolute;\n top: 50%;\n right: 12px;\n margin-top: -2px;\n vertical-align: middle;\n}\n.bootstrap-select.btn-group[class*=\"col-\"] .dropdown-toggle {\n width: 100%;\n}\n.bootstrap-select.btn-group .dropdown-menu {\n min-width: 100%;\n box-sizing: border-box;\n}\n.bootstrap-select.btn-group .dropdown-menu.inner {\n position: static;\n float: none;\n border: 0;\n padding: 0;\n margin: 0;\n border-radius: 0;\n box-shadow: none;\n}\n.bootstrap-select.btn-group .dropdown-menu li {\n position: relative;\n}\n.bootstrap-select.btn-group .dropdown-menu li.active small {\n color: #fff;\n}\n.bootstrap-select.btn-group .dropdown-menu li.disabled a {\n cursor: not-allowed;\n}\n.bootstrap-select.btn-group .dropdown-menu li a {\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.bootstrap-select.btn-group .dropdown-menu li a.opt {\n position: relative;\n padding-left: 2.25em;\n}\n.bootstrap-select.btn-group .dropdown-menu li a span.check-mark {\n display: none;\n}\n.bootstrap-select.btn-group .dropdown-menu li a span.text {\n display: inline-block;\n}\n.bootstrap-select.btn-group .dropdown-menu li small {\n padding-left: 0.5em;\n}\n.bootstrap-select.btn-group .dropdown-menu .notify {\n position: absolute;\n bottom: 5px;\n width: 96%;\n margin: 0 2%;\n min-height: 26px;\n padding: 3px 5px;\n background: #f5f5f5;\n border: 1px solid #e3e3e3;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);\n pointer-events: none;\n opacity: 0.9;\n box-sizing: border-box;\n}\n.bootstrap-select.btn-group .no-results {\n padding: 3px;\n background: #f5f5f5;\n margin: 0 5px;\n white-space: nowrap;\n}\n.bootstrap-select.btn-group.fit-width .dropdown-toggle .filter-option {\n position: static;\n}\n.bootstrap-select.btn-group.fit-width .dropdown-toggle .caret {\n position: static;\n top: auto;\n margin-top: -1px;\n}\n.bootstrap-select.btn-group.show-tick .dropdown-menu li.selected a span.check-mark {\n position: absolute;\n display: inline-block;\n right: 15px;\n margin-top: 5px;\n}\n.bootstrap-select.btn-group.show-tick .dropdown-menu li a span.text {\n margin-right: 34px;\n}\n.bootstrap-select.show-menu-arrow.open > .dropdown-toggle {\n z-index: 1061;\n}\n.bootstrap-select.show-menu-arrow .dropdown-toggle:before {\n content: '';\n border-left: 7px solid transparent;\n border-right: 7px solid transparent;\n border-bottom: 7px solid rgba(204, 204, 204, 0.2);\n position: absolute;\n bottom: -4px;\n left: 9px;\n display: none;\n}\n.bootstrap-select.show-menu-arrow .dropdown-toggle:after {\n content: '';\n border-left: 6px solid transparent;\n border-right: 6px solid transparent;\n border-bottom: 6px solid white;\n position: absolute;\n bottom: -4px;\n left: 10px;\n display: none;\n}\n.bootstrap-select.show-menu-arrow.dropup .dropdown-toggle:before {\n bottom: auto;\n top: -3px;\n border-top: 7px solid rgba(204, 204, 204, 0.2);\n border-bottom: 0;\n}\n.bootstrap-select.show-menu-arrow.dropup .dropdown-toggle:after {\n bottom: auto;\n top: -3px;\n border-top: 6px solid white;\n border-bottom: 0;\n}\n.bootstrap-select.show-menu-arrow.pull-right .dropdown-toggle:before {\n right: 12px;\n left: auto;\n}\n.bootstrap-select.show-menu-arrow.pull-right .dropdown-toggle:after {\n right: 13px;\n left: auto;\n}\n.bootstrap-select.show-menu-arrow.open > .dropdown-toggle:before,\n.bootstrap-select.show-menu-arrow.open > .dropdown-toggle:after {\n display: block;\n}\n.bs-searchbox,\n.bs-actionsbox,\n.bs-donebutton {\n padding: 4px 8px;\n}\n.bs-actionsbox {\n width: 100%;\n box-sizing: border-box;\n}\n.bs-actionsbox .btn-group button {\n width: 50%;\n}\n.bs-donebutton {\n float: left;\n width: 100%;\n box-sizing: border-box;\n}\n.bs-donebutton .btn-group button {\n width: 100%;\n}\n.bs-searchbox + .bs-actionsbox {\n padding: 0 8px 4px;\n}\n.bs-searchbox .form-control {\n margin-bottom: 0;\n width: 100%;\n float: none;\n}\n/*# sourceMappingURL=bootstrap-select.css.map */"]}
|
@@ -0,0 +1,389 @@
|
|
1
|
+
@import "variables";
|
2
|
+
|
3
|
+
// Mixins
|
4
|
+
@mixin cursor-disabled() {
|
5
|
+
cursor: not-allowed;
|
6
|
+
}
|
7
|
+
|
8
|
+
@mixin box-sizing($fmt) {
|
9
|
+
-webkit-box-sizing: $fmt;
|
10
|
+
-moz-box-sizing: $fmt;
|
11
|
+
box-sizing: $fmt;
|
12
|
+
}
|
13
|
+
|
14
|
+
@mixin box-shadow($fmt) {
|
15
|
+
-webkit-box-shadow: $fmt;
|
16
|
+
box-shadow: $fmt;
|
17
|
+
}
|
18
|
+
|
19
|
+
@function fade($color, $amnt) {
|
20
|
+
@if $amnt > 1 {
|
21
|
+
$amnt: $amnt / 100; // convert to percentage if int
|
22
|
+
}
|
23
|
+
@return rgba($color, $amnt);
|
24
|
+
}
|
25
|
+
|
26
|
+
// Rules
|
27
|
+
select.bs-select-hidden,
|
28
|
+
select.selectpicker {
|
29
|
+
display: none !important;
|
30
|
+
}
|
31
|
+
|
32
|
+
.bootstrap-select {
|
33
|
+
width: 220px \0; /*IE9 and below*/
|
34
|
+
|
35
|
+
// The selectpicker button
|
36
|
+
> .dropdown-toggle {
|
37
|
+
width: 100%;
|
38
|
+
padding-right: 25px;
|
39
|
+
z-index: 1;
|
40
|
+
|
41
|
+
&.bs-placeholder,
|
42
|
+
&.bs-placeholder:hover,
|
43
|
+
&.bs-placeholder:focus,
|
44
|
+
&.bs-placeholder:active { color: $input-color-placeholder; }
|
45
|
+
}
|
46
|
+
|
47
|
+
> select {
|
48
|
+
position: absolute !important;
|
49
|
+
bottom: 0;
|
50
|
+
left: 50%;
|
51
|
+
display: block !important;
|
52
|
+
width: 0.5px !important;
|
53
|
+
height: 100% !important;
|
54
|
+
padding: 0 !important;
|
55
|
+
opacity: 0 !important;
|
56
|
+
border: none;
|
57
|
+
|
58
|
+
&.mobile-device {
|
59
|
+
top: 0;
|
60
|
+
left: 0;
|
61
|
+
display: block !important;
|
62
|
+
width: 100% !important;
|
63
|
+
z-index: 2;
|
64
|
+
}
|
65
|
+
}
|
66
|
+
|
67
|
+
// Error display
|
68
|
+
.has-error & .dropdown-toggle,
|
69
|
+
.error & .dropdown-toggle {
|
70
|
+
border-color: $color-red-error;
|
71
|
+
}
|
72
|
+
|
73
|
+
&.fit-width {
|
74
|
+
width: auto !important;
|
75
|
+
}
|
76
|
+
|
77
|
+
&:not([class*="col-"]):not([class*="form-control"]):not(.input-group-btn) {
|
78
|
+
width: $width-default;
|
79
|
+
}
|
80
|
+
|
81
|
+
.dropdown-toggle:focus {
|
82
|
+
outline: thin dotted #333333 !important;
|
83
|
+
outline: 5px auto -webkit-focus-ring-color !important;
|
84
|
+
outline-offset: -2px;
|
85
|
+
}
|
86
|
+
}
|
87
|
+
|
88
|
+
.bootstrap-select.form-control {
|
89
|
+
margin-bottom: 0;
|
90
|
+
padding: 0;
|
91
|
+
border: none;
|
92
|
+
|
93
|
+
&:not([class*="col-"]) {
|
94
|
+
width: 100%;
|
95
|
+
}
|
96
|
+
|
97
|
+
&.input-group-btn {
|
98
|
+
z-index: auto;
|
99
|
+
|
100
|
+
&:not(:first-child):not(:last-child) {
|
101
|
+
> .btn {
|
102
|
+
border-radius: 0;
|
103
|
+
}
|
104
|
+
}
|
105
|
+
}
|
106
|
+
}
|
107
|
+
|
108
|
+
// The selectpicker components
|
109
|
+
.bootstrap-select.btn-group {
|
110
|
+
&:not(.input-group-btn),
|
111
|
+
&[class*="col-"] {
|
112
|
+
float: none;
|
113
|
+
display: inline-block;
|
114
|
+
margin-left: 0;
|
115
|
+
}
|
116
|
+
|
117
|
+
// Forces the pull to the right, if necessary
|
118
|
+
&,
|
119
|
+
&[class*="col-"],
|
120
|
+
.row &[class*="col-"] {
|
121
|
+
&.dropdown-menu-right {
|
122
|
+
float: right;
|
123
|
+
}
|
124
|
+
}
|
125
|
+
|
126
|
+
.form-inline &,
|
127
|
+
.form-horizontal &,
|
128
|
+
.form-group & {
|
129
|
+
margin-bottom: 0;
|
130
|
+
}
|
131
|
+
|
132
|
+
.form-group-lg &.form-control,
|
133
|
+
.form-group-sm &.form-control {
|
134
|
+
padding: 0;
|
135
|
+
|
136
|
+
.dropdown-toggle {
|
137
|
+
height: 100%;
|
138
|
+
font-size: inherit;
|
139
|
+
line-height: inherit;
|
140
|
+
border-radius: inherit;
|
141
|
+
}
|
142
|
+
}
|
143
|
+
|
144
|
+
// Set the width of the live search (and any other form control within an inline form)
|
145
|
+
// see https://github.com/silviomoreto/bootstrap-select/issues/685
|
146
|
+
.form-inline & .form-control {
|
147
|
+
width: 100%;
|
148
|
+
}
|
149
|
+
|
150
|
+
&.disabled,
|
151
|
+
> .disabled {
|
152
|
+
@include cursor-disabled();
|
153
|
+
|
154
|
+
&:focus {
|
155
|
+
outline: none !important;
|
156
|
+
}
|
157
|
+
}
|
158
|
+
|
159
|
+
&.bs-container {
|
160
|
+
position: absolute;
|
161
|
+
height: 0 !important;
|
162
|
+
padding: 0 !important;
|
163
|
+
|
164
|
+
.dropdown-menu {
|
165
|
+
z-index: $zindex-select-dropdown;
|
166
|
+
}
|
167
|
+
}
|
168
|
+
|
169
|
+
// The selectpicker button
|
170
|
+
.dropdown-toggle {
|
171
|
+
.filter-option {
|
172
|
+
display: inline-block;
|
173
|
+
overflow: hidden;
|
174
|
+
width: 100%;
|
175
|
+
text-align: left;
|
176
|
+
}
|
177
|
+
|
178
|
+
.caret {
|
179
|
+
position: absolute;
|
180
|
+
top: 50%;
|
181
|
+
right: 12px;
|
182
|
+
margin-top: -2px;
|
183
|
+
vertical-align: middle;
|
184
|
+
}
|
185
|
+
}
|
186
|
+
|
187
|
+
&[class*="col-"] .dropdown-toggle {
|
188
|
+
width: 100%;
|
189
|
+
}
|
190
|
+
|
191
|
+
// The selectpicker dropdown
|
192
|
+
.dropdown-menu {
|
193
|
+
min-width: 100%;
|
194
|
+
@include box-sizing(border-box);
|
195
|
+
|
196
|
+
&.inner {
|
197
|
+
position: static;
|
198
|
+
float: none;
|
199
|
+
border: 0;
|
200
|
+
padding: 0;
|
201
|
+
margin: 0;
|
202
|
+
border-radius: 0;
|
203
|
+
box-shadow: none;
|
204
|
+
}
|
205
|
+
|
206
|
+
li {
|
207
|
+
position: relative;
|
208
|
+
|
209
|
+
&.active small {
|
210
|
+
color: #fff;
|
211
|
+
}
|
212
|
+
|
213
|
+
&.disabled a {
|
214
|
+
@include cursor-disabled();
|
215
|
+
}
|
216
|
+
|
217
|
+
a {
|
218
|
+
cursor: pointer;
|
219
|
+
user-select: none;
|
220
|
+
|
221
|
+
&.opt {
|
222
|
+
position: relative;
|
223
|
+
padding-left: 2.25em;
|
224
|
+
}
|
225
|
+
|
226
|
+
span.check-mark {
|
227
|
+
display: none;
|
228
|
+
}
|
229
|
+
|
230
|
+
span.text {
|
231
|
+
display: inline-block;
|
232
|
+
}
|
233
|
+
}
|
234
|
+
|
235
|
+
small {
|
236
|
+
padding-left: 0.5em;
|
237
|
+
}
|
238
|
+
}
|
239
|
+
|
240
|
+
.notify {
|
241
|
+
position: absolute;
|
242
|
+
bottom: 5px;
|
243
|
+
width: 96%;
|
244
|
+
margin: 0 2%;
|
245
|
+
min-height: 26px;
|
246
|
+
padding: 3px 5px;
|
247
|
+
background: rgb(245, 245, 245);
|
248
|
+
border: 1px solid rgb(227, 227, 227);
|
249
|
+
@include box-shadow(inset 0 1px 1px fade(rgb(0, 0, 0), 5));
|
250
|
+
pointer-events: none;
|
251
|
+
opacity: 0.9;
|
252
|
+
@include box-sizing(border-box);
|
253
|
+
}
|
254
|
+
}
|
255
|
+
|
256
|
+
.no-results {
|
257
|
+
padding: 3px;
|
258
|
+
background: #f5f5f5;
|
259
|
+
margin: 0 5px;
|
260
|
+
white-space: nowrap;
|
261
|
+
}
|
262
|
+
|
263
|
+
&.fit-width .dropdown-toggle {
|
264
|
+
.filter-option {
|
265
|
+
position: static;
|
266
|
+
}
|
267
|
+
|
268
|
+
.caret {
|
269
|
+
position: static;
|
270
|
+
top: auto;
|
271
|
+
margin-top: -1px;
|
272
|
+
}
|
273
|
+
}
|
274
|
+
|
275
|
+
&.show-tick .dropdown-menu li {
|
276
|
+
&.selected a span.check-mark {
|
277
|
+
position: absolute;
|
278
|
+
display: inline-block;
|
279
|
+
right: 15px;
|
280
|
+
margin-top: 5px;
|
281
|
+
}
|
282
|
+
|
283
|
+
a span.text {
|
284
|
+
margin-right: 34px;
|
285
|
+
}
|
286
|
+
}
|
287
|
+
}
|
288
|
+
|
289
|
+
.bootstrap-select.show-menu-arrow {
|
290
|
+
&.open > .dropdown-toggle {
|
291
|
+
z-index: ($zindex-select-dropdown + 1);
|
292
|
+
}
|
293
|
+
|
294
|
+
.dropdown-toggle {
|
295
|
+
&:before {
|
296
|
+
content: '';
|
297
|
+
border-left: 7px solid transparent;
|
298
|
+
border-right: 7px solid transparent;
|
299
|
+
border-bottom: 7px solid $color-grey-arrow;
|
300
|
+
position: absolute;
|
301
|
+
bottom: -4px;
|
302
|
+
left: 9px;
|
303
|
+
display: none;
|
304
|
+
}
|
305
|
+
|
306
|
+
&:after {
|
307
|
+
content: '';
|
308
|
+
border-left: 6px solid transparent;
|
309
|
+
border-right: 6px solid transparent;
|
310
|
+
border-bottom: 6px solid white;
|
311
|
+
position: absolute;
|
312
|
+
bottom: -4px;
|
313
|
+
left: 10px;
|
314
|
+
display: none;
|
315
|
+
}
|
316
|
+
}
|
317
|
+
|
318
|
+
&.dropup .dropdown-toggle {
|
319
|
+
&:before {
|
320
|
+
bottom: auto;
|
321
|
+
top: -3px;
|
322
|
+
border-top: 7px solid $color-grey-arrow;
|
323
|
+
border-bottom: 0;
|
324
|
+
}
|
325
|
+
|
326
|
+
&:after {
|
327
|
+
bottom: auto;
|
328
|
+
top: -3px;
|
329
|
+
border-top: 6px solid white;
|
330
|
+
border-bottom: 0;
|
331
|
+
}
|
332
|
+
}
|
333
|
+
|
334
|
+
&.pull-right .dropdown-toggle {
|
335
|
+
&:before {
|
336
|
+
right: 12px;
|
337
|
+
left: auto;
|
338
|
+
}
|
339
|
+
|
340
|
+
&:after {
|
341
|
+
right: 13px;
|
342
|
+
left: auto;
|
343
|
+
}
|
344
|
+
}
|
345
|
+
|
346
|
+
&.open > .dropdown-toggle {
|
347
|
+
&:before,
|
348
|
+
&:after {
|
349
|
+
display: block;
|
350
|
+
}
|
351
|
+
}
|
352
|
+
}
|
353
|
+
|
354
|
+
.bs-searchbox,
|
355
|
+
.bs-actionsbox,
|
356
|
+
.bs-donebutton {
|
357
|
+
padding: 4px 8px;
|
358
|
+
}
|
359
|
+
|
360
|
+
.bs-actionsbox {
|
361
|
+
width: 100%;
|
362
|
+
@include box-sizing(border-box);
|
363
|
+
|
364
|
+
& .btn-group button {
|
365
|
+
width: 50%;
|
366
|
+
}
|
367
|
+
}
|
368
|
+
|
369
|
+
.bs-donebutton {
|
370
|
+
float: left;
|
371
|
+
width: 100%;
|
372
|
+
@include box-sizing(border-box);
|
373
|
+
|
374
|
+
& .btn-group button {
|
375
|
+
width: 100%;
|
376
|
+
}
|
377
|
+
}
|
378
|
+
|
379
|
+
.bs-searchbox {
|
380
|
+
& + .bs-actionsbox {
|
381
|
+
padding: 0 8px 4px;
|
382
|
+
}
|
383
|
+
|
384
|
+
& .form-control {
|
385
|
+
margin-bottom: 0;
|
386
|
+
width: 100%;
|
387
|
+
float: none;
|
388
|
+
}
|
389
|
+
}
|