formvalidation-rails 0.7.1 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -1
- data/lib/formvalidation-rails/version.rb +2 -2
- data/vendor/assets/javascripts/{formvalidation.js → formValidation.js} +148 -30
- data/vendor/assets/javascripts/formValidation.min.js +13 -0
- data/vendor/assets/javascripts/formvalidation/framework/bootstrap.js +2 -7
- data/vendor/assets/javascripts/formvalidation/framework/bootstrap.min.js +2 -2
- data/vendor/assets/javascripts/formvalidation/framework/bootstrap4.js +215 -0
- data/vendor/assets/javascripts/formvalidation/framework/bootstrap4.min.js +10 -0
- data/vendor/assets/javascripts/formvalidation/framework/foundation.js +36 -50
- data/vendor/assets/javascripts/formvalidation/framework/foundation.min.js +2 -2
- data/vendor/assets/javascripts/formvalidation/framework/foundation5.js +161 -0
- data/vendor/assets/javascripts/formvalidation/framework/foundation5.min.js +10 -0
- data/vendor/assets/javascripts/formvalidation/framework/pure.js +7 -6
- data/vendor/assets/javascripts/formvalidation/framework/pure.min.js +2 -2
- data/vendor/assets/javascripts/formvalidation/framework/semantic.js +4 -4
- data/vendor/assets/javascripts/formvalidation/framework/semantic.min.js +2 -2
- data/vendor/assets/javascripts/formvalidation/framework/uikit.js +2 -8
- data/vendor/assets/javascripts/formvalidation/framework/uikit.min.js +2 -2
- data/vendor/assets/javascripts/formvalidation/language/ar_MA.js +0 -0
- data/vendor/assets/javascripts/formvalidation/language/bg_BG.js +0 -0
- data/vendor/assets/javascripts/formvalidation/language/ca_ES.js +0 -0
- data/vendor/assets/javascripts/formvalidation/language/cs_CZ.js +0 -0
- data/vendor/assets/javascripts/formvalidation/language/da_DK.js +0 -0
- data/vendor/assets/javascripts/formvalidation/language/de_DE.js +0 -0
- data/vendor/assets/javascripts/formvalidation/language/el_GR.js +0 -0
- data/vendor/assets/javascripts/formvalidation/language/en_US.js +0 -0
- data/vendor/assets/javascripts/formvalidation/language/es_CL.js +0 -0
- data/vendor/assets/javascripts/formvalidation/language/es_ES.js +0 -0
- data/vendor/assets/javascripts/formvalidation/language/eu_ES.js +0 -0
- data/vendor/assets/javascripts/formvalidation/language/fa_IR.js +0 -0
- data/vendor/assets/javascripts/formvalidation/language/fi_FI.js +0 -0
- data/vendor/assets/javascripts/formvalidation/language/fr_BE.js +0 -0
- data/vendor/assets/javascripts/formvalidation/language/fr_FR.js +0 -0
- data/vendor/assets/javascripts/formvalidation/language/he_IL.js +0 -0
- data/vendor/assets/javascripts/formvalidation/language/hi_IN.js +0 -0
- data/vendor/assets/javascripts/formvalidation/language/hu_HU.js +0 -0
- data/vendor/assets/javascripts/formvalidation/language/id_ID.js +0 -0
- data/vendor/assets/javascripts/formvalidation/language/it_IT.js +0 -0
- data/vendor/assets/javascripts/formvalidation/language/ja_JP.js +0 -0
- data/vendor/assets/javascripts/formvalidation/language/nl_BE.js +0 -0
- data/vendor/assets/javascripts/formvalidation/language/nl_NL.js +0 -0
- data/vendor/assets/javascripts/formvalidation/language/no_NO.js +3 -3
- data/vendor/assets/javascripts/formvalidation/language/pl_PL.js +0 -0
- data/vendor/assets/javascripts/formvalidation/language/pt_BR.js +0 -0
- data/vendor/assets/javascripts/formvalidation/language/pt_PT.js +0 -0
- data/vendor/assets/javascripts/formvalidation/language/ro_RO.js +0 -0
- data/vendor/assets/javascripts/formvalidation/language/ru_RU.js +0 -0
- data/vendor/assets/javascripts/formvalidation/language/sk_SK.js +0 -0
- data/vendor/assets/javascripts/formvalidation/language/sq_AL.js +0 -0
- data/vendor/assets/javascripts/formvalidation/language/sr_RS.js +0 -0
- data/vendor/assets/javascripts/formvalidation/language/sv_SE.js +0 -0
- data/vendor/assets/javascripts/formvalidation/language/th_TH.js +0 -0
- data/vendor/assets/javascripts/formvalidation/language/tr_TR.js +0 -0
- data/vendor/assets/javascripts/formvalidation/language/ua_UA.js +0 -0
- data/vendor/assets/javascripts/formvalidation/language/vi_VN.js +0 -0
- data/vendor/assets/javascripts/formvalidation/language/zh_CN.js +0 -0
- data/vendor/assets/javascripts/formvalidation/language/zh_TW.js +0 -0
- data/vendor/assets/stylesheets/formValidation.css +299 -0
- data/vendor/assets/stylesheets/formValidation.min.css +9 -0
- metadata +10 -6
- data/vendor/assets/javascripts/formvalidation.min.js +0 -13
- data/vendor/assets/stylesheets/formvalidation.css +0 -169
- data/vendor/assets/stylesheets/formvalidation.min.css +0 -1
@@ -2,9 +2,9 @@
|
|
2
2
|
* FormValidation (http://formvalidation.io)
|
3
3
|
* The best jQuery plugin to validate form fields. Support Bootstrap, Foundation, Pure, SemanticUI, UIKit and custom frameworks
|
4
4
|
*
|
5
|
-
* @version v0.
|
5
|
+
* @version v0.8.1, built on 2016-07-29 1:10:56 AM
|
6
6
|
* @author https://twitter.com/formvalidation
|
7
7
|
* @copyright (c) 2013 - 2016 Nguyen Huu Phuoc
|
8
8
|
* @license http://formvalidation.io/license/
|
9
9
|
*/
|
10
|
-
!function(a){FormValidation.Framework.Uikit=function(b,c){c=a.extend(!0,{button:{selector:'[type="submit"]:not([formnovalidate])',disabled:"disabled"},control:{valid:"uk-form-success",invalid:"uk-form-danger"},err:{clazz:"uk-text-danger",parent:"^.*(uk-form-controls|uk-width-[\\d+]-[\\d+]).*$"},icon:{valid:null,invalid:null,validating:null,feedback:"fv-control-feedback"},row:{selector:".uk-form-row",valid:"fv-has-success",invalid:"fv-has-error",feedback:"fv-has-feedback"}},c),FormValidation.Base.apply(this,[b,c])},FormValidation.Framework.Uikit.prototype=a.extend({},FormValidation.Base.prototype,{_fixIcon:function(a,b){var c=this._namespace,d=a.attr("type"),e=a.attr("data-"+c+"-field"),
|
10
|
+
!function(a){FormValidation.Framework.Uikit=function(b,c){c=a.extend(!0,{button:{selector:'[type="submit"]:not([formnovalidate])',disabled:"disabled"},control:{valid:"uk-form-success",invalid:"uk-form-danger"},err:{clazz:"uk-text-danger",parent:"^.*(uk-form-controls|uk-width-[\\d+]-[\\d+]).*$"},icon:{valid:null,invalid:null,validating:null,feedback:"fv-control-feedback"},row:{selector:".uk-form-row",valid:"fv-has-success",invalid:"fv-has-error",feedback:"fv-has-feedback"}},c),FormValidation.Base.apply(this,[b,c])},FormValidation.Framework.Uikit.prototype=a.extend({},FormValidation.Base.prototype,{_fixIcon:function(a,b){var c=this._namespace,d=a.attr("type"),e=(a.attr("data-"+c+"-field"),a.parent());("checkbox"===d||"radio"===d)&&e.is("label")&&b.insertAfter(e),e.hasClass("uk-form-password")&&b.insertAfter(e)},_createTooltip:function(b,c,d){var e=b.data("fv.icon");e&&(e.data("tooltip")&&(e.data("tooltip").off(),e.removeData("tooltip")),e.attr("title",c).css({cursor:"pointer"}),new a.UIkit.tooltip(e))},_destroyTooltip:function(a,b){var c=a.data("fv.icon");if(c){var d=c.data("tooltip");d&&(d.hide(),d.off(),c.off("focus mouseenter").removeData("tooltip")),c.css({cursor:""})}},_hideTooltip:function(a,b){var c=a.data("fv.icon");if(c){var d=c.data("tooltip");d&&d.hide(),c.css({cursor:""})}},_showTooltip:function(a,b){var c=a.data("fv.icon");if(c){c.css({cursor:"pointer"});var d=c.data("tooltip");d&&d.show()}}})}(jQuery);
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -235,7 +235,7 @@
|
|
235
235
|
'default': 'Vennligst fyll ut dette feltet'
|
236
236
|
},
|
237
237
|
numeric: {
|
238
|
-
'default': 'Vennligst fyll ut dette feltet med et gyldig
|
238
|
+
'default': 'Vennligst fyll ut dette feltet med et gyldig flytende desimaltall'
|
239
239
|
},
|
240
240
|
phone: {
|
241
241
|
'default': 'Vennligst fyll ut dette feltet med et gyldig telefonnummer',
|
@@ -285,14 +285,14 @@
|
|
285
285
|
'default': 'Vennligst fyll ut dette feltet med et gyldig SIRET-nummer'
|
286
286
|
},
|
287
287
|
step: {
|
288
|
-
'default': 'Vennligst fyll ut dette feltet med et gyldig
|
288
|
+
'default': 'Vennligst fyll ut dette feltet med et gyldig trinn av %s'
|
289
289
|
},
|
290
290
|
stringCase: {
|
291
291
|
'default': 'Venligst fyll inn dette feltet kun med små bokstaver',
|
292
292
|
upper: 'Venligst fyll inn dette feltet kun med store bokstaver'
|
293
293
|
},
|
294
294
|
stringLength: {
|
295
|
-
'default': 'Vennligst fyll ut dette feltet med en verdi
|
295
|
+
'default': 'Vennligst fyll ut dette feltet med en verdi av gyldig lengde',
|
296
296
|
less: 'Vennligst fyll ut dette feltet med mindre enn %s tegn',
|
297
297
|
more: 'Vennligst fyll ut dette feltet med mer enn %s tegn',
|
298
298
|
between: 'Vennligst fyll ut dette feltet med en verdi mellom %s og %s tegn'
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,299 @@
|
|
1
|
+
/*!
|
2
|
+
* FormValidation (http://formvalidation.io)
|
3
|
+
* The best jQuery plugin to validate form fields. Support Bootstrap, Foundation, Pure, SemanticUI, UIKit and custom frameworks
|
4
|
+
*
|
5
|
+
* @version v0.8.1, built on 2016-07-29 1:10:54 AM
|
6
|
+
* @author https://twitter.com/formvalidation
|
7
|
+
* @copyright (c) 2013 - 2016 Nguyen Huu Phuoc
|
8
|
+
* @license http://formvalidation.io/license/
|
9
|
+
*/
|
10
|
+
.fv-has-feedback {
|
11
|
+
position: relative;
|
12
|
+
}
|
13
|
+
|
14
|
+
.fv-control-feedback {
|
15
|
+
position: absolute;
|
16
|
+
top: 0;
|
17
|
+
right: 0;
|
18
|
+
z-index: 3;
|
19
|
+
display: block;
|
20
|
+
text-align: center;
|
21
|
+
}
|
22
|
+
|
23
|
+
.fv-help-block {
|
24
|
+
display: block;
|
25
|
+
}
|
26
|
+
|
27
|
+
/* Hide the clear icon for field using placeholder attribute on IE10/11 */
|
28
|
+
.fv-form [placeholder]::-ms-clear {
|
29
|
+
display: none;
|
30
|
+
}
|
31
|
+
|
32
|
+
/* -------------------
|
33
|
+
* Support Bootstrap 3
|
34
|
+
* ------------------- */
|
35
|
+
|
36
|
+
.fv-form-bootstrap .help-block {
|
37
|
+
margin-bottom: 0;
|
38
|
+
}
|
39
|
+
|
40
|
+
.fv-form-bootstrap .tooltip-inner {
|
41
|
+
text-align: left;
|
42
|
+
}
|
43
|
+
|
44
|
+
.fv-form-bootstrap .fv-bootstrap-icon-input-group {
|
45
|
+
z-index: 100;
|
46
|
+
}
|
47
|
+
|
48
|
+
/* Inline form */
|
49
|
+
.form-inline.fv-form-bootstrap .form-group {
|
50
|
+
vertical-align: top;
|
51
|
+
}
|
52
|
+
|
53
|
+
/* -------------------------
|
54
|
+
* Support Bootstrap 4 alpha
|
55
|
+
* ------------------------- */
|
56
|
+
|
57
|
+
.fv-form-bootstrap4 .fv-control-feedback {
|
58
|
+
width: 38px;
|
59
|
+
height: 38px;
|
60
|
+
line-height: 38px;
|
61
|
+
}
|
62
|
+
|
63
|
+
/* For horizontal form */
|
64
|
+
.fv-form-bootstrap4 .form-group.row .fv-control-feedback {
|
65
|
+
right: 15px;
|
66
|
+
}
|
67
|
+
.fv-form-bootstrap4 .form-group.row .form-check~.fv-control-feedback {
|
68
|
+
top: -7px; /* labelHeight/2 - iconHeight/2 */
|
69
|
+
}
|
70
|
+
/* Inline form */
|
71
|
+
.fv-form-bootstrap4.form-inline .form-group {
|
72
|
+
vertical-align: top;
|
73
|
+
}
|
74
|
+
/* Stacked form */
|
75
|
+
.fv-form-bootstrap4:not(.form-inline) label~.fv-control-feedback {
|
76
|
+
top: 32px;
|
77
|
+
}
|
78
|
+
/* Without label */
|
79
|
+
.fv-form-bootstrap4:not(.form-inline) label.sr-only~.fv-control-feedback {
|
80
|
+
top: -7px; /* labelHeight/2 - iconHeight/2 */
|
81
|
+
}
|
82
|
+
.fv-form-bootstrap4:not(.form-inline) .form-check~.fv-control-feedback {
|
83
|
+
top: 25px; /* labelHeight + checkboxHeight/2 - iconHeight/2 */
|
84
|
+
}
|
85
|
+
|
86
|
+
.fv-form-bootstrap4 .has-success label,
|
87
|
+
.fv-form-bootstrap4 .has-success .fv-control-feedback {
|
88
|
+
color: #5cb85c;
|
89
|
+
}
|
90
|
+
|
91
|
+
.fv-form-bootstrap4 .has-warning label,
|
92
|
+
.fv-form-bootstrap4 .has-warning .fv-control-feedback {
|
93
|
+
color: #f0ad4e;
|
94
|
+
}
|
95
|
+
|
96
|
+
/* --------------------
|
97
|
+
* Support Foundation 5
|
98
|
+
* -------------------- */
|
99
|
+
|
100
|
+
/* Icon position */
|
101
|
+
.fv-form-foundation5 .fv-control-feedback {
|
102
|
+
right: 15px; /* The padding-right of .columns */
|
103
|
+
width: 37px; /* Same as height of input */
|
104
|
+
height: 37px;
|
105
|
+
line-height: 37px;
|
106
|
+
}
|
107
|
+
|
108
|
+
.fv-form-foundation5 .row .row:not(.collapse) .fv-control-feedback {
|
109
|
+
right: 8px; /* Multiple fields in the same row, same as padding-right of .row .row .column(s) */
|
110
|
+
}
|
111
|
+
|
112
|
+
.fv-form-foundation5 .row .collapse .fv-control-feedback {
|
113
|
+
right: 0;
|
114
|
+
}
|
115
|
+
|
116
|
+
.fv-form-foundation5.fv-form-horizontal [type="checkbox"]~.fv-control-feedback,
|
117
|
+
.fv-form-foundation5.fv-form-horizontal [type="radio"]~.fv-control-feedback {
|
118
|
+
top: -8px; /* labelHeight/2 - iconHeight/2 */
|
119
|
+
}
|
120
|
+
|
121
|
+
/* Stacked form */
|
122
|
+
.fv-form-foundation5 label .fv-control-feedback {
|
123
|
+
top: 21px; /* Same as height of label */
|
124
|
+
}
|
125
|
+
|
126
|
+
.fv-form-foundation5 [type="checkbox"]~.fv-control-feedback,
|
127
|
+
.fv-form-foundation5 [type="radio"]~.fv-control-feedback {
|
128
|
+
top: 15px;
|
129
|
+
}
|
130
|
+
|
131
|
+
/* Color */
|
132
|
+
.fv-form-foundation5 .error .fv-control-feedback {
|
133
|
+
color: #f04124; /* Same as $alert-color, .error */
|
134
|
+
}
|
135
|
+
|
136
|
+
.fv-form-foundation5 .fv-has-success label,
|
137
|
+
.fv-form-foundation5 .fv-has-success .fv-control-feedback {
|
138
|
+
color: #43AC6A; /* Same as $success-color */
|
139
|
+
}
|
140
|
+
|
141
|
+
/* --------------------
|
142
|
+
* Support Foundation 6
|
143
|
+
* -------------------- */
|
144
|
+
|
145
|
+
/* Icon position */
|
146
|
+
.fv-form-foundation .fv-control-feedback {
|
147
|
+
right: 15px; /* The padding-right of .columns */
|
148
|
+
width: 39px; /* Same as height of input */
|
149
|
+
height: 39px;
|
150
|
+
line-height: 39px;
|
151
|
+
}
|
152
|
+
|
153
|
+
.fv-form-foundation [type="checkbox"]~.fv-control-feedback,
|
154
|
+
.fv-form-foundation [type="radio"]~.fv-control-feedback {
|
155
|
+
top: -7px; /* labelHeight/2 - iconHeight/2 */
|
156
|
+
}
|
157
|
+
|
158
|
+
.fv-form-foundation .form-error {
|
159
|
+
display: block;
|
160
|
+
}
|
161
|
+
|
162
|
+
/* Stacked form */
|
163
|
+
.fv-form-foundation label .fv-control-feedback,
|
164
|
+
.fv-form-foundation fieldset [type="checkbox"]~.fv-control-feedback,
|
165
|
+
.fv-form-foundation fieldset [type="radio"]~.fv-control-feedback {
|
166
|
+
top: 25px; /* Same as height of label */
|
167
|
+
}
|
168
|
+
|
169
|
+
/* Color */
|
170
|
+
.fv-form-foundation .fv-has-error label,
|
171
|
+
.fv-form-foundation .fv-has-error fieldset legend,
|
172
|
+
.fv-form-foundation .fv-has-error .fv-control-feedback {
|
173
|
+
color: #ec5840; /* Same as .alert */
|
174
|
+
}
|
175
|
+
|
176
|
+
.fv-form-foundation .fv-has-success label,
|
177
|
+
.fv-form-foundation .fv-has-success fieldset legend,
|
178
|
+
.fv-form-foundation .fv-has-success .fv-control-feedback {
|
179
|
+
color: #3adb76; /* Same as .success */
|
180
|
+
}
|
181
|
+
|
182
|
+
/* Tooltip */
|
183
|
+
.fv-foundation-tooltip:before {
|
184
|
+
border-color: transparent transparent #0a0a0a;
|
185
|
+
}
|
186
|
+
|
187
|
+
/* ------------
|
188
|
+
* Support Pure
|
189
|
+
* ------------ */
|
190
|
+
|
191
|
+
.fv-form-pure .fv-control-feedback {
|
192
|
+
width: 36px; /* Height of Pure input */
|
193
|
+
height: 36px;
|
194
|
+
line-height: 36px;
|
195
|
+
}
|
196
|
+
|
197
|
+
/* Horizontal form */
|
198
|
+
.fv-form-pure.pure-form-aligned [type="checkbox"]~.fv-control-feedback,
|
199
|
+
.fv-form-pure.pure-form-aligned [type="radio"]~.fv-control-feedback {
|
200
|
+
top: -9px; /* labelHeight/2 - iconHeight/2 */
|
201
|
+
}
|
202
|
+
|
203
|
+
.fv-form-pure.pure-form-aligned .fv-help-block {
|
204
|
+
margin-top: 5px;
|
205
|
+
margin-left: 180px;
|
206
|
+
}
|
207
|
+
|
208
|
+
/* Stacked form */
|
209
|
+
.fv-form-pure.pure-form-stacked .pure-control-group {
|
210
|
+
margin-bottom: 8px;
|
211
|
+
}
|
212
|
+
|
213
|
+
.fv-form-pure.pure-form-stacked .fv-control-feedback {
|
214
|
+
top: 22px; /* Same as height of label */
|
215
|
+
}
|
216
|
+
|
217
|
+
.fv-form-pure.pure-form-stacked .pure-radio~.fv-control-feedback {
|
218
|
+
top: 20px;
|
219
|
+
}
|
220
|
+
|
221
|
+
.fv-form-pure.pure-form-stacked .fv-sr-only~.fv-control-feedback {
|
222
|
+
top: -9px;
|
223
|
+
}
|
224
|
+
|
225
|
+
.fv-form-pure .fv-has-error label,
|
226
|
+
.fv-form-pure .fv-has-error .fv-help-block,
|
227
|
+
.fv-form-pure .fv-has-error .fv-control-feedback {
|
228
|
+
color: #CA3C3C; /* Same as .button-error */
|
229
|
+
}
|
230
|
+
|
231
|
+
.fv-form-pure .fv-has-success label,
|
232
|
+
.fv-form-pure .fv-has-success .fv-help-block,
|
233
|
+
.fv-form-pure .fv-has-success .fv-control-feedback {
|
234
|
+
color: #1CB841; /* Same as .button-success */
|
235
|
+
}
|
236
|
+
|
237
|
+
/* -------------------
|
238
|
+
* Support Semantic UI
|
239
|
+
* ------------------- */
|
240
|
+
|
241
|
+
.fv-form-semantic.ui.form .fields.error label {
|
242
|
+
color: #9f3a38; /* Same as .ui.form .field.error .input */
|
243
|
+
}
|
244
|
+
|
245
|
+
.fv-form-semantic .fv-control-feedback {
|
246
|
+
right: 7px;
|
247
|
+
}
|
248
|
+
|
249
|
+
.fv-form-semantic .error .icon {
|
250
|
+
color: #9f3a38;
|
251
|
+
}
|
252
|
+
|
253
|
+
/* --------------
|
254
|
+
* Support UI Kit
|
255
|
+
* -------------- */
|
256
|
+
|
257
|
+
.fv-form-uikit .fv-control-feedback {
|
258
|
+
top: 25px; /* Height of UIKit label */
|
259
|
+
width: 30px; /* Height of UIKit input */
|
260
|
+
height: 30px;
|
261
|
+
line-height: 30px;
|
262
|
+
}
|
263
|
+
|
264
|
+
.fv-form-uikit .uk-text-danger {
|
265
|
+
display: block;
|
266
|
+
}
|
267
|
+
|
268
|
+
/* UIKit horizontal form */
|
269
|
+
.fv-form-uikit.uk-form-horizontal .fv-control-feedback {
|
270
|
+
top: 0;
|
271
|
+
}
|
272
|
+
|
273
|
+
.fv-form-uikit.uk-form-horizontal [type="checkbox"]~.fv-control-feedback,
|
274
|
+
.fv-form-uikit.uk-form-horizontal [type="radio"]~.fv-control-feedback {
|
275
|
+
top: -7px;
|
276
|
+
}
|
277
|
+
|
278
|
+
/* Without labels */
|
279
|
+
.fv-form-uikit label.fv-sr-only~.fv-control-feedback {
|
280
|
+
top: -7px !important;
|
281
|
+
}
|
282
|
+
|
283
|
+
/* Stacked form */
|
284
|
+
.fv-form-uikit.uk-form-stacked [type="checkbox"]~.fv-control-feedback,
|
285
|
+
.fv-form-uikit.uk-form-stacked [type="radio"]~.fv-control-feedback {
|
286
|
+
top: 20px;
|
287
|
+
}
|
288
|
+
|
289
|
+
.fv-form-uikit .fv-has-error label,
|
290
|
+
.fv-form-uikit .fv-has-error .uk-form-label,
|
291
|
+
.fv-form-uikit .fv-has-error .fv-control-feedback {
|
292
|
+
color: #D85030; /* Same as .uk-form-danger */
|
293
|
+
}
|
294
|
+
|
295
|
+
.fv-form-uikit .fv-has-success label,
|
296
|
+
.fv-form-uikit .fv-has-success .uk-form-label,
|
297
|
+
.fv-form-uikit .fv-has-success .fv-control-feedback {
|
298
|
+
color: #659F13; /* Same as .uk-form-success */
|
299
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
/*!
|
2
|
+
* FormValidation (http://formvalidation.io)
|
3
|
+
* The best jQuery plugin to validate form fields. Support Bootstrap, Foundation, Pure, SemanticUI, UIKit and custom frameworks
|
4
|
+
*
|
5
|
+
* @version v0.8.1, built on 2016-07-29 1:10:54 AM
|
6
|
+
* @author https://twitter.com/formvalidation
|
7
|
+
* @copyright (c) 2013 - 2016 Nguyen Huu Phuoc
|
8
|
+
* @license http://formvalidation.io/license/
|
9
|
+
*/.form-inline.fv-form-bootstrap .form-group,.fv-form-bootstrap4.form-inline .form-group{vertical-align:top}.fv-has-feedback{position:relative}.fv-control-feedback{position:absolute;top:0;right:0;z-index:3;display:block;text-align:center}.fv-help-block{display:block}.fv-form [placeholder]::-ms-clear{display:none}.fv-form-foundation .form-error,.fv-form-uikit .uk-text-danger{display:block}.fv-form-bootstrap .help-block{margin-bottom:0}.fv-form-bootstrap .tooltip-inner{text-align:left}.fv-form-bootstrap .fv-bootstrap-icon-input-group{z-index:100}.fv-form-bootstrap4 .fv-control-feedback{width:38px;height:38px;line-height:38px}.fv-form-bootstrap4 .form-group.row .fv-control-feedback{right:15px}.fv-form-bootstrap4 .form-group.row .form-check~.fv-control-feedback{top:-7px}.fv-form-bootstrap4:not(.form-inline) label~.fv-control-feedback{top:32px}.fv-form-bootstrap4:not(.form-inline) label.sr-only~.fv-control-feedback{top:-7px}.fv-form-bootstrap4:not(.form-inline) .form-check~.fv-control-feedback{top:25px}.fv-form-bootstrap4 .has-success .fv-control-feedback,.fv-form-bootstrap4 .has-success label{color:#5cb85c}.fv-form-bootstrap4 .has-warning .fv-control-feedback,.fv-form-bootstrap4 .has-warning label{color:#f0ad4e}.fv-form-foundation5 .fv-control-feedback{right:15px;width:37px;height:37px;line-height:37px}.fv-form-foundation5 .row .row:not(.collapse) .fv-control-feedback{right:8px}.fv-form-foundation5 .row .collapse .fv-control-feedback{right:0}.fv-form-foundation5.fv-form-horizontal [type=checkbox]~.fv-control-feedback,.fv-form-foundation5.fv-form-horizontal [type=radio]~.fv-control-feedback{top:-8px}.fv-form-foundation5 label .fv-control-feedback{top:21px}.fv-form-foundation5 [type=checkbox]~.fv-control-feedback,.fv-form-foundation5 [type=radio]~.fv-control-feedback{top:15px}.fv-form-foundation5 .error .fv-control-feedback{color:#f04124}.fv-form-foundation5 .fv-has-success .fv-control-feedback,.fv-form-foundation5 .fv-has-success label{color:#43AC6A}.fv-form-foundation .fv-control-feedback{right:15px;width:39px;height:39px;line-height:39px}.fv-form-foundation [type=checkbox]~.fv-control-feedback,.fv-form-foundation [type=radio]~.fv-control-feedback{top:-7px}.fv-form-foundation fieldset [type=checkbox]~.fv-control-feedback,.fv-form-foundation fieldset [type=radio]~.fv-control-feedback,.fv-form-foundation label .fv-control-feedback{top:25px}.fv-form-foundation .fv-has-error .fv-control-feedback,.fv-form-foundation .fv-has-error fieldset legend,.fv-form-foundation .fv-has-error label{color:#ec5840}.fv-form-foundation .fv-has-success .fv-control-feedback,.fv-form-foundation .fv-has-success fieldset legend,.fv-form-foundation .fv-has-success label{color:#3adb76}.fv-foundation-tooltip:before{border-color:transparent transparent #0a0a0a}.fv-form-pure .fv-control-feedback{width:36px;height:36px;line-height:36px}.fv-form-pure.pure-form-aligned [type=checkbox]~.fv-control-feedback,.fv-form-pure.pure-form-aligned [type=radio]~.fv-control-feedback{top:-9px}.fv-form-pure.pure-form-aligned .fv-help-block{margin-top:5px;margin-left:180px}.fv-form-pure.pure-form-stacked .pure-control-group{margin-bottom:8px}.fv-form-pure.pure-form-stacked .fv-control-feedback{top:22px}.fv-form-pure.pure-form-stacked .pure-radio~.fv-control-feedback{top:20px}.fv-form-pure.pure-form-stacked .fv-sr-only~.fv-control-feedback{top:-9px}.fv-form-pure .fv-has-error .fv-control-feedback,.fv-form-pure .fv-has-error .fv-help-block,.fv-form-pure .fv-has-error label{color:#CA3C3C}.fv-form-pure .fv-has-success .fv-control-feedback,.fv-form-pure .fv-has-success .fv-help-block,.fv-form-pure .fv-has-success label{color:#1CB841}.fv-form-semantic .error .icon,.fv-form-semantic.ui.form .fields.error label{color:#9f3a38}.fv-form-semantic .fv-control-feedback{right:7px}.fv-form-uikit .fv-control-feedback{top:25px;width:30px;height:30px;line-height:30px}.fv-form-uikit.uk-form-horizontal .fv-control-feedback{top:0}.fv-form-uikit.uk-form-horizontal [type=checkbox]~.fv-control-feedback,.fv-form-uikit.uk-form-horizontal [type=radio]~.fv-control-feedback{top:-7px}.fv-form-uikit label.fv-sr-only~.fv-control-feedback{top:-7px!important}.fv-form-uikit.uk-form-stacked [type=checkbox]~.fv-control-feedback,.fv-form-uikit.uk-form-stacked [type=radio]~.fv-control-feedback{top:20px}.fv-form-uikit .fv-has-error .fv-control-feedback,.fv-form-uikit .fv-has-error .uk-form-label,.fv-form-uikit .fv-has-error label{color:#D85030}.fv-form-uikit .fv-has-success .fv-control-feedback,.fv-form-uikit .fv-has-success .uk-form-label,.fv-form-uikit .fv-has-success label{color:#659F13}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: formvalidation-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Benjamin Hüttinger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jquery-rails
|
@@ -67,12 +67,16 @@ files:
|
|
67
67
|
- lib/formvalidation-rails.rb
|
68
68
|
- lib/formvalidation-rails/engine.rb
|
69
69
|
- lib/formvalidation-rails/version.rb
|
70
|
-
- vendor/assets/javascripts/
|
71
|
-
- vendor/assets/javascripts/
|
70
|
+
- vendor/assets/javascripts/formValidation.js
|
71
|
+
- vendor/assets/javascripts/formValidation.min.js
|
72
72
|
- vendor/assets/javascripts/formvalidation/framework/bootstrap.js
|
73
73
|
- vendor/assets/javascripts/formvalidation/framework/bootstrap.min.js
|
74
|
+
- vendor/assets/javascripts/formvalidation/framework/bootstrap4.js
|
75
|
+
- vendor/assets/javascripts/formvalidation/framework/bootstrap4.min.js
|
74
76
|
- vendor/assets/javascripts/formvalidation/framework/foundation.js
|
75
77
|
- vendor/assets/javascripts/formvalidation/framework/foundation.min.js
|
78
|
+
- vendor/assets/javascripts/formvalidation/framework/foundation5.js
|
79
|
+
- vendor/assets/javascripts/formvalidation/framework/foundation5.min.js
|
76
80
|
- vendor/assets/javascripts/formvalidation/framework/pure.js
|
77
81
|
- vendor/assets/javascripts/formvalidation/framework/pure.min.js
|
78
82
|
- vendor/assets/javascripts/formvalidation/framework/semantic.js
|
@@ -118,8 +122,8 @@ files:
|
|
118
122
|
- vendor/assets/javascripts/formvalidation/language/vi_VN.js
|
119
123
|
- vendor/assets/javascripts/formvalidation/language/zh_CN.js
|
120
124
|
- vendor/assets/javascripts/formvalidation/language/zh_TW.js
|
121
|
-
- vendor/assets/stylesheets/
|
122
|
-
- vendor/assets/stylesheets/
|
125
|
+
- vendor/assets/stylesheets/formValidation.css
|
126
|
+
- vendor/assets/stylesheets/formValidation.min.css
|
123
127
|
homepage: https://github.com/maxigs/formvalidation-rails
|
124
128
|
licenses:
|
125
129
|
- MIT
|