trln-chosen-rails 1.8.7 → 1.30.0.pre.beta
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +15 -3
- data/Rakefile +0 -1
- data/lib/chosen-rails/engine.rb +4 -3
- data/lib/chosen-rails/rspec.rb +4 -4
- data/lib/chosen-rails/source_file.rb +0 -8
- data/lib/chosen-rails/version.rb +1 -1
- data/lib/chosen-rails.rb +1 -1
- data/trln-chosen-rails.gemspec +0 -2
- data/vendor/assets/stylesheets/chosen-base.css +332 -0
- data/vendor/assets/stylesheets/chosen-base.css.map +7 -0
- data/vendor/assets/stylesheets/chosen.css +332 -0
- data/vendor/assets/stylesheets/chosen.css.map +7 -0
- metadata +9 -22
- data/vendor/assets/stylesheets/chosen-base.scss +0 -427
- data/vendor/assets/stylesheets/chosen-compass.scss +0 -63
- data/vendor/assets/stylesheets/chosen.scss +0 -59
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a2a519cd6aabeb11949e84b419f7164bcd407377edf9af4ec681d17755754b1
|
4
|
+
data.tar.gz: e116100e66af2f9f17c3b3c4434d628d32382dd40c4f48286e6ee3c5fdd7e071
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73b2361856eae6fff2672e74e4b3f6fb09914e0f09f77654513a9b012ce7c75c270dcd7a5e9315588390c0e7cbe3a6a6c842863638b58414d14da0e685a86a60
|
7
|
+
data.tar.gz: 55f49773c020454fbb6cf02197f456e1b7ecc672f859fe32905842d729501e9957761d158b24842c1a200557275aec83b7aed997c69c91d46252568add892d32
|
data/README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
# Chosen for rails asset pipeline
|
1
|
+
# Chosen for rails asset pipeline (TRLN fork)
|
2
2
|
|
3
3
|
[Chosen](https://github.com/harvesthq/chosen) is a library for making long, unwieldy select boxes more user friendly.
|
4
4
|
|
5
|
-
The `trln-
|
5
|
+
The `trln-chosen-rails` gem integrates the `Chosen` with the Rails asset pipeline. This project is a fork of the original `chosen-rails` which removes the dependency on the now deprecated `sass` gem.
|
6
6
|
|
7
7
|
## Usage
|
8
8
|
|
@@ -10,12 +10,16 @@ The `trln-hosen-rails` gem integrates the `Chosen` with the Rails asset pipeline
|
|
10
10
|
|
11
11
|
Include `trln-chosen-rails` in Gemfile
|
12
12
|
|
13
|
-
```
|
13
|
+
```
|
14
14
|
gem 'trln-chosen-rails'
|
15
15
|
```
|
16
16
|
|
17
17
|
Then run `bundle install`
|
18
18
|
|
19
|
+
### About JQuery
|
20
|
+
|
21
|
+
You can get jquery via [jquery-rails](https://github.com/rails/jquery-rails).
|
22
|
+
|
19
23
|
Please consider [jquery-turbolinks](https://github.com/kossnocorp/jquery.turbolinks) if you have turbolinks issues for Rails 4 +.
|
20
24
|
|
21
25
|
### Include chosen javascript assets
|
@@ -23,12 +27,14 @@ Please consider [jquery-turbolinks](https://github.com/kossnocorp/jquery.turboli
|
|
23
27
|
Add to your `app/assets/javascripts/application.js` if use with jQuery
|
24
28
|
|
25
29
|
```coffee
|
30
|
+
//= require jquery
|
26
31
|
//= require chosen-jquery
|
27
32
|
```
|
28
33
|
|
29
34
|
Or with Prototype
|
30
35
|
|
31
36
|
```coffee
|
37
|
+
//= require jquery
|
32
38
|
//= require chosen-prototype
|
33
39
|
```
|
34
40
|
|
@@ -42,6 +48,12 @@ Add to your `app/assets/stylesheets/application.css`
|
|
42
48
|
|
43
49
|
### Enable chosen javascript by specific css class
|
44
50
|
|
51
|
+
For rails 6, remember to add `javascript_include_tag` in `app/views/layouts/application.html.erb`, like
|
52
|
+
|
53
|
+
```ruby
|
54
|
+
<%= javascript_include_tag 'application' %>
|
55
|
+
```
|
56
|
+
|
45
57
|
Add to one coffee script file, like `scaffold.js.coffee`
|
46
58
|
|
47
59
|
```coffee
|
data/Rakefile
CHANGED
@@ -9,7 +9,6 @@ task 'update-chosen', 'repository_url', 'branch' do |task, args|
|
|
9
9
|
files = SourceFile.new
|
10
10
|
files.fetch remote, branch
|
11
11
|
files.eject_javascript_class_from_closure
|
12
|
-
files.remove_compass_lines
|
13
12
|
files.add_depend_on_asset
|
14
13
|
files.change_url_to_image_url
|
15
14
|
files.cleanup
|
data/lib/chosen-rails/engine.rb
CHANGED
@@ -1,9 +1,10 @@
|
|
1
1
|
module Chosen
|
2
2
|
module Rails
|
3
3
|
class Engine < ::Rails::Engine
|
4
|
-
|
5
|
-
|
6
|
-
|
4
|
+
|
5
|
+
initializer "chosen-rails.assets.precompile" do |app|
|
6
|
+
app.config.assets.precompile += %w( chosen-sprite*.png )
|
7
|
+
end
|
7
8
|
|
8
9
|
rake_tasks do
|
9
10
|
load 'chosen-rails/tasks.rake'
|
data/lib/chosen-rails/rspec.rb
CHANGED
@@ -38,18 +38,18 @@ module Chosen
|
|
38
38
|
id = "##{id}" unless from.start_with?('#')
|
39
39
|
id = "#{id}_chosen" unless from.end_with?('_chosen')
|
40
40
|
|
41
|
-
find(:css, id, options)
|
41
|
+
find(:css, id, **options)
|
42
42
|
rescue Capybara::ElementNotFound
|
43
|
-
label = find('label', { text: from }.merge(options))
|
43
|
+
label = find('label', **{ text: from }.merge(options))
|
44
44
|
|
45
|
-
find(:css, "##{label[:for].underscore}_chosen", options)
|
45
|
+
find(:css, "##{label[:for].underscore}_chosen", **options)
|
46
46
|
end
|
47
47
|
|
48
48
|
def chosen_find_input(from, options)
|
49
49
|
from = from.to_s
|
50
50
|
from = "##{from}" unless from.start_with?('#')
|
51
51
|
|
52
|
-
find(:css, from.underscore, options)
|
52
|
+
find(:css, from.underscore, **options)
|
53
53
|
end
|
54
54
|
|
55
55
|
def chosen_multiselect?(input)
|
@@ -31,14 +31,6 @@ class SourceFile < Thor
|
|
31
31
|
end
|
32
32
|
end
|
33
33
|
|
34
|
-
desc 'remove compass lines', 'remove compass lines'
|
35
|
-
def remove_compass_lines
|
36
|
-
self.destination_root = 'vendor/assets'
|
37
|
-
gsub_file 'stylesheets/chosen-base.scss', /^\s*\@include.*\n/, ''
|
38
|
-
gsub_file 'stylesheets/chosen-base.scss', /^\@import.*\n/, ''
|
39
|
-
# gsub_file 'stylesheets/chosen-base.scss', /\n(\$chosen-sprite:)/, '\1'
|
40
|
-
end
|
41
|
-
|
42
34
|
desc 'add depend_on_asset', 'add depend_on_asset'
|
43
35
|
def add_depend_on_asset
|
44
36
|
self.destination_root = 'vendor/assets'
|
data/lib/chosen-rails/version.rb
CHANGED
data/lib/chosen-rails.rb
CHANGED
data/trln-chosen-rails.gemspec
CHANGED
@@ -18,8 +18,6 @@ Gem::Specification.new do |gem|
|
|
18
18
|
|
19
19
|
gem.add_dependency 'railties', '>= 3.0'
|
20
20
|
gem.add_dependency 'coffee-rails', '>= 3.2'
|
21
|
-
gem.add_dependency 'sassc-rails', '>= 2.1'
|
22
|
-
|
23
21
|
gem.add_development_dependency 'bundler', '>= 1.0'
|
24
22
|
gem.add_development_dependency 'rails', '>= 3.0'
|
25
23
|
gem.add_development_dependency 'thor', '>= 0.14'
|
@@ -0,0 +1,332 @@
|
|
1
|
+
/* @group Base */
|
2
|
+
.chosen-container {
|
3
|
+
position: relative;
|
4
|
+
display: inline-block;
|
5
|
+
vertical-align: middle;
|
6
|
+
font-size: 13px;
|
7
|
+
user-select: none; }
|
8
|
+
.chosen-container * {
|
9
|
+
box-sizing: border-box; }
|
10
|
+
.chosen-container .chosen-drop {
|
11
|
+
position: absolute;
|
12
|
+
top: 100%;
|
13
|
+
z-index: 1010;
|
14
|
+
width: 100%;
|
15
|
+
border: 1px solid #aaa;
|
16
|
+
border-top: 0;
|
17
|
+
background: #fff;
|
18
|
+
box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15);
|
19
|
+
clip: rect(0, 0, 0, 0);
|
20
|
+
clip-path: inset(100% 100%); }
|
21
|
+
.chosen-container.chosen-with-drop .chosen-drop {
|
22
|
+
clip: auto;
|
23
|
+
clip-path: none; }
|
24
|
+
.chosen-container a {
|
25
|
+
cursor: pointer; }
|
26
|
+
.chosen-container .search-choice .group-name, .chosen-container .chosen-single .group-name {
|
27
|
+
margin-right: 4px;
|
28
|
+
overflow: hidden;
|
29
|
+
white-space: nowrap;
|
30
|
+
text-overflow: ellipsis;
|
31
|
+
font-weight: normal;
|
32
|
+
color: #999999; }
|
33
|
+
.chosen-container .search-choice .group-name:after, .chosen-container .chosen-single .group-name:after {
|
34
|
+
content: ":";
|
35
|
+
padding-left: 2px;
|
36
|
+
vertical-align: top; }
|
37
|
+
|
38
|
+
/* @end */
|
39
|
+
/* @group Single Chosen */
|
40
|
+
.chosen-container-single .chosen-single {
|
41
|
+
position: relative;
|
42
|
+
display: block;
|
43
|
+
overflow: hidden;
|
44
|
+
padding: 0 0 0 8px;
|
45
|
+
height: 25px;
|
46
|
+
border: 1px solid #aaa;
|
47
|
+
border-radius: 5px;
|
48
|
+
background-color: #fff;
|
49
|
+
background: linear-gradient(#fff 20%, #f6f6f6 50%, #eee 52%, #f4f4f4 100%);
|
50
|
+
background-clip: padding-box;
|
51
|
+
box-shadow: 0 0 3px #fff inset, 0 1px 1px rgba(0, 0, 0, 0.1);
|
52
|
+
color: #444;
|
53
|
+
text-decoration: none;
|
54
|
+
white-space: nowrap;
|
55
|
+
line-height: 24px; }
|
56
|
+
.chosen-container-single .chosen-default {
|
57
|
+
color: #999; }
|
58
|
+
.chosen-container-single .chosen-single span {
|
59
|
+
display: block;
|
60
|
+
overflow: hidden;
|
61
|
+
margin-right: 26px;
|
62
|
+
text-overflow: ellipsis;
|
63
|
+
white-space: nowrap; }
|
64
|
+
.chosen-container-single .chosen-single-with-deselect span {
|
65
|
+
margin-right: 38px; }
|
66
|
+
.chosen-container-single .chosen-single abbr {
|
67
|
+
position: absolute;
|
68
|
+
top: 6px;
|
69
|
+
right: 26px;
|
70
|
+
display: block;
|
71
|
+
width: 12px;
|
72
|
+
height: 12px;
|
73
|
+
background: image-url("chosen-sprite.png") -42px 1px no-repeat;
|
74
|
+
font-size: 1px; }
|
75
|
+
.chosen-container-single .chosen-single abbr:hover {
|
76
|
+
background-position: -42px -10px; }
|
77
|
+
.chosen-container-single.chosen-disabled .chosen-single abbr:hover {
|
78
|
+
background-position: -42px -10px; }
|
79
|
+
.chosen-container-single .chosen-single div {
|
80
|
+
position: absolute;
|
81
|
+
top: 0;
|
82
|
+
right: 0;
|
83
|
+
display: block;
|
84
|
+
width: 18px;
|
85
|
+
height: 100%; }
|
86
|
+
.chosen-container-single .chosen-single div b {
|
87
|
+
display: block;
|
88
|
+
width: 100%;
|
89
|
+
height: 100%;
|
90
|
+
background: image-url("chosen-sprite.png") no-repeat 0px 2px; }
|
91
|
+
.chosen-container-single .chosen-search {
|
92
|
+
position: relative;
|
93
|
+
z-index: 1010;
|
94
|
+
margin: 0;
|
95
|
+
padding: 3px 4px;
|
96
|
+
white-space: nowrap; }
|
97
|
+
.chosen-container-single .chosen-search input[type="text"] {
|
98
|
+
margin: 1px 0;
|
99
|
+
padding: 4px 20px 4px 5px;
|
100
|
+
width: 100%;
|
101
|
+
height: auto;
|
102
|
+
outline: 0;
|
103
|
+
border: 1px solid #aaa;
|
104
|
+
background: image-url("chosen-sprite.png") no-repeat 100% -20px;
|
105
|
+
font-size: 1em;
|
106
|
+
font-family: sans-serif;
|
107
|
+
line-height: normal;
|
108
|
+
border-radius: 0; }
|
109
|
+
.chosen-container-single .chosen-drop {
|
110
|
+
margin-top: -1px;
|
111
|
+
border-radius: 0 0 4px 4px;
|
112
|
+
background-clip: padding-box; }
|
113
|
+
.chosen-container-single.chosen-container-single-nosearch .chosen-search {
|
114
|
+
position: absolute;
|
115
|
+
clip: rect(0, 0, 0, 0);
|
116
|
+
clip-path: inset(100% 100%); }
|
117
|
+
|
118
|
+
/* @end */
|
119
|
+
/* @group Results */
|
120
|
+
.chosen-container .chosen-results {
|
121
|
+
color: #444;
|
122
|
+
position: relative;
|
123
|
+
overflow-x: hidden;
|
124
|
+
overflow-y: auto;
|
125
|
+
margin: 0 4px 4px 0;
|
126
|
+
padding: 0 0 0 4px;
|
127
|
+
max-height: 240px;
|
128
|
+
-webkit-overflow-scrolling: touch; }
|
129
|
+
.chosen-container .chosen-results li {
|
130
|
+
display: none;
|
131
|
+
margin: 0;
|
132
|
+
padding: 5px 6px;
|
133
|
+
list-style: none;
|
134
|
+
line-height: 15px;
|
135
|
+
word-wrap: break-word;
|
136
|
+
-webkit-touch-callout: none; }
|
137
|
+
.chosen-container .chosen-results li.active-result {
|
138
|
+
display: list-item;
|
139
|
+
cursor: pointer; }
|
140
|
+
.chosen-container .chosen-results li.disabled-result {
|
141
|
+
display: list-item;
|
142
|
+
color: #ccc;
|
143
|
+
cursor: default; }
|
144
|
+
.chosen-container .chosen-results li.highlighted {
|
145
|
+
background-color: #3875d7;
|
146
|
+
background-image: linear-gradient(#3875d7 20%, #2a62bc 90%);
|
147
|
+
color: #fff; }
|
148
|
+
.chosen-container .chosen-results li.no-results {
|
149
|
+
color: #777;
|
150
|
+
display: list-item;
|
151
|
+
background: #f4f4f4; }
|
152
|
+
.chosen-container .chosen-results li.group-result {
|
153
|
+
display: list-item;
|
154
|
+
font-weight: bold;
|
155
|
+
cursor: default; }
|
156
|
+
.chosen-container .chosen-results li.group-option {
|
157
|
+
padding-left: 15px; }
|
158
|
+
.chosen-container .chosen-results li em {
|
159
|
+
font-style: normal;
|
160
|
+
text-decoration: underline; }
|
161
|
+
|
162
|
+
/* @end */
|
163
|
+
/* @group Multi Chosen */
|
164
|
+
.chosen-container-multi .chosen-choices {
|
165
|
+
position: relative;
|
166
|
+
overflow: hidden;
|
167
|
+
margin: 0;
|
168
|
+
padding: 0 5px;
|
169
|
+
width: 100%;
|
170
|
+
height: auto;
|
171
|
+
border: 1px solid #aaa;
|
172
|
+
background-color: #fff;
|
173
|
+
background-image: linear-gradient(#eee 1%, #fff 15%);
|
174
|
+
cursor: text; }
|
175
|
+
.chosen-container-multi .chosen-choices li {
|
176
|
+
float: left;
|
177
|
+
list-style: none; }
|
178
|
+
.chosen-container-multi .chosen-choices li.search-field {
|
179
|
+
margin: 0;
|
180
|
+
padding: 0;
|
181
|
+
white-space: nowrap; }
|
182
|
+
.chosen-container-multi .chosen-choices li.search-field input[type="text"] {
|
183
|
+
margin: 1px 0;
|
184
|
+
padding: 0;
|
185
|
+
height: 25px;
|
186
|
+
outline: 0;
|
187
|
+
border: 0 !important;
|
188
|
+
background: transparent !important;
|
189
|
+
box-shadow: none;
|
190
|
+
color: #999;
|
191
|
+
font-size: 100%;
|
192
|
+
font-family: sans-serif;
|
193
|
+
line-height: normal;
|
194
|
+
border-radius: 0;
|
195
|
+
width: 25px; }
|
196
|
+
.chosen-container-multi .chosen-choices li.search-choice {
|
197
|
+
position: relative;
|
198
|
+
margin: 3px 5px 3px 0;
|
199
|
+
padding: 3px 20px 3px 5px;
|
200
|
+
border: 1px solid #aaa;
|
201
|
+
max-width: 100%;
|
202
|
+
border-radius: 3px;
|
203
|
+
background-color: #eeeeee;
|
204
|
+
background-image: linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
|
205
|
+
background-size: 100% 19px;
|
206
|
+
background-repeat: repeat-x;
|
207
|
+
background-clip: padding-box;
|
208
|
+
box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
|
209
|
+
color: #333;
|
210
|
+
line-height: 13px;
|
211
|
+
cursor: default; }
|
212
|
+
.chosen-container-multi .chosen-choices li.search-choice span {
|
213
|
+
word-wrap: break-word; }
|
214
|
+
.chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
|
215
|
+
position: absolute;
|
216
|
+
top: 4px;
|
217
|
+
right: 3px;
|
218
|
+
display: block;
|
219
|
+
width: 12px;
|
220
|
+
height: 12px;
|
221
|
+
background: image-url("chosen-sprite.png") -42px 1px no-repeat;
|
222
|
+
font-size: 1px; }
|
223
|
+
.chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover {
|
224
|
+
background-position: -42px -10px; }
|
225
|
+
.chosen-container-multi .chosen-choices li.search-choice-disabled {
|
226
|
+
padding-right: 5px;
|
227
|
+
border: 1px solid #ccc;
|
228
|
+
background-color: #e4e4e4;
|
229
|
+
background-image: linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
|
230
|
+
color: #666; }
|
231
|
+
.chosen-container-multi .chosen-choices li.search-choice-focus {
|
232
|
+
background: #d4d4d4; }
|
233
|
+
.chosen-container-multi .chosen-choices li.search-choice-focus .search-choice-close {
|
234
|
+
background-position: -42px -10px; }
|
235
|
+
.chosen-container-multi .chosen-results {
|
236
|
+
margin: 0;
|
237
|
+
padding: 0; }
|
238
|
+
.chosen-container-multi .chosen-drop .result-selected {
|
239
|
+
display: list-item;
|
240
|
+
color: #ccc;
|
241
|
+
cursor: default; }
|
242
|
+
|
243
|
+
/* @end */
|
244
|
+
/* @group Active */
|
245
|
+
.chosen-container-active .chosen-single {
|
246
|
+
border: 1px solid #5897fb;
|
247
|
+
box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); }
|
248
|
+
.chosen-container-active.chosen-with-drop .chosen-single {
|
249
|
+
border: 1px solid #aaa;
|
250
|
+
-moz-border-radius-bottomright: 0;
|
251
|
+
border-bottom-right-radius: 0;
|
252
|
+
-moz-border-radius-bottomleft: 0;
|
253
|
+
border-bottom-left-radius: 0;
|
254
|
+
background-image: linear-gradient(#eee 20%, #fff 80%);
|
255
|
+
box-shadow: 0 1px 0 #fff inset; }
|
256
|
+
.chosen-container-active.chosen-with-drop .chosen-single div {
|
257
|
+
border-left: none;
|
258
|
+
background: transparent; }
|
259
|
+
.chosen-container-active.chosen-with-drop .chosen-single div b {
|
260
|
+
background-position: -18px 2px; }
|
261
|
+
.chosen-container-active .chosen-choices {
|
262
|
+
border: 1px solid #5897fb;
|
263
|
+
box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); }
|
264
|
+
.chosen-container-active .chosen-choices li.search-field input[type="text"] {
|
265
|
+
color: #222 !important; }
|
266
|
+
|
267
|
+
/* @end */
|
268
|
+
/* @group Disabled Support */
|
269
|
+
.chosen-disabled {
|
270
|
+
opacity: 0.5 !important;
|
271
|
+
cursor: default; }
|
272
|
+
.chosen-disabled .chosen-single {
|
273
|
+
cursor: default; }
|
274
|
+
.chosen-disabled .chosen-choices .search-choice .search-choice-close {
|
275
|
+
cursor: default; }
|
276
|
+
|
277
|
+
/* @end */
|
278
|
+
/* @group Right to Left */
|
279
|
+
.chosen-rtl {
|
280
|
+
text-align: right; }
|
281
|
+
.chosen-rtl .chosen-single {
|
282
|
+
overflow: visible;
|
283
|
+
padding: 0 8px 0 0; }
|
284
|
+
.chosen-rtl .chosen-single span {
|
285
|
+
margin-right: 0;
|
286
|
+
margin-left: 26px;
|
287
|
+
direction: rtl; }
|
288
|
+
.chosen-rtl .chosen-single-with-deselect span {
|
289
|
+
margin-left: 38px; }
|
290
|
+
.chosen-rtl .chosen-single div {
|
291
|
+
right: auto;
|
292
|
+
left: 3px; }
|
293
|
+
.chosen-rtl .chosen-single abbr {
|
294
|
+
right: auto;
|
295
|
+
left: 26px; }
|
296
|
+
.chosen-rtl .chosen-choices li {
|
297
|
+
float: right; }
|
298
|
+
.chosen-rtl .chosen-choices li.search-field input[type="text"] {
|
299
|
+
direction: rtl; }
|
300
|
+
.chosen-rtl .chosen-choices li.search-choice {
|
301
|
+
margin: 3px 5px 3px 0;
|
302
|
+
padding: 3px 5px 3px 19px; }
|
303
|
+
.chosen-rtl .chosen-choices li.search-choice .search-choice-close {
|
304
|
+
right: auto;
|
305
|
+
left: 4px; }
|
306
|
+
.chosen-rtl.chosen-container-single .chosen-results {
|
307
|
+
margin: 0 0 4px 4px;
|
308
|
+
padding: 0 4px 0 0; }
|
309
|
+
.chosen-rtl .chosen-results li.group-option {
|
310
|
+
padding-right: 15px;
|
311
|
+
padding-left: 0; }
|
312
|
+
.chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div {
|
313
|
+
border-right: none; }
|
314
|
+
.chosen-rtl .chosen-search input[type="text"] {
|
315
|
+
padding: 4px 5px 4px 20px;
|
316
|
+
background: image-url("chosen-sprite.png") no-repeat -30px -20px;
|
317
|
+
direction: rtl; }
|
318
|
+
.chosen-rtl.chosen-container-single .chosen-single div b {
|
319
|
+
background-position: 6px 2px; }
|
320
|
+
.chosen-rtl.chosen-container-single.chosen-with-drop .chosen-single div b {
|
321
|
+
background-position: -12px 2px; }
|
322
|
+
|
323
|
+
/* @end */
|
324
|
+
/* @group Retina compatibility */
|
325
|
+
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi), only screen and (min-resolution: 1.5dppx) {
|
326
|
+
.chosen-rtl .chosen-search input[type="text"], .chosen-container-single .chosen-single abbr, .chosen-container-single .chosen-single div b, .chosen-container-single .chosen-search input[type="text"], .chosen-container-multi .chosen-choices .search-choice .search-choice-close, .chosen-container .chosen-results-scroll-down span, .chosen-container .chosen-results-scroll-up span {
|
327
|
+
background-image: image-url("chosen-sprite@2x.png") !important;
|
328
|
+
background-size: 52px 37px !important;
|
329
|
+
background-repeat: no-repeat !important; } }
|
330
|
+
/* @end */
|
331
|
+
|
332
|
+
/*# sourceMappingURL=chosen-base.css.map */
|
@@ -0,0 +1,7 @@
|
|
1
|
+
{
|
2
|
+
"version": 3,
|
3
|
+
"mappings": "AAKA,iBAAiB;AACjB,iBAAkB;EAChB,QAAQ,EAAE,QAAQ;EAClB,OAAO,EAAE,YAAY;EACrB,cAAc,EAAE,MAAM;EACtB,SAAS,EAAE,IAAI;EACf,WAAW,EAAE,IAAI;AACjB,mBAAE;EACA,UAAU,EAAE,UAAU;AAExB,8BAAa;EACX,QAAQ,EAAE,QAAQ;EAClB,GAAG,EAAE,IAAI;EACT,OAAO,EAAE,IAAI;EACb,KAAK,EAAE,IAAI;EACX,MAAM,EAAE,cAAc;EACtB,UAAU,EAAE,CAAC;EACb,UAAU,EAAE,IAAI;EAChB,UAAU,EAAE,6BAAwB;EACp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