combo_auto_box 0.0.17 → 0.0.18
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/combo_auto_box/version.rb +1 -1
- data/vendor/assets/images/dark-grey-disclosure-arrow-down.png +0 -0
- data/vendor/assets/images/light-grey-disclosure-arrow-down.png +0 -0
- data/vendor/assets/javascripts/combo-auto-box.js +5 -1
- data/vendor/assets/stylesheets/combo-auto-box.css +3 -1
- metadata +4 -2
Binary file
|
Binary file
|
@@ -146,6 +146,9 @@ var ComboAutoBox = {
|
|
146
146
|
case 'es':
|
147
147
|
operators = [ { id: 'cont', label: 'contiene' }, { id: 'eq', label: 'igual' }, { id: 'gteq', label: 'mayor o igual' }, { id: 'lteq', label: 'menos o igual' } ];
|
148
148
|
break;
|
149
|
+
case 'it':
|
150
|
+
operators = [ { id: 'cont', label: 'contiene' }, { id: 'eq', label: 'uguale' }, { id: 'gteq', label: 'maggiore o uguale' }, { id: 'lteq', label: 'minore o uguale' } ];
|
151
|
+
break;
|
149
152
|
default:
|
150
153
|
operators = [ { id: 'cont', label: '~=' }, { id: 'eq', label: '=' }, { id: 'gteq', label: '>=' }, { id: 'lteq', label: '<=' } ];
|
151
154
|
}
|
@@ -192,7 +195,8 @@ var ComboAutoBox = {
|
|
192
195
|
} catch (error) {
|
193
196
|
paddingRight = 1;
|
194
197
|
}
|
195
|
-
spanTag.css('margin', '
|
198
|
+
spanTag.css('margin', '3px 0px 0px ' + (textField.width() - 13).toString() + 'px');
|
199
|
+
spanTag.children(':first').css('height', (textField.height() - 9).toString() + 'px');
|
196
200
|
|
197
201
|
return true;
|
198
202
|
}
|
@@ -1,6 +1,8 @@
|
|
1
1
|
span.combo-auto-box-item-id { display:none; }
|
2
2
|
div.container-combo-auto-box span.simple { position:absolute;cursor:pointer;display:block;margin:0px 0px 0px 0px; width:20px; }
|
3
|
-
div.container-combo-auto-box span.simple i{ background-image:url(/assets/combo_auto_box_expand.png);width:19px;height:19px;display:block;font-size:0; }
|
3
|
+
/* div.container-combo-auto-box span.simple i { background-image:url(/assets/combo_auto_box_expand.png);width:19px;height:19px;display:block;font-size:0; } */
|
4
|
+
div.container-combo-auto-box span.simple i { background:url(/assets/dark-grey-disclosure-arrow-down.png) no-repeat center;width:4px;height:5px;display:block;padding: 3px 6px 7px 6px; background-color:#EFEFEF;}
|
5
|
+
div.container-combo-auto-box span.simple i:hover { background:url(/assets/light-grey-disclosure-arrow-down.png) no-repeat center; background-color:#EFEFEF;}
|
4
6
|
|
5
7
|
div.multiple { border: 1px solid #CDCDCD; display:table; width:100%; }
|
6
8
|
div.multiple:hover {cursor:text}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: combo_auto_box
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.18
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-11-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -88,6 +88,8 @@ files:
|
|
88
88
|
- lib/combo_auto_box/version.rb
|
89
89
|
- lib/combo_auto_box.rb
|
90
90
|
- vendor/assets/images/combo_auto_box_expand.png
|
91
|
+
- vendor/assets/images/dark-grey-disclosure-arrow-down.png
|
92
|
+
- vendor/assets/images/light-grey-disclosure-arrow-down.png
|
91
93
|
- vendor/assets/javascripts/combo-auto-box.js
|
92
94
|
- vendor/assets/stylesheets/combo-auto-box.css
|
93
95
|
- spec/combo_auto_box_spec.rb
|