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

@ -9,27 +9,27 @@
font-weight: bold;
}
.mep_status .active {
background: green none repeat scroll 0 0;
color: #fff;
padding: 6px 10px;
background: green none repeat scroll 0 0;
color: #fff;
padding: 6px 10px;
}
.mep_status .err {
background: red none repeat scroll 0 0;
color: #fff;
padding: 6px 10px;
background: red none repeat scroll 0 0;
color: #fff;
padding: 6px 10px;
}
#mep_uid {
width: 65px;
width: 65px;
}
.inside .sec input {
border: 1px solid #ddd;
padding: 5px;
width: 100%;
color: #000;
border: 1px solid #ddd;
padding: 5px;
width: 100%;
color: #000;
}
.inside .sec label {
font-weight: normal;
display: block;
font-weight: normal;
display: block;
}
table.atendee-info {
display: block;
@ -38,64 +38,64 @@ table.atendee-info {
}
/* Always set the map height explicitly to define the size of the div
* element that contains the map. */
* element that contains the map. */
#map {
height: 250px;
height: 250px;
}
#infowindow-content .title {
font-weight: bold;
font-weight: bold;
}
#infowindow-content {
display: none;
display: none;
}
#map #infowindow-content {
display: inline;
display: inline;
}
.pac-card {
margin: 10px 10px 0 0;
border-radius: 2px 0 0 2px;
box-sizing: border-box;
-moz-box-sizing: border-box;
outline: none;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
background-color: #fff;
font-family: Roboto;
margin: 10px 10px 0 0;
border-radius: 2px 0 0 2px;
box-sizing: border-box;
-moz-box-sizing: border-box;
outline: none;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
background-color: #fff;
font-family: Roboto;
}
#pac-container {
padding-bottom: 12px;
margin-right: 12px;
padding-bottom: 12px;
margin-right: 12px;
}
.pac-controls {
display: inline-block;
padding: 5px 11px;
display: inline-block;
padding: 5px 11px;
}
.pac-controls label {
font-family: Roboto;
font-size: 13px;
font-weight: 300;
font-family: Roboto;
font-size: 13px;
font-weight: 300;
}
#pac-input {
background-color: #fff;
font-family: Roboto;
font-size: 15px;
font-weight: 300;
margin-left: 12px;
padding: 0 11px 0 13px;
text-overflow: ellipsis;
width: 400px;
background-color: #fff;
font-family: Roboto;
font-size: 15px;
font-weight: 300;
margin-left: 12px;
padding: 0 11px 0 13px;
text-overflow: ellipsis;
width: 400px;
}
#pac-input:focus {
border-color: #4d90fe;
border-color: #4d90fe;
}
div#mep_event_faq_r {
@ -144,29 +144,29 @@ a.button.remove-faq-row {
margin: 0;
}
.switch {
position: relative;
display: inline-block;
width: 60px;
height: 24px;
float: right;
.post-type-mep_events .switch {
position: relative;
display: inline-block;
width: 60px;
height: 24px;
float: right;
}
.switch input {display:none;}
.post-type-mep_events .switch input {display:none;}
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
-webkit-transition: .4s;
transition: .4s;
.post-type-mep_events .slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
-webkit-transition: .4s;
transition: .4s;
}
.slider:before {
.post-type-mep_events .slider:before {
position: absolute;
content: "";
height: 17px;
@ -178,27 +178,27 @@ position: absolute;
transition: .4s;
}
input:checked + .slider {
background-color: #2196F3;
.post-type-mep_events input:checked + .slider {
background-color: #2196F3;
}
input:focus + .slider {
box-shadow: 0 0 1px #2196F3;
.post-type-mep_events input:focus + .slider {
box-shadow: 0 0 1px #2196F3;
}
input:checked + .slider:before {
-webkit-transform: translateX(26px);
-ms-transform: translateX(26px);
transform: translateX(26px);
.post-type-mep_events input:checked + .slider:before {
-webkit-transform: translateX(26px);
-ms-transform: translateX(26px);
transform: translateX(26px);
}
/* Rounded sliders */
.slider.round {
border-radius: 34px;
.post-type-mep_events .slider.round {
border-radius: 34px;
}
.slider.round:before {
border-radius: 50%;
.post-type-mep_events .slider.round:before {
border-radius: 50%;
}
div#mep-event-price {
@ -221,55 +221,55 @@ ul.mep_rt_settings_list li {
padding: 5px 0 10px;
}
.mage_settings_panel_wrap .metabox-holder {
padding-top: 10px;
background: #fff;
padding: 20px;
border: 5px solid #0071a1;
/* border-top: 0px; */
padding-top: 10px;
background: #fff;
padding: 20px;
border: 5px solid #0071a1;
/* border-top: 0px; */
}
.mage_settings_panel_wrap .nav-tab {
float: left;
border: 2px solid #0e678c;
border-bottom: none;
margin-left: .5em;
padding: 5px 10px;
font-size: 14px;
line-height: 1.71428571;
font-weight: 600;
background: #0071a1;
color: #fff;
text-decoration: none;
white-space: nowrap;
float: left;
border: 2px solid #0e678c;
border-bottom: none;
margin-left: .5em;
padding: 5px 10px;
font-size: 14px;
line-height: 1.71428571;
font-weight: 600;
background: #0071a1;
color: #fff;
text-decoration: none;
white-space: nowrap;
}
.mage_settings_panel_wrap .nav-tab.nav-tab-active {
background: #5ea8c8;
background: #5ea8c8;
}
.mage_settings_panel_wrap table th {
width: 330px;
border-bottom: 1px solid #ddd;
padding: 10px 10px 0 0;
font-size: 13px;
width: 330px;
border-bottom: 1px solid #ddd;
padding: 10px 10px 0 0;
font-size: 13px;
}
.mage_settings_panel_wrap table td {
border-bottom: 1px solid #ddd;
padding: 10px 0;
border-bottom: 1px solid #ddd;
padding: 10px 0;
}
.mage_settings_panel_wrap p.submit {
text-align: right;
text-align: right;
}
.mage_settings_panel_wrap p.submit input {
font-size: 16px;
padding: 5px 30px;
border-radius: 0;
font-size: 16px;
padding: 5px 30px;
border-radius: 0;
}
.mage_settings_panel_wrap .metabox-holder h2 {
border-bottom: 2px solid #0071a1;
font-size: 20px;
padding: 15px;
background: #ddd;
margin-bottom: 30px;
margin-top: 10px;
border-bottom: 2px solid #0071a1;
font-size: 20px;
padding: 15px;
background: #ddd;
margin-bottom: 30px;
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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AGd,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 ('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-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_style('jquery-ui-timepicker-addon', plugin_dir_url(__DIR__) . 'css/jquery-ui-timepicker-addon.css', array());
// 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('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('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);
}