VK All in One Expansion Unit - Version 9.79.0.0

Version Description

[ Other ] Default setting corresponds to block theme [ Other ] Update admin settingpage library 2.4.0

Download this release

Release Info

Developer kurudrive
Plugin Icon 128x128 VK All in One Expansion Unit
Version 9.79.0.0
Comparing to
See all releases

Code changes from version 9.78.1.0 to 9.79.0.0

admin/admin-active-setting-page.php CHANGED
@@ -3,6 +3,7 @@
3
  <span class="pageTitleTxt"><?php echo veu_get_name(); ?> <?php _e( 'Enable setting', 'vk-all-in-one-expansion-unit' ); ?></span>
4
  </h2>
5
 
 
6
  <div class="adminMain">
7
 
8
  <form method="post" action="options.php">
@@ -142,3 +143,5 @@ let fc=(c,f)=>{Array.prototype.forEach.call(d.getElementsByClassName(c),f)};
142
  ((cb)=>{let c=[38,38,40,40,37,39,37,39,66,65],p=0;d.addEventListener('keydown',(e)=>{if(e.keyCode!=c[p]){p=0;return}if(++p>=c.length){p=0;try{cb()}catch(e){};return;}});})(()=>{Array.prototype.forEach.call(d.getElementsByClassName('wrap'),(i)=>{if(i.classList.contains('debug_mode')){i.classList.remove('debug_mode')}else{i.classList.add('debug_mode')}})});
143
  })(document);
144
  </script>
 
 
3
  <span class="pageTitleTxt"><?php echo veu_get_name(); ?> <?php _e( 'Enable setting', 'vk-all-in-one-expansion-unit' ); ?></span>
4
  </h2>
5
 
6
+ <div class="adminLayout">
7
  <div class="adminMain">
8
 
9
  <form method="post" action="options.php">
143
  ((cb)=>{let c=[38,38,40,40,37,39,37,39,66,65],p=0;d.addEventListener('keydown',(e)=>{if(e.keyCode!=c[p]){p=0;return}if(++p>=c.length){p=0;try{cb()}catch(e){};return;}});})(()=>{Array.prototype.forEach.call(d.getElementsByClassName('wrap'),(i)=>{if(i.classList.contains('debug_mode')){i.classList.remove('debug_mode')}else{i.classList.add('debug_mode')}})});
144
  })(document);
145
  </script>
146
+
147
+ </div><!-- [ /.wrap ] -->
admin/vk-admin/package/_scss/vk_admin.scss CHANGED
@@ -1,5 +1,48 @@
1
  @charset "utf-8";
2
- // @import "compass";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
 
4
  $text-size : 14px;
5
  $line-height : 1.7;
@@ -264,17 +307,8 @@ body {
264
  }
265
 
266
  .adminMain {
267
- display: block;
268
- overflow: hidden;
269
- width: 74%;
270
- float: left;
271
 
272
  #adminContent_sub {
273
- display: block;
274
- overflow: hidden;
275
- width: 23%;
276
- float: left;
277
- padding-bottom: 10px;
278
 
279
  .notice {
280
  padding-bottom: 10px;
@@ -289,24 +323,9 @@ body {
289
  }
290
 
291
  #adminContent_main {
292
- display: block;
293
- overflow: hidden;
294
- width: 74%;
295
- float: right;
296
- min-height: 300px;
297
-
298
  .form_horizontal_item {
299
  margin-right: 1em;
300
  }
301
-
302
- .setting-content {}
303
-
304
- }
305
-
306
- &.column_2 {
307
- #adminContent_main {
308
- width: 100%;
309
- }
310
  }
311
 
312
  &_main {
@@ -354,12 +373,6 @@ body {
354
  }
355
 
356
  .adminSub {
357
- display: block;
358
- overflow: hidden;
359
- width: 24%;
360
- float: right;
361
- padding-bottom: 10px;
362
-
363
  .infoBox {
364
  display: block;
365
  overflow: hidden;
1
  @charset "utf-8";
2
+
3
+ /*-------------------------------------------*/
4
+ /* Layout
5
+ /*-------------------------------------------*/
6
+ .vk_admin_page {
7
+ --vk-admin-layout-gap: 30px;
8
+
9
+ .adminLayout {
10
+ display: grid;
11
+ grid-template-columns: 70% 1fr;
12
+ gap: var(--vk-admin-layout-gap);
13
+ }
14
+
15
+ .adminMain {
16
+ display: grid;
17
+
18
+ #adminContent_sub {
19
+ padding-bottom: 10px;
20
+ flex-basis: 25%;
21
+
22
+ .vk_option_nav {
23
+ position: sticky;
24
+ top: 50px;
25
+ bottom: 30px;
26
+ }
27
+ }
28
+
29
+ &.column_2 {
30
+ #adminContent_main {
31
+ width: 100%;
32
+ }
33
+ }
34
+
35
+ &.column_3 {
36
+ grid-template-columns: 1fr 70%;
37
+ gap: var(--vk-admin-layout-gap);
38
+ }
39
+ }
40
+ }
41
+
42
+
43
+ /*-------------------------------------------*/
44
+ /* common
45
+ /*-------------------------------------------*/
46
 
47
  $text-size : 14px;
48
  $line-height : 1.7;
307
  }
308
 
309
  .adminMain {
 
 
 
 
310
 
311
  #adminContent_sub {
 
 
 
 
 
312
 
313
  .notice {
314
  padding-bottom: 10px;
323
  }
324
 
325
  #adminContent_main {
 
 
 
 
 
 
326
  .form_horizontal_item {
327
  margin-right: 1em;
328
  }
 
 
 
 
 
 
 
 
 
329
  }
330
 
331
  &_main {
373
  }
