Version Description
- Feature: Disable Submenu setting
- Feature: Added 'shiftnav_op' filter
- Enhancement: Add auto-gap even if no breakpoint is set
- [Pro] Enhancement: Display connection errors if trouble communicating with update server
- Update: Add $depth parameter to nav_menu_link_attributes filter
- Update: Add $depth parameter to nav_menu_css_class filter
Download this release
Release Info
Developer | sevenspark |
Plugin | ShiftNav – Responsive Mobile Menu |
Version | 1.6.3 |
Comparing to | |
See all releases |
Code changes from version 1.6.2 to 1.6.3
- Gruntfile.js +10 -0
- admin/assets/admin.menu.css +37 -11
- admin/settings.config.php +15 -6
- admin/settings.menu.php +24 -15
- assets/css/less/base.less +11 -3
- assets/css/shiftnav.css +6 -0
- assets/css/shiftnav.min.css +1 -1
- assets/js/shiftnav.js +10 -4
- assets/js/shiftnav.min.js +5 -5
- customizer/customizer.controls.php +7 -1
- includes/ShiftNavWalker.class.php +6 -2
- includes/functions.php +1 -1
- languages/shiftnav.pot +27 -19
- readme.txt +12 -2
- shiftnav-responsive-mobile-menu.php +3 -3
Gruntfile.js
CHANGED
@@ -84,6 +84,16 @@ module.exports = function(grunt) {
|
|
84 |
{
|
85 |
"pro/assets/css/shiftnav.css": "pro/assets/css/shiftnav.less"
|
86 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
]
|
88 |
}
|
89 |
},
|
84 |
{
|
85 |
"pro/assets/css/shiftnav.css": "pro/assets/css/shiftnav.less"
|
86 |
},
|
87 |
+
//copy pro to light
|
88 |
+
{
|
89 |
+
expand: true,
|
90 |
+
cwd: 'pro/assets/css/skins/',
|
91 |
+
src: ['light.less'],
|
92 |
+
dest: 'assets/css/skins',
|
93 |
+
ext: '.css'
|
94 |
+
// target.css file: source.less file
|
95 |
+
//"pro/assets/css/skins/blackwhite2.css": "pro/assets/css/skins/blackwhite2.less"
|
96 |
+
},
|
97 |
]
|
98 |
}
|
99 |
},
|
admin/assets/admin.menu.css
CHANGED
@@ -84,7 +84,7 @@ body.shiftnav-settings-panel-is-open #wpwrap{
|
|
84 |
transition:all .5s ease;
|
85 |
|
86 |
box-shadow:0 0 10px #111;
|
87 |
-
|
88 |
}
|
89 |
.shiftnav-menu-item-settings-open{
|
90 |
width:100%;
|
@@ -100,7 +100,7 @@ body.shiftnav-settings-panel-is-open #wpwrap{
|
|
100 |
.shiftnav-menu-item-settings-topper{
|
101 |
padding:15px 20px;
|
102 |
font-size:12px;
|
103 |
-
|
104 |
}
|
105 |
.shiftnav-up-link{
|
106 |
color:#fff;
|
@@ -126,7 +126,7 @@ body.shiftnav-settings-panel-is-open #wpwrap{
|
|
126 |
.shiftnav-menu-item-panel-info{
|
127 |
width:240px;
|
128 |
min-height:200px;
|
129 |
-
|
130 |
color:#eee;
|
131 |
float:left;
|
132 |
}
|
@@ -177,7 +177,7 @@ body.shiftnav-settings-panel-is-open #wpwrap{
|
|
177 |
.shiftnav-menu-item-tab{
|
178 |
display:block;
|
179 |
margin:0;
|
180 |
-
|
181 |
}
|
182 |
.shiftnav-menu-item-tab a{
|
183 |
position: relative;
|
@@ -251,13 +251,13 @@ body.shiftnav-settings-panel-is-open #wpwrap{
|
|
251 |
-webkit-transform: translateZ(0);
|
252 |
transform: translateZ(0);
|
253 |
*/
|
254 |
-
|
255 |
right:0px;
|
256 |
vertical-align:top;
|
257 |
-
|
258 |
position:absolute;
|
259 |
top:0px;
|
260 |
-
margin-top:0;
|
261 |
}
|
262 |
.shiftnav-menu-item-status{
|
263 |
float:right;
|
@@ -440,7 +440,7 @@ body.shiftnav-settings-panel-is-open #wpwrap{
|
|
440 |
background:#ccc;
|
441 |
}
|
442 |
.shiftnav-icon-wrap.shiftnav-remove-icon{
|
443 |
-
width:auto;
|
444 |
float:right;
|
445 |
}
|
446 |
|
@@ -521,7 +521,7 @@ body.shiftnav-settings-panel-is-open #wpwrap{
|
|
521 |
.shiftnav-js-check-peek{
|
522 |
background:#35AC6A;
|
523 |
color:#fff;
|
524 |
-
|
525 |
font-weight:bold;
|
526 |
padding:20px;
|
527 |
float:right;
|
@@ -537,7 +537,7 @@ body.shiftnav-settings-panel-is-open #wpwrap{
|
|
537 |
|
538 |
width:500px;
|
539 |
max-width:100%;
|
540 |
-
|
541 |
transition:height .2s ease;
|
542 |
}
|
543 |
.shiftnav-js-check-details p{
|
@@ -554,4 +554,30 @@ body.shiftnav-settings-panel-is-open #wpwrap{
|
|
554 |
}
|
555 |
.shiftnav-upgrade-link:hover{
|
556 |
color:#35AC6A;
|
557 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
84 |
transition:all .5s ease;
|
85 |
|
86 |
box-shadow:0 0 10px #111;
|
87 |
+
|
88 |
}
|
89 |
.shiftnav-menu-item-settings-open{
|
90 |
width:100%;
|
100 |
.shiftnav-menu-item-settings-topper{
|
101 |
padding:15px 20px;
|
102 |
font-size:12px;
|
103 |
+
|
104 |
}
|
105 |
.shiftnav-up-link{
|
106 |
color:#fff;
|
126 |
.shiftnav-menu-item-panel-info{
|
127 |
width:240px;
|
128 |
min-height:200px;
|
129 |
+
|
130 |
color:#eee;
|
131 |
float:left;
|
132 |
}
|
177 |
.shiftnav-menu-item-tab{
|
178 |
display:block;
|
179 |
margin:0;
|
180 |
+
|
181 |
}
|
182 |
.shiftnav-menu-item-tab a{
|
183 |
position: relative;
|
251 |
-webkit-transform: translateZ(0);
|
252 |
transform: translateZ(0);
|
253 |
*/
|
254 |
+
|
255 |
right:0px;
|
256 |
vertical-align:top;
|
257 |
+
|
258 |
position:absolute;
|
259 |
top:0px;
|
260 |
+
margin-top:0;
|
261 |
}
|
262 |
.shiftnav-menu-item-status{
|
263 |
float:right;
|
440 |
background:#ccc;
|
441 |
}
|
442 |
.shiftnav-icon-wrap.shiftnav-remove-icon{
|
443 |
+
width:auto;
|
444 |
float:right;
|
445 |
}
|
446 |
|
521 |
.shiftnav-js-check-peek{
|
522 |
background:#35AC6A;
|
523 |
color:#fff;
|
524 |
+
|
525 |
font-weight:bold;
|
526 |
padding:20px;
|
527 |
float:right;
|
537 |
|
538 |
width:500px;
|
539 |
max-width:100%;
|
540 |
+
|
541 |
transition:height .2s ease;
|
542 |
}
|
543 |
.shiftnav-js-check-details p{
|
554 |
}
|
555 |
.shiftnav-upgrade-link:hover{
|
556 |
color:#35AC6A;
|
557 |
+
}
|
558 |
+
|
559 |
+
|
560 |
+
/* Ensure Font Awesome 4 is used even if UberMenu is installed */
|
561 |
+
.shiftnav-menu-item-settings-wrapper .shiftnav-menu-item-panel .fa{
|
562 |
+
font-family:FontAwesome;
|
563 |
+
font-weight:normal;
|
564 |
+
}
|
565 |
+
/* Glyphs that changed in FA5 */
|
566 |
+
.shiftnav-menu-item-settings-wrapper .shiftnav-menu-item-panel .fa.fa-clipboard:before{
|
567 |
+
content:"\f0ea";
|
568 |
+
}
|
569 |
+
.shiftnav-menu-item-settings-wrapper .shiftnav-menu-item-panel .fa.fa-reply:before {
|
570 |
+
content: "\f112";
|
571 |
+
}
|
572 |
+
.shiftnav-menu-item-settings-wrapper .shiftnav-menu-item-panel .fa.fa-youtube-square:before {
|
573 |
+
content: "\f166";
|
574 |
+
}
|
575 |
+
.shiftnav-menu-item-settings-wrapper .shiftnav-menu-item-panel .fa.fa-vimeo:before {
|
576 |
+
content: "\f27d";
|
577 |
+
}
|
578 |
+
.shiftnav-menu-item-settings-wrapper .shiftnav-menu-item-panel .fa.fa-thermometer:before{
|
579 |
+
content: "\f2c7";
|
580 |
+
}
|
581 |
+
.shiftnav-menu-item-settings-wrapper .shiftnav-menu-item-panel .fa.fa-window-close:before {
|
582 |
+
content: "\f2d3";
|
583 |
+
}
|
admin/settings.config.php
CHANGED
@@ -896,17 +896,26 @@ function shiftnav_op( $option, $section, $default = null ) {
|
|
896 |
|
897 |
$options = get_option( SHIFTNAV_PREFIX.$section );
|
898 |
|
|
|
|
|
|
|
|
|
899 |
if ( isset( $options[$option] ) ) {
|
900 |
-
|
901 |
}
|
902 |
-
|
903 |
-
if( $default
|
904 |
-
|
905 |
-
$
|
|
|
|
|
|
|
|
|
906 |
}
|
907 |
|
908 |
-
return $default;
|
909 |
}
|
|
|
910 |
function shiftnav_get_instance_options( $instance ){
|
911 |
//echo SHIFTNAV_PREFIX.$instance;
|
912 |
$defaults = _SHIFTNAV()->get_defaults( SHIFTNAV_PREFIX.$instance );
|
896 |
|
897 |
$options = get_option( SHIFTNAV_PREFIX.$section );
|
898 |
|
899 |
+
$value = '';
|
900 |
+
$defaulted = false;
|
901 |
+
|
902 |
+
//Option is set, use user-saved value
|
903 |
if ( isset( $options[$option] ) ) {
|
904 |
+
$value = $options[$option];
|
905 |
}
|
906 |
+
//Option is not set, no default value passed to function
|
907 |
+
else if( $default === null ){
|
908 |
+
$value = $default = _SHIFTNAV()->get_default( $option, SHIFTNAV_PREFIX.$section );
|
909 |
+
$defaulted = true;
|
910 |
+
}
|
911 |
+
//Option is not set, default value passed to function
|
912 |
+
else{
|
913 |
+
$value = $default;
|
914 |
}
|
915 |
|
916 |
+
return apply_filters( 'shiftnav_op' , $value , $option , $section , $default , $defaulted );
|
917 |
}
|
918 |
+
|
919 |
function shiftnav_get_instance_options( $instance ){
|
920 |
//echo SHIFTNAV_PREFIX.$instance;
|
921 |
$defaults = _SHIFTNAV()->get_defaults( SHIFTNAV_PREFIX.$instance );
|
admin/settings.menu.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
|
3 |
add_action( 'admin_print_styles-nav-menus.php' , 'shiftnav_admin_menu_load_assets' );
|
4 |
-
|
5 |
function shiftnav_admin_menu_load_assets() {
|
6 |
$assets = SHIFTNAV_URL . 'admin/assets/';
|
7 |
wp_enqueue_style( 'shiftnav-menu-admin', $assets.'admin.menu.css' );
|
@@ -13,7 +13,7 @@ function shiftnav_admin_menu_load_assets() {
|
|
13 |
|
14 |
wp_localize_script( 'shiftnav-menu-admin' , 'shiftnav_menu_item_data' , $shiftnav_menu_data );
|
15 |
|
16 |
-
wp_localize_script( 'shiftnav-menu-admin' , 'shiftnav_meta' , array(
|
17 |
'ajax_url' => admin_url( 'admin-ajax.php' ),
|
18 |
'nonce' => shiftnav_menu_item_settings_nonce(),
|
19 |
) );
|
@@ -29,7 +29,7 @@ function shiftnav_menu_item_settings_panel(){
|
|
29 |
<div class="shiftnav-js-check-peek"><i class="fa fa-truck"></i> ShiftNav is waiting to load...</div>
|
30 |
<div class="shiftnav-js-check-details">
|
31 |
<p>
|
32 |
-
If this message does not disappear, it means that ShiftNav has not been able to load.
|
33 |
This most commonly indicates that you have a javascript error on this page, which will need to be resolved in order to allow ShiftNav to run.
|
34 |
</p>
|
35 |
</div>
|
@@ -37,7 +37,7 @@ function shiftnav_menu_item_settings_panel(){
|
|
37 |
<div class="shiftnav-menu-item-settings-wrapper">
|
38 |
|
39 |
<div class="shiftnav-menu-item-settings-topper">
|
40 |
-
<i class="fa fa-cogs"></i> SHIFTNAV SETTINGS
|
41 |
<?php if( !SHIFTNAV_PRO ): ?><a target="_blank" href="http://goo.gl/7jzDSQ" class="shiftnav-up-link"><i class="fa fa-rocket"></i> Go Pro</a><?php endif; ?>
|
42 |
</div>
|
43 |
|
@@ -48,7 +48,7 @@ function shiftnav_menu_item_settings_panel(){
|
|
48 |
<div class="shiftnav-menu-item-stats shift-clearfix">
|
49 |
<div class="shiftnav-menu-item-title">Menu Item [Unknown]</div>
|
50 |
<div class="shiftnav-menu-item-id">#menu-item-X</div>
|
51 |
-
<div class="shiftnav-menu-item-type">Custom</div>
|
52 |
</div>
|
53 |
<ul class="shiftnav-menu-item-tabs">
|
54 |
<?php foreach( $panels as $panel_id => $panel ): ?>
|
@@ -67,8 +67,8 @@ function shiftnav_menu_item_settings_panel(){
|
|
67 |
<div class="shiftnav-menu-item-panel-settings shift-clearfix" >
|
68 |
<form class="shiftnav-menu-item-settings-form" action="" method="post" enctype="multipart/form-data" >
|
69 |
|
70 |
-
<?php foreach( $panels as $panel_id => $panel ):
|
71 |
-
$panel_settings = $settings[$panel_id];
|
72 |
ksort( $panel_settings );
|
73 |
//shiftp( $panel_settings );
|
74 |
?>
|
@@ -87,7 +87,7 @@ function shiftnav_menu_item_settings_panel(){
|
|
87 |
<?php endforeach; ?>
|
88 |
|
89 |
</div>
|
90 |
-
|
91 |
|
92 |
<?php endforeach; ?>
|
93 |
|
@@ -123,7 +123,7 @@ function shiftnav_menu_item_settings_panel(){
|
|
123 |
</div>
|
124 |
|
125 |
|
126 |
-
|
127 |
<div class="shiftnav-menu-item-tab-content" data-shiftnav-tab-content="submenu">
|
128 |
|
129 |
<div class="shiftnav-menu-item-setting">
|
@@ -148,7 +148,7 @@ function shiftnav_menu_item_settings_panel(){
|
|
148 |
<div class="shiftnav-menu-item-status shiftnav-menu-item-status-save">
|
149 |
<i class="shiftnav-status-save fa fa-floppy-o"></i>
|
150 |
<i class="shiftnav-status-success fa fa-check"></i>
|
151 |
-
<i class="shiftnav-status-working fa fa-cog" title="Working..."></i>
|
152 |
<i class="shiftnav-status-warning fa fa-exclamation-triangle"></i>
|
153 |
<i class="shiftnav-status-error fa fa-exclamation-circle"></i>
|
154 |
|
@@ -176,7 +176,7 @@ function shiftnav_show_menu_item_setting( $setting ){
|
|
176 |
$type = $setting['type'];
|
177 |
$default = $setting['default'];
|
178 |
$desc = '<span class="shiftnav-menu-item-setting-description">'.$setting['desc'].'</span>';
|
179 |
-
|
180 |
$name = 'name="'.$id.'"';
|
181 |
$value = 'value="'.$default.'"';
|
182 |
$data_setting = 'data-shiftnav-setting="'.$id.'"';
|
@@ -341,6 +341,15 @@ function shiftnav_menu_item_settings(){
|
|
341 |
),
|
342 |
);
|
343 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
344 |
return apply_filters( 'shiftnav_menu_item_settings' , $settings );
|
345 |
|
346 |
}
|
@@ -420,10 +429,10 @@ function shiftnav_save_menu_item_callback() {
|
|
420 |
}
|
421 |
}
|
422 |
}
|
423 |
-
|
424 |
-
//ONLY ALLOW SETTINGS WE'VE DEFINED
|
425 |
$settings = wp_parse_args( $dirty_settings, shiftnav_menu_item_setting_defaults() );
|
426 |
-
|
427 |
//SAVE THE SETTINGS
|
428 |
update_post_meta( $menu_item_id, SHIFTNAV_MENU_ITEM_META_KEY , $settings );
|
429 |
|
@@ -442,4 +451,4 @@ function shiftnav_save_menu_item_callback() {
|
|
442 |
//echo $data;
|
443 |
|
444 |
die(); // this is required to return a proper result
|
445 |
-
}
|
1 |
<?php
|
2 |
|
3 |
add_action( 'admin_print_styles-nav-menus.php' , 'shiftnav_admin_menu_load_assets' );
|
4 |
+
|
5 |
function shiftnav_admin_menu_load_assets() {
|
6 |
$assets = SHIFTNAV_URL . 'admin/assets/';
|
7 |
wp_enqueue_style( 'shiftnav-menu-admin', $assets.'admin.menu.css' );
|
13 |
|
14 |
wp_localize_script( 'shiftnav-menu-admin' , 'shiftnav_menu_item_data' , $shiftnav_menu_data );
|
15 |
|
16 |
+
wp_localize_script( 'shiftnav-menu-admin' , 'shiftnav_meta' , array(
|
17 |
'ajax_url' => admin_url( 'admin-ajax.php' ),
|
18 |
'nonce' => shiftnav_menu_item_settings_nonce(),
|
19 |
) );
|
29 |
<div class="shiftnav-js-check-peek"><i class="fa fa-truck"></i> ShiftNav is waiting to load...</div>
|
30 |
<div class="shiftnav-js-check-details">
|
31 |
<p>
|
32 |
+
If this message does not disappear, it means that ShiftNav has not been able to load.
|
33 |
This most commonly indicates that you have a javascript error on this page, which will need to be resolved in order to allow ShiftNav to run.
|
34 |
</p>
|
35 |
</div>
|
37 |
<div class="shiftnav-menu-item-settings-wrapper">
|
38 |
|
39 |
<div class="shiftnav-menu-item-settings-topper">
|
40 |
+
<i class="fa fa-cogs"></i> SHIFTNAV SETTINGS
|
41 |
<?php if( !SHIFTNAV_PRO ): ?><a target="_blank" href="http://goo.gl/7jzDSQ" class="shiftnav-up-link"><i class="fa fa-rocket"></i> Go Pro</a><?php endif; ?>
|
42 |
</div>
|
43 |
|
48 |
<div class="shiftnav-menu-item-stats shift-clearfix">
|
49 |
<div class="shiftnav-menu-item-title">Menu Item [Unknown]</div>
|
50 |
<div class="shiftnav-menu-item-id">#menu-item-X</div>
|
51 |
+
<div class="shiftnav-menu-item-type">Custom</div>
|
52 |
</div>
|
53 |
<ul class="shiftnav-menu-item-tabs">
|
54 |
<?php foreach( $panels as $panel_id => $panel ): ?>
|
67 |
<div class="shiftnav-menu-item-panel-settings shift-clearfix" >
|
68 |
<form class="shiftnav-menu-item-settings-form" action="" method="post" enctype="multipart/form-data" >
|
69 |
|
70 |
+
<?php foreach( $panels as $panel_id => $panel ):
|
71 |
+
$panel_settings = $settings[$panel_id];
|
72 |
ksort( $panel_settings );
|
73 |
//shiftp( $panel_settings );
|
74 |
?>
|
87 |
<?php endforeach; ?>
|
88 |
|
89 |
</div>
|
90 |
+
|
91 |
|
92 |
<?php endforeach; ?>
|
93 |
|
123 |
</div>
|
124 |
|
125 |
|
126 |
+
|
127 |
<div class="shiftnav-menu-item-tab-content" data-shiftnav-tab-content="submenu">
|
128 |
|
129 |
<div class="shiftnav-menu-item-setting">
|
148 |
<div class="shiftnav-menu-item-status shiftnav-menu-item-status-save">
|
149 |
<i class="shiftnav-status-save fa fa-floppy-o"></i>
|
150 |
<i class="shiftnav-status-success fa fa-check"></i>
|
151 |
+
<i class="shiftnav-status-working fa fa-cog" title="Working..."></i>
|
152 |
<i class="shiftnav-status-warning fa fa-exclamation-triangle"></i>
|
153 |
<i class="shiftnav-status-error fa fa-exclamation-circle"></i>
|
154 |
|
176 |
$type = $setting['type'];
|
177 |
$default = $setting['default'];
|
178 |
$desc = '<span class="shiftnav-menu-item-setting-description">'.$setting['desc'].'</span>';
|
179 |
+
|
180 |
$name = 'name="'.$id.'"';
|
181 |
$value = 'value="'.$default.'"';
|
182 |
$data_setting = 'data-shiftnav-setting="'.$id.'"';
|
341 |
),
|
342 |
);
|
343 |
|
344 |
+
$settings['submenu'][40] = array(
|
345 |
+
'id' => 'disable_submenu',
|
346 |
+
'title' => __( 'Disable Submenu', 'shiftnav' ),
|
347 |
+
'type' => 'checkbox',
|
348 |
+
'default' => 'off',
|
349 |
+
'desc' => __( 'Disable the submenu for this menu item within ShiftNav.' , 'shiftnav' ),
|
350 |
+
|
351 |
+
);
|
352 |
+
|
353 |
return apply_filters( 'shiftnav_menu_item_settings' , $settings );
|
354 |
|
355 |
}
|
429 |
}
|
430 |
}
|
431 |
}
|
432 |
+
|
433 |
+
//ONLY ALLOW SETTINGS WE'VE DEFINED
|
434 |
$settings = wp_parse_args( $dirty_settings, shiftnav_menu_item_setting_defaults() );
|
435 |
+
|
436 |
//SAVE THE SETTINGS
|
437 |
update_post_meta( $menu_item_id, SHIFTNAV_MENU_ITEM_META_KEY , $settings );
|
438 |
|
451 |
//echo $data;
|
452 |
|
453 |
die(); // this is required to return a proper result
|
454 |
+
}
|
assets/css/less/base.less
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/* General */
|
2 |
-
.shiftnav-toggle,
|
3 |
.shiftnav-toggle *,
|
4 |
.shiftnav,
|
5 |
.shiftnav *{
|
@@ -8,7 +8,7 @@
|
|
8 |
-ms-box-sizing:border-box;
|
9 |
-o-box-sizing:border-box;
|
10 |
box-sizing:border-box;
|
11 |
-
line-height: 1.3em;
|
12 |
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
13 |
|
14 |
padding:0;
|
@@ -50,4 +50,12 @@ body.shiftnav-enabled.shiftnav-transition.admin-bar{
|
|
50 |
-ms-transition: -ms-transform 0.5s;
|
51 |
-o-transition: -o-transform 0.5s;
|
52 |
transition: transform 0.5s;
|
53 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
/* General */
|
2 |
+
.shiftnav-toggle,
|
3 |
.shiftnav-toggle *,
|
4 |
.shiftnav,
|
5 |
.shiftnav *{
|
8 |
-ms-box-sizing:border-box;
|
9 |
-o-box-sizing:border-box;
|
10 |
box-sizing:border-box;
|
11 |
+
line-height: 1.3em;
|
12 |
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
13 |
|
14 |
padding:0;
|
50 |
-ms-transition: -ms-transform 0.5s;
|
51 |
-o-transition: -o-transform 0.5s;
|
52 |
transition: transform 0.5s;
|
53 |
+
}
|
54 |
+
|
55 |
+
|
56 |
+
/* Force Font Awesome 4 for time being */
|
57 |
+
.shiftnav .fa,
|
58 |
+
.shiftnav-toggle .fa{
|
59 |
+
font-family:FontAwesome;
|
60 |
+
font-weight:normal;
|
61 |
+
}
|
assets/css/shiftnav.css
CHANGED
@@ -47,6 +47,12 @@ body.shiftnav-enabled.shiftnav-transition.admin-bar {
|
|
47 |
-o-transition: -o-transform 0.5s;
|
48 |
transition: transform 0.5s;
|
49 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
/* TOGGLE */
|
51 |
.shiftnav-toggle {
|
52 |
cursor: pointer;
|
47 |
-o-transition: -o-transform 0.5s;
|
48 |
transition: transform 0.5s;
|
49 |
}
|
50 |
+
/* Force Font Awesome 4 for time being */
|
51 |
+
.shiftnav .fa,
|
52 |
+
.shiftnav-toggle .fa {
|
53 |
+
font-family: FontAwesome;
|
54 |
+
font-weight: normal;
|
55 |
+
}
|
56 |
/* TOGGLE */
|
57 |
.shiftnav-toggle {
|
58 |
cursor: pointer;
|
assets/css/shiftnav.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.shiftnav-wrap,body.shiftnav-lock.shiftnav-open{overflow:hidden}.shiftnav,.shiftnav *,.shiftnav-toggle,.shiftnav-toggle *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;-o-box-sizing:border-box;box-sizing:border-box;line-height:1.3em;-webkit-tap-highlight-color:transparent;padding:0;margin:0;background:none}.shiftnav-wrap{padding:0;margin:0;background:0 0;position:relative;max-width:100%}body.shiftnav-lock-x.shiftnav-enabled{overflow-x:hidden}body.shiftnav-transition{overflow:visible}.shiftnav,.shiftnav-inner{height:100%;overflow-y:auto;overflow-x:hidden}#shiftnav-toggle-main,.shiftnav,.shiftnav-wrap{-webkit-transition:-webkit-transform .5s;-moz-transition:-moz-transform .5s;-ms-transition:-ms-transform .5s;-o-transition:-o-transform .5s;transition:transform .5s}.shiftnav-toggle{cursor:pointer}#shiftnav-toggle-main{position:fixed;top:0;left:0;width:100%;max-width:100%;box-sizing:border-box;padding:0 10px;z-index:500000;text-align:center;background:#1D1D20;color:#eee}#shiftnav-toggle-main.shiftnav-toggle-position-absolute{position:absolute}#shiftnav-toggle-main.shiftnav-toggle-main-align-left{text-align:left}#shiftnav-toggle-main.shiftnav-toggle-main-align-right{text-align:right}#shiftnav-toggle-main a{color:inherit;text-decoration:none}#shiftnav-toggle-main .shiftnav-main-toggle-content-after>*,#shiftnav-toggle-main .shiftnav-main-toggle-content-before>*{position:relative;z-index:20}#shiftnav-toggle-main .shiftnav-main-toggle-content-before{float:left}#shiftnav-toggle-main .shiftnav-main-toggle-content-after{float:right}#shiftnav-toggle-main .shiftnav-main-toggle-content{padding:16px 40px}#shiftnav-toggle-main.shiftnav-toggle-main-align-center .shiftnav-main-toggle-content{width:100%;box-sizing:border-box;position:absolute;left:0}#shiftnav-toggle-main.shiftnav-togglebar-transparent{background:0 0}.shiftnav-toggle-main-block{padding:16px 20px;display:inline-block;line-height:1em}.shiftnav-toggle-main-ontop{position:relative;z-index:20}#shiftnav-toggle-main.shiftnav-toggle-edge-right{left:auto;right:0}#shiftnav-toggle-main.shiftnav-toggle-style-burger_only{width:auto;padding:0;margin:0}#shiftnav-toggle-main.shiftnav-toggle-style-burger_only .shiftnav-toggle-burger{margin:0}.shiftnav-toggle-style-burger_only .shiftnav-toggle-burger{font-size:24px}#shiftnav-toggle-main .shiftnav-toggle-burger,#shiftnav-toggle-main.shiftnav-toggle-main-entire-bar:before{float:left;content:'\f0c9';font-family:FontAwesome;padding:16px 20px;margin-left:-10px;position:relative;z-index:20;line-height:1em}.shiftnav-open #shiftnav-toggle-main.shiftnav-toggle-icon-x .shiftnav-toggle-burger .fa:before,.shiftnav-open #shiftnav-toggle-main.shiftnav-toggle-main-entire-bar.shiftnav-toggle-icon-x:before{content:'\f00d'}#shiftnav-toggle-main.shiftnav-toggle-edge-right .shiftnav-toggle-burger,#shiftnav-toggle-main.shiftnav-toggle-edge-right.shiftnav-toggle-main-entire-bar:before,.shiftnav-open-right #shiftnav-toggle-main.shiftnav-toggle-main-entire-bar:before{float:right;padding-left:20px}.shiftnav-open-left #shiftnav-toggle-main.shiftnav-toggle-edge-right .shiftnav-toggle-burger .fa:before,.shiftnav-open-left #shiftnav-toggle-main.shiftnav-toggle-edge-right:before{float:left;padding-left:0;padding-right:20px}.shiftnav-force #shiftnav-toggle-main{display:block!important}.shiftnav-toggle-style-default{background:#333;color:#eee;padding:10px}.shiftnav-toggle-style-default:hover{background:#222;color:#ddd}.shiftnav-toggle-style-default .fa{margin-right:5px}.shiftnav-toggle-button{display:inline-block;padding:10px 15px;background:#444;color:#eee}.shiftnav-toggle-button:hover{display:inline-block;padding:10px 15px;background:#222;color:#eee}.shiftnav-toggle-button .fa{margin-right:3px}.shiftnav-fixed-left,.shiftnav-fixed-right{position:fixed;top:0;z-index:9999999;-webkit-transition:-webkit-transform .5s;-moz-transition:-moz-transform .5s;-ms-transition:-ms-transform .5s;-o-transition:-o-transform .5s;transition:transform .5s}.shiftnav-fixed-right{right:0}.shiftnav-fixed-left{left:0}.admin-bar .shiftnav-fixed-left,.admin-bar .shiftnav-fixed-right{top:32px}@media screen and (max-width:782px){.admin-bar .shiftnav-fixed-left,.admin-bar .shiftnav-fixed-right{top:46px}}.shiftnav-open .shiftnav-toggle .shiftnav-icon-toggler:before,.shiftnav-open-left .shiftnav-toggle .shiftnav-icon-toggler-left:before,.shiftnav-open-right .shiftnav-toggle .shiftnav-icon-toggler-right:before{content:"\f00d"}.shiftnav-open.shiftnav-open-left #shiftnav-toggle-main,.shiftnav-open.shiftnav-open-left .shiftnav-wrap,.shiftnav-open.shiftnav-open-left>.shiftnav-fixed-left{-webkit-transform:translateX(290px);-moz-transform:translateX(290px);-ms-transform:translateX(290px);-o-transform:translateX(290px);transform:translateX(290px)}.shiftnav-open.shiftnav-open-right #shiftnav-toggle-main,.shiftnav-open.shiftnav-open-right .shiftnav-wrap,.shiftnav-open.shiftnav-open-right>.shiftnav-fixed-right{-webkit-transform:translateX(-290px);-moz-transform:translateX(-290px);-ms-transform:translateX(-290px);-o-transform:translateX(-290px);transform:translateX(-290px)}body.admin-bar #shiftnav-toggle-main,body.admin-bar .shiftnav{top:32px}body.admin-bar .shiftnav{padding-bottom:32px}#wpadminbar:hover{z-index:999999}@media screen and (min-width:600px) and (max-width:782px){body.admin-bar #shiftnav-toggle-main,body.admin-bar .shiftnav{top:46px}body.admin-bar .shiftnav{padding-bottom:46px}}@media screen and (max-width:600px){body.admin-bar #shiftnav-toggle-main,body.admin-bar .shiftnav{top:0}body.admin-bar .shiftnav{padding-bottom:0}html #shiftnav-toggle-main~#wpadminbar{top:54px}html.shiftnav-nogap{margin-top:0!important}}.shiftnav-wrap{left:0;top:0;z-index:250;padding-top:1px;margin-top:-1px}.shiftnav-open .shiftnav-wrap{height:100%}.shiftnav:after{content:' ';display:block;position:absolute;right:-15px;top:0;height:100%;width:15px;background:0 0;-webkit-box-shadow:0 0 15px rgba(0,0,0,.8);-moz-box-shadow:0 0 15px rgba(0,0,0,.8);-ms-box-shadow:0 0 15px rgba(0,0,0,.8);-o-box-shadow:0 0 15px rgba(0,0,0,.8);box-shadow:0 0 15px rgba(0,0,0,.8);z-index:10000}.shiftnav,.shiftnav-no-transforms .shiftnav{width:290px}.shiftnav.shiftnav-right-edge:after{left:-15px;right:auto}.shiftnav-no-transforms .shiftnav:after{display:none!important}.shiftnav.shiftnav-nojs{display:none}.shiftnav{position:fixed;top:0;background:#fff;z-index:600000;visibility:hidden;opacity:0}.shiftnav-open .shiftnav,.shiftnav-transitioning .shiftnav{visibility:visible;opacity:1}.shiftnav-inner{-webkit-overflow-scrolling:touch}.shiftnav.shiftnav-left-edge{left:0;-webkit-transform:translateX(-290px);-moz-transform:translateX(-290px);-ms-transform:translateX(-290px);-o-transform:translateX(-290px);transform:translateX(-290px)}.shiftnav.shiftnav-right-edge{right:0;-webkit-transform:translateX(290px);-moz-transform:translateX(290px);-ms-transform:translateX(290px);-o-transform:translateX(290px);transform:translateX(290px)}.shiftnav-open .shiftnav.shiftnav-open-target{-webkit-transform:translateX(0);-moz-transform:translateX(0);-ms-transform:translateX(0);-o-transform:translateX(0);transform:translateX(0)}.shiftnav-no-transforms .shiftnav.shiftnav-left-edge{left:-290px}.shiftnav-no-transforms.shiftnav-open .shiftnav.shiftnav-open-target.shiftnav-left-edge{left:0}.shiftnav-no-transforms .shiftnav.shiftnav-right-edge{left:auto;right:-290px}.shiftnav-no-transforms.shiftnav-open .shiftnav.shiftnav-open-target.shiftnav-right-edge{right:0}.shiftnav-no-transforms #shiftnav-toggle-main,.shiftnav-no-transforms .shiftnav{-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}.shiftnav-no-transforms.shiftnav-open-left #shiftnav-toggle-main{left:290px}.shiftnav-no-transforms.shiftnav-open-right #shiftnav-toggle-main{left:auto;right:290px}.shiftnav-no-transforms #shiftnav-toggle-main,.shiftnav-no-transforms .shiftnav-wrap{-webkit-transform:none!important;-moz-transform:none!important;-ms-transform:none!important;-o-transform:none!important;transform:none!important}.shiftnav-no-transforms .shiftnav-inner{padding-top:30px}.shiftnav .shiftnav-panel-close{display:block;position:absolute;right:0;padding:15px 20px;background:rgba(0,0,0,.2);z-index:20;cursor:pointer}.shiftnav .shiftnav-menu-title{font-size:30px;text-align:center;padding:40px 25px;font-weight:400;margin:0;color:inherit}.shiftnav-menu-title a,.shiftnav-menu-title a:hover,.shiftnav-menu-title a:visited{color:inherit;text-decoration:none}.shiftnav .shiftnav-menu-image-padded{padding:25px}.shiftnav .shiftnav-menu-image a{display:block}.shiftnav .shiftnav-menu-image img{max-width:100%;height:auto}.shiftnav .shiftnav-nav,.shiftnav ul.shiftnav-menu,.shiftnav ul.shiftnav-menu ul.sub-menu{position:static;display:block;top:auto;left:auto;float:none;min-width:0}.shiftnav ul.shiftnav-menu{position:relative;clear:both;overflow:hidden}.shiftnav ul.shiftnav-menu,.shiftnav ul.shiftnav-menu ul.sub-menu{list-style:none;margin:0;padding:0}.shiftnav ul.shiftnav-menu li.menu-item{position:relative;margin:0;padding:0;background:none;list-style-type:none}.shiftnav ul.shiftnav-menu li.menu-item>.shiftnav-target,.shiftnav ul.shiftnav-menu li.shiftnav-retract>.shiftnav-target{display:block;padding:15px 25px;line-height:1.6em;text-decoration:none;position:relative;cursor:pointer;-webkit-transition:.2s all ease;-moz-transition:.2s all ease;-ms-transition:.2s all ease;-o-transition:.2s all ease;transition:.2s all ease}.shiftnav ul.shiftnav-menu li.menu-item.shiftnav-has-icon>.shiftnav-target>i.shiftnav-icon{margin-right:.8em;font-size:150%;vertical-align:middle;line-height:inherit;width:1.2em;text-align:center}.shiftnav ul.shiftnav-menu li.menu-item.shiftnav-has-icon>.shiftnav-target>i.shiftnav-icon:before{vertical-align:top}.shiftnav ul.shiftnav-menu.shiftnav-targets-icon-enormous li.menu-item.shiftnav-has-icon>.shiftnav-target>i.shiftnav-icon:before,.shiftnav ul.shiftnav-menu.shiftnav-targets-icon-large li.menu-item.shiftnav-has-icon>.shiftnav-target>i.shiftnav-icon:before{vertical-align:middle}.shiftnav ul.shiftnav-menu li.menu-item.shiftnav-has-icon>.shiftnav-target>span.shiftnav-target-text{vertical-align:middle;display:inline-block;line-height:inherit}.shiftnav ul.shiftnav-menu li.shiftnav-retract,.shiftnav ul.shiftnav-menu li.shiftnav-sub-shift li.shiftnav-active~li.shiftnav-retract{display:none;margin:0}.shiftnav ul.shiftnav-menu li.shiftnav-sub-shift>.sub-menu.shiftnav-sub-active-current>li.shiftnav-retract{display:block}.shiftnav ul.shiftnav-menu.shiftnav-targets-medium li.menu-item>.shiftnav-target{padding-top:10px!important;padding-bottom:10px!important}.shiftnav ul.shiftnav-menu.shiftnav-targets-large li.menu-item>.shiftnav-target{padding-top:16px!important;padding-bottom:16px!important}.shiftnav ul.shiftnav-menu.shiftnav-targets-enormous li.menu-item>.shiftnav-target{padding-top:24px!important;padding-bottom:24px!important}.shiftnav ul.shiftnav-menu.shiftnav-targets-text-small li.menu-item>.shiftnav-target{font-size:12px!important}.shiftnav ul.shiftnav-menu.shiftnav-targets-text-medium li.menu-item>.shiftnav-target{font-size:14px!important}.shiftnav ul.shiftnav-menu.shiftnav-targets-text-large li.menu-item>.shiftnav-target{font-size:16px!important}.shiftnav ul.shiftnav-menu.shiftnav-targets-text-enormous li.menu-item>.shiftnav-target{font-size:22px!important}.shiftnav ul.shiftnav-menu.shiftnav-targets-icon-small li.menu-item>.shiftnav-target>i.shiftnav-icon{font-size:100%!important}.shiftnav ul.shiftnav-menu.shiftnav-targets-icon-medium li.menu-item>.shiftnav-target>i.shiftnav-icon{font-size:140%!important}.shiftnav ul.shiftnav-menu.shiftnav-targets-icon-large li.menu-item>.shiftnav-target>i.shiftnav-icon{font-size:180%!important}.shiftnav ul.shiftnav-menu.shiftnav-targets-icon-enormous li.menu-item>.shiftnav-target>i.shiftnav-icon{font-size:250%!important}.shiftnav ul.shiftnav-menu.shiftnav-indent-subs li.shiftnav-sub-always ul.sub-menu li.menu-item>a{padding-left:50px}.shiftnav ul.shiftnav-menu.shiftnav-indent-subs li.shiftnav-sub-always ul.sub-menu ul.sub-menu li.menu-item>a{padding-left:75px}.shiftnav ul.shiftnav-menu.shiftnav-indent-subs li.shiftnav-sub-always ul.sub-menu ul.sub-menu ul.sub-menu li.menu-item>a{padding-left:100px}@media only screen and (max-width:960px){#shiftnav-toggle-main{font-size:16px}}@media only screen and (max-width:479px){.shiftnav{width:320px;max-width:95%}.shiftnav.shiftnav-left-edge{-webkit-transform:translateX(-320px);-moz-transform:translateX(-320px);-ms-transform:translateX(-320px);-o-transform:translateX(-320px);transform:translateX(-320px)}.shiftnav-open.shiftnav-open-left #shiftnav-toggle-main,.shiftnav-open.shiftnav-open-left .shiftnav-fixed-left,.shiftnav-open.shiftnav-open-left .shiftnav-wrap,.shiftnav.shiftnav-right-edge{-webkit-transform:translateX(320px);-moz-transform:translateX(320px);-ms-transform:translateX(320px);-o-transform:translateX(320px);transform:translateX(320px)}.shiftnav-open.shiftnav-open-right #shiftnav-toggle-main,.shiftnav-open.shiftnav-open-right .shiftnav-fixed-right,.shiftnav-open.shiftnav-open-right .shiftnav-wrap{-webkit-transform:translateX(-320px);-moz-transform:translateX(-320px);-ms-transform:translateX(-320px);-o-transform:translateX(-320px);transform:translateX(-320px)}.shiftnav .shiftnav-menu-title{font-size:30px;text-align:center;padding:20px 0;font-weight:400;margin:0}}@media only screen and (max-width:374px){.shiftnav{width:305px;max-width:95%}.shiftnav.shiftnav-left-edge{-webkit-transform:translateX(-305px);-moz-transform:translateX(-305px);-ms-transform:translateX(-305px);-o-transform:translateX(-305px);transform:translateX(-305px)}.shiftnav-open.shiftnav-open-left #shiftnav-toggle-main,.shiftnav-open.shiftnav-open-left .shiftnav-fixed-left,.shiftnav-open.shiftnav-open-left .shiftnav-wrap,.shiftnav.shiftnav-right-edge{-webkit-transform:translateX(305px);-moz-transform:translateX(305px);-ms-transform:translateX(305px);-o-transform:translateX(305px);transform:translateX(305px)}.shiftnav-open.shiftnav-open-right #shiftnav-toggle-main,.shiftnav-open.shiftnav-open-right .shiftnav-fixed-right,.shiftnav-open.shiftnav-open-right .shiftnav-wrap{-webkit-transform:translateX(-305px);-moz-transform:translateX(-305px);-ms-transform:translateX(-305px);-o-transform:translateX(-305px);transform:translateX(-305px)}}@media only screen and (max-width:359px){.shiftnav{width:265px;max-width:95%}.shiftnav.shiftnav-left-edge{-webkit-transform:translateX(-265px);-moz-transform:translateX(-265px);-ms-transform:translateX(-265px);-o-transform:translateX(-265px);transform:translateX(-265px)}.shiftnav-open.shiftnav-open-left #shiftnav-toggle-main,.shiftnav-open.shiftnav-open-left .shiftnav-fixed-left,.shiftnav-open.shiftnav-open-left .shiftnav-wrap,.shiftnav.shiftnav-right-edge{-webkit-transform:translateX(265px);-moz-transform:translateX(265px);-ms-transform:translateX(265px);-o-transform:translateX(265px);transform:translateX(265px)}.shiftnav-open.shiftnav-open-right #shiftnav-toggle-main,.shiftnav-open.shiftnav-open-right .shiftnav-fixed-right,.shiftnav-open.shiftnav-open-right .shiftnav-wrap{-webkit-transform:translateX(-265px);-moz-transform:translateX(-265px);-ms-transform:translateX(-265px);-o-transform:translateX(-265px);transform:translateX(-265px)}}@media only screen and (max-width:319px){.shiftnav{width:230px;max-width:95%}.shiftnav.shiftnav-left-edge{-webkit-transform:translateX(-230px);-moz-transform:translateX(-230px);-ms-transform:translateX(-230px);-o-transform:translateX(-230px);transform:translateX(-230px)}.shiftnav-open.shiftnav-open-left #shiftnav-toggle-main,.shiftnav-open.shiftnav-open-left .shiftnav-fixed-left,.shiftnav-open.shiftnav-open-left .shiftnav-wrap,.shiftnav.shiftnav-right-edge{-webkit-transform:translateX(230px);-moz-transform:translateX(230px);-ms-transform:translateX(230px);-o-transform:translateX(230px);transform:translateX(230px)}.shiftnav-open.shiftnav-open-right #shiftnav-toggle-main,.shiftnav-open.shiftnav-open-right .shiftnav-fixed-right,.shiftnav-open.shiftnav-open-right .shiftnav-wrap{-webkit-transform:translateX(-230px);-moz-transform:translateX(-230px);-ms-transform:translateX(-230px);-o-transform:translateX(-230px);transform:translateX(-230px)}}.shiftnav-content-wrap{padding:25px}.shiftnav-content-wrap-small{padding:10px}.shiftnav-admin-tip{background:#eee;color:#333;padding:20px;border-left:4px solid #E6D244;margin:10px}.shiftnav-admin-tip a,.shiftnav-admin-tip a:visited{color:#00A3FF;text-decoration:underline}.shiftnav-admin-tip a:hover{color:#0D75AF}.shiftnav-admin-tip strong{color:tomato}.shiftnav-loading{display:block;position:fixed;bottom:0;right:20px;background:#35AC6A;color:#fff;padding:15px;max-width:400px}.shiftnav-loading h5{color:#fff;font-weight:700;margin:0}.shiftnav-loading:hover h5{padding-bottom:5px;border-bottom:1px solid #fff}.shiftnav-loading .shiftnav-loading-message{color:#fff;max-height:0;overflow:hidden;visibility:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:all .3s ease-in;transition:all .3s ease-in}.shiftnav-loading:hover .shiftnav-loading-message{visibility:visible;max-height:1000px;overflow:auto}.shiftnav-loading .shiftnav-loading-message p{color:#fff;margin:10px 0}.ie7 .shiftnav,.ie7 .shiftnav-toggle,.ie8 .shiftnav,.ie8 .shiftnav-toggle,.lt-ie9 .shiftnav,.lt-ie9 .shiftnav-toggle{display:none!important}.rtl .shiftnav li.menu-item{text-align:right}.rtl .shiftnav li.menu-item .shiftnav-submenu-activation{right:auto;left:0;-webkit-transform:translateX(0);transform:translateX(0)}.rtl .shiftnav ul.shiftnav-menu li.menu-item.shiftnav-sub-shift.shiftnav-active>.shiftnav-submenu-activation,.rtl .shiftnav ul.shiftnav-menu li.menu-item.shiftnav-sub-shift.shiftnav-in-transition>.shiftnav-submenu-activation{-webkit-transform:translateX(-100%);transform:translateX(-100%)}.rtl .shiftnav li.menu-item.shiftnav-sub-shift>.shiftnav-submenu-activation i:before{content:"\f053"}.rtl .shiftnav ul.shiftnav-menu li.menu-item.shiftnav-has-icon>.shiftnav-target>i.shiftnav-icon{margin-right:0;margin-left:.8em}.rtl .shiftnav ul.shiftnav-menu li.shiftnav-retract>.shiftnav-target i:before{content:"\f054"}.rtl .shiftnav-search input.shiftnav-search-input{padding:14px 25px 14px 50px}.rtl .shiftnav-searchbar-drop .shiftnav-search-input{padding:24px 24px 24px 50px}.rtl .shiftnav-search .shiftnav-search-submit,.rtl .shiftnav-searchbar-drop .shiftnav-search-submit{left:0;right:auto}
|
1 |
+
.shiftnav-wrap,body.shiftnav-lock.shiftnav-open{overflow:hidden}.shiftnav,.shiftnav *,.shiftnav-toggle,.shiftnav-toggle *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;-o-box-sizing:border-box;box-sizing:border-box;line-height:1.3em;-webkit-tap-highlight-color:transparent;padding:0;margin:0;background:none}.shiftnav-wrap{padding:0;margin:0;background:0 0;position:relative;max-width:100%}body.shiftnav-lock-x.shiftnav-enabled{overflow-x:hidden}body.shiftnav-transition{overflow:visible}.shiftnav,.shiftnav-inner{height:100%;overflow-y:auto;overflow-x:hidden}#shiftnav-toggle-main,.shiftnav,.shiftnav-wrap{-webkit-transition:-webkit-transform .5s;-moz-transition:-moz-transform .5s;-ms-transition:-ms-transform .5s;-o-transition:-o-transform .5s;transition:transform .5s}.shiftnav .fa,.shiftnav-toggle .fa{font-family:FontAwesome}.shiftnav-toggle{cursor:pointer}#shiftnav-toggle-main{position:fixed;top:0;left:0;width:100%;max-width:100%;box-sizing:border-box;padding:0 10px;z-index:500000;text-align:center;background:#1D1D20;color:#eee}#shiftnav-toggle-main.shiftnav-toggle-position-absolute{position:absolute}#shiftnav-toggle-main.shiftnav-toggle-main-align-left{text-align:left}#shiftnav-toggle-main.shiftnav-toggle-main-align-right{text-align:right}#shiftnav-toggle-main a{color:inherit;text-decoration:none}#shiftnav-toggle-main .shiftnav-main-toggle-content-after>*,#shiftnav-toggle-main .shiftnav-main-toggle-content-before>*{position:relative;z-index:20}#shiftnav-toggle-main .shiftnav-main-toggle-content-before{float:left}#shiftnav-toggle-main .shiftnav-main-toggle-content-after{float:right}#shiftnav-toggle-main .shiftnav-main-toggle-content{padding:16px 40px}#shiftnav-toggle-main.shiftnav-toggle-main-align-center .shiftnav-main-toggle-content{width:100%;box-sizing:border-box;position:absolute;left:0}#shiftnav-toggle-main.shiftnav-togglebar-transparent{background:0 0}.shiftnav-toggle-main-block{padding:16px 20px;display:inline-block;line-height:1em}.shiftnav-toggle-main-ontop{position:relative;z-index:20}#shiftnav-toggle-main.shiftnav-toggle-edge-right{left:auto;right:0}#shiftnav-toggle-main.shiftnav-toggle-style-burger_only{width:auto;padding:0;margin:0}#shiftnav-toggle-main.shiftnav-toggle-style-burger_only .shiftnav-toggle-burger{margin:0}.shiftnav-toggle-style-burger_only .shiftnav-toggle-burger{font-size:24px}#shiftnav-toggle-main .shiftnav-toggle-burger,#shiftnav-toggle-main.shiftnav-toggle-main-entire-bar:before{float:left;content:'\f0c9';font-family:FontAwesome;padding:16px 20px;margin-left:-10px;position:relative;z-index:20;line-height:1em}.shiftnav-open #shiftnav-toggle-main.shiftnav-toggle-icon-x .shiftnav-toggle-burger .fa:before,.shiftnav-open #shiftnav-toggle-main.shiftnav-toggle-main-entire-bar.shiftnav-toggle-icon-x:before{content:'\f00d'}#shiftnav-toggle-main.shiftnav-toggle-edge-right .shiftnav-toggle-burger,#shiftnav-toggle-main.shiftnav-toggle-edge-right.shiftnav-toggle-main-entire-bar:before,.shiftnav-open-right #shiftnav-toggle-main.shiftnav-toggle-main-entire-bar:before{float:right;padding-left:20px}.shiftnav-open-left #shiftnav-toggle-main.shiftnav-toggle-edge-right .shiftnav-toggle-burger .fa:before,.shiftnav-open-left #shiftnav-toggle-main.shiftnav-toggle-edge-right:before{float:left;padding-left:0;padding-right:20px}.shiftnav-force #shiftnav-toggle-main{display:block!important}.shiftnav-toggle-style-default{background:#333;color:#eee;padding:10px}.shiftnav-toggle-style-default:hover{background:#222;color:#ddd}.shiftnav-toggle-style-default .fa{margin-right:5px}.shiftnav-toggle-button{display:inline-block;padding:10px 15px;background:#444;color:#eee}.shiftnav-toggle-button:hover{display:inline-block;padding:10px 15px;background:#222;color:#eee}.shiftnav-toggle-button .fa{margin-right:3px}.shiftnav-fixed-left,.shiftnav-fixed-right{position:fixed;top:0;z-index:9999999;-webkit-transition:-webkit-transform .5s;-moz-transition:-moz-transform .5s;-ms-transition:-ms-transform .5s;-o-transition:-o-transform .5s;transition:transform .5s}.shiftnav-fixed-right{right:0}.shiftnav-fixed-left{left:0}.admin-bar .shiftnav-fixed-left,.admin-bar .shiftnav-fixed-right{top:32px}@media screen and (max-width:782px){.admin-bar .shiftnav-fixed-left,.admin-bar .shiftnav-fixed-right{top:46px}}.shiftnav-open .shiftnav-toggle .shiftnav-icon-toggler:before,.shiftnav-open-left .shiftnav-toggle .shiftnav-icon-toggler-left:before,.shiftnav-open-right .shiftnav-toggle .shiftnav-icon-toggler-right:before{content:"\f00d"}.shiftnav-open.shiftnav-open-left #shiftnav-toggle-main,.shiftnav-open.shiftnav-open-left .shiftnav-wrap,.shiftnav-open.shiftnav-open-left>.shiftnav-fixed-left{-webkit-transform:translateX(290px);-moz-transform:translateX(290px);-ms-transform:translateX(290px);-o-transform:translateX(290px);transform:translateX(290px)}.shiftnav-open.shiftnav-open-right #shiftnav-toggle-main,.shiftnav-open.shiftnav-open-right .shiftnav-wrap,.shiftnav-open.shiftnav-open-right>.shiftnav-fixed-right{-webkit-transform:translateX(-290px);-moz-transform:translateX(-290px);-ms-transform:translateX(-290px);-o-transform:translateX(-290px);transform:translateX(-290px)}body.admin-bar #shiftnav-toggle-main,body.admin-bar .shiftnav{top:32px}body.admin-bar .shiftnav{padding-bottom:32px}#wpadminbar:hover{z-index:999999}@media screen and (min-width:600px) and (max-width:782px){body.admin-bar #shiftnav-toggle-main,body.admin-bar .shiftnav{top:46px}body.admin-bar .shiftnav{padding-bottom:46px}}@media screen and (max-width:600px){body.admin-bar #shiftnav-toggle-main,body.admin-bar .shiftnav{top:0}body.admin-bar .shiftnav{padding-bottom:0}html #shiftnav-toggle-main~#wpadminbar{top:54px}html.shiftnav-nogap{margin-top:0!important}}.shiftnav-wrap{left:0;top:0;z-index:250;padding-top:1px;margin-top:-1px}.shiftnav-open .shiftnav-wrap{height:100%}.shiftnav:after{content:' ';display:block;position:absolute;right:-15px;top:0;height:100%;width:15px;background:0 0;-webkit-box-shadow:0 0 15px rgba(0,0,0,.8);-moz-box-shadow:0 0 15px rgba(0,0,0,.8);-ms-box-shadow:0 0 15px rgba(0,0,0,.8);-o-box-shadow:0 0 15px rgba(0,0,0,.8);box-shadow:0 0 15px rgba(0,0,0,.8);z-index:10000}.shiftnav,.shiftnav-no-transforms .shiftnav{width:290px}.shiftnav.shiftnav-right-edge:after{left:-15px;right:auto}.shiftnav-no-transforms .shiftnav:after{display:none!important}.shiftnav.shiftnav-nojs{display:none}.shiftnav{position:fixed;top:0;background:#fff;z-index:600000;visibility:hidden;opacity:0}.shiftnav-open .shiftnav,.shiftnav-transitioning .shiftnav{visibility:visible;opacity:1}.shiftnav-inner{-webkit-overflow-scrolling:touch}.shiftnav.shiftnav-left-edge{left:0;-webkit-transform:translateX(-290px);-moz-transform:translateX(-290px);-ms-transform:translateX(-290px);-o-transform:translateX(-290px);transform:translateX(-290px)}.shiftnav.shiftnav-right-edge{right:0;-webkit-transform:translateX(290px);-moz-transform:translateX(290px);-ms-transform:translateX(290px);-o-transform:translateX(290px);transform:translateX(290px)}.shiftnav-open .shiftnav.shiftnav-open-target{-webkit-transform:translateX(0);-moz-transform:translateX(0);-ms-transform:translateX(0);-o-transform:translateX(0);transform:translateX(0)}.shiftnav-no-transforms .shiftnav.shiftnav-left-edge{left:-290px}.shiftnav-no-transforms.shiftnav-open .shiftnav.shiftnav-open-target.shiftnav-left-edge{left:0}.shiftnav-no-transforms .shiftnav.shiftnav-right-edge{left:auto;right:-290px}.shiftnav-no-transforms.shiftnav-open .shiftnav.shiftnav-open-target.shiftnav-right-edge{right:0}.shiftnav-no-transforms #shiftnav-toggle-main,.shiftnav-no-transforms .shiftnav{-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}.shiftnav-no-transforms.shiftnav-open-left #shiftnav-toggle-main{left:290px}.shiftnav-no-transforms.shiftnav-open-right #shiftnav-toggle-main{left:auto;right:290px}.shiftnav-no-transforms #shiftnav-toggle-main,.shiftnav-no-transforms .shiftnav-wrap{-webkit-transform:none!important;-moz-transform:none!important;-ms-transform:none!important;-o-transform:none!important;transform:none!important}.shiftnav-no-transforms .shiftnav-inner{padding-top:30px}.shiftnav .shiftnav-panel-close{display:block;position:absolute;right:0;padding:15px 20px;background:rgba(0,0,0,.2);z-index:20;cursor:pointer}.shiftnav .shiftnav-menu-title{font-size:30px;text-align:center;padding:40px 25px;font-weight:400;margin:0;color:inherit}.shiftnav-menu-title a,.shiftnav-menu-title a:hover,.shiftnav-menu-title a:visited{color:inherit;text-decoration:none}.shiftnav .shiftnav-menu-image-padded{padding:25px}.shiftnav .shiftnav-menu-image a{display:block}.shiftnav .shiftnav-menu-image img{max-width:100%;height:auto}.shiftnav .shiftnav-nav,.shiftnav ul.shiftnav-menu,.shiftnav ul.shiftnav-menu ul.sub-menu{position:static;display:block;top:auto;left:auto;float:none;min-width:0}.shiftnav ul.shiftnav-menu{position:relative;clear:both;overflow:hidden}.shiftnav ul.shiftnav-menu,.shiftnav ul.shiftnav-menu ul.sub-menu{list-style:none;margin:0;padding:0}.shiftnav ul.shiftnav-menu li.menu-item{position:relative;margin:0;padding:0;background:none;list-style-type:none}.shiftnav ul.shiftnav-menu li.menu-item>.shiftnav-target,.shiftnav ul.shiftnav-menu li.shiftnav-retract>.shiftnav-target{display:block;padding:15px 25px;line-height:1.6em;text-decoration:none;position:relative;cursor:pointer;-webkit-transition:.2s all ease;-moz-transition:.2s all ease;-ms-transition:.2s all ease;-o-transition:.2s all ease;transition:.2s all ease}.shiftnav ul.shiftnav-menu li.menu-item.shiftnav-has-icon>.shiftnav-target>i.shiftnav-icon{margin-right:.8em;font-size:150%;vertical-align:middle;line-height:inherit;width:1.2em;text-align:center}.shiftnav ul.shiftnav-menu li.menu-item.shiftnav-has-icon>.shiftnav-target>i.shiftnav-icon:before{vertical-align:top}.shiftnav ul.shiftnav-menu.shiftnav-targets-icon-enormous li.menu-item.shiftnav-has-icon>.shiftnav-target>i.shiftnav-icon:before,.shiftnav ul.shiftnav-menu.shiftnav-targets-icon-large li.menu-item.shiftnav-has-icon>.shiftnav-target>i.shiftnav-icon:before{vertical-align:middle}.shiftnav ul.shiftnav-menu li.menu-item.shiftnav-has-icon>.shiftnav-target>span.shiftnav-target-text{vertical-align:middle;display:inline-block;line-height:inherit}.shiftnav ul.shiftnav-menu li.shiftnav-retract,.shiftnav ul.shiftnav-menu li.shiftnav-sub-shift li.shiftnav-active~li.shiftnav-retract{display:none;margin:0}.shiftnav ul.shiftnav-menu li.shiftnav-sub-shift>.sub-menu.shiftnav-sub-active-current>li.shiftnav-retract{display:block}.shiftnav ul.shiftnav-menu.shiftnav-targets-medium li.menu-item>.shiftnav-target{padding-top:10px!important;padding-bottom:10px!important}.shiftnav ul.shiftnav-menu.shiftnav-targets-large li.menu-item>.shiftnav-target{padding-top:16px!important;padding-bottom:16px!important}.shiftnav ul.shiftnav-menu.shiftnav-targets-enormous li.menu-item>.shiftnav-target{padding-top:24px!important;padding-bottom:24px!important}.shiftnav ul.shiftnav-menu.shiftnav-targets-text-small li.menu-item>.shiftnav-target{font-size:12px!important}.shiftnav ul.shiftnav-menu.shiftnav-targets-text-medium li.menu-item>.shiftnav-target{font-size:14px!important}.shiftnav ul.shiftnav-menu.shiftnav-targets-text-large li.menu-item>.shiftnav-target{font-size:16px!important}.shiftnav ul.shiftnav-menu.shiftnav-targets-text-enormous li.menu-item>.shiftnav-target{font-size:22px!important}.shiftnav ul.shiftnav-menu.shiftnav-targets-icon-small li.menu-item>.shiftnav-target>i.shiftnav-icon{font-size:100%!important}.shiftnav ul.shiftnav-menu.shiftnav-targets-icon-medium li.menu-item>.shiftnav-target>i.shiftnav-icon{font-size:140%!important}.shiftnav ul.shiftnav-menu.shiftnav-targets-icon-large li.menu-item>.shiftnav-target>i.shiftnav-icon{font-size:180%!important}.shiftnav ul.shiftnav-menu.shiftnav-targets-icon-enormous li.menu-item>.shiftnav-target>i.shiftnav-icon{font-size:250%!important}.shiftnav ul.shiftnav-menu.shiftnav-indent-subs li.shiftnav-sub-always ul.sub-menu li.menu-item>a{padding-left:50px}.shiftnav ul.shiftnav-menu.shiftnav-indent-subs li.shiftnav-sub-always ul.sub-menu ul.sub-menu li.menu-item>a{padding-left:75px}.shiftnav ul.shiftnav-menu.shiftnav-indent-subs li.shiftnav-sub-always ul.sub-menu ul.sub-menu ul.sub-menu li.menu-item>a{padding-left:100px}@media only screen and (max-width:960px){#shiftnav-toggle-main{font-size:16px}}@media only screen and (max-width:479px){.shiftnav{width:320px;max-width:95%}.shiftnav.shiftnav-left-edge{-webkit-transform:translateX(-320px);-moz-transform:translateX(-320px);-ms-transform:translateX(-320px);-o-transform:translateX(-320px);transform:translateX(-320px)}.shiftnav-open.shiftnav-open-left #shiftnav-toggle-main,.shiftnav-open.shiftnav-open-left .shiftnav-fixed-left,.shiftnav-open.shiftnav-open-left .shiftnav-wrap,.shiftnav.shiftnav-right-edge{-webkit-transform:translateX(320px);-moz-transform:translateX(320px);-ms-transform:translateX(320px);-o-transform:translateX(320px);transform:translateX(320px)}.shiftnav-open.shiftnav-open-right #shiftnav-toggle-main,.shiftnav-open.shiftnav-open-right .shiftnav-fixed-right,.shiftnav-open.shiftnav-open-right .shiftnav-wrap{-webkit-transform:translateX(-320px);-moz-transform:translateX(-320px);-ms-transform:translateX(-320px);-o-transform:translateX(-320px);transform:translateX(-320px)}.shiftnav .shiftnav-menu-title{font-size:30px;text-align:center;padding:20px 0;font-weight:400;margin:0}}@media only screen and (max-width:374px){.shiftnav{width:305px;max-width:95%}.shiftnav.shiftnav-left-edge{-webkit-transform:translateX(-305px);-moz-transform:translateX(-305px);-ms-transform:translateX(-305px);-o-transform:translateX(-305px);transform:translateX(-305px)}.shiftnav-open.shiftnav-open-left #shiftnav-toggle-main,.shiftnav-open.shiftnav-open-left .shiftnav-fixed-left,.shiftnav-open.shiftnav-open-left .shiftnav-wrap,.shiftnav.shiftnav-right-edge{-webkit-transform:translateX(305px);-moz-transform:translateX(305px);-ms-transform:translateX(305px);-o-transform:translateX(305px);transform:translateX(305px)}.shiftnav-open.shiftnav-open-right #shiftnav-toggle-main,.shiftnav-open.shiftnav-open-right .shiftnav-fixed-right,.shiftnav-open.shiftnav-open-right .shiftnav-wrap{-webkit-transform:translateX(-305px);-moz-transform:translateX(-305px);-ms-transform:translateX(-305px);-o-transform:translateX(-305px);transform:translateX(-305px)}}@media only screen and (max-width:359px){.shiftnav{width:265px;max-width:95%}.shiftnav.shiftnav-left-edge{-webkit-transform:translateX(-265px);-moz-transform:translateX(-265px);-ms-transform:translateX(-265px);-o-transform:translateX(-265px);transform:translateX(-265px)}.shiftnav-open.shiftnav-open-left #shiftnav-toggle-main,.shiftnav-open.shiftnav-open-left .shiftnav-fixed-left,.shiftnav-open.shiftnav-open-left .shiftnav-wrap,.shiftnav.shiftnav-right-edge{-webkit-transform:translateX(265px);-moz-transform:translateX(265px);-ms-transform:translateX(265px);-o-transform:translateX(265px);transform:translateX(265px)}.shiftnav-open.shiftnav-open-right #shiftnav-toggle-main,.shiftnav-open.shiftnav-open-right .shiftnav-fixed-right,.shiftnav-open.shiftnav-open-right .shiftnav-wrap{-webkit-transform:translateX(-265px);-moz-transform:translateX(-265px);-ms-transform:translateX(-265px);-o-transform:translateX(-265px);transform:translateX(-265px)}}@media only screen and (max-width:319px){.shiftnav{width:230px;max-width:95%}.shiftnav.shiftnav-left-edge{-webkit-transform:translateX(-230px);-moz-transform:translateX(-230px);-ms-transform:translateX(-230px);-o-transform:translateX(-230px);transform:translateX(-230px)}.shiftnav-open.shiftnav-open-left #shiftnav-toggle-main,.shiftnav-open.shiftnav-open-left .shiftnav-fixed-left,.shiftnav-open.shiftnav-open-left .shiftnav-wrap,.shiftnav.shiftnav-right-edge{-webkit-transform:translateX(230px);-moz-transform:translateX(230px);-ms-transform:translateX(230px);-o-transform:translateX(230px);transform:translateX(230px)}.shiftnav-open.shiftnav-open-right #shiftnav-toggle-main,.shiftnav-open.shiftnav-open-right .shiftnav-fixed-right,.shiftnav-open.shiftnav-open-right .shiftnav-wrap{-webkit-transform:translateX(-230px);-moz-transform:translateX(-230px);-ms-transform:translateX(-230px);-o-transform:translateX(-230px);transform:translateX(-230px)}}.shiftnav-content-wrap{padding:25px}.shiftnav-content-wrap-small{padding:10px}.shiftnav-admin-tip{background:#eee;color:#333;padding:20px;border-left:4px solid #E6D244;margin:10px}.shiftnav-admin-tip a,.shiftnav-admin-tip a:visited{color:#00A3FF;text-decoration:underline}.shiftnav-admin-tip a:hover{color:#0D75AF}.shiftnav-admin-tip strong{color:tomato}.shiftnav-loading{display:block;position:fixed;bottom:0;right:20px;background:#35AC6A;color:#fff;padding:15px;max-width:400px}.shiftnav-loading h5{color:#fff;font-weight:700;margin:0}.shiftnav-loading:hover h5{padding-bottom:5px;border-bottom:1px solid #fff}.shiftnav-loading .shiftnav-loading-message{color:#fff;max-height:0;overflow:hidden;visibility:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:all .3s ease-in;transition:all .3s ease-in}.shiftnav-loading:hover .shiftnav-loading-message{visibility:visible;max-height:1000px;overflow:auto}.shiftnav-loading .shiftnav-loading-message p{color:#fff;margin:10px 0}.ie7 .shiftnav,.ie7 .shiftnav-toggle,.ie8 .shiftnav,.ie8 .shiftnav-toggle,.lt-ie9 .shiftnav,.lt-ie9 .shiftnav-toggle{display:none!important}.rtl .shiftnav li.menu-item{text-align:right}.rtl .shiftnav li.menu-item .shiftnav-submenu-activation{right:auto;left:0;-webkit-transform:translateX(0);transform:translateX(0)}.rtl .shiftnav ul.shiftnav-menu li.menu-item.shiftnav-sub-shift.shiftnav-active>.shiftnav-submenu-activation,.rtl .shiftnav ul.shiftnav-menu li.menu-item.shiftnav-sub-shift.shiftnav-in-transition>.shiftnav-submenu-activation{-webkit-transform:translateX(-100%);transform:translateX(-100%)}.rtl .shiftnav li.menu-item.shiftnav-sub-shift>.shiftnav-submenu-activation i:before{content:"\f053"}.rtl .shiftnav ul.shiftnav-menu li.menu-item.shiftnav-has-icon>.shiftnav-target>i.shiftnav-icon{margin-right:0;margin-left:.8em}.rtl .shiftnav ul.shiftnav-menu li.shiftnav-retract>.shiftnav-target i:before{content:"\f054"}.rtl .shiftnav-search input.shiftnav-search-input{padding:14px 25px 14px 50px}.rtl .shiftnav-searchbar-drop .shiftnav-search-input{padding:24px 24px 24px 50px}.rtl .shiftnav-search .shiftnav-search-submit,.rtl .shiftnav-searchbar-drop .shiftnav-search-submit{left:0;right:auto}
|
assets/js/shiftnav.js
CHANGED
@@ -177,11 +177,17 @@ var shift_supports = (function() {
|
|
177 |
$wrap.css( 'padding-top' , toggleHeight );
|
178 |
$main_toggle.addClass( 'shiftnav-togglebar-gap-on' );
|
179 |
|
|
|
180 |
if( shiftnav_data.shift_body == 'off' ){
|
181 |
-
|
182 |
-
//
|
183 |
-
|
184 |
-
|
|
|
|
|
|
|
|
|
|
|
185 |
var sheet = null;
|
186 |
|
187 |
//Get the existing style element in the site head, or create one if it does not exist
|
177 |
$wrap.css( 'padding-top' , toggleHeight );
|
178 |
$main_toggle.addClass( 'shiftnav-togglebar-gap-on' );
|
179 |
|
180 |
+
//Pad body if wrap doesn't exist because shift body is disabled
|
181 |
if( shiftnav_data.shift_body == 'off' ){
|
182 |
+
|
183 |
+
//Create style for padding-top on body
|
184 |
+
var style = 'body.shiftnav-disable-shift-body{ padding-top:'+ toggleHeight + 'px; }';
|
185 |
+
|
186 |
+
//If the breakpoint is set, set up the media query
|
187 |
+
if( shiftnav_data.breakpoint !== '' ){
|
188 |
+
style = '@media screen and (max-width:'+(shiftnav_data.breakpoint-1)+'px){ '+style+' }';
|
189 |
+
}
|
190 |
+
|
191 |
var sheet = null;
|
192 |
|
193 |
//Get the existing style element in the site head, or create one if it does not exist
|
assets/js/shiftnav.min.js
CHANGED
@@ -4,11 +4,11 @@ var shift_supports=function(){var b=document.createElement("div"),g=["Khtml","Ms
|
|
4 |
this.touchMove="MSPointerMove"):(this.touchStart="touchstart",this.touchEnd="touchend",this.touchMove="touchmove");this.toggleevent="touchend"==this.touchEnd?this.touchEnd+" click":this.touchEnd;this.transitionend="transitionend.shiftnav webkitTransitionEnd.shiftnav msTransitionEnd.shiftnav oTransitionEnd.shiftnav";this.settings.clicktest&&(this.touchEnd="click");this.init()}var m={mouseEvents:!0,retractors:!0,touchOffClose:!0,clicktest:!1,windowstest:!1,debug:!1,open_current:!1,collapse_accordions:!1,
|
5 |
scroll_offset:100,disable_transforms:!1};k.prototype={init:function(){this.$shiftnav.removeClass("shiftnav-nojs");this.$toggles=b('.shiftnav-toggle[data-shiftnav-target="'+this.$shiftnav.data("shiftnav-id")+'"]');this.initializeShiftNav();this.initializeTargets();this.initializeSubmenuToggleMouseEvents();this.initializeRetractors();this.initializeResponsiveToggle()},initializeShiftNav:function(){var a=b("body"),d=this;if(!a.hasClass("shiftnav-enabled")){a.addClass("shiftnav-enabled");"on"==shiftnav_data.lock_body&&
|
6 |
a.addClass("shiftnav-lock");"on"==shiftnav_data.lock_body_x&&a.addClass("shiftnav-lock-x");"off"!=shiftnav_data.shift_body?""!=shiftnav_data.shift_body_wrapper?b(shiftnav_data.shift_body_wrapper).addClass("shiftnav-wrap"):(a.wrapInner('<div class="shiftnav-wrap"></div>'),b("video[autoplay]").each(function(){b(this).get(0).play()})):a.addClass("shiftnav-disable-shift-body");b("#shiftnav-toggle-main, #wpadminbar, .shiftnav-fixed-left, .shiftnav-fixed-right").appendTo("body");var c=b(".shiftnav-wrap"),
|
7 |
-
e=b("#shiftnav-toggle-main");if(!e.hasClass("shiftnav-toggle-style-burger_only")&&e.hasClass("shiftnav-togglebar-gap-auto")||e.hasClass("shiftnav-togglebar-gap-on")){var f=e.outerHeight();c.css("padding-top",f);e.addClass("shiftnav-togglebar-gap-on");"off"==shiftnav_data.shift_body&&(c="@media screen and (max-width:"+(shiftnav_data.breakpoint-1)+"px){
|
8 |
-
h.head.appendChild(e)),(e=e.sheet)&&"insertRule"in e&&e.insertRule(c,0))}else b("body").hasClass("admin-bar")&&b("html").addClass("shiftnav-nogap");c=!1;e=navigator.userAgent.toLowerCase();/android/.test(e)&&(c=!0,/android [1-3]/.test(e)?c=!0:/chrome/.test(e)?c=!1:/firefox/.test(e)&&(c=!1));(!shift_supports("transform")||c||d.settings.disable_transforms)&&a.addClass("shiftnav-no-transforms");b(".shiftnav-searchbar-toggle").on(this.toggleevent,
|
9 |
-
a.hasClass("shiftnav-searchbar-drop-open")?(a.removeClass("shiftnav-searchbar-drop-open"),b("body").off("click.shiftnav-searchbar-drop")):(a.addClass("shiftnav-searchbar-drop-open"),a.find(".shiftnav-search-input").focus(),d.settings.touchOffClose&&setTimeout(function(){b("body").on("click.shiftnav-searchbar-drop",function(a){b(".shiftnav-searchbar-drop").removeClass("shiftnav-searchbar-drop-open");b("body").off("click.shiftnav-searchbar-drop")})},
|
10 |
-
function(a){a.stopPropagation()});if(this.settings.touchOffClose)b(".shiftnav-searchbar-drop .shiftnav-search-input").on("blur",function(a){""!=b(this).val()||l||b(this).parents(".shiftnav-searchbar-drop").removeClass("shiftnav-searchbar-drop-open")});var l;b(".shiftnav-searchbar-toggle").on("mousedown",function(a){l=!0});b(".shiftnav-searchbar-toggle").on("mouseup",function(a){l=!1});b(".shiftnav").css("max-height",g.innerHeight);b(g).shiftsmartresize(function(){b(".shiftnav").css("max-height",
|
11 |
-
this.$shiftnav.hasClass("shiftnav-right-edge")?this.edge="right":this.edge="left";this.openclass="shiftnav-open shiftnav-open-"+this.edge;this.$shiftnav.find(".shiftnav-panel-close").on("click",function(){d.closeShiftNav()});this.$shiftnav.find(".shiftnav-submenu-activation").each(function(){var a=b(this).siblings(".shiftnav-target").outerHeight();b(this).css({height:a,width:a})});d.settings.open_current&&b(".shiftnav .shiftnav-sub-accordion.current-menu-item, .shiftnav .shiftnav-sub-accordion.current-menu-ancestor").addClass("shiftnav-active")},
|
12 |
initializeTargets:function(){var a=this;this.$shiftnav.find(".shiftnav-scrollto").removeClass("current-menu-item").removeClass("current-menu-ancestor");this.$shiftnav.on("click",".shiftnav-target",function(d){var c=b(this).data("shiftnav-scrolltarget");if(c){var e=b(c).first();if(0<e.length)return d=b(this).parent(".menu-item"),d.siblings().removeClass("current-menu-item").removeClass("current-menu-ancestor"),d.addClass("current-menu-item"),d=e.offset().top,d-=a.settings.scroll_offset,b("html,body").animate({scrollTop:d},
|
13 |
1E3,"swing",function(){a.closeShiftNav()}),!1;(e=b(this).attr("href"))&&-1==e.indexOf("#")&&(-1==c.indexOf("#")&&(c="#"+c),g.location=e+c,d.preventDefault())}else b(this).is("span")&&(d=b(this).parent(".menu-item"),d.hasClass("shiftnav-active")?a.closeSubmenu(d,"disabledLink",a):a.openSubmenu(d,"disabledLink",a))})},initializeSubmenuToggleMouseEvents:function(){if(this.settings.mouseEvents&&!this.settings.clicktest&&!this.settings.windowstest){this.settings.debug&&console.log("initializeSubmenuToggleMouseEvents");
|
14 |
var a=this;this.$shiftnav.on("mouseup.shift-submenu-toggle",".shiftnav-submenu-activation",function(b){a.handleMouseActivation(b,this,a)})}},disableSubmenuToggleMouseEvents:function(){this.settings.debug&&console.log("disableSubmenuToggleMouseEvents");$shiftnav.off("mouseover.shift-submenu-toggle");$shiftnav.off("mouseout.shift-submenu-toggle")},initializeRetractors:function(){if(this.settings.retractors){var a=this;this.$shiftnav.on("mouseup.shiftnav",".shiftnav-retract",function(b){a.handleSubmenuRetractorEnd(b,
|
4 |
this.touchMove="MSPointerMove"):(this.touchStart="touchstart",this.touchEnd="touchend",this.touchMove="touchmove");this.toggleevent="touchend"==this.touchEnd?this.touchEnd+" click":this.touchEnd;this.transitionend="transitionend.shiftnav webkitTransitionEnd.shiftnav msTransitionEnd.shiftnav oTransitionEnd.shiftnav";this.settings.clicktest&&(this.touchEnd="click");this.init()}var m={mouseEvents:!0,retractors:!0,touchOffClose:!0,clicktest:!1,windowstest:!1,debug:!1,open_current:!1,collapse_accordions:!1,
|
5 |
scroll_offset:100,disable_transforms:!1};k.prototype={init:function(){this.$shiftnav.removeClass("shiftnav-nojs");this.$toggles=b('.shiftnav-toggle[data-shiftnav-target="'+this.$shiftnav.data("shiftnav-id")+'"]');this.initializeShiftNav();this.initializeTargets();this.initializeSubmenuToggleMouseEvents();this.initializeRetractors();this.initializeResponsiveToggle()},initializeShiftNav:function(){var a=b("body"),d=this;if(!a.hasClass("shiftnav-enabled")){a.addClass("shiftnav-enabled");"on"==shiftnav_data.lock_body&&
|
6 |
a.addClass("shiftnav-lock");"on"==shiftnav_data.lock_body_x&&a.addClass("shiftnav-lock-x");"off"!=shiftnav_data.shift_body?""!=shiftnav_data.shift_body_wrapper?b(shiftnav_data.shift_body_wrapper).addClass("shiftnav-wrap"):(a.wrapInner('<div class="shiftnav-wrap"></div>'),b("video[autoplay]").each(function(){b(this).get(0).play()})):a.addClass("shiftnav-disable-shift-body");b("#shiftnav-toggle-main, #wpadminbar, .shiftnav-fixed-left, .shiftnav-fixed-right").appendTo("body");var c=b(".shiftnav-wrap"),
|
7 |
+
e=b("#shiftnav-toggle-main");if(!e.hasClass("shiftnav-toggle-style-burger_only")&&e.hasClass("shiftnav-togglebar-gap-auto")||e.hasClass("shiftnav-togglebar-gap-on")){var f=e.outerHeight();c.css("padding-top",f);e.addClass("shiftnav-togglebar-gap-on");"off"==shiftnav_data.shift_body&&(c="body.shiftnav-disable-shift-body{ padding-top:"+f+"px; }",""!==shiftnav_data.breakpoint&&(c="@media screen and (max-width:"+(shiftnav_data.breakpoint-1)+"px){ "+c+" }"),e=null,e=h.getElementById("shiftnav-dynamic-css"),
|
8 |
+
e||(e=h.createElement("style"),e.appendChild(h.createTextNode("")),h.head.appendChild(e)),(e=e.sheet)&&"insertRule"in e&&e.insertRule(c,0))}else b("body").hasClass("admin-bar")&&b("html").addClass("shiftnav-nogap");c=!1;e=navigator.userAgent.toLowerCase();/android/.test(e)&&(c=!0,/android [1-3]/.test(e)?c=!0:/chrome/.test(e)?c=!1:/firefox/.test(e)&&(c=!1));(!shift_supports("transform")||c||d.settings.disable_transforms)&&a.addClass("shiftnav-no-transforms");b(".shiftnav-searchbar-toggle").on(this.toggleevent,
|
9 |
+
function(a){a.stopPropagation();a.preventDefault();a=b(this).next(".shiftnav-searchbar-drop");a.hasClass("shiftnav-searchbar-drop-open")?(a.removeClass("shiftnav-searchbar-drop-open"),b("body").off("click.shiftnav-searchbar-drop")):(a.addClass("shiftnav-searchbar-drop-open"),a.find(".shiftnav-search-input").focus(),d.settings.touchOffClose&&setTimeout(function(){b("body").on("click.shiftnav-searchbar-drop",function(a){b(".shiftnav-searchbar-drop").removeClass("shiftnav-searchbar-drop-open");b("body").off("click.shiftnav-searchbar-drop")})},
|
10 |
+
100))});b(".shiftnav-searchbar-drop").on(this.toggleevent,function(a){a.stopPropagation()});if(this.settings.touchOffClose)b(".shiftnav-searchbar-drop .shiftnav-search-input").on("blur",function(a){""!=b(this).val()||l||b(this).parents(".shiftnav-searchbar-drop").removeClass("shiftnav-searchbar-drop-open")});var l;b(".shiftnav-searchbar-toggle").on("mousedown",function(a){l=!0});b(".shiftnav-searchbar-toggle").on("mouseup",function(a){l=!1});b(".shiftnav").css("max-height",g.innerHeight);b(g).shiftsmartresize(function(){b(".shiftnav").css("max-height",
|
11 |
+
g.innerHeight)})}this.$shiftnav.appendTo("body");this.$shiftnav.hasClass("shiftnav-right-edge")?this.edge="right":this.edge="left";this.openclass="shiftnav-open shiftnav-open-"+this.edge;this.$shiftnav.find(".shiftnav-panel-close").on("click",function(){d.closeShiftNav()});this.$shiftnav.find(".shiftnav-submenu-activation").each(function(){var a=b(this).siblings(".shiftnav-target").outerHeight();b(this).css({height:a,width:a})});d.settings.open_current&&b(".shiftnav .shiftnav-sub-accordion.current-menu-item, .shiftnav .shiftnav-sub-accordion.current-menu-ancestor").addClass("shiftnav-active")},
|
12 |
initializeTargets:function(){var a=this;this.$shiftnav.find(".shiftnav-scrollto").removeClass("current-menu-item").removeClass("current-menu-ancestor");this.$shiftnav.on("click",".shiftnav-target",function(d){var c=b(this).data("shiftnav-scrolltarget");if(c){var e=b(c).first();if(0<e.length)return d=b(this).parent(".menu-item"),d.siblings().removeClass("current-menu-item").removeClass("current-menu-ancestor"),d.addClass("current-menu-item"),d=e.offset().top,d-=a.settings.scroll_offset,b("html,body").animate({scrollTop:d},
|
13 |
1E3,"swing",function(){a.closeShiftNav()}),!1;(e=b(this).attr("href"))&&-1==e.indexOf("#")&&(-1==c.indexOf("#")&&(c="#"+c),g.location=e+c,d.preventDefault())}else b(this).is("span")&&(d=b(this).parent(".menu-item"),d.hasClass("shiftnav-active")?a.closeSubmenu(d,"disabledLink",a):a.openSubmenu(d,"disabledLink",a))})},initializeSubmenuToggleMouseEvents:function(){if(this.settings.mouseEvents&&!this.settings.clicktest&&!this.settings.windowstest){this.settings.debug&&console.log("initializeSubmenuToggleMouseEvents");
|
14 |
var a=this;this.$shiftnav.on("mouseup.shift-submenu-toggle",".shiftnav-submenu-activation",function(b){a.handleMouseActivation(b,this,a)})}},disableSubmenuToggleMouseEvents:function(){this.settings.debug&&console.log("disableSubmenuToggleMouseEvents");$shiftnav.off("mouseover.shift-submenu-toggle");$shiftnav.off("mouseout.shift-submenu-toggle")},initializeRetractors:function(){if(this.settings.retractors){var a=this;this.$shiftnav.on("mouseup.shiftnav",".shiftnav-retract",function(b){a.handleSubmenuRetractorEnd(b,
|
customizer/customizer.controls.php
CHANGED
@@ -22,6 +22,8 @@ if( class_exists('WP_Customize_Control' ) ) {
|
|
22 |
<span class="description customize-control-description"><?php echo $this->description ; ?></span>
|
23 |
<?php endif;
|
24 |
|
|
|
|
|
25 |
foreach ( $this->choices as $value => $label ) :
|
26 |
?>
|
27 |
<label>
|
@@ -30,6 +32,7 @@ if( class_exists('WP_Customize_Control' ) ) {
|
|
30 |
</label>
|
31 |
<?php
|
32 |
endforeach;
|
|
|
33 |
}
|
34 |
}
|
35 |
}
|
@@ -47,6 +50,8 @@ if( class_exists('WP_Customize_Control' ) ) {
|
|
47 |
$value = $this->value() == 'on' ? true : false;
|
48 |
?>
|
49 |
|
|
|
|
|
50 |
<label>
|
51 |
<input type="checkbox" <?php $this->link(); checked( $value ); ?> />
|
52 |
<strong><?php echo esc_html( $this->label ); ?></strong>
|
@@ -54,6 +59,7 @@ if( class_exists('WP_Customize_Control' ) ) {
|
|
54 |
<span class="description customize-control-description"><?php echo $this->description; ?></span>
|
55 |
<?php endif; ?>
|
56 |
</label>
|
|
|
57 |
<?php
|
58 |
/*
|
59 |
$name = '_customize-radio-' . $this->id;
|
@@ -76,4 +82,4 @@ if( class_exists('WP_Customize_Control' ) ) {
|
|
76 |
}
|
77 |
|
78 |
}
|
79 |
-
}
|
22 |
<span class="description customize-control-description"><?php echo $this->description ; ?></span>
|
23 |
<?php endif;
|
24 |
|
25 |
+
?><span class="customize-inside-control-row"><?php
|
26 |
+
|
27 |
foreach ( $this->choices as $value => $label ) :
|
28 |
?>
|
29 |
<label>
|
32 |
</label>
|
33 |
<?php
|
34 |
endforeach;
|
35 |
+
?></span> <?php
|
36 |
}
|
37 |
}
|
38 |
}
|
50 |
$value = $this->value() == 'on' ? true : false;
|
51 |
?>
|
52 |
|
53 |
+
<span class="customize-inside-control-row">
|
54 |
+
|
55 |
<label>
|
56 |
<input type="checkbox" <?php $this->link(); checked( $value ); ?> />
|
57 |
<strong><?php echo esc_html( $this->label ); ?></strong>
|
59 |
<span class="description customize-control-description"><?php echo $this->description; ?></span>
|
60 |
<?php endif; ?>
|
61 |
</label>
|
62 |
+
</span>
|
63 |
<?php
|
64 |
/*
|
65 |
$name = '_customize-radio-' . $this->id;
|
82 |
}
|
83 |
|
84 |
}
|
85 |
+
}
|
includes/ShiftNavWalker.class.php
CHANGED
@@ -234,7 +234,7 @@ class ShiftNavWalker extends Walker_Nav_Menu {
|
|
234 |
}
|
235 |
}
|
236 |
|
237 |
-
$class_names = join( ' ', apply_filters( 'nav_menu_css_class', array_filter( $classes ), $item, $args ) );
|
238 |
$class_names = $class_names ? ' class="' . esc_attr( $class_names ) . '"' : '';
|
239 |
|
240 |
|
@@ -281,7 +281,7 @@ class ShiftNavWalker extends Walker_Nav_Menu {
|
|
281 |
* @param object $item The current menu item.
|
282 |
* @param array $args An array of arguments. @see wp_nav_menu()
|
283 |
*/
|
284 |
-
$atts = apply_filters( 'nav_menu_link_attributes', $atts, $item, $args );
|
285 |
|
286 |
//Merge ShiftNav atts
|
287 |
$atts = array_merge( $atts , $shiftnav_atts );
|
@@ -441,6 +441,10 @@ class ShiftNavWalker extends Walker_Nav_Menu {
|
|
441 |
return;
|
442 |
}
|
443 |
|
|
|
|
|
|
|
|
|
444 |
|
445 |
if( isset( $children_elements[$element->ID] ) ){
|
446 |
$element->has_sub = 1;
|
234 |
}
|
235 |
}
|
236 |
|
237 |
+
$class_names = join( ' ', apply_filters( 'nav_menu_css_class', array_filter( $classes ), $item, $args , $depth ) );
|
238 |
$class_names = $class_names ? ' class="' . esc_attr( $class_names ) . '"' : '';
|
239 |
|
240 |
|
281 |
* @param object $item The current menu item.
|
282 |
* @param array $args An array of arguments. @see wp_nav_menu()
|
283 |
*/
|
284 |
+
$atts = apply_filters( 'nav_menu_link_attributes', $atts, $item, $args , $depth );
|
285 |
|
286 |
//Merge ShiftNav atts
|
287 |
$atts = array_merge( $atts , $shiftnav_atts );
|
441 |
return;
|
442 |
}
|
443 |
|
444 |
+
//Disabled Submenu
|
445 |
+
if( isset( $data['disable_submenu'] ) && ( $data['disable_submenu'] == 'on' ) ){
|
446 |
+
$this->clear_children( $children_elements , $id );
|
447 |
+
}
|
448 |
|
449 |
if( isset( $children_elements[$element->ID] ) ){
|
450 |
$element->has_sub = 1;
|
includes/functions.php
CHANGED
@@ -260,7 +260,7 @@ function shiftnav_toggle_shortcode( $atts, $content ){
|
|
260 |
'disable_content' => '',
|
261 |
), $atts, 'shiftnav_toggle' ) );
|
262 |
|
263 |
-
if( $disable_content
|
264 |
|
265 |
ob_start();
|
266 |
|
260 |
'disable_content' => '',
|
261 |
), $atts, 'shiftnav_toggle' ) );
|
262 |
|
263 |
+
if( $disable_content == 'true' ) $content = false;
|
264 |
|
265 |
ob_start();
|
266 |
|
languages/shiftnav.pot
CHANGED
@@ -1,14 +1,14 @@
|
|
1 |
-
# Copyright (C)
|
2 |
# This file is distributed under the same license as the ShiftNav Pro - Responsive Mobile Menu package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: ShiftNav Pro - Responsive Mobile Menu 1.6.2\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/shiftnav\n"
|
7 |
-
"POT-Creation-Date:
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
-
"PO-Revision-Date:
|
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
"X-Generator: grunt-wp-i18n 0.4.9\n"
|
@@ -647,6 +647,14 @@ msgstr ""
|
|
647 |
msgid "Always visible"
|
648 |
msgstr ""
|
649 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
650 |
#: customizer/customizer.php:15
|
651 |
msgid "ShiftNav - Toggle Bar"
|
652 |
msgstr ""
|
@@ -1263,74 +1271,74 @@ msgstr ""
|
|
1263 |
msgid "Error"
|
1264 |
msgstr ""
|
1265 |
|
1266 |
-
#: pro/updates/backup.php:
|
1267 |
msgid ""
|
1268 |
"ShiftNav: Could not restore custom.css file, as the directory is not "
|
1269 |
"writable. You can manually restore the file from the "
|
1270 |
"wp-content/uploads/shiftnav_backups directory"
|
1271 |
msgstr ""
|
1272 |
|
1273 |
-
#: pro/updates/backup.php:
|
1274 |
msgid "ShiftNav: Successfully restored custom.css file"
|
1275 |
msgstr ""
|
1276 |
|
1277 |
-
#: pro/updates/backup.php:
|
1278 |
msgid ""
|
1279 |
"ShiftNav: Could not restore custom.less file, as the directory is not "
|
1280 |
"writable. You can manually restore the file from the "
|
1281 |
"wp-content/uploads/shiftnav_backups directory"
|
1282 |
msgstr ""
|
1283 |
|
1284 |
-
#: pro/updates/backup.php:
|
1285 |
msgid "ShiftNav: Successfully restored custom.less file"
|
1286 |
msgstr ""
|
1287 |
|
1288 |
-
#: pro/updates/backup.php:
|
1289 |
msgid ""
|
1290 |
"ShiftNav: Could not restore custom.js file, as the directory is not "
|
1291 |
"writable. You can manually restore the file from the "
|
1292 |
"wp-content/uploads/shiftnav_backups directory"
|
1293 |
msgstr ""
|
1294 |
|
1295 |
-
#: pro/updates/backup.php:
|
1296 |
msgid "ShiftNav: Successfully restored custom.js file"
|
1297 |
msgstr ""
|
1298 |
|
1299 |
-
#: pro/updates/updater.php:
|
1300 |
msgid "Updates"
|
1301 |
msgstr ""
|
1302 |
|
1303 |
-
#: pro/updates/updater.php:
|
1304 |
msgid "Enter your license code to receive updates"
|
1305 |
msgstr ""
|
1306 |
|
1307 |
-
#: pro/updates/updater.php:
|
1308 |
msgid "License Invalid"
|
1309 |
msgstr ""
|
1310 |
|
1311 |
-
#: pro/updates/updater.php:
|
1312 |
msgid "License Expired"
|
1313 |
msgstr ""
|
1314 |
|
1315 |
-
#: pro/updates/updater.php:
|
1316 |
msgid "License is valid"
|
1317 |
msgstr ""
|
1318 |
|
1319 |
-
#: pro/updates/updater.php:
|
1320 |
msgid "Backup custom assets"
|
1321 |
msgstr ""
|
1322 |
|
1323 |
-
#: pro/updates/updater.php:
|
1324 |
msgid ""
|
1325 |
"Automatically backup custom.css and custom.less so that they can be "
|
1326 |
"restored after updating the plugin"
|
1327 |
msgstr ""
|
1328 |
|
1329 |
-
#: pro/updates/updater.php:
|
1330 |
msgid "Automatic backups status"
|
1331 |
msgstr ""
|
1332 |
|
1333 |
-
#: pro/updates/updater.php:
|
1334 |
msgid "License Code"
|
1335 |
msgstr ""
|
1336 |
|
1 |
+
# Copyright (C) 2018 Chris Mavricos, SevenSpark
|
2 |
# This file is distributed under the same license as the ShiftNav Pro - Responsive Mobile Menu package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: ShiftNav Pro - Responsive Mobile Menu 1.6.2.1\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/shiftnav\n"
|
7 |
+
"POT-Creation-Date: 2018-08-09 22:20:34+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"PO-Revision-Date: 2018-MO-DA HO:MI+ZONE\n"
|
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
"X-Generator: grunt-wp-i18n 0.4.9\n"
|
647 |
msgid "Always visible"
|
648 |
msgstr ""
|
649 |
|
650 |
+
#: admin/settings.menu.php:346
|
651 |
+
msgid "Disable Submenu"
|
652 |
+
msgstr ""
|
653 |
+
|
654 |
+
#: admin/settings.menu.php:349
|
655 |
+
msgid "Disable the submenu for this menu item within ShiftNav."
|
656 |
+
msgstr ""
|
657 |
+
|
658 |
#: customizer/customizer.php:15
|
659 |
msgid "ShiftNav - Toggle Bar"
|
660 |
msgstr ""
|
1271 |
msgid "Error"
|
1272 |
msgstr ""
|
1273 |
|
1274 |
+
#: pro/updates/backup.php:169
|
1275 |
msgid ""
|
1276 |
"ShiftNav: Could not restore custom.css file, as the directory is not "
|
1277 |
"writable. You can manually restore the file from the "
|
1278 |
"wp-content/uploads/shiftnav_backups directory"
|
1279 |
msgstr ""
|
1280 |
|
1281 |
+
#: pro/updates/backup.php:172
|
1282 |
msgid "ShiftNav: Successfully restored custom.css file"
|
1283 |
msgstr ""
|
1284 |
|
1285 |
+
#: pro/updates/backup.php:183
|
1286 |
msgid ""
|
1287 |
"ShiftNav: Could not restore custom.less file, as the directory is not "
|
1288 |
"writable. You can manually restore the file from the "
|
1289 |
"wp-content/uploads/shiftnav_backups directory"
|
1290 |
msgstr ""
|
1291 |
|
1292 |
+
#: pro/updates/backup.php:186
|
1293 |
msgid "ShiftNav: Successfully restored custom.less file"
|
1294 |
msgstr ""
|
1295 |
|
1296 |
+
#: pro/updates/backup.php:197
|
1297 |
msgid ""
|
1298 |
"ShiftNav: Could not restore custom.js file, as the directory is not "
|
1299 |
"writable. You can manually restore the file from the "
|
1300 |
"wp-content/uploads/shiftnav_backups directory"
|
1301 |
msgstr ""
|
1302 |
|
1303 |
+
#: pro/updates/backup.php:200
|
1304 |
msgid "ShiftNav: Successfully restored custom.js file"
|
1305 |
msgstr ""
|
1306 |
|
1307 |
+
#: pro/updates/updater.php:45
|
1308 |
msgid "Updates"
|
1309 |
msgstr ""
|
1310 |
|
1311 |
+
#: pro/updates/updater.php:57
|
1312 |
msgid "Enter your license code to receive updates"
|
1313 |
msgstr ""
|
1314 |
|
1315 |
+
#: pro/updates/updater.php:130
|
1316 |
msgid "License Invalid"
|
1317 |
msgstr ""
|
1318 |
|
1319 |
+
#: pro/updates/updater.php:139
|
1320 |
msgid "License Expired"
|
1321 |
msgstr ""
|
1322 |
|
1323 |
+
#: pro/updates/updater.php:144
|
1324 |
msgid "License is valid"
|
1325 |
msgstr ""
|
1326 |
|
1327 |
+
#: pro/updates/updater.php:207
|
1328 |
msgid "Backup custom assets"
|
1329 |
msgstr ""
|
1330 |
|
1331 |
+
#: pro/updates/updater.php:208
|
1332 |
msgid ""
|
1333 |
"Automatically backup custom.css and custom.less so that they can be "
|
1334 |
"restored after updating the plugin"
|
1335 |
msgstr ""
|
1336 |
|
1337 |
+
#: pro/updates/updater.php:216
|
1338 |
msgid "Automatic backups status"
|
1339 |
msgstr ""
|
1340 |
|
1341 |
+
#: pro/updates/updater.php:234
|
1342 |
msgid "License Code"
|
1343 |
msgstr ""
|
1344 |
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: sevenspark
|
|
3 |
Donate link: http://shiftnav.io/pro
|
4 |
Tags: responsive, menu, navigation, mobile, off-canvas, app, slide, sidebar
|
5 |
Requires at least: 4.0
|
6 |
-
Tested up to: 4.9.
|
7 |
-
Stable tag: 1.6.
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -57,6 +57,16 @@ Please see the [ShiftNav Quick Setup Guide](http://sevenspark.com/docs/shiftnav-
|
|
57 |
== Changelog ==
|
58 |
|
59 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
= 1.6.2 =
|
61 |
|
62 |
* Feature: Added shiftnav_main_toggle_icon_class filter
|
3 |
Donate link: http://shiftnav.io/pro
|
4 |
Tags: responsive, menu, navigation, mobile, off-canvas, app, slide, sidebar
|
5 |
Requires at least: 4.0
|
6 |
+
Tested up to: 4.9.8
|
7 |
+
Stable tag: 1.6.3
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
57 |
== Changelog ==
|
58 |
|
59 |
|
60 |
+
= 1.6.3 =
|
61 |
+
|
62 |
+
* Feature: Disable Submenu setting
|
63 |
+
* Feature: Added 'shiftnav_op' filter
|
64 |
+
* Enhancement: Add auto-gap even if no breakpoint is set
|
65 |
+
* [Pro] Enhancement: Display connection errors if trouble communicating with update server
|
66 |
+
* Update: Add $depth parameter to nav_menu_link_attributes filter
|
67 |
+
* Update: Add $depth parameter to nav_menu_css_class filter
|
68 |
+
|
69 |
+
|
70 |
= 1.6.2 =
|
71 |
|
72 |
* Feature: Added shiftnav_main_toggle_icon_class filter
|
shiftnav-responsive-mobile-menu.php
CHANGED
@@ -6,10 +6,10 @@ Description: An off-canvas mobile menu for WordPress
|
|
6 |
Author: Chris Mavricos, SevenSpark
|
7 |
Author URI: http://sevenspark.com
|
8 |
License: GPLv2
|
9 |
-
Version: 1.6.
|
10 |
*/
|
11 |
|
12 |
-
/* Copyright 2014-
|
13 |
|
14 |
// Exit if accessed directly
|
15 |
if ( !defined( 'ABSPATH' ) ) exit;
|
@@ -53,7 +53,7 @@ final class ShiftNav {
|
|
53 |
// Plugin version
|
54 |
|
55 |
if( ! defined( 'SHIFTNAV_VERSION' ) )
|
56 |
-
define( 'SHIFTNAV_VERSION', '1.6.
|
57 |
|
58 |
if( ! defined( 'SHIFTNAV_PRO' ) )
|
59 |
define( 'SHIFTNAV_PRO', false );
|
6 |
Author: Chris Mavricos, SevenSpark
|
7 |
Author URI: http://sevenspark.com
|
8 |
License: GPLv2
|
9 |
+
Version: 1.6.3
|
10 |
*/
|
11 |
|
12 |
+
/* Copyright 2014-2018 Chris Mavricos, SevenSpark */
|
13 |
|
14 |
// Exit if accessed directly
|
15 |
if ( !defined( 'ABSPATH' ) ) exit;
|
53 |
// Plugin version
|
54 |
|
55 |
if( ! defined( 'SHIFTNAV_VERSION' ) )
|
56 |
+
define( 'SHIFTNAV_VERSION', '1.6.3' );
|
57 |
|
58 |
if( ! defined( 'SHIFTNAV_PRO' ) )
|
59 |
define( 'SHIFTNAV_PRO', false );
|