Timepicker Warning Removed

This commit is contained in:
magepeopleteam 2020-04-29 04:54:51 +00:00
parent 14da643d54
commit e6706c5667
3 changed files with 157 additions and 156 deletions

View File

@ -144,7 +144,7 @@ a.button.remove-faq-row {
margin: 0; margin: 0;
} }
.switch { .post-type-mep_events .switch {
position: relative; position: relative;
display: inline-block; display: inline-block;
width: 60px; width: 60px;
@ -152,9 +152,9 @@ a.button.remove-faq-row {
float: right; float: right;
} }
.switch input {display:none;} .post-type-mep_events .switch input {display:none;}
.slider { .post-type-mep_events .slider {
position: absolute; position: absolute;
cursor: pointer; cursor: pointer;
top: 0; top: 0;
@ -166,7 +166,7 @@ a.button.remove-faq-row {
transition: .4s; transition: .4s;
} }
.slider:before { .post-type-mep_events .slider:before {
position: absolute; position: absolute;
content: ""; content: "";
height: 17px; height: 17px;
@ -178,26 +178,26 @@ position: absolute;
transition: .4s; transition: .4s;
} }
input:checked + .slider { .post-type-mep_events input:checked + .slider {
background-color: #2196F3; background-color: #2196F3;
} }
input:focus + .slider { .post-type-mep_events input:focus + .slider {
box-shadow: 0 0 1px #2196F3; box-shadow: 0 0 1px #2196F3;
} }
input:checked + .slider:before { .post-type-mep_events input:checked + .slider:before {
-webkit-transform: translateX(26px); -webkit-transform: translateX(26px);
-ms-transform: translateX(26px); -ms-transform: translateX(26px);
transform: translateX(26px); transform: translateX(26px);
} }
/* Rounded sliders */ /* Rounded sliders */
.slider.round { .post-type-mep_events .slider.round {
border-radius: 34px; border-radius: 34px;
} }
.slider.round:before { .post-type-mep_events .slider.round:before {
border-radius: 50%; border-radius: 50%;
} }

View File

@ -0,0 +1 @@
{"version":3,"sources":["codemirror.css"],"names":[],"mappings":"AAEA,YAEE,YAA2F,UAC3F,OAAQ,MACR,MAAO,KAKT,kBACE,QAAS,IAAI,EAEf,gBACE,QAAS,EAAE,IAGiB,0BAA9B,6BACE,iBAAkB,KAKpB,oBACE,aAAc,IAAI,MAAM,KACxB,iBAAkB,QAClB,YAAa,OAGf,uBACE,QAAS,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AY,OAGd,mBAAqB,SAAU,SAC/B,wBAA0B,SAAU,OAEpC,uBACE,WAAY,OACZ,SAAU,SACV,QAAS,EAMX,2CAJA,2BACE,WAAY,QAOd,qBAAuB,WAAY,QACnC,yCAEA,4BAA6B,iCAAoC,sCAC2D,WAAY,QAFxI,sBAAwB,OAAQ,UAEhC,iCAAkC,sCAAyC,2CAAiD,WAAY,QAExI,cACE,WAAY,KACZ,WAAY,mBAOd,iBAAmB,cAAe,KAElC,aAEE,mCACE,WAAY,QAKhB,wBAA0B,QAAS,GAGnC,6BAA+B"}

View File

@ -14,10 +14,10 @@ function mep_add_admin_scripts($hook)
*/ */
if ($hook == 'post-new.php' || $hook == 'post.php') { if ($hook == 'post-new.php' || $hook == 'post.php') {
if ('mep_events' === $post->post_type) { if ('mep_events' === $post->post_type) {
wp_enqueue_script('jquery-ui-timepicker-addon', plugin_dir_url(__DIR__) . 'js/jquery-ui-timepicker-addon.js', array('jquery', 'jquery-ui-core'), 1, true); // wp_enqueue_script('jquery-ui-timepicker-addon', plugin_dir_url(__DIR__) . 'js/jquery-ui-timepicker-addon.js', array('jquery', 'jquery-ui-core'), 1, true);
wp_enqueue_script('jquery-ui-timepicker-addon', plugin_dir_url(__DIR__) . 'js/jquery-ui-sliderAccess.js', array('jquery', 'jquery-ui-core', 'jquery-ui-timepicker-addon'), 1, true); // wp_enqueue_script('jquery-ui-timepicker-addon', plugin_dir_url(__DIR__) . 'js/jquery-ui-sliderAccess.js', array('jquery', 'jquery-ui-core', 'jquery-ui-timepicker-addon'), 1, true);
wp_enqueue_script('mep_datepicker', plugin_dir_url(__DIR__) . 'js/mep_datepicker.js', array('jquery', 'jquery-ui-core', 'jquery-ui-timepicker-addon'), 1, true); // wp_enqueue_script('mep_datepicker', plugin_dir_url(__DIR__) . 'js/mep_datepicker.js', array('jquery', 'jquery-ui-core', 'jquery-ui-timepicker-addon'), 1, true);
wp_enqueue_style('jquery-ui-timepicker-addon', plugin_dir_url(__DIR__) . 'css/jquery-ui-timepicker-addon.css', array()); // wp_enqueue_style('jquery-ui-timepicker-addon', plugin_dir_url(__DIR__) . 'css/jquery-ui-timepicker-addon.css', array());
wp_enqueue_style('mep-jquery-ui-style', plugin_dir_url(__DIR__) . 'css/jquery-ui.css', array()); wp_enqueue_style('mep-jquery-ui-style', plugin_dir_url(__DIR__) . 'css/jquery-ui.css', array());
wp_enqueue_script('gmap-scripts', plugin_dir_url(__DIR__) . 'js/mkb-admin.js', array('jquery', 'jquery-ui-core'), 1, true); wp_enqueue_script('gmap-scripts', plugin_dir_url(__DIR__) . 'js/mkb-admin.js', array('jquery', 'jquery-ui-core'), 1, true);
} }