1
1
/*!
2
2
* ui-select
3
3
* http://github.com/angular-ui/ui-select
4
- * Version: 0.11.2 - 2015-03-17T04:08:46.478Z
4
+ * Version: 0.12.0 - 2015-05-28T07:44:11.364Z
5
5
* License: MIT
6
6
*/
7
7
@@ -48,6 +48,31 @@ body > .select2-container.open {
48
48
z-index : 9999 ; /* The z-index Select2 applies to the select2-drop */
49
49
}
50
50
51
+ /* Handle up direction Select2 */
52
+ .ui-select-container [theme = "select2" ].direction-up .ui-select-match {
53
+ border-radius : 4px ; /* FIXME hardcoded value :-/ */
54
+ border-top-left-radius : 0 ;
55
+ border-top-right-radius : 0 ;
56
+ }
57
+ .ui-select-container [theme = "select2" ].direction-up .ui-select-dropdown {
58
+ border-radius : 4px ; /* FIXME hardcoded value :-/ */
59
+ border-bottom-left-radius : 0 ;
60
+ border-bottom-right-radius : 0 ;
61
+
62
+ border-top-width : 1px ; /* FIXME hardcoded value :-/ */
63
+ border-top-style : solid;
64
+
65
+ box-shadow : 0 -4px 8px rgba (0 , 0 , 0 , 0.25 );
66
+
67
+ margin-top : -4px ; /* FIXME hardcoded value :-/ */
68
+ }
69
+ .ui-select-container [theme = "select2" ].direction-up .ui-select-dropdown .select2-search {
70
+ margin-top : 4px ; /* FIXME hardcoded value :-/ */
71
+ }
72
+ .ui-select-container [theme = "select2" ].direction-up .select2-dropdown-open .ui-select-match {
73
+ border-bottom-color : # 5897fb ;
74
+ }
75
+
51
76
/* Selectize theme */
52
77
53
78
/* Helper class to show styles when focus */
@@ -70,6 +95,12 @@ body > .select2-container.open {
70
95
border-color : # D44950 ;
71
96
}
72
97
98
+ /* Handle up direction Selectize */
99
+ .ui-select-container [theme = "selectize" ].direction-up .ui-select-dropdown {
100
+ box-shadow : 0 -4px 8px rgba (0 , 0 , 0 , 0.25 );
101
+
102
+ margin-top : -2px ; /* FIXME hardcoded value :-/ */
103
+ }
73
104
74
105
/* Bootstrap theme */
75
106
@@ -107,6 +138,11 @@ body > .select2-container.open {
107
138
border-top-right-radius : 0 ;
108
139
border-bottom-right-radius : 0 ;
109
140
}
141
+ .input-group > .ui-select-bootstrap > input .ui-select-search .form-control .direction-up {
142
+ border-radius : 4px !important ; /* FIXME hardcoded value :-/ */
143
+ border-top-right-radius : 0 !important ;
144
+ border-bottom-right-radius : 0 !important ;
145
+ }
110
146
111
147
.ui-select-bootstrap > .ui-select-match > .btn {
112
148
/* Instead of center because of .btn */
@@ -219,3 +255,8 @@ body > .ui-select-bootstrap.open {
219
255
.ui-select-bootstrap .ng-dirty .ng-invalid > button .btn .ui-select-match {
220
256
border-color : # D44950 ;
221
257
}
258
+
259
+ /* Handle up direction Bootstrap */
260
+ .ui-select-container [theme = "bootstrap" ].direction-up .ui-select-dropdown {
261
+ box-shadow : 0 -4px 8px rgba (0 , 0 , 0 , 0.25 );
262
+ }
0 commit comments