Version Description
Download this release
Release Info
Developer | kurudrive |
Plugin | Lightning Advanced Unit |
Version | 2.0.0 |
Comparing to | |
See all releases |
Code changes from version 1.3.6 to 2.0.0
_scss/lightning_adv_style.scss
CHANGED
@@ -1,4 +1,2 @@
|
|
1 |
@charset "utf-8";
|
2 |
-
@import "compass";
|
3 |
-
|
4 |
-
body { color:red !important ; }
|
1 |
@charset "utf-8";
|
2 |
+
@import "compass";
|
|
|
|
inc/navigation/_scss/navigation.scss
CHANGED
@@ -14,7 +14,7 @@ body { overflow-x:hidden; }
|
|
14 |
/*-------------------------------------------*/
|
15 |
.navSection .searchform { display: none; }
|
16 |
|
17 |
-
@media (max-width:
|
18 |
.menuBtn { position: fixed;top:inherit; }
|
19 |
.navSection { overflow:scroll; display: none;position: fixed;height:100%;
|
20 |
.searchform { margin:10px;overflow:hidden;padding: 0 3em 0;
|
14 |
/*-------------------------------------------*/
|
15 |
.navSection .searchform { display: none; }
|
16 |
|
17 |
+
@media (max-width: 991px){
|
18 |
.menuBtn { position: fixed;top:inherit; }
|
19 |
.navSection { overflow:scroll; display: none;position: fixed;height:100%;
|
20 |
.searchform { margin:10px;overflow:hidden;padding: 0 3em 0;
|
inc/navigation/css/navigation.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
body{overflow-x:hidden}#bodyInner{display:block;overflow:hidden}#wrap{z-index:auto}.navSection .searchform{display:none}@media (max-width:
|
1 |
+
body{overflow-x:hidden}#bodyInner{display:block;overflow:hidden}#wrap{z-index:auto}.navSection .searchform{display:none}@media (max-width: 991px){.menuBtn{position:fixed;top:inherit}.navSection{overflow:scroll;display:none;position:fixed;height:100%}.navSection .searchform{margin:10px;overflow:hidden;padding:0 3em 0}.navSection.navSection_open_left .searchform,.navSection.navSection_open_right .searchform{display:block}.navSection_open_left{border-right:1px solid #e5e5e5}.navSection_open_right{border-left:1px solid #e5e5e5}}
|
inc/navigation/js/navigation.js
CHANGED
@@ -114,7 +114,7 @@ function run_menuResize(){
|
|
114 |
// menuClose_common();
|
115 |
var headerHeight = jQuery('header.siteHeader').height;
|
116 |
jQuery('#top__fullcarousel').css({"margin-top":headerHeight});
|
117 |
-
if ( wrap_width >
|
118 |
slide_menu_close();
|
119 |
}
|
120 |
}
|
114 |
// menuClose_common();
|
115 |
var headerHeight = jQuery('header.siteHeader').height;
|
116 |
jQuery('#top__fullcarousel').css({"margin-top":headerHeight});
|
117 |
+
if ( wrap_width > 991 ) {
|
118 |
slide_menu_close();
|
119 |
}
|
120 |
}
|
inc/navigation/js/navigation.min.js
CHANGED
@@ -5,4 +5,4 @@ function slide_menu_open(menuPosition){var navSection_open_position='navSection_
|
|
5 |
function slide_menu_close(menuPosition){if(!menuPosition){if(jQuery('#navSection').hasClass('navSection_open_right')){menuPosition='right';}else{menuPosition='left';}}
|
6 |
var wrap_width=jQuery('body').width();jQuery('#bodyInner').css({"width":wrap_width});jQuery('#wrap').css({"width":wrap_width});var menu_width=wrap_width-60+'px';jQuery('#wrap').stop().animate({"margin-left":"0"},200);jQuery('header.siteHeader').stop().animate({"left":"0"},200);if(menuPosition=='right'){jQuery('header.siteHeader').stop().animate({"left":"0"},200);jQuery('#navSection').stop().animate({"right":"-"+menu_width},200,function(){menuClose_common();});}else if(menuPosition=='left'){jQuery('#navSection').stop().animate({"left":"-"+menu_width},200,function(){menuClose_common();});}}
|
7 |
function menuClose_common(){jQuery('#navSection').removeClass('navSection_open_right');jQuery('#navSection').removeClass('navSection_open_left');jQuery('#headerTop').prependTo('header.siteHeader');jQuery('#gMenu_outer').insertAfter('.navbar-header');jQuery('#navSection').css({"right":"","left":""});jQuery('#bodyInner').css({"width":""});jQuery('#wrap').css({"width":""});jQuery('#navSection').css({"display":""});}
|
8 |
-
function run_menuResize(){var wrap_width=jQuery('body').width();jQuery('#bodyInner').css({"width":wrap_width});var headerHeight=jQuery('header.siteHeader').height;jQuery('#top__fullcarousel').css({"margin-top":headerHeight});if(wrap_width>
|
5 |
function slide_menu_close(menuPosition){if(!menuPosition){if(jQuery('#navSection').hasClass('navSection_open_right')){menuPosition='right';}else{menuPosition='left';}}
|
6 |
var wrap_width=jQuery('body').width();jQuery('#bodyInner').css({"width":wrap_width});jQuery('#wrap').css({"width":wrap_width});var menu_width=wrap_width-60+'px';jQuery('#wrap').stop().animate({"margin-left":"0"},200);jQuery('header.siteHeader').stop().animate({"left":"0"},200);if(menuPosition=='right'){jQuery('header.siteHeader').stop().animate({"left":"0"},200);jQuery('#navSection').stop().animate({"right":"-"+menu_width},200,function(){menuClose_common();});}else if(menuPosition=='left'){jQuery('#navSection').stop().animate({"left":"-"+menu_width},200,function(){menuClose_common();});}}
|
7 |
function menuClose_common(){jQuery('#navSection').removeClass('navSection_open_right');jQuery('#navSection').removeClass('navSection_open_left');jQuery('#headerTop').prependTo('header.siteHeader');jQuery('#gMenu_outer').insertAfter('.navbar-header');jQuery('#navSection').css({"right":"","left":""});jQuery('#bodyInner').css({"width":""});jQuery('#wrap').css({"width":""});jQuery('#navSection').css({"display":""});}
|
8 |
+
function run_menuResize(){var wrap_width=jQuery('body').width();jQuery('#bodyInner').css({"width":wrap_width});var headerHeight=jQuery('header.siteHeader').height;jQuery('#top__fullcarousel').css({"margin-top":headerHeight});if(wrap_width>991){slide_menu_close();}}
|
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:
|
6 |
* Author: Vektor,Inc.
|
7 |
* Author URI: http://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: 2.0.0
|
6 |
* Author: Vektor,Inc.
|
7 |
* Author URI: http://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.2
|
6 |
Tested up to: 4.6.0
|
7 |
-
Stable tag:
|
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.2
|
6 |
Tested up to: 4.6.0
|
7 |
+
Stable tag: 2.0.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|