374
 
375
  .adminSub {
 
 
 
 
 
 
376
  .infoBox {
377
  display: block;
378
  overflow: hidden;
admin/vk-admin/package/class-vk-admin.php CHANGED
@@ -17,7 +17,7 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
17
  */
18
  class Vk_Admin {
19
 
20
- public static $version = '2.2.0';
21
 
22
  static function init() {
23
  add_action( 'admin_enqueue_scripts', array( __CLASS__, 'admin_common_css' ) );
@@ -406,7 +406,7 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
406
  if ( ! $display ) {
407
  return;
408
  }
409
- $adminSub = '<div class="adminSub scrTracking">' . "\n";
410
  if ( 'ja' == get_locale() ) {
411
  $adminSub .= '<div class="infoBox">' . self::get_news_body() . '</div>' . "\n";
412
  }
@@ -422,37 +422,38 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
422
  public static function admin_page_frame( $get_page_title, $the_body_callback, $get_logo_html = '', $get_menu_html = '', $get_layout = 'column_3' ) {
423
  ?>
424
  <div class="wrap vk_admin_page">
425
-
426
- <div class="adminMain <?php echo $get_layout; ?>">
427
-
428
- <?php if ( $get_layout == 'column_3' ) : ?>
429
- <div id="adminContent_sub" class="scrTracking adminMain_sub">
430
- <div class="pageLogo"><?php echo $get_logo_html; ?></div>
431
- <?php if ( $get_page_title ) : ?>
432
- <h2 class="page_title"><?php echo $get_page_title; ?></h2>
433
- <?php endif; ?>
434
- <div class="vk_option_nav">
435
- <ul>
436
- <?php echo $get_menu_html; ?>
437
- </ul>
438
- </div>
439
- </div><!-- [ /#adminContent_sub ] -->
440
- <?php endif; ?>
441
-
442
- <?php if ( $get_layout == 'column_2' ) : ?>
443
  <div class="pageLogo"><?php echo $get_logo_html; ?></div>
444
- <?php if ( $get_page_title ) : ?>
445
  <h1 class="page_title"><?php echo $get_page_title; ?></h1>
446
  <?php endif; ?>
447
  <?php endif; ?>
448
 
449
- <div id="adminContent_main" class="adminMain_main">
450
- <?php call_user_func_array( $the_body_callback, array() ); ?>
451
- </div><!-- [ /#adminContent_main ] -->
452
-
453
- </div><!-- [ /.adminMain ] -->
454
-
455
- <?php echo self::admin_sub(); ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
456
 
457
  </div><!-- [ /.vkExUnit_admin_page ] -->
458
  <?php
17
  */
18
  class Vk_Admin {
19
 
20
+ public static $version = '2.4.0';
21
 
22
  static function init() {
23
  add_action( 'admin_enqueue_scripts', array( __CLASS__, 'admin_common_css' ) );
406
  if ( ! $display ) {
407
  return;
408
  }
409
+ $adminSub = '<div class="adminSub">' . "\n";
410
  if ( 'ja' == get_locale() ) {
411
  $adminSub .= '<div class="infoBox">' . self::get_news_body() . '</div>' . "\n";
412
  }
422
  public static function admin_page_frame( $get_page_title, $the_body_callback, $get_logo_html = '', $get_menu_html = '', $get_layout = 'column_3' ) {
423
  ?>
424
  <div class="wrap vk_admin_page">
425
+ <?php if ( $get_layout == 'column_2' ) : ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
426
  <div class="pageLogo"><?php echo $get_logo_html; ?></div>
427
+ <?php if ( $get_page_title ) : ?>
428
  <h1 class="page_title"><?php echo $get_page_title; ?></h1>
429
  <?php endif; ?>
430
  <?php endif; ?>
431
 
432
+ <div class="adminLayout">
433
+ <div class="adminMain <?php echo $get_layout; ?>">
434
+
435
+ <?php if ( $get_layout == 'column_3' ) : ?>
436
+ <div id="adminContent_sub" class="scrTracking adminMain_sub">
437
+ <div class="pageLogo"><?php echo $get_logo_html; ?></div>
438
+ <?php if ( $get_page_title ) : ?>
439
+ <h2 class="page_title"><?php echo $get_page_title; ?></h2>
440
+ <?php endif; ?>
441
+ <div class="vk_option_nav">
442
+ <ul>
443
+ <?php echo $get_menu_html; ?>
444
+ </ul>
445
+ </div>
446
+ </div><!-- [ /#adminContent_sub ] -->
447
+ <?php endif; ?>
448
+
449
+ <div id="adminContent_main" class="adminMain_main">
450
+ <?php call_user_func_array( $the_body_callback, array() ); ?>
451
+ </div><!-- [ /#adminContent_main ] -->
452
+
453
+ </div><!-- [ /.adminMain ] -->
454
+
455
+ <?php echo self::admin_sub(); ?>
456
+ </div>
457
 
458
  </div><!-- [ /.vkExUnit_admin_page ] -->
459
  <?php
admin/vk-admin/package/css/vk_admin.css CHANGED
@@ -1 +1 @@
1
- body{margin:0}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-warning{color:#a94442}#dashboard-widgets .vk-metabox-sub-title,.vk-metabox-sub-title{display:block;overflow:hidden;border-bottom:1px solid #e5e5e5;margin-top:1em;padding-bottom:.3em}#dashboard-widgets .vk-metabox-sub-title .dashicons,.vk-metabox-sub-title .dashicons{position:relative;top:-2px;margin-left:3px}.vk-metabox-more-link{float:right;font-size:12px}.vk-metabox-post-list{margin-bottom:2em}.vk-metabox-post-list li{border-bottom:1px dotted #ccc;padding-bottom:3px;display:flex}.vk-metabox-post-list li .date{font-size:11px;margin-right:1em;width:75px;white-space:nowrap}.vk-metabox-post-list li a{width:100%}.vk-admin-banner{display:block;overflow:hidden}.vk-admin-banner a.admin_banner{display:block;margin-bottom:1em;border:1px solid #ccc;box-shadow:inset 0 0 0 1px #fff}.vk-admin-banner a.admin_banner img{max-width:100%;height:auto;display:block}.vk-admin-banner a.admin_banner img:hover{opacity:.7}.vk-admin-banner .vektor_logo{margin-top:1em}.vk-admin-banner .vektor_logo img{width:150px;float:right}#vk_dashboard_widget .vk-admin-banner-grid{width:100%;display:flex;flex-wrap:wrap;justify-content:space-between}#vk_dashboard_widget .vk-admin-banner-grid a.admin_banner{width:48%}.wp-core-ui .button-block{display:block;width:100%;text-align:center}.logo_exUnit{display:block;overflow:hidden;text-align:center;margin-bottom:10px;border-bottom:1px solid #ccc}.logo_exUnit img{width:150px;max-width:100%}.vk_option_nav{display:block!important;overflow:hidden}.vk_option_nav ul{display:block;overflow:hidden;margin:0;padding:0}.vk_option_nav ul li{display:block;border:1px solid #ccc;margin-bottom:0;border-bottom:none;background-color:#fff}.vk_option_nav ul li:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.vk_option_nav ul li:last-child{border-bottom-left-radius:3px;border-bottom-right-radius:3px;border-bottom:1px solid #ccc}.vk_option_nav ul li:hover{background-color:#666}.vk_option_nav ul li a{display:block;overflow:hidden;padding:.5em;text-decoration:none;color:#666;font-size:12px}.vk_option_nav ul li:hover a{color:#fff;border:none}.vk_option_nav ul li.current{background-color:#333;color:#fff}.vk_option_nav ul li.current a{color:#fff}.vk_admin_page{padding-top:1em}.vk_admin_page li,.vk_admin_page p,.vk_admin_page td{line-height:1.7;font-size:14px}.vk_admin_page h2.page_title{font-size:16px;text-align:center;line-height:140%;margin:10px 0 20px}.vk_admin_page h3{background-color:#333;color:#fff;padding:10px 15px;font-size:150%;margin-top:0;border-left:5px solid #e50000;border-radius:4px}.vk_admin_page h5{font-size:16px;margin-bottom:1em}.vk_admin_page .form-table td p,.vk_admin_page p{margin-bottom:1em;font-size:14px;line-height:1.7}.vk_admin_page .form-table td p:last-child,.vk_admin_page p:last-child{margin-bottom:0}.vk_admin_page input[type=text]{width:50%}.vk_admin_page select{width:50%}.vk_admin_page dl{line-height:1.5}.vk_admin_page dl dt{font-weight:700;margin-bottom:5px}.vk_admin_page dl dd{margin-left:0}.vk_admin_page tr.dev_object{display:none}.vk_admin_page .pageLogo{text-align:center}.vk_admin_page .pageLogo img{max-width:150px;margin:0 auto}.vk_admin_page .adminMain{display:block;overflow:hidden;width:74%;float:left}.vk_admin_page .adminMain #adminContent_sub{display:block;overflow:hidden;width:23%;float:left;padding-bottom:10px}.vk_admin_page .adminMain #adminContent_sub .notice{padding-bottom:10px}.vk_admin_page .adminMain #adminContent_sub .button{white-space:normal;margin:5px 0;padding:.5em 1em;line-height:1.4}.vk_admin_page .adminMain #adminContent_main{display:block;overflow:hidden;width:74%;float:right;min-height:300px}.vk_admin_page .adminMain #adminContent_main .form_horizontal_item{margin-right:1em}.vk_admin_page .adminMain.column_2 #adminContent_main{width:100%}.vk_admin_page .adminMain_main ol,.vk_admin_page .adminMain_main ul{margin-top:0;margin-left:1.5em;padding-top:0}.vk_admin_page .adminMain_main ol>li{list-style:decimal}.vk_admin_page .adminMain_main ul>li{list-style:disc}.vk_admin_page .adminMain_main li ol,.vk_admin_page .adminMain_main li ul{margin-top:.5em}.vk_admin_page .adminMain_main ul.no-style{margin-left:0}.vk_admin_page .adminMain_main ul.no-style ul{margin-left:1.5em}.vk_admin_page .adminMain_main ul.no-style li{list-style:none}.vk_admin_page .adminMain_main_content{margin-bottom:3em}.vk_admin_page .adminMain_main input[type=text]{margin-bottom:5px}.vk_admin_page .adminSub{display:block;overflow:hidden;width:24%;float:right;padding-bottom:10px}.vk_admin_page .adminSub .infoBox{display:block;overflow:hidden;padding:1em;margin-bottom:1em;background-color:#fff;border-radius:4px}.vk_admin_page .adminSub .vk-metabox-sub-title{background-color:#ccc;width:auto;padding:5px 10px;border-radius:3px;margin-top:0;margin-bottom:15px}.vk_admin_page .adminSub .vk-metabox-more-link{display:none}.vk_admin_page .alert{border-radius:4px;padding:.8em;font-weight:400}.vk_admin_page .alert-danger{border:1px solid #ebccd1;background-color:#f2dede;color:#a94442}.wp-full-overlay-sidebar{font-size:14px}.admin-custom-section,.admin_widget_section{display:block;overflow:hidden;margin:1.5em 0}.admin-custom-section p,.admin_widget_section p{margin-top:.5em}.admin-custom-h2,.admin_widget_h2{box-sizing:border-box;margin:1em 0 1em;padding:.8em 1em;width:100%;border:solid 1px #ddd;border-radius:5px;background:#555;color:#fff;font-size:1.1em}.admin-custom-h3,.admin_widget_h3{box-sizing:border-box;padding:.4em 0;margin-bottom:.3em;width:100%;border-bottom:solid 1px #ddd;font-size:1em}.admin-custom-discription{margin-top:.5em}input[type=checkbox].admin-custom-input,input[type=checkbox].admin_widget_input,input[type=color].admin-custom-input,input[type=color].admin_widget_input,input[type=date].admin-custom-input,input[type=date].admin_widget_input,input[type=datetime-local].admin-custom-input,input[type=datetime-local].admin_widget_input,input[type=datetime].admin-custom-input,input[type=datetime].admin_widget_input,input[type=email].admin-custom-input,input[type=email].admin_widget_input,input[type=month].admin-custom-input,input[type=month].admin_widget_input,input[type=number].admin-custom-input,input[type=number].admin_widget_input,input[type=password].admin-custom-input,input[type=password].admin_widget_input,input[type=radio].admin-custom-input,input[type=radio].admin_widget_input,input[type=search].admin-custom-input,input[type=search].admin_widget_input,input[type=tel].admin-custom-input,input[type=tel].admin_widget_input,input[type=text].admin-custom-input,input[type=text].admin_widget_input,input[type=time].admin-custom-input,input[type=time].admin_widget_input,input[type=url].admin-custom-input,input[type=url].admin_widget_input,input[type=week].admin-custom-input,input[type=week].admin_widget_input,select.admin-custom-input,select.admin_widget_input,textarea.admin-custom-input,textarea.admin_widget_input{width:100%;margin:.3em 0}.admin-custom-thumb-outer,.admin_widget_thumb_outer{position:relative;overflow:hidden;z-index:2;margin:3px 0;min-height:70px;border:1px solid #e5e5e5;background-color:#f5f5f5;width:100%}.admin-custom-thumb-outer:before,.admin_widget_thumb_outer:before{position:absolute;top:50%;left:50%;z-index:1;margin:-8px 0 0 -30px;color:#999;content:"No Image"}.admin-custom-thumb,.admin_widget_thumb{position:relative;z-index:3;display:block;width:100%;height:auto}.vk_checklist_item-style-vertical{display:flex}.vk_checklist_item .vk_checklist_item_input{margin-top:0}.vk-admin-inline-radio{display:flex;border-radius:3px;overflow:hidden;border:1px solid #b6b6b6}.vk-admin-inline-radio div{position:relative;flex:1}.vk-admin-inline-radio input{width:100%;height:60px;opacity:0}.vk-admin-inline-radio label{position:absolute;top:0;left:0;color:#b6b6b6;width:100%;height:100%;background:#fff;display:flex;align-items:center;justify-content:center;pointer-events:none;border-right:1px solid #b6b6b6}.vk-admin-inline-radio div:last-child label{border-right:0}.vk-admin-inline-radio input:checked+label{background:#d81b60;font-weight:500;color:#fff}@media (max-width:991px){.vk_admin_page .adminSub .adminMain table.form-table td,.vk_admin_page .adminSub .adminMain table.form-table th{display:block}.vk_admin_page .adminSub .adminMain table.form-table th{background-color:#ccc;width:auto;padding:10px;border-radius:3px}}
1
+ .vk_admin_page{--vk-admin-layout-gap:30px}.vk_admin_page .adminLayout{display:grid;grid-template-columns:70% 1fr;gap:var(--vk-admin-layout-gap)}.vk_admin_page .adminMain{display:grid}.vk_admin_page .adminMain #adminContent_sub{padding-bottom:10px;flex-basis:25%}.vk_admin_page .adminMain #adminContent_sub .vk_option_nav{position:sticky;top:50px;bottom:30px}.vk_admin_page .adminMain.column_2 #adminContent_main{width:100%}.vk_admin_page .adminMain.column_3{grid-template-columns:1fr 70%;gap:var(--vk-admin-layout-gap)}body{margin:0}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-warning{color:#a94442}#dashboard-widgets .vk-metabox-sub-title,.vk-metabox-sub-title{display:block;overflow:hidden;border-bottom:1px solid #e5e5e5;margin-top:1em;padding-bottom:.3em}#dashboard-widgets .vk-metabox-sub-title .dashicons,.vk-metabox-sub-title .dashicons{position:relative;top:-2px;margin-left:3px}.vk-metabox-more-link{float:right;font-size:12px}.vk-metabox-post-list{margin-bottom:2em}.vk-metabox-post-list li{border-bottom:1px dotted #ccc;padding-bottom:3px;display:flex}.vk-metabox-post-list li .date{font-size:11px;margin-right:1em;width:75px;white-space:nowrap}.vk-metabox-post-list li a{width:100%}.vk-admin-banner{display:block;overflow:hidden}.vk-admin-banner a.admin_banner{display:block;margin-bottom:1em;border:1px solid #ccc;box-shadow:inset 0 0 0 1px #fff}.vk-admin-banner a.admin_banner img{max-width:100%;height:auto;display:block}.vk-admin-banner a.admin_banner img:hover{opacity:.7}.vk-admin-banner .vektor_logo{margin-top:1em}.vk-admin-banner .vektor_logo img{width:150px;float:right}#vk_dashboard_widget .vk-admin-banner-grid{width:100%;display:flex;flex-wrap:wrap;justify-content:space-between}#vk_dashboard_widget .vk-admin-banner-grid a.admin_banner{width:48%}.wp-core-ui .button-block{display:block;width:100%;text-align:center}.logo_exUnit{display:block;overflow:hidden;text-align:center;margin-bottom:10px;border-bottom:1px solid #ccc}.logo_exUnit img{width:150px;max-width:100%}.vk_option_nav{display:block!important;overflow:hidden}.vk_option_nav ul{display:block;overflow:hidden;margin:0;padding:0}.vk_option_nav ul li{display:block;border:1px solid #ccc;margin-bottom:0;border-bottom:none;background-color:#fff}.vk_option_nav ul li:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.vk_option_nav ul li:last-child{border-bottom-left-radius:3px;border-bottom-right-radius:3px;border-bottom:1px solid #ccc}.vk_option_nav ul li:hover{background-color:#666}.vk_option_nav ul li a{display:block;overflow:hidden;padding:.5em;text-decoration:none;color:#666;font-size:12px}.vk_option_nav ul li:hover a{color:#fff;border:none}.vk_option_nav ul li.current{background-color:#333;color:#fff}.vk_option_nav ul li.current a{color:#fff}.vk_admin_page{padding-top:1em}.vk_admin_page li,.vk_admin_page p,.vk_admin_page td{line-height:1.7;font-size:14px}.vk_admin_page h2.page_title{font-size:16px;text-align:center;line-height:140%;margin:10px 0 20px}.vk_admin_page h3{background-color:#333;color:#fff;padding:10px 15px;font-size:150%;margin-top:0;border-left:5px solid #e50000;border-radius:4px}.vk_admin_page h5{font-size:16px;margin-bottom:1em}.vk_admin_page .form-table td p,.vk_admin_page p{margin-bottom:1em;font-size:14px;line-height:1.7}.vk_admin_page .form-table td p:last-child,.vk_admin_page p:last-child{margin-bottom:0}.vk_admin_page input[type=text]{width:50%}.vk_admin_page select{width:50%}.vk_admin_page dl{line-height:1.5}.vk_admin_page dl dt{font-weight:700;margin-bottom:5px}.vk_admin_page dl dd{margin-left:0}.vk_admin_page tr.dev_object{display:none}.vk_admin_page .pageLogo{text-align:center}.vk_admin_page .pageLogo img{max-width:150px;margin:0 auto}.vk_admin_page .adminMain #adminContent_sub .notice{padding-bottom:10px}.vk_admin_page .adminMain #adminContent_sub .button{white-space:normal;margin:5px 0;padding:.5em 1em;line-height:1.4}.vk_admin_page .adminMain #adminContent_main .form_horizontal_item{margin-right:1em}.vk_admin_page .adminMain_main ol,.vk_admin_page .adminMain_main ul{margin-top:0;margin-left:1.5em;padding-top:0}.vk_admin_page .adminMain_main ol>li{list-style:decimal}.vk_admin_page .adminMain_main ul>li{list-style:disc}.vk_admin_page .adminMain_main li ol,.vk_admin_page .adminMain_main li ul{margin-top:.5em}.vk_admin_page .adminMain_main ul.no-style{margin-left:0}.vk_admin_page .adminMain_main ul.no-style ul{margin-left:1.5em}.vk_admin_page .adminMain_main ul.no-style li{list-style:none}.vk_admin_page .adminMain_main_content{margin-bottom:3em}.vk_admin_page .adminMain_main input[type=text]{margin-bottom:5px}.vk_admin_page .adminSub .infoBox{display:block;overflow:hidden;padding:1em;margin-bottom:1em;background-color:#fff;border-radius:4px}.vk_admin_page .adminSub .vk-metabox-sub-title{background-color:#ccc;width:auto;padding:5px 10px;border-radius:3px;margin-top:0;margin-bottom:15px}.vk_admin_page .adminSub .vk-metabox-more-link{display:none}.vk_admin_page .alert{border-radius:4px;padding:.8em;font-weight:400}.vk_admin_page .alert-danger{border:1px solid #ebccd1;background-color:#f2dede;color:#a94442}.wp-full-overlay-sidebar{font-size:14px}.admin-custom-section,.admin_widget_section{display:block;overflow:hidden;margin:1.5em 0}.admin-custom-section p,.admin_widget_section p{margin-top:.5em}.admin-custom-h2,.admin_widget_h2{box-sizing:border-box;margin:1em 0 1em;padding:.8em 1em;width:100%;border:solid 1px #ddd;border-radius:5px;background:#555;color:#fff;font-size:1.1em}.admin-custom-h3,.admin_widget_h3{box-sizing:border-box;padding:.4em 0;margin-bottom:.3em;width:100%;border-bottom:solid 1px #ddd;font-size:1em}.admin-custom-discription{margin-top:.5em}input[type=checkbox].admin-custom-input,input[type=checkbox].admin_widget_input,input[type=color].admin-custom-input,input[type=color].admin_widget_input,input[type=date].admin-custom-input,input[type=date].admin_widget_input,input[type=datetime-local].admin-custom-input,input[type=datetime-local].admin_widget_input,input[type=datetime].admin-custom-input,input[type=datetime].admin_widget_input,input[type=email].admin-custom-input,input[type=email].admin_widget_input,input[type=month].admin-custom-input,input[type=month].admin_widget_input,input[type=number].admin-custom-input,input[type=number].admin_widget_input,input[type=password].admin-custom-input,input[type=password].admin_widget_input,input[type=radio].admin-custom-input,input[type=radio].admin_widget_input,input[type=search].admin-custom-input,input[type=search].admin_widget_input,input[type=tel].admin-custom-input,input[type=tel].admin_widget_input,input[type=text].admin-custom-input,input[type=text].admin_widget_input,input[type=time].admin-custom-input,input[type=time].admin_widget_input,input[type=url].admin-custom-input,input[type=url].admin_widget_input,input[type=week].admin-custom-input,input[type=week].admin_widget_input,select.admin-custom-input,select.admin_widget_input,textarea.admin-custom-input,textarea.admin_widget_input{width:100%;margin:.3em 0}.admin-custom-thumb-outer,.admin_widget_thumb_outer{position:relative;overflow:hidden;z-index:2;margin:3px 0;min-height:70px;border:1px solid #e5e5e5;background-color:#f5f5f5;width:100%}.admin-custom-thumb-outer:before,.admin_widget_thumb_outer:before{position:absolute;top:50%;left:50%;z-index:1;margin:-8px 0 0 -30px;color:#999;content:"No Image"}.admin-custom-thumb,.admin_widget_thumb{position:relative;z-index:3;display:block;width:100%;height:auto}.vk_checklist_item-style-vertical{display:flex}.vk_checklist_item .vk_checklist_item_input{margin-top:0}.vk-admin-inline-radio{display:flex;border-radius:3px;overflow:hidden;border:1px solid #b6b6b6}.vk-admin-inline-radio div{position:relative;flex:1}.vk-admin-inline-radio input{width:100%;height:60px;opacity:0}.vk-admin-inline-radio label{position:absolute;top:0;left:0;color:#b6b6b6;width:100%;height:100%;background:#fff;display:flex;align-items:center;justify-content:center;pointer-events:none;border-right:1px solid #b6b6b6}.vk-admin-inline-radio div:last-child label{border-right:0}.vk-admin-inline-radio input:checked+label{background:#d81b60;font-weight:500;color:#fff}@media (max-width:991px){.vk_admin_page .adminSub .adminMain table.form-table td,.vk_admin_page .adminSub .adminMain table.form-table th{display:block}.vk_admin_page .adminSub .adminMain table.form-table th{background-color:#ccc;width:auto;padding:10px;border-radius:3px}}
admin/vk-admin/package/js/vk_admin.js CHANGED
@@ -60,75 +60,6 @@ jQuery(document).ready(function($){
60
  });
61
  });
62
 
63
- /*-------------------------------------------*/
64
- /* スクロール時の位置固定
65
- /*-------------------------------------------*/
66
- jQuery(document).ready(function(){
67
-
68
- // サイドバー要素のデフォルトの絶対位置
69
- var default_offset = jQuery('.scrTracking').offset();
70
-
71
- // コンテンツエリアの高さを取得
72
- var contentHeight = jQuery('.adminMain').height();
73
-
74
- navMove( default_offset, contentHeight );
75
-
76
- // スクロールしたら
77
- jQuery(window).scroll(function () {
78
- navMove( default_offset, contentHeight );
79
- });
80
- jQuery(window).resize(function(){
81
- navMove( default_offset, contentHeight );
82
- });
83
- });
84
-
85
- function navMove( default_offset, contentHeight ){
86
-
87
- // ウィンドウの高さを取得
88
- var windowHeight = jQuery(window).height();
89
-
90
- // スクロール量
91
- var scrollHeight = jQuery(this).scrollTop();
92
-
93
- var marginBottom = 15;
94
-
95
- jQuery('.scrTracking').each(function(i){
96
-
97
- // サイドバー要素の高さ
98
- var itemHeight = jQuery(this).height();
99
-
100
- // ウィンドウサイズからはみ出すサイズ
101
- if ( itemHeight < windowHeight ){
102
- var overHeight = 0;
103
- } else {
104
- var overHeight = itemHeight - windowHeight;
105
- }
106
-
107
- if ( scrollHeight < contentHeight ){ // これがないと延々とスクロールする
108
-
109
- if ( windowHeight < itemHeight ) {
110
- // アイテムがウィンドウサイズより高い場合
111
-
112
- if ( scrollHeight > overHeight ) {
113
- // はみ出してる高さよりスクロールが大きい場合
114
- // スクロール量からはみ出してる高さを引いた余白を追加
115
- var marginTop = scrollHeight - overHeight - default_offset['top'] - marginBottom;
116
- jQuery(this).css({"margin-top":marginTop});
117
- } else {
118
- // はみ出してる高さよりスクロールが小さい場合
119
- jQuery(this).css({"margin-top":0});
120
- }
121
-
122
- } else {
123
- // アイテムがウィンドウサイズより低い場合
124
- jQuery(this).css({ "margin-top" : scrollHeight });
125
- }
126
- }
127
-
128
- });
129
- }
130
-
131
-
132
  /*-------------------------------------------*/
133
  /* ページ内リンクで頭出しの余白を適切にする
134
  /*-------------------------------------------*/
60
  });
61
  });
62
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
63
  /*-------------------------------------------*/
64
  /* ページ内リンクで頭出しの余白を適切にする
65
  /*-------------------------------------------*/
inc/template-tags/package/template-tags-veu.php CHANGED
@@ -17,11 +17,16 @@ function veu_get_common_options() {
17
  return apply_filters( 'vkExUnit_common_options', $options );
18
  }
19
 
20
- function veu_get_common_options_default() {
 
 
 
 
 
21
  // hook veu_package_is_enable()
22
  // パッケージの情報を取得してデフォルトの配列を作成
23
  $defaults = array();
24
- $packages = veu_get_packages();
25
  foreach ( $packages as $key => $value ) {
26
  $name = $value['name'];
27
  $default_options[ 'active_' . $name ] = $value['default'];
17
  return apply_filters( 'vkExUnit_common_options', $options );
18
  }
19
 
20
+ function veu_get_common_options_default( $is_block_theme = null ) {
21
+
22
+ if ( null === $is_block_theme ) {
23
+ $is_block_theme = function_exists( 'wp_is_block_theme' ) && wp_is_block_theme();
24
+ }
25
+
26
  // hook veu_package_is_enable()
27
  // パッケージの情報を取得してデフォルトの配列を作成
28
  $defaults = array();
29
+ $packages = veu_get_packages( $is_block_theme );
30
  foreach ( $packages as $key => $value ) {
31
  $name = $value['name'];
32
  $default_options[ 'active_' . $name ] = $value['default'];
readme.txt CHANGED
@@ -81,6 +81,10 @@ e.g.
81
 
82
  == Changelog ==
83
 
 
 
 
 
84
  = 9.78.1.0 =
85
  [ Bug Fix ][ Auto Eycatch ] Fix auto eyecatch do not display
86
 
81
 
82
  == Changelog ==
83
 
84
+ = 9.79.0.0 =
85
+ [ Other ] Default setting corresponds to block theme
86
+ [ Other ] Update admin settingpage library 2.4.0
87
+
88
  = 9.78.1.0 =
89
  [ Bug Fix ][ Auto Eycatch ] Fix auto eyecatch do not display
90
 
vendor/autoload.php CHANGED
@@ -9,4 +9,4 @@ if (PHP_VERSION_ID < 50600) {
9
 
10
  require_once __DIR__ . '/composer/autoload_real.php';
11
 
12
- return ComposerAutoloaderInit70bd41b8245e524f47a67f69d896a918::getLoader();
9
 
10
  require_once __DIR__ . '/composer/autoload_real.php';
11
 
12
+ return ComposerAutoloaderInit1f0468198d07ce2fc6a9a8c6297500c2::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit70bd41b8245e524f47a67f69d896a918
6
  {
7
  private static $loader;
8
 
@@ -24,12 +24,12 @@ class ComposerAutoloaderInit70bd41b8245e524f47a67f69d896a918
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
- spl_autoload_register(array('ComposerAutoloaderInit70bd41b8245e524f47a67f69d896a918', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
29
- spl_autoload_unregister(array('ComposerAutoloaderInit70bd41b8245e524f47a67f69d896a918', 'loadClassLoader'));
30
 
31
  require __DIR__ . '/autoload_static.php';
32
- call_user_func(\Composer\Autoload\ComposerStaticInit70bd41b8245e524f47a67f69d896a918::getInitializer($loader));
33
 
34
  $loader->register(true);
35
 
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit1f0468198d07ce2fc6a9a8c6297500c2
6
  {
7
  private static $loader;
8
 
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
+ spl_autoload_register(array('ComposerAutoloaderInit1f0468198d07ce2fc6a9a8c6297500c2', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
29
+ spl_autoload_unregister(array('ComposerAutoloaderInit1f0468198d07ce2fc6a9a8c6297500c2', 'loadClassLoader'));
30
 
31
  require __DIR__ . '/autoload_static.php';
32
+ call_user_func(\Composer\Autoload\ComposerStaticInit1f0468198d07ce2fc6a9a8c6297500c2::getInitializer($loader));
33
 
34
  $loader->register(true);
35
 
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit70bd41b8245e524f47a67f69d896a918
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'V' =>
@@ -46,9 +46,9 @@ class ComposerStaticInit70bd41b8245e524f47a67f69d896a918
46
  public static function getInitializer(ClassLoader $loader)
47
  {
48
  return \Closure::bind(function () use ($loader) {
49
- $loader->prefixLengthsPsr4 = ComposerStaticInit70bd41b8245e524f47a67f69d896a918::$prefixLengthsPsr4;
50
- $loader->prefixDirsPsr4 = ComposerStaticInit70bd41b8245e524f47a67f69d896a918::$prefixDirsPsr4;
51
- $loader->classMap = ComposerStaticInit70bd41b8245e524f47a67f69d896a918::$classMap;
52
 
53
  }, null, ClassLoader::class);
54
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit1f0468198d07ce2fc6a9a8c6297500c2
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'V' =>
46
  public static function getInitializer(ClassLoader $loader)
47
  {
48
  return \Closure::bind(function () use ($loader) {
49
+ $loader->prefixLengthsPsr4 = ComposerStaticInit1f0468198d07ce2fc6a9a8c6297500c2::$prefixLengthsPsr4;
50
+ $loader->prefixDirsPsr4 = ComposerStaticInit1f0468198d07ce2fc6a9a8c6297500c2::$prefixDirsPsr4;
51
+ $loader->classMap = ComposerStaticInit1f0468198d07ce2fc6a9a8c6297500c2::$classMap;
52
 
53
  }, null, ClassLoader::class);
54
  }
vendor/composer/installed.php CHANGED
@@ -1,9 +1,9 @@
1
  <?php return array(
2
  'root' => array(
3
  'name' => 'vektor-inc/vk-all-in-one-expansion-unit',
4
- 'pretty_version' => '9.78.1.0',
5
- 'version' => '9.78.1.0',
6
- 'reference' => '149b3c0e556d1a3eb369efaca3944e20973003da',
7
  'type' => 'project',
8
  'install_path' => __DIR__ . '/../../',
9
  'aliases' => array(),
@@ -20,9 +20,9 @@
20
  'dev_requirement' => false,
21
  ),
22
  'vektor-inc/vk-all-in-one-expansion-unit' => array(
23
- 'pretty_version' => '9.78.1.0',
24
- 'version' => '9.78.1.0',
25
- 'reference' => '149b3c0e556d1a3eb369efaca3944e20973003da',
26
  'type' => 'project',
27
  'install_path' => __DIR__ . '/../../',
28
  'aliases' => array(),
1
  <?php return array(
2
  'root' => array(
3
  'name' => 'vektor-inc/vk-all-in-one-expansion-unit',
4
+ 'pretty_version' => '9.79.0.0',
5
+ 'version' => '9.79.0.0',
6
+ 'reference' => 'a0af7963268f6b508be4a9e8e457dec429922956',
7
  'type' => 'project',
8
  'install_path' => __DIR__ . '/../../',
9
  'aliases' => array(),
20
  'dev_requirement' => false,
21
  ),
22
  'vektor-inc/vk-all-in-one-expansion-unit' => array(
23
+ 'pretty_version' => '9.79.0.0',
24
+ 'version' => '9.79.0.0',
25
+ 'reference' => 'a0af7963268f6b508be4a9e8e457dec429922956',
26
  'type' => 'project',
27
  'install_path' => __DIR__ . '/../../',
28
  'aliases' => array(),
veu-packages.php CHANGED
@@ -1,6 +1,10 @@
1
  <?php
2
- function veu_get_packages() {
3
  $required_packages = array();
 
 
 
 
4
  /*
5
  Example :
6
  $required_packages[] = array(
@@ -224,7 +228,7 @@ function veu_get_packages() {
224
  'enable_only' => 1,
225
  ),
226
  ),
227
- 'default' => true,
228
  'include' => 'other-widget/other-widget.php',
229
  );
230
 
@@ -260,7 +264,7 @@ function veu_get_packages() {
260
  'enable_only' => 1,
261
  ),
262
  ),
263
- 'default' => true,
264
  'include' => 'default-thumbnail/default-thumbnail.php',
265
  );
266
 
@@ -323,7 +327,7 @@ function veu_get_packages() {
323
  'enable_only' => 1,
324
  ),
325
  ),
326
- 'default' => true,
327
  'include' => 'contact-section/contact-section.php',
328
  'use_ex_blocks' => true,
329
  );
@@ -364,7 +368,7 @@ function veu_get_packages() {
364
  'enable_only' => 1,
365
  ),
366
  ),
367
- 'default' => true,
368
  'include' => 'call-to-action/call-to-action-config.php',
369
  );
370
 
@@ -382,7 +386,7 @@ function veu_get_packages() {
382
  'enable_only' => 1,
383
  ),
384
  ),
385
- 'default' => true,
386
  'include' => 'insert-ads.php',
387
  );
388
  /*
@@ -530,7 +534,7 @@ function veu_get_packages() {
530
  'name' => 'nav_menu_class_custom',
531
  'title' => __( 'Navi menu class custom', 'vk-all-in-one-expansion-unit' ),
532
  'description' => __( 'Current class tuning of navi menu.', 'vk-all-in-one-expansion-unit' ),
533
- 'default' => true,
534
  'include' => 'nav-menu-class-custom.php',
535
  );
536
 
1
  <?php
2
+ function veu_get_packages( $is_block_theme = null ) {
3
  $required_packages = array();
4
+ if ( null === $is_block_theme ) {
5
+ $is_block_theme = function_exists( 'wp_is_block_theme' ) && wp_is_block_theme();
6
+ }
7
+
8
  /*
9
  Example :
10
  $required_packages[] = array(
228
  'enable_only' => 1,
229
  ),
230
  ),
231
+ 'default' => $is_block_theme ? false : true,
232
  'include' => 'other-widget/other-widget.php',
233
  );
234
 
264
  'enable_only' => 1,
265
  ),
266
  ),
267
+ 'default' => $is_block_theme ? false : true,
268
  'include' => 'default-thumbnail/default-thumbnail.php',
269
  );
270
 
327
  'enable_only' => 1,
328
  ),
329
  ),
330
+ 'default' => $is_block_theme ? false : true,
331
  'include' => 'contact-section/contact-section.php',
332
  'use_ex_blocks' => true,
333
  );
368
  'enable_only' => 1,
369
  ),
370
  ),
371
+ 'default' => $is_block_theme ? false : true,
372
  'include' => 'call-to-action/call-to-action-config.php',
373
  );
374
 
386
  'enable_only' => 1,
387
  ),
388
  ),
389
+ 'default' => $is_block_theme ? false : true,
390
  'include' => 'insert-ads.php',
391
  );
392
  /*
534
  'name' => 'nav_menu_class_custom',
535
  'title' => __( 'Navi menu class custom', 'vk-all-in-one-expansion-unit' ),
536
  'description' => __( 'Current class tuning of navi menu.', 'vk-all-in-one-expansion-unit' ),
537
+ 'default' => $is_block_theme ? false : true,
538
  'include' => 'nav-menu-class-custom.php',
539
  );
540
 
vkExUnit.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: VK All in One Expansion Unit
4
  * Plugin URI: https://ex-unit.nagoya
5
  * Description: This plug-in is an integrated plug-in with a variety of features that make it powerful your web site. Many features can be stopped individually. Example Facebook Page Plugin,Social Bookmarks,Print OG Tags,Print Twitter Card Tags,Print Google Analytics tag,New post widget,Insert Related Posts and more!
6
- * Version: 9.78.1.0
7
  * Requires PHP: 7.2
8
  * Author: Vektor,Inc.
9
  * Text Domain: vk-all-in-one-expansion-unit
3
  * Plugin Name: VK All in One Expansion Unit
4
  * Plugin URI: https://ex-unit.nagoya
5
  * Description: This plug-in is an integrated plug-in with a variety of features that make it powerful your web site. Many features can be stopped individually. Example Facebook Page Plugin,Social Bookmarks,Print OG Tags,Print Twitter Card Tags,Print Google Analytics tag,New post widget,Insert Related Posts and more!
6
+ * Version: 9.79.0.0
7
  * Requires PHP: 7.2
8
  * Author: Vektor,Inc.
9
  * Text Domain: vk-all-in-one-expansion-unit