This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(document).ready(function() { | |
function ninjaTableAutoColspan() | |
{ | |
if($table.hasClass('ninja_stacked_table')) { | |
return; | |
} | |
$table.find('tr').each(function() { | |
var tr = this; | |
var counter = 0; | |
var strLookupText = ''; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Change button style*/ | |
form.fluent_form_149 .ff-btn-submit { | |
background-color: #000000; /* change button background color */ | |
color: #ffffff; /*change button font color*/ | |
border-radius: 10px; /*change button round corners*/ | |
} | |
/*Change button hover style*/ | |
form.fluent_form_149 .ff-btn-submit:hover { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*input style*/ | |
form.fluent_form_149 .ff-el-form-control{ | |
padding: 6px 12px; /*change padding*/ | |
background-color: #fff; /*change background color*/ | |
border: 1px solid #ced4da; /*change border width and color*/ | |
border-radius: 10px; /*change corner round/ border radius*/ | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
form.fluent_form_149 .ff-el-form-control { | |
font-size: 16px; /*change font size*/ | |
line-height: 1.5; /*change line height*/ | |
color: #495057; /*change font color*/ | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*Change label styles*/ | |
form.fluent_form_149 .ff-el-input--label{ | |
font-size:22px; /*change label font size*/ | |
color:red; /*change label color*/ | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Change Rating Star Color */ | |
form.fluent_form_149 .ff-el-ratings label.active svg { | |
fill: red; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*Change Step button styles*/ | |
form.fluent_form_149 .step-nav button{ | |
background-color: #000000; /* change step button background color */ | |
color: #ffffff; /*change step button font color*/ | |
border-radius: 10px; /*change step button round corners*/ | |
} | |
/*Change Step button styles on hover*/ | |
form.fluent_form_149 .step-nav button:hover{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* By Default Ninja Tables does not work if you want to render table on | |
* admim panel. The following code will create a top level admin page and render a table | |
* the example table if is 1306 that you need to change | |
*/ | |
add_action( 'admin_menu', function () { | |
add_menu_page( 'Admin View', 'NT Admin', 'manage_options', 'myplugin/myplugin-admin-page.php', function () { | |
$tableId = 1306; // This is ninja table ID; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
onChange: function(selectedDate, dateString) { | |
var date = selectedDate[0]; | |
flatpickr('.endingDate', { | |
"minDate": date, | |
}); | |
} | |
} |
OlderNewer