Version Description
- Modifies the number and currency controls to allow including buttons to increase and decrease their values.
- Implements the GOTOFIELD operation for scrolling to the field location, even if it is in another page of multipage form.
Download this release
Release Info
Developer | codepeople |
Plugin | Calculated Fields Form |
Version | 1.1.115 |
Comparing to | |
See all releases |
Code changes from version 1.1.114 to 1.1.115
- README.txt +7 -6
- changelog.txt +5 -0
- cp_calculatedfieldsf_free.php +2 -2
- css/stylepublic.css +9 -1
- js/fbuilder-pro-public.jquery.js +19 -1
- js/fields-admin/02_fbuilder.fcurrency.js +4 -1
- js/fields-admin/02_fbuilder.fnumber.js +8 -4
- js/fields-admin/34_fbuilder.fhtml.js +4 -2
- js/fields-public/02_fbuilder.fcurrency.js +6 -1
- js/fields-public/02_fbuilder.fnumber.js +6 -1
- js/modules/05_managing_fields/admin/module_admin.js +5 -0
- js/modules/05_managing_fields/public/05_managing_fields.js +22 -0
- templates/01/style.css +2 -0
- templates/02/style.css +2 -0
- templates/03/style.css +2 -0
- templates/04/style.css +2 -0
- templates/05/style.css +2 -0
- templates/06/style.css +4 -0
- templates/07/style.css +2 -0
- templates/08/style.css +2 -0
- templates/09/style.css +2 -0
- templates/10/style.css +4 -0
- templates/11/style.css +2 -0
- templates/12/style.css +2 -0
- templates/13/style.css +4 -1
README.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://cff.dwbooster.com
|
|
4 |
Tags: form,quote form,contact form,form builder,calculator,calculated,quote calculator,forms,form editor,advanced forms,payment calculator,payment,recurring payment,quote,fields,calculated field,price calculator,email,form design,paypal,equation editor,formula,equation,quote calculator,post,posts,plugin,widget,admin,sidebar,images,image,page,shortcode,products form,woocommerce,addons,layout,session,post,cookie,get,webhook,Dropbox,pdf,language
|
5 |
Requires at least: 3.0.5
|
6 |
Tested up to: 6.0
|
7 |
-
Stable tag: 1.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -965,6 +965,11 @@ A: Please, follow the steps below:
|
|
965 |
|
966 |
== Changelog ==
|
967 |
|
|
|
|
|
|
|
|
|
|
|
968 |
= 1.1.114 =
|
969 |
|
970 |
* Fixes a parser error when opening the public form right after importing it from the forms library.
|
@@ -1009,8 +1014,4 @@ A: Please, follow the steps below:
|
|
1009 |
|
1010 |
* Implements the logarithmic slider.
|
1011 |
* Implements a new attribute in the plugin settings page to disable form revisions.
|
1012 |
-
* Fixes an issue with pending equations.
|
1013 |
-
|
1014 |
-
= 1.1.105 =
|
1015 |
-
|
1016 |
-
* Implement an experimental control that allows users to record audio and video while filling out the form.
|
4 |
Tags: form,quote form,contact form,form builder,calculator,calculated,quote calculator,forms,form editor,advanced forms,payment calculator,payment,recurring payment,quote,fields,calculated field,price calculator,email,form design,paypal,equation editor,formula,equation,quote calculator,post,posts,plugin,widget,admin,sidebar,images,image,page,shortcode,products form,woocommerce,addons,layout,session,post,cookie,get,webhook,Dropbox,pdf,language
|
5 |
Requires at least: 3.0.5
|
6 |
Tested up to: 6.0
|
7 |
+
Stable tag: 1.1.115
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
965 |
|
966 |
== Changelog ==
|
967 |
|
968 |
+
= 1.1.115 =
|
969 |
+
|
970 |
+
* Modifies the number and currency controls to allow including buttons to increase and decrease their values.
|
971 |
+
* Implements the GOTOFIELD operation for scrolling to the field location, even if it is in another page of multipage form.
|
972 |
+
|
973 |
= 1.1.114 =
|
974 |
|
975 |
* Fixes a parser error when opening the public form right after importing it from the forms library.
|
1014 |
|
1015 |
* Implements the logarithmic slider.
|
1016 |
* Implements a new attribute in the plugin settings page to disable form revisions.
|
1017 |
+
* Fixes an issue with pending equations.
|
|
|
|
|
|
|
|
changelog.txt
CHANGED
@@ -1,5 +1,10 @@
|
|
1 |
== Changelog ==
|
2 |
|
|
|
|
|
|
|
|
|
|
|
3 |
= 1.1.114 =
|
4 |
|
5 |
* Fixes a parser error when opening the public form right after importing it from the forms library.
|
1 |
== Changelog ==
|
2 |
|
3 |
+
= 1.1.115 =
|
4 |
+
|
5 |
+
* Modifies the number and currency controls to allow including buttons to increase and decrease their values.
|
6 |
+
* Implements the GOTOFIELD operation for scrolling to the field location, even if it is in another page of multipage form.
|
7 |
+
|
8 |
= 1.1.114 =
|
9 |
|
10 |
* Fixes a parser error when opening the public form right after importing it from the forms library.
|
cp_calculatedfieldsf_free.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Calculated Fields Form
|
4 |
Plugin URI: https://cff.dwbooster.com
|
5 |
Description: Create forms with field values calculated based in other form field values.
|
6 |
-
Version: 1.1.
|
7 |
Text Domain: calculated-fields-form
|
8 |
Author: CodePeople
|
9 |
Author URI: https://cff.dwbooster.com
|
@@ -15,7 +15,7 @@ if ( ! defined( 'WP_DEBUG' ) || true != WP_DEBUG ) {
|
|
15 |
}
|
16 |
|
17 |
// Defining main constants
|
18 |
-
define( 'CP_CALCULATEDFIELDSF_VERSION', '1.1.
|
19 |
define( 'CP_CALCULATEDFIELDSF_MAIN_FILE_PATH', __FILE__ );
|
20 |
define( 'CP_CALCULATEDFIELDSF_BASE_PATH', dirname( CP_CALCULATEDFIELDSF_MAIN_FILE_PATH ) );
|
21 |
define( 'CP_CALCULATEDFIELDSF_BASE_NAME', plugin_basename( CP_CALCULATEDFIELDSF_MAIN_FILE_PATH ) );
|
3 |
Plugin Name: Calculated Fields Form
|
4 |
Plugin URI: https://cff.dwbooster.com
|
5 |
Description: Create forms with field values calculated based in other form field values.
|
6 |
+
Version: 1.1.115
|
7 |
Text Domain: calculated-fields-form
|
8 |
Author: CodePeople
|
9 |
Author URI: https://cff.dwbooster.com
|
15 |
}
|
16 |
|
17 |
// Defining main constants
|
18 |
+
define( 'CP_CALCULATEDFIELDSF_VERSION', '1.1.115' );
|
19 |
define( 'CP_CALCULATEDFIELDSF_MAIN_FILE_PATH', __FILE__ );
|
20 |
define( 'CP_CALCULATEDFIELDSF_BASE_PATH', dirname( CP_CALCULATEDFIELDSF_MAIN_FILE_PATH ) );
|
21 |
define( 'CP_CALCULATEDFIELDSF_BASE_NAME', plugin_basename( CP_CALCULATEDFIELDSF_MAIN_FILE_PATH ) );
|
css/stylepublic.css
CHANGED
@@ -572,4 +572,12 @@
|
|
572 |
#fbuilder .cff-record-av-field .cff-record-status{background:#b0b0b0;display:inline-block;clear:both;padding-left:5px;padding-right:5px;color:white;font-style:italic;margin-top:5px;}
|
573 |
#fbuilder .cff-record-av-field .cff-record-time{display:inline-block;margin-left:10px;}
|
574 |
#fbuilder .cff-record-av-field .cff-record-time:after{content:"/";margin-left:5px;margin-right:5px;}
|
575 |
-
#fbuilder .cff-record-av-field .cff-record-max-time{display:inline-block;color:red;}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
572 |
#fbuilder .cff-record-av-field .cff-record-status{background:#b0b0b0;display:inline-block;clear:both;padding-left:5px;padding-right:5px;color:white;font-style:italic;margin-top:5px;}
|
573 |
#fbuilder .cff-record-av-field .cff-record-time{display:inline-block;margin-left:10px;}
|
574 |
#fbuilder .cff-record-av-field .cff-record-time:after{content:"/";margin-left:5px;margin-right:5px;}
|
575 |
+
#fbuilder .cff-record-av-field .cff-record-max-time{display:inline-block;color:red;}
|
576 |
+
|
577 |
+
#fbuilder .cff-spinner input[type='number'] {-moz-appearance:textfield;}
|
578 |
+
#fbuilder .cff-spinner input[type=number]::-webkit-inner-spin-button,
|
579 |
+
#fbuilder .cff-spinner input[type=number]::-webkit-outer-spin-button {-webkit-appearance:none;margin:0;}
|
580 |
+
|
581 |
+
#fbuilder .cff-spinner .cff-spinner-down,
|
582 |
+
#fbuilder .cff-spinner .cff-spinner-up{padding-left:0;padding-right:0;width:30px;}
|
583 |
+
#fbuilder .cff-spinner input{max-width: calc( 100% - 70px );margin-left:5px !important;margin-right:5px !important;}
|
js/fbuilder-pro-public.jquery.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
$.fbuilder['version'] = '1.1.
|
2 |
$.fbuilder['controls'] = $.fbuilder['controls'] || {};
|
3 |
$.fbuilder['forms'] = $.fbuilder['forms'] || {};
|
4 |
|
@@ -813,4 +813,22 @@
|
|
813 |
|
814 |
$(window).on('load', function(){
|
815 |
$.fbuilder.manageHistory(true);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
816 |
});
|
1 |
+
$.fbuilder['version'] = '1.1.115';
|
2 |
$.fbuilder['controls'] = $.fbuilder['controls'] || {};
|
3 |
$.fbuilder['forms'] = $.fbuilder['forms'] || {};
|
4 |
|
813 |
|
814 |
$(window).on('load', function(){
|
815 |
$.fbuilder.manageHistory(true);
|
816 |
+
});
|
817 |
+
|
818 |
+
$(document).on('click', '#fbuilder .cff-spinner-down,#fbuilder .cff-spinner-up', function(){
|
819 |
+
var u = $(this).hasClass('cff-spinner-up'),
|
820 |
+
e = $(this)[u ? 'prev' : 'next']('input'),
|
821 |
+
o, s, m, v;
|
822 |
+
|
823 |
+
if(e.length) {
|
824 |
+
o = getField(e.attr('id'));
|
825 |
+
s = e.attr('step') || 1;
|
826 |
+
m = e.attr(u ? 'max' : 'min');
|
827 |
+
v = o.val();
|
828 |
+
if(e.hasClass('percent')){ v = PREC(v*100, 4)*1; }
|
829 |
+
if(u) v += s;
|
830 |
+
else v -= s;
|
831 |
+
if(m) v = u ? MIN(v,m) : MAX(v,m);
|
832 |
+
o.setVal(v);
|
833 |
+
}
|
834 |
});
|
js/fields-admin/02_fbuilder.fcurrency.js
CHANGED
@@ -18,6 +18,7 @@
|
|
18 |
exclude:false,
|
19 |
readonly:false,
|
20 |
numberpad:false,
|
|
|
21 |
size:"small",
|
22 |
currencySymbol:"$",
|
23 |
currencyText:"USD",
|
@@ -85,6 +86,7 @@
|
|
85 |
{s:"#sCentSeparator",e:"change keyup", l:"centSeparator", x:1},
|
86 |
{s:"#sFormatDynamically",e:"click", l:"formatDynamically",f:f},
|
87 |
{s:"#sTwoDecimals",e:"click", l:"twoDecimals",f:f},
|
|
|
88 |
{s:"#sNoCents",e:"click", l:"noCents",f:f},
|
89 |
{s:"#sMin",e:"change keyup", l:"min", x:1},
|
90 |
{s:"#sMax",e:"change keyup", l:"max", x:1}
|
@@ -107,6 +109,7 @@
|
|
107 |
},
|
108 |
showRangeIntance: function()
|
109 |
{
|
110 |
-
return '<div><
|
|
|
111 |
}
|
112 |
});
|
18 |
exclude:false,
|
19 |
readonly:false,
|
20 |
numberpad:false,
|
21 |
+
spinner:false,
|
22 |
size:"small",
|
23 |
currencySymbol:"$",
|
24 |
currencyText:"USD",
|
86 |
{s:"#sCentSeparator",e:"change keyup", l:"centSeparator", x:1},
|
87 |
{s:"#sFormatDynamically",e:"click", l:"formatDynamically",f:f},
|
88 |
{s:"#sTwoDecimals",e:"click", l:"twoDecimals",f:f},
|
89 |
+
{s:"#sSpinner",e:"click", l:"spinner",f:f},
|
90 |
{s:"#sNoCents",e:"click", l:"noCents",f:f},
|
91 |
{s:"#sMin",e:"change keyup", l:"min", x:1},
|
92 |
{s:"#sMax",e:"change keyup", l:"max", x:1}
|
109 |
},
|
110 |
showRangeIntance: function()
|
111 |
{
|
112 |
+
return '<div><label><input type="checkbox" name="sSpinner" id="sSpinner" '+( (this.spinner) ? 'CHECKED' : '')+'> Display spinner buttons</label></div>'+
|
113 |
+
'<div><div class="column width50"><label>Min</label><input type="text" name="sMin" id="sMin" value="'+cff_esc_attr(this.min)+'" class="large"></div><div class="column width50"><label>Max</label><input type="text" name="sMax" id="sMax" value="'+cff_esc_attr(this.max)+'" class="large"></div><div class="clearer" style="margin-bottom:10px;">Enter the min/max values as numbers, and not as currencies.<br /><i>It is possible to associate other fields in the form to the attributes "min" and "max". Ex: fieldname1</i></div></div>';
|
114 |
}
|
115 |
});
|
js/fields-admin/02_fbuilder.fnumber.js
CHANGED
@@ -18,6 +18,7 @@
|
|
18 |
exclude:false,
|
19 |
readonly:false,
|
20 |
numberpad:false,
|
|
|
21 |
size:"small",
|
22 |
thousandSeparator:"",
|
23 |
decimalSymbol:".",
|
@@ -32,7 +33,8 @@
|
|
32 |
},
|
33 |
editItemEvents:function()
|
34 |
{
|
35 |
-
var
|
|
|
36 |
{s:"#sSize",e:"change", l:"size", x:1},
|
37 |
{s:"#sFormat",e:"change", l:"dformat", f:function(el){
|
38 |
var v = el.val();
|
@@ -45,7 +47,8 @@
|
|
45 |
{s:"#sMax",e:"change keyup", l:"max", x:1},
|
46 |
{s:"#sThousandSeparator",e:"change keyup", l:"thousandSeparator", x:1},
|
47 |
{s:"#sDecimalSymbol",e:"change keyup", l:"decimalSymbol", x:1},
|
48 |
-
{s:"#
|
|
|
49 |
];
|
50 |
$.fbuilder.controls[ 'ffields' ].prototype.editItemEvents.call(this, evt);
|
51 |
},
|
@@ -56,9 +59,10 @@
|
|
56 |
{
|
57 |
str += '<option value="'+this.formats[i]+'" '+((this.formats[i]==df)?"selected":"")+'>'+this.formats[i]+'</option>';
|
58 |
}
|
59 |
-
return '<div><label
|
|
|
60 |
'<div class="fnumber-hint" '+((df != 'percent') ? 'style="display:none;"' : '')+'><i>The field value in the equations would be its decimal representation. Ex. 10% would be 0.1</i></div>'+
|
61 |
-
'<div class="fnumber-symbols" '+((df == 'digits') ? 'style="display:none;"' : '')+'><label>Decimals separator symbol (Ex: 25.20)</label><input type="text" name="sDecimalSymbol" id="sDecimalSymbol" class="large" value="'+cff_esc_attr(this.decimalSymbol)+'" /><label>Symbol for grouping thousands (Ex: 3,000,000)</label><input type="text" name="sThousandSeparator" id="sThousandSeparator" class="large" value="'+cff_esc_attr(this.thousandSeparator)+'" /><label><input type="checkbox" name="sFormatDynamically" id="sFormatDynamically" '+( (this.formatDynamically) ? 'CHECKED' : '')+'> Format
|
62 |
},
|
63 |
showRangeIntance: function()
|
64 |
{
|
18 |
exclude:false,
|
19 |
readonly:false,
|
20 |
numberpad:false,
|
21 |
+
spinner:false,
|
22 |
size:"small",
|
23 |
thousandSeparator:"",
|
24 |
decimalSymbol:".",
|
33 |
},
|
34 |
editItemEvents:function()
|
35 |
{
|
36 |
+
var f = function(el){return el.is(':checked');},
|
37 |
+
evt = [
|
38 |
{s:"#sSize",e:"change", l:"size", x:1},
|
39 |
{s:"#sFormat",e:"change", l:"dformat", f:function(el){
|
40 |
var v = el.val();
|
47 |
{s:"#sMax",e:"change keyup", l:"max", x:1},
|
48 |
{s:"#sThousandSeparator",e:"change keyup", l:"thousandSeparator", x:1},
|
49 |
{s:"#sDecimalSymbol",e:"change keyup", l:"decimalSymbol", x:1},
|
50 |
+
{s:"#sSpinner",e:"click", l:"spinner",f:f},
|
51 |
+
{s:"#sFormatDynamically",e:"click", l:"formatDynamically",f:f},
|
52 |
];
|
53 |
$.fbuilder.controls[ 'ffields' ].prototype.editItemEvents.call(this, evt);
|
54 |
},
|
59 |
{
|
60 |
str += '<option value="'+this.formats[i]+'" '+((this.formats[i]==df)?"selected":"")+'>'+this.formats[i]+'</option>';
|
61 |
}
|
62 |
+
return '<div><label><input type="checkbox" name="sSpinner" id="sSpinner" '+( (this.spinner) ? 'CHECKED' : '')+'> Display spinner buttons</label></div>'+
|
63 |
+
'<div><label>Number Format</label><select name="sFormat" id="sFormat">'+str+'</select></div>'+
|
64 |
'<div class="fnumber-hint" '+((df != 'percent') ? 'style="display:none;"' : '')+'><i>The field value in the equations would be its decimal representation. Ex. 10% would be 0.1</i></div>'+
|
65 |
+
'<div class="fnumber-symbols" '+((df == 'digits') ? 'style="display:none;"' : '')+'><label>Decimals separator symbol (Ex: 25.20)</label><input type="text" name="sDecimalSymbol" id="sDecimalSymbol" class="large" value="'+cff_esc_attr(this.decimalSymbol)+'" /><label>Symbol for grouping thousands (Ex: 3,000,000)</label><input type="text" name="sThousandSeparator" id="sThousandSeparator" class="large" value="'+cff_esc_attr(this.thousandSeparator)+'" /><label><input type="checkbox" name="sFormatDynamically" id="sFormatDynamically" '+( (this.formatDynamically) ? 'CHECKED' : '')+'> Format dynamically</label></div>';
|
66 |
},
|
67 |
showRangeIntance: function()
|
68 |
{
|
js/fields-admin/34_fbuilder.fhtml.js
CHANGED
@@ -39,8 +39,10 @@
|
|
39 |
htmlEditorSettings['htmlhint']['spec-char-escape'] = false;
|
40 |
htmlEditorSettings['htmlhint']['alt-require'] = false;
|
41 |
htmlEditorSettings['htmlhint']['tag-pair'] = false;
|
42 |
-
|
43 |
-
|
|
|
|
|
44 |
|
45 |
$('.cff-editor-extend-shrink').on('click', function(){$(this).closest('.cff-editor-container').toggleClass('fullscreen');});
|
46 |
|
39 |
htmlEditorSettings['htmlhint']['spec-char-escape'] = false;
|
40 |
htmlEditorSettings['htmlhint']['alt-require'] = false;
|
41 |
htmlEditorSettings['htmlhint']['tag-pair'] = false;
|
42 |
+
if($('#sContent').length) {
|
43 |
+
editor = wp.codeEditor.initialize($('#sContent'), htmlEditorSettings);
|
44 |
+
editor.codemirror.on('change', function(cm){ $('#sContent').val(cm.getValue()).change();});
|
45 |
+
}
|
46 |
|
47 |
$('.cff-editor-extend-shrink').on('click', function(){$(this).closest('.cff-editor-container').toggleClass('fullscreen');});
|
48 |
|
js/fields-public/02_fbuilder.fcurrency.js
CHANGED
@@ -10,6 +10,7 @@
|
|
10 |
required:false,
|
11 |
readonly:false,
|
12 |
numberpad:false,
|
|
|
13 |
size:"small",
|
14 |
currencySymbol:"$",
|
15 |
currencyText:"USD",
|
@@ -86,7 +87,11 @@
|
|
86 |
show:function()
|
87 |
{
|
88 |
this.predefined = this._getAttr('predefined');
|
89 |
-
return '<div class="fields '+cff_esc_attr(this.csslayout)+' '+this.name+' cff-currency-field" id="field'+this.form_identifier+'-'+this.index+'"><label for="'+this.name+'">'+this.title+''+((this.required)?"<span class='r'>*</span>":"")+'</label><div class="dfield"
|
|
|
|
|
|
|
|
|
90 |
},
|
91 |
after_show:function()
|
92 |
{
|
10 |
required:false,
|
11 |
readonly:false,
|
12 |
numberpad:false,
|
13 |
+
spinner:false,
|
14 |
size:"small",
|
15 |
currencySymbol:"$",
|
16 |
currencyText:"USD",
|
87 |
show:function()
|
88 |
{
|
89 |
this.predefined = this._getAttr('predefined');
|
90 |
+
return '<div class="fields '+cff_esc_attr(this.csslayout)+' '+(this.spinner ? 'cff-spinner ' : '')+this.name+' cff-currency-field" id="field'+this.form_identifier+'-'+this.index+'"><label for="'+this.name+'">'+this.title+''+((this.required)?"<span class='r'>*</span>":"")+'</label><div class="dfield">'+
|
91 |
+
(this.spinner ? '<div class="cff-spinner-components-container '+this.size+'"><button type="button" class="cff-spinner-down">-</button>' : '')+
|
92 |
+
'<input '+((this.numberpad) ? 'inputmode="decimal"' : '')+' aria-label="'+cff_esc_attr(this.title)+'" '+((this.readonly)? 'readonly' : '')+' id="'+this.name+'" name="'+this.name+'" class="field cffcurrency '+(this.spinner ? 'large' : this.size)+((this.required)?" required":"")+'" type="text" value="'+cff_esc_attr((this.formatDynamically) ? this.getFormattedValue(this.predefined) : this.predefined)+'" '+((!/^\s*$/.test(this.min)) ? 'min="'+cff_esc_attr($.fbuilder.parseVal(this._getAttr('min'), this.thousandSeparator, this.centSeparator))+'" ' : '')+((!/^\s*$/.test(this.max)) ? ' max="'+cff_esc_attr($.fbuilder.parseVal(this._getAttr('max'), this.thousandSeparator, this.centSeparator))+'" ' : '')+' />'+
|
93 |
+
(this.spinner ? '<button type="button" class="cff-spinner-up">+</button></div>' : '')+
|
94 |
+
'<span class="uh">'+this.userhelp+'</span></div><div class="clearer"></div></div>';
|
95 |
},
|
96 |
after_show:function()
|
97 |
{
|
js/fields-public/02_fbuilder.fnumber.js
CHANGED
@@ -10,6 +10,7 @@
|
|
10 |
required:false,
|
11 |
readonly:false,
|
12 |
numberpad:false,
|
|
|
13 |
size:"small",
|
14 |
thousandSeparator:"",
|
15 |
decimalSymbol:".",
|
@@ -92,7 +93,11 @@
|
|
92 |
if(this.dformat == 'digits') $(document).on('keydown', '#'+this.name, function(evt){if(/^[\-,\+,e,\.,\,]$/i.test(evt.key)){evt.preventDefault(); return false;}});
|
93 |
|
94 |
this.predefined = this._getAttr('predefined');
|
95 |
-
return '<div class="fields '+cff_esc_attr(this.csslayout)+' '+this.name+' cff-number-field" id="field'+this.form_identifier+'-'+this.index+'"><label for="'+this.name+'">'+this.title+''+((this.required)?"<span class='r'>*</span>":"")+'</label><div class="dfield"
|
|
|
|
|
|
|
|
|
96 |
},
|
97 |
after_show:function()
|
98 |
{
|
10 |
required:false,
|
11 |
readonly:false,
|
12 |
numberpad:false,
|
13 |
+
spinner:false,
|
14 |
size:"small",
|
15 |
thousandSeparator:"",
|
16 |
decimalSymbol:".",
|
93 |
if(this.dformat == 'digits') $(document).on('keydown', '#'+this.name, function(evt){if(/^[\-,\+,e,\.,\,]$/i.test(evt.key)){evt.preventDefault(); return false;}});
|
94 |
|
95 |
this.predefined = this._getAttr('predefined');
|
96 |
+
return '<div class="fields '+cff_esc_attr(this.csslayout)+' '+(this.spinner ? 'cff-spinner ' : '')+this.name+' cff-number-field" id="field'+this.form_identifier+'-'+this.index+'"><label for="'+this.name+'">'+this.title+''+((this.required)?"<span class='r'>*</span>":"")+'</label><div class="dfield">'+
|
97 |
+
(this.spinner ? '<div class="cff-spinner-components-container '+this.size+'"><button type="button" class="cff-spinner-down">-</button>' : '')+
|
98 |
+
'<input '+((this.numberpad) ? 'inputmode="decimal"' : '')+' aria-label="'+cff_esc_attr(this.title)+'" id="'+this.name+'" name="'+this.name+'" '+((!/^\s*$/.test(this.min)) ? 'min="'+cff_esc_attr($.fbuilder.parseVal(this._getAttr('min'), this.thousandSeparator, this.decimalSymbol))+'" ' : '')+((!/^\s*$/.test(this.max)) ? ' max="'+cff_esc_attr($.fbuilder.parseVal(this._getAttr('max'), this.thousandSeparator, this.decimalSymbol))+'" ' : '')+' class="field '+this.dformat+((this.dformat == 'percent') ? ' number' : '')+' '+(this.spinner ? 'large' : this.size)+((this.required)?" required":"")+'" type="'+_type+'" value="'+cff_esc_attr((this.formatDynamically) ? this.getFormattedValue(this.predefined) : this.predefined)+'" '+((this.readonly)?'readonly':'')+' />'+
|
99 |
+
(this.spinner ? '<button type="button" class="cff-spinner-up">+</button></div>' : '')+
|
100 |
+
'<span class="uh">'+this.userhelp+'</span></div><div class="clearer"></div></div>';
|
101 |
},
|
102 |
after_show:function()
|
103 |
{
|
js/modules/05_managing_fields/admin/module_admin.js
CHANGED
@@ -13,6 +13,11 @@ fbuilderjQuery[ 'fbuilder' ][ 'modules' ][ 'processing' ] = {
|
|
13 |
"code" : "getField(",
|
14 |
"tip" : "<p>Get the field object. <strong>getField( # or fieldname# )</strong></p><p>Returns the internal representation of a field object. For example, if there is the slider field: fieldname1, to assing it a value, for example:50, enter as part of the equation associated to the calculated field the piece of code: getField(1).setVal(50);</p><p>The getField operation can be used only in the context of the equations.</p>"
|
15 |
},
|
|
|
|
|
|
|
|
|
|
|
16 |
{
|
17 |
"value" : "GOTOPAGE",
|
18 |
"code" : "GOTOPAGE(",
|
13 |
"code" : "getField(",
|
14 |
"tip" : "<p>Get the field object. <strong>getField( # or fieldname# )</strong></p><p>Returns the internal representation of a field object. For example, if there is the slider field: fieldname1, to assing it a value, for example:50, enter as part of the equation associated to the calculated field the piece of code: getField(1).setVal(50);</p><p>The getField operation can be used only in the context of the equations.</p>"
|
15 |
},
|
16 |
+
{
|
17 |
+
"value" : "GOTOFIELD",
|
18 |
+
"code" : "GOTOFIELD(",
|
19 |
+
"tip" : "<p>Jumps to a field in the form. <strong>GOTOPAGE( field, form object )</strong></p><p><b>field</b>, integer number corresponding to the number component in the field name or the field name (required parameter).<br><b>form object</b>, an optional parameter corresponding to the form where the field is.<br>In the context of the equation, call the operation passing only the number component in the field name,<br>Ex. <b>GOTOFIELD (2);</b><br>But if the operation is called from the onclick event of a button, the form object is required,<br>Ex. <b>GOTOFIELD ("fieldname2", this.form);</b></p>"
|
20 |
+
},
|
21 |
{
|
22 |
"value" : "GOTOPAGE",
|
23 |
"code" : "GOTOPAGE(",
|
js/modules/05_managing_fields/public/05_managing_fields.js
CHANGED
@@ -185,6 +185,28 @@
|
|
185 |
} catch(err) { if(typeof console != 'undefined') console.log(err); }
|
186 |
};
|
187 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
188 |
if(window.PRINTFORM == undefined)
|
189 |
{
|
190 |
lib.printform = lib.PRINTFORM = function(show_pages)
|
185 |
} catch(err) { if(typeof console != 'undefined') console.log(err); }
|
186 |
};
|
187 |
|
188 |
+
lib.gotofield = lib.GOTOFIELD = lib.goToField = function(e, f)
|
189 |
+
{
|
190 |
+
try
|
191 |
+
{
|
192 |
+
var o = $('#'+$.fbuilder['forms'][_getForm(f)].formId), p, c;
|
193 |
+
if(o.length)
|
194 |
+
{
|
195 |
+
e = o.find('[id*="'+(Number.isInteger(e) ? 'fieldname'+e : e)+'_"]');
|
196 |
+
if(e.length)
|
197 |
+
{
|
198 |
+
c = o.find('.pbreak:visible').attr('page');
|
199 |
+
p = e.closest('.pbreak').attr('page');
|
200 |
+
$(document).one('cff-gotopage', function(evt, arg){
|
201 |
+
if(e.is(':visible'))
|
202 |
+
$('html,body').animate({scrollTop:e.offset().top});
|
203 |
+
});
|
204 |
+
$.fbuilder.goToPage({'form':o,'from':c,'to':p, 'forcing' : true});
|
205 |
+
}
|
206 |
+
}
|
207 |
+
} catch(err) { if(typeof console != 'undefined') console.log(err); }
|
208 |
+
};
|
209 |
+
|
210 |
if(window.PRINTFORM == undefined)
|
211 |
{
|
212 |
lib.printform = lib.PRINTFORM = function(show_pages)
|
templates/01/style.css
CHANGED
@@ -35,6 +35,8 @@
|
|
35 |
|
36 |
.cp_cff_letter #fbuilder input[type="button"],
|
37 |
.cp_cff_letter #fbuilder input[type="reset"],
|
|
|
|
|
38 |
.cp_cff_letter #fbuilder .pbSubmit,
|
39 |
.cp_cff_letter #fbuilder .pbPrevious,
|
40 |
.cp_cff_letter #fbuilder .pbNext{color:#fff;font-size:13px;font-weight:bold;text-shadow:0px 1px 0px #000;background:#3b679e; /* Old browsers */background:-moz-linear-gradient(top, #3b679e 0%, #2b88d9 50%, #207cca 51%, #7db9e8 100%); /* FF3.6+ */background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,#3b679e), color-stop(50%,#2b88d9), color-stop(51%,#207cca), color-stop(100%,#7db9e8)); /* Chrome,Safari4+ */background:-webkit-linear-gradient(top, #3b679e 0%,#2b88d9 50%,#207cca 51%,#7db9e8 100%); /* Chrome10+,Safari5.1+ */background:-o-linear-gradient(top, #3b679e 0%,#2b88d9 50%,#207cca 51%,#7db9e8 100%); /* Opera 11.10+ */background:-ms-linear-gradient(top, #3b679e 0%,#2b88d9 50%,#207cca 51%,#7db9e8 100%); /* IE10+ */background:linear-gradient(to bottom, #3b679e 0%,#2b88d9 50%,#207cca 51%,#7db9e8 100%); /* W3C */filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#3b679e', endColorstr='#7db9e8',GradientType=0 ); /* IE6-9 */-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;padding: 5px 20px;border:0;}
|
35 |
|
36 |
.cp_cff_letter #fbuilder input[type="button"],
|
37 |
.cp_cff_letter #fbuilder input[type="reset"],
|
38 |
+
.cp_cff_letter .cff-spinner .cff-spinner-down,
|
39 |
+
.cp_cff_letter .cff-spinner .cff-spinner-up,
|
40 |
.cp_cff_letter #fbuilder .pbSubmit,
|
41 |
.cp_cff_letter #fbuilder .pbPrevious,
|
42 |
.cp_cff_letter #fbuilder .pbNext{color:#fff;font-size:13px;font-weight:bold;text-shadow:0px 1px 0px #000;background:#3b679e; /* Old browsers */background:-moz-linear-gradient(top, #3b679e 0%, #2b88d9 50%, #207cca 51%, #7db9e8 100%); /* FF3.6+ */background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,#3b679e), color-stop(50%,#2b88d9), color-stop(51%,#207cca), color-stop(100%,#7db9e8)); /* Chrome,Safari4+ */background:-webkit-linear-gradient(top, #3b679e 0%,#2b88d9 50%,#207cca 51%,#7db9e8 100%); /* Chrome10+,Safari5.1+ */background:-o-linear-gradient(top, #3b679e 0%,#2b88d9 50%,#207cca 51%,#7db9e8 100%); /* Opera 11.10+ */background:-ms-linear-gradient(top, #3b679e 0%,#2b88d9 50%,#207cca 51%,#7db9e8 100%); /* IE10+ */background:linear-gradient(to bottom, #3b679e 0%,#2b88d9 50%,#207cca 51%,#7db9e8 100%); /* W3C */filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#3b679e', endColorstr='#7db9e8',GradientType=0 ); /* IE6-9 */-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;padding: 5px 20px;border:0;}
|
templates/02/style.css
CHANGED
@@ -90,6 +90,8 @@ padding-left:10px; padding-right:10px;
|
|
90 |
|
91 |
.cp_cff_professional #fbuilder input[type="button"],
|
92 |
.cp_cff_professional #fbuilder input[type="reset"],
|
|
|
|
|
93 |
.cp_cff_professional #fbuilder .pbSubmit,
|
94 |
.cp_cff_professional #fbuilder .pbPrevious,
|
95 |
.cp_cff_professional #fbuilder .pbNext{color:#fff;font-size:13px;font-weight:bold;text-shadow:0px 1px 0px #000;background: #bfd255;
|
90 |
|
91 |
.cp_cff_professional #fbuilder input[type="button"],
|
92 |
.cp_cff_professional #fbuilder input[type="reset"],
|
93 |
+
.cp_cff_professional .cff-spinner .cff-spinner-down,
|
94 |
+
.cp_cff_professional .cff-spinner .cff-spinner-up,
|
95 |
.cp_cff_professional #fbuilder .pbSubmit,
|
96 |
.cp_cff_professional #fbuilder .pbPrevious,
|
97 |
.cp_cff_professional #fbuilder .pbNext{color:#fff;font-size:13px;font-weight:bold;text-shadow:0px 1px 0px #000;background: #bfd255;
|
templates/03/style.css
CHANGED
@@ -38,6 +38,8 @@
|
|
38 |
|
39 |
.cp_cff_natural #fbuilder input[type=button],
|
40 |
.cp_cff_natural #fbuilder input[type=reset],
|
|
|
|
|
41 |
.cp_cff_natural #fbuilder .pbSubmit,
|
42 |
.cp_cff_natural #fbuilder .pbPrevious,
|
43 |
.cp_cff_natural #fbuilder .pbNext{color:#fff;font-variant:small-caps;font-size:14px;font-weight:bold;background:url("top_bg.png");-webkit-border-radius: 5px;-moz-border-radius: 5px;border-radius: 5px;padding: 5px 20px;border:0;}
|
38 |
|
39 |
.cp_cff_natural #fbuilder input[type=button],
|
40 |
.cp_cff_natural #fbuilder input[type=reset],
|
41 |
+
.cp_cff_natural .cff-spinner .cff-spinner-down,
|
42 |
+
.cp_cff_natural .cff-spinner .cff-spinner-up,
|
43 |
.cp_cff_natural #fbuilder .pbSubmit,
|
44 |
.cp_cff_natural #fbuilder .pbPrevious,
|
45 |
.cp_cff_natural #fbuilder .pbNext{color:#fff;font-variant:small-caps;font-size:14px;font-weight:bold;background:url("top_bg.png");-webkit-border-radius: 5px;-moz-border-radius: 5px;border-radius: 5px;padding: 5px 20px;border:0;}
|
templates/04/style.css
CHANGED
@@ -35,6 +35,8 @@
|
|
35 |
.cp_cff_elegant #fbuilder fieldset{border:0;padding:0;}
|
36 |
.cp_cff_elegant #fbuilder input[type=button],
|
37 |
.cp_cff_elegant #fbuilder input[type=reset],
|
|
|
|
|
38 |
.cp_cff_elegant #fbuilder .pbSubmit,
|
39 |
.cp_cff_elegant #fbuilder .pbPrevious,
|
40 |
.cp_cff_elegant #fbuilder .pbNext{border:0; color:#fff;font-variant:small-caps;font-size:14px;font-weight:bold;background:rgb(115, 185, 214);-webkit-border-top-right-radius: 10px;-webkit-border-bottom-left-radius: 10px;-moz-border-radius-topright: 10px;-moz-border-radius-bottomleft: 10px;border-top-right-radius: 10px;border-bottom-left-radius: 10px;padding:5px 20px;}
|
35 |
.cp_cff_elegant #fbuilder fieldset{border:0;padding:0;}
|
36 |
.cp_cff_elegant #fbuilder input[type=button],
|
37 |
.cp_cff_elegant #fbuilder input[type=reset],
|
38 |
+
.cp_cff_elegant .cff-spinner .cff-spinner-down,
|
39 |
+
.cp_cff_elegant .cff-spinner .cff-spinner-up,
|
40 |
.cp_cff_elegant #fbuilder .pbSubmit,
|
41 |
.cp_cff_elegant #fbuilder .pbPrevious,
|
42 |
.cp_cff_elegant #fbuilder .pbNext{border:0; color:#fff;font-variant:small-caps;font-size:14px;font-weight:bold;background:rgb(115, 185, 214);-webkit-border-top-right-radius: 10px;-webkit-border-bottom-left-radius: 10px;-moz-border-radius-topright: 10px;-moz-border-radius-bottomleft: 10px;border-top-right-radius: 10px;border-bottom-left-radius: 10px;padding:5px 20px;}
|
templates/05/style.css
CHANGED
@@ -45,6 +45,8 @@
|
|
45 |
.cp_cff_decorative #fbuilder fieldset{border:0;padding:0;}
|
46 |
.cp_cff_decorative #fbuilder input[type="button"],
|
47 |
.cp_cff_decorative #fbuilder input[type="reset"],
|
|
|
|
|
48 |
.cp_cff_decorative #fbuilder .pbSubmit,
|
49 |
.cp_cff_decorative #fbuilder .pbPrevious,
|
50 |
.cp_cff_decorative #fbuilder .pbNext{padding: 5px 20px;color:#fff;font-family: 'century gothic', Arial, Helvetica, sans-serif;text-transform:uppercase;font-size:14px;font-weight:bold;background: #cc3333;background:-moz-linear-gradient(top, #cc3333 11%, #8c0000 77%, #8c0000 100%);background: -webkit-gradient(linear, left top, left bottom, color-stop(11%,#cc3333), color-stop(77%,#8c0000), color-stop(100%,#8c0000));background: -webkit-linear-gradient(top, #cc3333 11%,#8c0000 77%,#8c0000 100%);background: -o-linear-gradient(top, #cc3333 11%,#8c0000 77%,#8c0000 100%);background: -ms-linear-gradient(top, #cc3333 11%,#8c0000 77%,#8c0000 100%);background: linear-gradient(to bottom, #cc3333 11%,#8c0000 77%,#8c0000 100%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cc3333', endColorstr='#8c0000',GradientType=0 );border:2px solid #FCFAE6;-webkit-border-radius: 5px;-moz-border-radius: 5px;border-radius: 5px;-webkit-box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.32);-moz-box-shadow:0px 0px 5px 2px rgba(0, 0, 0, 0.32);box-shadow:0px 0px 5px 2px rgba(0, 0, 0, 0.32);}
|
45 |
.cp_cff_decorative #fbuilder fieldset{border:0;padding:0;}
|
46 |
.cp_cff_decorative #fbuilder input[type="button"],
|
47 |
.cp_cff_decorative #fbuilder input[type="reset"],
|
48 |
+
.cp_cff_decorative .cff-spinner .cff-spinner-down,
|
49 |
+
.cp_cff_decorative .cff-spinner .cff-spinner-up,
|
50 |
.cp_cff_decorative #fbuilder .pbSubmit,
|
51 |
.cp_cff_decorative #fbuilder .pbPrevious,
|
52 |
.cp_cff_decorative #fbuilder .pbNext{padding: 5px 20px;color:#fff;font-family: 'century gothic', Arial, Helvetica, sans-serif;text-transform:uppercase;font-size:14px;font-weight:bold;background: #cc3333;background:-moz-linear-gradient(top, #cc3333 11%, #8c0000 77%, #8c0000 100%);background: -webkit-gradient(linear, left top, left bottom, color-stop(11%,#cc3333), color-stop(77%,#8c0000), color-stop(100%,#8c0000));background: -webkit-linear-gradient(top, #cc3333 11%,#8c0000 77%,#8c0000 100%);background: -o-linear-gradient(top, #cc3333 11%,#8c0000 77%,#8c0000 100%);background: -ms-linear-gradient(top, #cc3333 11%,#8c0000 77%,#8c0000 100%);background: linear-gradient(to bottom, #cc3333 11%,#8c0000 77%,#8c0000 100%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cc3333', endColorstr='#8c0000',GradientType=0 );border:2px solid #FCFAE6;-webkit-border-radius: 5px;-moz-border-radius: 5px;border-radius: 5px;-webkit-box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.32);-moz-box-shadow:0px 0px 5px 2px rgba(0, 0, 0, 0.32);box-shadow:0px 0px 5px 2px rgba(0, 0, 0, 0.32);}
|
templates/06/style.css
CHANGED
@@ -78,9 +78,13 @@ padding:5px;
|
|
78 |
|
79 |
.cp_cff_clean #fbuilder input[type=button],
|
80 |
.cp_cff_clean #fbuilder input[type=reset],
|
|
|
|
|
81 |
.cp_cff_clean #fbuilder .pbSubmit,
|
82 |
.cp_cff_clean #fbuilder .pbPrevious,
|
83 |
.cp_cff_clean #fbuilder .pbNext{color:#fff;font-size:14px;background: #0093DA;-webkit-border-radius: 5px;-moz-border-radius: 5px;border-radius: 5px;margin:0 10px 0 0; text-shadow:none;border:0;padding: 5px 20px;}
|
|
|
|
|
84 |
.cp_cff_clean #fbuilder .r{color:rgb(255,0,0);}
|
85 |
|
86 |
.cp_cff_clean #fbuilder .discount-container{margin-top:10px;font-weight:bold;}
|
78 |
|
79 |
.cp_cff_clean #fbuilder input[type=button],
|
80 |
.cp_cff_clean #fbuilder input[type=reset],
|
81 |
+
.cp_cff_clean .cff-spinner .cff-spinner-down,
|
82 |
+
.cp_cff_clean .cff-spinner .cff-spinner-up,
|
83 |
.cp_cff_clean #fbuilder .pbSubmit,
|
84 |
.cp_cff_clean #fbuilder .pbPrevious,
|
85 |
.cp_cff_clean #fbuilder .pbNext{color:#fff;font-size:14px;background: #0093DA;-webkit-border-radius: 5px;-moz-border-radius: 5px;border-radius: 5px;margin:0 10px 0 0; text-shadow:none;border:0;padding: 5px 20px;}
|
86 |
+
.cp_cff_clean .cff-spinner .cff-spinner-down,
|
87 |
+
.cp_cff_clean .cff-spinner .cff-spinner-up{margin-right:0;}
|
88 |
.cp_cff_clean #fbuilder .r{color:rgb(255,0,0);}
|
89 |
|
90 |
.cp_cff_clean #fbuilder .discount-container{margin-top:10px;font-weight:bold;}
|
templates/07/style.css
CHANGED
@@ -61,6 +61,8 @@
|
|
61 |
.cp_cff_minimalist #fbuilder .select2-selection__arrow{min-height:35px;}
|
62 |
.cp_cff_minimalist #fbuilder .select2-results__option--highlighted{background:#2CBBBB;}
|
63 |
.cp_cff_minimalist #fbuilder textarea{height:auto;}
|
|
|
|
|
64 |
.cp_cff_minimalist #fbuilder .pbSubmit,
|
65 |
.cp_cff_minimalist #fbuilder .pbreak .pbPrevious,
|
66 |
.cp_cff_minimalist #fbuilder .pbreak .pbNext,
|
61 |
.cp_cff_minimalist #fbuilder .select2-selection__arrow{min-height:35px;}
|
62 |
.cp_cff_minimalist #fbuilder .select2-results__option--highlighted{background:#2CBBBB;}
|
63 |
.cp_cff_minimalist #fbuilder textarea{height:auto;}
|
64 |
+
.cp_cff_minimalist .cff-spinner .cff-spinner-down,
|
65 |
+
.cp_cff_minimalist .cff-spinner .cff-spinner-up,
|
66 |
.cp_cff_minimalist #fbuilder .pbSubmit,
|
67 |
.cp_cff_minimalist #fbuilder .pbreak .pbPrevious,
|
68 |
.cp_cff_minimalist #fbuilder .pbreak .pbNext,
|
templates/08/style.css
CHANGED
@@ -117,6 +117,8 @@
|
|
117 |
border-color: #D9FFA9;
|
118 |
}
|
119 |
|
|
|
|
|
120 |
.cp_cff_dark_notebook #fbuilder .pbSubmit,
|
121 |
.cp_cff_dark_notebook #fbuilder .pbreak .pbPrevious,
|
122 |
.cp_cff_dark_notebook #fbuilder .pbreak .pbNext,
|
117 |
border-color: #D9FFA9;
|
118 |
}
|
119 |
|
120 |
+
.cp_cff_dark_notebook .cff-spinner .cff-spinner-down,
|
121 |
+
.cp_cff_dark_notebook .cff-spinner .cff-spinner-up,
|
122 |
.cp_cff_dark_notebook #fbuilder .pbSubmit,
|
123 |
.cp_cff_dark_notebook #fbuilder .pbreak .pbPrevious,
|
124 |
.cp_cff_dark_notebook #fbuilder .pbreak .pbNext,
|
templates/09/style.css
CHANGED
@@ -52,6 +52,8 @@
|
|
52 |
.cp_cff_box #fbuilder .section_breaks>label{text-align:center;}
|
53 |
.cp_cff_box #fbuilder .section_breaks span.uh{margin:0;}
|
54 |
.cp_cff_box #fbuilder span.uh:empty{ display:none; }
|
|
|
|
|
55 |
.cp_cff_box #fbuilder .pbSubmit,
|
56 |
.cp_cff_box #fbuilder .pbreak .pbPrevious,
|
57 |
.cp_cff_box #fbuilder .pbreak .pbNext,
|
52 |
.cp_cff_box #fbuilder .section_breaks>label{text-align:center;}
|
53 |
.cp_cff_box #fbuilder .section_breaks span.uh{margin:0;}
|
54 |
.cp_cff_box #fbuilder span.uh:empty{ display:none; }
|
55 |
+
.cp_cff_box .cff-spinner .cff-spinner-down,
|
56 |
+
.cp_cff_box .cff-spinner .cff-spinner-up,
|
57 |
.cp_cff_box #fbuilder .pbSubmit,
|
58 |
.cp_cff_box #fbuilder .pbreak .pbPrevious,
|
59 |
.cp_cff_box #fbuilder .pbreak .pbNext,
|
templates/10/style.css
CHANGED
@@ -49,6 +49,8 @@
|
|
49 |
-webkit-appearance: menulist-button;
|
50 |
height:35px;
|
51 |
}
|
|
|
|
|
52 |
.cp_cff_pastel #fbuilder .pbSubmit,
|
53 |
.cp_cff_pastel #fbuilder .pbreak .pbPrevious,
|
54 |
.cp_cff_pastel #fbuilder .pbreak .pbNext,
|
@@ -62,6 +64,8 @@
|
|
62 |
border: 1px solid #16a085;
|
63 |
border-width: 1px 1px 3px;
|
64 |
}
|
|
|
|
|
65 |
.cp_cff_pastel #fbuilder .select2-selection{background:#e8eeef;border:0;}
|
66 |
.cp_cff_pastel #fbuilder .select2-selection__rendered{color:#8a97a0;}
|
67 |
.cp_cff_pastel #fbuilder .select2-selection__choice{background:#1abc9c;border:0;padding:5px;color:#fff;}
|
49 |
-webkit-appearance: menulist-button;
|
50 |
height:35px;
|
51 |
}
|
52 |
+
.cp_cff_pastel .cff-spinner .cff-spinner-down,
|
53 |
+
.cp_cff_pastel .cff-spinner .cff-spinner-up,
|
54 |
.cp_cff_pastel #fbuilder .pbSubmit,
|
55 |
.cp_cff_pastel #fbuilder .pbreak .pbPrevious,
|
56 |
.cp_cff_pastel #fbuilder .pbreak .pbNext,
|
64 |
border: 1px solid #16a085;
|
65 |
border-width: 1px 1px 3px;
|
66 |
}
|
67 |
+
.cp_cff_pastel .cff-spinner .cff-spinner-down,
|
68 |
+
.cp_cff_pastel .cff-spinner .cff-spinner-up{height:35px;padding:5px;}
|
69 |
.cp_cff_pastel #fbuilder .select2-selection{background:#e8eeef;border:0;}
|
70 |
.cp_cff_pastel #fbuilder .select2-selection__rendered{color:#8a97a0;}
|
71 |
.cp_cff_pastel #fbuilder .select2-selection__choice{background:#1abc9c;border:0;padding:5px;color:#fff;}
|
templates/11/style.css
CHANGED
@@ -75,6 +75,8 @@
|
|
75 |
border-color: #1795FF;
|
76 |
outline: none;
|
77 |
}
|
|
|
|
|
78 |
.cp_cff_11 #fbuilder .pbSubmit,
|
79 |
.cp_cff_11 #fbuilder .pbreak .pbPrevious,
|
80 |
.cp_cff_11 #fbuilder .pbreak .pbNext,
|
75 |
border-color: #1795FF;
|
76 |
outline: none;
|
77 |
}
|
78 |
+
.cp_cff_11 .cff-spinner .cff-spinner-down,
|
79 |
+
.cp_cff_11 .cff-spinner .cff-spinner-up,
|
80 |
.cp_cff_11 #fbuilder .pbSubmit,
|
81 |
.cp_cff_11 #fbuilder .pbreak .pbPrevious,
|
82 |
.cp_cff_11 #fbuilder .pbreak .pbNext,
|
templates/12/style.css
CHANGED
@@ -16,6 +16,8 @@
|
|
16 |
|
17 |
.cp_cff_12 #fbuilder .fields:not(.cff-container-field){padding: 10px;}
|
18 |
|
|
|
|
|
19 |
.cp_cff_12 #fbuilder input[type="text"],
|
20 |
.cp_cff_12 #fbuilder input[type="file"],
|
21 |
.cp_cff_12 #fbuilder input[type="password"],
|
16 |
|
17 |
.cp_cff_12 #fbuilder .fields:not(.cff-container-field){padding: 10px;}
|
18 |
|
19 |
+
.cp_cff_12 .cff-spinner .cff-spinner-down,
|
20 |
+
.cp_cff_12 .cff-spinner .cff-spinner-up,
|
21 |
.cp_cff_12 #fbuilder input[type="text"],
|
22 |
.cp_cff_12 #fbuilder input[type="file"],
|
23 |
.cp_cff_12 #fbuilder input[type="password"],
|
templates/13/style.css
CHANGED
@@ -217,6 +217,8 @@
|
|
217 |
.cp_cff_13 #fbuilder .small {width: 100%;}
|
218 |
}
|
219 |
|
|
|
|
|
220 |
.cp_cff_13 #fbuilder .pbSubmit,
|
221 |
.cp_cff_13 #fbuilder .pbreak .pbPrevious,
|
222 |
.cp_cff_13 #fbuilder .pbreak .pbNext,
|
@@ -242,7 +244,8 @@
|
|
242 |
color: #fff;
|
243 |
text-shadow: none;
|
244 |
}
|
245 |
-
|
|
|
246 |
.cp_cff_13 #fbuilder button::-moz-focus-inner,
|
247 |
.cp_cff_13 #fbuilder input[type="reset"]::-moz-focus-inner,
|
248 |
.cp_cff_13 #fbuilder input[type="button"]::-moz-focus-inner,
|
217 |
.cp_cff_13 #fbuilder .small {width: 100%;}
|
218 |
}
|
219 |
|
220 |
+
.cp_cff_13 .cff-spinner .cff-spinner-down,
|
221 |
+
.cp_cff_13 .cff-spinner .cff-spinner-up,
|
222 |
.cp_cff_13 #fbuilder .pbSubmit,
|
223 |
.cp_cff_13 #fbuilder .pbreak .pbPrevious,
|
224 |
.cp_cff_13 #fbuilder .pbreak .pbNext,
|
244 |
color: #fff;
|
245 |
text-shadow: none;
|
246 |
}
|
247 |
+
.cp_cff_13 .cff-spinner .cff-spinner-down,
|
248 |
+
.cp_cff_13 .cff-spinner .cff-spinner-up{padding:0 5px;line-height:initial;}
|
249 |
.cp_cff_13 #fbuilder button::-moz-focus-inner,
|
250 |
.cp_cff_13 #fbuilder input[type="reset"]::-moz-focus-inner,
|
251 |
.cp_cff_13 #fbuilder input[type="button"]::-moz-focus-inner,
|