angular-ui-select-rails 0.9.6 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
|
|
1
1
|
/*!
|
2
2
|
* ui-select
|
3
3
|
* http://github.com/angular-ui/ui-select
|
4
|
-
* Version: 0.
|
4
|
+
* Version: 0.12.0 - 2015-05-28T07:44:11.364Z
|
5
5
|
* License: MIT
|
6
6
|
*/
|
7
7
|
|
@@ -44,6 +44,35 @@
|
|
44
44
|
display:none;
|
45
45
|
}
|
46
46
|
|
47
|
+
body > .select2-container.open {
|
48
|
+
z-index: 9999; /* The z-index Select2 applies to the select2-drop */
|
49
|
+
}
|
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
|
+
|
47
76
|
/* Selectize theme */
|
48
77
|
|
49
78
|
/* Helper class to show styles when focus */
|
@@ -66,6 +95,12 @@
|
|
66
95
|
border-color: #D44950;
|
67
96
|
}
|
68
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
|
+
}
|
69
104
|
|
70
105
|
/* Bootstrap theme */
|
71
106
|
|
@@ -80,6 +115,17 @@
|
|
80
115
|
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
|
81
116
|
}
|
82
117
|
|
118
|
+
.ui-select-bootstrap .ui-select-toggle {
|
119
|
+
position: relative;
|
120
|
+
}
|
121
|
+
|
122
|
+
.ui-select-bootstrap .ui-select-toggle > .caret {
|
123
|
+
position: absolute;
|
124
|
+
height: 10px;
|
125
|
+
top: 50%;
|
126
|
+
right: 10px;
|
127
|
+
margin-top: -2px;
|
128
|
+
}
|
83
129
|
|
84
130
|
/* Fix Bootstrap dropdown position when inside a input-group */
|
85
131
|
.input-group > .ui-select-bootstrap.dropdown {
|
@@ -92,10 +138,15 @@
|
|
92
138
|
border-top-right-radius: 0;
|
93
139
|
border-bottom-right-radius: 0;
|
94
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
|
+
}
|
95
146
|
|
96
|
-
.ui-select-bootstrap > .ui-select-match {
|
147
|
+
.ui-select-bootstrap > .ui-select-match > .btn{
|
97
148
|
/* Instead of center because of .btn */
|
98
|
-
text-align: left;
|
149
|
+
text-align: left !important;
|
99
150
|
}
|
100
151
|
|
101
152
|
.ui-select-bootstrap > .ui-select-match > .caret {
|
@@ -110,11 +161,16 @@
|
|
110
161
|
height: auto;
|
111
162
|
max-height: 200px;
|
112
163
|
overflow-x: hidden;
|
164
|
+
margin-top: -1px;
|
165
|
+
}
|
166
|
+
|
167
|
+
body > .ui-select-bootstrap.open {
|
168
|
+
z-index: 1000; /* Standard Bootstrap dropdown z-index */
|
113
169
|
}
|
114
170
|
|
115
171
|
.ui-select-multiple.ui-select-bootstrap {
|
116
172
|
height: auto;
|
117
|
-
padding:
|
173
|
+
padding: 3px 3px 0 3px;
|
118
174
|
}
|
119
175
|
|
120
176
|
.ui-select-multiple.ui-select-bootstrap input.ui-select-search {
|
@@ -122,6 +178,7 @@
|
|
122
178
|
border: none;
|
123
179
|
outline: none;
|
124
180
|
height: 1.666666em;
|
181
|
+
margin-bottom: 3px;
|
125
182
|
}
|
126
183
|
|
127
184
|
.ui-select-multiple.ui-select-bootstrap .ui-select-match .close {
|
@@ -129,8 +186,33 @@
|
|
129
186
|
line-height: 0.75;
|
130
187
|
}
|
131
188
|
|
132
|
-
.ui-select-multiple.ui-select-bootstrap .ui-select-match-item{
|
189
|
+
.ui-select-multiple.ui-select-bootstrap .ui-select-match-item {
|
133
190
|
outline: 0;
|
191
|
+
margin: 0 3px 3px 0;
|
192
|
+
}
|
193
|
+
|
194
|
+
.ui-select-multiple .ui-select-match-item {
|
195
|
+
position: relative;
|
196
|
+
}
|
197
|
+
|
198
|
+
.ui-select-multiple .ui-select-match-item.dropping-before:before {
|
199
|
+
content: "";
|
200
|
+
position: absolute;
|
201
|
+
top: 0;
|
202
|
+
right: 100%;
|
203
|
+
height: 100%;
|
204
|
+
margin-right: 2px;
|
205
|
+
border-left: 1px solid #428bca;
|
206
|
+
}
|
207
|
+
|
208
|
+
.ui-select-multiple .ui-select-match-item.dropping-after:after {
|
209
|
+
content: "";
|
210
|
+
position: absolute;
|
211
|
+
top: 0;
|
212
|
+
left: 100%;
|
213
|
+
height: 100%;
|
214
|
+
margin-left: 2px;
|
215
|
+
border-right: 1px solid #428bca;
|
134
216
|
}
|
135
217
|
|
136
218
|
.ui-select-bootstrap .ui-select-choices-row>a {
|
@@ -173,3 +255,8 @@
|
|
173
255
|
.ui-select-bootstrap.ng-dirty.ng-invalid > button.btn.ui-select-match {
|
174
256
|
border-color: #D44950;
|
175
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
|
+
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: angular-ui-select-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steve Ellis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-06-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -71,7 +71,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
71
71
|
version: '0'
|
72
72
|
requirements: []
|
73
73
|
rubyforge_project:
|
74
|
-
rubygems_version: 2.0.
|
74
|
+
rubygems_version: 2.0.3
|
75
75
|
signing_key:
|
76
76
|
specification_version: 4
|
77
77
|
summary: Packaged version of AngularJS ui-select.
|