1
1
/*!
2
2
* ui-select
3
3
* http://github.com/angular-ui/ui-select
4
- * Version: 0.19.6 - 2017-04-12T06:30:23.759Z
4
+ * Version: 0.19.7 - 2017-04-15T14:28:36.790Z
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 !important ;
25
- top : 0 !important ;
24
+ left : 0 px !important ;
25
+ top : 0 px !important ;
26
26
}
27
27
28
+
28
29
.ui-select-choices-row : hover {
29
30
background-color : # f5f5f5 ;
30
31
}
33
34
34
35
/* Mark invalid Select2 */
35
36
.ng-dirty .ng-invalid > a .select2-choice {
36
- border-color : # D44950 ;
37
+ border-color : # D44950 ;
37
38
}
38
39
39
40
.select2-result-single {
40
41
padding-left : 0 ;
41
42
}
42
43
43
- .select2-locked > .select2-search-choice-close {
44
- display : none;
44
+ .select2-locked > .select2-search-choice-close {
45
+ display : none;
45
46
}
46
47
47
- .select-locked > .ui-select-match-close {
48
- display : none;
48
+ .select-locked > .ui-select-match-close {
49
+ display : none;
49
50
}
50
51
51
52
body > .select2-container .open {
52
53
z-index : 9999 ; /* The z-index Select2 applies to the select2-drop */
53
54
}
54
55
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
-
68
56
/* Handle up direction Select2 */
69
57
.ui-select-container [theme = "select2" ].direction-up .ui-select-match ,
70
58
.ui-select-container .select2 .direction-up .ui-select-match {
71
- border-radius : 4px ; /* FIXME hardcoded value :-/ */
72
- border-top-left-radius : 0 ;
73
- border-top-right-radius : 0 ;
59
+ border-radius : 4px ; /* FIXME hardcoded value :-/ */
60
+ border-top-left-radius : 0 ;
61
+ border-top-right-radius : 0 ;
74
62
}
75
-
76
63
.ui-select-container [theme = "select2" ].direction-up .ui-select-dropdown ,
77
64
.ui-select-container .select2 .direction-up .ui-select-dropdown {
78
- border-radius : 4px ; /* FIXME hardcoded value :-/ */
79
- border-bottom-left-radius : 0 ;
80
- border-bottom-right-radius : 0 ;
65
+ border-radius : 4px ; /* FIXME hardcoded value :-/ */
66
+ border-bottom-left-radius : 0 ;
67
+ border-bottom-right-radius : 0 ;
81
68
82
- border-top-width : 1px ; /* FIXME hardcoded value :-/ */
83
- border-top-style : solid;
69
+ border-top-width : 1px ; /* FIXME hardcoded value :-/ */
70
+ border-top-style : solid;
84
71
85
- box-shadow : 0 -4px 8px rgba (0 , 0 , 0 , 0.25 );
72
+ box-shadow : 0 -4px 8px rgba (0 , 0 , 0 , 0.25 );
86
73
87
- margin-top : -4px ; /* FIXME hardcoded value :-/ */
74
+ margin-top : -4px ; /* FIXME hardcoded value :-/ */
88
75
}
89
-
90
76
.ui-select-container [theme = "select2" ].direction-up .ui-select-dropdown .select2-search ,
91
77
.ui-select-container .select2 .direction-up .ui-select-dropdown .select2-search {
92
- margin-top : 4px ; /* FIXME hardcoded value :-/ */
78
+ margin-top : 4px ; /* FIXME hardcoded value :-/ */
93
79
}
94
-
95
80
.ui-select-container [theme = "select2" ].direction-up .select2-dropdown-open .ui-select-match ,
96
81
.ui-select-container .select2 .direction-up .select2-dropdown-open .ui-select-match {
97
- border-bottom-color : # 5897fb ;
82
+ border-bottom-color : # 5897fb ;
98
83
}
99
84
100
85
.ui-select-container [theme = "select2" ] .ui-select-dropdown .ui-select-search-hidden ,
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 ;
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 ;
108
93
}
109
94
110
95
/* Selectize theme */
111
96
112
97
/* Helper class to show styles when focus */
113
- .selectize-input .selectize-focus {
98
+ .selectize-input .selectize-focus {
114
99
border-color : # 007FBB !important ;
115
100
}
116
101
@@ -129,38 +114,25 @@ body > .select2-container.open {
129
114
width : 100% ;
130
115
}
131
116
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
-
145
117
/* Mark invalid Selectize */
146
118
.ng-dirty .ng-invalid > div .selectize-input {
147
- border-color : # D44950 ;
119
+ border-color : # D44950 ;
148
120
}
149
121
150
122
/* Handle up direction Selectize */
151
123
.ui-select-container [theme = "selectize" ].direction-up .ui-select-dropdown {
152
- box-shadow : 0 -4px 8px rgba (0 , 0 , 0 , 0.25 );
153
- margin-top : -2px ; /* FIXME hardcoded value :-/ */
124
+ box-shadow : 0 -4px 8px rgba (0 , 0 , 0 , 0.25 );
125
+ margin-top : -2px ; /* FIXME hardcoded value :-/ */
154
126
}
155
127
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 ;
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 ;
164
136
}
165
137
166
138
/* Bootstrap theme */
@@ -199,23 +171,22 @@ body > .select2-container.open {
199
171
border-top-right-radius : 0 ;
200
172
border-bottom-right-radius : 0 ;
201
173
}
202
-
203
174
.input-group > .ui-select-bootstrap > input .ui-select-search .form-control .direction-up {
204
175
border-radius : 4px !important ; /* FIXME hardcoded value :-/ */
205
176
border-top-right-radius : 0 !important ;
206
177
border-bottom-right-radius : 0 !important ;
207
178
}
208
179
209
- .ui-select-bootstrap .ui-select-search-hidden {
210
- opacity : 0 ;
211
- height : 0 ;
212
- min-height : 0 ;
213
- padding : 0 ;
214
- margin : 0 ;
215
- border : 0 ;
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 ;
216
187
}
217
188
218
- .ui-select-bootstrap > .ui-select-match > .btn {
189
+ .ui-select-bootstrap > .ui-select-match > .btn {
219
190
/* Instead of center because of .btn */
220
191
text-align : left !important ;
221
192
}
@@ -227,7 +198,7 @@ body > .select2-container.open {
227
198
}
228
199
229
200
/* See Scrollable Menu with Bootstrap 3 http://stackoverflow.com/questions/19227496 */
230
- .ui-select-bootstrap > .ui-select-choices , .ui-select-bootstrap > .ui-select-no-choice {
201
+ .ui-select-bootstrap > .ui-select-choices , .ui-select-bootstrap > .ui-select-no-choice {
231
202
width : 100% ;
232
203
height : auto;
233
204
max-height : 200px ;
@@ -290,85 +261,62 @@ body > .ui-select-bootstrap.open {
290
261
border-right : 1px solid # 428bca ;
291
262
}
292
263
293
- .ui-select-bootstrap .ui-select-choices-row > span {
294
- cursor : pointer;
295
- display : block;
296
- padding : 3px 20px ;
297
- clear : both;
298
- font-weight : 400 ;
299
- line-height : 1.42857143 ;
300
- color : # 333 ;
301
- white-space : nowrap;
302
- }
303
-
304
- .ui-select-bootstrap .ui-select-choices-row > span : hover , .ui-select-bootstrap .ui-select-choices-row > span : focus {
305
- text-decoration : none;
306
- color : # 262626 ;
307
- background-color : # f5f5f5 ;
308
- }
309
-
310
- .ui-select-bootstrap .ui-select-choices-row .active > span {
311
- color : # fff ;
312
- text-decoration : none;
313
- outline : 0 ;
314
- background-color : # 428bca ;
315
- }
316
-
317
- .ui-select-bootstrap .ui-select-choices-row .disabled > span ,
318
- .ui-select-bootstrap .ui-select-choices-row .active .disabled > span {
319
- color : # 777 ;
320
- cursor : not-allowed;
321
- background-color : # fff ;
322
- }
323
-
324
- .ui-select-bootstrap .ui-select-footer ,
325
- .ui-select-bootstrap .ui-select-header {
326
- display : block;
327
- padding : 3px 20px ;
328
- clear : both;
329
- font-weight : 400 ;
330
- line-height : 1.42857143 ;
264
+ .ui-select-bootstrap .ui-select-choices-row > span {
265
+ cursor : pointer;
266
+ display : block;
267
+ padding : 3px 20px ;
268
+ clear : both;
269
+ font-weight : 400 ;
270
+ line-height : 1.42857143 ;
271
+ color : # 333 ;
272
+ white-space : nowrap;
331
273
}
332
274
333
- .ui-select-bootstrap .ui-select-footer {
334
- border-top : 1px solid # dfe5eb ;
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 ;
335
279
}
336
280
337
- .ui-select-bootstrap .ui-select-header + .ui-select-choices {
338
- margin-top : 10px ;
281
+ .ui-select-bootstrap .ui-select-choices-row .active > span {
282
+ color : # fff ;
283
+ text-decoration : none;
284
+ outline : 0 ;
285
+ background-color : # 428bca ;
339
286
}
340
287
341
- .ui-select-bootstrap .ui-select-header {
342
- border-bottom : 1px solid # dfe5eb ;
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 ;
343
293
}
344
294
345
295
/* fix hide/show angular animation */
346
296
.ui-select-match .ng-hide-add ,
347
297
.ui-select-search .ng-hide-add {
348
- display : none !important ;
298
+ display : none !important ;
349
299
}
350
300
351
301
/* Mark invalid Bootstrap */
352
302
.ui-select-bootstrap .ng-dirty .ng-invalid > button .btn .ui-select-match {
353
- border-color : # D44950 ;
303
+ border-color : # D44950 ;
354
304
}
355
305
356
306
/* Handle up direction Bootstrap */
357
307
.ui-select-container [theme = "bootstrap" ].direction-up .ui-select-dropdown {
358
- box-shadow : 0 -4px 8px rgba (0 , 0 , 0 , 0.25 );
308
+ box-shadow : 0 -4px 8px rgba (0 , 0 , 0 , 0.25 );
359
309
}
360
310
361
311
.ui-select-bootstrap .ui-select-match-text {
362
- width : 100% ;
363
- padding-right : 1em ;
312
+ width : 100% ;
313
+ padding-right : 1em ;
364
314
}
365
-
366
315
.ui-select-bootstrap .ui-select-match-text span {
367
- display : inline-block;
368
- width : 100% ;
369
- overflow : hidden;
316
+ display : inline-block;
317
+ width : 100% ;
318
+ overflow : hidden;
370
319
}
371
-
372
320
.ui-select-bootstrap .ui-select-toggle > a .btn {
373
321
position : absolute;
374
322
height : 10px ;
@@ -378,10 +326,10 @@ body > .ui-select-bootstrap.open {
378
326
379
327
/* Spinner */
380
328
.ui-select-refreshing .glyphicon {
381
- position : absolute;
382
- right : 0 ;
383
- padding : 8px 27px ;
384
- }
329
+ position : absolute;
330
+ right : 0 ;
331
+ padding : 8px 27px ;
332
+ }
385
333
386
334
@-webkit-keyframes ui-select-spin {
387
335
0% {
@@ -393,7 +341,6 @@ body > .ui-select-bootstrap.open {
393
341
transform : rotate (359deg );
394
342
}
395
343
}
396
-
397
344
@keyframes ui-select-spin {
398
345
0% {
399
346
-webkit-transform : rotate (0deg );
0 commit comments