diff --git a/css/admin_style.css b/css/admin_style.css index 1eeeb04..b0d2f11 100644 --- a/css/admin_style.css +++ b/css/admin_style.css @@ -1,213 +1,213 @@ .inside .sec { - display: block; - font-size: 15px; - font-weight: normal; - margin: 15px 0; + display: block; + font-size: 15px; + font-weight: normal; + margin: 15px 0; } .sec label { - font-size: 16px; - font-weight: bold; + font-size: 16px; + 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; - overflow: hidden; - width: 100%; + display: block; + overflow: hidden; + width: 100%; } /* 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 { - display: block; - width: 94%; - border: 1px solid #ddd; - padding: 20px; + display: block; + width: 94%; + border: 1px solid #ddd; + padding: 20px; } .mep-faq-input { - width: 100%; - display: block; - border: 1px solid #8a8a8a; - padding: 5px; - margin: 15px 0; + width: 100%; + display: block; + border: 1px solid #8a8a8a; + padding: 5px; + margin: 15px 0; } div#mep-event-faq-box { - overflow: hidden; + overflow: hidden; } a.button.remove-faq-row { - /* float: right; */ - overflow: hidden; - display: inline-block; + /* float: right; */ + overflow: hidden; + display: inline-block; } .settings_page_mep_event_settings_page h2 { - padding-left: 10px; + padding-left: 10px; } .mep-attendee-sec-details span { - border: 1px solid #ddd; - padding: 10px; - display: inline-block; + border: 1px solid #ddd; + padding: 10px; + display: inline-block; } .mep-attendee-sec-details .ea-label { - width: 200px!important; - font-weight: bold; + width: 200px!important; + font-weight: bold; } .mep-attendee-sec-details .ea-value { - width: 68%!important; + width: 68%!important; } .mep-attendee-sec-details .sec { - margin: 0; + 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; +.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; +} + +.post-type-mep_events .slider:before { +position: absolute; + content: ""; + height: 17px; + width: 17px; + left: 10px; + bottom: 4px; + background-color: white; -webkit-transition: .4s; transition: .4s; } -.slider:before { -position: absolute; - content: ""; - height: 17px; - width: 17px; - left: 10px; - bottom: 4px; - background-color: white; - -webkit-transition: .4s; - transition: .4s; +.post-type-mep_events input:checked + .slider { +background-color: #2196F3; } -input:checked + .slider { - background-color: #2196F3; +.post-type-mep_events input:focus + .slider { +box-shadow: 0 0 1px #2196F3; } -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 { - border: 5px solid red; + border: 5px solid red; } div#mep-event-price h2 { - background: red; - color: #fff; + background: red; + color: #fff; } div#mage-primary-button{ @@ -215,61 +215,61 @@ background:green !important; color:white !important; } ul.mep_rt_settings_list li { - display: block; - margin: 20px 0; - border-bottom: 1px solid #ddd; - padding: 5px 0 10px; + display: block; + margin: 20px 0; + border-bottom: 1px solid #ddd; + 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; } \ No newline at end of file diff --git a/css/codemirror.min.css.map b/css/codemirror.min.css.map new file mode 100644 index 0000000..5c540a4 --- /dev/null +++ b/css/codemirror.min.css.map @@ -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,IAA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FxI,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"} \ No newline at end of file diff --git a/inc/mep_enque.php b/inc/mep_enque.php index a8eb01b..df19e38 100644 --- a/inc/mep_enque.php +++ b/inc/mep_enque.php @@ -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); }