Version Description
- [Pro] Feature: Hide Toggle Bar when scrolling down
- Feature: Major keyboard accessibility features upgrade
- Feature: Added shiftnav-open and shiftnav-close Javascript events to panel
- Feature: Option to close panel immediately on link click
- Accessibility Enhancement: Close panel when focus leaves
- Accessibility Enhancement: Screenreader close button inside panel
- Accessibility Enhancement: Close panel on escape
- Accessibility Enhancement: Aria Label setting for toggle
- [Pro] Enhancement: Improve ScrollTo offset accuracy
- Enhancement: Handle current item ancestors when using UberMenu menu segments
- Enhancement: Improve gap logic
- Enhancement: Properly handle SVG image sizing when selected for panel Top Image
- Compatibility: Removed deprecated create_function() call; minimum PHP version 5.3
- Fix: Panel Title Font Weight setting
- Fix: Properly parse Android 10 to fix animation disabling
- Fix: Class duplication issue
Download this release
Release Info
Developer | sevenspark |
Plugin | ShiftNav – Responsive Mobile Menu |
Version | 1.7.0.1 |
Comparing to | |
See all releases |
Code changes from version 1.6.3 to 1.7.0.1
- admin/settings-api.class.php +19 -15
- admin/settings.config.php +50 -4
- assets/css/less/misc.less +31 -2
- assets/css/less/panel.less +8 -1
- assets/css/less/rtl.less +4 -4
- assets/css/less/toggle.less +6 -1
- assets/css/shiftnav.css +45 -7
- assets/css/shiftnav.min.css +1 -1
- assets/css/skins/light.css +20 -20
- assets/js/shiftnav.js +298 -78
- assets/js/shiftnav.min.js +34 -27
- includes/ShiftNavWalker.class.php +4 -4
- includes/functions.php +88 -60
- includes/shiftnav.api.php +11 -6
- languages/shiftnav.pot +300 -252
- package.json +8 -8
- readme.txt +21 -2
- shiftnav-responsive-mobile-menu.php +3 -3
admin/settings-api.class.php
CHANGED
@@ -118,7 +118,9 @@ class ShiftNav_Settings_API {
|
|
118 |
|
119 |
if ( isset($section['desc']) && !empty($section['desc']) ) {
|
120 |
$section['desc'] = '<div class="inside">'.$section['desc'].'</div>';
|
121 |
-
$callback =
|
|
|
|
|
122 |
} else {
|
123 |
$callback = '__return_false';
|
124 |
}
|
@@ -141,6 +143,7 @@ class ShiftNav_Settings_API {
|
|
141 |
'options' => isset( $option['options'] ) ? $option['options'] : '',
|
142 |
'std' => isset( $option['default'] ) ? $option['default'] : '',
|
143 |
'sanitize_callback' => isset( $option['sanitize_callback'] ) ? $option['sanitize_callback'] : '',
|
|
|
144 |
);
|
145 |
add_settings_field( $section . '[' . $option['name'] . ']', $option['label'], array( $this, 'callback_' . $type ), $section, $section, $args );
|
146 |
}
|
@@ -158,11 +161,12 @@ class ShiftNav_Settings_API {
|
|
158 |
* @param array $args settings field args
|
159 |
*/
|
160 |
function callback_text( $args ) {
|
161 |
-
|
162 |
$value = esc_attr( $this->get_option( $args['id'], $args['section'], $args['std'] ) );
|
163 |
$size = isset( $args['size'] ) && !is_null( $args['size'] ) ? $args['size'] : 'regular';
|
|
|
164 |
|
165 |
-
$html = sprintf( '<input type="
|
166 |
$html .= sprintf( '<span class="description"> %s</span>', $args['desc'] );
|
167 |
|
168 |
echo $html;
|
@@ -373,7 +377,7 @@ class ShiftNav_Settings_API {
|
|
373 |
else{
|
374 |
$src = $value;
|
375 |
}
|
376 |
-
$html.= '<img src="'.$src.'" />';
|
377 |
}
|
378 |
$html.= '</span>';
|
379 |
$html.= sprintf( '<input type="hidden" class="%1$s-text image-url" id="%2$s-%3$s" name="%2$s[%3$s]" value="%4$s"/>', $size, $args['section'], $args['id'], $value );
|
@@ -396,8 +400,8 @@ class ShiftNav_Settings_API {
|
|
396 |
echo $html;
|
397 |
}
|
398 |
*/
|
399 |
-
|
400 |
-
|
401 |
/**
|
402 |
* Sanitize callback for Settings API
|
403 |
*/
|
@@ -406,7 +410,7 @@ class ShiftNav_Settings_API {
|
|
406 |
$sanitize_callback = $this->get_sanitize_callback( $option_slug );
|
407 |
|
408 |
// If callback is set, call it
|
409 |
-
if ( $sanitize_callback ) {
|
410 |
$options[ $option_slug ] = call_user_func( $sanitize_callback, $option_value );
|
411 |
continue;
|
412 |
}
|
@@ -596,19 +600,19 @@ class ShiftNav_Settings_API {
|
|
596 |
jQuery(document).ready(function($){
|
597 |
// Uploading files
|
598 |
var file_frame;
|
599 |
-
|
600 |
jQuery( '.set-image-wrapper' ).on( 'click', '.button' , function( event ){
|
601 |
|
602 |
var $wrap = $( this ).parents( '.set-image-wrapper' );
|
603 |
-
|
604 |
event.preventDefault();
|
605 |
-
|
606 |
// If the media frame already exists, reopen it.
|
607 |
if ( file_frame ) {
|
608 |
file_frame.open();
|
609 |
return;
|
610 |
}
|
611 |
-
|
612 |
// Create the media frame.
|
613 |
file_frame = wp.media.frames.file_frame = wp.media({
|
614 |
title: jQuery( this ).data( 'uploader_title' ),
|
@@ -617,17 +621,17 @@ class ShiftNav_Settings_API {
|
|
617 |
},
|
618 |
multiple: false // Set to true to allow multiple files to be selected
|
619 |
});
|
620 |
-
|
621 |
// When an image is selected, run a callback.
|
622 |
file_frame.on( 'select', function() {
|
623 |
// We set multiple to false so only get one image from the uploader
|
624 |
attachment = file_frame.state().get('selection').first().toJSON();
|
625 |
|
626 |
// Do something with attachment.id and/or attachment.url here
|
627 |
-
$wrap.find( '.image-setting-wrap' ).html( '<img src="' + attachment.url + '"/>' );
|
628 |
$wrap.find( 'input.image-url' ).val( attachment.id );
|
629 |
});
|
630 |
-
|
631 |
// Finally, open the modal
|
632 |
file_frame.open();
|
633 |
});
|
@@ -678,4 +682,4 @@ class ShiftNav_Settings_API {
|
|
678 |
}
|
679 |
|
680 |
}
|
681 |
-
endif;
|
118 |
|
119 |
if ( isset($section['desc']) && !empty($section['desc']) ) {
|
120 |
$section['desc'] = '<div class="inside">'.$section['desc'].'</div>';
|
121 |
+
$callback = function() use ( $section ){
|
122 |
+
echo str_replace('"', '\"', $section['desc']);
|
123 |
+
};
|
124 |
} else {
|
125 |
$callback = '__return_false';
|
126 |
}
|
143 |
'options' => isset( $option['options'] ) ? $option['options'] : '',
|
144 |
'std' => isset( $option['default'] ) ? $option['default'] : '',
|
145 |
'sanitize_callback' => isset( $option['sanitize_callback'] ) ? $option['sanitize_callback'] : '',
|
146 |
+
'input_type' => isset( $option['input_type'] ) ? $option['input_type'] : 'text',
|
147 |
);
|
148 |
add_settings_field( $section . '[' . $option['name'] . ']', $option['label'], array( $this, 'callback_' . $type ), $section, $section, $args );
|
149 |
}
|
161 |
* @param array $args settings field args
|
162 |
*/
|
163 |
function callback_text( $args ) {
|
164 |
+
|
165 |
$value = esc_attr( $this->get_option( $args['id'], $args['section'], $args['std'] ) );
|
166 |
$size = isset( $args['size'] ) && !is_null( $args['size'] ) ? $args['size'] : 'regular';
|
167 |
+
$input_type = isset( $args['input_type'] ) ? $args['input_type'] : 'text';
|
168 |
|
169 |
+
$html = sprintf( '<input type="%5$s" class="%1$s-text" id="%2$s[%3$s]" name="%2$s[%3$s]" value="%4$s"/>', $size, $args['section'], $args['id'], $value, $input_type );
|
170 |
$html .= sprintf( '<span class="description"> %s</span>', $args['desc'] );
|
171 |
|
172 |
echo $html;
|
377 |
else{
|
378 |
$src = $value;
|
379 |
}
|
380 |
+
$html.= '<img width="200" src="'.$src.'" />';
|
381 |
}
|
382 |
$html.= '</span>';
|
383 |
$html.= sprintf( '<input type="hidden" class="%1$s-text image-url" id="%2$s-%3$s" name="%2$s[%3$s]" value="%4$s"/>', $size, $args['section'], $args['id'], $value );
|
400 |
echo $html;
|
401 |
}
|
402 |
*/
|
403 |
+
|
404 |
+
|
405 |
/**
|
406 |
* Sanitize callback for Settings API
|
407 |
*/
|
410 |
$sanitize_callback = $this->get_sanitize_callback( $option_slug );
|
411 |
|
412 |
// If callback is set, call it
|
413 |
+
if ( $sanitize_callback ) {
|
414 |
$options[ $option_slug ] = call_user_func( $sanitize_callback, $option_value );
|
415 |
continue;
|
416 |
}
|
600 |
jQuery(document).ready(function($){
|
601 |
// Uploading files
|
602 |
var file_frame;
|
603 |
+
|
604 |
jQuery( '.set-image-wrapper' ).on( 'click', '.button' , function( event ){
|
605 |
|
606 |
var $wrap = $( this ).parents( '.set-image-wrapper' );
|
607 |
+
|
608 |
event.preventDefault();
|
609 |
+
|
610 |
// If the media frame already exists, reopen it.
|
611 |
if ( file_frame ) {
|
612 |
file_frame.open();
|
613 |
return;
|
614 |
}
|
615 |
+
|
616 |
// Create the media frame.
|
617 |
file_frame = wp.media.frames.file_frame = wp.media({
|
618 |
title: jQuery( this ).data( 'uploader_title' ),
|
621 |
},
|
622 |
multiple: false // Set to true to allow multiple files to be selected
|
623 |
});
|
624 |
+
|
625 |
// When an image is selected, run a callback.
|
626 |
file_frame.on( 'select', function() {
|
627 |
// We set multiple to false so only get one image from the uploader
|
628 |
attachment = file_frame.state().get('selection').first().toJSON();
|
629 |
|
630 |
// Do something with attachment.id and/or attachment.url here
|
631 |
+
$wrap.find( '.image-setting-wrap' ).html( '<img width="200" src="' + attachment.url + '"/>' );
|
632 |
$wrap.find( 'input.image-url' ).val( attachment.id );
|
633 |
});
|
634 |
+
|
635 |
// Finally, open the modal
|
636 |
file_frame.open();
|
637 |
});
|
682 |
}
|
683 |
|
684 |
}
|
685 |
+
endif;
|
admin/settings.config.php
CHANGED
@@ -35,9 +35,16 @@ function shiftnav_get_settings_fields(){
|
|
35 |
<div class="shiftnav-desc-row">
|
36 |
<span class="shiftnav-code-snippet-type">HTML</span> <code class="shiftnav-highlight-code"><a class="shiftnav-toggle shiftnav-toggle-button" data-shiftnav-target="'.$menu.'"><i class="fa fa-bars"></i> Toggle Menu </a></code>
|
37 |
</div>
|
38 |
-
<p class="shiftnav-sub-desc shiftnav-desc-mini" >
|
39 |
-
|
40 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
|
42 |
|
43 |
|
@@ -204,6 +211,8 @@ function shiftnav_get_settings_fields(){
|
|
204 |
'customizer' => true,
|
205 |
'customizer_section' => 'config',
|
206 |
),
|
|
|
|
|
207 |
50 => array(
|
208 |
'name' => 'toggle_content',
|
209 |
'label' => __( 'Toggle Content' , 'shiftnav' ),
|
@@ -215,6 +224,8 @@ function shiftnav_get_settings_fields(){
|
|
215 |
'customizer_section' => 'config',
|
216 |
),
|
217 |
|
|
|
|
|
218 |
60 => array(
|
219 |
'name' => 'toggle_target',
|
220 |
'label' => __( 'Toggle Target' , 'shiftnav' ),
|
@@ -341,6 +352,14 @@ function shiftnav_get_settings_fields(){
|
|
341 |
'customizer_section' => 'styles',
|
342 |
),
|
343 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
344 |
|
345 |
/*
|
346 |
array(
|
@@ -471,15 +490,29 @@ function shiftnav_get_settings_fields(){
|
|
471 |
|
472 |
|
473 |
110 => array(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
474 |
'name' => 'scroll_offset',
|
475 |
'label' => __( 'Scroll Offset', 'shiftnav' ),
|
476 |
'desc' => __( 'When using the ScrollTo functionality, this is the number of pixels to offset the scroll by, to account for the toggle bar and any spacing you want.', 'shiftnav' ),
|
477 |
'type' => 'text',
|
|
|
478 |
'default' => 100,
|
479 |
),
|
480 |
|
481 |
|
482 |
|
|
|
|
|
|
|
|
|
|
|
483 |
160 => array(
|
484 |
'name' => 'open_current',
|
485 |
'label' => __( 'Open Current Accordion Submenu', 'shiftnav' ),
|
@@ -650,6 +683,19 @@ function shiftnav_get_settings_fields(){
|
|
650 |
|
651 |
);
|
652 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
653 |
|
654 |
// $fields = apply_filters( 'shiftnav_settings_panel_fields' , $fields );
|
655 |
|
@@ -678,7 +724,7 @@ function shiftnav_get_settings_sections(){
|
|
678 |
),*/
|
679 |
array(
|
680 |
'id' => $prefix.'shiftnav-main',
|
681 |
-
'title' => __( 'Main ShiftNav Settings', 'shiftnav' )
|
682 |
),
|
683 |
array(
|
684 |
'id' => $prefix.'togglebar',
|
35 |
<div class="shiftnav-desc-row">
|
36 |
<span class="shiftnav-code-snippet-type">HTML</span> <code class="shiftnav-highlight-code"><a class="shiftnav-toggle shiftnav-toggle-button" data-shiftnav-target="'.$menu.'"><i class="fa fa-bars"></i> Toggle Menu </a></code>
|
37 |
</div>
|
38 |
+
<p class="shiftnav-sub-desc shiftnav-desc-mini" >'.
|
39 |
+
sprintf(
|
40 |
+
__( 'Click to select, then %s or %s to copy to clipboard', 'shiftnav' ),
|
41 |
+
'<strong><em>⌘+c</em></strong>',
|
42 |
+
'<strong><em>ctrl+c</em></strong>'
|
43 |
+
).
|
44 |
+
'</p>
|
45 |
+
<p class="shiftnav-sub-desc shiftnav-desc-understated">'.
|
46 |
+
__( 'Pick the appropriate code and add to your template or content where you want the toggle to appear. The menu panel itself is loaded automatically. You can add the toggle code as many times as you like.', 'shiftnav' ).
|
47 |
+
'</p>';
|
48 |
|
49 |
|
50 |
|
211 |
'customizer' => true,
|
212 |
'customizer_section' => 'config',
|
213 |
),
|
214 |
+
|
215 |
+
|
216 |
50 => array(
|
217 |
'name' => 'toggle_content',
|
218 |
'label' => __( 'Toggle Content' , 'shiftnav' ),
|
224 |
'customizer_section' => 'config',
|
225 |
),
|
226 |
|
227 |
+
|
228 |
+
|
229 |
60 => array(
|
230 |
'name' => 'toggle_target',
|
231 |
'label' => __( 'Toggle Target' , 'shiftnav' ),
|
352 |
'customizer_section' => 'styles',
|
353 |
),
|
354 |
|
355 |
+
150 => array(
|
356 |
+
'name' => 'aria_label',
|
357 |
+
'label' => __( 'Toggle Button ARIA Label', 'shiftnav' ),
|
358 |
+
'desc' => __( 'The value for the aria-label attribute', 'shiftnav' ),
|
359 |
+
'type' => 'text',
|
360 |
+
'default' => 'Toggle Menu',
|
361 |
+
),
|
362 |
+
|
363 |
|
364 |
/*
|
365 |
array(
|
490 |
|
491 |
|
492 |
110 => array(
|
493 |
+
'name' => 'close_on_target_click',
|
494 |
+
'label' => __( 'Close panel on menu link click', 'shiftnav' ),
|
495 |
+
'desc' => __( 'Immediately close the panel when a link in the menu is clicked (prior to redirect)' ),
|
496 |
+
'type' => 'checkbox',
|
497 |
+
'default' => 'off',
|
498 |
+
),
|
499 |
+
|
500 |
+
120 => array(
|
501 |
'name' => 'scroll_offset',
|
502 |
'label' => __( 'Scroll Offset', 'shiftnav' ),
|
503 |
'desc' => __( 'When using the ScrollTo functionality, this is the number of pixels to offset the scroll by, to account for the toggle bar and any spacing you want.', 'shiftnav' ),
|
504 |
'type' => 'text',
|
505 |
+
'input_type' => 'number',
|
506 |
'default' => 100,
|
507 |
),
|
508 |
|
509 |
|
510 |
|
511 |
+
|
512 |
+
|
513 |
+
|
514 |
+
|
515 |
+
|
516 |
160 => array(
|
517 |
'name' => 'open_current',
|
518 |
'label' => __( 'Open Current Accordion Submenu', 'shiftnav' ),
|
683 |
|
684 |
);
|
685 |
|
686 |
+
if( SHIFTNAV_PRO ){
|
687 |
+
$gen = SHIFTNAV_PREFIX.'general';
|
688 |
+
$fields[$gen][130] = array(
|
689 |
+
'name' => 'scroll_top_boundary',
|
690 |
+
'label' => __( 'Scroll Top Boundary', 'shiftnav' ),
|
691 |
+
'desc' => __( '(Unrelated to ScrollTo or Scroll Offset). Pixel distance from the top of the viewport at which the user is considered to have scrolled to the top. Used for the Hide Toggle Bar on Scroll Down setting.', 'shiftnav' ),
|
692 |
+
'type' => 'text',
|
693 |
+
'input_type' => 'number',
|
694 |
+
'default' => 50,
|
695 |
+
);
|
696 |
+
}
|
697 |
+
|
698 |
+
|
699 |
|
700 |
// $fields = apply_filters( 'shiftnav_settings_panel_fields' , $fields );
|
701 |
|
724 |
),*/
|
725 |
array(
|
726 |
'id' => $prefix.'shiftnav-main',
|
727 |
+
'title' => __( 'Main ShiftNav Settings', 'shiftnav' ),
|
728 |
),
|
729 |
array(
|
730 |
'id' => $prefix.'togglebar',
|
assets/css/less/misc.less
CHANGED
@@ -45,7 +45,7 @@
|
|
45 |
border-bottom:1px solid #fff;
|
46 |
}
|
47 |
.shiftnav-loading .shiftnav-loading-message{
|
48 |
-
|
49 |
color:#fff;
|
50 |
max-height:0;
|
51 |
overflow:hidden;
|
@@ -76,4 +76,33 @@
|
|
76 |
.ie7 .shiftnav,
|
77 |
.ie7 .shiftnav-toggle{
|
78 |
display:none !important;
|
79 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
border-bottom:1px solid #fff;
|
46 |
}
|
47 |
.shiftnav-loading .shiftnav-loading-message{
|
48 |
+
|
49 |
color:#fff;
|
50 |
max-height:0;
|
51 |
overflow:hidden;
|
76 |
.ie7 .shiftnav,
|
77 |
.ie7 .shiftnav-toggle{
|
78 |
display:none !important;
|
79 |
+
}
|
80 |
+
|
81 |
+
|
82 |
+
.shiftnav-sr-only {
|
83 |
+
position: absolute;
|
84 |
+
width: 1px;
|
85 |
+
height: 1px;
|
86 |
+
padding: 0;
|
87 |
+
margin: -1px;
|
88 |
+
overflow: hidden;
|
89 |
+
clip: rect(0, 0, 0, 0);
|
90 |
+
border: 0;
|
91 |
+
}
|
92 |
+
.shiftnav-sr-only-focusable:active,
|
93 |
+
.shiftnav-sr-only-focusable:focus {
|
94 |
+
position: static;
|
95 |
+
width: auto;
|
96 |
+
height: auto;
|
97 |
+
margin: 0;
|
98 |
+
overflow: visible;
|
99 |
+
clip: auto;
|
100 |
+
}
|
101 |
+
.shiftnav .shiftnav-sr-close{
|
102 |
+
background:white;
|
103 |
+
color:#222;
|
104 |
+
width:100%;
|
105 |
+
padding:15px;
|
106 |
+
text-align:center;
|
107 |
+
font-size:16px;
|
108 |
+
}
|
assets/css/less/panel.less
CHANGED
@@ -34,6 +34,10 @@
|
|
34 |
right:0;
|
35 |
}
|
36 |
|
|
|
|
|
|
|
|
|
37 |
/* Shift the menu */
|
38 |
.shiftnav.shiftnav-left-edge/*add transition class*/{
|
39 |
-webkit-transform: translateX(-290px);
|
@@ -112,7 +116,10 @@
|
|
112 |
padding:15px 20px;
|
113 |
background:rgba(0,0,0,.2);
|
114 |
z-index: 20;
|
115 |
-
|
|
|
|
|
|
|
116 |
}
|
117 |
|
118 |
|
34 |
right:0;
|
35 |
}
|
36 |
|
37 |
+
.shiftnav-target:focus{
|
38 |
+
outline-offset:-2px;
|
39 |
+
}
|
40 |
+
|
41 |
/* Shift the menu */
|
42 |
.shiftnav.shiftnav-left-edge/*add transition class*/{
|
43 |
-webkit-transform: translateX(-290px);
|
116 |
padding:15px 20px;
|
117 |
background:rgba(0,0,0,.2);
|
118 |
z-index: 20;
|
119 |
+
cursor: pointer;
|
120 |
+
border:none;
|
121 |
+
color:inherit;
|
122 |
+
font-size:inherit;
|
123 |
}
|
124 |
|
125 |
|
assets/css/less/rtl.less
CHANGED
@@ -3,9 +3,9 @@
|
|
3 |
}
|
4 |
.rtl .shiftnav li.menu-item .shiftnav-submenu-activation{
|
5 |
right:auto;
|
6 |
-
left:0;
|
7 |
-webkit-transform:translateX(0);
|
8 |
-
transform:translateX(0);
|
9 |
}
|
10 |
.rtl .shiftnav ul.shiftnav-menu li.menu-item.shiftnav-sub-shift.shiftnav-active > .shiftnav-submenu-activation,
|
11 |
.rtl .shiftnav ul.shiftnav-menu li.menu-item.shiftnav-sub-shift.shiftnav-in-transition > .shiftnav-submenu-activation {
|
@@ -29,8 +29,8 @@
|
|
29 |
.rtl .shiftnav-searchbar-drop .shiftnav-search-input{
|
30 |
padding:24px 24px 24px 50px;
|
31 |
}
|
32 |
-
.rtl .shiftnav-search .shiftnav-search-submit,
|
33 |
.rtl .shiftnav-searchbar-drop .shiftnav-search-submit{
|
34 |
left:0;
|
35 |
right:auto;
|
36 |
-
}
|
3 |
}
|
4 |
.rtl .shiftnav li.menu-item .shiftnav-submenu-activation{
|
5 |
right:auto;
|
6 |
+
left:0;
|
7 |
-webkit-transform:translateX(0);
|
8 |
+
transform:translateX(0);
|
9 |
}
|
10 |
.rtl .shiftnav ul.shiftnav-menu li.menu-item.shiftnav-sub-shift.shiftnav-active > .shiftnav-submenu-activation,
|
11 |
.rtl .shiftnav ul.shiftnav-menu li.menu-item.shiftnav-sub-shift.shiftnav-in-transition > .shiftnav-submenu-activation {
|
29 |
.rtl .shiftnav-searchbar-drop .shiftnav-search-input{
|
30 |
padding:24px 24px 24px 50px;
|
31 |
}
|
32 |
+
.rtl .shiftnav-search .shiftnav-search-submit,
|
33 |
.rtl .shiftnav-searchbar-drop .shiftnav-search-submit{
|
34 |
left:0;
|
35 |
right:auto;
|
36 |
+
}
|
assets/css/less/toggle.less
CHANGED
@@ -3,6 +3,11 @@
|
|
3 |
.shiftnav-toggle{
|
4 |
cursor:pointer;
|
5 |
}
|
|
|
|
|
|
|
|
|
|
|
6 |
|
7 |
/* Main Toggle */
|
8 |
|
@@ -204,4 +209,4 @@
|
|
204 |
.shiftnav-open-left .shiftnav-toggle .shiftnav-icon-toggler-left:before,
|
205 |
.shiftnav-open-right .shiftnav-toggle .shiftnav-icon-toggler-right:before{
|
206 |
content:"\f00d";
|
207 |
-
}
|
3 |
.shiftnav-toggle{
|
4 |
cursor:pointer;
|
5 |
}
|
6 |
+
.shiftnav-toggle-burger{
|
7 |
+
color:inherit;
|
8 |
+
font-size:inherit;
|
9 |
+
border:none;
|
10 |
+
}
|
11 |
|
12 |
/* Main Toggle */
|
13 |
|
209 |
.shiftnav-open-left .shiftnav-toggle .shiftnav-icon-toggler-left:before,
|
210 |
.shiftnav-open-right .shiftnav-toggle .shiftnav-icon-toggler-right:before{
|
211 |
content:"\f00d";
|
212 |
+
}
|
assets/css/shiftnav.css
CHANGED
@@ -57,6 +57,11 @@ body.shiftnav-enabled.shiftnav-transition.admin-bar {
|
|
57 |
.shiftnav-toggle {
|
58 |
cursor: pointer;
|
59 |
}
|
|
|
|
|
|
|
|
|
|
|
60 |
/* Main Toggle */
|
61 |
#shiftnav-toggle-main {
|
62 |
position: fixed;
|
@@ -357,6 +362,9 @@ body.admin-bar .shiftnav {
|
|
357 |
.shiftnav.shiftnav-right-edge {
|
358 |
right: 0;
|
359 |
}
|
|
|
|
|
|
|
360 |
/* Shift the menu */
|
361 |
.shiftnav.shiftnav-left-edge {
|
362 |
-webkit-transform: translateX(-290px);
|
@@ -432,6 +440,9 @@ body.admin-bar .shiftnav {
|
|
432 |
background: rgba(0, 0, 0, 0.2);
|
433 |
z-index: 20;
|
434 |
cursor: pointer;
|
|
|
|
|
|
|
435 |
}
|
436 |
/* Menu Title */
|
437 |
.shiftnav .shiftnav-menu-title {
|
@@ -497,14 +508,14 @@ body.admin-bar .shiftnav {
|
|
497 |
text-decoration: none;
|
498 |
position: relative;
|
499 |
cursor: pointer;
|
500 |
-
-webkit-transition: .2s all ease;
|
501 |
-
-moz-transition: .2s all ease;
|
502 |
-
-ms-transition: .2s all ease;
|
503 |
-
-o-transition: .2s all ease;
|
504 |
-
transition: .2s all ease;
|
505 |
}
|
506 |
.shiftnav ul.shiftnav-menu li.menu-item.shiftnav-has-icon > .shiftnav-target > i.shiftnav-icon {
|
507 |
-
margin-right: .8em;
|
508 |
font-size: 150%;
|
509 |
vertical-align: middle;
|
510 |
line-height: inherit;
|
@@ -828,6 +839,33 @@ body.admin-bar .shiftnav {
|
|
828 |
.ie7 .shiftnav-toggle {
|
829 |
display: none !important;
|
830 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
831 |
.rtl .shiftnav li.menu-item {
|
832 |
text-align: right;
|
833 |
}
|
@@ -847,7 +885,7 @@ body.admin-bar .shiftnav {
|
|
847 |
}
|
848 |
.rtl .shiftnav ul.shiftnav-menu li.menu-item.shiftnav-has-icon > .shiftnav-target > i.shiftnav-icon {
|
849 |
margin-right: 0;
|
850 |
-
margin-left: .8em;
|
851 |
}
|
852 |
.rtl .shiftnav ul.shiftnav-menu li.shiftnav-retract > .shiftnav-target i:before {
|
853 |
content: "\f054";
|
57 |
.shiftnav-toggle {
|
58 |
cursor: pointer;
|
59 |
}
|
60 |
+
.shiftnav-toggle-burger {
|
61 |
+
color: inherit;
|
62 |
+
font-size: inherit;
|
63 |
+
border: none;
|
64 |
+
}
|
65 |
/* Main Toggle */
|
66 |
#shiftnav-toggle-main {
|
67 |
position: fixed;
|
362 |
.shiftnav.shiftnav-right-edge {
|
363 |
right: 0;
|
364 |
}
|
365 |
+
.shiftnav-target:focus {
|
366 |
+
outline-offset: -2px;
|
367 |
+
}
|
368 |
/* Shift the menu */
|
369 |
.shiftnav.shiftnav-left-edge {
|
370 |
-webkit-transform: translateX(-290px);
|
440 |
background: rgba(0, 0, 0, 0.2);
|
441 |
z-index: 20;
|
442 |
cursor: pointer;
|
443 |
+
border: none;
|
444 |
+
color: inherit;
|
445 |
+
font-size: inherit;
|
446 |
}
|
447 |
/* Menu Title */
|
448 |
.shiftnav .shiftnav-menu-title {
|
508 |
text-decoration: none;
|
509 |
position: relative;
|
510 |
cursor: pointer;
|
511 |
+
-webkit-transition: 0.2s all ease;
|
512 |
+
-moz-transition: 0.2s all ease;
|
513 |
+
-ms-transition: 0.2s all ease;
|
514 |
+
-o-transition: 0.2s all ease;
|
515 |
+
transition: 0.2s all ease;
|
516 |
}
|
517 |
.shiftnav ul.shiftnav-menu li.menu-item.shiftnav-has-icon > .shiftnav-target > i.shiftnav-icon {
|
518 |
+
margin-right: 0.8em;
|
519 |
font-size: 150%;
|
520 |
vertical-align: middle;
|
521 |
line-height: inherit;
|
839 |
.ie7 .shiftnav-toggle {
|
840 |
display: none !important;
|
841 |
}
|
842 |
+
.shiftnav-sr-only {
|
843 |
+
position: absolute;
|
844 |
+
width: 1px;
|
845 |
+
height: 1px;
|
846 |
+
padding: 0;
|
847 |
+
margin: -1px;
|
848 |
+
overflow: hidden;
|
849 |
+
clip: rect(0, 0, 0, 0);
|
850 |
+
border: 0;
|
851 |
+
}
|
852 |
+
.shiftnav-sr-only-focusable:active,
|
853 |
+
.shiftnav-sr-only-focusable:focus {
|
854 |
+
position: static;
|
855 |
+
width: auto;
|
856 |
+
height: auto;
|
857 |
+
margin: 0;
|
858 |
+
overflow: visible;
|
859 |
+
clip: auto;
|
860 |
+
}
|
861 |
+
.shiftnav .shiftnav-sr-close {
|
862 |
+
background: white;
|
863 |
+
color: #222;
|
864 |
+
width: 100%;
|
865 |
+
padding: 15px;
|
866 |
+
text-align: center;
|
867 |
+
font-size: 16px;
|
868 |
+
}
|
869 |
.rtl .shiftnav li.menu-item {
|
870 |
text-align: right;
|
871 |
}
|
885 |
}
|
886 |
.rtl .shiftnav ul.shiftnav-menu li.menu-item.shiftnav-has-icon > .shiftnav-target > i.shiftnav-icon {
|
887 |
margin-right: 0;
|
888 |
+
margin-left: 0.8em;
|
889 |
}
|
890 |
.rtl .shiftnav ul.shiftnav-menu li.shiftnav-retract > .shiftnav-target i:before {
|
891 |
content: "\f054";
|
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 .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}
|
1 |
+
.shiftnav-wrap,body.shiftnav-lock.shiftnav-open{overflow:hidden}.shiftnav .shiftnav-panel-close,.shiftnav-toggle-burger{border:none;font-size:inherit;color:inherit}.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;font-weight:400}.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-target:focus{outline-offset:-2px}.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 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-large li.menu-item.shiftnav-has-icon>.shiftnav-target>i.shiftnav-icon:before{vertical-align:middle}.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-targets-icon-enormous li.menu-item.shiftnav-has-icon>.shiftnav-target>i.shiftnav-icon:before{vertical-align:middle}.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}.shiftnav-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.shiftnav-sr-only-focusable:active,.shiftnav-sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}.shiftnav .shiftnav-sr-close{background:#fff;color:#222;width:100%;padding:15px;text-align:center;font-size:16px}.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/css/skins/light.css
CHANGED
@@ -2,23 +2,23 @@
|
|
2 |
font-size: 13px;
|
3 |
line-height: 1.3em;
|
4 |
background: #f9f9f9;
|
5 |
-
color: #
|
6 |
}
|
7 |
.shiftnav.shiftnav-skin-light .shiftnav-site-title {
|
8 |
font-size: 30px;
|
9 |
text-align: left;
|
10 |
padding: 40px 25px;
|
11 |
font-weight: normal;
|
12 |
-
color: #
|
13 |
}
|
14 |
.shiftnav.shiftnav-skin-light .shiftnav-activated-style {
|
15 |
-
color: #
|
16 |
-
background: #
|
17 |
border-top-color: transparent;
|
18 |
border-bottom-color: transparent;
|
19 |
}
|
20 |
.shiftnav.shiftnav-skin-light ul.shiftnav-menu li.menu-item > .shiftnav-target {
|
21 |
-
color: #
|
22 |
font-size: 13px;
|
23 |
font-weight: normal;
|
24 |
border-top: none;
|
@@ -27,57 +27,57 @@
|
|
27 |
}
|
28 |
.shiftnav.shiftnav-skin-light ul.shiftnav-menu li.menu-item .shiftnav-submenu-activation {
|
29 |
background: rgba(0, 0, 0, 0.1);
|
30 |
-
color: #
|
31 |
}
|
32 |
.shiftnav.shiftnav-skin-light ul.shiftnav-menu li.menu-item .shiftnav-submenu-activation:hover {
|
33 |
background: rgba(0, 0, 0, 0.2);
|
34 |
-
color: #
|
35 |
}
|
36 |
.shiftnav.shiftnav-skin-light ul.shiftnav-menu li.menu-item.shiftnav-active > .shiftnav-submenu-activation,
|
37 |
.shiftnav.shiftnav-skin-light ul.shiftnav-menu li.menu-item.shiftnav-in-transition > .shiftnav-submenu-activation {
|
38 |
background: rgba(0, 0, 0, 0.1);
|
39 |
-
color: #
|
40 |
}
|
41 |
.shiftnav.shiftnav-skin-light ul.shiftnav-menu li.menu-item.shiftnav-highlight > .shiftnav-target,
|
42 |
.shiftnav.shiftnav-skin-light ul.shiftnav-menu li.menu-item ul.sub-menu .shiftnav-highlight > .shiftnav-target {
|
43 |
-
color: #
|
44 |
background: transparent;
|
45 |
}
|
46 |
.shiftnav.shiftnav-skin-light ul.shiftnav-menu li.menu-item.shiftnav-active > .shiftnav-target,
|
47 |
.shiftnav.shiftnav-skin-light ul.shiftnav-menu li.menu-item.shiftnav-in-transition > .shiftnav-target {
|
48 |
-
color: #
|
49 |
-
background: #
|
50 |
border-top-color: transparent;
|
51 |
border-bottom-color: transparent;
|
52 |
}
|
53 |
.shiftnav.shiftnav-skin-light ul.shiftnav-menu li.menu-item.current-menu-item > .shiftnav-target,
|
54 |
.shiftnav.shiftnav-skin-light ul.shiftnav-menu li.menu-item ul.sub-menu .current-menu-item > .shiftnav-target {
|
55 |
-
color: #
|
56 |
-
background: #
|
57 |
}
|
58 |
.shiftnav.shiftnav-skin-light ul.shiftnav-menu > li.menu-item > .shiftnav-target {
|
59 |
text-transform: normal;
|
60 |
}
|
61 |
.shiftnav.shiftnav-skin-light ul.shiftnav-menu > li.shiftnav-sub-accordion.current-menu-ancestor > .shiftnav-target,
|
62 |
.shiftnav.shiftnav-skin-light ul.shiftnav-menu > li.shiftnav-sub-shift.current-menu-ancestor > .shiftnav-target {
|
63 |
-
color: #
|
64 |
-
background: #
|
65 |
border-top-color: transparent;
|
66 |
border-bottom-color: transparent;
|
67 |
}
|
68 |
.shiftnav.shiftnav-skin-light ul.shiftnav-menu li.shiftnav-retract .shiftnav-target {
|
69 |
background: rgba(0, 0, 0, 0.2);
|
70 |
-
color: #
|
71 |
text-transform: normal;
|
72 |
font-size: 12px;
|
73 |
text-align: right;
|
74 |
}
|
75 |
.shiftnav.shiftnav-skin-light ul.shiftnav-menu ul.sub-menu {
|
76 |
-
color: #
|
77 |
background: #e0e0e0;
|
78 |
}
|
79 |
.shiftnav.shiftnav-skin-light ul.shiftnav-menu ul.sub-menu li.menu-item > .shiftnav-target {
|
80 |
-
color: #
|
81 |
border-width: inherit;
|
82 |
border-top-color: transparent;
|
83 |
border-bottom-color: transparent;
|
@@ -102,8 +102,8 @@
|
|
102 |
.shiftnav.shiftnav-skin-light.shiftnav-nojs ul.shiftnav-menu li.menu-item > .shiftnav-target:hover,
|
103 |
.shiftnav.shiftnav-skin-light ul.shiftnav-menu.shiftnav-active-on-hover li.menu-item > .shiftnav-target:hover,
|
104 |
.shiftnav.shiftnav-skin-light ul.shiftnav-menu.shiftnav-active-highlight li.menu-item > .shiftnav-target:active {
|
105 |
-
color: #
|
106 |
-
background: #
|
107 |
border-top-color: transparent;
|
108 |
border-bottom-color: transparent;
|
109 |
}
|
2 |
font-size: 13px;
|
3 |
line-height: 1.3em;
|
4 |
background: #f9f9f9;
|
5 |
+
color: #666;
|
6 |
}
|
7 |
.shiftnav.shiftnav-skin-light .shiftnav-site-title {
|
8 |
font-size: 30px;
|
9 |
text-align: left;
|
10 |
padding: 40px 25px;
|
11 |
font-weight: normal;
|
12 |
+
color: #333;
|
13 |
}
|
14 |
.shiftnav.shiftnav-skin-light .shiftnav-activated-style {
|
15 |
+
color: #fff;
|
16 |
+
background: #007AFF;
|
17 |
border-top-color: transparent;
|
18 |
border-bottom-color: transparent;
|
19 |
}
|
20 |
.shiftnav.shiftnav-skin-light ul.shiftnav-menu li.menu-item > .shiftnav-target {
|
21 |
+
color: #666;
|
22 |
font-size: 13px;
|
23 |
font-weight: normal;
|
24 |
border-top: none;
|
27 |
}
|
28 |
.shiftnav.shiftnav-skin-light ul.shiftnav-menu li.menu-item .shiftnav-submenu-activation {
|
29 |
background: rgba(0, 0, 0, 0.1);
|
30 |
+
color: #555;
|
31 |
}
|
32 |
.shiftnav.shiftnav-skin-light ul.shiftnav-menu li.menu-item .shiftnav-submenu-activation:hover {
|
33 |
background: rgba(0, 0, 0, 0.2);
|
34 |
+
color: #eee;
|
35 |
}
|
36 |
.shiftnav.shiftnav-skin-light ul.shiftnav-menu li.menu-item.shiftnav-active > .shiftnav-submenu-activation,
|
37 |
.shiftnav.shiftnav-skin-light ul.shiftnav-menu li.menu-item.shiftnav-in-transition > .shiftnav-submenu-activation {
|
38 |
background: rgba(0, 0, 0, 0.1);
|
39 |
+
color: #eee;
|
40 |
}
|
41 |
.shiftnav.shiftnav-skin-light ul.shiftnav-menu li.menu-item.shiftnav-highlight > .shiftnav-target,
|
42 |
.shiftnav.shiftnav-skin-light ul.shiftnav-menu li.menu-item ul.sub-menu .shiftnav-highlight > .shiftnav-target {
|
43 |
+
color: #007AFF;
|
44 |
background: transparent;
|
45 |
}
|
46 |
.shiftnav.shiftnav-skin-light ul.shiftnav-menu li.menu-item.shiftnav-active > .shiftnav-target,
|
47 |
.shiftnav.shiftnav-skin-light ul.shiftnav-menu li.menu-item.shiftnav-in-transition > .shiftnav-target {
|
48 |
+
color: #fff;
|
49 |
+
background: #007AFF;
|
50 |
border-top-color: transparent;
|
51 |
border-bottom-color: transparent;
|
52 |
}
|
53 |
.shiftnav.shiftnav-skin-light ul.shiftnav-menu li.menu-item.current-menu-item > .shiftnav-target,
|
54 |
.shiftnav.shiftnav-skin-light ul.shiftnav-menu li.menu-item ul.sub-menu .current-menu-item > .shiftnav-target {
|
55 |
+
color: #fff;
|
56 |
+
background: #007AFF;
|
57 |
}
|
58 |
.shiftnav.shiftnav-skin-light ul.shiftnav-menu > li.menu-item > .shiftnav-target {
|
59 |
text-transform: normal;
|
60 |
}
|
61 |
.shiftnav.shiftnav-skin-light ul.shiftnav-menu > li.shiftnav-sub-accordion.current-menu-ancestor > .shiftnav-target,
|
62 |
.shiftnav.shiftnav-skin-light ul.shiftnav-menu > li.shiftnav-sub-shift.current-menu-ancestor > .shiftnav-target {
|
63 |
+
color: #fff;
|
64 |
+
background: #007AFF;
|
65 |
border-top-color: transparent;
|
66 |
border-bottom-color: transparent;
|
67 |
}
|
68 |
.shiftnav.shiftnav-skin-light ul.shiftnav-menu li.shiftnav-retract .shiftnav-target {
|
69 |
background: rgba(0, 0, 0, 0.2);
|
70 |
+
color: #fff;
|
71 |
text-transform: normal;
|
72 |
font-size: 12px;
|
73 |
text-align: right;
|
74 |
}
|
75 |
.shiftnav.shiftnav-skin-light ul.shiftnav-menu ul.sub-menu {
|
76 |
+
color: #999;
|
77 |
background: #e0e0e0;
|
78 |
}
|
79 |
.shiftnav.shiftnav-skin-light ul.shiftnav-menu ul.sub-menu li.menu-item > .shiftnav-target {
|
80 |
+
color: #999;
|
81 |
border-width: inherit;
|
82 |
border-top-color: transparent;
|
83 |
border-bottom-color: transparent;
|
102 |
.shiftnav.shiftnav-skin-light.shiftnav-nojs ul.shiftnav-menu li.menu-item > .shiftnav-target:hover,
|
103 |
.shiftnav.shiftnav-skin-light ul.shiftnav-menu.shiftnav-active-on-hover li.menu-item > .shiftnav-target:hover,
|
104 |
.shiftnav.shiftnav-skin-light ul.shiftnav-menu.shiftnav-active-highlight li.menu-item > .shiftnav-target:active {
|
105 |
+
color: #fff;
|
106 |
+
background: #007AFF;
|
107 |
border-top-color: transparent;
|
108 |
border-bottom-color: transparent;
|
109 |
}
|
assets/js/shiftnav.js
CHANGED
@@ -69,7 +69,9 @@ var shift_supports = (function() {
|
|
69 |
open_current: false,
|
70 |
collapse_accordions: false,
|
71 |
scroll_offset:100,
|
72 |
-
disable_transforms: false
|
|
|
|
|
73 |
};
|
74 |
|
75 |
function Plugin ( element, options ) {
|
@@ -128,6 +130,7 @@ var shift_supports = (function() {
|
|
128 |
|
129 |
this.initializeTargets();
|
130 |
this.initializeSubmenuToggleMouseEvents();
|
|
|
131 |
this.initializeRetractors();
|
132 |
this.initializeResponsiveToggle();
|
133 |
|
@@ -171,59 +174,62 @@ var shift_supports = (function() {
|
|
171 |
|
172 |
//Pad top when either using the Full Bar & Auto Gap, or if override is enabled
|
173 |
var $main_toggle = $( '#shiftnav-toggle-main' );
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
sheet
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
|
|
|
|
215 |
|
216 |
//Setup non-transform
|
217 |
//Some browsers provide false positives for feature detection, so we have to do browser detection as well, sadly
|
218 |
var fpos = false; //falsePositive -
|
219 |
var ua = navigator.userAgent.toLowerCase();
|
220 |
|
|
|
|
|
221 |
//Many mobile Android browsers are dumb
|
222 |
if( /android/.test( ua ) ){
|
223 |
fpos = true; //we're going to whitelist mobile Android browsers, so assume false positive on Android
|
224 |
-
|
225 |
//always ignore old androids
|
226 |
-
if( /android [1-3]
|
227 |
//Chrome on 4+ is good
|
228 |
else if( /chrome/.test( ua ) ) fpos = false;
|
229 |
//Firefox on 4+ is good
|
@@ -243,33 +249,24 @@ var shift_supports = (function() {
|
|
243 |
|
244 |
|
245 |
//Handle searchbar toggle
|
246 |
-
$( '.shiftnav-searchbar-toggle' ).
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
setTimeout( function(){
|
265 |
-
$( 'body' ).on( 'click.shiftnav-searchbar-drop' , function( e ){
|
266 |
-
$( '.shiftnav-searchbar-drop' ).removeClass( 'shiftnav-searchbar-drop-open' );
|
267 |
-
$( 'body' ).off( 'click.shiftnav-searchbar-drop' );
|
268 |
-
});
|
269 |
-
}, 100);
|
270 |
-
}
|
271 |
-
}
|
272 |
-
});
|
273 |
$( '.shiftnav-searchbar-drop' ).on( this.toggleevent , function( e ){
|
274 |
e.stopPropagation();
|
275 |
});
|
@@ -309,8 +306,12 @@ var shift_supports = (function() {
|
|
309 |
|
310 |
this.openclass = 'shiftnav-open shiftnav-open-' + this.edge;
|
311 |
|
312 |
-
this.$shiftnav.find( '.shiftnav-panel-close' ).on( 'click' , function(){
|
|
|
|
|
|
|
313 |
plugin.closeShiftNav();
|
|
|
314 |
});
|
315 |
|
316 |
//Set retractor heights
|
@@ -322,15 +323,26 @@ var shift_supports = (function() {
|
|
322 |
//$( this ).css( 'height' , $( this ).parent( '.menu-item' ).height() );
|
323 |
});
|
324 |
|
|
|
|
|
|
|
|
|
|
|
|
|
325 |
|
|
|
|
|
|
|
|
|
326 |
|
327 |
-
|
328 |
if( plugin.settings.open_current ){
|
329 |
$( '.shiftnav .shiftnav-sub-accordion.current-menu-item, .shiftnav .shiftnav-sub-accordion.current-menu-ancestor' ).addClass( 'shiftnav-active' );
|
330 |
}
|
331 |
|
332 |
},
|
333 |
|
|
|
334 |
initializeTargets: function(){
|
335 |
|
336 |
var plugin = this;
|
@@ -339,7 +351,8 @@ var shift_supports = (function() {
|
|
339 |
.removeClass( 'current-menu-item' )
|
340 |
.removeClass( 'current-menu-ancestor');
|
341 |
|
342 |
-
|
|
|
343 |
var scrolltarget = $(this).data( 'shiftnav-scrolltarget' );
|
344 |
if( scrolltarget ){
|
345 |
var $target = $( scrolltarget ).first();
|
@@ -380,6 +393,12 @@ var shift_supports = (function() {
|
|
380 |
plugin.openSubmenu( $li , 'disabledLink' , plugin );
|
381 |
}
|
382 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
383 |
});
|
384 |
|
385 |
},
|
@@ -406,6 +425,27 @@ var shift_supports = (function() {
|
|
406 |
$shiftnav.off( 'mouseout.shift-submenu-toggle' );
|
407 |
},
|
408 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
409 |
|
410 |
initializeRetractors: function() {
|
411 |
|
@@ -414,6 +454,11 @@ var shift_supports = (function() {
|
|
414 |
|
415 |
//set up the retractors
|
416 |
this.$shiftnav.on( 'mouseup.shiftnav' , '.shiftnav-retract' , function(e){ plugin.handleSubmenuRetractorEnd( e , this, plugin); } );
|
|
|
|
|
|
|
|
|
|
|
417 |
},
|
418 |
|
419 |
|
@@ -432,6 +477,28 @@ var shift_supports = (function() {
|
|
432 |
plugin.toggle( $(this) , plugin , e );
|
433 |
});
|
434 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
435 |
},
|
436 |
|
437 |
toggle: function( $toggle , plugin , e ){
|
@@ -466,7 +533,7 @@ var shift_supports = (function() {
|
|
466 |
}
|
467 |
|
468 |
//Temporarily disable toggle for click event when touch is fired
|
469 |
-
if( e.originalEvent.type
|
470 |
$( this ).data( 'disableToggle' , true );
|
471 |
setTimeout( function(){
|
472 |
$( this ).data( 'disableToggle' , false );
|
@@ -501,9 +568,28 @@ var shift_supports = (function() {
|
|
501 |
$( this ).off( plugin.transitionend );
|
502 |
});
|
503 |
|
|
|
|
|
504 |
this.disableTouchoffClose();
|
505 |
this.initializeTouchoffClose();
|
506 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
507 |
},
|
508 |
|
509 |
closeShiftNav: function(){
|
@@ -522,9 +608,22 @@ var shift_supports = (function() {
|
|
522 |
$( this ).off( plugin.transitionend );
|
523 |
});
|
524 |
|
|
|
|
|
525 |
this.disableTouchoffClose();
|
|
|
|
|
|
|
|
|
|
|
526 |
},
|
527 |
|
|
|
|
|
|
|
|
|
|
|
|
|
528 |
initializeTouchoffClose: function(){
|
529 |
|
530 |
if( !this.settings.touchOffClose ) return; //Don't initialize if touch off close is disabled
|
@@ -566,7 +665,6 @@ var shift_supports = (function() {
|
|
566 |
},
|
567 |
|
568 |
|
569 |
-
|
570 |
handleTouchoffClose: function( e , _this , plugin ){
|
571 |
|
572 |
//Don't fire during transtion
|
@@ -640,7 +738,8 @@ var shift_supports = (function() {
|
|
640 |
//scroll to top of the menu, make note of initial position
|
641 |
var y = plugin.scrollPanel();
|
642 |
$li.data( 'scroll-back' , y );
|
643 |
-
var scrollPanelTo = $li.offset().top + y;
|
|
|
644 |
plugin.scrollPanel( scrollPanelTo );
|
645 |
//plugin.scrollPanel( 0 );
|
646 |
}, 100 );
|
@@ -704,8 +803,52 @@ var shift_supports = (function() {
|
|
704 |
$( this.element ).find( 'li.menu-item-has-children' ).removeClass( 'shiftnav-active' );
|
705 |
},
|
706 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
707 |
};
|
708 |
|
|
|
709 |
$.fn[ pluginName ] = function ( options ) {
|
710 |
|
711 |
var args = arguments;
|
@@ -775,7 +918,9 @@ var shift_supports = (function() {
|
|
775 |
breakpoint : parseInt( shiftnav_data.breakpoint ),
|
776 |
touchOffClose: shiftnav_data.touch_off_close == 'on' ? true : false,
|
777 |
scroll_offset: shiftnav_data.scroll_offset,
|
778 |
-
disable_transforms: shiftnav_data.disable_transforms == 'on' ? true : false
|
|
|
|
|
779 |
//debug: true
|
780 |
//mouseEvents: false
|
781 |
//clicktest: true
|
@@ -808,9 +953,84 @@ var shift_supports = (function() {
|
|
808 |
}
|
809 |
}
|
810 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
811 |
$( '.shiftnav' ).trigger( 'shiftnav-loaded' );
|
812 |
}
|
813 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
814 |
function escapeHtml(str) {
|
815 |
var div = document.createElement('div');
|
816 |
div.appendChild(document.createTextNode(str));
|
69 |
open_current: false,
|
70 |
collapse_accordions: false,
|
71 |
scroll_offset:100,
|
72 |
+
disable_transforms: false,
|
73 |
+
close_on_target_click: false,
|
74 |
+
process_uber_segments: true,
|
75 |
};
|
76 |
|
77 |
function Plugin ( element, options ) {
|
130 |
|
131 |
this.initializeTargets();
|
132 |
this.initializeSubmenuToggleMouseEvents();
|
133 |
+
this.initializeSubmenuToggleKeyboardEvents();
|
134 |
this.initializeRetractors();
|
135 |
this.initializeResponsiveToggle();
|
136 |
|
174 |
|
175 |
//Pad top when either using the Full Bar & Auto Gap, or if override is enabled
|
176 |
var $main_toggle = $( '#shiftnav-toggle-main' );
|
177 |
+
if( $main_toggle.length ){ //Only mess with gap if there is a main toggle bar in use
|
178 |
+
if( ( !$main_toggle.hasClass( 'shiftnav-toggle-style-burger_only') && $main_toggle.hasClass( 'shiftnav-togglebar-gap-auto' ) ) ||
|
179 |
+
$main_toggle.hasClass( 'shiftnav-togglebar-gap-on' ) ){
|
180 |
+
var toggleHeight = $main_toggle.outerHeight();
|
181 |
+
$wrap.css( 'padding-top' , toggleHeight );
|
182 |
+
$main_toggle.addClass( 'shiftnav-togglebar-gap-on' );
|
183 |
+
|
184 |
+
//Pad body if wrap doesn't exist because shift body is disabled
|
185 |
+
if( shiftnav_data.shift_body == 'off' ){
|
186 |
+
|
187 |
+
//Create style for padding-top on body
|
188 |
+
var style = 'body.shiftnav-disable-shift-body{ padding-top:'+ toggleHeight + 'px; }';
|
189 |
+
|
190 |
+
//If the breakpoint is set, set up the media query
|
191 |
+
if( shiftnav_data.breakpoint !== '' ){
|
192 |
+
style = '@media screen and (max-width:'+(shiftnav_data.breakpoint-1)+'px){ '+style+' }';
|
193 |
+
}
|
194 |
+
|
195 |
+
var sheet = null;
|
196 |
+
|
197 |
+
//Get the existing style element in the site head, or create one if it does not exist
|
198 |
+
var style_el = document.getElementById( 'shiftnav-dynamic-css' );
|
199 |
+
if( style_el ){
|
200 |
+
sheet = style_el.sheet;
|
201 |
+
}
|
202 |
+
else{
|
203 |
+
style_el = document.createElement("style");
|
204 |
+
style_el.appendChild(document.createTextNode(""));
|
205 |
+
document.head.appendChild(style_el);
|
206 |
+
sheet = style_el.sheet;
|
207 |
+
}
|
208 |
+
|
209 |
+
//Add the rule to the style element
|
210 |
+
if( sheet && "insertRule" in sheet ){
|
211 |
+
sheet.insertRule( style , 0 );
|
212 |
+
}
|
213 |
+
// else{
|
214 |
+
// $body.css( 'padding-top' , toggleHeight ); //would need to pair with an extra class and padding-top:0 in PHP generated CSS
|
215 |
+
// }
|
216 |
+
}
|
217 |
+
}
|
218 |
+
else if( $( 'body' ).hasClass( 'admin-bar' ) ) $( 'html' ).addClass( 'shiftnav-nogap' );
|
219 |
+
}
|
220 |
|
221 |
//Setup non-transform
|
222 |
//Some browsers provide false positives for feature detection, so we have to do browser detection as well, sadly
|
223 |
var fpos = false; //falsePositive -
|
224 |
var ua = navigator.userAgent.toLowerCase();
|
225 |
|
226 |
+
// if( /android [1-3]\./.test( 'mozilla/5.0 (linux; android 9.0; pixel 2 build/opd3.170816.012)' ) ) console.log( 'caught' );
|
227 |
+
|
228 |
//Many mobile Android browsers are dumb
|
229 |
if( /android/.test( ua ) ){
|
230 |
fpos = true; //we're going to whitelist mobile Android browsers, so assume false positive on Android
|
|
|
231 |
//always ignore old androids
|
232 |
+
if( /android [1-3]\./.test( ua ) ) fpos = true;
|
233 |
//Chrome on 4+ is good
|
234 |
else if( /chrome/.test( ua ) ) fpos = false;
|
235 |
//Firefox on 4+ is good
|
249 |
|
250 |
|
251 |
//Handle searchbar toggle
|
252 |
+
$( '.shiftnav-searchbar-toggle' ).each( function(){
|
253 |
+
var $drop = $( this ).next( '.shiftnav-searchbar-drop' );
|
254 |
+
|
255 |
+
$(this)
|
256 |
+
.on( plugin.toggleevent , function(e){
|
257 |
+
plugin.toggleSearchBar(e, $drop, plugin);
|
258 |
+
})
|
259 |
+
.on( 'keyup.shiftnav-searchbar-toggle' , function(e){
|
260 |
+
if( e.keyCode === 13 ){ //return/Enter
|
261 |
+
plugin.toggleSearchBar(e, $drop, plugin);
|
262 |
+
}
|
263 |
+
})
|
264 |
+
.on( 'keydown.shiftnav-searbar-toggle', function(e){
|
265 |
+
if( e.keyCode === 13 ){
|
266 |
+
e.stopPropagation();
|
267 |
+
}
|
268 |
+
});
|
269 |
+
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
270 |
$( '.shiftnav-searchbar-drop' ).on( this.toggleevent , function( e ){
|
271 |
e.stopPropagation();
|
272 |
});
|
306 |
|
307 |
this.openclass = 'shiftnav-open shiftnav-open-' + this.edge;
|
308 |
|
309 |
+
this.$shiftnav.find( '.shiftnav-panel-close' ).on( 'click' , function(e){
|
310 |
+
plugin.closeShiftNav();
|
311 |
+
});
|
312 |
+
this.$shiftnav.find( '.shiftnav-sr-close' ).on( 'click' , function(e){
|
313 |
plugin.closeShiftNav();
|
314 |
+
plugin.focusMainToggle();
|
315 |
});
|
316 |
|
317 |
//Set retractor heights
|
323 |
//$( this ).css( 'height' , $( this ).parent( '.menu-item' ).height() );
|
324 |
});
|
325 |
|
326 |
+
//Open on Focus - hidden elements don't get focus
|
327 |
+
// this.$shiftnav.on( 'focusin' , function(){
|
328 |
+
// if( !$(this).hasClass( 'shiftnav-open-target' ) ){
|
329 |
+
// plugin.openShiftNav();
|
330 |
+
// }
|
331 |
+
// });
|
332 |
|
333 |
+
// Setup current item ancestors when using UberMenu segments
|
334 |
+
if( plugin.settings.process_uber_segments ){
|
335 |
+
this.$shiftnav.find( '.sub-menu .menu-item.current-menu-item' ).parents( '.menu-item' ).addClass( 'current-menu-ancestor' );
|
336 |
+
}
|
337 |
|
338 |
+
//Current open
|
339 |
if( plugin.settings.open_current ){
|
340 |
$( '.shiftnav .shiftnav-sub-accordion.current-menu-item, .shiftnav .shiftnav-sub-accordion.current-menu-ancestor' ).addClass( 'shiftnav-active' );
|
341 |
}
|
342 |
|
343 |
},
|
344 |
|
345 |
+
|
346 |
initializeTargets: function(){
|
347 |
|
348 |
var plugin = this;
|
351 |
.removeClass( 'current-menu-item' )
|
352 |
.removeClass( 'current-menu-ancestor');
|
353 |
|
354 |
+
// Retractors are also targets, so only listen on menu items
|
355 |
+
this.$shiftnav.on( 'click' , '.menu-item > .shiftnav-target' , function( e ){
|
356 |
var scrolltarget = $(this).data( 'shiftnav-scrolltarget' );
|
357 |
if( scrolltarget ){
|
358 |
var $target = $( scrolltarget ).first();
|
393 |
plugin.openSubmenu( $li , 'disabledLink' , plugin );
|
394 |
}
|
395 |
}
|
396 |
+
|
397 |
+
// Close panel if setting is enabled and we're clicking a link
|
398 |
+
if( $(this).prop('tagName').toLowerCase() === 'a' && plugin.settings.close_on_target_click ){
|
399 |
+
plugin.closeShiftNav();
|
400 |
+
}
|
401 |
+
|
402 |
});
|
403 |
|
404 |
},
|
425 |
$shiftnav.off( 'mouseout.shift-submenu-toggle' );
|
426 |
},
|
427 |
|
428 |
+
initializeSubmenuToggleKeyboardEvents: function(){
|
429 |
+
|
430 |
+
if( this.settings.debug ) console.log( 'initializeSubmenuToggleKeyboardEvents' );
|
431 |
+
|
432 |
+
var plugin = this;
|
433 |
+
|
434 |
+
this.$shiftnav.on( 'keyup.shift-submenu-toggle' , '.shiftnav-submenu-activation' , function(e){
|
435 |
+
if( e.keyCode === 13 ){ //return/enter
|
436 |
+
plugin.handleMouseActivation( e , this , plugin );
|
437 |
+
|
438 |
+
//For accordions, set focus on opposite toggle
|
439 |
+
var $switch = $(this).siblings('.shiftnav-submenu-activation').first();
|
440 |
+
if( $switch.length ){
|
441 |
+
setTimeout( function() {
|
442 |
+
$switch.focus();
|
443 |
+
}, 10 );
|
444 |
+
}
|
445 |
+
}
|
446 |
+
});
|
447 |
+
},
|
448 |
+
|
449 |
|
450 |
initializeRetractors: function() {
|
451 |
|
454 |
|
455 |
//set up the retractors
|
456 |
this.$shiftnav.on( 'mouseup.shiftnav' , '.shiftnav-retract' , function(e){ plugin.handleSubmenuRetractorEnd( e , this, plugin); } );
|
457 |
+
this.$shiftnav.on( 'keyup.shiftnav' , '.shiftnav-retract' , function(e){
|
458 |
+
if( e.keyCode === 13 ){ //return/enter
|
459 |
+
plugin.handleSubmenuRetractorEnd( e , this, plugin);
|
460 |
+
}
|
461 |
+
});
|
462 |
},
|
463 |
|
464 |
|
477 |
plugin.toggle( $(this) , plugin , e );
|
478 |
});
|
479 |
|
480 |
+
//Tabbing off of toggle - accessibility
|
481 |
+
this.$toggles.on( 'keydown' , function(e){
|
482 |
+
if( e.keyCode === 9 ){ //TAB
|
483 |
+
var target_id = $(this).data('shiftnav-target');
|
484 |
+
var $panel = $( '[data-shiftnav-id="'+target_id+'"]' );
|
485 |
+
if( $panel.length && $panel.hasClass('shiftnav-open-target') ){
|
486 |
+
e.preventDefault(); //If we don't do this, then we end up on the second focusable - focus, then tab (keyup)
|
487 |
+
$panel.find( 'a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, *[tabindex], *[contenteditable]' ).first().focus();
|
488 |
+
}
|
489 |
+
}
|
490 |
+
});
|
491 |
+
|
492 |
+
//Specifically for main shiftnav
|
493 |
+
if( 'shiftnav-main' === this.$shiftnav.attr('id') ){
|
494 |
+
//Special setup for clicking entire toggle bar, which is a div
|
495 |
+
$('#shiftnav-toggle-main.shiftnav-toggle-main-entire-bar').on( 'keydown', function(e){
|
496 |
+
if( e.keyCode === 13 ){ //return/enter
|
497 |
+
plugin.toggle( $(this), plugin, e );
|
498 |
+
}
|
499 |
+
})
|
500 |
+
}
|
501 |
+
|
502 |
},
|
503 |
|
504 |
toggle: function( $toggle , plugin , e ){
|
533 |
}
|
534 |
|
535 |
//Temporarily disable toggle for click event when touch is fired
|
536 |
+
if( e.originalEvent.type !== 'click' && e.originalEvent.type !== 'keydown' ){
|
537 |
$( this ).data( 'disableToggle' , true );
|
538 |
setTimeout( function(){
|
539 |
$( this ).data( 'disableToggle' , false );
|
568 |
$( this ).off( plugin.transitionend );
|
569 |
});
|
570 |
|
571 |
+
this.$shiftnav.trigger( 'shiftnav-open' );
|
572 |
+
|
573 |
this.disableTouchoffClose();
|
574 |
this.initializeTouchoffClose();
|
575 |
|
576 |
+
//When focus leaves Panel, close
|
577 |
+
$('body').on( 'focusin.shiftnavPanel', function(e){
|
578 |
+
plugin.closeShiftNav();
|
579 |
+
plugin.focusMainToggle();
|
580 |
+
});
|
581 |
+
this.$shiftnav.on( 'focusin.shiftnavPanel', function(e){
|
582 |
+
e.stopPropagation();
|
583 |
+
});
|
584 |
+
|
585 |
+
//On Escape, close panel
|
586 |
+
$(document).on( 'keyup.shiftnavPanel', function(e){
|
587 |
+
if( e.keyCode === 27 ){
|
588 |
+
plugin.closeShiftNav();
|
589 |
+
plugin.focusMainToggle();
|
590 |
+
}
|
591 |
+
})
|
592 |
+
|
593 |
},
|
594 |
|
595 |
closeShiftNav: function(){
|
608 |
$( this ).off( plugin.transitionend );
|
609 |
});
|
610 |
|
611 |
+
this.$shiftnav.trigger( 'shiftnav-close' );
|
612 |
+
|
613 |
this.disableTouchoffClose();
|
614 |
+
|
615 |
+
//Remove focus handlers
|
616 |
+
$( 'body' ).off( 'focusin.shiftnavPanel' );
|
617 |
+
this.$shiftnav.off( 'focusin.shiftnavPanel' );
|
618 |
+
$(document).off( 'keyup.shiftnavPanel' );
|
619 |
},
|
620 |
|
621 |
+
focusMainToggle: function(plugin){
|
622 |
+
if( this.$shiftnav.attr('id') === 'shiftnav-main' ){
|
623 |
+
$('#shiftnav-toggle-main .shiftnav-toggle[data-shiftnav-target="shiftnav-main"]').focus();
|
624 |
+
}
|
625 |
+
},
|
626 |
+
|
627 |
initializeTouchoffClose: function(){
|
628 |
|
629 |
if( !this.settings.touchOffClose ) return; //Don't initialize if touch off close is disabled
|
665 |
},
|
666 |
|
667 |
|
|
|
668 |
handleTouchoffClose: function( e , _this , plugin ){
|
669 |
|
670 |
//Don't fire during transtion
|
738 |
//scroll to top of the menu, make note of initial position
|
739 |
var y = plugin.scrollPanel();
|
740 |
$li.data( 'scroll-back' , y );
|
741 |
+
var scrollPanelTo = $li.offset().top + y - $(window).scrollTop(); //offset by page scroll distance
|
742 |
+
//console.log( $li.offset(), $li.offset().top , y );
|
743 |
plugin.scrollPanel( scrollPanelTo );
|
744 |
//plugin.scrollPanel( 0 );
|
745 |
}, 100 );
|
803 |
$( this.element ).find( 'li.menu-item-has-children' ).removeClass( 'shiftnav-active' );
|
804 |
},
|
805 |
|
806 |
+
|
807 |
+
toggleSearchBar: function( e , $drop, plugin ){
|
808 |
+
e.stopPropagation();
|
809 |
+
e.preventDefault();
|
810 |
+
|
811 |
+
// var $drop = $( this ).next( '.shiftnav-searchbar-drop' );
|
812 |
+
|
813 |
+
//Close
|
814 |
+
if( $drop.hasClass( 'shiftnav-searchbar-drop-open' ) ){
|
815 |
+
$drop.removeClass( 'shiftnav-searchbar-drop-open' );
|
816 |
+
$( 'body' ).off( 'click.shiftnav-searchbar-drop' );
|
817 |
+
}
|
818 |
+
//Open
|
819 |
+
else{
|
820 |
+
$drop.addClass( 'shiftnav-searchbar-drop-open' );
|
821 |
+
$drop.find( '.shiftnav-search-input' ).focus();
|
822 |
+
|
823 |
+
//Close on click-off - can't do this immediately because IE is so damn dumb
|
824 |
+
if( plugin.settings.touchOffClose ){
|
825 |
+
setTimeout( function(){
|
826 |
+
$( 'body' ).on( 'click.shiftnav-searchbar-drop' , function( e ){
|
827 |
+
$( '.shiftnav-searchbar-drop' ).removeClass( 'shiftnav-searchbar-drop-open' );
|
828 |
+
$( 'body' ).off( 'click.shiftnav-searchbar-drop' );
|
829 |
+
});
|
830 |
+
}, 100);
|
831 |
+
}
|
832 |
+
}
|
833 |
+
},
|
834 |
+
|
835 |
+
// throttle: function(f, t) {
|
836 |
+
// return function (args) {
|
837 |
+
// let previousCall = this.lastCall;
|
838 |
+
// if (previousCall === undefined // function is being called for the first time
|
839 |
+
// || (this.lastCall - previousCall) > t) { // throttle time has elapsed
|
840 |
+
// this.lastCall = Date.now();
|
841 |
+
// f(args);
|
842 |
+
// }
|
843 |
+
// else console.log( 'ignore' , this.lastCall - previousCall );
|
844 |
+
// }
|
845 |
+
// }
|
846 |
+
|
847 |
+
|
848 |
+
|
849 |
};
|
850 |
|
851 |
+
|
852 |
$.fn[ pluginName ] = function ( options ) {
|
853 |
|
854 |
var args = arguments;
|
918 |
breakpoint : parseInt( shiftnav_data.breakpoint ),
|
919 |
touchOffClose: shiftnav_data.touch_off_close == 'on' ? true : false,
|
920 |
scroll_offset: shiftnav_data.scroll_offset,
|
921 |
+
disable_transforms: shiftnav_data.disable_transforms == 'on' ? true : false,
|
922 |
+
close_on_target_click: shiftnav_data.close_on_target_click == 'on' ? true : false,
|
923 |
+
process_uber_segments: shiftnav_data.process_uber_segments == 'on' ? true : false,
|
924 |
//debug: true
|
925 |
//mouseEvents: false
|
926 |
//clicktest: true
|
953 |
}
|
954 |
}
|
955 |
|
956 |
+
//Scroll events - we throttle and debounce so that we get updates while scrolling, and also update for the very last position
|
957 |
+
if( shiftnav_data.pro == '1' ){
|
958 |
+
updateScrollDirection();
|
959 |
+
$( window ).on( 'scroll', throttle( debounce( updateScrollDirection, 200 ), 200 ));
|
960 |
+
}
|
961 |
+
|
962 |
+
//Done
|
963 |
$( '.shiftnav' ).trigger( 'shiftnav-loaded' );
|
964 |
}
|
965 |
|
966 |
+
var prevScrollTop = 0; //$(window).scrollTop();
|
967 |
+
var prevScrollDir = '';
|
968 |
+
function updateScrollDirection(){
|
969 |
+
var plugin = this;
|
970 |
+
var $body = $('body');
|
971 |
+
|
972 |
+
// What direction are we scrolling?
|
973 |
+
var scrollTop = $(window).scrollTop();
|
974 |
+
var scrollDir = '';
|
975 |
+
if( scrollTop <= shiftnav_data.scroll_top_boundary ) scrollDir = 'top';
|
976 |
+
else if( scrollTop > prevScrollTop ) scrollDir = 'down';
|
977 |
+
else if( scrollTop < prevScrollTop ) scrollDir = 'up';
|
978 |
+
|
979 |
+
|
980 |
+
// Update classes, but only if we've actually changed direction
|
981 |
+
if( scrollDir !== prevScrollDir ){
|
982 |
+
$body.removeClass( 'shiftnav--scroll-top shiftnav--scroll-up shiftnav--scroll-down' );
|
983 |
+
switch( scrollDir ){
|
984 |
+
case 'top':
|
985 |
+
$body.addClass( 'shiftnav--scroll-top' );
|
986 |
+
break;
|
987 |
+
case 'down':
|
988 |
+
$body.addClass( 'shiftnav--scroll-down' );
|
989 |
+
break;
|
990 |
+
case 'up':
|
991 |
+
$body.addClass( 'shiftnav--scroll-up' );
|
992 |
+
break;
|
993 |
+
default:
|
994 |
+
}
|
995 |
+
}
|
996 |
+
|
997 |
+
// Emit event
|
998 |
+
$body.trigger( 'shiftnav-window-scroll', { scrollTop: scrollTop, scrollDir: scrollDir, prevScrollDir: prevScrollDir } );
|
999 |
+
|
1000 |
+
// Update
|
1001 |
+
prevScrollDir = scrollDir;
|
1002 |
+
prevScrollTop = scrollTop;
|
1003 |
+
|
1004 |
+
};
|
1005 |
+
|
1006 |
+
function debounce(func, wait, immediate) {
|
1007 |
+
var timeout;
|
1008 |
+
return function() {
|
1009 |
+
var context = this, args = arguments;
|
1010 |
+
var later = function() {
|
1011 |
+
timeout = null;
|
1012 |
+
if (!immediate) func.apply(context, args);
|
1013 |
+
};
|
1014 |
+
var callNow = immediate && !timeout;
|
1015 |
+
clearTimeout(timeout);
|
1016 |
+
timeout = setTimeout(later, wait);
|
1017 |
+
if (callNow) func.apply(context, args);
|
1018 |
+
};
|
1019 |
+
};
|
1020 |
+
|
1021 |
+
function throttle( func, limit ){
|
1022 |
+
var inThrottle;
|
1023 |
+
return function() {
|
1024 |
+
var args = arguments;
|
1025 |
+
var context = this;
|
1026 |
+
if (!inThrottle) {
|
1027 |
+
func.apply(context, args);
|
1028 |
+
inThrottle = true;
|
1029 |
+
setTimeout(function(){ inThrottle = false }, limit);
|
1030 |
+
}
|
1031 |
+
}
|
1032 |
+
}
|
1033 |
+
|
1034 |
function escapeHtml(str) {
|
1035 |
var div = document.createElement('div');
|
1036 |
div.appendChild(document.createTextNode(str));
|
assets/js/shiftnav.min.js
CHANGED
@@ -1,27 +1,34 @@
|
|
1 |
-
'use strict';(function(b,
|
2 |
-
var shift_supports=function(){var b=document.createElement("div"),
|
3 |
-
(function(b,g,h
|
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
|
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"),
|
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");
|
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
|
8 |
-
e||(e=
|
9 |
-
|
10 |
-
|
11 |
-
|
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"),
|
13 |
-
1E3,"swing",function(){a.closeShiftNav()}),!1;(e=b(this).attr("href"))&&-1==e.indexOf("#")&&(-1==c.indexOf("#")&&(c="#"+c),
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
b("
|
18 |
-
b(this)
|
19 |
-
c
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
a.
|
24 |
-
|
25 |
-
(
|
26 |
-
|
27 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
'use strict';(function(b,f){var g=function(b,g,f){var a;return function(){var d=this,c=arguments;a?clearTimeout(a):f&&b.apply(d,c);a=setTimeout(function(){f||b.apply(d,c);a=null},g||100)}};jQuery.fn[f]=function(b){return b?this.bind("resize",g(b)):this.trigger(f)}})(jQuery,"shiftsmartresize");
|
2 |
+
var shift_supports=function(){var b=document.createElement("div"),f=["Khtml","Ms","O","Moz","Webkit"];return function(g){var h=f.length;if(g in b.style)return!0;for(g=g.replace(/^[a-z]/,function(b){return b.toUpperCase()});h--;)if(f[h]+g in b.style)return!0;return!1}}();
|
3 |
+
(function(b,f,g,h){function k(a,d){this.element=a;this.$shiftnav=b(this.element);this.$menu=this.$shiftnav.find("ul.shiftnav-menu");this.settings=b.extend({},l,d);this._defaults=l;this._name="shiftnav";this.touchenabled="ontouchstart"in f||0<navigator.maxTouchPoints||0<navigator.msMaxTouchPoints;f.navigator.pointerEnabled?(this.touchStart="pointerdown",this.touchEnd="pointerup",this.touchMove="pointermove"):f.navigator.msPointerEnabled?(this.touchStart="MSPointerDown",this.touchEnd="MSPointerUp",
|
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 l={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,close_on_target_click:!1,process_uber_segments:!0};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.initializeSubmenuToggleKeyboardEvents();this.initializeRetractors();this.initializeResponsiveToggle()},initializeShiftNav:function(){var a=b("body"),
|
6 |
+
d=this;if(!a.hasClass("shiftnav-enabled")){a.addClass("shiftnav-enabled");"on"==shiftnav_data.lock_body&&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");
|
7 |
+
var c=b(".shiftnav-wrap"),e=b("#shiftnav-toggle-main");if(e.length)if(!e.hasClass("shiftnav-toggle-style-burger_only")&&e.hasClass("shiftnav-togglebar-gap-auto")||e.hasClass("shiftnav-togglebar-gap-on")){var n=e.outerHeight();c.css("padding-top",n);e.addClass("shiftnav-togglebar-gap-on");"off"==shiftnav_data.shift_body&&(c="body.shiftnav-disable-shift-body{ padding-top:"+n+"px; }",""!==shiftnav_data.breakpoint&&(c="@media screen and (max-width:"+(shiftnav_data.breakpoint-1)+"px){ "+c+" }"),e=null,
|
8 |
+
e=g.getElementById("shiftnav-dynamic-css"),e||(e=g.createElement("style"),e.appendChild(g.createTextNode("")),g.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");
|
9 |
+
b(".shiftnav-searchbar-toggle").each(function(){var a=b(this).next(".shiftnav-searchbar-drop");b(this).on(d.toggleevent,function(c){d.toggleSearchBar(c,a,d)}).on("keyup.shiftnav-searchbar-toggle",function(c){13===c.keyCode&&d.toggleSearchBar(c,a,d)}).on("keydown.shiftnav-searbar-toggle",function(a){13===a.keyCode&&a.stopPropagation()})});b(".shiftnav-searchbar-drop").on(this.toggleevent,function(a){a.stopPropagation()});if(this.settings.touchOffClose)b(".shiftnav-searchbar-drop .shiftnav-search-input").on("blur",
|
10 |
+
function(a){""!=b(this).val()||m||b(this).parents(".shiftnav-searchbar-drop").removeClass("shiftnav-searchbar-drop-open")});var m;b(".shiftnav-searchbar-toggle").on("mousedown",function(a){m=!0});b(".shiftnav-searchbar-toggle").on("mouseup",function(a){m=!1});b(".shiftnav").css("max-height",f.innerHeight);b(f).shiftsmartresize(function(){b(".shiftnav").css("max-height",f.innerHeight)})}this.$shiftnav.appendTo("body");this.$shiftnav.hasClass("shiftnav-right-edge")?this.edge="right":this.edge="left";
|
11 |
+
this.openclass="shiftnav-open shiftnav-open-"+this.edge;this.$shiftnav.find(".shiftnav-panel-close").on("click",function(a){d.closeShiftNav()});this.$shiftnav.find(".shiftnav-sr-close").on("click",function(a){d.closeShiftNav();d.focusMainToggle()});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.process_uber_segments&&this.$shiftnav.find(".sub-menu .menu-item.current-menu-item").parents(".menu-item").addClass("current-menu-ancestor");
|
12 |
+
d.settings.open_current&&b(".shiftnav .shiftnav-sub-accordion.current-menu-item, .shiftnav .shiftnav-sub-accordion.current-menu-ancestor").addClass("shiftnav-active")},initializeTargets:function(){var a=this;this.$shiftnav.find(".shiftnav-scrollto").removeClass("current-menu-item").removeClass("current-menu-ancestor");this.$shiftnav.on("click",".menu-item > .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"),
|
13 |
+
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},1E3,"swing",function(){a.closeShiftNav()}),!1;(e=b(this).attr("href"))&&-1==e.indexOf("#")&&(-1==c.indexOf("#")&&(c="#"+c),f.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",
|
14 |
+
a));"a"===b(this).prop("tagName").toLowerCase()&&a.settings.close_on_target_click&&a.closeShiftNav()})},initializeSubmenuToggleMouseEvents:function(){if(this.settings.mouseEvents&&!this.settings.clicktest&&!this.settings.windowstest){this.settings.debug&&console.log("initializeSubmenuToggleMouseEvents");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&&
|
15 |
+
console.log("disableSubmenuToggleMouseEvents");$shiftnav.off("mouseover.shift-submenu-toggle");$shiftnav.off("mouseout.shift-submenu-toggle")},initializeSubmenuToggleKeyboardEvents:function(){this.settings.debug&&console.log("initializeSubmenuToggleKeyboardEvents");var a=this;this.$shiftnav.on("keyup.shift-submenu-toggle",".shiftnav-submenu-activation",function(d){if(13===d.keyCode){a.handleMouseActivation(d,this,a);var c=b(this).siblings(".shiftnav-submenu-activation").first();c.length&&setTimeout(function(){c.focus()},
|
16 |
+
10)}})},initializeRetractors:function(){if(this.settings.retractors){var a=this;this.$shiftnav.on("mouseup.shiftnav",".shiftnav-retract",function(b){a.handleSubmenuRetractorEnd(b,this,a)});this.$shiftnav.on("keyup.shiftnav",".shiftnav-retract",function(b){13===b.keyCode&&a.handleSubmenuRetractorEnd(b,this,a)})}},initializeResponsiveToggle:function(){var a=this;this.$toggles.on("click","a",function(a){a.stopPropagation()});this.$toggles.on("click",function(d){a.toggle(b(this),a,d)});this.$toggles.on("keydown",
|
17 |
+
function(a){if(9===a.keyCode){var c=b(this).data("shiftnav-target");c=b('[data-shiftnav-id="'+c+'"]');c.length&&c.hasClass("shiftnav-open-target")&&(a.preventDefault(),c.find("a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, *[tabindex], *[contenteditable]").first().focus())}});if("shiftnav-main"===this.$shiftnav.attr("id"))b("#shiftnav-toggle-main.shiftnav-toggle-main-entire-bar").on("keydown",function(d){13===
|
18 |
+
d.keyCode&&a.toggle(b(this),a,d)})},toggle:function(a,d,c){c.preventDefault();c.stopPropagation();if("click"!=c.originalEvent.type||!b(this).data("disableToggle")){if(d.$shiftnav.hasClass("shiftnav-open-target"))d.closeShiftNav();else{a=a.attr("id");var e="shiftnav-toggle-main"==a?"[Main Toggle Bar]":'"'+b(this).text()+'"';"shiftnav-toggle-main-button"!=a&&"shiftnav-toggle-main"!=a||!b("body").hasClass("shiftnav-open")?d.openShiftNav("toggle: "+e):b(".shiftnav.shiftnav-open-target").shiftnav("closeShiftNav")}"click"!==
|
19 |
+
c.originalEvent.type&&"keydown"!==c.originalEvent.type&&(b(this).data("disableToggle",!0),setTimeout(function(){b(this).data("disableToggle",!1)},1E3));return!1}},openShiftNav:function(a){var d=this;this.settings.debug&&console.log("openShiftNav "+(a||"?"));b("body").removeClass("shiftnav-open-right shiftnav-open-left").addClass(this.openclass).addClass("shiftnav-transitioning");b(".shiftnav-open-target").removeClass("shiftnav-open-target");this.$shiftnav.addClass("shiftnav-open-target").on(d.transitionend,
|
20 |
+
function(){b("body").removeClass("shiftnav-transitioning");b(this).off(d.transitionend)});this.$shiftnav.trigger("shiftnav-open");this.disableTouchoffClose();this.initializeTouchoffClose();b("body").on("focusin.shiftnavPanel",function(a){d.closeShiftNav();d.focusMainToggle()});this.$shiftnav.on("focusin.shiftnavPanel",function(a){a.stopPropagation()});b(g).on("keyup.shiftnavPanel",function(a){27===a.keyCode&&(d.closeShiftNav(),d.focusMainToggle())})},closeShiftNav:function(){var a=this;b("body").removeClass(this.openclass).addClass("shiftnav-transitioning");
|
21 |
+
this.$shiftnav.removeClass("shiftnav-open-target").on(a.transitionend,function(){b("body").removeClass("shiftnav-transitioning");b(this).off(a.transitionend)});this.$shiftnav.trigger("shiftnav-close");this.disableTouchoffClose();b("body").off("focusin.shiftnavPanel");this.$shiftnav.off("focusin.shiftnavPanel");b(g).off("keyup.shiftnavPanel")},focusMainToggle:function(a){"shiftnav-main"===this.$shiftnav.attr("id")&&b('#shiftnav-toggle-main .shiftnav-toggle[data-shiftnav-target="shiftnav-main"]').focus()},
|
22 |
+
initializeTouchoffClose:function(){if(this.settings.touchOffClose){var a=this;b(g).on("click.shiftnav "+this.touchEnd+".shiftnav",function(b){a.handleTouchoffClose(b,this,a)})}},disableTouchoffClose:function(){b(g).off(".shiftnav")},handleMouseActivation:function(a,d,c){c.settings.debug&&console.log("handleMouseover, add mouseout",a);a=b(d).parent();a.hasClass("shiftnav-active")?c.closeSubmenu(a,"mouseActivate",c):c.openSubmenu(a,"mouseActivate",c)},handleSubmenuRetractorEnd:function(a,d,c){a.preventDefault();
|
23 |
+
a.stopPropagation();a=b(d).parent("ul").parent("li");c.closeSubmenu(a,"handleSubmenuRetractor",c);c.settings.debug&&console.log("handleSubmenuRetractorEnd "+a.find("> a").text())},handleTouchoffClose:function(a,d,c){b("body").is(".shiftnav-transitioning")||0!==b(a.target).parents().add(b(a.target)).filter(".shiftnav, .shiftnav-toggle, .shiftnav-ignore").length||(c.settings.debug&&console.log("touchoff close ",a),a.preventDefault(),a.stopPropagation(),c.closeShiftNav(),c.disableTouchoffClose())},scrollPanel:function(a){if("off"==
|
24 |
+
shiftnav_data.scroll_panel)return 0;if("undefined"==typeof a)return this.$shiftnav.find(".shiftnav-inner").scrollTop();this.$shiftnav.find(".shiftnav-inner").scrollTop(a)},openSubmenu:function(a,d,c){a.hasClass("shiftnav-active")||(a.hasClass("shiftnav-sub-shift")?(a.siblings(".shiftnav-active").removeClass("shiftnav-active"),a.toggleClass("shiftnav-caulk"),c.$shiftnav.addClass("shiftnav-sub-shift-active")):c.settings.collapse_accordions&&a.siblings(".shiftnav-active").removeClass("shiftnav-active"),
|
25 |
+
a.parents("ul").removeClass("shiftnav-sub-active-current"),a.find("> ul").addClass("shiftnav-sub-active").addClass("shiftnav-sub-active-current"),setTimeout(function(){a.addClass("shiftnav-active");a.trigger("shiftnav-open-submenu");a.removeClass("shiftnav-caulk");setTimeout(function(){var d=c.scrollPanel();a.data("scroll-back",d);d=a.offset().top+d-b(f).scrollTop();c.scrollPanel(d)},100)},1))},closeSubmenu:function(a,d,c){this.settings.debug&&console.log("closeSubmenu "+a.find(">a").text()+" ["+
|
26 |
+
d+"]");a.hasClass("menu-item-has-children")&&a.hasClass("shiftnav-active")&&(a.addClass("shiftnav-in-transition"),a.each(function(){var a=b(this),e=a.find("> ul");e.on(c.transitionend+"_closesubmenu",function(){c.settings.debug&&console.log("finished submenu close transition");a.removeClass("shiftnav-in-transition");e.off(c.transitionend+"_closesubmenu")});c.closeSubmenu(a.find(".shiftnav-active"),d+"_recursive",c)}));a.removeClass("shiftnav-active");if(a.hasClass("shiftnav-sub-shift")){0==a.parents(".shiftnav-sub-shift").length&&
|
27 |
+
c.$shiftnav.removeClass("shiftnav-sub-shift-active");var e=a.data("scroll-back");"undefined"!==e&&c.scrollPanel(e)}a.find("> ul").removeClass("shiftnav-sub-active").removeClass("shiftnav-sub-active-current");a.closest("ul").addClass("shiftnav-sub-active-current");a.trigger("shiftnav-close-submenu")},closeAllSubmenus:function(){b(this.element).find("li.menu-item-has-children").removeClass("shiftnav-active")},toggleSearchBar:function(a,d,c){a.stopPropagation();a.preventDefault();d.hasClass("shiftnav-searchbar-drop-open")?
|
28 |
+
(d.removeClass("shiftnav-searchbar-drop-open"),b("body").off("click.shiftnav-searchbar-drop")):(d.addClass("shiftnav-searchbar-drop-open"),d.find(".shiftnav-search-input").focus(),c.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")})},100))}};b.fn.shiftnav=function(a){var d=arguments;if(a===h||"object"===typeof a)return this.each(function(){b.data(this,
|
29 |
+
"plugin_shiftnav")||b.data(this,"plugin_shiftnav",new k(this,a))});if("string"===typeof a&&"_"!==a[0]&&"init"!==a){var c;this.each(function(){var e=b.data(this,"plugin_shiftnav");e instanceof k&&"function"===typeof e[a]&&(c=e[a].apply(e,Array.prototype.slice.call(d,1)));"destroy"===a&&b.data(this,"plugin_shiftnav",null)});return c!==h?c:this}}})(jQuery,window,document);
|
30 |
+
(function(b){function f(a){if(!l){l=!0;"undefined"!=typeof console&&"window.load"==a&&console.log("ShiftNav initialized via "+a);b(".shiftnav-loading").remove();jQuery(".shiftnav").shiftnav({open_current:"on"==shiftnav_data.open_current?!0:!1,collapse_accordions:"on"==shiftnav_data.collapse_accordions?!0:!1,breakpoint:parseInt(shiftnav_data.breakpoint),touchOffClose:"on"==shiftnav_data.touch_off_close?!0:!1,scroll_offset:shiftnav_data.scroll_offset,disable_transforms:"on"==shiftnav_data.disable_transforms?
|
31 |
+
!0:!1,close_on_target_click:"on"==shiftnav_data.close_on_target_click?!0:!1,process_uber_segments:"on"==shiftnav_data.process_uber_segments?!0:!1});if("."==window.location.hash.substring(1,2)&&(a=b(window.location.hash.substring(1)),a.length)){var c=a.offset().top-shiftnav_data.scroll_offset;a.length&&window.scrollTo(0,c)}window.location.hash&&(a=window.location.hash,"."==a.substring(1,2)&&(a=a.substring(1)),a=a.replace(/[^#a-z0-9!$&'()*+,;=]/gi,""),a=b(".shiftnav").find('.shiftnav-target[data-shiftnav-scrolltarget="'+
|
32 |
+
a+'"]').parent(),a.length&&(a.siblings().removeClass("current-menu-item").removeClass("current-menu-ancestor"),a.addClass("current-menu-item")));"1"==shiftnav_data.pro&&(g(),b(window).on("scroll",k(h(g,200),200)));b(".shiftnav").trigger("shiftnav-loaded")}}function g(){var c=b("body"),e=b(window).scrollTop(),f="";e<=shiftnav_data.scroll_top_boundary?f="top":e>a?f="down":e<a&&(f="up");if(f!==d)switch(c.removeClass("shiftnav--scroll-top shiftnav--scroll-up shiftnav--scroll-down"),f){case "top":c.addClass("shiftnav--scroll-top");
|
33 |
+
break;case "down":c.addClass("shiftnav--scroll-down");break;case "up":c.addClass("shiftnav--scroll-up")}c.trigger("shiftnav-window-scroll",{scrollTop:e,scrollDir:f,prevScrollDir:d});d=f;a=e}function h(a,b,d){var c;return function(){var e=this,f=arguments,g=d&&!c;clearTimeout(c);c=setTimeout(function(){c=null;d||a.apply(e,f)},b);g&&a.apply(e,f)}}function k(a,b){var c;return function(){var d=arguments;c||(a.apply(this,d),c=!0,setTimeout(function(){c=!1},b))}}var l=!1;jQuery(function(a){f("document.ready")});
|
34 |
+
b(window).on("load",function(){f("window.load")});var a=0,d=""})(jQuery);
|
includes/ShiftNavWalker.class.php
CHANGED
@@ -68,7 +68,7 @@ class ShiftNavWalker extends Walker_Nav_Menu {
|
|
68 |
$back_text = $back_text ? $back_text : __( 'Back' , 'shiftnav' );
|
69 |
|
70 |
//Make Content Customizable
|
71 |
-
$html = '<li class="shiftnav-retract"><'.$back_tag.' class="shiftnav-target"><i class="fa fa-chevron-left"></i> '.$back_text.'</'.$back_tag.'></li>';
|
72 |
|
73 |
return $html;
|
74 |
}
|
@@ -311,13 +311,13 @@ class ShiftNavWalker extends Walker_Nav_Menu {
|
|
311 |
if( $has_sub ){
|
312 |
switch( $submenu_type ){
|
313 |
case 'shift':
|
314 |
-
$item_output.= '<span class="shiftnav-submenu-activation"><i class="fa fa-chevron-right"></i></span>';
|
315 |
break;
|
316 |
case 'accordion':
|
317 |
$open_icon = shiftnav_op( 'accordion_toggle_icon_open' , '__current_instance__' );
|
318 |
$close_icon = shiftnav_op( 'accordion_toggle_icon_close' , '__current_instance__' );
|
319 |
-
$item_output.= '<span class="shiftnav-submenu-activation shiftnav-submenu-activation-open"><i class="fa fa-'.$open_icon.'"></i></span>';
|
320 |
-
$item_output.= '<span class="shiftnav-submenu-activation shiftnav-submenu-activation-close"><i class="fa fa-'.$close_icon.'"></i></span>';
|
321 |
break;
|
322 |
}
|
323 |
}
|
68 |
$back_text = $back_text ? $back_text : __( 'Back' , 'shiftnav' );
|
69 |
|
70 |
//Make Content Customizable
|
71 |
+
$html = '<li class="shiftnav-retract"><'.$back_tag.' tabindex="0" class="shiftnav-target"><i class="fa fa-chevron-left"></i> '.$back_text.'</'.$back_tag.'></li>';
|
72 |
|
73 |
return $html;
|
74 |
}
|
311 |
if( $has_sub ){
|
312 |
switch( $submenu_type ){
|
313 |
case 'shift':
|
314 |
+
$item_output.= '<span tabindex="0" class="shiftnav-submenu-activation"><i class="fa fa-chevron-right"></i></span>';
|
315 |
break;
|
316 |
case 'accordion':
|
317 |
$open_icon = shiftnav_op( 'accordion_toggle_icon_open' , '__current_instance__' );
|
318 |
$close_icon = shiftnav_op( 'accordion_toggle_icon_close' , '__current_instance__' );
|
319 |
+
$item_output.= '<span tabindex="0" class="shiftnav-submenu-activation shiftnav-submenu-activation-open"><i class="fa fa-'.$open_icon.'"></i></span>';
|
320 |
+
$item_output.= '<span tabindex="0" class="shiftnav-submenu-activation shiftnav-submenu-activation-close"><i class="fa fa-'.$close_icon.'"></i></span>';
|
321 |
break;
|
322 |
}
|
323 |
}
|
includes/functions.php
CHANGED
@@ -91,23 +91,30 @@ function shiftnav_inject_css(){
|
|
91 |
}
|
92 |
add_action( 'wp_head' , 'shiftnav_inject_css' );
|
93 |
|
94 |
-
function
|
95 |
|
96 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
97 |
|
98 |
-
if( shiftnav_op( 'display_toggle' , 'togglebar' ) == 'on' ){
|
99 |
|
100 |
-
|
|
|
101 |
<!-- ShiftNav Main Toggle -->
|
102 |
<?php
|
103 |
|
104 |
$disable_toggle = false; //true;
|
105 |
-
$toggle_class = 'shiftnav-toggle-main-align-'.shiftnav_op( 'align' , 'togglebar' );
|
106 |
|
107 |
-
$
|
108 |
-
$toggle_class.= ' shiftnav-toggle-style-'.$
|
|
|
109 |
|
110 |
-
if(
|
111 |
$toggle_class.= ' shiftnav-toggle-main-entire-bar';
|
112 |
}
|
113 |
else{
|
@@ -115,12 +122,9 @@ function shiftnav_direct_injection(){
|
|
115 |
add_action( 'shiftnav_toggle_before_content' , 'shiftnav_main_toggle_burger' , 10 , 3 );
|
116 |
}
|
117 |
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
$togglebar_transparent = shiftnav_op( 'background_transparent' , 'togglebar' );
|
123 |
-
if( $togglebar_transparent == 'on' ) $toggle_class.= ' shiftnav-togglebar-transparent';
|
124 |
|
125 |
|
126 |
/* <div id="shiftnav-toggle-main" class="<?php echo $main_toggle_class; ?>">
|
@@ -128,24 +132,46 @@ function shiftnav_direct_injection(){
|
|
128 |
<?php shiftnav_main_toggle_content(); ?>
|
129 |
</div> */
|
130 |
|
131 |
-
$
|
|
|
|
|
132 |
|
133 |
-
|
134 |
-
|
|
|
135 |
|
|
|
|
|
|
|
136 |
|
137 |
-
|
138 |
-
|
|
|
|
|
139 |
'el' => 'div',
|
140 |
'class' => $toggle_class,
|
141 |
'disable_toggle' => $disable_toggle,
|
|
|
142 |
));
|
143 |
|
144 |
remove_action( 'shiftnav_toggle_before_content' , 'shiftnav_main_toggle_burger' , 10 , 3 );
|
145 |
|
146 |
?>
|
147 |
|
148 |
-
<!-- /#shiftnav-toggle-main -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
149 |
}
|
150 |
|
151 |
if( shiftnav_op( 'display_main' , 'shiftnav-main' ) == 'on' ){
|
@@ -158,27 +184,6 @@ function shiftnav_direct_injection(){
|
|
158 |
if( $footer_content = shiftnav_op( 'footer_content' , 'general' ) ){
|
159 |
echo do_shortcode( $footer_content );
|
160 |
}
|
161 |
-
|
162 |
-
/*
|
163 |
-
if( current_user_can( 'manage_options') ):
|
164 |
-
?>
|
165 |
-
<div class="shiftnav-loading">
|
166 |
-
<h5>ShiftNav is waiting to load...</h5>
|
167 |
-
<div class="shiftnav-loading-message">
|
168 |
-
<p>If this message does not disappear, it means you have a javascript
|
169 |
-
issue on your site which is preventing ShiftNav's script from running.
|
170 |
-
You'll need to resolve that issue in order for ShiftNav to work properly.
|
171 |
-
</p>
|
172 |
-
<p>Check for javascript errors by opening up your browser's javascript console.</p>
|
173 |
-
|
174 |
-
<p>This message will only display to admin users</p>
|
175 |
-
</div>
|
176 |
-
</div>
|
177 |
-
<?php
|
178 |
-
endif;
|
179 |
-
*/
|
180 |
-
|
181 |
-
|
182 |
}
|
183 |
add_action( 'wp_footer', 'shiftnav_direct_injection' );
|
184 |
|
@@ -191,8 +196,10 @@ function shiftnav_main_toggle_burger( $main_toggle , $target_id , $id ){
|
|
191 |
|
192 |
shiftnav_toggle( $main_toggle_target , $main_toggle_content , array(
|
193 |
'id' => 'shiftnav-toggle-main-button' ,
|
194 |
-
'el' => '
|
195 |
'class' => 'shiftnav-toggle-burger',
|
|
|
|
|
196 |
'actions' => false, //if we ran the actions, we'd enter into a weird fifth dimension and collapse the universe
|
197 |
));
|
198 |
//echo '<span class="shiftnav-toggle-burger"><i class="fa fa-bars"></i></span>';
|
@@ -216,6 +223,8 @@ function _shiftnav_toggle( $target_id , $content = '', $args = array() ){
|
|
216 |
'disable_toggle' => false,
|
217 |
'actions' => true,
|
218 |
'icon' => '',
|
|
|
|
|
219 |
) ) );
|
220 |
|
221 |
$content = do_shortcode( $content );
|
@@ -231,14 +240,29 @@ function _shiftnav_toggle( $target_id , $content = '', $args = array() ){
|
|
231 |
$class.= ' shiftnav-toggle-position-absolute';
|
232 |
}
|
233 |
|
234 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
235 |
}
|
236 |
|
237 |
-
if(
|
|
|
|
|
|
|
238 |
|
239 |
echo "<$el ";
|
240 |
if( $id ): ?>id="<?php echo $id; ?>"<?php endif;
|
241 |
-
?> class="<?php echo $class; ?>"
|
242 |
if( $actions ) do_action( 'shiftnav_toggle_before_content' , $main_toggle , $target_id , $id );
|
243 |
if( $icon ) echo '<i class="fa fa-'.$icon.'"></i> ';
|
244 |
echo apply_filters( 'shiftnav_toggle_content' , $content , $target_id , $id );
|
@@ -258,13 +282,14 @@ function shiftnav_toggle_shortcode( $atts, $content ){
|
|
258 |
'class' => '',
|
259 |
'icon' => '',
|
260 |
'disable_content' => '',
|
|
|
261 |
), $atts, 'shiftnav_toggle' ) );
|
262 |
|
263 |
if( $disable_content == 'true' ) $content = false;
|
264 |
|
265 |
ob_start();
|
266 |
|
267 |
-
shiftnav_toggle( $target , $content , array( 'id' => $toggle_id , 'el' => $el , 'class' => $class , 'icon' => $icon ) );
|
268 |
|
269 |
$toggle = ob_get_contents();
|
270 |
|
@@ -318,20 +343,23 @@ function shiftnav_load_assets(){
|
|
318 |
}
|
319 |
|
320 |
wp_localize_script( 'shiftnav' , 'shiftnav_data' , array(
|
321 |
-
'shift_body'
|
322 |
-
'shift_body_wrapper'
|
323 |
-
'lock_body'
|
324 |
-
'lock_body_x'
|
325 |
-
'open_current'
|
326 |
-
'collapse_accordions'
|
327 |
-
'scroll_panel'
|
328 |
-
'breakpoint'
|
329 |
-
'v'
|
330 |
-
|
331 |
-
|
332 |
-
'
|
333 |
-
'
|
334 |
-
|
|
|
|
|
|
|
335 |
) );
|
336 |
}
|
337 |
add_action( 'wp_enqueue_scripts' , 'shiftnav_load_assets' , 101 );
|
91 |
}
|
92 |
add_action( 'wp_head' , 'shiftnav_inject_css' );
|
93 |
|
94 |
+
function shiftnav_togglebar( $toggle_target = 'shiftnav-main', $content = '', $args = array() ){
|
95 |
|
96 |
+
extract( shortcode_atts( array(
|
97 |
+
'bar_id' => '',
|
98 |
+
'toggle_align' => shiftnav_op( 'align' , 'togglebar' ),
|
99 |
+
'toggle_style' => shiftnav_op( 'toggle_bar_style' , 'togglebar' ),
|
100 |
+
'toggle_target_area' => shiftnav_op( 'toggle_target' , 'togglebar' ),
|
101 |
+
'togglebar_gap' => shiftnav_op( 'togglebar_gap' , 'togglebar' ),
|
102 |
+
'togglebar_transparent' => shiftnav_op( 'background_transparent' , 'togglebar' ),
|
103 |
+
), $args ))
|
104 |
|
|
|
105 |
|
106 |
+
?>
|
107 |
+
|
108 |
<!-- ShiftNav Main Toggle -->
|
109 |
<?php
|
110 |
|
111 |
$disable_toggle = false; //true;
|
|
|
112 |
|
113 |
+
$toggle_class = 'shiftnav-toggle-main-align-'.$toggle_align;
|
114 |
+
$toggle_class.= ' shiftnav-toggle-style-'.$toggle_style;
|
115 |
+
$toggle_class.= ' shiftnav-togglebar-gap-'.$togglebar_gap;
|
116 |
|
117 |
+
if( $toggle_target_area == 'entire_bar' ){
|
118 |
$toggle_class.= ' shiftnav-toggle-main-entire-bar';
|
119 |
}
|
120 |
else{
|
122 |
add_action( 'shiftnav_toggle_before_content' , 'shiftnav_main_toggle_burger' , 10 , 3 );
|
123 |
}
|
124 |
|
125 |
+
if( $togglebar_transparent == 'on' ){
|
126 |
+
$toggle_class.= ' shiftnav-togglebar-transparent';
|
127 |
+
}
|
|
|
|
|
|
|
128 |
|
129 |
|
130 |
/* <div id="shiftnav-toggle-main" class="<?php echo $main_toggle_class; ?>">
|
132 |
<?php shiftnav_main_toggle_content(); ?>
|
133 |
</div> */
|
134 |
|
135 |
+
$toggle_target = apply_filters( 'shiftnav_main_toggle_target' , $toggle_target );
|
136 |
+
|
137 |
+
if( $toggle_style === 'burger_only' ) $content = false;
|
138 |
|
139 |
+
/*
|
140 |
+
?>
|
141 |
+
<div id="<?php echo $bar_id; ?>">
|
142 |
|
143 |
+
</div>
|
144 |
+
<?php
|
145 |
+
*/
|
146 |
|
147 |
+
// echo $content;
|
148 |
+
|
149 |
+
shiftnav_toggle( $toggle_target , $content , array(
|
150 |
+
'id' => $bar_id,
|
151 |
'el' => 'div',
|
152 |
'class' => $toggle_class,
|
153 |
'disable_toggle' => $disable_toggle,
|
154 |
+
'tabindex' => 1,
|
155 |
));
|
156 |
|
157 |
remove_action( 'shiftnav_toggle_before_content' , 'shiftnav_main_toggle_burger' , 10 , 3 );
|
158 |
|
159 |
?>
|
160 |
|
161 |
+
<!-- /#shiftnav-toggle-main -->
|
162 |
+
|
163 |
+
<?php
|
164 |
+
}
|
165 |
+
|
166 |
+
function shiftnav_direct_injection(){
|
167 |
+
|
168 |
+
if( !_SHIFTNAV()->display_now() ) return;
|
169 |
+
|
170 |
+
if( shiftnav_op( 'display_toggle' , 'togglebar' ) == 'on' ){
|
171 |
+
$content = '';
|
172 |
+
$toggle_style = shiftnav_op( 'toggle_bar_style' , 'togglebar' );
|
173 |
+
if( $toggle_style !== 'burger_only' ) $content = shiftnav_main_toggle_content();
|
174 |
+
shiftnav_togglebar( 'shiftnav-main' , $content , array( 'bar_id' => 'shiftnav-toggle-main' ));
|
175 |
}
|
176 |
|
177 |
if( shiftnav_op( 'display_main' , 'shiftnav-main' ) == 'on' ){
|
184 |
if( $footer_content = shiftnav_op( 'footer_content' , 'general' ) ){
|
185 |
echo do_shortcode( $footer_content );
|
186 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
187 |
}
|
188 |
add_action( 'wp_footer', 'shiftnav_direct_injection' );
|
189 |
|
196 |
|
197 |
shiftnav_toggle( $main_toggle_target , $main_toggle_content , array(
|
198 |
'id' => 'shiftnav-toggle-main-button' ,
|
199 |
+
'el' => 'button',
|
200 |
'class' => 'shiftnav-toggle-burger',
|
201 |
+
'tabindex' => 1,
|
202 |
+
'aria_label' => shiftnav_op( 'aria_label' , 'togglebar' ),
|
203 |
'actions' => false, //if we ran the actions, we'd enter into a weird fifth dimension and collapse the universe
|
204 |
));
|
205 |
//echo '<span class="shiftnav-toggle-burger"><i class="fa fa-bars"></i></span>';
|
223 |
'disable_toggle' => false,
|
224 |
'actions' => true,
|
225 |
'icon' => '',
|
226 |
+
'tabindex' => 0,
|
227 |
+
'aria_label' => false,
|
228 |
) ) );
|
229 |
|
230 |
$content = do_shortcode( $content );
|
240 |
$class.= ' shiftnav-toggle-position-absolute';
|
241 |
}
|
242 |
|
243 |
+
if( shiftnav_op( 'hide_bar_on_scroll', 'togglebar', 'off' ) === 'on' ){
|
244 |
+
$class.= ' shiftnav--hide-scroll-down';
|
245 |
+
}
|
246 |
+
|
247 |
+
// $class.= ' ' . $class;
|
248 |
+
}
|
249 |
+
|
250 |
+
$target_att = '';
|
251 |
+
$tabindex_att = '';
|
252 |
+
if( !$disable_toggle ){
|
253 |
+
$tabindex_att = 'tabindex="'.$tabindex.'"';
|
254 |
+
$target_att = 'data-shiftnav-target="'.$target_id.'"';
|
255 |
+
$class = 'shiftnav-toggle shiftnav-toggle-'.$target_id.' '.$class;
|
256 |
}
|
257 |
|
258 |
+
if( $aria_label ) $aria_label = 'aria-label="'.$aria_label.'"';
|
259 |
+
|
260 |
+
|
261 |
+
|
262 |
|
263 |
echo "<$el ";
|
264 |
if( $id ): ?>id="<?php echo $id; ?>"<?php endif;
|
265 |
+
?> class="<?php echo $class; ?>" <?php echo $tabindex_att; ?> <?php echo $target_att; ?> <?php echo $aria_label; ?>><?php
|
266 |
if( $actions ) do_action( 'shiftnav_toggle_before_content' , $main_toggle , $target_id , $id );
|
267 |
if( $icon ) echo '<i class="fa fa-'.$icon.'"></i> ';
|
268 |
echo apply_filters( 'shiftnav_toggle_content' , $content , $target_id , $id );
|
282 |
'class' => '',
|
283 |
'icon' => '',
|
284 |
'disable_content' => '',
|
285 |
+
'aria_label' => false,
|
286 |
), $atts, 'shiftnav_toggle' ) );
|
287 |
|
288 |
if( $disable_content == 'true' ) $content = false;
|
289 |
|
290 |
ob_start();
|
291 |
|
292 |
+
shiftnav_toggle( $target , $content , array( 'id' => $toggle_id , 'el' => $el , 'class' => $class , 'icon' => $icon, 'aria_label' => $aria_label ) );
|
293 |
|
294 |
$toggle = ob_get_contents();
|
295 |
|
343 |
}
|
344 |
|
345 |
wp_localize_script( 'shiftnav' , 'shiftnav_data' , array(
|
346 |
+
'shift_body' => shiftnav_op( 'shift_body' , 'general' ),
|
347 |
+
'shift_body_wrapper' => shiftnav_op( 'shift_body_wrapper' , 'general' ),
|
348 |
+
'lock_body' => shiftnav_op( 'lock_body' , 'general' ),
|
349 |
+
'lock_body_x' => shiftnav_op( 'lock_body_x' , 'general' ),
|
350 |
+
'open_current' => shiftnav_op( 'open_current' , 'general' ),
|
351 |
+
'collapse_accordions' => shiftnav_op( 'collapse_accordions' , 'general' ),
|
352 |
+
'scroll_panel' => shiftnav_op( 'scroll_panel' , 'general' ),
|
353 |
+
'breakpoint' => shiftnav_op( 'breakpoint' , 'togglebar' ),
|
354 |
+
'v' => SHIFTNAV_VERSION,
|
355 |
+
'pro' => SHIFTNAV_PRO ? 1 : 0,
|
356 |
+
|
357 |
+
'touch_off_close' => shiftnav_op( 'touch_off_close' , 'general' ),
|
358 |
+
'scroll_offset' => shiftnav_op( 'scroll_offset' , 'general' ),
|
359 |
+
'disable_transforms' => shiftnav_op( 'disable_transforms' , 'general' ),
|
360 |
+
'close_on_target_click' => shiftnav_op( 'close_on_target_click' , 'general' ),
|
361 |
+
'scroll_top_boundary' => shiftnav_op( 'scroll_top_boundary', 'general', 50 ),
|
362 |
+
'process_uber_segments' => shiftnav_op( 'process_uber_segments', 'general' ),
|
363 |
) );
|
364 |
}
|
365 |
add_action( 'wp_enqueue_scripts' , 'shiftnav_load_assets' , 101 );
|
includes/shiftnav.api.php
CHANGED
@@ -31,7 +31,7 @@ function shiftnav( $id , $settings = array() ){
|
|
31 |
<div class="shiftnav-inner">
|
32 |
|
33 |
<?php if( shiftnav_op( 'display_panel_close_button' , $id ) == 'on' ): ?>
|
34 |
-
<
|
35 |
<?php endif; ?>
|
36 |
|
37 |
<?php
|
@@ -43,7 +43,7 @@ function shiftnav( $id , $settings = array() ){
|
|
43 |
if( !$disable_menu ){
|
44 |
|
45 |
$args = array(
|
46 |
-
//'container_class' => 'shiftnav-nav', //$container_class, //shiftnav-transition-standard
|
47 |
//'container_id' => $id,
|
48 |
'container' => $container,
|
49 |
// 'menu_class' => 'shiftnav-menu',
|
@@ -73,7 +73,7 @@ function shiftnav( $id , $settings = array() ){
|
|
73 |
|
74 |
// //Active Highlight
|
75 |
// if( shiftnav_op( 'active_highlight' , 'general' ) == 'on' ) $args['menu_class'].= ' shiftnav-active-highlight';
|
76 |
-
|
77 |
|
78 |
if( $menu != '_none' ){
|
79 |
$args['menu'] = $menu;
|
@@ -105,6 +105,11 @@ function shiftnav( $id , $settings = array() ){
|
|
105 |
do_action( 'shiftnav_after' , $id );
|
106 |
|
107 |
?>
|
|
|
|
|
|
|
|
|
|
|
108 |
</div><!-- /.shiftnav-inner -->
|
109 |
</div><!-- /.shiftnav #<?php echo $id; ?> -->
|
110 |
|
@@ -115,9 +120,9 @@ function shiftnav( $id , $settings = array() ){
|
|
115 |
function shiftnav_toggle( $target_id , $content = null, $args = array() ){
|
116 |
|
117 |
//echo $target_id;
|
118 |
-
|
119 |
$ops = shiftnav_get_instance_options( $target_id );
|
120 |
-
//shiftp( $ops );
|
121 |
|
122 |
if( $content == null && $content !== false ){
|
123 |
$content = isset( $ops['toggle_content'] ) ? $ops['toggle_content'] : '';
|
@@ -125,4 +130,4 @@ function shiftnav_toggle( $target_id , $content = null, $args = array() ){
|
|
125 |
}
|
126 |
|
127 |
_shiftnav_toggle( $target_id , $content, $args );
|
128 |
-
}
|
31 |
<div class="shiftnav-inner">
|
32 |
|
33 |
<?php if( shiftnav_op( 'display_panel_close_button' , $id ) == 'on' ): ?>
|
34 |
+
<button class="shiftnav-panel-close"><i class="fa fa-times"></i></button>
|
35 |
<?php endif; ?>
|
36 |
|
37 |
<?php
|
43 |
if( !$disable_menu ){
|
44 |
|
45 |
$args = array(
|
46 |
+
//'container_class' => 'shiftnav-nav', //$container_class, //shiftnav-transition-standard
|
47 |
//'container_id' => $id,
|
48 |
'container' => $container,
|
49 |
// 'menu_class' => 'shiftnav-menu',
|
73 |
|
74 |
// //Active Highlight
|
75 |
// if( shiftnav_op( 'active_highlight' , 'general' ) == 'on' ) $args['menu_class'].= ' shiftnav-active-highlight';
|
76 |
+
|
77 |
|
78 |
if( $menu != '_none' ){
|
79 |
$args['menu'] = $menu;
|
105 |
do_action( 'shiftnav_after' , $id );
|
106 |
|
107 |
?>
|
108 |
+
|
109 |
+
<button class="shiftnav-sr-close shiftnav-sr-only shiftnav-sr-only-focusable">
|
110 |
+
<?php echo apply_filters( 'shiftnav_panel_sr_close_text' , '× Close Panel' ); ?>
|
111 |
+
</button>
|
112 |
+
|
113 |
</div><!-- /.shiftnav-inner -->
|
114 |
</div><!-- /.shiftnav #<?php echo $id; ?> -->
|
115 |
|
120 |
function shiftnav_toggle( $target_id , $content = null, $args = array() ){
|
121 |
|
122 |
//echo $target_id;
|
123 |
+
|
124 |
$ops = shiftnav_get_instance_options( $target_id );
|
125 |
+
//shiftp( $ops );
|
126 |
|
127 |
if( $content == null && $content !== false ){
|
128 |
$content = isset( $ops['toggle_content'] ) ? $ops['toggle_content'] : '';
|
130 |
}
|
131 |
|
132 |
_shiftnav_toggle( $target_id , $content, $args );
|
133 |
+
}
|
languages/shiftnav.pot
CHANGED
@@ -1,299 +1,318 @@
|
|
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.
|
6 |
-
"Report-Msgid-Bugs-To:
|
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"
|
15 |
-
"X-Poedit-KeywordsList: "
|
16 |
-
"__;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_"
|
17 |
-
"attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c;\n"
|
18 |
"Language: en\n"
|
19 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
20 |
"X-Poedit-Country: United States\n"
|
21 |
"X-Poedit-SourceCharset: UTF-8\n"
|
|
|
|
|
|
|
22 |
"X-Poedit-Basepath: ../\n"
|
23 |
"X-Poedit-SearchPath-0: .\n"
|
24 |
"X-Poedit-Bookmarks: \n"
|
25 |
"X-Textdomain-Support: yes\n"
|
|
|
|
|
|
|
|
|
|
|
26 |
|
27 |
-
#: admin/settings.config.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
msgid "Assigned Menu"
|
29 |
msgstr ""
|
30 |
|
31 |
-
#: admin/settings.config.php:
|
32 |
msgid "Display Main ShiftNav Panel"
|
33 |
msgstr ""
|
34 |
|
35 |
-
#: admin/settings.config.php:
|
36 |
msgid ""
|
37 |
"Do not uncheck this unless you want to disable the main ShiftNav panel "
|
38 |
"entirely."
|
39 |
msgstr ""
|
40 |
|
41 |
-
#: admin/settings.config.php:
|
42 |
msgid "Edge"
|
43 |
msgstr ""
|
44 |
|
45 |
-
#: admin/settings.config.php:
|
46 |
msgid "Which edge of the viewport should the ShiftNav panel appear on?"
|
47 |
msgstr ""
|
48 |
|
49 |
-
#: admin/settings.config.php:
|
50 |
msgid "Skin"
|
51 |
msgstr ""
|
52 |
|
53 |
-
#: admin/settings.config.php:
|
54 |
msgid "Indent Always Visible Submenus"
|
55 |
msgstr ""
|
56 |
|
57 |
-
#: admin/settings.config.php:
|
58 |
msgid "Check this to indent submenu items of always-visible submenus"
|
59 |
msgstr ""
|
60 |
|
61 |
-
#: admin/settings.config.php:
|
62 |
msgid "Display Site Title"
|
63 |
msgstr ""
|
64 |
|
65 |
-
#: admin/settings.config.php:
|
66 |
msgid "Display the site title in the menu panel"
|
67 |
msgstr ""
|
68 |
|
69 |
-
#: admin/settings.config.php:
|
70 |
msgid "Display Panel Close Button"
|
71 |
msgstr ""
|
72 |
|
73 |
-
#: admin/settings.config.php:
|
74 |
msgid "Display an × close button in the upper right of the ShiftNav panel"
|
75 |
msgstr ""
|
76 |
|
77 |
-
#: admin/settings.config.php:
|
78 |
msgid "Custom Toggle Integration Code"
|
79 |
msgstr ""
|
80 |
|
81 |
-
#: admin/settings.config.php:
|
82 |
msgid "Display Toggle Bar"
|
83 |
msgstr ""
|
84 |
|
85 |
-
#: admin/settings.config.php:
|
86 |
msgid ""
|
87 |
"Uncheck this to disable the default toggle bar and add your own custom "
|
88 |
"toggle"
|
89 |
msgstr ""
|
90 |
|
91 |
-
#: admin/settings.config.php:
|
92 |
msgid "Toggle Bar Style"
|
93 |
msgstr ""
|
94 |
|
95 |
-
#: admin/settings.config.php:
|
96 |
msgid ""
|
97 |
"Choose whether to have a full width bar, which can include a title and "
|
98 |
"other content, or just a hamburger button only which will appear in the "
|
99 |
"upper corner of the site."
|
100 |
msgstr ""
|
101 |
|
102 |
-
#: admin/settings.config.php:
|
103 |
msgid "Full Bar"
|
104 |
msgstr ""
|
105 |
|
106 |
-
#: admin/settings.config.php:
|
107 |
msgid "Hamburger button only"
|
108 |
msgstr ""
|
109 |
|
110 |
-
#: admin/settings.config.php:
|
111 |
msgid "Toggle Breakpoint"
|
112 |
msgstr ""
|
113 |
|
114 |
-
#: admin/settings.config.php:
|
115 |
msgid ""
|
116 |
"Show the toggle bar only below this pixel width. 960 is a good default for "
|
117 |
"most sites. Leave blank to show the toggle bar at all times. No need to "
|
118 |
"include \"px\""
|
119 |
msgstr ""
|
120 |
|
121 |
-
#: admin/settings.config.php:
|
122 |
msgid "Set this to use ShiftNav only at mobile sizes"
|
123 |
msgstr ""
|
124 |
|
125 |
-
#: admin/settings.config.php:
|
126 |
msgid "Hide Theme Menu"
|
127 |
msgstr ""
|
128 |
|
129 |
-
#: admin/settings.config.php:
|
130 |
msgid ""
|
131 |
"Enter the selector of the theme's menu if you wish to hide it below the "
|
132 |
"breakpoint above. For example, <code>#primary-nav</code> or "
|
133 |
"<code>.topnav</code>. "
|
134 |
msgstr ""
|
135 |
|
136 |
-
#: admin/settings.config.php:
|
137 |
msgid ""
|
138 |
"This setting requires you to set the <strong>Toggle Breakpoint</strong> "
|
139 |
"setting for it to have an effect"
|
140 |
msgstr ""
|
141 |
|
142 |
-
#: admin/settings.config.php:
|
143 |
msgid "Hide UberMenu 3"
|
144 |
msgstr ""
|
145 |
|
146 |
-
#: admin/settings.config.php:
|
147 |
msgid ""
|
148 |
"Hide all UberMenu 3 instances when ShiftNav is displayed. If you would "
|
149 |
"like to only hide a specific UberMenu, use the setting above with a "
|
150 |
"specific UberMenu ID."
|
151 |
msgstr ""
|
152 |
|
153 |
-
#: admin/settings.config.php:
|
154 |
msgid "Toggle Content"
|
155 |
msgstr ""
|
156 |
|
157 |
-
#: admin/settings.config.php:
|
158 |
msgid ""
|
159 |
"The content to display in the main toggle bar (only valid for Full Width "
|
160 |
"toggle bar style). Can contain shortcodes and HTML, including <img> tags. "
|
161 |
"Default: [shift_toggle_title] will print the site title"
|
162 |
msgstr ""
|
163 |
|
164 |
-
#: admin/settings.config.php:
|
165 |
msgid "Toggle Target"
|
166 |
msgstr ""
|
167 |
|
168 |
-
#: admin/settings.config.php:
|
169 |
msgid ""
|
170 |
"The area which will trigger the ShiftNav Panel to open. (Not relevant for "
|
171 |
"Full Bar toggle style)"
|
172 |
msgstr ""
|
173 |
|
174 |
-
#: admin/settings.config.php:
|
175 |
msgid "Bars/Burger Icon Only"
|
176 |
msgstr ""
|
177 |
|
178 |
-
#: admin/settings.config.php:
|
179 |
msgid "Entire Bar"
|
180 |
msgstr ""
|
181 |
|
182 |
-
#: admin/settings.config.php:
|
183 |
msgid "Close Icon"
|
184 |
msgstr ""
|
185 |
|
186 |
-
#: admin/settings.config.php:
|
187 |
msgid "When the toggle is open, choose which icon to display."
|
188 |
msgstr ""
|
189 |
|
190 |
-
#: admin/settings.config.php:
|
191 |
msgid "Toggle Bar Position"
|
192 |
msgstr ""
|
193 |
|
194 |
-
#: admin/settings.config.php:
|
195 |
msgid ""
|
196 |
"Choose Fixed if you'd like the toggle bar to always be visible, or Absolute "
|
197 |
"if you'd like it only to be visible when scrolled to the very top of the "
|
198 |
"page"
|
199 |
msgstr ""
|
200 |
|
201 |
-
#: admin/settings.config.php:
|
202 |
msgid "Fixed (always in viewport)"
|
203 |
msgstr ""
|
204 |
|
205 |
-
#: admin/settings.config.php:
|
206 |
msgid "Absolute (scrolls out of viewport)"
|
207 |
msgstr ""
|
208 |
|
209 |
-
#: admin/settings.config.php:
|
210 |
msgid "Align Text"
|
211 |
msgstr ""
|
212 |
|
213 |
-
#: admin/settings.config.php:
|
214 |
msgid "Align text left, right, or center. Applies to inline elements only."
|
215 |
msgstr ""
|
216 |
|
217 |
-
#: admin/settings.config.php:
|
218 |
msgid "Background Color"
|
219 |
msgstr ""
|
220 |
|
221 |
-
#: admin/settings.config.php:
|
222 |
msgid "Transparent Background"
|
223 |
msgstr ""
|
224 |
|
225 |
-
#: admin/settings.config.php:
|
226 |
msgid ""
|
227 |
"Make the toggle bar transparent. Note that this only make sense if you are "
|
228 |
"using a hamburger-only Toggle Bar Style, or remove the Toggle Bar Gap"
|
229 |
msgstr ""
|
230 |
|
231 |
-
#: admin/settings.config.php:
|
232 |
msgid "Text/Burger Color"
|
233 |
msgstr ""
|
234 |
|
235 |
-
#: admin/settings.config.php:
|
236 |
msgid "Font Size"
|
237 |
msgstr ""
|
238 |
|
239 |
-
#: admin/settings.config.php:
|
240 |
msgid "Override the default font size of the toggle bar by setting a value here."
|
241 |
msgstr ""
|
242 |
|
243 |
-
#: admin/settings.config.php:
|
244 |
msgid "Hamburger Size"
|
245 |
msgstr ""
|
246 |
|
247 |
-
#: admin/settings.config.php:
|
248 |
msgid "Size of the hamburger icon in pixes (font size)."
|
249 |
msgstr ""
|
250 |
|
251 |
-
#: admin/settings.config.php:
|
252 |
msgid "Toggle Bar Gap"
|
253 |
msgstr ""
|
254 |
|
255 |
-
#: admin/settings.config.php:
|
256 |
msgid ""
|
257 |
"By default, ShiftNav will automatically determine if a gap is needed - in "
|
258 |
"short, space is left for the full bar toggle, and is not left for a "
|
259 |
"burger-only toggle. If you wish to override this, you can do so here."
|
260 |
msgstr ""
|
261 |
|
262 |
-
#: admin/settings.config.php:
|
263 |
msgid "Automatic"
|
264 |
msgstr ""
|
265 |
|
266 |
-
#: admin/settings.config.php:
|
267 |
msgid "Disable Gap"
|
268 |
msgstr ""
|
269 |
|
270 |
-
#: admin/settings.config.php:
|
271 |
msgid "Enable Gap"
|
272 |
msgstr ""
|
273 |
|
274 |
-
#: admin/settings.config.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
275 |
msgid "CSS Tweaks"
|
276 |
msgstr ""
|
277 |
|
278 |
-
#: admin/settings.config.php:
|
279 |
msgid "Add custom CSS here, which will be printed in the site head."
|
280 |
msgstr ""
|
281 |
|
282 |
-
#: admin/settings.config.php:
|
283 |
msgid "Shift Body"
|
284 |
msgstr ""
|
285 |
|
286 |
-
#: admin/settings.config.php:
|
287 |
msgid ""
|
288 |
"Shift the body of the site when the menu is revealed. For some themes, "
|
289 |
"this may negatively affect the site content, so this can be disabled."
|
290 |
msgstr ""
|
291 |
|
292 |
-
#: admin/settings.config.php:
|
293 |
msgid "Shift Body Wrapper"
|
294 |
msgstr ""
|
295 |
|
296 |
-
#: admin/settings.config.php:
|
297 |
msgid ""
|
298 |
"Leave this blank to automatically create a ShiftNav Wrapper via javascript "
|
299 |
"(this may have side effects). Set a selector here to turn a specific div "
|
@@ -302,66 +321,66 @@ msgid ""
|
|
302 |
"conflict."
|
303 |
msgstr ""
|
304 |
|
305 |
-
#: admin/settings.config.php:
|
306 |
msgid "Footer Content"
|
307 |
msgstr ""
|
308 |
|
309 |
-
#: admin/settings.config.php:
|
310 |
msgid ""
|
311 |
"Add HTML or Shortcodes here and it will be injected at the wp_footer() "
|
312 |
"hook. Useful for fixed position elements"
|
313 |
msgstr ""
|
314 |
|
315 |
-
#: admin/settings.config.php:
|
316 |
msgid "Mobile Only"
|
317 |
msgstr ""
|
318 |
|
319 |
-
#: admin/settings.config.php:
|
320 |
msgid ""
|
321 |
"Only display ShiftNav when a mobile device is detected via wp_is_mobile(). "
|
322 |
"If you are using a caching plugin, make sure you have separate mobile and "
|
323 |
"desktop caches."
|
324 |
msgstr ""
|
325 |
|
326 |
-
#: admin/settings.config.php:
|
327 |
msgid ""
|
328 |
"This is NOT the preferred way to make your menu appear on mobile devices. "
|
329 |
"For 99% of users, you will want to set a Toggle Breakpoint in the Toggle "
|
330 |
"Bar Panel, rather than using this setting."
|
331 |
msgstr ""
|
332 |
|
333 |
-
#: admin/settings.config.php:
|
334 |
msgid "Button Size"
|
335 |
msgstr ""
|
336 |
|
337 |
-
#: admin/settings.config.php:
|
338 |
msgid ""
|
339 |
"The size of the padding on the links in the menu. The larger the setting, "
|
340 |
"the easier to click; but fewer menu items will appear on the screen at a "
|
341 |
"time."
|
342 |
msgstr ""
|
343 |
|
344 |
-
#: admin/settings.config.php:
|
345 |
msgid "Text Size"
|
346 |
msgstr ""
|
347 |
|
348 |
-
#: admin/settings.config.php:
|
349 |
msgid "The size of the font on the links in the menu (will override all levels)."
|
350 |
msgstr ""
|
351 |
|
352 |
-
#: admin/settings.config.php:
|
353 |
msgid "Icon Size"
|
354 |
msgstr ""
|
355 |
|
356 |
-
#: admin/settings.config.php:
|
357 |
msgid "The size of the icons in the menu."
|
358 |
msgstr ""
|
359 |
|
360 |
-
#: admin/settings.config.php:
|
361 |
msgid "Disable Transforms & Transitions"
|
362 |
msgstr ""
|
363 |
|
364 |
-
#: admin/settings.config.php:
|
365 |
msgid ""
|
366 |
"Disable CSS3 transformations and transitions. This will disable smooth "
|
367 |
"animations, but may work better on browsers that don't properly implement "
|
@@ -371,130 +390,140 @@ msgid ""
|
|
371 |
"produce false positives when testing."
|
372 |
msgstr ""
|
373 |
|
374 |
-
#: admin/settings.config.php:
|
375 |
msgid "Touch-off close"
|
376 |
msgstr ""
|
377 |
|
378 |
-
#: admin/settings.config.php:
|
379 |
msgid ""
|
380 |
"Close the ShiftNav panel or search dropdown when touching any content not "
|
381 |
"in the panel."
|
382 |
msgstr ""
|
383 |
|
384 |
-
#: admin/settings.config.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
385 |
msgid "Scroll Offset"
|
386 |
msgstr ""
|
387 |
|
388 |
-
#: admin/settings.config.php:
|
389 |
msgid ""
|
390 |
"When using the ScrollTo functionality, this is the number of pixels to "
|
391 |
"offset the scroll by, to account for the toggle bar and any spacing you "
|
392 |
"want."
|
393 |
msgstr ""
|
394 |
|
395 |
-
#: admin/settings.config.php:
|
396 |
msgid "Open Current Accordion Submenu"
|
397 |
msgstr ""
|
398 |
|
399 |
-
#: admin/settings.config.php:
|
400 |
msgid ""
|
401 |
"Open the submenu of the current menu item on page load (accordion submenus "
|
402 |
"only)."
|
403 |
msgstr ""
|
404 |
|
405 |
-
#: admin/settings.config.php:
|
406 |
msgid "Collapse Accordions"
|
407 |
msgstr ""
|
408 |
|
409 |
-
#: admin/settings.config.php:
|
410 |
msgid ""
|
411 |
"When an accordion menu is opened, collapse any other accordions on that "
|
412 |
"level."
|
413 |
msgstr ""
|
414 |
|
415 |
-
#: admin/settings.config.php:
|
416 |
msgid "Scroll Shift Submenus to Top"
|
417 |
msgstr ""
|
418 |
|
419 |
-
#: admin/settings.config.php:
|
420 |
msgid ""
|
421 |
"When a Shift submenu is activated, scroll that item to the top to maximize "
|
422 |
"submenu visibility."
|
423 |
msgstr ""
|
424 |
|
425 |
-
#: admin/settings.config.php:
|
426 |
msgid "Highlight Targets on Hover"
|
427 |
msgstr ""
|
428 |
|
429 |
-
#: admin/settings.config.php:
|
430 |
msgid ""
|
431 |
"With this setting enabled, the links will be highlighted when hovered or "
|
432 |
"touched."
|
433 |
msgstr ""
|
434 |
|
435 |
-
#: admin/settings.config.php:
|
436 |
msgid "Highlight Targets on :active"
|
437 |
msgstr ""
|
438 |
|
439 |
-
#: admin/settings.config.php:
|
440 |
msgid ""
|
441 |
"With this setting enabled, the links will be highlighted while in the "
|
442 |
":active state. May not be desirable for touch scrolling."
|
443 |
msgstr ""
|
444 |
|
445 |
-
#: admin/settings.config.php:
|
446 |
msgid "Back Button Tag"
|
447 |
msgstr ""
|
448 |
|
449 |
-
#: admin/settings.config.php:
|
450 |
msgid ""
|
451 |
"By default the tag is an anchor. Some themes will try to add JS to the "
|
452 |
"anchor and break the back button functionality, so you can also switch this "
|
453 |
"to a span to avoid the issue."
|
454 |
msgstr ""
|
455 |
|
456 |
-
#: admin/settings.config.php:
|
457 |
msgid "Back Button Text"
|
458 |
msgstr ""
|
459 |
|
460 |
-
#: admin/settings.config.php:
|
461 |
msgid ""
|
462 |
"By default, the Back button text will read \"Back\". You can change this "
|
463 |
"here. Note that if you set a value here, it will no longer be translatable."
|
464 |
msgstr ""
|
465 |
|
466 |
-
#: admin/settings.config.php:
|
467 |
msgid "Top Back Button"
|
468 |
msgstr ""
|
469 |
|
470 |
-
#: admin/settings.config.php:
|
471 |
msgid "Display a back button at the top of shift submenus (below the parent item)"
|
472 |
msgstr ""
|
473 |
|
474 |
-
#: admin/settings.config.php:
|
475 |
msgid "Bottom Back Button"
|
476 |
msgstr ""
|
477 |
|
478 |
-
#: admin/settings.config.php:
|
479 |
msgid ""
|
480 |
"Display a back button at the bottom of shift submenus. Note that you must "
|
481 |
"leave at least one back button enabled for users to be able to move back up "
|
482 |
"a level."
|
483 |
msgstr ""
|
484 |
|
485 |
-
#: admin/settings.config.php:
|
486 |
msgid "Show Tips to Admins"
|
487 |
msgstr ""
|
488 |
|
489 |
-
#: admin/settings.config.php:
|
490 |
msgid "Display tips to admin users"
|
491 |
msgstr ""
|
492 |
|
493 |
-
#: admin/settings.config.php:
|
494 |
msgid "Lock Horizontal Scroll"
|
495 |
msgstr ""
|
496 |
|
497 |
-
#: admin/settings.config.php:
|
498 |
msgid ""
|
499 |
"Attempt to prevent the content from scrolling horizontally when the menu is "
|
500 |
"active. On some themes, may also prevent vertical scrolling. May not "
|
@@ -502,61 +531,61 @@ msgid ""
|
|
502 |
"Body</strong> is disabled."
|
503 |
msgstr ""
|
504 |
|
505 |
-
#: admin/settings.config.php:
|
506 |
msgid "Lock Scroll"
|
507 |
msgstr ""
|
508 |
|
509 |
-
#: admin/settings.config.php:
|
510 |
msgid ""
|
511 |
"Lock both vertical and horizontal scrolling on site content when menu is "
|
512 |
"active. No effect if <strong>Shift Body</strong> is disabled."
|
513 |
msgstr ""
|
514 |
|
515 |
-
#: admin/settings.config.php:
|
516 |
msgid "Load Font Awesome"
|
517 |
msgstr ""
|
518 |
|
519 |
-
#: admin/settings.config.php:
|
520 |
msgid ""
|
521 |
"If you are already loading Font Awesome 4 elsewhere in your setup, you can "
|
522 |
"disable this."
|
523 |
msgstr ""
|
524 |
|
525 |
-
#: admin/settings.config.php:
|
526 |
msgid "Inherit UberMenu Conditionals"
|
527 |
msgstr ""
|
528 |
|
529 |
-
#: admin/settings.config.php:
|
530 |
msgid "Display menu items based on UberMenu Conditionals settings"
|
531 |
msgstr ""
|
532 |
|
533 |
-
#: admin/settings.config.php:
|
534 |
msgid "Process UberMenu Menu Segments"
|
535 |
msgstr ""
|
536 |
|
537 |
-
#: admin/settings.config.php:
|
538 |
msgid ""
|
539 |
"Most UberMenu Advanced Items will be ignored by ShiftNav, as they are "
|
540 |
"UberMenu-specific. However, ShiftNav can process UberMenu Menu Segments "
|
541 |
"with this setting enabled."
|
542 |
msgstr ""
|
543 |
|
544 |
-
#: admin/settings.config.php:
|
545 |
msgid "Force Filter Menu Args"
|
546 |
msgstr ""
|
547 |
|
548 |
-
#: admin/settings.config.php:
|
549 |
msgid ""
|
550 |
"Some themes will filter the menu arguments on all menus on the site, which "
|
551 |
"can break things. This will re-filter those arguments for ShiftNav menus "
|
552 |
"only."
|
553 |
msgstr ""
|
554 |
|
555 |
-
#: admin/settings.config.php:
|
556 |
msgid "Kill Menu Class Filter"
|
557 |
msgstr ""
|
558 |
|
559 |
-
#: admin/settings.config.php:
|
560 |
msgid ""
|
561 |
"Some themes filter the menu item classes and strip out core WordPress "
|
562 |
"functionality. This will change the structure of ShiftNav and prevent "
|
@@ -564,19 +593,30 @@ msgid ""
|
|
564 |
"<code>nav_menu_css_class</code> filter."
|
565 |
msgstr ""
|
566 |
|
567 |
-
#: admin/settings.config.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
568 |
msgid "Main ShiftNav Settings"
|
569 |
msgstr ""
|
570 |
|
571 |
-
#: admin/settings.config.php:
|
572 |
msgid "Toggle Bar"
|
573 |
msgstr ""
|
574 |
|
575 |
-
#: admin/settings.config.php:
|
576 |
msgid "General Settings"
|
577 |
msgstr ""
|
578 |
|
579 |
-
#: admin/settings.config.php:
|
580 |
msgid "Reset Settings"
|
581 |
msgstr ""
|
582 |
|
@@ -643,7 +683,7 @@ msgid "Menu Default"
|
|
643 |
msgstr ""
|
644 |
|
645 |
#: admin/settings.menu.php:340 pro/admin/item.settings.pro.php:47
|
646 |
-
#: pro/admin/settings.pro.php:206 pro/admin/settings.pro.php:
|
647 |
msgid "Always visible"
|
648 |
msgstr ""
|
649 |
|
@@ -699,7 +739,7 @@ msgstr ""
|
|
699 |
msgid "Back"
|
700 |
msgstr ""
|
701 |
|
702 |
-
#: includes/functions.php:
|
703 |
msgid "ShiftNav [Main]"
|
704 |
msgstr ""
|
705 |
|
@@ -728,42 +768,42 @@ msgid ""
|
|
728 |
msgstr ""
|
729 |
|
730 |
#: pro/admin/item.settings.pro.php:48 pro/admin/settings.pro.php:207
|
731 |
-
#: pro/admin/settings.pro.php:
|
732 |
msgid "Accordion"
|
733 |
msgstr ""
|
734 |
|
735 |
#: pro/admin/item.settings.pro.php:49 pro/admin/settings.pro.php:208
|
736 |
-
#: pro/admin/settings.pro.php:
|
737 |
msgid "Shift"
|
738 |
msgstr ""
|
739 |
|
740 |
-
#: pro/admin/settings.pro.php:202 pro/admin/settings.pro.php:
|
741 |
msgid "Submenu Type Default"
|
742 |
msgstr ""
|
743 |
|
744 |
-
#: pro/admin/settings.pro.php:203 pro/admin/settings.pro.php:
|
745 |
msgid ""
|
746 |
"This submenu type will be used by any Menu Item whose Submenu Type is set "
|
747 |
"to \"Menu Default\""
|
748 |
msgstr ""
|
749 |
|
750 |
-
#: pro/admin/settings.pro.php:237 pro/admin/settings.pro.php:
|
751 |
msgid "Accordion Toggle Open Icon"
|
752 |
msgstr ""
|
753 |
|
754 |
-
#: pro/admin/settings.pro.php:238 pro/admin/settings.pro.php:
|
755 |
msgid "The icon that, when tapped, will open the accordion submenu"
|
756 |
msgstr ""
|
757 |
|
758 |
-
#: pro/admin/settings.pro.php:271 pro/admin/settings.pro.php:
|
759 |
msgid "Accordion Toggle Close Icon"
|
760 |
msgstr ""
|
761 |
|
762 |
-
#: pro/admin/settings.pro.php:272 pro/admin/settings.pro.php:
|
763 |
msgid "The icon that, when tapped, will close the accordion submenu"
|
764 |
msgstr ""
|
765 |
|
766 |
-
#: pro/admin/settings.pro.php:285 pro/admin/settings.pro.php:
|
767 |
msgid "Disable Menu"
|
768 |
msgstr ""
|
769 |
|
@@ -773,473 +813,481 @@ msgid ""
|
|
773 |
"and can be used for custom content"
|
774 |
msgstr ""
|
775 |
|
776 |
-
#: pro/admin/settings.pro.php:295 pro/admin/settings.pro.php:
|
777 |
msgid "Top Image"
|
778 |
msgstr ""
|
779 |
|
780 |
-
#: pro/admin/settings.pro.php:305 pro/admin/settings.pro.php:
|
781 |
msgid "Pad Image"
|
782 |
msgstr ""
|
783 |
|
784 |
-
#: pro/admin/settings.pro.php:306 pro/admin/settings.pro.php:
|
785 |
msgid ""
|
786 |
"Add padding to align image with menu item text. Uncheck to expand to the "
|
787 |
"edges of the panel."
|
788 |
msgstr ""
|
789 |
|
790 |
-
#: pro/admin/settings.pro.php:315 pro/admin/settings.pro.php:
|
791 |
msgid "Image Link (URL)"
|
792 |
msgstr ""
|
793 |
|
794 |
-
#: pro/admin/settings.pro.php:316 pro/admin/settings.pro.php:
|
795 |
msgid "Make the image a link to this URL."
|
796 |
msgstr ""
|
797 |
|
798 |
-
#: pro/admin/settings.pro.php:325 pro/admin/settings.pro.php:
|
799 |
msgid "Custom Content Before Menu"
|
800 |
msgstr ""
|
801 |
|
802 |
-
#: pro/admin/settings.pro.php:336 pro/admin/settings.pro.php:
|
803 |
msgid "Custom Content After Menu"
|
804 |
msgstr ""
|
805 |
|
|
|
|
|
|
|
|
|
806 |
#: pro/admin/settings.pro.php:354
|
|
|
|
|
|
|
|
|
807 |
msgid "Toggle Content Left Edge"
|
808 |
msgstr ""
|
809 |
|
810 |
-
#: pro/admin/settings.pro.php:
|
811 |
msgid ""
|
812 |
"For the Full Bar toggle style, this content will appear at the left edge of "
|
813 |
"the toggle bar, to the right of the toggle icon. To pad your custom "
|
814 |
"content vertically, use the class <code>shiftnav-toggle-main-block</code>."
|
815 |
msgstr ""
|
816 |
|
817 |
-
#: pro/admin/settings.pro.php:
|
818 |
msgid "Toggle Content Right Edge"
|
819 |
msgstr ""
|
820 |
|
821 |
-
#: pro/admin/settings.pro.php:
|
822 |
msgid ""
|
823 |
"For the Full Bar toggle style, this content will appear at the right edge "
|
824 |
"of the toggle bar. To pad your custom content vertically, use the class "
|
825 |
"<code>shiftnav-toggle-main-block</code>."
|
826 |
msgstr ""
|
827 |
|
828 |
-
#: pro/admin/settings.pro.php:
|
829 |
msgid "Integration Code"
|
830 |
msgstr ""
|
831 |
|
832 |
-
#: pro/admin/settings.pro.php:
|
833 |
msgid "Instance Name"
|
834 |
msgstr ""
|
835 |
|
836 |
-
#: pro/admin/settings.pro.php:
|
837 |
msgid "Automatically Generate Panel"
|
838 |
msgstr ""
|
839 |
|
840 |
-
#: pro/admin/settings.pro.php:
|
841 |
msgid ""
|
842 |
"Automatically generate this ShiftNav instance. It'll be added to each page "
|
843 |
"of the site"
|
844 |
msgstr ""
|
845 |
|
846 |
-
#: pro/admin/settings.pro.php:
|
847 |
msgid "Display Menu"
|
848 |
msgstr ""
|
849 |
|
850 |
-
#: pro/admin/settings.pro.php:
|
851 |
msgid "Theme Location"
|
852 |
msgstr ""
|
853 |
|
854 |
-
#: pro/admin/settings.pro.php:
|
855 |
msgid ""
|
856 |
"Select the Theme Location to display. The Menu setting will override this "
|
857 |
"setting if a menu is selected."
|
858 |
msgstr ""
|
859 |
|
860 |
-
#: pro/admin/settings.pro.php:
|
861 |
msgid "Select which edge of your site to display the menu on"
|
862 |
msgstr ""
|
863 |
|
864 |
-
#: pro/admin/settings.pro.php:
|
865 |
msgid ""
|
866 |
"Check this to disable the menu entirely; the panel can be used for custom "
|
867 |
"content"
|
868 |
msgstr ""
|
869 |
|
870 |
-
#: pro/admin/settings.pro.php:
|
871 |
msgid "Select which skin to use for this instance"
|
872 |
msgstr ""
|
873 |
|
874 |
-
#: pro/admin/settings.pro.php:
|
875 |
msgid ""
|
876 |
"Enter the content to be displayed in the toggle, which you will insert into "
|
877 |
"your template with the integration code at the top of this tab."
|
878 |
msgstr ""
|
879 |
|
880 |
-
#: pro/admin/settings.pro.php:
|
881 |
msgid "Display the site title in the menu"
|
882 |
msgstr ""
|
883 |
|
884 |
-
#: pro/admin/settings.pro.php:
|
885 |
msgid "Display Instance Name"
|
886 |
msgstr ""
|
887 |
|
888 |
-
#: pro/admin/settings.pro.php:
|
889 |
msgid "Display the instance name in the menu"
|
890 |
msgstr ""
|
891 |
|
892 |
-
#: pro/admin/settings.pro.php:
|
893 |
msgid "Delete Instance"
|
894 |
msgstr ""
|
895 |
|
896 |
-
#: pro/admin/settings.pro.php:
|
897 |
msgid "Permanently Delete Instance"
|
898 |
msgstr ""
|
899 |
|
900 |
-
#: pro/admin/settings.pro.php:
|
901 |
msgid "Panel Background Color"
|
902 |
msgstr ""
|
903 |
|
904 |
-
#: pro/admin/settings.pro.php:
|
905 |
msgid "Panel Default Font Color"
|
906 |
msgstr ""
|
907 |
|
908 |
-
#: pro/admin/settings.pro.php:
|
909 |
msgid ""
|
910 |
"The default font color for custom content within the panel (menu-specific "
|
911 |
"styles will override this for menu items)"
|
912 |
msgstr ""
|
913 |
|
914 |
-
#: pro/admin/settings.pro.php:
|
915 |
msgid "Panel Title Font Color"
|
916 |
msgstr ""
|
917 |
|
918 |
-
#: pro/admin/settings.pro.php:
|
919 |
msgid "The font color for the header/title within the panel."
|
920 |
msgstr ""
|
921 |
|
922 |
-
#: pro/admin/settings.pro.php:
|
923 |
msgid "Panel Title Font Size"
|
924 |
msgstr ""
|
925 |
|
926 |
-
#: pro/admin/settings.pro.php:
|
927 |
msgid "The font size for the header/title within the panel."
|
928 |
msgstr ""
|
929 |
|
930 |
-
#: pro/admin/settings.pro.php:
|
931 |
msgid "Panel Title Text Alignment"
|
932 |
msgstr ""
|
933 |
|
934 |
-
#: pro/admin/settings.pro.php:
|
935 |
msgid "The alignment of the text in the header/title within the panel."
|
936 |
msgstr ""
|
937 |
|
938 |
-
#: pro/admin/settings.pro.php:
|
939 |
-
#: pro/admin/settings.pro.php:
|
940 |
-
#: pro/admin/settings.pro.php:
|
941 |
msgid "Default"
|
942 |
msgstr ""
|
943 |
|
944 |
-
#: pro/admin/settings.pro.php:
|
945 |
msgid "Center"
|
946 |
msgstr ""
|
947 |
|
948 |
-
#: pro/admin/settings.pro.php:
|
949 |
msgid "Left"
|
950 |
msgstr ""
|
951 |
|
952 |
-
#: pro/admin/settings.pro.php:
|
953 |
msgid "Right"
|
954 |
msgstr ""
|
955 |
|
956 |
-
#: pro/admin/settings.pro.php:
|
957 |
msgid "Panel Title Font Weight"
|
958 |
msgstr ""
|
959 |
|
960 |
-
#: pro/admin/settings.pro.php:
|
961 |
msgid "The font weight of the text in the header/title within the panel."
|
962 |
msgstr ""
|
963 |
|
964 |
-
#: pro/admin/settings.pro.php:
|
965 |
-
#: pro/admin/settings.pro.php:
|
966 |
msgid "Normal"
|
967 |
msgstr ""
|
968 |
|
969 |
-
#: pro/admin/settings.pro.php:
|
970 |
-
#: pro/admin/settings.pro.php:
|
971 |
msgid "Bold"
|
972 |
msgstr ""
|
973 |
|
974 |
-
#: pro/admin/settings.pro.php:
|
975 |
msgid "Menu Item Background Color"
|
976 |
msgstr ""
|
977 |
|
978 |
-
#: pro/admin/settings.pro.php:
|
979 |
msgid ""
|
980 |
"The color of the menu item background. Normally not necessary to set "
|
981 |
"unless you want it to differ from the panel background"
|
982 |
msgstr ""
|
983 |
|
984 |
-
#: pro/admin/settings.pro.php:
|
985 |
msgid "Menu Item Font Color"
|
986 |
msgstr ""
|
987 |
|
988 |
-
#: pro/admin/settings.pro.php:
|
989 |
msgid "The color of the menu item text."
|
990 |
msgstr ""
|
991 |
|
992 |
-
#: pro/admin/settings.pro.php:
|
993 |
msgid "Menu Item Background Color [Active]"
|
994 |
msgstr ""
|
995 |
|
996 |
-
#: pro/admin/settings.pro.php:
|
997 |
msgid "The color of the menu item background when activated."
|
998 |
msgstr ""
|
999 |
|
1000 |
-
#: pro/admin/settings.pro.php:
|
1001 |
msgid "Menu Item Font Color [Active]"
|
1002 |
msgstr ""
|
1003 |
|
1004 |
-
#: pro/admin/settings.pro.php:
|
1005 |
msgid "The color of the menu item text when activated."
|
1006 |
msgstr ""
|
1007 |
|
1008 |
-
#: pro/admin/settings.pro.php:
|
1009 |
msgid "Menu Item Background Color [Current]"
|
1010 |
msgstr ""
|
1011 |
|
1012 |
-
#: pro/admin/settings.pro.php:
|
1013 |
msgid "The background color of current menu items."
|
1014 |
msgstr ""
|
1015 |
|
1016 |
-
#: pro/admin/settings.pro.php:
|
1017 |
msgid "Menu Item Font Color [Current]"
|
1018 |
msgstr ""
|
1019 |
|
1020 |
-
#: pro/admin/settings.pro.php:
|
1021 |
msgid "The font color of current menu items"
|
1022 |
msgstr ""
|
1023 |
|
1024 |
-
#: pro/admin/settings.pro.php:
|
1025 |
msgid "Menu Item Background Color [Highlight]"
|
1026 |
msgstr ""
|
1027 |
|
1028 |
-
#: pro/admin/settings.pro.php:
|
1029 |
msgid "The background color of highlighted menu items."
|
1030 |
msgstr ""
|
1031 |
|
1032 |
-
#: pro/admin/settings.pro.php:
|
1033 |
msgid "Menu Item Font Color [Highlight]"
|
1034 |
msgstr ""
|
1035 |
|
1036 |
-
#: pro/admin/settings.pro.php:
|
1037 |
msgid "The color of highlighted menu items"
|
1038 |
msgstr ""
|
1039 |
|
1040 |
-
#: pro/admin/settings.pro.php:
|
1041 |
msgid "Menu Item Font Size"
|
1042 |
msgstr ""
|
1043 |
|
1044 |
-
#: pro/admin/settings.pro.php:
|
1045 |
msgid "The size of the menu item text."
|
1046 |
msgstr ""
|
1047 |
|
1048 |
-
#: pro/admin/settings.pro.php:
|
1049 |
msgid "Menu Item Font Weight"
|
1050 |
msgstr ""
|
1051 |
|
1052 |
-
#: pro/admin/settings.pro.php:
|
1053 |
msgid "The weight of the menu item text."
|
1054 |
msgstr ""
|
1055 |
|
1056 |
-
#: pro/admin/settings.pro.php:
|
1057 |
msgid "Menu Item Padding"
|
1058 |
msgstr ""
|
1059 |
|
1060 |
-
#: pro/admin/settings.pro.php:
|
1061 |
msgid "The padding around the menu item text."
|
1062 |
msgstr ""
|
1063 |
|
1064 |
-
#: pro/admin/settings.pro.php:
|
1065 |
msgid "Menu Item Top Border Color"
|
1066 |
msgstr ""
|
1067 |
|
1068 |
-
#: pro/admin/settings.pro.php:
|
1069 |
msgid "The color of the top border of the menu item."
|
1070 |
msgstr ""
|
1071 |
|
1072 |
-
#: pro/admin/settings.pro.php:
|
1073 |
msgid "Menu Item Top Border Color [Active]"
|
1074 |
msgstr ""
|
1075 |
|
1076 |
-
#: pro/admin/settings.pro.php:
|
1077 |
msgid "The color of the top border of an active menu item."
|
1078 |
msgstr ""
|
1079 |
|
1080 |
-
#: pro/admin/settings.pro.php:
|
1081 |
msgid "Menu Item Bottom Border Color"
|
1082 |
msgstr ""
|
1083 |
|
1084 |
-
#: pro/admin/settings.pro.php:
|
1085 |
msgid "The color of the bottom border of the menu item."
|
1086 |
msgstr ""
|
1087 |
|
1088 |
-
#: pro/admin/settings.pro.php:
|
1089 |
msgid "Menu Item Bottom Border Color [Active]"
|
1090 |
msgstr ""
|
1091 |
|
1092 |
-
#: pro/admin/settings.pro.php:
|
1093 |
msgid "The color of the bottom border of the active menu item."
|
1094 |
msgstr ""
|
1095 |
|
1096 |
-
#: pro/admin/settings.pro.php:
|
1097 |
msgid "Disable Menu Item Borders"
|
1098 |
msgstr ""
|
1099 |
|
1100 |
-
#: pro/admin/settings.pro.php:
|
1101 |
msgid "Remove the borders between menu items."
|
1102 |
msgstr ""
|
1103 |
|
1104 |
-
#: pro/admin/settings.pro.php:
|
1105 |
msgid "Disable Menu Item Text Shadow"
|
1106 |
msgstr ""
|
1107 |
|
1108 |
-
#: pro/admin/settings.pro.php:
|
1109 |
msgid "Remove the text shadow on the menu items."
|
1110 |
msgstr ""
|
1111 |
|
1112 |
-
#: pro/admin/settings.pro.php:
|
1113 |
msgid "Top Level Menu Item Text Transform"
|
1114 |
msgstr ""
|
1115 |
|
1116 |
-
#: pro/admin/settings.pro.php:
|
1117 |
msgid "None"
|
1118 |
msgstr ""
|
1119 |
|
1120 |
-
#: pro/admin/settings.pro.php:
|
1121 |
msgid "Uppercase"
|
1122 |
msgstr ""
|
1123 |
|
1124 |
-
#: pro/admin/settings.pro.php:
|
1125 |
msgid "Menu Item Activator Button Background"
|
1126 |
msgstr ""
|
1127 |
|
1128 |
-
#: pro/admin/settings.pro.php:
|
1129 |
msgid "The background color of the button used to open and close the submenus"
|
1130 |
msgstr ""
|
1131 |
|
1132 |
-
#: pro/admin/settings.pro.php:
|
1133 |
msgid "Menu Item Activator Button Background [Active]"
|
1134 |
msgstr ""
|
1135 |
|
1136 |
-
#: pro/admin/settings.pro.php:
|
1137 |
msgid ""
|
1138 |
"The active background color of the button used to open and close the "
|
1139 |
"submenus"
|
1140 |
msgstr ""
|
1141 |
|
1142 |
-
#: pro/admin/settings.pro.php:
|
1143 |
msgid "Menu Item Activator Arrow Color"
|
1144 |
msgstr ""
|
1145 |
|
1146 |
-
#: pro/admin/settings.pro.php:
|
1147 |
msgid "The arrow color of the button used to open and close the submenus"
|
1148 |
msgstr ""
|
1149 |
|
1150 |
-
#: pro/admin/settings.pro.php:
|
1151 |
msgid "Menu Item Activator Arrow Color [Active]"
|
1152 |
msgstr ""
|
1153 |
|
1154 |
-
#: pro/admin/settings.pro.php:
|
1155 |
msgid "The active arrow color of the button used to open and close the submenus"
|
1156 |
msgstr ""
|
1157 |
|
1158 |
-
#: pro/admin/settings.pro.php:
|
1159 |
msgid "Submenu Retractor / Back Button Background"
|
1160 |
msgstr ""
|
1161 |
|
1162 |
-
#: pro/admin/settings.pro.php:
|
1163 |
msgid "The background color of the submenu retractor button"
|
1164 |
msgstr ""
|
1165 |
|
1166 |
-
#: pro/admin/settings.pro.php:
|
1167 |
msgid "Submenu Retractor / Back Button Font Color"
|
1168 |
msgstr ""
|
1169 |
|
1170 |
-
#: pro/admin/settings.pro.php:
|
1171 |
msgid "The font color of the submenu retractor button"
|
1172 |
msgstr ""
|
1173 |
|
1174 |
-
#: pro/admin/settings.pro.php:
|
1175 |
msgid "Submenu Retractor / Back Button Alignment"
|
1176 |
msgstr ""
|
1177 |
|
1178 |
-
#: pro/admin/settings.pro.php:
|
1179 |
msgid "The alignment of the submenu retractor button text"
|
1180 |
msgstr ""
|
1181 |
|
1182 |
-
#: pro/admin/settings.pro.php:
|
1183 |
msgid "Submenu Background Color"
|
1184 |
msgstr ""
|
1185 |
|
1186 |
-
#: pro/admin/settings.pro.php:
|
1187 |
msgid "The background color of the submenu"
|
1188 |
msgstr ""
|
1189 |
|
1190 |
-
#: pro/admin/settings.pro.php:
|
1191 |
msgid "Submenu Item Background Color"
|
1192 |
msgstr ""
|
1193 |
|
1194 |
-
#: pro/admin/settings.pro.php:
|
1195 |
msgid "The background color of the individual submenu items"
|
1196 |
msgstr ""
|
1197 |
|
1198 |
-
#: pro/admin/settings.pro.php:
|
1199 |
msgid "Submenu Item Font Color"
|
1200 |
msgstr ""
|
1201 |
|
1202 |
-
#: pro/admin/settings.pro.php:
|
1203 |
msgid "The font color of the submenu items"
|
1204 |
msgstr ""
|
1205 |
|
1206 |
-
#: pro/admin/settings.pro.php:
|
1207 |
msgid "Submenu Item Top Border Color"
|
1208 |
msgstr ""
|
1209 |
|
1210 |
-
#: pro/admin/settings.pro.php:
|
1211 |
msgid "The color of the submenu item top border"
|
1212 |
msgstr ""
|
1213 |
|
1214 |
-
#: pro/admin/settings.pro.php:
|
1215 |
msgid "Submenu Item Bottom Border Color"
|
1216 |
msgstr ""
|
1217 |
|
1218 |
-
#: pro/admin/settings.pro.php:
|
1219 |
msgid "The color of the bottom border of the submenu items"
|
1220 |
msgstr ""
|
1221 |
|
1222 |
-
#: pro/admin/settings.pro.php:
|
1223 |
msgid "Submenu Item Font Size"
|
1224 |
msgstr ""
|
1225 |
|
1226 |
-
#: pro/admin/settings.pro.php:
|
1227 |
msgid "The font size of the submenu items"
|
1228 |
msgstr ""
|
1229 |
|
1230 |
-
#: pro/admin/settings.pro.php:
|
1231 |
msgid "Submenu Item Font Weight"
|
1232 |
msgstr ""
|
1233 |
|
1234 |
-
#: pro/admin/settings.pro.php:
|
1235 |
msgid "The font weight of the submenu items"
|
1236 |
msgstr ""
|
1237 |
|
1238 |
-
#: pro/admin/settings.pro.php:
|
1239 |
msgid "Font Family"
|
1240 |
msgstr ""
|
1241 |
|
1242 |
-
#: pro/admin/settings.pro.php:
|
1243 |
msgid ""
|
1244 |
"The font family the panel. This should be a system font or else the font "
|
1245 |
"assets should already be loaded on your site, via @font-face or Google "
|
@@ -1312,15 +1360,15 @@ msgstr ""
|
|
1312 |
msgid "Enter your license code to receive updates"
|
1313 |
msgstr ""
|
1314 |
|
1315 |
-
#: pro/updates/updater.php:
|
1316 |
msgid "License Invalid"
|
1317 |
msgstr ""
|
1318 |
|
1319 |
-
#: pro/updates/updater.php:
|
1320 |
msgid "License Expired"
|
1321 |
msgstr ""
|
1322 |
|
1323 |
-
#: pro/updates/updater.php:
|
1324 |
msgid "License is valid"
|
1325 |
msgstr ""
|
1326 |
|
1 |
+
# Copyright (C) 2020 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.3\n"
|
6 |
+
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/shiftnav-pro\n"
|
7 |
+
"POT-Creation-Date: 2020-02-20 17:22:06+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: 2020-MO-DA HO:MI+ZONE\n"
|
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
|
|
|
|
|
|
|
|
14 |
"Language: en\n"
|
15 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
16 |
"X-Poedit-Country: United States\n"
|
17 |
"X-Poedit-SourceCharset: UTF-8\n"
|
18 |
+
"X-Poedit-KeywordsList: "
|
19 |
+
"__;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_"
|
20 |
+
"attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c;\n"
|
21 |
"X-Poedit-Basepath: ../\n"
|
22 |
"X-Poedit-SearchPath-0: .\n"
|
23 |
"X-Poedit-Bookmarks: \n"
|
24 |
"X-Textdomain-Support: yes\n"
|
25 |
+
"X-Generator: grunt-wp-i18n 1.0.3\n"
|
26 |
+
|
27 |
+
#: admin/settings.config.php:40 pro/admin/settings.pro.php:405
|
28 |
+
msgid "Click to select, then %s or %s to copy to clipboard"
|
29 |
+
msgstr ""
|
30 |
|
31 |
+
#: admin/settings.config.php:46 pro/admin/settings.pro.php:411
|
32 |
+
msgid ""
|
33 |
+
"Pick the appropriate code and add to your template or content where you "
|
34 |
+
"want the toggle to appear. The menu panel itself is loaded automatically. "
|
35 |
+
"You can add the toggle code as many times as you like."
|
36 |
+
msgstr ""
|
37 |
+
|
38 |
+
#: admin/settings.config.php:58
|
39 |
msgid "Assigned Menu"
|
40 |
msgstr ""
|
41 |
|
42 |
+
#: admin/settings.config.php:66
|
43 |
msgid "Display Main ShiftNav Panel"
|
44 |
msgstr ""
|
45 |
|
46 |
+
#: admin/settings.config.php:67
|
47 |
msgid ""
|
48 |
"Do not uncheck this unless you want to disable the main ShiftNav panel "
|
49 |
"entirely."
|
50 |
msgstr ""
|
51 |
|
52 |
+
#: admin/settings.config.php:79 pro/admin/settings.pro.php:461
|
53 |
msgid "Edge"
|
54 |
msgstr ""
|
55 |
|
56 |
+
#: admin/settings.config.php:81
|
57 |
msgid "Which edge of the viewport should the ShiftNav panel appear on?"
|
58 |
msgstr ""
|
59 |
|
60 |
+
#: admin/settings.config.php:95 pro/admin/settings.pro.php:485
|
61 |
msgid "Skin"
|
62 |
msgstr ""
|
63 |
|
64 |
+
#: admin/settings.config.php:106 pro/admin/settings.pro.php:538
|
65 |
msgid "Indent Always Visible Submenus"
|
66 |
msgstr ""
|
67 |
|
68 |
+
#: admin/settings.config.php:107 pro/admin/settings.pro.php:539
|
69 |
msgid "Check this to indent submenu items of always-visible submenus"
|
70 |
msgstr ""
|
71 |
|
72 |
+
#: admin/settings.config.php:116 pro/admin/settings.pro.php:558
|
73 |
msgid "Display Site Title"
|
74 |
msgstr ""
|
75 |
|
76 |
+
#: admin/settings.config.php:117
|
77 |
msgid "Display the site title in the menu panel"
|
78 |
msgstr ""
|
79 |
|
80 |
+
#: admin/settings.config.php:126 pro/admin/settings.pro.php:578
|
81 |
msgid "Display Panel Close Button"
|
82 |
msgstr ""
|
83 |
|
84 |
+
#: admin/settings.config.php:127 pro/admin/settings.pro.php:579
|
85 |
msgid "Display an × close button in the upper right of the ShiftNav panel"
|
86 |
msgstr ""
|
87 |
|
88 |
+
#: admin/settings.config.php:137
|
89 |
msgid "Custom Toggle Integration Code"
|
90 |
msgstr ""
|
91 |
|
92 |
+
#: admin/settings.config.php:167
|
93 |
msgid "Display Toggle Bar"
|
94 |
msgstr ""
|
95 |
|
96 |
+
#: admin/settings.config.php:168
|
97 |
msgid ""
|
98 |
"Uncheck this to disable the default toggle bar and add your own custom "
|
99 |
"toggle"
|
100 |
msgstr ""
|
101 |
|
102 |
+
#: admin/settings.config.php:176
|
103 |
msgid "Toggle Bar Style"
|
104 |
msgstr ""
|
105 |
|
106 |
+
#: admin/settings.config.php:177
|
107 |
msgid ""
|
108 |
"Choose whether to have a full width bar, which can include a title and "
|
109 |
"other content, or just a hamburger button only which will appear in the "
|
110 |
"upper corner of the site."
|
111 |
msgstr ""
|
112 |
|
113 |
+
#: admin/settings.config.php:180
|
114 |
msgid "Full Bar"
|
115 |
msgstr ""
|
116 |
|
117 |
+
#: admin/settings.config.php:181
|
118 |
msgid "Hamburger button only"
|
119 |
msgstr ""
|
120 |
|
121 |
+
#: admin/settings.config.php:189
|
122 |
msgid "Toggle Breakpoint"
|
123 |
msgstr ""
|
124 |
|
125 |
+
#: admin/settings.config.php:190
|
126 |
msgid ""
|
127 |
"Show the toggle bar only below this pixel width. 960 is a good default for "
|
128 |
"most sites. Leave blank to show the toggle bar at all times. No need to "
|
129 |
"include \"px\""
|
130 |
msgstr ""
|
131 |
|
132 |
+
#: admin/settings.config.php:190
|
133 |
msgid "Set this to use ShiftNav only at mobile sizes"
|
134 |
msgstr ""
|
135 |
|
136 |
+
#: admin/settings.config.php:198
|
137 |
msgid "Hide Theme Menu"
|
138 |
msgstr ""
|
139 |
|
140 |
+
#: admin/settings.config.php:199
|
141 |
msgid ""
|
142 |
"Enter the selector of the theme's menu if you wish to hide it below the "
|
143 |
"breakpoint above. For example, <code>#primary-nav</code> or "
|
144 |
"<code>.topnav</code>. "
|
145 |
msgstr ""
|
146 |
|
147 |
+
#: admin/settings.config.php:199 admin/settings.config.php:208
|
148 |
msgid ""
|
149 |
"This setting requires you to set the <strong>Toggle Breakpoint</strong> "
|
150 |
"setting for it to have an effect"
|
151 |
msgstr ""
|
152 |
|
153 |
+
#: admin/settings.config.php:207
|
154 |
msgid "Hide UberMenu 3"
|
155 |
msgstr ""
|
156 |
|
157 |
+
#: admin/settings.config.php:208
|
158 |
msgid ""
|
159 |
"Hide all UberMenu 3 instances when ShiftNav is displayed. If you would "
|
160 |
"like to only hide a specific UberMenu, use the setting above with a "
|
161 |
"specific UberMenu ID."
|
162 |
msgstr ""
|
163 |
|
164 |
+
#: admin/settings.config.php:218 pro/admin/settings.pro.php:548
|
165 |
msgid "Toggle Content"
|
166 |
msgstr ""
|
167 |
|
168 |
+
#: admin/settings.config.php:219
|
169 |
msgid ""
|
170 |
"The content to display in the main toggle bar (only valid for Full Width "
|
171 |
"toggle bar style). Can contain shortcodes and HTML, including <img> tags. "
|
172 |
"Default: [shift_toggle_title] will print the site title"
|
173 |
msgstr ""
|
174 |
|
175 |
+
#: admin/settings.config.php:231
|
176 |
msgid "Toggle Target"
|
177 |
msgstr ""
|
178 |
|
179 |
+
#: admin/settings.config.php:232
|
180 |
msgid ""
|
181 |
"The area which will trigger the ShiftNav Panel to open. (Not relevant for "
|
182 |
"Full Bar toggle style)"
|
183 |
msgstr ""
|
184 |
|
185 |
+
#: admin/settings.config.php:235
|
186 |
msgid "Bars/Burger Icon Only"
|
187 |
msgstr ""
|
188 |
|
189 |
+
#: admin/settings.config.php:236
|
190 |
msgid "Entire Bar"
|
191 |
msgstr ""
|
192 |
|
193 |
+
#: admin/settings.config.php:243
|
194 |
msgid "Close Icon"
|
195 |
msgstr ""
|
196 |
|
197 |
+
#: admin/settings.config.php:244
|
198 |
msgid "When the toggle is open, choose which icon to display."
|
199 |
msgstr ""
|
200 |
|
201 |
+
#: admin/settings.config.php:257
|
202 |
msgid "Toggle Bar Position"
|
203 |
msgstr ""
|
204 |
|
205 |
+
#: admin/settings.config.php:258
|
206 |
msgid ""
|
207 |
"Choose Fixed if you'd like the toggle bar to always be visible, or Absolute "
|
208 |
"if you'd like it only to be visible when scrolled to the very top of the "
|
209 |
"page"
|
210 |
msgstr ""
|
211 |
|
212 |
+
#: admin/settings.config.php:261
|
213 |
msgid "Fixed (always in viewport)"
|
214 |
msgstr ""
|
215 |
|
216 |
+
#: admin/settings.config.php:262
|
217 |
msgid "Absolute (scrolls out of viewport)"
|
218 |
msgstr ""
|
219 |
|
220 |
+
#: admin/settings.config.php:271
|
221 |
msgid "Align Text"
|
222 |
msgstr ""
|
223 |
|
224 |
+
#: admin/settings.config.php:272
|
225 |
msgid "Align text left, right, or center. Applies to inline elements only."
|
226 |
msgstr ""
|
227 |
|
228 |
+
#: admin/settings.config.php:286
|
229 |
msgid "Background Color"
|
230 |
msgstr ""
|
231 |
|
232 |
+
#: admin/settings.config.php:297
|
233 |
msgid "Transparent Background"
|
234 |
msgstr ""
|
235 |
|
236 |
+
#: admin/settings.config.php:298
|
237 |
msgid ""
|
238 |
"Make the toggle bar transparent. Note that this only make sense if you are "
|
239 |
"using a hamburger-only Toggle Bar Style, or remove the Toggle Bar Gap"
|
240 |
msgstr ""
|
241 |
|
242 |
+
#: admin/settings.config.php:309
|
243 |
msgid "Text/Burger Color"
|
244 |
msgstr ""
|
245 |
|
246 |
+
#: admin/settings.config.php:319
|
247 |
msgid "Font Size"
|
248 |
msgstr ""
|
249 |
|
250 |
+
#: admin/settings.config.php:320
|
251 |
msgid "Override the default font size of the toggle bar by setting a value here."
|
252 |
msgstr ""
|
253 |
|
254 |
+
#: admin/settings.config.php:330
|
255 |
msgid "Hamburger Size"
|
256 |
msgstr ""
|
257 |
|
258 |
+
#: admin/settings.config.php:331
|
259 |
msgid "Size of the hamburger icon in pixes (font size)."
|
260 |
msgstr ""
|
261 |
|
262 |
+
#: admin/settings.config.php:342
|
263 |
msgid "Toggle Bar Gap"
|
264 |
msgstr ""
|
265 |
|
266 |
+
#: admin/settings.config.php:343
|
267 |
msgid ""
|
268 |
"By default, ShiftNav will automatically determine if a gap is needed - in "
|
269 |
"short, space is left for the full bar toggle, and is not left for a "
|
270 |
"burger-only toggle. If you wish to override this, you can do so here."
|
271 |
msgstr ""
|
272 |
|
273 |
+
#: admin/settings.config.php:346
|
274 |
msgid "Automatic"
|
275 |
msgstr ""
|
276 |
|
277 |
+
#: admin/settings.config.php:347
|
278 |
msgid "Disable Gap"
|
279 |
msgstr ""
|
280 |
|
281 |
+
#: admin/settings.config.php:348
|
282 |
msgid "Enable Gap"
|
283 |
msgstr ""
|
284 |
|
285 |
+
#: admin/settings.config.php:357
|
286 |
+
msgid "Toggle Button ARIA Label"
|
287 |
+
msgstr ""
|
288 |
+
|
289 |
+
#: admin/settings.config.php:358
|
290 |
+
msgid "The value for the aria-label attribute"
|
291 |
+
msgstr ""
|
292 |
+
|
293 |
+
#: admin/settings.config.php:391
|
294 |
msgid "CSS Tweaks"
|
295 |
msgstr ""
|
296 |
|
297 |
+
#: admin/settings.config.php:392
|
298 |
msgid "Add custom CSS here, which will be printed in the site head."
|
299 |
msgstr ""
|
300 |
|
301 |
+
#: admin/settings.config.php:399
|
302 |
msgid "Shift Body"
|
303 |
msgstr ""
|
304 |
|
305 |
+
#: admin/settings.config.php:400
|
306 |
msgid ""
|
307 |
"Shift the body of the site when the menu is revealed. For some themes, "
|
308 |
"this may negatively affect the site content, so this can be disabled."
|
309 |
msgstr ""
|
310 |
|
311 |
+
#: admin/settings.config.php:407
|
312 |
msgid "Shift Body Wrapper"
|
313 |
msgstr ""
|
314 |
|
315 |
+
#: admin/settings.config.php:408
|
316 |
msgid ""
|
317 |
"Leave this blank to automatically create a ShiftNav Wrapper via javascript "
|
318 |
"(this may have side effects). Set a selector here to turn a specific div "
|
321 |
"conflict."
|
322 |
msgstr ""
|
323 |
|
324 |
+
#: admin/settings.config.php:415
|
325 |
msgid "Footer Content"
|
326 |
msgstr ""
|
327 |
|
328 |
+
#: admin/settings.config.php:416
|
329 |
msgid ""
|
330 |
"Add HTML or Shortcodes here and it will be injected at the wp_footer() "
|
331 |
"hook. Useful for fixed position elements"
|
332 |
msgstr ""
|
333 |
|
334 |
+
#: admin/settings.config.php:423
|
335 |
msgid "Mobile Only"
|
336 |
msgstr ""
|
337 |
|
338 |
+
#: admin/settings.config.php:424
|
339 |
msgid ""
|
340 |
"Only display ShiftNav when a mobile device is detected via wp_is_mobile(). "
|
341 |
"If you are using a caching plugin, make sure you have separate mobile and "
|
342 |
"desktop caches."
|
343 |
msgstr ""
|
344 |
|
345 |
+
#: admin/settings.config.php:424
|
346 |
msgid ""
|
347 |
"This is NOT the preferred way to make your menu appear on mobile devices. "
|
348 |
"For 99% of users, you will want to set a Toggle Breakpoint in the Toggle "
|
349 |
"Bar Panel, rather than using this setting."
|
350 |
msgstr ""
|
351 |
|
352 |
+
#: admin/settings.config.php:431
|
353 |
msgid "Button Size"
|
354 |
msgstr ""
|
355 |
|
356 |
+
#: admin/settings.config.php:432
|
357 |
msgid ""
|
358 |
"The size of the padding on the links in the menu. The larger the setting, "
|
359 |
"the easier to click; but fewer menu items will appear on the screen at a "
|
360 |
"time."
|
361 |
msgstr ""
|
362 |
|
363 |
+
#: admin/settings.config.php:445
|
364 |
msgid "Text Size"
|
365 |
msgstr ""
|
366 |
|
367 |
+
#: admin/settings.config.php:446
|
368 |
msgid "The size of the font on the links in the menu (will override all levels)."
|
369 |
msgstr ""
|
370 |
|
371 |
+
#: admin/settings.config.php:460
|
372 |
msgid "Icon Size"
|
373 |
msgstr ""
|
374 |
|
375 |
+
#: admin/settings.config.php:461
|
376 |
msgid "The size of the icons in the menu."
|
377 |
msgstr ""
|
378 |
|
379 |
+
#: admin/settings.config.php:477
|
380 |
msgid "Disable Transforms & Transitions"
|
381 |
msgstr ""
|
382 |
|
383 |
+
#: admin/settings.config.php:478
|
384 |
msgid ""
|
385 |
"Disable CSS3 transformations and transitions. This will disable smooth "
|
386 |
"animations, but may work better on browsers that don't properly implement "
|
390 |
"produce false positives when testing."
|
391 |
msgstr ""
|
392 |
|
393 |
+
#: admin/settings.config.php:485
|
394 |
msgid "Touch-off close"
|
395 |
msgstr ""
|
396 |
|
397 |
+
#: admin/settings.config.php:486
|
398 |
msgid ""
|
399 |
"Close the ShiftNav panel or search dropdown when touching any content not "
|
400 |
"in the panel."
|
401 |
msgstr ""
|
402 |
|
403 |
+
#: admin/settings.config.php:494
|
404 |
+
msgid "Close panel on menu link click"
|
405 |
+
msgstr ""
|
406 |
+
|
407 |
+
#: admin/settings.config.php:495
|
408 |
+
msgid ""
|
409 |
+
"Immediately close the panel when a link in the menu is clicked (prior to "
|
410 |
+
"redirect)"
|
411 |
+
msgstr ""
|
412 |
+
|
413 |
+
#: admin/settings.config.php:502
|
414 |
msgid "Scroll Offset"
|
415 |
msgstr ""
|
416 |
|
417 |
+
#: admin/settings.config.php:503
|
418 |
msgid ""
|
419 |
"When using the ScrollTo functionality, this is the number of pixels to "
|
420 |
"offset the scroll by, to account for the toggle bar and any spacing you "
|
421 |
"want."
|
422 |
msgstr ""
|
423 |
|
424 |
+
#: admin/settings.config.php:518
|
425 |
msgid "Open Current Accordion Submenu"
|
426 |
msgstr ""
|
427 |
|
428 |
+
#: admin/settings.config.php:519
|
429 |
msgid ""
|
430 |
"Open the submenu of the current menu item on page load (accordion submenus "
|
431 |
"only)."
|
432 |
msgstr ""
|
433 |
|
434 |
+
#: admin/settings.config.php:526
|
435 |
msgid "Collapse Accordions"
|
436 |
msgstr ""
|
437 |
|
438 |
+
#: admin/settings.config.php:527
|
439 |
msgid ""
|
440 |
"When an accordion menu is opened, collapse any other accordions on that "
|
441 |
"level."
|
442 |
msgstr ""
|
443 |
|
444 |
+
#: admin/settings.config.php:534
|
445 |
msgid "Scroll Shift Submenus to Top"
|
446 |
msgstr ""
|
447 |
|
448 |
+
#: admin/settings.config.php:535
|
449 |
msgid ""
|
450 |
"When a Shift submenu is activated, scroll that item to the top to maximize "
|
451 |
"submenu visibility."
|
452 |
msgstr ""
|
453 |
|
454 |
+
#: admin/settings.config.php:543
|
455 |
msgid "Highlight Targets on Hover"
|
456 |
msgstr ""
|
457 |
|
458 |
+
#: admin/settings.config.php:544
|
459 |
msgid ""
|
460 |
"With this setting enabled, the links will be highlighted when hovered or "
|
461 |
"touched."
|
462 |
msgstr ""
|
463 |
|
464 |
+
#: admin/settings.config.php:551
|
465 |
msgid "Highlight Targets on :active"
|
466 |
msgstr ""
|
467 |
|
468 |
+
#: admin/settings.config.php:552
|
469 |
msgid ""
|
470 |
"With this setting enabled, the links will be highlighted while in the "
|
471 |
":active state. May not be desirable for touch scrolling."
|
472 |
msgstr ""
|
473 |
|
474 |
+
#: admin/settings.config.php:559
|
475 |
msgid "Back Button Tag"
|
476 |
msgstr ""
|
477 |
|
478 |
+
#: admin/settings.config.php:560
|
479 |
msgid ""
|
480 |
"By default the tag is an anchor. Some themes will try to add JS to the "
|
481 |
"anchor and break the back button functionality, so you can also switch this "
|
482 |
"to a span to avoid the issue."
|
483 |
msgstr ""
|
484 |
|
485 |
+
#: admin/settings.config.php:571
|
486 |
msgid "Back Button Text"
|
487 |
msgstr ""
|
488 |
|
489 |
+
#: admin/settings.config.php:572
|
490 |
msgid ""
|
491 |
"By default, the Back button text will read \"Back\". You can change this "
|
492 |
"here. Note that if you set a value here, it will no longer be translatable."
|
493 |
msgstr ""
|
494 |
|
495 |
+
#: admin/settings.config.php:578
|
496 |
msgid "Top Back Button"
|
497 |
msgstr ""
|
498 |
|
499 |
+
#: admin/settings.config.php:579
|
500 |
msgid "Display a back button at the top of shift submenus (below the parent item)"
|
501 |
msgstr ""
|
502 |
|
503 |
+
#: admin/settings.config.php:585
|
504 |
msgid "Bottom Back Button"
|
505 |
msgstr ""
|
506 |
|
507 |
+
#: admin/settings.config.php:586
|
508 |
msgid ""
|
509 |
"Display a back button at the bottom of shift submenus. Note that you must "
|
510 |
"leave at least one back button enabled for users to be able to move back up "
|
511 |
"a level."
|
512 |
msgstr ""
|
513 |
|
514 |
+
#: admin/settings.config.php:593
|
515 |
msgid "Show Tips to Admins"
|
516 |
msgstr ""
|
517 |
|
518 |
+
#: admin/settings.config.php:594
|
519 |
msgid "Display tips to admin users"
|
520 |
msgstr ""
|
521 |
|
522 |
+
#: admin/settings.config.php:601
|
523 |
msgid "Lock Horizontal Scroll"
|
524 |
msgstr ""
|
525 |
|
526 |
+
#: admin/settings.config.php:602
|
527 |
msgid ""
|
528 |
"Attempt to prevent the content from scrolling horizontally when the menu is "
|
529 |
"active. On some themes, may also prevent vertical scrolling. May not "
|
531 |
"Body</strong> is disabled."
|
532 |
msgstr ""
|
533 |
|
534 |
+
#: admin/settings.config.php:609
|
535 |
msgid "Lock Scroll"
|
536 |
msgstr ""
|
537 |
|
538 |
+
#: admin/settings.config.php:610
|
539 |
msgid ""
|
540 |
"Lock both vertical and horizontal scrolling on site content when menu is "
|
541 |
"active. No effect if <strong>Shift Body</strong> is disabled."
|
542 |
msgstr ""
|
543 |
|
544 |
+
#: admin/settings.config.php:617
|
545 |
msgid "Load Font Awesome"
|
546 |
msgstr ""
|
547 |
|
548 |
+
#: admin/settings.config.php:618
|
549 |
msgid ""
|
550 |
"If you are already loading Font Awesome 4 elsewhere in your setup, you can "
|
551 |
"disable this."
|
552 |
msgstr ""
|
553 |
|
554 |
+
#: admin/settings.config.php:625
|
555 |
msgid "Inherit UberMenu Conditionals"
|
556 |
msgstr ""
|
557 |
|
558 |
+
#: admin/settings.config.php:626
|
559 |
msgid "Display menu items based on UberMenu Conditionals settings"
|
560 |
msgstr ""
|
561 |
|
562 |
+
#: admin/settings.config.php:633
|
563 |
msgid "Process UberMenu Menu Segments"
|
564 |
msgstr ""
|
565 |
|
566 |
+
#: admin/settings.config.php:634
|
567 |
msgid ""
|
568 |
"Most UberMenu Advanced Items will be ignored by ShiftNav, as they are "
|
569 |
"UberMenu-specific. However, ShiftNav can process UberMenu Menu Segments "
|
570 |
"with this setting enabled."
|
571 |
msgstr ""
|
572 |
|
573 |
+
#: admin/settings.config.php:642
|
574 |
msgid "Force Filter Menu Args"
|
575 |
msgstr ""
|
576 |
|
577 |
+
#: admin/settings.config.php:643
|
578 |
msgid ""
|
579 |
"Some themes will filter the menu arguments on all menus on the site, which "
|
580 |
"can break things. This will re-filter those arguments for ShiftNav menus "
|
581 |
"only."
|
582 |
msgstr ""
|
583 |
|
584 |
+
#: admin/settings.config.php:650
|
585 |
msgid "Kill Menu Class Filter"
|
586 |
msgstr ""
|
587 |
|
588 |
+
#: admin/settings.config.php:651
|
589 |
msgid ""
|
590 |
"Some themes filter the menu item classes and strip out core WordPress "
|
591 |
"functionality. This will change the structure of ShiftNav and prevent "
|
593 |
"<code>nav_menu_css_class</code> filter."
|
594 |
msgstr ""
|
595 |
|
596 |
+
#: admin/settings.config.php:690
|
597 |
+
msgid "Scroll Top Boundary"
|
598 |
+
msgstr ""
|
599 |
+
|
600 |
+
#: admin/settings.config.php:691
|
601 |
+
msgid ""
|
602 |
+
"(Unrelated to ScrollTo or Scroll Offset). Pixel distance from the top of "
|
603 |
+
"the viewport at which the user is considered to have scrolled to the top. "
|
604 |
+
"Used for the Hide Toggle Bar on Scroll Down setting."
|
605 |
+
msgstr ""
|
606 |
+
|
607 |
+
#: admin/settings.config.php:727
|
608 |
msgid "Main ShiftNav Settings"
|
609 |
msgstr ""
|
610 |
|
611 |
+
#: admin/settings.config.php:731
|
612 |
msgid "Toggle Bar"
|
613 |
msgstr ""
|
614 |
|
615 |
+
#: admin/settings.config.php:739
|
616 |
msgid "General Settings"
|
617 |
msgstr ""
|
618 |
|
619 |
+
#: admin/settings.config.php:764
|
620 |
msgid "Reset Settings"
|
621 |
msgstr ""
|
622 |
|
683 |
msgstr ""
|
684 |
|
685 |
#: admin/settings.menu.php:340 pro/admin/item.settings.pro.php:47
|
686 |
+
#: pro/admin/settings.pro.php:206 pro/admin/settings.pro.php:501
|
687 |
msgid "Always visible"
|
688 |
msgstr ""
|
689 |
|
739 |
msgid "Back"
|
740 |
msgstr ""
|
741 |
|
742 |
+
#: includes/functions.php:307
|
743 |
msgid "ShiftNav [Main]"
|
744 |
msgstr ""
|
745 |
|
768 |
msgstr ""
|
769 |
|
770 |
#: pro/admin/item.settings.pro.php:48 pro/admin/settings.pro.php:207
|
771 |
+
#: pro/admin/settings.pro.php:502
|
772 |
msgid "Accordion"
|
773 |
msgstr ""
|
774 |
|
775 |
#: pro/admin/item.settings.pro.php:49 pro/admin/settings.pro.php:208
|
776 |
+
#: pro/admin/settings.pro.php:503
|
777 |
msgid "Shift"
|
778 |
msgstr ""
|
779 |
|
780 |
+
#: pro/admin/settings.pro.php:202 pro/admin/settings.pro.php:497
|
781 |
msgid "Submenu Type Default"
|
782 |
msgstr ""
|
783 |
|
784 |
+
#: pro/admin/settings.pro.php:203 pro/admin/settings.pro.php:498
|
785 |
msgid ""
|
786 |
"This submenu type will be used by any Menu Item whose Submenu Type is set "
|
787 |
"to \"Menu Default\""
|
788 |
msgstr ""
|
789 |
|
790 |
+
#: pro/admin/settings.pro.php:237 pro/admin/settings.pro.php:513
|
791 |
msgid "Accordion Toggle Open Icon"
|
792 |
msgstr ""
|
793 |
|
794 |
+
#: pro/admin/settings.pro.php:238 pro/admin/settings.pro.php:514
|
795 |
msgid "The icon that, when tapped, will open the accordion submenu"
|
796 |
msgstr ""
|
797 |
|
798 |
+
#: pro/admin/settings.pro.php:271 pro/admin/settings.pro.php:525
|
799 |
msgid "Accordion Toggle Close Icon"
|
800 |
msgstr ""
|
801 |
|
802 |
+
#: pro/admin/settings.pro.php:272 pro/admin/settings.pro.php:526
|
803 |
msgid "The icon that, when tapped, will close the accordion submenu"
|
804 |
msgstr ""
|
805 |
|
806 |
+
#: pro/admin/settings.pro.php:285 pro/admin/settings.pro.php:475
|
807 |
msgid "Disable Menu"
|
808 |
msgstr ""
|
809 |
|
813 |
"and can be used for custom content"
|
814 |
msgstr ""
|
815 |
|
816 |
+
#: pro/admin/settings.pro.php:295 pro/admin/settings.pro.php:588
|
817 |
msgid "Top Image"
|
818 |
msgstr ""
|
819 |
|
820 |
+
#: pro/admin/settings.pro.php:305 pro/admin/settings.pro.php:598
|
821 |
msgid "Pad Image"
|
822 |
msgstr ""
|
823 |
|
824 |
+
#: pro/admin/settings.pro.php:306 pro/admin/settings.pro.php:599
|
825 |
msgid ""
|
826 |
"Add padding to align image with menu item text. Uncheck to expand to the "
|
827 |
"edges of the panel."
|
828 |
msgstr ""
|
829 |
|
830 |
+
#: pro/admin/settings.pro.php:315 pro/admin/settings.pro.php:608
|
831 |
msgid "Image Link (URL)"
|
832 |
msgstr ""
|
833 |
|
834 |
+
#: pro/admin/settings.pro.php:316 pro/admin/settings.pro.php:609
|
835 |
msgid "Make the image a link to this URL."
|
836 |
msgstr ""
|
837 |
|
838 |
+
#: pro/admin/settings.pro.php:325 pro/admin/settings.pro.php:618
|
839 |
msgid "Custom Content Before Menu"
|
840 |
msgstr ""
|
841 |
|
842 |
+
#: pro/admin/settings.pro.php:336 pro/admin/settings.pro.php:629
|
843 |
msgid "Custom Content After Menu"
|
844 |
msgstr ""
|
845 |
|
846 |
+
#: pro/admin/settings.pro.php:353
|
847 |
+
msgid "Hide Toggle Bar on Scroll Down"
|
848 |
+
msgstr ""
|
849 |
+
|
850 |
#: pro/admin/settings.pro.php:354
|
851 |
+
msgid "Move the toggle bar off-screen while the user scrolls down."
|
852 |
+
msgstr ""
|
853 |
+
|
854 |
+
#: pro/admin/settings.pro.php:363
|
855 |
msgid "Toggle Content Left Edge"
|
856 |
msgstr ""
|
857 |
|
858 |
+
#: pro/admin/settings.pro.php:364
|
859 |
msgid ""
|
860 |
"For the Full Bar toggle style, this content will appear at the left edge of "
|
861 |
"the toggle bar, to the right of the toggle icon. To pad your custom "
|
862 |
"content vertically, use the class <code>shiftnav-toggle-main-block</code>."
|
863 |
msgstr ""
|
864 |
|
865 |
+
#: pro/admin/settings.pro.php:375
|
866 |
msgid "Toggle Content Right Edge"
|
867 |
msgstr ""
|
868 |
|
869 |
+
#: pro/admin/settings.pro.php:376
|
870 |
msgid ""
|
871 |
"For the Full Bar toggle style, this content will appear at the right edge "
|
872 |
"of the toggle bar. To pad your custom content vertically, use the class "
|
873 |
"<code>shiftnav-toggle-main-block</code>."
|
874 |
msgstr ""
|
875 |
|
876 |
+
#: pro/admin/settings.pro.php:417
|
877 |
msgid "Integration Code"
|
878 |
msgstr ""
|
879 |
|
880 |
+
#: pro/admin/settings.pro.php:423
|
881 |
msgid "Instance Name"
|
882 |
msgstr ""
|
883 |
|
884 |
+
#: pro/admin/settings.pro.php:432
|
885 |
msgid "Automatically Generate Panel"
|
886 |
msgstr ""
|
887 |
|
888 |
+
#: pro/admin/settings.pro.php:433
|
889 |
msgid ""
|
890 |
"Automatically generate this ShiftNav instance. It'll be added to each page "
|
891 |
"of the site"
|
892 |
msgstr ""
|
893 |
|
894 |
+
#: pro/admin/settings.pro.php:441
|
895 |
msgid "Display Menu"
|
896 |
msgstr ""
|
897 |
|
898 |
+
#: pro/admin/settings.pro.php:451
|
899 |
msgid "Theme Location"
|
900 |
msgstr ""
|
901 |
|
902 |
+
#: pro/admin/settings.pro.php:452
|
903 |
msgid ""
|
904 |
"Select the Theme Location to display. The Menu setting will override this "
|
905 |
"setting if a menu is selected."
|
906 |
msgstr ""
|
907 |
|
908 |
+
#: pro/admin/settings.pro.php:462
|
909 |
msgid "Select which edge of your site to display the menu on"
|
910 |
msgstr ""
|
911 |
|
912 |
+
#: pro/admin/settings.pro.php:476
|
913 |
msgid ""
|
914 |
"Check this to disable the menu entirely; the panel can be used for custom "
|
915 |
"content"
|
916 |
msgstr ""
|
917 |
|
918 |
+
#: pro/admin/settings.pro.php:486
|
919 |
msgid "Select which skin to use for this instance"
|
920 |
msgstr ""
|
921 |
|
922 |
+
#: pro/admin/settings.pro.php:549
|
923 |
msgid ""
|
924 |
"Enter the content to be displayed in the toggle, which you will insert into "
|
925 |
"your template with the integration code at the top of this tab."
|
926 |
msgstr ""
|
927 |
|
928 |
+
#: pro/admin/settings.pro.php:559
|
929 |
msgid "Display the site title in the menu"
|
930 |
msgstr ""
|
931 |
|
932 |
+
#: pro/admin/settings.pro.php:568
|
933 |
msgid "Display Instance Name"
|
934 |
msgstr ""
|
935 |
|
936 |
+
#: pro/admin/settings.pro.php:569
|
937 |
msgid "Display the instance name in the menu"
|
938 |
msgstr ""
|
939 |
|
940 |
+
#: pro/admin/settings.pro.php:657
|
941 |
msgid "Delete Instance"
|
942 |
msgstr ""
|
943 |
|
944 |
+
#: pro/admin/settings.pro.php:658
|
945 |
msgid "Permanently Delete Instance"
|
946 |
msgstr ""
|
947 |
|
948 |
+
#: pro/admin/settings.pro.php:705
|
949 |
msgid "Panel Background Color"
|
950 |
msgstr ""
|
951 |
|
952 |
+
#: pro/admin/settings.pro.php:716
|
953 |
msgid "Panel Default Font Color"
|
954 |
msgstr ""
|
955 |
|
956 |
+
#: pro/admin/settings.pro.php:717
|
957 |
msgid ""
|
958 |
"The default font color for custom content within the panel (menu-specific "
|
959 |
"styles will override this for menu items)"
|
960 |
msgstr ""
|
961 |
|
962 |
+
#: pro/admin/settings.pro.php:732
|
963 |
msgid "Panel Title Font Color"
|
964 |
msgstr ""
|
965 |
|
966 |
+
#: pro/admin/settings.pro.php:733
|
967 |
msgid "The font color for the header/title within the panel."
|
968 |
msgstr ""
|
969 |
|
970 |
+
#: pro/admin/settings.pro.php:743
|
971 |
msgid "Panel Title Font Size"
|
972 |
msgstr ""
|
973 |
|
974 |
+
#: pro/admin/settings.pro.php:744 pro/admin/settings.pro.php:969
|
975 |
msgid "The font size for the header/title within the panel."
|
976 |
msgstr ""
|
977 |
|
978 |
+
#: pro/admin/settings.pro.php:754
|
979 |
msgid "Panel Title Text Alignment"
|
980 |
msgstr ""
|
981 |
|
982 |
+
#: pro/admin/settings.pro.php:755
|
983 |
msgid "The alignment of the text in the header/title within the panel."
|
984 |
msgstr ""
|
985 |
|
986 |
+
#: pro/admin/settings.pro.php:758 pro/admin/settings.pro.php:775
|
987 |
+
#: pro/admin/settings.pro.php:888 pro/admin/settings.pro.php:972
|
988 |
+
#: pro/admin/settings.pro.php:1058 pro/admin/settings.pro.php:1144
|
989 |
msgid "Default"
|
990 |
msgstr ""
|
991 |
|
992 |
+
#: pro/admin/settings.pro.php:759 pro/admin/settings.pro.php:1059
|
993 |
msgid "Center"
|
994 |
msgstr ""
|
995 |
|
996 |
+
#: pro/admin/settings.pro.php:760 pro/admin/settings.pro.php:1060
|
997 |
msgid "Left"
|
998 |
msgstr ""
|
999 |
|
1000 |
+
#: pro/admin/settings.pro.php:761 pro/admin/settings.pro.php:1061
|
1001 |
msgid "Right"
|
1002 |
msgstr ""
|
1003 |
|
1004 |
+
#: pro/admin/settings.pro.php:771
|
1005 |
msgid "Panel Title Font Weight"
|
1006 |
msgstr ""
|
1007 |
|
1008 |
+
#: pro/admin/settings.pro.php:772
|
1009 |
msgid "The font weight of the text in the header/title within the panel."
|
1010 |
msgstr ""
|
1011 |
|
1012 |
+
#: pro/admin/settings.pro.php:776 pro/admin/settings.pro.php:889
|
1013 |
+
#: pro/admin/settings.pro.php:1145
|
1014 |
msgid "Normal"
|
1015 |
msgstr ""
|
1016 |
|
1017 |
+
#: pro/admin/settings.pro.php:777 pro/admin/settings.pro.php:890
|
1018 |
+
#: pro/admin/settings.pro.php:1146
|
1019 |
msgid "Bold"
|
1020 |
msgstr ""
|
1021 |
|
1022 |
+
#: pro/admin/settings.pro.php:794
|
1023 |
msgid "Menu Item Background Color"
|
1024 |
msgstr ""
|
1025 |
|
1026 |
+
#: pro/admin/settings.pro.php:795
|
1027 |
msgid ""
|
1028 |
"The color of the menu item background. Normally not necessary to set "
|
1029 |
"unless you want it to differ from the panel background"
|
1030 |
msgstr ""
|
1031 |
|
1032 |
+
#: pro/admin/settings.pro.php:803
|
1033 |
msgid "Menu Item Font Color"
|
1034 |
msgstr ""
|
1035 |
|
1036 |
+
#: pro/admin/settings.pro.php:804
|
1037 |
msgid "The color of the menu item text."
|
1038 |
msgstr ""
|
1039 |
|
1040 |
+
#: pro/admin/settings.pro.php:814
|
1041 |
msgid "Menu Item Background Color [Active]"
|
1042 |
msgstr ""
|
1043 |
|
1044 |
+
#: pro/admin/settings.pro.php:815
|
1045 |
msgid "The color of the menu item background when activated."
|
1046 |
msgstr ""
|
1047 |
|
1048 |
+
#: pro/admin/settings.pro.php:823
|
1049 |
msgid "Menu Item Font Color [Active]"
|
1050 |
msgstr ""
|
1051 |
|
1052 |
+
#: pro/admin/settings.pro.php:824
|
1053 |
msgid "The color of the menu item text when activated."
|
1054 |
msgstr ""
|
1055 |
|
1056 |
+
#: pro/admin/settings.pro.php:834
|
1057 |
msgid "Menu Item Background Color [Current]"
|
1058 |
msgstr ""
|
1059 |
|
1060 |
+
#: pro/admin/settings.pro.php:835
|
1061 |
msgid "The background color of current menu items."
|
1062 |
msgstr ""
|
1063 |
|
1064 |
+
#: pro/admin/settings.pro.php:843
|
1065 |
msgid "Menu Item Font Color [Current]"
|
1066 |
msgstr ""
|
1067 |
|
1068 |
+
#: pro/admin/settings.pro.php:844
|
1069 |
msgid "The font color of current menu items"
|
1070 |
msgstr ""
|
1071 |
|
1072 |
+
#: pro/admin/settings.pro.php:854
|
1073 |
msgid "Menu Item Background Color [Highlight]"
|
1074 |
msgstr ""
|
1075 |
|
1076 |
+
#: pro/admin/settings.pro.php:855
|
1077 |
msgid "The background color of highlighted menu items."
|
1078 |
msgstr ""
|
1079 |
|
1080 |
+
#: pro/admin/settings.pro.php:863
|
1081 |
msgid "Menu Item Font Color [Highlight]"
|
1082 |
msgstr ""
|
1083 |
|
1084 |
+
#: pro/admin/settings.pro.php:864
|
1085 |
msgid "The color of highlighted menu items"
|
1086 |
msgstr ""
|
1087 |
|
1088 |
+
#: pro/admin/settings.pro.php:875
|
1089 |
msgid "Menu Item Font Size"
|
1090 |
msgstr ""
|
1091 |
|
1092 |
+
#: pro/admin/settings.pro.php:876
|
1093 |
msgid "The size of the menu item text."
|
1094 |
msgstr ""
|
1095 |
|
1096 |
+
#: pro/admin/settings.pro.php:884
|
1097 |
msgid "Menu Item Font Weight"
|
1098 |
msgstr ""
|
1099 |
|
1100 |
+
#: pro/admin/settings.pro.php:885
|
1101 |
msgid "The weight of the menu item text."
|
1102 |
msgstr ""
|
1103 |
|
1104 |
+
#: pro/admin/settings.pro.php:898
|
1105 |
msgid "Menu Item Padding"
|
1106 |
msgstr ""
|
1107 |
|
1108 |
+
#: pro/admin/settings.pro.php:899
|
1109 |
msgid "The padding around the menu item text."
|
1110 |
msgstr ""
|
1111 |
|
1112 |
+
#: pro/admin/settings.pro.php:907
|
1113 |
msgid "Menu Item Top Border Color"
|
1114 |
msgstr ""
|
1115 |
|
1116 |
+
#: pro/admin/settings.pro.php:908
|
1117 |
msgid "The color of the top border of the menu item."
|
1118 |
msgstr ""
|
1119 |
|
1120 |
+
#: pro/admin/settings.pro.php:916
|
1121 |
msgid "Menu Item Top Border Color [Active]"
|
1122 |
msgstr ""
|
1123 |
|
1124 |
+
#: pro/admin/settings.pro.php:917
|
1125 |
msgid "The color of the top border of an active menu item."
|
1126 |
msgstr ""
|
1127 |
|
1128 |
+
#: pro/admin/settings.pro.php:925
|
1129 |
msgid "Menu Item Bottom Border Color"
|
1130 |
msgstr ""
|
1131 |
|
1132 |
+
#: pro/admin/settings.pro.php:926
|
1133 |
msgid "The color of the bottom border of the menu item."
|
1134 |
msgstr ""
|
1135 |
|
1136 |
+
#: pro/admin/settings.pro.php:935
|
1137 |
msgid "Menu Item Bottom Border Color [Active]"
|
1138 |
msgstr ""
|
1139 |
|
1140 |
+
#: pro/admin/settings.pro.php:936
|
1141 |
msgid "The color of the bottom border of the active menu item."
|
1142 |
msgstr ""
|
1143 |
|
1144 |
+
#: pro/admin/settings.pro.php:945 pro/admin/settings.pro.php:1121
|
1145 |
msgid "Disable Menu Item Borders"
|
1146 |
msgstr ""
|
1147 |
|
1148 |
+
#: pro/admin/settings.pro.php:946 pro/admin/settings.pro.php:1122
|
1149 |
msgid "Remove the borders between menu items."
|
1150 |
msgstr ""
|
1151 |
|
1152 |
+
#: pro/admin/settings.pro.php:956
|
1153 |
msgid "Disable Menu Item Text Shadow"
|
1154 |
msgstr ""
|
1155 |
|
1156 |
+
#: pro/admin/settings.pro.php:957
|
1157 |
msgid "Remove the text shadow on the menu items."
|
1158 |
msgstr ""
|
1159 |
|
1160 |
+
#: pro/admin/settings.pro.php:968
|
1161 |
msgid "Top Level Menu Item Text Transform"
|
1162 |
msgstr ""
|
1163 |
|
1164 |
+
#: pro/admin/settings.pro.php:973
|
1165 |
msgid "None"
|
1166 |
msgstr ""
|
1167 |
|
1168 |
+
#: pro/admin/settings.pro.php:974
|
1169 |
msgid "Uppercase"
|
1170 |
msgstr ""
|
1171 |
|
1172 |
+
#: pro/admin/settings.pro.php:989
|
1173 |
msgid "Menu Item Activator Button Background"
|
1174 |
msgstr ""
|
1175 |
|
1176 |
+
#: pro/admin/settings.pro.php:990
|
1177 |
msgid "The background color of the button used to open and close the submenus"
|
1178 |
msgstr ""
|
1179 |
|
1180 |
+
#: pro/admin/settings.pro.php:998
|
1181 |
msgid "Menu Item Activator Button Background [Active]"
|
1182 |
msgstr ""
|
1183 |
|
1184 |
+
#: pro/admin/settings.pro.php:999
|
1185 |
msgid ""
|
1186 |
"The active background color of the button used to open and close the "
|
1187 |
"submenus"
|
1188 |
msgstr ""
|
1189 |
|
1190 |
+
#: pro/admin/settings.pro.php:1007
|
1191 |
msgid "Menu Item Activator Arrow Color"
|
1192 |
msgstr ""
|
1193 |
|
1194 |
+
#: pro/admin/settings.pro.php:1008
|
1195 |
msgid "The arrow color of the button used to open and close the submenus"
|
1196 |
msgstr ""
|
1197 |
|
1198 |
+
#: pro/admin/settings.pro.php:1016
|
1199 |
msgid "Menu Item Activator Arrow Color [Active]"
|
1200 |
msgstr ""
|
1201 |
|
1202 |
+
#: pro/admin/settings.pro.php:1017
|
1203 |
msgid "The active arrow color of the button used to open and close the submenus"
|
1204 |
msgstr ""
|
1205 |
|
1206 |
+
#: pro/admin/settings.pro.php:1036
|
1207 |
msgid "Submenu Retractor / Back Button Background"
|
1208 |
msgstr ""
|
1209 |
|
1210 |
+
#: pro/admin/settings.pro.php:1037
|
1211 |
msgid "The background color of the submenu retractor button"
|
1212 |
msgstr ""
|
1213 |
|
1214 |
+
#: pro/admin/settings.pro.php:1045
|
1215 |
msgid "Submenu Retractor / Back Button Font Color"
|
1216 |
msgstr ""
|
1217 |
|
1218 |
+
#: pro/admin/settings.pro.php:1046
|
1219 |
msgid "The font color of the submenu retractor button"
|
1220 |
msgstr ""
|
1221 |
|
1222 |
+
#: pro/admin/settings.pro.php:1054
|
1223 |
msgid "Submenu Retractor / Back Button Alignment"
|
1224 |
msgstr ""
|
1225 |
|
1226 |
+
#: pro/admin/settings.pro.php:1055
|
1227 |
msgid "The alignment of the submenu retractor button text"
|
1228 |
msgstr ""
|
1229 |
|
1230 |
+
#: pro/admin/settings.pro.php:1073
|
1231 |
msgid "Submenu Background Color"
|
1232 |
msgstr ""
|
1233 |
|
1234 |
+
#: pro/admin/settings.pro.php:1074
|
1235 |
msgid "The background color of the submenu"
|
1236 |
msgstr ""
|
1237 |
|
1238 |
+
#: pro/admin/settings.pro.php:1083
|
1239 |
msgid "Submenu Item Background Color"
|
1240 |
msgstr ""
|
1241 |
|
1242 |
+
#: pro/admin/settings.pro.php:1084
|
1243 |
msgid "The background color of the individual submenu items"
|
1244 |
msgstr ""
|
1245 |
|
1246 |
+
#: pro/admin/settings.pro.php:1093
|
1247 |
msgid "Submenu Item Font Color"
|
1248 |
msgstr ""
|
1249 |
|
1250 |
+
#: pro/admin/settings.pro.php:1094
|
1251 |
msgid "The font color of the submenu items"
|
1252 |
msgstr ""
|
1253 |
|
1254 |
+
#: pro/admin/settings.pro.php:1102
|
1255 |
msgid "Submenu Item Top Border Color"
|
1256 |
msgstr ""
|
1257 |
|
1258 |
+
#: pro/admin/settings.pro.php:1103
|
1259 |
msgid "The color of the submenu item top border"
|
1260 |
msgstr ""
|
1261 |
|
1262 |
+
#: pro/admin/settings.pro.php:1111
|
1263 |
msgid "Submenu Item Bottom Border Color"
|
1264 |
msgstr ""
|
1265 |
|
1266 |
+
#: pro/admin/settings.pro.php:1112
|
1267 |
msgid "The color of the bottom border of the submenu items"
|
1268 |
msgstr ""
|
1269 |
|
1270 |
+
#: pro/admin/settings.pro.php:1131
|
1271 |
msgid "Submenu Item Font Size"
|
1272 |
msgstr ""
|
1273 |
|
1274 |
+
#: pro/admin/settings.pro.php:1132
|
1275 |
msgid "The font size of the submenu items"
|
1276 |
msgstr ""
|
1277 |
|
1278 |
+
#: pro/admin/settings.pro.php:1140
|
1279 |
msgid "Submenu Item Font Weight"
|
1280 |
msgstr ""
|
1281 |
|
1282 |
+
#: pro/admin/settings.pro.php:1141
|
1283 |
msgid "The font weight of the submenu items"
|
1284 |
msgstr ""
|
1285 |
|
1286 |
+
#: pro/admin/settings.pro.php:1157
|
1287 |
msgid "Font Family"
|
1288 |
msgstr ""
|
1289 |
|
1290 |
+
#: pro/admin/settings.pro.php:1158
|
1291 |
msgid ""
|
1292 |
"The font family the panel. This should be a system font or else the font "
|
1293 |
"assets should already be loaded on your site, via @font-face or Google "
|
1360 |
msgid "Enter your license code to receive updates"
|
1361 |
msgstr ""
|
1362 |
|
1363 |
+
#: pro/updates/updater.php:129
|
1364 |
msgid "License Invalid"
|
1365 |
msgstr ""
|
1366 |
|
1367 |
+
#: pro/updates/updater.php:138
|
1368 |
msgid "License Expired"
|
1369 |
msgstr ""
|
1370 |
|
1371 |
+
#: pro/updates/updater.php:143
|
1372 |
msgid "License is valid"
|
1373 |
msgstr ""
|
1374 |
|
package.json
CHANGED
@@ -2,16 +2,16 @@
|
|
2 |
"name": "shiftnav-pro",
|
3 |
"version": "0.1.0",
|
4 |
"devDependencies": {
|
5 |
-
"grunt": "^0.4
|
6 |
-
"grunt-contrib-cssmin": "^0.
|
7 |
-
"grunt-contrib-jshint": "
|
8 |
-
"grunt-contrib-less": "^0.
|
9 |
-
"grunt-contrib-nodeunit": "
|
10 |
-
"grunt-contrib-uglify": "
|
11 |
-
"grunt-wp-i18n": "^0.
|
12 |
},
|
13 |
"dependencies": {
|
14 |
-
"google-closure-compiler": "^
|
15 |
"grunt-closure-compiler": "0.0.21"
|
16 |
}
|
17 |
}
|
2 |
"name": "shiftnav-pro",
|
3 |
"version": "0.1.0",
|
4 |
"devDependencies": {
|
5 |
+
"grunt": "^1.0.4",
|
6 |
+
"grunt-contrib-cssmin": "^3.0.0",
|
7 |
+
"grunt-contrib-jshint": "^2.1.0",
|
8 |
+
"grunt-contrib-less": "^2.0.0",
|
9 |
+
"grunt-contrib-nodeunit": "^2.1.0",
|
10 |
+
"grunt-contrib-uglify": "^4.0.1",
|
11 |
+
"grunt-wp-i18n": "^1.0.3"
|
12 |
},
|
13 |
"dependencies": {
|
14 |
+
"google-closure-compiler": "^20200204.0.0",
|
15 |
"grunt-closure-compiler": "0.0.21"
|
16 |
}
|
17 |
}
|
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:
|
7 |
-
Stable tag: 1.
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -56,6 +56,25 @@ Please see the [ShiftNav Quick Setup Guide](http://sevenspark.com/docs/shiftnav-
|
|
56 |
|
57 |
== Changelog ==
|
58 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
|
60 |
= 1.6.3 =
|
61 |
|
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: 5.3.2
|
7 |
+
Stable tag: 1.7.0.1
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
56 |
|
57 |
== Changelog ==
|
58 |
|
59 |
+
= 1.7.0.1 =
|
60 |
+
|
61 |
+
* [Pro] Feature: Hide Toggle Bar when scrolling down
|
62 |
+
* Feature: Major keyboard accessibility features upgrade
|
63 |
+
* Feature: Added shiftnav-open and shiftnav-close Javascript events to panel
|
64 |
+
* Feature: Option to close panel immediately on link click
|
65 |
+
* Accessibility Enhancement: Close panel when focus leaves
|
66 |
+
* Accessibility Enhancement: Screenreader close button inside panel
|
67 |
+
* Accessibility Enhancement: Close panel on escape
|
68 |
+
* Accessibility Enhancement: Aria Label setting for toggle
|
69 |
+
* [Pro] Enhancement: Improve ScrollTo offset accuracy
|
70 |
+
* Enhancement: Handle current item ancestors when using UberMenu menu segments
|
71 |
+
* Enhancement: Improve gap logic
|
72 |
+
* Enhancement: Properly handle SVG image sizing when selected for panel Top Image
|
73 |
+
* Compatibility: Removed deprecated create_function() call; minimum PHP version 5.3
|
74 |
+
* Fix: Panel Title Font Weight setting
|
75 |
+
* Fix: Properly parse Android 10 to fix animation disabling
|
76 |
+
* Fix: Class duplication issue
|
77 |
+
|
78 |
|
79 |
= 1.6.3 =
|
80 |
|
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.
|
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.
|
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.7.0.1
|
10 |
*/
|
11 |
|
12 |
+
/* Copyright 2014-2020 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.7.0.1' );
|
57 |
|
58 |
if( ! defined( 'SHIFTNAV_PRO' ) )
|
59 |
define( 'SHIFTNAV_PRO', false );
|