Version Description
Download this release
Release Info
Developer | kurudrive |
Plugin | Lightning Advanced Unit |
Version | 3.0.3 |
Comparing to | |
See all releases |
Code changes from version 3.0.1 to 3.0.3
inc/vk-mobile-nav/_scss/_sub_item_accordion.scss
CHANGED
@@ -17,13 +17,13 @@
|
|
17 |
.acc-btn {
|
18 |
position: absolute;
|
19 |
right:8px;
|
20 |
-
top:
|
21 |
-
width:
|
22 |
-
height:
|
23 |
border:1px solid $color_font_default;
|
24 |
border-radius: 2px;
|
25 |
background:url('../images/vk-menu-acc-icon-open-white.svg') center 50% no-repeat;
|
26 |
-
background-size:
|
27 |
cursor: pointer;
|
28 |
z-index: 1000;
|
29 |
transition: transform $time_transition ease-out;
|
17 |
.acc-btn {
|
18 |
position: absolute;
|
19 |
right:8px;
|
20 |
+
top:8px;
|
21 |
+
width:28px;
|
22 |
+
height:28px;
|
23 |
border:1px solid $color_font_default;
|
24 |
border-radius: 2px;
|
25 |
background:url('../images/vk-menu-acc-icon-open-white.svg') center 50% no-repeat;
|
26 |
+
background-size: 28px 28px;
|
27 |
cursor: pointer;
|
28 |
z-index: 1000;
|
29 |
transition: transform $time_transition ease-out;
|
inc/vk-mobile-nav/class-vk-mobile-nav.php
CHANGED
@@ -81,10 +81,12 @@ if ( ! class_exists( 'Vk_Mobile_Nav' ) ) {
|
|
81 |
if ( is_active_sidebar( 'vk-mobile-nav-upper' ) ) {
|
82 |
dynamic_sidebar( 'vk-mobile-nav-upper' );
|
83 |
} else {
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
|
|
|
|
88 |
}
|
89 |
|
90 |
$menu = wp_nav_menu(
|
@@ -111,10 +113,12 @@ if ( ! class_exists( 'Vk_Mobile_Nav' ) ) {
|
|
111 |
if ( is_active_sidebar( 'vk-mobile-nav-bottom' ) ) {
|
112 |
dynamic_sidebar( 'vk-mobile-nav-bottom' );
|
113 |
} else {
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
|
|
|
|
118 |
}
|
119 |
|
120 |
echo '</div>';
|
81 |
if ( is_active_sidebar( 'vk-mobile-nav-upper' ) ) {
|
82 |
dynamic_sidebar( 'vk-mobile-nav-upper' );
|
83 |
} else {
|
84 |
+
if ( current_user_can( 'edit_theme_options' ) ) {
|
85 |
+
echo '<div class="veu_adminEdit alert alert-info">';
|
86 |
+
echo '<p>' . sprintf( __( 'This is the widget area.<br>You can set widget item from [ <a href="%s">Appearance > Customize</a> ] Page -> "Widgets" panel -> "Mobile Nav Upper" Panel.', $vk_mobile_nav_textdomain ), admin_url( 'customize.php' ) ) . '</p>';
|
87 |
+
echo '<p>' . __( '* This message is displayed only to users with editing authority.', $vk_mobile_nav_textdomain ) . '</p>';
|
88 |
+
echo '</div>';
|
89 |
+
}
|
90 |
}
|
91 |
|
92 |
$menu = wp_nav_menu(
|
113 |
if ( is_active_sidebar( 'vk-mobile-nav-bottom' ) ) {
|
114 |
dynamic_sidebar( 'vk-mobile-nav-bottom' );
|
115 |
} else {
|
116 |
+
if ( current_user_can( 'edit_theme_options' ) ) {
|
117 |
+
echo '<div class="veu_adminEdit alert alert-info">';
|
118 |
+
echo '<p>' . sprintf( __( 'This is the widget area.<br>You can set widget item from [ <a href="%s">Appearance > Customize</a> ] Page -> "Widgets" panel -> "Mobile Nav Bottom" Panel.', $vk_mobile_nav_textdomain ), admin_url( 'customize.php' ) ) . '</p>';
|
119 |
+
echo '<p>' . __( '* This message is displayed only to users with editing authority.', $vk_mobile_nav_textdomain ) . '</p>';
|
120 |
+
echo '</div>';
|
121 |
+
}
|
122 |
}
|
123 |
|
124 |
echo '</div>';
|
inc/vk-mobile-nav/css/vk-mobile-nav-bright.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
body.admin-bar .vk-mobile-nav-menu-btn{top:calc(32px + 10px)}body.admin-bar .vk-mobile-nav.vk-mobile-nav-open{top:32px}body.device-mobile .vk-mobile-nav-menu-btn{display:block}.vk-mobile-nav-menu-btn{position:fixed;top:10px;left:10px;z-index:2100;overflow:hidden;border:1px solid #333;border-radius:2px;width:34px;height:34px;cursor:pointer;text-indent:-9999px;background:url(../images/vk-menu-btn-black.svg) center 50% no-repeat;background-size:24px 24px;-webkit-transition:border-color .5s ease-out;transition:border-color .5s ease-out}.vk-mobile-nav-menu-btn.menu-open{border:1px solid rgba(255,255,255,.8);background:url(../images/vk-menu-close-black.svg) center 50% no-repeat}.vk-mobile-nav.vk-mobile-nav-open{top:0}.vk-mobile-nav{position:fixed;top:-2000px;z-index:2000;width:100%;height:100%;display:block;padding:60px 10px;overflow:scroll;-webkit-transition:top .5s ease-out;transition:top .5s ease-out;-webkit-box-shadow:1px 1px 4px rgba(0,0,0,.1);box-shadow:1px 1px 4px rgba(0,0,0,.1)}.vk-mobile-nav .global-nav{margin-bottom:1.5em}.vk-mobile-nav nav ul{padding:0;margin:0}.vk-mobile-nav nav ul li{list-style:none}.vk-mobile-nav nav ul li a{padding:.7em .5em;display:block;overflow:hidden}.vk-mobile-nav nav ul li a:hover{text-decoration:none}.vk-mobile-nav nav ul li li a{padding-left:1.5em}.vk-mobile-nav nav ul li li li a{padding-left:2.5em}.vk-mobile-nav nav ul li li li li a{padding-left:3.5em}.vk-mobile-nav-widget{margin-bottom:1.5em}.vk-mobile-nav .customize-partial-edit-shortcut button,.vk-mobile-nav .widget .customize-partial-edit-shortcut button{left:0;top:-30px}.vk-menu-acc{position:relative}.vk-menu-acc .menu-parent>li{position:relative;z-index:100}.vk-menu-acc .menu-parent>li a{display:inline-block}.vk-menu-acc li{position:relative}.vk-menu-acc .acc-btn{position:absolute;right:8px;top:
|
1 |
+
body.admin-bar .vk-mobile-nav-menu-btn{top:calc(32px + 10px)}body.admin-bar .vk-mobile-nav.vk-mobile-nav-open{top:32px}body.device-mobile .vk-mobile-nav-menu-btn{display:block}.vk-mobile-nav-menu-btn{position:fixed;top:10px;left:10px;z-index:2100;overflow:hidden;border:1px solid #333;border-radius:2px;width:34px;height:34px;cursor:pointer;text-indent:-9999px;background:url(../images/vk-menu-btn-black.svg) center 50% no-repeat;background-size:24px 24px;-webkit-transition:border-color .5s ease-out;transition:border-color .5s ease-out}.vk-mobile-nav-menu-btn.menu-open{border:1px solid rgba(255,255,255,.8);background:url(../images/vk-menu-close-black.svg) center 50% no-repeat}.vk-mobile-nav.vk-mobile-nav-open{top:0}.vk-mobile-nav{position:fixed;top:-2000px;z-index:2000;width:100%;height:100%;display:block;padding:60px 10px;overflow:scroll;-webkit-transition:top .5s ease-out;transition:top .5s ease-out;-webkit-box-shadow:1px 1px 4px rgba(0,0,0,.1);box-shadow:1px 1px 4px rgba(0,0,0,.1)}.vk-mobile-nav .global-nav{margin-bottom:1.5em}.vk-mobile-nav nav ul{padding:0;margin:0}.vk-mobile-nav nav ul li{list-style:none}.vk-mobile-nav nav ul li a{padding:.7em .5em;display:block;overflow:hidden}.vk-mobile-nav nav ul li a:hover{text-decoration:none}.vk-mobile-nav nav ul li li a{padding-left:1.5em}.vk-mobile-nav nav ul li li li a{padding-left:2.5em}.vk-mobile-nav nav ul li li li li a{padding-left:3.5em}.vk-mobile-nav-widget{margin-bottom:1.5em}.vk-mobile-nav .customize-partial-edit-shortcut button,.vk-mobile-nav .widget .customize-partial-edit-shortcut button{left:0;top:-30px}.vk-menu-acc{position:relative}.vk-menu-acc .menu-parent>li{position:relative;z-index:100}.vk-menu-acc .menu-parent>li a{display:inline-block}.vk-menu-acc li{position:relative}.vk-menu-acc .acc-btn{position:absolute;right:8px;top:8px;width:28px;height:28px;border:1px solid rgba(255,255,255,.8);border-radius:2px;background:url(../images/vk-menu-acc-icon-open-white.svg) center 50% no-repeat;background-size:28px 28px;cursor:pointer;z-index:1000;-webkit-transition:-webkit-transform .5s ease-out;transition:-webkit-transform .5s ease-out;transition:transform .5s ease-out;transition:transform .5s ease-out,-webkit-transform .5s ease-out}.vk-menu-acc .acc-btn:before{position:relative;top:-5px;left:4px;font-size:16px}.vk-menu-acc .acc-btn-close{background:url(../images/vk-menu-btn-close.svg) center 50% no-repeat}.vk-menu-acc ul.sub-menu{max-height:0;overflow:hidden;-webkit-transition:max-height .5s ease-in;transition:max-height .5s ease-in;position:relative;z-index:1;display:block}.vk-menu-acc ul.sub-menu li a{display:block;overflow:hidden}.vk-menu-acc ul.acc-child-open{-webkit-transition:max-height .5s ease-in;transition:max-height .5s ease-in;max-height:500px}.vk-menu-acc ul.acc-child-close{-webkit-transition:max-height .5s ease-out;transition:max-height .5s ease-out;max-height:0}.vk-mobile-nav-menu-btn{background-color:rgba(255,255,255,.8);-webkit-box-shadow:1px 1px 4px rgba(0,0,0,.1);box-shadow:1px 1px 4px rgba(0,0,0,.1)}.vk-mobile-nav-menu-btn.menu-open{border-color:#333;background:url(../images/vk-menu-close-black.svg) center 50% no-repeat}.vk-mobile-nav{background-color:#fff;border-bottom:1px solid #e5e5e5}.vk-mobile-nav .widget_nav_menu ul.menu{border-top:1px solid #ccc}.vk-mobile-nav nav>ul{border-top:1px solid #ccc}.vk-mobile-nav .widget_nav_menu ul li a,.vk-mobile-nav nav ul li a{color:#333;border-bottom:1px solid #ccc}.vk-menu-acc .acc-btn{border:1px solid #333;background:url(../images/vk-menu-acc-icon-open-black.svg) center 50% no-repeat}.vk-menu-acc .acc-btn-close{background:url(../images/vk-menu-close-black.svg) center 50% no-repeat}@media (min-width:992px){body.device-pc .vk-mobile-nav-menu-btn{display:none}body.device-pc .vk-mobile-nav{display:none}}@media screen and (max-width:782px){body.admin-bar .vk-mobile-nav-menu-btn{top:calc(46px + 10px)}body.admin-bar .vk-mobile-nav.vk-mobile-nav-open{top:46px}}
|
inc/vk-mobile-nav/css/vk-mobile-nav-dark.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
body.admin-bar .vk-mobile-nav-menu-btn{top:calc(32px + 10px)}body.admin-bar .vk-mobile-nav.vk-mobile-nav-open{top:32px}body.device-mobile .vk-mobile-nav-menu-btn{display:block}.vk-mobile-nav-menu-btn{position:fixed;top:10px;left:10px;z-index:2100;overflow:hidden;border:1px solid #333;border-radius:2px;width:34px;height:34px;cursor:pointer;text-indent:-9999px;background:url(../images/vk-menu-btn-black.svg) center 50% no-repeat;background-size:24px 24px;-webkit-transition:border-color .5s ease-out;transition:border-color .5s ease-out}.vk-mobile-nav-menu-btn.menu-open{border:1px solid rgba(255,255,255,.8);background:url(../images/vk-menu-close-black.svg) center 50% no-repeat}.vk-mobile-nav.vk-mobile-nav-open{top:0}.vk-mobile-nav{position:fixed;top:-2000px;z-index:2000;width:100%;height:100%;display:block;padding:60px 10px;overflow:scroll;-webkit-transition:top .5s ease-out;transition:top .5s ease-out;-webkit-box-shadow:1px 1px 4px rgba(0,0,0,.1);box-shadow:1px 1px 4px rgba(0,0,0,.1)}.vk-mobile-nav .global-nav{margin-bottom:1.5em}.vk-mobile-nav nav ul{padding:0;margin:0}.vk-mobile-nav nav ul li{list-style:none}.vk-mobile-nav nav ul li a{padding:.7em .5em;display:block;overflow:hidden}.vk-mobile-nav nav ul li a:hover{text-decoration:none}.vk-mobile-nav nav ul li li a{padding-left:1.5em}.vk-mobile-nav nav ul li li li a{padding-left:2.5em}.vk-mobile-nav nav ul li li li li a{padding-left:3.5em}.vk-mobile-nav-widget{margin-bottom:1.5em}.vk-mobile-nav .customize-partial-edit-shortcut button,.vk-mobile-nav .widget .customize-partial-edit-shortcut button{left:0;top:-30px}.vk-menu-acc{position:relative}.vk-menu-acc .menu-parent>li{position:relative;z-index:100}.vk-menu-acc .menu-parent>li a{display:inline-block}.vk-menu-acc li{position:relative}.vk-menu-acc .acc-btn{position:absolute;right:8px;top:
|
1 |
+
body.admin-bar .vk-mobile-nav-menu-btn{top:calc(32px + 10px)}body.admin-bar .vk-mobile-nav.vk-mobile-nav-open{top:32px}body.device-mobile .vk-mobile-nav-menu-btn{display:block}.vk-mobile-nav-menu-btn{position:fixed;top:10px;left:10px;z-index:2100;overflow:hidden;border:1px solid #333;border-radius:2px;width:34px;height:34px;cursor:pointer;text-indent:-9999px;background:url(../images/vk-menu-btn-black.svg) center 50% no-repeat;background-size:24px 24px;-webkit-transition:border-color .5s ease-out;transition:border-color .5s ease-out}.vk-mobile-nav-menu-btn.menu-open{border:1px solid rgba(255,255,255,.8);background:url(../images/vk-menu-close-black.svg) center 50% no-repeat}.vk-mobile-nav.vk-mobile-nav-open{top:0}.vk-mobile-nav{position:fixed;top:-2000px;z-index:2000;width:100%;height:100%;display:block;padding:60px 10px;overflow:scroll;-webkit-transition:top .5s ease-out;transition:top .5s ease-out;-webkit-box-shadow:1px 1px 4px rgba(0,0,0,.1);box-shadow:1px 1px 4px rgba(0,0,0,.1)}.vk-mobile-nav .global-nav{margin-bottom:1.5em}.vk-mobile-nav nav ul{padding:0;margin:0}.vk-mobile-nav nav ul li{list-style:none}.vk-mobile-nav nav ul li a{padding:.7em .5em;display:block;overflow:hidden}.vk-mobile-nav nav ul li a:hover{text-decoration:none}.vk-mobile-nav nav ul li li a{padding-left:1.5em}.vk-mobile-nav nav ul li li li a{padding-left:2.5em}.vk-mobile-nav nav ul li li li li a{padding-left:3.5em}.vk-mobile-nav-widget{margin-bottom:1.5em}.vk-mobile-nav .customize-partial-edit-shortcut button,.vk-mobile-nav .widget .customize-partial-edit-shortcut button{left:0;top:-30px}.vk-menu-acc{position:relative}.vk-menu-acc .menu-parent>li{position:relative;z-index:100}.vk-menu-acc .menu-parent>li a{display:inline-block}.vk-menu-acc li{position:relative}.vk-menu-acc .acc-btn{position:absolute;right:8px;top:8px;width:28px;height:28px;border:1px solid rgba(255,255,255,.8);border-radius:2px;background:url(../images/vk-menu-acc-icon-open-white.svg) center 50% no-repeat;background-size:28px 28px;cursor:pointer;z-index:1000;-webkit-transition:-webkit-transform .5s ease-out;transition:-webkit-transform .5s ease-out;transition:transform .5s ease-out;transition:transform .5s ease-out,-webkit-transform .5s ease-out}.vk-menu-acc .acc-btn:before{position:relative;top:-5px;left:4px;font-size:16px}.vk-menu-acc .acc-btn-close{background:url(../images/vk-menu-btn-close.svg) center 50% no-repeat}.vk-menu-acc ul.sub-menu{max-height:0;overflow:hidden;-webkit-transition:max-height .5s ease-in;transition:max-height .5s ease-in;position:relative;z-index:1;display:block}.vk-menu-acc ul.sub-menu li a{display:block;overflow:hidden}.vk-menu-acc ul.acc-child-open{-webkit-transition:max-height .5s ease-in;transition:max-height .5s ease-in;max-height:500px}.vk-menu-acc ul.acc-child-close{-webkit-transition:max-height .5s ease-out;transition:max-height .5s ease-out;max-height:0}.vk-mobile-nav-menu-btn.menu-open{border-color:rgba(255,255,255,.8);background:url(../images/vk-menu-close-white.svg) center 50% no-repeat}.vk-mobile-nav{background-color:#333;border-bottom:666}.vk-mobile-nav .widget_nav_menu ul.menu{border-top:1px solid #666}.vk-mobile-nav nav>ul{border-top:1px solid #666}.vk-mobile-nav .widget_nav_menu ul li a,.vk-mobile-nav nav ul li a{color:rgba(255,255,255,.8);border-bottom:1px solid #666}.vk-menu-acc .acc-btn{border:1px solid rgba(255,255,255,.8);background:url(../images/vk-menu-acc-icon-open-white.svg) center 50% no-repeat}.vk-menu-acc .acc-btn-close{background:url(../images/vk-menu-close-white.svg) center 50% no-repeat}@media (min-width:992px){body.device-pc .vk-mobile-nav-menu-btn{display:none}body.device-pc .vk-mobile-nav{display:none}}@media screen and (max-width:782px){body.admin-bar .vk-mobile-nav-menu-btn{top:calc(46px + 10px)}body.admin-bar .vk-mobile-nav.vk-mobile-nav-open{top:46px}}
|
lightning_advanced_unit.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* Plugin Name: Lightning Advanced Unit
|
4 |
* Plugin URI: http://lightning.vektor-inc.co.jp/
|
5 |
-
* Version: 3.0.
|
6 |
* Author: Vektor,Inc.
|
7 |
* Author URI: https://www.vektor-inc.co.jp
|
8 |
* Description: This is a plug-ins that extend the functionality of the theme "Lightning".
|
2 |
/**
|
3 |
* Plugin Name: Lightning Advanced Unit
|
4 |
* Plugin URI: http://lightning.vektor-inc.co.jp/
|
5 |
+
* Version: 3.0.3
|
6 |
* Author: Vektor,Inc.
|
7 |
* Author URI: https://www.vektor-inc.co.jp
|
8 |
* Description: This is a plug-ins that extend the functionality of the theme "Lightning".
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link:
|
|
4 |
Tags: Lightning,
|
5 |
Requires at least: 4.5
|
6 |
Tested up to: 4.9.1
|
7 |
-
Stable tag: 3.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
4 |
Tags: Lightning,
|
5 |
Requires at least: 4.5
|
6 |
Tested up to: 4.9.1
|
7 |
+
Stable tag: 3.0.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|