intesys_asset_manager 1.1.2 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,446 @@
1
+ $chosen-sprite: image-url('asset_manager/chosen-rails/chosen-sprite.png') !default;
2
+ $chosen-sprite-retina: image-url('asset_manager/chosen-rails/chosen-sprite@2x.png') !default;
3
+
4
+ /* @group Base */
5
+ .chosen-container {
6
+ position: relative;
7
+ display: inline-block;
8
+ vertical-align: middle;
9
+ font-size: 13px;
10
+ zoom: 1;
11
+ *display: inline;
12
+ -webkit-user-select: none;
13
+ -moz-user-select: none;
14
+ user-select: none;
15
+ .chosen-drop {
16
+ position: absolute;
17
+ top: 100%;
18
+ left: -9999px;
19
+ z-index: 1010;
20
+ -webkit-box-sizing: border-box;
21
+ -moz-box-sizing: border-box;
22
+ box-sizing: border-box;
23
+ width: 100%;
24
+ border: 1px solid #aaa;
25
+ border-top: 0;
26
+ background: #fff;
27
+ box-shadow: 0 4px 5px rgba(#000,.15);
28
+ }
29
+ &.chosen-with-drop .chosen-drop {
30
+ left: 0;
31
+ }
32
+ a{
33
+ cursor: pointer;
34
+ }
35
+ }
36
+ /* @end */
37
+
38
+ /* @group Single Chosen */
39
+ .chosen-container-single{
40
+ .chosen-single {
41
+ position: relative;
42
+ display: block;
43
+ overflow: hidden;
44
+ padding: 0 0 0 8px;
45
+ height: 23px;
46
+ border: 1px solid #aaa;
47
+ border-radius: 5px;
48
+ background-color: #fff;
49
+ background:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #fff), color-stop(50%, #f6f6f6), color-stop(52%, #eee), color-stop(100%, #f4f4f4));
50
+ background:-webkit-linear-gradient(top, #fff 20%, #f6f6f6 50%, #eee 52%, #f4f4f4 100%);
51
+ background:-moz-linear-gradient(top, #fff 20%, #f6f6f6 50%, #eee 52%, #f4f4f4 100%);
52
+ background:-o-linear-gradient(top, #fff 20%, #f6f6f6 50%, #eee 52%, #f4f4f4 100%);
53
+ background:linear-gradient(top, #ffffff 20%,#f6f6f6 50%,#eeeeee 52%,#f4f4f4 100%);
54
+ background-clip: padding-box;
55
+ box-shadow: 0 0 3px #fff inset, 0 1px 1px rgba(#000,.1);
56
+ color: #444;
57
+ text-decoration: none;
58
+ white-space: nowrap;
59
+ line-height: 24px;
60
+ }
61
+ .chosen-default {
62
+ color: #999;
63
+ }
64
+ .chosen-single span {
65
+ display: block;
66
+ overflow: hidden;
67
+ margin-right: 26px;
68
+ text-overflow: ellipsis;
69
+ white-space: nowrap;
70
+ }
71
+ .chosen-single-with-deselect span {
72
+ margin-right: 38px;
73
+ }
74
+ .chosen-single abbr {
75
+ position: absolute;
76
+ top: 6px;
77
+ right: 26px;
78
+ display: block;
79
+ width: 12px;
80
+ height: 12px;
81
+ background: $chosen-sprite -42px 1px no-repeat;
82
+ font-size: 1px;
83
+ &:hover {
84
+ background-position: -42px -10px;
85
+ }
86
+ }
87
+ &.chosen-disabled .chosen-single abbr:hover {
88
+ background-position: -42px -10px;
89
+ }
90
+ .chosen-single div {
91
+ position: absolute;
92
+ top: 0;
93
+ right: 0;
94
+ display: block;
95
+ width: 18px;
96
+ height: 100%;
97
+ b {
98
+ display: block;
99
+ width: 100%;
100
+ height: 100%;
101
+ background: $chosen-sprite no-repeat 0px 2px;
102
+ }
103
+ }
104
+ .chosen-search {
105
+ position: relative;
106
+ z-index: 1010;
107
+ margin: 0;
108
+ padding: 3px 4px;
109
+ white-space: nowrap;
110
+ input[type="text"] {
111
+ -webkit-box-sizing: border-box;
112
+ -moz-box-sizing: border-box;
113
+ box-sizing: border-box;
114
+ margin: 1px 0;
115
+ padding: 4px 20px 4px 5px;
116
+ width: 100%;
117
+ height: auto;
118
+ outline: 0;
119
+ border: 1px solid #aaa;
120
+ background: #fff $chosen-sprite no-repeat 100% -20px;
121
+ background: url($chosen-sprite) no-repeat 100% -20px,-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(1%, #eee), color-stop(15%, #fff));
122
+ background: url($chosen-sprite) no-repeat 100% -20px,-webkit-linear-gradient(#eee 1%, #fff 15%);
123
+ background: url($chosen-sprite) no-repeat 100% -20px,-moz-linear-gradient(#eee 1%, #fff 15%);
124
+ background: url($chosen-sprite) no-repeat 100% -20px,-o-linear-gradient(#eee 1%, #fff 15%);
125
+ background: url($chosen-sprite) no-repeat 100% -20px,linear-gradient(#eeeeee 1%,#ffffff 15%);
126
+ font-size: 1em;
127
+ font-family: sans-serif;
128
+ line-height: normal;
129
+ border-radius: 0;
130
+ }
131
+ }
132
+ .chosen-drop {
133
+ margin-top: -1px;
134
+ border-radius: 0 0 4px 4px;
135
+ background-clip: padding-box;
136
+ }
137
+ &.chosen-container-single-nosearch .chosen-search {
138
+ position: absolute;
139
+ left: -9999px;
140
+ }
141
+ }
142
+ /* @end */
143
+
144
+ /* @group Results */
145
+ .chosen-container .chosen-results {
146
+ color: #444;
147
+ position: relative;
148
+ overflow-x: hidden;
149
+ overflow-y: auto;
150
+ margin: 0 4px 4px 0;
151
+ padding: 0 0 0 4px;
152
+ max-height: 240px;
153
+ -webkit-overflow-scrolling: touch;
154
+ li {
155
+ display: none;
156
+ margin: 0;
157
+ padding: 5px 6px;
158
+ list-style: none;
159
+ line-height: 15px;
160
+ -webkit-touch-callout: none;
161
+ &.active-result {
162
+ display: list-item;
163
+ cursor: pointer;
164
+ }
165
+ &.disabled-result {
166
+ display: list-item;
167
+ color: #ccc;
168
+ cursor: default;
169
+ }
170
+ &.highlighted {
171
+ background-color: #3875d7;
172
+ background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #3875d7), color-stop(90%, #2a62bc));
173
+ background-image: -webkit-linear-gradient(#3875d7 20%, #2a62bc 90%);
174
+ background-image: -moz-linear-gradient(#3875d7 20%, #2a62bc 90%);
175
+ background-image: -o-linear-gradient(#3875d7 20%, #2a62bc 90%);
176
+ background-image: linear-gradient(#3875d7 20%,#2a62bc 90%);
177
+ color: #fff;
178
+ }
179
+ &.no-results {
180
+ color: #777;
181
+ display: list-item;
182
+ background: #f4f4f4;
183
+ }
184
+ &.group-result {
185
+ display: list-item;
186
+ font-weight: bold;
187
+ cursor: default;
188
+ }
189
+ &.group-option {
190
+ padding-left: 15px;
191
+ }
192
+ em {
193
+ font-style: normal;
194
+ text-decoration: underline;
195
+ }
196
+ }
197
+ }
198
+ /* @end */
199
+
200
+ /* @group Multi Chosen */
201
+ .chosen-container-multi{
202
+ .chosen-choices {
203
+ position: relative;
204
+ overflow: hidden;
205
+ -webkit-box-sizing: border-box;
206
+ -moz-box-sizing: border-box;
207
+ box-sizing: border-box;
208
+ margin: 0;
209
+ padding: 0;
210
+ width: 100%;
211
+ height: auto !important;
212
+ height: 1%;
213
+ border: 1px solid #aaa;
214
+ background-color: #fff;
215
+ background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(1%, #eee), color-stop(15%, #fff));
216
+ background-image: -webkit-linear-gradient(#eee 1%, #fff 15%);
217
+ background-image: -moz-linear-gradient(#eee 1%, #fff 15%);
218
+ background-image: -o-linear-gradient(#eee 1%, #fff 15%);
219
+ background-image: linear-gradient(#eeeeee 1%,#ffffff 15%);
220
+ cursor: text;
221
+ }
222
+ .chosen-choices li {
223
+ float: left;
224
+ list-style: none;
225
+ &.search-field {
226
+ margin: 0;
227
+ padding: 0;
228
+ white-space: nowrap;
229
+ input[type="text"] {
230
+ margin: 1px 0;
231
+ padding: 5px;
232
+ height: 15px;
233
+ outline: 0;
234
+ border: 0 !important;
235
+ background: transparent !important;
236
+ box-shadow: none;
237
+ color: #999;
238
+ font-size: 100%;
239
+ font-family: sans-serif;
240
+ line-height: normal;
241
+ border-radius: 0;
242
+ }
243
+ }
244
+ &.search-choice {
245
+ position: relative;
246
+ margin: 3px 0 3px 5px;
247
+ padding: 3px 20px 3px 5px;
248
+ border: 1px solid #aaa;
249
+ border-radius: 3px;
250
+ background-color: #e4e4e4;
251
+ background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eee));
252
+ background-image: -webkit-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
253
+ background-image: -moz-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
254
+ background-image: -o-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
255
+ background-image: linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eeeeee 100%);
256
+ background-clip: padding-box;
257
+ box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(#000,.05);
258
+ color: #333;
259
+ line-height: 13px;
260
+ cursor: default;
261
+ .search-choice-close {
262
+ position: absolute;
263
+ top: 4px;
264
+ right: 3px;
265
+ display: block;
266
+ width: 12px;
267
+ height: 12px;
268
+ background: $chosen-sprite -42px 1px no-repeat;
269
+ font-size: 1px;
270
+ &:hover {
271
+ background-position: -42px -10px;
272
+ }
273
+ }
274
+ }
275
+ &.search-choice-disabled {
276
+ padding-right: 5px;
277
+ border: 1px solid #ccc;
278
+ background-color: #e4e4e4;
279
+ background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eee));
280
+ background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
281
+ background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
282
+ background-image: -o-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
283
+ background-image: linear-gradient(top, #f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eeeeee 100%);
284
+ color: #666;
285
+ }
286
+ &.search-choice-focus {
287
+ background: #d4d4d4;
288
+ .search-choice-close {
289
+ background-position: -42px -10px;
290
+ }
291
+ }
292
+ }
293
+ .chosen-results {
294
+ margin: 0;
295
+ padding: 0;
296
+ }
297
+ .chosen-drop .result-selected {
298
+ display: list-item;
299
+ color: #ccc;
300
+ cursor: default;
301
+ }
302
+ }
303
+ /* @end */
304
+
305
+ /* @group Active */
306
+ .chosen-container-active{
307
+ .chosen-single {
308
+ border: 1px solid #5897fb;
309
+ box-shadow: 0 0 5px rgba(#000,.3);
310
+ }
311
+ &.chosen-with-drop{
312
+ .chosen-single {
313
+ border: 1px solid #aaa;
314
+ -moz-border-radius-bottomright: 0;
315
+ border-bottom-right-radius: 0;
316
+ -moz-border-radius-bottomleft: 0;
317
+ border-bottom-left-radius: 0;
318
+ background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #eee), color-stop(80%, #fff));
319
+ background-image: -webkit-linear-gradient(#eee 20%, #fff 80%);
320
+ background-image: -moz-linear-gradient(#eee 20%, #fff 80%);
321
+ background-image: -o-linear-gradient(#eee 20%, #fff 80%);
322
+ background-image: linear-gradient(#eeeeee 20%,#ffffff 80%);
323
+ box-shadow: 0 1px 0 #fff inset;
324
+ }
325
+ .chosen-single div {
326
+ border-left: none;
327
+ background: transparent;
328
+ b {
329
+ background-position: -18px 2px;
330
+ }
331
+ }
332
+ }
333
+ .chosen-choices {
334
+ border: 1px solid #5897fb;
335
+ box-shadow: 0 0 5px rgba(#000,.3);
336
+ li.search-field input[type="text"] {
337
+ color: #222 !important;
338
+ }
339
+ }
340
+ }
341
+ /* @end */
342
+
343
+ /* @group Disabled Support */
344
+ .chosen-disabled {
345
+ opacity: 0.5 !important;
346
+ cursor: default;
347
+ .chosen-single {
348
+ cursor: default;
349
+ }
350
+ .chosen-choices .search-choice .search-choice-close {
351
+ cursor: default;
352
+ }
353
+ }
354
+ /* @end */
355
+
356
+ /* @group Right to Left */
357
+ .chosen-rtl {
358
+ text-align: right;
359
+ .chosen-single {
360
+ overflow: visible;
361
+ padding: 0 8px 0 0;
362
+ }
363
+ .chosen-single span {
364
+ margin-right: 0;
365
+ margin-left: 26px;
366
+ direction: rtl;
367
+ }
368
+ .chosen-single-with-deselect span {
369
+ margin-left: 38px;
370
+ }
371
+ .chosen-single div {
372
+ right: auto;
373
+ left: 3px;
374
+ }
375
+ .chosen-single abbr {
376
+ right: auto;
377
+ left: 26px;
378
+ }
379
+ .chosen-choices li {
380
+ float: right;
381
+ &.search-field input[type="text"] {
382
+ direction: rtl;
383
+ }
384
+ &.search-choice {
385
+ margin: 3px 5px 3px 0;
386
+ padding: 3px 5px 3px 19px;
387
+ .search-choice-close {
388
+ right: auto;
389
+ left: 4px;
390
+ }
391
+ }
392
+ }
393
+ &.chosen-container-single-nosearch .chosen-search,
394
+ .chosen-drop {
395
+ left: 9999px;
396
+ }
397
+ &.chosen-container-single .chosen-results {
398
+ margin: 0 0 4px 4px;
399
+ padding: 0 4px 0 0;
400
+ }
401
+ .chosen-results li.group-option {
402
+ padding-right: 15px;
403
+ padding-left: 0;
404
+ }
405
+ &.chosen-container-active.chosen-with-drop .chosen-single div {
406
+ border-right: none;
407
+ }
408
+ .chosen-search input[type="text"] {
409
+ padding: 4px 5px 4px 20px;
410
+ background: #fff $chosen-sprite no-repeat -30px -20px;
411
+ background: url($chosen-sprite) no-repeat -30px -20px,-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(1%, #eee), color-stop(15%, #fff));
412
+ background: url($chosen-sprite) no-repeat -30px -20px,-webkit-linear-gradient(#eee 1%, #fff 15%);
413
+ background: url($chosen-sprite) no-repeat -30px -20px,-moz-linear-gradient(#eee 1%, #fff 15%);
414
+ background: url($chosen-sprite) no-repeat -30px -20px,-o-linear-gradient(#eee 1%, #fff 15%);
415
+ background: url($chosen-sprite) no-repeat -30px -20px,linear-gradient(#eeeeee 1%,#ffffff 15%);
416
+ direction: rtl;
417
+ }
418
+ &.chosen-container-single{
419
+ .chosen-single div b {
420
+ background-position: 6px 2px;
421
+ }
422
+ &.chosen-with-drop{
423
+ .chosen-single div b {
424
+ background-position: -12px 2px;
425
+ }
426
+ }
427
+ }
428
+ }
429
+
430
+ /* @end */
431
+
432
+ /* @group Retina compatibility */
433
+ @media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-resolution: 144dpi) {
434
+ .chosen-rtl .chosen-search input[type="text"],
435
+ .chosen-container-single .chosen-single abbr,
436
+ .chosen-container-single .chosen-single div b,
437
+ .chosen-container-single .chosen-search input[type="text"],
438
+ .chosen-container-multi .chosen-choices .search-choice .search-choice-close,
439
+ .chosen-container .chosen-results-scroll-down span,
440
+ .chosen-container .chosen-results-scroll-up span {
441
+ background-image: $chosen-sprite-retina !important;
442
+ background-size: 52px 37px !important;
443
+ background-repeat: no-repeat !important;
444
+ }
445
+ }
446
+ /* @end */
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: intesys_asset_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Intesys S.r.l.
@@ -53,20 +53,6 @@ dependencies:
53
53
  - - ~>
54
54
  - !ruby/object:Gem::Version
55
55
  version: '0.10'
56
- - !ruby/object:Gem::Dependency
57
- name: chosen-rails
58
- requirement: !ruby/object:Gem::Requirement
59
- requirements:
60
- - - '>='
61
- - !ruby/object:Gem::Version
62
- version: 0.13.2
63
- type: :runtime
64
- prerelease: false
65
- version_requirements: !ruby/object:Gem::Requirement
66
- requirements:
67
- - - '>='
68
- - !ruby/object:Gem::Version
69
- version: 0.13.2
70
56
  - !ruby/object:Gem::Dependency
71
57
  name: cocoon
72
58
  requirement: !ruby/object:Gem::Requirement
@@ -450,7 +436,14 @@ files:
450
436
  - lib/assets/images/bootstrap/glyphicons-halflings-white.png
451
437
  - lib/intesys_asset_manager/version.rb
452
438
  - vendor/assets/javascripts/ias/jquery.ias.js
439
+ - vendor/assets/javascripts/asset_manager/chosen-rails/lib/abstract-chosen.coffee
440
+ - vendor/assets/javascripts/asset_manager/chosen-rails/lib/select-parser.coffee
441
+ - vendor/assets/javascripts/asset_manager/chosen-rails/chosen.proto.coffee
442
+ - vendor/assets/javascripts/asset_manager/chosen-rails/chosen-prototype.js
443
+ - vendor/assets/javascripts/asset_manager/chosen-rails/chosen.jquery.coffee
444
+ - vendor/assets/javascripts/asset_manager/chosen-rails/chosen-jquery.js
453
445
  - vendor/assets/stylesheets/ias/jquery.ias.css
446
+ - vendor/assets/stylesheets/asset_manager/chosen-rails/chosen.css.scss
454
447
  - vendor/assets/images/fancybox_buttons.png
455
448
  - vendor/assets/images/fancybox_sprite@2x.png
456
449
  - vendor/assets/images/ias/loader.gif
@@ -458,6 +451,8 @@ files:
458
451
  - vendor/assets/images/blank.gif
459
452
  - vendor/assets/images/fancybox_overlay.png
460
453
  - vendor/assets/images/clippy.swf
454
+ - vendor/assets/images/asset_manager/chosen-rails/chosen-sprite@2x.png
455
+ - vendor/assets/images/asset_manager/chosen-rails/chosen-sprite.png
461
456
  - vendor/assets/images/asset_manager/file_icons/16x16/php.png
462
457
  - vendor/assets/images/asset_manager/file_icons/16x16/ttf.png
463
458
  - vendor/assets/images/asset_manager/file_icons/16x16/htmlSafari2.png