1
1
/*!
2
2
* ui-select
3
3
* http://github.com/angular-ui/ui-select
4
- * Version: 0.18 .1 - 2016-07-10T00:18:11.107Z
4
+ * Version: 0.19 .1 - 2016-08-09T18:13:19.899Z
5
5
* License: MIT
6
6
*/
7
7
@@ -82,6 +82,16 @@ body > .select2-container.open {
82
82
border-bottom-color : # 5897fb ;
83
83
}
84
84
85
+ .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 ;
93
+ }
94
+
85
95
/* Selectize theme */
86
96
87
97
/* Helper class to show styles when focus */
@@ -107,10 +117,19 @@ body > .select2-container.open {
107
117
/* Handle up direction Selectize */
108
118
.ui-select-container [theme = "selectize" ].direction-up .ui-select-dropdown {
109
119
box-shadow : 0 -4px 8px rgba (0 , 0 , 0 , 0.25 );
110
-
111
120
margin-top : -2px ; /* FIXME hardcoded value :-/ */
112
121
}
113
122
123
+ .ui-select-container [theme = "selectize" ] input .ui-select-search-hidden {
124
+ opacity : 0 ;
125
+ height : 0 ;
126
+ min-height : 0 ;
127
+ padding : 0 ;
128
+ margin : 0 ;
129
+ border : 0 ;
130
+ width : 0 ;
131
+ }
132
+
114
133
/* Bootstrap theme */
115
134
116
135
/* Helper class to show styles when focus */
@@ -153,6 +172,15 @@ body > .select2-container.open {
153
172
border-bottom-right-radius : 0 !important ;
154
173
}
155
174
175
+ .ui-select-bootstrap .ui-select-search-hidden {
176
+ opacity : 0 ;
177
+ height : 0 ;
178
+ min-height : 0 ;
179
+ padding : 0 ;
180
+ margin : 0 ;
181
+ border : 0 ;
182
+ }
183
+
156
184
.ui-select-bootstrap > .ui-select-match > .btn {
157
185
/* Instead of center because of .btn */
158
186
text-align : left !important ;
@@ -228,7 +256,8 @@ body > .ui-select-bootstrap.open {
228
256
border-right : 1px solid # 428bca ;
229
257
}
230
258
231
- .ui-select-bootstrap .ui-select-choices-row > a {
259
+ .ui-select-bootstrap .ui-select-choices-row > span {
260
+ cursor : pointer;
232
261
display : block;
233
262
padding : 3px 20px ;
234
263
clear : both;
@@ -238,21 +267,21 @@ body > .ui-select-bootstrap.open {
238
267
white-space : nowrap;
239
268
}
240
269
241
- .ui-select-bootstrap .ui-select-choices-row > a : hover , .ui-select-bootstrap .ui-select-choices-row > a : focus {
270
+ .ui-select-bootstrap .ui-select-choices-row > span : hover , .ui-select-bootstrap .ui-select-choices-row > span : focus {
242
271
text-decoration : none;
243
272
color : # 262626 ;
244
273
background-color : # f5f5f5 ;
245
274
}
246
275
247
- .ui-select-bootstrap .ui-select-choices-row .active > a {
276
+ .ui-select-bootstrap .ui-select-choices-row .active > span {
248
277
color : # fff ;
249
278
text-decoration : none;
250
279
outline : 0 ;
251
280
background-color : # 428bca ;
252
281
}
253
282
254
- .ui-select-bootstrap .ui-select-choices-row .disabled > a ,
255
- .ui-select-bootstrap .ui-select-choices-row .active .disabled > a {
283
+ .ui-select-bootstrap .ui-select-choices-row .disabled > span ,
284
+ .ui-select-bootstrap .ui-select-choices-row .active .disabled > span {
256
285
color : # 777 ;
257
286
cursor : not-allowed;
258
287
background-color : # fff ;
@@ -273,3 +302,19 @@ body > .ui-select-bootstrap.open {
273
302
.ui-select-container [theme = "bootstrap" ].direction-up .ui-select-dropdown {
274
303
box-shadow : 0 -4px 8px rgba (0 , 0 , 0 , 0.25 );
275
304
}
305
+
306
+ .ui-select-bootstrap .ui-select-match-text {
307
+ width : 100% ;
308
+ padding-right : 1em ;
309
+ }
310
+ .ui-select-bootstrap .ui-select-match-text span {
311
+ display : inline-block;
312
+ width : 100% ;
313
+ overflow : hidden;
314
+ }
315
+ .ui-select-bootstrap .ui-select-toggle > a .btn {
316
+ position : absolute;
317
+ height : 10px ;
318
+ right : 10px ;
319
+ margin-top : -2px ;
320
+ }
0 commit comments