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

@ -1,213 +1,213 @@
.inside .sec { .inside .sec {
display: block; display: block;
font-size: 15px; font-size: 15px;
font-weight: normal; font-weight: normal;
margin: 15px 0; margin: 15px 0;
} }
.sec label { .sec label {
font-size: 16px; font-size: 16px;
font-weight: bold; font-weight: bold;
} }
.mep_status .active { .mep_status .active {
background: green none repeat scroll 0 0; background: green none repeat scroll 0 0;
color: #fff; color: #fff;
padding: 6px 10px; padding: 6px 10px;
} }
.mep_status .err { .mep_status .err {
background: red none repeat scroll 0 0; background: red none repeat scroll 0 0;
color: #fff; color: #fff;
padding: 6px 10px; padding: 6px 10px;
} }
#mep_uid { #mep_uid {
width: 65px; width: 65px;
} }
.inside .sec input { .inside .sec input {
border: 1px solid #ddd; border: 1px solid #ddd;
padding: 5px; padding: 5px;
width: 100%; width: 100%;
color: #000; color: #000;
} }
.inside .sec label { .inside .sec label {
font-weight: normal; font-weight: normal;
display: block; display: block;
} }
table.atendee-info { table.atendee-info {
display: block; display: block;
overflow: hidden; overflow: hidden;
width: 100%; width: 100%;
} }
/* Always set the map height explicitly to define the size of the div /* Always set the map height explicitly to define the size of the div
* element that contains the map. */ * element that contains the map. */
#map { #map {
height: 250px; height: 250px;
} }
#infowindow-content .title { #infowindow-content .title {
font-weight: bold; font-weight: bold;
} }
#infowindow-content { #infowindow-content {
display: none; display: none;
} }
#map #infowindow-content { #map #infowindow-content {
display: inline; display: inline;
} }
.pac-card { .pac-card {
margin: 10px 10px 0 0; margin: 10px 10px 0 0;
border-radius: 2px 0 0 2px; border-radius: 2px 0 0 2px;
box-sizing: border-box; box-sizing: border-box;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
outline: none; outline: none;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
background-color: #fff; background-color: #fff;
font-family: Roboto; font-family: Roboto;
} }
#pac-container { #pac-container {
padding-bottom: 12px; padding-bottom: 12px;
margin-right: 12px; margin-right: 12px;
} }
.pac-controls { .pac-controls {
display: inline-block; display: inline-block;
padding: 5px 11px; padding: 5px 11px;
} }
.pac-controls label { .pac-controls label {
font-family: Roboto; font-family: Roboto;
font-size: 13px; font-size: 13px;
font-weight: 300; font-weight: 300;
} }
#pac-input { #pac-input {
background-color: #fff; background-color: #fff;
font-family: Roboto; font-family: Roboto;
font-size: 15px; font-size: 15px;
font-weight: 300; font-weight: 300;
margin-left: 12px; margin-left: 12px;
padding: 0 11px 0 13px; padding: 0 11px 0 13px;
text-overflow: ellipsis; text-overflow: ellipsis;
width: 400px; width: 400px;
} }
#pac-input:focus { #pac-input:focus {
border-color: #4d90fe; border-color: #4d90fe;
} }
div#mep_event_faq_r { div#mep_event_faq_r {
display: block; display: block;
width: 94%; width: 94%;
border: 1px solid #ddd; border: 1px solid #ddd;
padding: 20px; padding: 20px;
} }
.mep-faq-input { .mep-faq-input {
width: 100%; width: 100%;
display: block; display: block;
border: 1px solid #8a8a8a; border: 1px solid #8a8a8a;
padding: 5px; padding: 5px;
margin: 15px 0; margin: 15px 0;
} }
div#mep-event-faq-box { div#mep-event-faq-box {
overflow: hidden; overflow: hidden;
} }
a.button.remove-faq-row { a.button.remove-faq-row {
/* float: right; */ /* float: right; */
overflow: hidden; overflow: hidden;
display: inline-block; display: inline-block;
} }
.settings_page_mep_event_settings_page h2 { .settings_page_mep_event_settings_page h2 {
padding-left: 10px; padding-left: 10px;
} }
.mep-attendee-sec-details span { .mep-attendee-sec-details span {
border: 1px solid #ddd; border: 1px solid #ddd;
padding: 10px; padding: 10px;
display: inline-block; display: inline-block;
} }
.mep-attendee-sec-details .ea-label { .mep-attendee-sec-details .ea-label {
width: 200px!important; width: 200px!important;
font-weight: bold; font-weight: bold;
} }
.mep-attendee-sec-details .ea-value { .mep-attendee-sec-details .ea-value {
width: 68%!important; width: 68%!important;
} }
.mep-attendee-sec-details .sec { .mep-attendee-sec-details .sec {
margin: 0; margin: 0;
} }
.switch { .post-type-mep_events .switch {
position: relative; position: relative;
display: inline-block; display: inline-block;
width: 60px; width: 60px;
height: 24px; height: 24px;
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;
left: 0; left: 0;
right: 0; right: 0;
bottom: 0; bottom: 0;
background-color: #ccc; background-color: #ccc;
-webkit-transition: .4s;
transition: .4s;
}
.post-type-mep_events .slider:before {
position: absolute;
content: "";
height: 17px;
width: 17px;
left: 10px;
bottom: 4px;
background-color: white;
-webkit-transition: .4s; -webkit-transition: .4s;
transition: .4s; transition: .4s;
} }
.slider:before { .post-type-mep_events input:checked + .slider {
position: absolute; background-color: #2196F3;
content: "";
height: 17px;
width: 17px;
left: 10px;
bottom: 4px;
background-color: white;
-webkit-transition: .4s;
transition: .4s;
} }
input:checked + .slider { .post-type-mep_events input:focus + .slider {
background-color: #2196F3; box-shadow: 0 0 1px #2196F3;
} }
input:focus + .slider { .post-type-mep_events input:checked + .slider:before {
box-shadow: 0 0 1px #2196F3; -webkit-transform: translateX(26px);
} -ms-transform: translateX(26px);
transform: translateX(26px);
input:checked + .slider:before {
-webkit-transform: translateX(26px);
-ms-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%;
} }
div#mep-event-price { div#mep-event-price {
border: 5px solid red; border: 5px solid red;
} }
div#mep-event-price h2 { div#mep-event-price h2 {
background: red; background: red;
color: #fff; color: #fff;
} }
div#mage-primary-button{ div#mage-primary-button{
@ -215,61 +215,61 @@ background:green !important;
color:white !important; color:white !important;
} }
ul.mep_rt_settings_list li { ul.mep_rt_settings_list li {
display: block; display: block;
margin: 20px 0; margin: 20px 0;
border-bottom: 1px solid #ddd; border-bottom: 1px solid #ddd;
padding: 5px 0 10px; padding: 5px 0 10px;
} }
.mage_settings_panel_wrap .metabox-holder { .mage_settings_panel_wrap .metabox-holder {
padding-top: 10px; padding-top: 10px;
background: #fff; background: #fff;
padding: 20px; padding: 20px;
border: 5px solid #0071a1; border: 5px solid #0071a1;
/* border-top: 0px; */ /* border-top: 0px; */
} }
.mage_settings_panel_wrap .nav-tab { .mage_settings_panel_wrap .nav-tab {
float: left; float: left;
border: 2px solid #0e678c; border: 2px solid #0e678c;
border-bottom: none; border-bottom: none;
margin-left: .5em; margin-left: .5em;
padding: 5px 10px; padding: 5px 10px;
font-size: 14px; font-size: 14px;
line-height: 1.71428571; line-height: 1.71428571;
font-weight: 600; font-weight: 600;
background: #0071a1; background: #0071a1;
color: #fff; color: #fff;
text-decoration: none; text-decoration: none;
white-space: nowrap; white-space: nowrap;
} }
.mage_settings_panel_wrap .nav-tab.nav-tab-active { .mage_settings_panel_wrap .nav-tab.nav-tab-active {
background: #5ea8c8; background: #5ea8c8;
} }
.mage_settings_panel_wrap table th { .mage_settings_panel_wrap table th {
width: 330px; width: 330px;
border-bottom: 1px solid #ddd; border-bottom: 1px solid #ddd;
padding: 10px 10px 0 0; padding: 10px 10px 0 0;
font-size: 13px; font-size: 13px;
} }
.mage_settings_panel_wrap table td { .mage_settings_panel_wrap table td {
border-bottom: 1px solid #ddd; border-bottom: 1px solid #ddd;
padding: 10px 0; padding: 10px 0;
} }
.mage_settings_panel_wrap p.submit { .mage_settings_panel_wrap p.submit {
text-align: right; text-align: right;
} }
.mage_settings_panel_wrap p.submit input { .mage_settings_panel_wrap p.submit input {
font-size: 16px; font-size: 16px;
padding: 5px 30px; padding: 5px 30px;
border-radius: 0; border-radius: 0;
} }
.mage_settings_panel_wrap .metabox-holder h2 { .mage_settings_panel_wrap .metabox-holder h2 {
border-bottom: 2px solid #0071a1; border-bottom: 2px solid #0071a1;
font-size: 20px; font-size: 20px;
padding: 15px; padding: 15px;
background: #ddd; background: #ddd;
margin-bottom: 30px; margin-bottom: 30px;
margin-top: 10px; margin-top: 10px;
} }

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,EAAE,IAAI,EAAE,IACjB,UAAW,KACX,WAAY,MACZ,MAAO,KACP,YAAa,OAGf,yBAA2B,MAAO,KAClC,gCAAkC,MAAO,KAIzC,mBACE,YAAa,IAAI,MAAM,KACvB,aAAc,KACd,MAAO,EAGT,2CACE,YAAa,IAAI,MAAM,OAEzB,kCACE,MAAO,KACP,OAAQ,YACR,WAAY,KAEd,sCACE,QAAS,EAGX,uBACE,MAAO,KACP,OAAQ,EACR,kBAAmB,MAAM,MAAM,SAAS,SACxC,eAAgB,MAAM,MAAM,SAAS,SACrC,UAAW,MAAM,MAAM,SAAS,SAChC,iBAAkB,KAEpB,sBAEE,IAAM,iBAAkB,aAG1B,yBAEE,IAAM,iBAAkB,aAG1B,iBAEE,IAAM,iBAAkB,aAO1B,QAAU,QAAS,aAAc,gBAAiB,QAElD,kBACE,YAAa,IAAI,MAAM,KACvB,SAAU,SAKZ,yBAA0B,MAAO,KACjC,wBAAyB,MAAO,KAChC,aAAc,MAAO,KACrB,aAAc,MAAO,KACrB,WAAY,WAAY,YAAa,IACrC,OAAQ,WAAY,OACpB,SAAU,gBAAiB,UAC3B,kBAAmB,gBAAiB,aAEpC,0BAA2B,MAAO,KAClC,uBAAwB,MAAO,KAC/B,yBAA0B,MAAO,KACjC,sBAAuB,MAAO,KAK9B,6BAA8B,MAAO,KACrC,6BAA8B,MAAO,KACrC,0BAA2B,MAAO,KAClC,yBAA0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T,SAAU,SACV,SAAU,QACV,4BAA6B,YAC7B,+BAAgC,KAChC,uBAAwB,KAE1B,qBACE,UAAW,WACX,YAAa,SACb,WAAY,OAGd,2BACE,SAAU,SACV,KAAM,EAAG,MAAO,EAAG,IAAK,EAAG,OAAQ,EACnC,QAAS,EAGX,uBACE,SAAU,SACV,QAAS,EACT,SAAU,KAKZ,iBACE,QAAS,EAMX,mBACA,oBACA,uBAJA,mBACA,kBAIE,gBAAiB,YACjB,WAAY,YAGd,oBACE,SAAU,SACV,MAAO,KACP,OAAQ,EACR,SAAU,OACV,WAAY,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);
} }