1
1
/*!
2
2
* ui-select
3
3
* http://github.com/angular-ui/ui-select
4
- * Version: 0.19.7 - 2017-04-15T14:28:36.790Z
4
+ * Version: 0.19.8 - 2018-01-11T13:06:09.355Z
5
5
* License: MIT
6
6
*/
7
7
21
21
overflow : hidden !important ;
22
22
position : absolute !important ;
23
23
outline : 0 !important ;
24
- left : 0 px !important ;
25
- top : 0 px !important ;
24
+ left : 0 !important ;
25
+ top : 0 !important ;
26
26
}
27
27
28
-
29
28
.ui-select-choices-row : hover {
30
29
background-color : # f5f5f5 ;
31
30
}
34
33
35
34
/* Mark invalid Select2 */
36
35
.ng-dirty .ng-invalid > a .select2-choice {
37
- border-color : # D44950 ;
36
+ border-color : # D44950 ;
38
37
}
39
38
40
39
.select2-result-single {
41
40
padding-left : 0 ;
42
41
}
43
42
44
- .select2-locked > .select2-search-choice-close {
45
- display : none;
43
+ .select2-locked > .select2-search-choice-close {
44
+ display : none;
46
45
}
47
46
48
- .select-locked > .ui-select-match-close {
49
- display : none;
47
+ .select-locked > .ui-select-match-close {
48
+ display : none;
50
49
}
51
50
52
51
body > .select2-container .open {
53
52
z-index : 9999 ; /* The z-index Select2 applies to the select2-drop */
54
53
}
55
54
55
+ .select2 .ui-select-footer ,
56
+ .select2 .ui-select-header {
57
+ padding : 4px 10px ;
58
+ }
59
+
60
+ .select2 .ui-select-footer {
61
+ border-top : 1px solid # dfe5eb ;
62
+ }
63
+
64
+ .select2 .ui-select-header {
65
+ border-bottom : 1px solid # dfe5eb ;
66
+ }
67
+
56
68
/* Handle up direction Select2 */
57
69
.ui-select-container [theme = "select2" ].direction-up .ui-select-match ,
58
70
.ui-select-container .select2 .direction-up .ui-select-match {
59
- border-radius : 4px ; /* FIXME hardcoded value :-/ */
60
- border-top-left-radius : 0 ;
61
- border-top-right-radius : 0 ;
71
+ border-radius : 4px ; /* FIXME hardcoded value :-/ */
72
+ border-top-left-radius : 0 ;
73
+ border-top-right-radius : 0 ;
62
74
}
75
+
63
76
.ui-select-container [theme = "select2" ].direction-up .ui-select-dropdown ,
64
77
.ui-select-container .select2 .direction-up .ui-select-dropdown {
65
- border-radius : 4px ; /* FIXME hardcoded value :-/ */
66
- border-bottom-left-radius : 0 ;
67
- border-bottom-right-radius : 0 ;
78
+ border-radius : 4px ; /* FIXME hardcoded value :-/ */
79
+ border-bottom-left-radius : 0 ;
80
+ border-bottom-right-radius : 0 ;
68
81
69
- border-top-width : 1px ; /* FIXME hardcoded value :-/ */
70
- border-top-style : solid;
82
+ border-top-width : 1px ; /* FIXME hardcoded value :-/ */
83
+ border-top-style : solid;
71
84
72
- box-shadow : 0 -4px 8px rgba (0 , 0 , 0 , 0.25 );
85
+ box-shadow : 0 -4px 8px rgba (0 , 0 , 0 , 0.25 );
73
86
74
- margin-top : -4px ; /* FIXME hardcoded value :-/ */
87
+ margin-top : -4px ; /* FIXME hardcoded value :-/ */
75
88
}
89
+
76
90
.ui-select-container [theme = "select2" ].direction-up .ui-select-dropdown .select2-search ,
77
91
.ui-select-container .select2 .direction-up .ui-select-dropdown .select2-search {
78
- margin-top : 4px ; /* FIXME hardcoded value :-/ */
92
+ margin-top : 4px ; /* FIXME hardcoded value :-/ */
79
93
}
94
+
80
95
.ui-select-container [theme = "select2" ].direction-up .select2-dropdown-open .ui-select-match ,
81
96
.ui-select-container .select2 .direction-up .select2-dropdown-open .ui-select-match {
82
- border-bottom-color : # 5897fb ;
97
+ border-bottom-color : # 5897fb ;
83
98
}
84
99
85
100
.ui-select-container [theme = "select2" ] .ui-select-dropdown .ui-select-search-hidden ,
86
- .ui-select-container [theme = "select2" ] .ui-select-dropdown .ui-select-search-hidden input {
87
- opacity : 0 ;
88
- height : 0 ;
89
- min-height : 0 ;
90
- padding : 0 ;
91
- margin : 0 ;
92
- border : 0 ;
101
+ .ui-select-container [theme = "select2" ] .ui-select-dropdown .ui-select-search-hidden input {
102
+ opacity : 0 ;
103
+ height : 0 ;
104
+ min-height : 0 ;
105
+ padding : 0 ;
106
+ margin : 0 ;
107
+ border : 0 ;
93
108
}
94
109
95
110
/* Selectize theme */
96
111
97
112
/* Helper class to show styles when focus */
98
- .selectize-input .selectize-focus {
113
+ .selectize-input .selectize-focus {
99
114
border-color : # 007FBB !important ;
100
115
}
101
116
@@ -114,25 +129,47 @@ body > .select2-container.open {
114
129
width : 100% ;
115
130
}
116
131
132
+ .selectize-dropdown .ui-select-footer ,
133
+ .selectize-dropdown .ui-select-header {
134
+ padding : 5px 8px ;
135
+ }
136
+
137
+ .selectize-dropdown .ui-select-header {
138
+ border-bottom : 1px solid # b8b8b8 ;
139
+ }
140
+
141
+ .selectize-dropdown .ui-select-footer {
142
+ border-top : 1px solid # b8b8b8 ;
143
+ }
144
+
117
145
/* Mark invalid Selectize */
118
146
.ng-dirty .ng-invalid > div .selectize-input {
119
- border-color : # D44950 ;
147
+ border-color : # D44950 ;
120
148
}
121
149
122
150
/* Handle up direction Selectize */
123
151
.ui-select-container [theme = "selectize" ].direction-up .ui-select-dropdown {
124
- box-shadow : 0 -4px 8px rgba (0 , 0 , 0 , 0.25 );
125
- margin-top : -2px ; /* FIXME hardcoded value :-/ */
152
+ box-shadow : 0 -4px 8px rgba (0 , 0 , 0 , 0.25 );
153
+ margin-top : -2px ; /* FIXME hardcoded value :-/ */
154
+ }
155
+
156
+ .ui-select-container [theme = "selectize" ] input .ui-select-search-hidden {
157
+ opacity : 0 ;
158
+ height : 0 ;
159
+ min-height : 0 ;
160
+ padding : 0 ;
161
+ margin : 0 ;
162
+ border : 0 ;
163
+ width : 0 ;
126
164
}
127
165
128
- .ui-select-container [theme = "selectize" ] input .ui-select-search-hidden {
129
- opacity : 0 ;
130
- height : 0 ;
131
- min-height : 0 ;
132
- padding : 0 ;
133
- margin : 0 ;
134
- border : 0 ;
135
- width : 0 ;
166
+ .ui-select-container [theme = "selectize" ] .ui-select-header-group-selectable : hover {
167
+ background-color : # f5f5f5 ;
168
+ }
169
+
170
+ .ui-select-container [theme = "selectize" ] .ui-select-header-group-selectable {
171
+ cursor : pointer;
172
+ padding-left : 15px ;
136
173
}
137
174
138
175
/* Bootstrap theme */
@@ -171,22 +208,23 @@ body > .select2-container.open {
171
208
border-top-right-radius : 0 ;
172
209
border-bottom-right-radius : 0 ;
173
210
}
211
+
174
212
.input-group > .ui-select-bootstrap > input .ui-select-search .form-control .direction-up {
175
213
border-radius : 4px !important ; /* FIXME hardcoded value :-/ */
176
214
border-top-right-radius : 0 !important ;
177
215
border-bottom-right-radius : 0 !important ;
178
216
}
179
217
180
- .ui-select-bootstrap .ui-select-search-hidden {
181
- opacity : 0 ;
182
- height : 0 ;
183
- min-height : 0 ;
184
- padding : 0 ;
185
- margin : 0 ;
186
- border : 0 ;
218
+ .ui-select-bootstrap .ui-select-search-hidden {
219
+ opacity : 0 ;
220
+ height : 0 ;
221
+ min-height : 0 ;
222
+ padding : 0 ;
223
+ margin : 0 ;
224
+ border : 0 ;
187
225
}
188
226
189
- .ui-select-bootstrap > .ui-select-match > .btn {
227
+ .ui-select-bootstrap > .ui-select-match > .btn {
190
228
/* Instead of center because of .btn */
191
229
text-align : left !important ;
192
230
}
@@ -198,7 +236,8 @@ body > .select2-container.open {
198
236
}
199
237
200
238
/* See Scrollable Menu with Bootstrap 3 http://stackoverflow.com/questions/19227496 */
201
- .ui-select-bootstrap > .ui-select-choices , .ui-select-bootstrap > .ui-select-no-choice {
239
+ .ui-select-bootstrap .ui-select-choices ,
240
+ .ui-select-bootstrap .ui-select-no-choice {
202
241
width : 100% ;
203
242
height : auto;
204
243
max-height : 200px ;
@@ -261,6 +300,22 @@ body > .ui-select-bootstrap.open {
261
300
border-right : 1px solid # 428bca ;
262
301
}
263
302
303
+
304
+ .ui-select-bootstrap .ui-select-choices {
305
+ padding : 5px 0 ;
306
+ margin : 0 ;
307
+ list-style : none;
308
+
309
+ .ui-select-bootstrap .ui-select-header-group-selectable : hover {
310
+ background-color : # f5f5f5 ;
311
+ }
312
+
313
+ .ui-select-bootstrap .ui-select-header-group-selectable {
314
+ color : black;
315
+ cursor : pointer;
316
+ padding : 3px 10px ;
317
+ }
318
+
264
319
.ui-select-bootstrap .ui-select-choices-row > span {
265
320
cursor : pointer;
266
321
display : block;
@@ -272,51 +327,87 @@ body > .ui-select-bootstrap.open {
272
327
white-space : nowrap;
273
328
}
274
329
275
- .ui-select-bootstrap .ui-select-choices-row > span : hover , .ui-select-bootstrap .ui-select-choices-row > span : focus {
276
- text-decoration : none;
277
- color : # 262626 ;
278
- background-color : # f5f5f5 ;
330
+ .ui-select-bootstrap .ui-select-choices-row > span {
331
+ cursor : pointer;
332
+ display : block;
333
+ padding : 3px 20px ;
334
+ clear : both;
335
+ font-weight : 400 ;
336
+ line-height : 1.42857143 ;
337
+ color : # 333 ;
338
+ white-space : nowrap;
339
+ }
340
+
341
+ .ui-select-bootstrap .ui-select-choices-row > span : hover , .ui-select-bootstrap .ui-select-choices-row > span : focus {
342
+ text-decoration : none;
343
+ color : # 262626 ;
344
+ background-color : # f5f5f5 ;
345
+ }
346
+
347
+ .ui-select-bootstrap .ui-select-choices-row .active > span {
348
+ color : # fff ;
349
+ text-decoration : none;
350
+ outline : 0 ;
351
+ background-color : # 428bca ;
279
352
}
280
353
281
- .ui-select-bootstrap .ui-select-choices-row .active > span {
282
- color : # fff ;
283
- text-decoration : none ;
284
- outline : 0 ;
285
- background-color : # 428bca ;
354
+ .ui-select-bootstrap .ui-select-choices-row .disabled > span ,
355
+ . ui-select-bootstrap . ui-select-choices-row . active . disabled > span {
356
+ color : # 777 ;
357
+ cursor : not-allowed ;
358
+ background-color : # fff ;
286
359
}
287
360
288
- .ui-select-bootstrap .ui-select-choices-row .disabled > span ,
289
- .ui-select-bootstrap .ui-select-choices-row .active .disabled > span {
290
- color : # 777 ;
291
- cursor : not-allowed;
292
- background-color : # fff ;
361
+ .ui-select-bootstrap .ui-select-footer ,
362
+ .ui-select-bootstrap .ui-select-header {
363
+ display : block;
364
+ padding : 5px 20px ;
365
+ clear : both;
366
+ font-weight : 400 ;
367
+ line-height : 1.42857143 ;
368
+ }
369
+
370
+ .ui-select-bootstrap .ui-select-footer {
371
+ border-top : 1px solid # dfe5eb ;
372
+ }
373
+
374
+ .ui-select-bootstrap .ui-select-header {
375
+ border-bottom : 1px solid # dfe5eb ;
376
+ }
377
+
378
+ .ui-select-bootstrap .ui-select-dropdown {
379
+ width : 100% ;
380
+ padding : 0 ;
381
+ margin-top : -1px ;
293
382
}
294
383
295
384
/* fix hide/show angular animation */
296
385
.ui-select-match .ng-hide-add ,
297
386
.ui-select-search .ng-hide-add {
298
- display : none !important ;
387
+ display : none !important ;
299
388
}
300
389
301
390
/* Mark invalid Bootstrap */
302
391
.ui-select-bootstrap .ng-dirty .ng-invalid > button .btn .ui-select-match {
303
- border-color : # D44950 ;
392
+ border-color : # D44950 ;
304
393
}
305
394
306
395
/* Handle up direction Bootstrap */
307
396
.ui-select-container [theme = "bootstrap" ].direction-up .ui-select-dropdown {
308
- box-shadow : 0 -4px 8px rgba (0 , 0 , 0 , 0.25 );
397
+ box-shadow : 0 -4px 8px rgba (0 , 0 , 0 , 0.25 );
309
398
}
310
399
311
400
.ui-select-bootstrap .ui-select-match-text {
312
- width : 100% ;
313
- padding-right : 1em ;
401
+ width : 100% ;
402
+ padding-right : 1em ;
314
403
}
404
+
315
405
.ui-select-bootstrap .ui-select-match-text span {
316
- display : inline-block;
317
- width : 100% ;
318
- overflow : hidden;
406
+ display : inline-block;
407
+ width : 100% ;
408
+ overflow : hidden;
319
409
}
410
+
320
411
.ui-select-bootstrap .ui-select-toggle > a .btn {
321
412
position : absolute;
322
413
height : 10px ;
@@ -326,10 +417,10 @@ body > .ui-select-bootstrap.open {
326
417
327
418
/* Spinner */
328
419
.ui-select-refreshing .glyphicon {
329
- position : absolute;
330
- right : 0 ;
331
- padding : 8px 27px ;
332
- }
420
+ position : absolute;
421
+ right : 0 ;
422
+ padding : 8px 27px ;
423
+ }
333
424
334
425
@-webkit-keyframes ui-select-spin {
335
426
0% {
@@ -341,6 +432,7 @@ body > .ui-select-bootstrap.open {
341
432
transform : rotate (359deg );
342
433
}
343
434
}
435
+
344
436
@keyframes ui-select-spin {
345
437
0% {
346
438
-webkit-transform : rotate (0deg );
0 commit comments