Skip to content

Commit 5283318

Browse files
authored
Merge pull request #1154 from s-eckard/master
Update multiselect to Bootstrap v4
2 parents 36c206e + cdaf545 commit 5283318

32 files changed

Lines changed: 15364 additions & 1175 deletions

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
],
1919
"dependencies": {
2020
"jquery": ">= 1.11.0",
21-
"bootstrap": ">= 2.3.2"
21+
"bootstrap": ">= 4.5.2"
2222
},
2323
"ignore": [
2424
"docs/.*",

dist/css/bootstrap-multiselect.css

Lines changed: 87 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,87 @@
1-
span.multiselect-native-select{position:relative}span.multiselect-native-select select{border:0!important;clip:rect(0 0 0 0)!important;height:1px!important;margin:-1px -1px -1px -3px!important;overflow:hidden!important;padding:0!important;position:absolute!important;width:1px!important;left:50%;top:30px}.multiselect-container{position:absolute;list-style-type:none;margin:0;padding:0}.multiselect-container .input-group{margin:5px}.multiselect-container .multiselect-reset .input-group{width:93%}.multiselect-container>li{padding:0}.multiselect-container>li>a.multiselect-all label{font-weight:700}.multiselect-container>li.multiselect-group label{margin:0;padding:3px 20px;height:100%;font-weight:700}.multiselect-container>li.multiselect-group-clickable label{cursor:pointer}.multiselect-container>li>a{padding:0}.multiselect-container>li>a>label{margin:0;height:100%;cursor:pointer;font-weight:400;padding:3px 20px 3px 40px}.multiselect-container>li>a>label.checkbox,.multiselect-container>li>a>label.radio{margin:0}.multiselect-container>li>a>label>input[type=checkbox]{margin-bottom:5px}.btn-group>.btn-group:nth-child(2)>.multiselect.btn{border-top-left-radius:4px;border-bottom-left-radius:4px}.form-inline .multiselect-container label.checkbox,.form-inline .multiselect-container label.radio{padding:3px 20px 3px 40px}.form-inline .multiselect-container li a label.checkbox input[type=checkbox],.form-inline .multiselect-container li a label.radio input[type=radio]{margin-left:-20px;margin-right:0}
1+
/**
2+
* Bootstrap Multiselect (http://davidstutz.de/bootstrap-multiselect/)
3+
*
4+
* Apache License, Version 2.0:
5+
* Copyright (c) 2012 - 2020 David Stutz
6+
*
7+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
8+
* use this file except in compliance with the License. You may obtain a
9+
* copy of the License at http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14+
* License for the specific language governing permissions and limitations
15+
* under the License.
16+
*
17+
* BSD 3-Clause License:
18+
* Copyright (c) 2012 - 2020 David Stutz
19+
* All rights reserved.
20+
*
21+
* Redistribution and use in source and binary forms, with or without
22+
* modification, are permitted provided that the following conditions are met:
23+
* - Redistributions of source code must retain the above copyright notice,
24+
* this list of conditions and the following disclaimer.
25+
* - Redistributions in binary form must reproduce the above copyright notice,
26+
* this list of conditions and the following disclaimer in the documentation
27+
* and/or other materials provided with the distribution.
28+
* - Neither the name of David Stutz nor the names of its contributors may be
29+
* used to endorse or promote products derived from this software without
30+
* specific prior written permission.
31+
*
32+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
33+
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
34+
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
35+
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
36+
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
37+
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
38+
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
39+
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
40+
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
41+
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
42+
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
43+
*/
44+
span.multiselect-native-select {
45+
position: relative;
46+
}
47+
span.multiselect-native-select select {
48+
border: 0 !important;
49+
clip: rect(0 0 0 0) !important;
50+
height: 1px !important;
51+
margin: -1px -1px -1px -3px !important;
52+
overflow: hidden !important;
53+
padding: 0 !important;
54+
position: absolute !important;
55+
width: 1px !important;
56+
left: 50%;
57+
top: 30px;
58+
}
59+
.multiselect.dropdown-toggle:after {
60+
display: none;
61+
}
62+
.multiselect-container {
63+
position: absolute;
64+
list-style-type: none;
65+
margin: 0;
66+
padding: 0;
67+
}
68+
.multiselect-container .multiselect-reset .input-group {
69+
width: 93%;
70+
}
71+
.multiselect-container > .multiselect-option.dropdown-item,
72+
.multiselect-container .multiselect-group.dropdown-item,
73+
.multiselect-container > .multiselect-option.dropdown-toggle,
74+
.multiselect-container .multiselect-group.dropdown-toggle {
75+
cursor: pointer;
76+
}
77+
.multiselect-container > .multiselect-option > span,
78+
.multiselect-container .multiselect-group > span {
79+
padding: 3px 20px;
80+
}
81+
.multiselect-container > .multiselect-option > span > .form-check-label,
82+
.multiselect-container .multiselect-group > span > .form-check-label {
83+
cursor: pointer;
84+
}
85+
.form-inline .multiselect-container span.form-check {
86+
padding: 3px 20px 3px 40px;
87+
}

dist/css/bootstrap-multiselect.min.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)