|
4 | 4 |
|
5 | 5 | /* ! vertical layout */
|
6 | 6 | .multiSelect .vertical {
|
7 |
| - float: none; |
| 7 | + float: none; |
8 | 8 | }
|
9 | 9 |
|
10 | 10 | /* ! horizontal layout */
|
|
15 | 15 | /* ! create a "row" */
|
16 | 16 | .multiSelect .line {
|
17 | 17 | padding: 2px 0px 4px 0px;
|
18 |
| - max-height: 30px; |
| 18 | + max-height: 30px; |
19 | 19 | overflow: hidden;
|
20 | 20 | box-sizing: content-box;
|
21 | 21 | }
|
22 | 22 |
|
23 | 23 | /* ! create a "column" */
|
24 | 24 | .multiSelect .acol {
|
25 |
| - display: inline-block; |
| 25 | + display: inline-block; |
26 | 26 | min-width: 12px;
|
27 | 27 | }
|
28 | 28 |
|
|
35 | 35 | .multiSelect > button {
|
36 | 36 | display: inline-block;
|
37 | 37 | position: relative;
|
38 |
| - text-align: center; |
| 38 | + text-align: center; |
39 | 39 | cursor: pointer;
|
40 |
| - border: 1px solid #c6c6c6; |
41 |
| - padding: 1px 8px 1px 8px; |
| 40 | + border: 1px solid #c6c6c6; |
| 41 | + padding: 1px 8px 1px 8px; |
42 | 42 | font-size: 14px;
|
43 | 43 | min-height : 38px !important;
|
44 | 44 | border-radius: 4px;
|
45 |
| - color: #555; |
| 45 | + color: #555; |
46 | 46 | -webkit-user-select: none;
|
47 | 47 | -moz-user-select: none;
|
48 | 48 | -ms-user-select: none;
|
49 | 49 | -o-user-select: none;
|
50 |
| - user-select: none; |
| 50 | + user-select: none; |
51 | 51 | white-space:normal;
|
52 | 52 | background-color: #fff;
|
53 |
| - background-image: linear-gradient(#fff, #f7f7f7); |
| 53 | + background-image: linear-gradient(#fff, #f7f7f7); |
54 | 54 | }
|
55 | 55 |
|
56 | 56 | /* button: hover */
|
57 |
| -.multiSelect > button:hover { |
58 |
| - background-image: linear-gradient(#fff, #e9e9e9); |
| 57 | +.multiSelect > button:hover { |
| 58 | + background-image: linear-gradient(#fff, #e9e9e9); |
59 | 59 | }
|
60 | 60 |
|
61 | 61 | /* button: disabled */
|
62 | 62 | .multiSelect > button:disabled {
|
63 |
| - background-image: linear-gradient(#fff, #fff); |
64 |
| - border: 1px solid #ddd; |
| 63 | + background-image: linear-gradient(#fff, #fff); |
| 64 | + border: 1px solid #ddd; |
65 | 65 | color: #999;
|
66 | 66 | }
|
67 | 67 |
|
|
73 | 73 | /* labels on the button */
|
74 | 74 | .multiSelect .buttonLabel {
|
75 | 75 | display: inline-block;
|
76 |
| - padding: 5px 0px 5px 0px; |
| 76 | + padding: 5px 0px 5px 0px; |
77 | 77 | }
|
78 | 78 |
|
79 | 79 | /* downward pointing arrow */
|
80 | 80 | .multiSelect .caret {
|
81 | 81 | display: inline-block;
|
82 | 82 | width: 0;
|
83 | 83 | height: 0;
|
84 |
| - margin: 0px 0px 1px 12px !important; |
| 84 | + margin: 0px 0px 1px 12px !important; |
85 | 85 | vertical-align: middle;
|
86 | 86 | border-top: 4px solid #333;
|
87 | 87 | border-right: 4px solid transparent;
|
88 | 88 | border-left: 4px solid transparent;
|
89 |
| - border-bottom: 0 dotted; |
| 89 | + border-bottom: 0 dotted; |
90 | 90 | }
|
91 | 91 |
|
92 | 92 | /* the main checkboxes and helper layer */
|
|
97 | 97 | border: 1px solid rgba(0, 0, 0, 0.15);
|
98 | 98 | border-radius: 4px;
|
99 | 99 | -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
100 |
| - box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); |
| 100 | + box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); |
101 | 101 | min-width:278px;
|
102 |
| - display: none !important; |
| 102 | + display: none !important; |
103 | 103 | }
|
104 | 104 |
|
105 | 105 | /* container of helper elements */
|
106 | 106 | .multiSelect .helperContainer {
|
107 | 107 | border-bottom: 1px solid #ddd;
|
108 |
| - padding: 8px 8px 0px 8px; |
| 108 | + padding: 8px 8px 0px 8px; |
109 | 109 | }
|
110 | 110 |
|
111 | 111 | /* helper buttons (select all, none, reset); */
|
|
117 | 117 | height: 26px;
|
118 | 118 | font-size: 13px;
|
119 | 119 | border-radius: 2px;
|
120 |
| - color: #666; |
| 120 | + color: #666; |
121 | 121 | background-color: #f1f1f1;
|
122 | 122 | line-height: 1.6;
|
123 | 123 | margin: 0px 0px 8px 0px;
|
|
128 | 128 | }
|
129 | 129 |
|
130 | 130 | .multiSelect .helperButton:not( .reset ) {
|
131 |
| - margin-right: 4px; |
| 131 | + margin-right: 4px; |
132 | 132 | }
|
133 | 133 |
|
134 | 134 | /* clear button */
|
|
142 | 142 | width: 22px;
|
143 | 143 | font-size: 13px;
|
144 | 144 | border-radius: 2px;
|
145 |
| - color: #666; |
| 145 | + color: #666; |
146 | 146 | background-color: #f1f1f1;
|
147 | 147 | line-height: 1.4;
|
148 | 148 | right : 2px;
|
|
151 | 151 |
|
152 | 152 | /* filter */
|
153 | 153 | .multiSelect .inputFilter {
|
154 |
| - border-radius: 2px; |
| 154 | + border-radius: 2px; |
155 | 155 | border: 1px solid #ccc;
|
156 | 156 | height: 26px;
|
157 | 157 | font-size: 14px;
|
158 |
| - width:100%; |
| 158 | + width:100%; |
159 | 159 | padding-left:7px;
|
160 | 160 | -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
|
161 | 161 | -moz-box-sizing: border-box; /* Firefox, other Gecko */
|
162 |
| - box-sizing: border-box; /* Opera/IE 8+ */ |
| 162 | + box-sizing: border-box; /* Opera/IE 8+ */ |
163 | 163 | color: #888;
|
164 | 164 | margin: 0px 0px 8px 0px;
|
165 | 165 | -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
|
166 |
| - box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); |
| 166 | + box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); |
167 | 167 | }
|
168 | 168 |
|
169 | 169 | /* helper elements on hover & focus */
|
170 | 170 | .multiSelect .clearButton:hover,
|
171 | 171 | .multiSelect .helperButton:hover {
|
172 | 172 | border: 1px solid #ccc;
|
173 |
| - color: #999; |
174 |
| - background-color: #f4f4f4; |
| 173 | + color: #999; |
| 174 | + background-color: #f4f4f4; |
175 | 175 | }
|
176 | 176 | .multiSelect .helperButton:disabled {
|
177 |
| - color: #ccc; |
| 177 | + color: #ccc; |
178 | 178 | border: 1px solid #ddd;
|
179 | 179 | }
|
180 | 180 |
|
|
184 | 184 | border: 1px solid #66AFE9 !important;
|
185 | 185 | outline: 0;
|
186 | 186 | -webkit-box-shadow: inset 0 0 1px rgba(0,0,0,.065), 0 0 5px rgba(102, 175, 233, .6) !important;
|
187 |
| - box-shadow: inset 0 0 1px rgba(0,0,0,.065), 0 0 5px rgba(102, 175, 233, .6) !important; |
| 187 | + box-shadow: inset 0 0 1px rgba(0,0,0,.065), 0 0 5px rgba(102, 175, 233, .6) !important; |
188 | 188 | }
|
189 | 189 |
|
190 | 190 | /* container of multi select items */
|
191 | 191 | .multiSelect .checkBoxContainer {
|
192 | 192 | display: block;
|
193 |
| - padding: 8px; |
| 193 | + padding: 8px; |
194 | 194 | overflow: hidden;
|
195 | 195 | }
|
196 | 196 |
|
|
203 | 203 | .multiSelect .multiSelectItem {
|
204 | 204 | display: block;
|
205 | 205 | padding: 3px;
|
206 |
| - color: #444; |
| 206 | + color: #444; |
207 | 207 | white-space: nowrap;
|
208 | 208 | -webkit-user-select: none;
|
209 | 209 | -moz-user-select: none;
|
210 | 210 | -ms-user-select: none;
|
211 | 211 | -o-user-select: none;
|
212 |
| - user-select: none; |
| 212 | + user-select: none; |
213 | 213 | border: 1px solid transparent;
|
214 | 214 | position: relative;
|
215 |
| - min-width:278px; |
216 |
| - min-height: 32px; |
| 215 | + min-width:278px; |
| 216 | + min-height: 32px; |
217 | 217 | }
|
218 | 218 |
|
219 | 219 | /* Styling on selected items */
|
220 | 220 | .multiSelect .multiSelectItem:not(.multiSelectGroup).selected
|
221 | 221 | {
|
222 |
| - background-image: linear-gradient( #e9e9e9, #f1f1f1 ); |
223 |
| - color: #555; |
224 |
| - cursor: pointer; |
| 222 | + background-image: linear-gradient( #e9e9e9, #f1f1f1 ); |
| 223 | + color: #555; |
| 224 | + cursor: pointer; |
225 | 225 | border-top: 1px solid #e4e4e4;
|
226 |
| - border-left: 1px solid #e4e4e4; |
227 |
| - border-right: 1px solid #d9d9d9; |
| 226 | + border-left: 1px solid #e4e4e4; |
| 227 | + border-right: 1px solid #d9d9d9; |
228 | 228 | }
|
229 | 229 |
|
230 | 230 | .multiSelect .multiSelectItem .acol label {
|
231 | 231 | display: inline-block;
|
232 |
| - padding-right: 30px; |
| 232 | + padding-right: 30px; |
233 | 233 | margin: 0px;
|
234 |
| - font-weight: normal; |
| 234 | + font-weight: normal; |
235 | 235 | line-height: normal;
|
236 | 236 | }
|
237 | 237 |
|
238 | 238 | /* item labels focus on mouse hover */
|
239 |
| -.multiSelect .multiSelectItem:hover, |
| 239 | +.multiSelect .multiSelectItem:hover, |
240 | 240 | .multiSelect .multiSelectGroup:hover {
|
241 |
| - background-image: linear-gradient( #c1c1c1, #999 ) !important; |
242 |
| - color: #fff !important; |
243 |
| - cursor: pointer; |
| 241 | + background-image: linear-gradient( #c1c1c1, #999 ) !important; |
| 242 | + color: #fff !important; |
| 243 | + cursor: pointer; |
244 | 244 | border: 1px solid #ccc !important;
|
245 | 245 | }
|
246 | 246 |
|
247 | 247 | /* item labels focus using keyboard */
|
248 |
| -.multiSelect .multiSelectFocus { |
249 |
| - background-image: linear-gradient( #c1c1c1, #999 ) !important; |
250 |
| - color: #fff !important; |
251 |
| - cursor: pointer; |
| 248 | +.multiSelect .multiSelectFocus { |
| 249 | + background-image: linear-gradient( #c1c1c1, #999 ) !important; |
| 250 | + color: #fff !important; |
| 251 | + cursor: pointer; |
252 | 252 | border: 1px solid #ccc !important;
|
253 | 253 | }
|
254 | 254 |
|
255 | 255 | /* change mouse pointer into the pointing finger */
|
256 |
| -.multiSelect .multiSelectItem span:hover, |
| 256 | +.multiSelect .multiSelectItem span:hover, |
257 | 257 | .multiSelect .multiSelectGroup span:hover
|
258 |
| -{ |
259 |
| - cursor: pointer; |
| 258 | +{ |
| 259 | + cursor: pointer; |
260 | 260 | }
|
261 | 261 |
|
262 | 262 | /* ! group labels */
|
263 |
| -.multiSelect .multiSelectGroup { |
| 263 | +.multiSelect .multiSelectGroup { |
264 | 264 | display: block;
|
265 | 265 | clear: both;
|
266 | 266 | }
|
267 | 267 |
|
268 | 268 | /* right-align the tick mark (✔) */
|
269 | 269 | .multiSelect .tickMark {
|
270 |
| - display:inline-block; |
271 |
| - position: absolute; |
272 |
| - right: 10px; |
| 270 | + display:inline-block; |
| 271 | + position: absolute; |
| 272 | + right: 10px; |
273 | 273 | top: 7px;
|
274 |
| - font-size: 10px; |
| 274 | + font-size: 10px; |
275 | 275 | }
|
276 | 276 |
|
277 | 277 | /* hide the original HTML checkbox away */
|
278 |
| -.multiSelect .checkbox { |
279 |
| - color: #ddd !important; |
| 278 | +.multiSelect .checkbox { |
| 279 | + color: #ddd !important; |
280 | 280 | position: absolute;
|
281 | 281 | left: -9999px;
|
282 |
| - cursor: pointer; |
| 282 | + cursor: pointer; |
283 | 283 | }
|
284 | 284 |
|
285 | 285 | /* checkboxes currently disabled */
|
286 |
| -.multiSelect .disabled, |
| 286 | +.multiSelect .disabled, |
287 | 287 | .multiSelect .disabled:hover,
|
288 | 288 | .multiSelect .disabled label input:hover ~ span {
|
289 | 289 | color: #c4c4c4 !important;
|
|
297 | 297 | max-height: 22px;
|
298 | 298 | max-width:22px;
|
299 | 299 | }
|
| 300 | + |
| 301 | +.multiSelect .load-more-events { |
| 302 | + overflow: hidden; |
| 303 | + height: 0px; |
| 304 | +} |
| 305 | +.multiSelect .load-more-events.in-progress { |
| 306 | + height: auto; |
| 307 | +} |
0 commit comments