Version Description
Download this release
Release Info
Developer | megamenu |
Plugin | Max Mega Menu |
Version | 2.4.0.6 |
Comparing to | |
See all releases |
Code changes from version 2.4 to 2.4.0.6
- classes/menu-item-manager.class.php +46 -11
- classes/nav-menus.class.php +50 -0
- classes/settings.class.php +11 -2
- classes/toggle-blocks.class.php +197 -44
- classes/walker.class.php +7 -3
- css/admin/admin.css +453 -421
- css/admin/admin.scss +205 -150
- css/megamenu.scss +207 -153
- css/reset.scss +1 -1
- css/toggle-blocks.scss +45 -20
- js/admin.js +68 -38
- js/maxmegamenu.js +32 -12
- js/settings.js +6 -0
- megamenu.php +26 -14
- readme.txt +26 -1
classes/menu-item-manager.class.php
CHANGED
@@ -205,8 +205,8 @@ class Mega_Menu_Menu_Item_Manager {
|
|
205 |
|
206 |
$submenu_options = apply_filters("megamenu_submenu_options", array(
|
207 |
'flyout' => __("Flyout Menu", "megamenu"),
|
208 |
-
'
|
209 |
-
'
|
210 |
), $menu_item_meta);
|
211 |
|
212 |
$return = "<label for='mm_enable_mega_menu'>" . __("Sub menu display mode", "megamenu") . "</label>";
|
@@ -273,7 +273,7 @@ class Mega_Menu_Menu_Item_Manager {
|
|
273 |
|
274 |
$css_version = get_transient("megamenu_css_version");
|
275 |
|
276 |
-
$return
|
277 |
|
278 |
if ( version_compare( '2.3.9', $css_version, '>' ) ) {
|
279 |
$link = "<a href='" . esc_attr( admin_url( 'admin.php?page=maxmegamenu_tools' ) ) . "'>" . __("Mega Menu") . " > " . __("Tools") . "</a>";
|
@@ -298,7 +298,7 @@ class Mega_Menu_Menu_Item_Manager {
|
|
298 |
if ( isset( $row_data['columns'] ) && count( $row_data['columns'] ) ) {
|
299 |
|
300 |
foreach ( $row_data['columns'] as $col => $col_data ) {
|
301 |
-
$column_html .= $this->get_grid_column( $col_data );
|
302 |
}
|
303 |
|
304 |
}
|
@@ -378,6 +378,12 @@ class Mega_Menu_Menu_Item_Manager {
|
|
378 |
$hide_on_mobile_checked = "true";
|
379 |
}
|
380 |
|
|
|
|
|
|
|
|
|
|
|
|
|
381 |
$desktop_tooltip_visible = __("Row", "megamenu") . ": " . __("Visible on desktop", "megamenu");
|
382 |
$desktop_tooltip_hidden = __("Row", "megamenu") . ": " . __("Hidden on desktop", "megamenu");
|
383 |
$mobile_tooltip_visible = __("Row", "megamenu") . ": " . __("Visible on mobile", "megamenu");
|
@@ -385,7 +391,7 @@ class Mega_Menu_Menu_Item_Manager {
|
|
385 |
|
386 |
$row_class = isset( $row_data['meta']['class'] ) ? $row_data['meta']['class'] : "";
|
387 |
|
388 |
-
$return = "<div class='mega-row'>";
|
389 |
$return .= " <div class='mega-row-header'>";
|
390 |
$return .= " <div class='mega-row-actions'>";
|
391 |
$return .= " <span class='dashicons dashicons-sort'></span>";
|
@@ -397,12 +403,37 @@ class Mega_Menu_Menu_Item_Manager {
|
|
397 |
$return .= " <div class='mega-row-settings'>";
|
398 |
$return .= " <input name='mega-hide-on-mobile' type='hidden' value='{$hide_on_mobile_checked}' />";
|
399 |
$return .= " <input name='mega-hide-on-desktop' type='hidden' value='{$hide_on_desktop_checked}'/>";
|
400 |
-
$return .= " <
|
401 |
-
$return .= "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
402 |
$return .= " <button class='button button-primary mega-save-row-settings' type='submit'>" . __('Save', 'megamenu') . "</button>";
|
403 |
$return .= " </div>";
|
404 |
$return .= " <button class='button button-primary mega-add-column'><span class='dashicons dashicons-plus'></span>" . __("Column", "megamenu") . "</button>";
|
405 |
$return .= " </div>";
|
|
|
|
|
|
|
|
|
|
|
|
|
406 |
|
407 |
$return .= $column_html;
|
408 |
|
@@ -418,9 +449,14 @@ class Mega_Menu_Menu_Item_Manager {
|
|
418 |
* @since 2.4
|
419 |
* @return string
|
420 |
*/
|
421 |
-
public function get_grid_column( $col_data = false ) {
|
422 |
|
423 |
$col_span = 3;
|
|
|
|
|
|
|
|
|
|
|
424 |
|
425 |
if ( isset( $col_data['meta']['span'] ) ) {
|
426 |
$col_span = $col_data['meta']['span'];
|
@@ -432,7 +468,6 @@ class Mega_Menu_Menu_Item_Manager {
|
|
432 |
if ( isset( $col_data['meta']['hide-on-desktop'] ) && $col_data['meta']['hide-on-desktop'] == 'true' ) {
|
433 |
$hide_on_desktop = 'mega-disabled';
|
434 |
$hide_on_desktop_checked = "true";
|
435 |
-
|
436 |
}
|
437 |
|
438 |
$hide_on_mobile_checked = "false";
|
@@ -462,7 +497,7 @@ class Mega_Menu_Menu_Item_Manager {
|
|
462 |
$return .= " </div>";
|
463 |
$return .= ' <div class="mega-col-actions">';
|
464 |
$return .= ' <a class="mega-col-option mega-col-contract" title="' . esc_attr( __("Contract", "megamenu") ) . '"><span class="dashicons dashicons-arrow-left-alt2"></span></a>';
|
465 |
-
$return .= " <span class='mega-col-cols'><span class='mega-num-cols'>{$col_span}</span><span class='mega-of'
|
466 |
$return .= ' <a class="mega-col-options mega-col-expand" title="' . esc_attr( __("Expand", "megamenu") ) . '"><span class="dashicons dashicons-arrow-right-alt2"></span></a>';
|
467 |
$return .= ' </div>';
|
468 |
$return .= " </div>";
|
@@ -513,7 +548,7 @@ class Mega_Menu_Menu_Item_Manager {
|
|
513 |
$display = $menu_item_meta['type'] == 'grid' ? 'none' : 'block';
|
514 |
|
515 |
|
516 |
-
$return
|
517 |
|
518 |
$items = $widget_manager->get_widgets_and_menu_items_for_menu_id( $menu_item_id, $menu_id );
|
519 |
|
205 |
|
206 |
$submenu_options = apply_filters("megamenu_submenu_options", array(
|
207 |
'flyout' => __("Flyout Menu", "megamenu"),
|
208 |
+
'grid' => __("Mega Menu - Grid Layout", "megamenu"),
|
209 |
+
'megamenu' => __("Mega Menu - Standard Layout", "megamenu")
|
210 |
), $menu_item_meta);
|
211 |
|
212 |
$return = "<label for='mm_enable_mega_menu'>" . __("Sub menu display mode", "megamenu") . "</label>";
|
273 |
|
274 |
$css_version = get_transient("megamenu_css_version");
|
275 |
|
276 |
+
$return = "<div id='megamenu-grid' class='{$class}' style='display: {$display}'>";
|
277 |
|
278 |
if ( version_compare( '2.3.9', $css_version, '>' ) ) {
|
279 |
$link = "<a href='" . esc_attr( admin_url( 'admin.php?page=maxmegamenu_tools' ) ) . "'>" . __("Mega Menu") . " > " . __("Tools") . "</a>";
|
298 |
if ( isset( $row_data['columns'] ) && count( $row_data['columns'] ) ) {
|
299 |
|
300 |
foreach ( $row_data['columns'] as $col => $col_data ) {
|
301 |
+
$column_html .= $this->get_grid_column( $row_data, $col_data );
|
302 |
}
|
303 |
|
304 |
}
|
378 |
$hide_on_mobile_checked = "true";
|
379 |
}
|
380 |
|
381 |
+
$row_columns = 12;
|
382 |
+
|
383 |
+
if ( isset( $row_data['meta']['columns'] ) ) {
|
384 |
+
$row_columns = intval( $row_data['meta']['columns'] );
|
385 |
+
}
|
386 |
+
|
387 |
$desktop_tooltip_visible = __("Row", "megamenu") . ": " . __("Visible on desktop", "megamenu");
|
388 |
$desktop_tooltip_hidden = __("Row", "megamenu") . ": " . __("Hidden on desktop", "megamenu");
|
389 |
$mobile_tooltip_visible = __("Row", "megamenu") . ": " . __("Visible on mobile", "megamenu");
|
391 |
|
392 |
$row_class = isset( $row_data['meta']['class'] ) ? $row_data['meta']['class'] : "";
|
393 |
|
394 |
+
$return = "<div class='mega-row' data-available-cols='{$row_columns}'>";
|
395 |
$return .= " <div class='mega-row-header'>";
|
396 |
$return .= " <div class='mega-row-actions'>";
|
397 |
$return .= " <span class='dashicons dashicons-sort'></span>";
|
403 |
$return .= " <div class='mega-row-settings'>";
|
404 |
$return .= " <input name='mega-hide-on-mobile' type='hidden' value='{$hide_on_mobile_checked}' />";
|
405 |
$return .= " <input name='mega-hide-on-desktop' type='hidden' value='{$hide_on_desktop_checked}'/>";
|
406 |
+
$return .= " <div class='mega-settings-row'>";
|
407 |
+
$return .= " <label>" . __('Row class', 'megamenu') . "</label>";
|
408 |
+
$return .= " <input class='mega-row-class' type='text' value='{$row_class}' />";
|
409 |
+
$return .= " </div>";
|
410 |
+
$return .= " <div class='mega-settings-row'>";
|
411 |
+
$return .= " <label>" . __('Row columns', 'megamenu') . "</label>";
|
412 |
+
$return .= " <select class='mega-row-columns'>";
|
413 |
+
$return .= " <option value='1' " . selected( $row_columns, 1, false ) . ">1 " . __("column", "megamenu") . "</option>";
|
414 |
+
$return .= " <option value='2' " . selected( $row_columns, 2, false ) . ">2 " . __("columns", "megamenu") . "</option>";
|
415 |
+
$return .= " <option value='3' " . selected( $row_columns, 3, false ) . ">3 " . __("columns", "megamenu") . "</option>";
|
416 |
+
$return .= " <option value='4' " . selected( $row_columns, 4, false ) . ">4 " . __("columns", "megamenu") . "</option>";
|
417 |
+
$return .= " <option value='5' " . selected( $row_columns, 5, false ) . ">5 " . __("columns", "megamenu") . "</option>";
|
418 |
+
$return .= " <option value='6' " . selected( $row_columns, 6, false ) . ">6 " . __("columns", "megamenu") . "</option>";
|
419 |
+
$return .= " <option value='7' " . selected( $row_columns, 7, false ) . ">7 " . __("columns", "megamenu") . "</option>";
|
420 |
+
$return .= " <option value='8' " . selected( $row_columns, 8, false ) . ">8 " . __("columns", "megamenu") . "</option>";
|
421 |
+
$return .= " <option value='9' " . selected( $row_columns, 9, false ) . ">9 " . __("columns", "megamenu") . "</option>";
|
422 |
+
$return .= " <option value='10' " . selected( $row_columns, 10, false ) . ">10 " . __("columns", "megamenu") . "</option>";
|
423 |
+
$return .= " <option value='11' " . selected( $row_columns, 11, false ) . ">11 " . __("columns", "megamenu") . "</option>";
|
424 |
+
$return .= " <option value='12' " . selected( $row_columns, 12, false ) . ">12 " . __("columns", "megamenu") . "</option>";
|
425 |
+
$return .= " </select>";
|
426 |
+
$return .= " </div>";
|
427 |
$return .= " <button class='button button-primary mega-save-row-settings' type='submit'>" . __('Save', 'megamenu') . "</button>";
|
428 |
$return .= " </div>";
|
429 |
$return .= " <button class='button button-primary mega-add-column'><span class='dashicons dashicons-plus'></span>" . __("Column", "megamenu") . "</button>";
|
430 |
$return .= " </div>";
|
431 |
+
$return .= " <div class='error notice is-dismissible mega-too-many-cols'>";
|
432 |
+
$return .= " <p>" . __( 'You should rearrange the content of this row so that all columns fit onto a single line.', 'megamenu' ) . "</p>";
|
433 |
+
$return .= " </div>";
|
434 |
+
$return .= " <div class='error notice is-dismissible mega-row-is-full'>";
|
435 |
+
$return .= " <p>" . __( 'There is not enough space on this row to add a new column.', 'megamenu' ) . "</p>";
|
436 |
+
$return .= " </div>";
|
437 |
|
438 |
$return .= $column_html;
|
439 |
|
449 |
* @since 2.4
|
450 |
* @return string
|
451 |
*/
|
452 |
+
public function get_grid_column( $row_data = false, $col_data = false ) {
|
453 |
|
454 |
$col_span = 3;
|
455 |
+
$row_columns = 12;
|
456 |
+
|
457 |
+
if ( isset( $row_data['meta']['columns'] ) ) {
|
458 |
+
$row_columns = intval( $row_data['meta']['columns'] );
|
459 |
+
}
|
460 |
|
461 |
if ( isset( $col_data['meta']['span'] ) ) {
|
462 |
$col_span = $col_data['meta']['span'];
|
468 |
if ( isset( $col_data['meta']['hide-on-desktop'] ) && $col_data['meta']['hide-on-desktop'] == 'true' ) {
|
469 |
$hide_on_desktop = 'mega-disabled';
|
470 |
$hide_on_desktop_checked = "true";
|
|
|
471 |
}
|
472 |
|
473 |
$hide_on_mobile_checked = "false";
|
497 |
$return .= " </div>";
|
498 |
$return .= ' <div class="mega-col-actions">';
|
499 |
$return .= ' <a class="mega-col-option mega-col-contract" title="' . esc_attr( __("Contract", "megamenu") ) . '"><span class="dashicons dashicons-arrow-left-alt2"></span></a>';
|
500 |
+
$return .= " <span class='mega-col-cols'><span class='mega-num-cols'>{$col_span}</span><span class='mega-of'>/</span><span class='mega-num-total-cols'>" . $row_columns . "</span></span>";
|
501 |
$return .= ' <a class="mega-col-options mega-col-expand" title="' . esc_attr( __("Expand", "megamenu") ) . '"><span class="dashicons dashicons-arrow-right-alt2"></span></a>';
|
502 |
$return .= ' </div>';
|
503 |
$return .= " </div>";
|
548 |
$display = $menu_item_meta['type'] == 'grid' ? 'none' : 'block';
|
549 |
|
550 |
|
551 |
+
$return = "<div id='widgets' class='{$class}' style='display: {$display}' data-columns='{$menu_item_meta['panel_columns']}'>";
|
552 |
|
553 |
$items = $widget_manager->get_widgets_and_menu_items_for_menu_id( $menu_item_id, $menu_id );
|
554 |
|
classes/nav-menus.class.php
CHANGED
@@ -180,6 +180,9 @@ class Mega_Menu_Nav_Menus {
|
|
180 |
wp_deregister_script('jquery-colorbox');
|
181 |
wp_deregister_style('colorbox-css');
|
182 |
|
|
|
|
|
|
|
183 |
|
184 |
wp_enqueue_style( 'colorbox', MEGAMENU_BASE_URL . 'js/colorbox/colorbox.css', false, MEGAMENU_VERSION );
|
185 |
wp_enqueue_style( 'mega-menu', MEGAMENU_BASE_URL . 'css/admin/admin.css', false, MEGAMENU_VERSION );
|
@@ -448,6 +451,53 @@ class Mega_Menu_Nav_Menus {
|
|
448 |
</select>
|
449 |
</td>
|
450 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
451 |
<tr>
|
452 |
<td><?php _e("Theme", "megamenu"); ?></td>
|
453 |
<td>
|
180 |
wp_deregister_script('jquery-colorbox');
|
181 |
wp_deregister_style('colorbox-css');
|
182 |
|
183 |
+
// Compatibility fix for WP Disquz media uploader
|
184 |
+
wp_deregister_script('wmu-colorbox-js');
|
185 |
+
wp_deregister_style('wmu-colorbox-css');
|
186 |
|
187 |
wp_enqueue_style( 'colorbox', MEGAMENU_BASE_URL . 'js/colorbox/colorbox.css', false, MEGAMENU_VERSION );
|
188 |
wp_enqueue_style( 'mega-menu', MEGAMENU_BASE_URL . 'css/admin/admin.css', false, MEGAMENU_VERSION );
|
451 |
</select>
|
452 |
</td>
|
453 |
</tr>
|
454 |
+
<tr>
|
455 |
+
<td><?php _e("Effect (Mobile)", "megamenu") ?></td>
|
456 |
+
<td>
|
457 |
+
<select name='megamenu_meta[<?php echo $location ?>][effect_mobile]'>
|
458 |
+
<?php
|
459 |
+
|
460 |
+
$selected = isset( $settings[$location]['effect_mobile'] ) ? $settings[$location]['effect_mobile'] : 'disabled';
|
461 |
+
|
462 |
+
$options = apply_filters("megamenu_transition_effects_mobile", array(
|
463 |
+
"disabled" => array(
|
464 |
+
'label' => __("None", "megamenu"),
|
465 |
+
'selected' => $selected == 'disabled',
|
466 |
+
),
|
467 |
+
"slide" => array(
|
468 |
+
'label' => __("Slide", "megamenu"),
|
469 |
+
'selected' => $selected == 'slide',
|
470 |
+
)
|
471 |
+
), $selected );
|
472 |
+
|
473 |
+
foreach ( $options as $key => $value ) {
|
474 |
+
?><option value='<?php echo $key ?>' <?php selected( $value['selected'] ); ?>><?php echo $value['label'] ?></option><?php
|
475 |
+
}
|
476 |
+
|
477 |
+
?>
|
478 |
+
</select>
|
479 |
+
|
480 |
+
<select name='megamenu_meta[<?php echo $location ?>][effect_speed_mobile]'>
|
481 |
+
<?php
|
482 |
+
|
483 |
+
$selected = isset( $settings[$location]['effect_speed_mobile'] ) ? $settings[$location]['effect_speed_mobile'] : '200';
|
484 |
+
|
485 |
+
$options = apply_filters("megamenu_effect_speed_mobile", array(
|
486 |
+
"600" => __("Slow", "megamenu"),
|
487 |
+
"400" => __("Med", "megamenu"),
|
488 |
+
"200" => __("Fast", "megamenu")
|
489 |
+
), $selected );
|
490 |
+
|
491 |
+
ksort($options);
|
492 |
+
|
493 |
+
foreach ( $options as $key => $value ) {
|
494 |
+
?><option value='<?php echo $key ?>' <?php selected( $key == $selected ); ?>><?php echo $value ?></option><?php
|
495 |
+
}
|
496 |
+
|
497 |
+
?>
|
498 |
+
</select>
|
499 |
+
</td>
|
500 |
+
</tr>
|
501 |
<tr>
|
502 |
<td><?php _e("Theme", "megamenu"); ?></td>
|
503 |
<td>
|
classes/settings.class.php
CHANGED
@@ -615,7 +615,7 @@ class Mega_Menu_Settings {
|
|
615 |
|
616 |
foreach ( $locations as $location => $menu_id ) {
|
617 |
|
618 |
-
if ( has_nav_menu( $location ) && isset( $settings[ $location ]['theme'] ) && $settings[ $location ]['theme'] == $theme ) {
|
619 |
$theme_in_use_locations[] = isset( $menus[ $location ] ) ? $menus[ $location ] : $location;
|
620 |
}
|
621 |
|
@@ -853,6 +853,12 @@ class Mega_Menu_Settings {
|
|
853 |
}
|
854 |
|
855 |
$locations = array();
|
|
|
|
|
|
|
|
|
|
|
|
|
856 |
|
857 |
if ( count( $all_locations ) ) {
|
858 |
|
@@ -2786,7 +2792,10 @@ class Mega_Menu_Settings {
|
|
2786 |
'priority' => 20,
|
2787 |
'title' => __( "Menu Width", "megamenu" ),
|
2788 |
'description' => __( "The width of each flyout menu. This must be a fixed pixel value.", "megamenu" ),
|
2789 |
-
'info' => array(
|
|
|
|
|
|
|
2790 |
'settings' => array(
|
2791 |
array(
|
2792 |
'title' => "",
|
615 |
|
616 |
foreach ( $locations as $location => $menu_id ) {
|
617 |
|
618 |
+
if ( has_nav_menu( $location ) && max_mega_menu_is_enabled( $location ) && isset( $settings[ $location ]['theme'] ) && $settings[ $location ]['theme'] == $theme ) {
|
619 |
$theme_in_use_locations[] = isset( $menus[ $location ] ) ? $menus[ $location ] : $location;
|
620 |
}
|
621 |
|
853 |
}
|
854 |
|
855 |
$locations = array();
|
856 |
+
|
857 |
+
$custom_locations = get_option( 'megamenu_locations' );
|
858 |
+
|
859 |
+
if ( is_array( $custom_locations ) ) {
|
860 |
+
$all_locations = array_merge( $custom_locations, $all_locations );
|
861 |
+
}
|
862 |
|
863 |
if ( count( $all_locations ) ) {
|
864 |
|
2792 |
'priority' => 20,
|
2793 |
'title' => __( "Menu Width", "megamenu" ),
|
2794 |
'description' => __( "The width of each flyout menu. This must be a fixed pixel value.", "megamenu" ),
|
2795 |
+
'info' => array(
|
2796 |
+
__( "Set this value to the width of your longest menu item title to stop menu items wrapping onto 2 lines.", "megamenu" ),
|
2797 |
+
__( "Experimental: Set this value to 'auto' to use a flexible width.", "megamenu" )
|
2798 |
+
),
|
2799 |
'settings' => array(
|
2800 |
array(
|
2801 |
'title' => "",
|
classes/toggle-blocks.class.php
CHANGED
@@ -25,6 +25,8 @@ class Mega_Menu_Toggle_Blocks {
|
|
25 |
|
26 |
add_action( 'wp_ajax_mm_get_toggle_block_menu_toggle', array( $this, 'output_menu_toggle_block_html' ) );
|
27 |
add_action( 'megamenu_output_admin_toggle_block_menu_toggle', array( $this, 'output_menu_toggle_block_html'), 10, 2 );
|
|
|
|
|
28 |
add_action( 'wp_ajax_mm_get_toggle_block_spacer', array( $this, 'output_spacer_block_html' ) );
|
29 |
add_action( 'megamenu_output_admin_toggle_block_spacer', array( $this, 'output_spacer_block_html'), 10, 2 );
|
30 |
|
@@ -39,6 +41,32 @@ class Mega_Menu_Toggle_Blocks {
|
|
39 |
}
|
40 |
|
41 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
/**
|
43 |
* Return the saved toggle blocks for a specified theme
|
44 |
*
|
@@ -88,7 +116,9 @@ class Mega_Menu_Toggle_Blocks {
|
|
88 |
'open_icon' => 'dash-f153',
|
89 |
'icon_position' => 'after',
|
90 |
'text_color' => isset($menu_theme['toggle_font_color']) ? $menu_theme['toggle_font_color'] : '#fff',
|
91 |
-
'icon_color' => isset($menu_theme['toggle_font_color']) ? $menu_theme['toggle_font_color'] : '#fff'
|
|
|
|
|
92 |
);
|
93 |
|
94 |
return $defaults;
|
@@ -112,49 +142,14 @@ class Mega_Menu_Toggle_Blocks {
|
|
112 |
$blocks_html = "";
|
113 |
|
114 |
if ( is_array( $toggle_blocks ) ) {
|
115 |
-
foreach ( $toggle_blocks as $block_id => $block ) {
|
116 |
-
|
117 |
-
if ( isset( $block['type'] ) ) {
|
118 |
-
$class = "mega-" . str_replace("_", "-", $block['type']) . "-block";
|
119 |
-
} else {
|
120 |
-
$class = "";
|
121 |
-
}
|
122 |
|
123 |
-
|
124 |
-
$align = "mega-toggle-block-" . $block['align'];
|
125 |
-
} else {
|
126 |
-
$align = "mega-toggle-block-left";
|
127 |
-
}
|
128 |
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
"id" => "mega-toggle-block-{$block_id}"
|
135 |
-
), $block, $content, $nav_menu, $args, $theme_id);
|
136 |
-
|
137 |
-
/**
|
138 |
-
*
|
139 |
-
* function remove_ids_from_toggle_blocks($attributes, $block, $content, $nav_menu, $args, $theme_id) {
|
140 |
-
* if (isset($attributes['id'])) {
|
141 |
-
* unset($attributes['id']);
|
142 |
-
* }
|
143 |
-
* return $attributes;
|
144 |
-
* }
|
145 |
-
* add_filter('megamenu_toggle_block_attributes', 'remove_ids_from_toggle_blocks');
|
146 |
-
*
|
147 |
-
*/
|
148 |
-
|
149 |
-
$blocks_html .= "<div";
|
150 |
-
|
151 |
-
foreach ( $attributes as $attribute => $val ) {
|
152 |
-
$blocks_html .= " " . $attribute . "='" . esc_attr( $val ) . "'";
|
153 |
-
}
|
154 |
-
|
155 |
-
$blocks_html .= ">";
|
156 |
-
$blocks_html .= apply_filters("megamenu_output_public_toggle_block_{$block['type']}", "", $block);
|
157 |
-
$blocks_html .= "</div>";
|
158 |
}
|
159 |
}
|
160 |
|
@@ -164,6 +159,156 @@ class Mega_Menu_Toggle_Blocks {
|
|
164 |
|
165 |
}
|
166 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
167 |
|
168 |
/**
|
169 |
* Save the toggle blocks when the theme is saved
|
@@ -217,7 +362,7 @@ class Mega_Menu_Toggle_Blocks {
|
|
217 |
public function add_toggle_designer_to_theme_editor( $settings ) {
|
218 |
|
219 |
$settings['mobile_menu']['settings']['toggle_blocks'] = array(
|
220 |
-
'priority' =>
|
221 |
'title' => __( "Toggle Bar Designer", "megamenu" ),
|
222 |
'description' => __( "Configure the contents of the mobile toggle bar", "megamenu" ),
|
223 |
'settings' => array(
|
@@ -327,7 +472,9 @@ class Mega_Menu_Toggle_Blocks {
|
|
327 |
'open_icon' => $open_icon != 'disabled' ? "'\\" . $open_icon . "'" : "''",
|
328 |
'text_color' => isset($settings['text_color']) ? $settings['text_color'] : '#fff',
|
329 |
'icon_color' => isset($settings['icon_color']) ? $settings['icon_color'] : '#fff',
|
330 |
-
'icon_position' => isset($settings['icon_position']) ? "'" . $settings['icon_position'] . "'" : 'after'
|
|
|
|
|
331 |
);
|
332 |
|
333 |
$menu_toggle_blocks[ $index ] = $styles;
|
@@ -608,6 +755,12 @@ class Mega_Menu_Toggle_Blocks {
|
|
608 |
<?php _e("Text Color", "megamenu") ?>
|
609 |
<?php $this->print_toggle_color_option( 'text_color', $block_id, $settings['text_color'] ); ?>
|
610 |
</label>
|
|
|
|
|
|
|
|
|
|
|
|
|
611 |
<label>
|
612 |
<?php _e("Icon Color", "megamenu") ?>
|
613 |
<?php $this->print_toggle_color_option( 'icon_color', $block_id, $settings['icon_color'] ); ?>
|
25 |
|
26 |
add_action( 'wp_ajax_mm_get_toggle_block_menu_toggle', array( $this, 'output_menu_toggle_block_html' ) );
|
27 |
add_action( 'megamenu_output_admin_toggle_block_menu_toggle', array( $this, 'output_menu_toggle_block_html'), 10, 2 );
|
28 |
+
add_action( 'megamenu_output_public_toggle_block_menu_toggle', array( $this, 'output_menu_public_toggle_block_html'), 10, 2 );
|
29 |
+
|
30 |
add_action( 'wp_ajax_mm_get_toggle_block_spacer', array( $this, 'output_spacer_block_html' ) );
|
31 |
add_action( 'megamenu_output_admin_toggle_block_spacer', array( $this, 'output_spacer_block_html'), 10, 2 );
|
32 |
|
41 |
}
|
42 |
|
43 |
|
44 |
+
/**
|
45 |
+
* Output the menu toggle block (front end)
|
46 |
+
*
|
47 |
+
* @since 2.4.1
|
48 |
+
* @param string $html
|
49 |
+
* @param array $settings
|
50 |
+
* @return string
|
51 |
+
*/
|
52 |
+
public function output_menu_public_toggle_block_html( $html, $settings ) {
|
53 |
+
|
54 |
+
$css_version = get_transient("megamenu_css_version");
|
55 |
+
|
56 |
+
// only use HTML version of toggle block if CSS version is above 2.4.0.2
|
57 |
+
if ( version_compare( '2.4.0.2', $css_version, '>=' ) ) {
|
58 |
+
return "";
|
59 |
+
}
|
60 |
+
|
61 |
+
$closed_text = isset( $settings['closed_text'] ) ? do_shortcode( $settings['closed_text'] ) : "MENU";
|
62 |
+
$open_text = isset( $settings['open_text'] ) ? do_shortcode( $settings['open_text'] ) : "MENU";
|
63 |
+
|
64 |
+
$html = "<span class='mega-toggle-label'><span class='mega-toggle-label-closed'>{$closed_text}</span><span class='mega-toggle-label-open'>{$open_text}</span></span>";
|
65 |
+
|
66 |
+
return apply_filters("megamenu_toggle_menu_toggle_html", $html);
|
67 |
+
|
68 |
+
}
|
69 |
+
|
70 |
/**
|
71 |
* Return the saved toggle blocks for a specified theme
|
72 |
*
|
116 |
'open_icon' => 'dash-f153',
|
117 |
'icon_position' => 'after',
|
118 |
'text_color' => isset($menu_theme['toggle_font_color']) ? $menu_theme['toggle_font_color'] : '#fff',
|
119 |
+
'icon_color' => isset($menu_theme['toggle_font_color']) ? $menu_theme['toggle_font_color'] : '#fff',
|
120 |
+
'text_size' => '14px',
|
121 |
+
'icon_size' => '24px'
|
122 |
);
|
123 |
|
124 |
return $defaults;
|
142 |
$blocks_html = "";
|
143 |
|
144 |
if ( is_array( $toggle_blocks ) ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
145 |
|
146 |
+
$css_version = get_transient("megamenu_css_version");
|
|
|
|
|
|
|
|
|
147 |
|
148 |
+
// only use Flex layout version of toggle blocks if CSS version is above 2.4.0.2
|
149 |
+
if ( version_compare($css_version, '2.4.0.2') >= 0 ) {
|
150 |
+
$blocks_html = $this->get_flex_blocks_html($toggle_blocks, $content, $nav_menu, $args, $theme_id);
|
151 |
+
} else {
|
152 |
+
$blocks_html = $this->get_backwards_compatibility_blocks_html($toggle_blocks, $content, $nav_menu, $args, $theme_id);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
153 |
}
|
154 |
}
|
155 |
|
159 |
|
160 |
}
|
161 |
|
162 |
+
/**
|
163 |
+
* Sort the toggle blocks into 3 divs (left, center, right) to be aligned using flex CSS.
|
164 |
+
*
|
165 |
+
* @param array $toggle_blocks
|
166 |
+
* @since 2.4.1
|
167 |
+
* @return string html
|
168 |
+
*/
|
169 |
+
private function get_flex_blocks_html( $toggle_blocks, $content, $nav_menu, $args, $theme_id ) {
|
170 |
+
|
171 |
+
$sorted_blocks = array();
|
172 |
+
|
173 |
+
/** Sort blocks into left, center, right array **/
|
174 |
+
foreach ( $toggle_blocks as $block_id => $block ) {
|
175 |
+
if ( isset( $block['align'] ) ) {
|
176 |
+
$sorted_blocks[$block['align']][$block_id] = $block;
|
177 |
+
} else {
|
178 |
+
$sorted_blocks['left'][$block_id] = $block;
|
179 |
+
}
|
180 |
+
}
|
181 |
+
|
182 |
+
$blocks_html = '<div class="mega-toggle-blocks-left">';
|
183 |
+
|
184 |
+
if ( isset( $sorted_blocks['left'] ) ) {
|
185 |
+
foreach ( $sorted_blocks['left'] as $block_id => $block ) {
|
186 |
+
$blocks_html .= $this->get_toggle_block_html($block_id, $block, $content, $nav_menu, $args, $theme_id);
|
187 |
+
}
|
188 |
+
}
|
189 |
+
|
190 |
+
$blocks_html .= "</div>";
|
191 |
+
|
192 |
+
$blocks_html .= '<div class="mega-toggle-blocks-center">';
|
193 |
+
|
194 |
+
if ( isset( $sorted_blocks['center'] ) ) {
|
195 |
+
foreach ( $sorted_blocks['center'] as $block_id => $block ) {
|
196 |
+
$blocks_html .= $this->get_toggle_block_html($block_id, $block, $content, $nav_menu, $args, $theme_id);
|
197 |
+
}
|
198 |
+
}
|
199 |
+
|
200 |
+
$blocks_html .= "</div>";
|
201 |
+
|
202 |
+
$blocks_html .= '<div class="mega-toggle-blocks-right">';
|
203 |
+
|
204 |
+
if ( isset( $sorted_blocks['right'] ) ) {
|
205 |
+
foreach ( $sorted_blocks['right'] as $block_id => $block ) {
|
206 |
+
$blocks_html .= $this->get_toggle_block_html($block_id, $block, $content, $nav_menu, $args, $theme_id);
|
207 |
+
}
|
208 |
+
}
|
209 |
+
|
210 |
+
$blocks_html .= "</div>";
|
211 |
+
|
212 |
+
return $blocks_html;
|
213 |
+
}
|
214 |
+
|
215 |
+
/**
|
216 |
+
* Generate the HTML for a single toggle block
|
217 |
+
*
|
218 |
+
* @since 2.4.1
|
219 |
+
* @param string block_id
|
220 |
+
* @param array $block
|
221 |
+
* @return string
|
222 |
+
*/
|
223 |
+
private function get_toggle_block_html($block_id, $block, $content, $nav_menu, $args, $theme_id) {
|
224 |
+
$block_html = "";
|
225 |
+
|
226 |
+
if ( isset( $block['type'] ) ) {
|
227 |
+
$class = "mega-" . str_replace("_", "-", $block['type']) . "-block";
|
228 |
+
} else {
|
229 |
+
$class = "";
|
230 |
+
}
|
231 |
+
|
232 |
+
$id = apply_filters('megamenu_toggle_block_id', 'mega-toggle-block-' . $block_id);
|
233 |
+
|
234 |
+
$attributes = apply_filters('megamenu_toggle_block_attributes', array(
|
235 |
+
"class" => "mega-toggle-block {$class} mega-toggle-block-{$block_id}",
|
236 |
+
"id" => "mega-toggle-block-{$block_id}"
|
237 |
+
), $block, $content, $nav_menu, $args, $theme_id);
|
238 |
+
|
239 |
+
$block_html .= "<div";
|
240 |
+
|
241 |
+
foreach ( $attributes as $attribute => $val ) {
|
242 |
+
$block_html .= " " . $attribute . "='" . esc_attr( $val ) . "'";
|
243 |
+
}
|
244 |
+
|
245 |
+
$block_html .= ">";
|
246 |
+
$block_html .= apply_filters("megamenu_output_public_toggle_block_{$block['type']}", "", $block);
|
247 |
+
$block_html .= "</div>";
|
248 |
+
|
249 |
+
return $block_html;
|
250 |
+
}
|
251 |
+
|
252 |
+
|
253 |
+
/**
|
254 |
+
* Return a flat HTML list of menu toggle blocks. Only used when CSS version has not been updated to 2.4.1+
|
255 |
+
*
|
256 |
+
* @param array $toggle_blocks
|
257 |
+
* @since 2.4.1
|
258 |
+
* @return string html
|
259 |
+
*/
|
260 |
+
private function get_backwards_compatibility_blocks_html( $toggle_blocks, $content, $nav_menu, $args, $theme_id ) {
|
261 |
+
|
262 |
+
$blocks_html = "";
|
263 |
+
|
264 |
+
foreach ( $toggle_blocks as $block_id => $block ) {
|
265 |
+
|
266 |
+
if ( isset( $block['type'] ) ) {
|
267 |
+
$class = "mega-" . str_replace("_", "-", $block['type']) . "-block";
|
268 |
+
} else {
|
269 |
+
$class = "";
|
270 |
+
}
|
271 |
+
|
272 |
+
if ( isset( $block['align'] ) ) {
|
273 |
+
$align = "mega-toggle-block-" . $block['align'];
|
274 |
+
} else {
|
275 |
+
$align = "mega-toggle-block-left";
|
276 |
+
}
|
277 |
+
|
278 |
+
// @todo remove ID once MMM Pro has been updated to use classes
|
279 |
+
$id = apply_filters('megamenu_toggle_block_id', 'mega-toggle-block-' . $block_id);
|
280 |
+
|
281 |
+
$attributes = apply_filters('megamenu_toggle_block_attributes', array(
|
282 |
+
"class" => "mega-toggle-block {$class} {$align} mega-toggle-block-{$block_id}",
|
283 |
+
"id" => "mega-toggle-block-{$block_id}"
|
284 |
+
), $block, $content, $nav_menu, $args, $theme_id);
|
285 |
+
|
286 |
+
/**
|
287 |
+
*
|
288 |
+
* function remove_ids_from_toggle_blocks($attributes, $block, $content, $nav_menu, $args, $theme_id) {
|
289 |
+
* if (isset($attributes['id'])) {
|
290 |
+
* unset($attributes['id']);
|
291 |
+
* }
|
292 |
+
* return $attributes;
|
293 |
+
* }
|
294 |
+
* add_filter('megamenu_toggle_block_attributes', 'remove_ids_from_toggle_blocks');
|
295 |
+
*
|
296 |
+
*/
|
297 |
+
|
298 |
+
$blocks_html .= "<div";
|
299 |
+
|
300 |
+
foreach ( $attributes as $attribute => $val ) {
|
301 |
+
$blocks_html .= " " . $attribute . "='" . esc_attr( $val ) . "'";
|
302 |
+
}
|
303 |
+
|
304 |
+
$blocks_html .= ">";
|
305 |
+
$blocks_html .= apply_filters("megamenu_output_public_toggle_block_{$block['type']}", "", $block);
|
306 |
+
$blocks_html .= "</div>";
|
307 |
+
}
|
308 |
+
|
309 |
+
return $blocks_html;
|
310 |
+
}
|
311 |
+
|
312 |
|
313 |
/**
|
314 |
* Save the toggle blocks when the theme is saved
|
362 |
public function add_toggle_designer_to_theme_editor( $settings ) {
|
363 |
|
364 |
$settings['mobile_menu']['settings']['toggle_blocks'] = array(
|
365 |
+
'priority' => 6,
|
366 |
'title' => __( "Toggle Bar Designer", "megamenu" ),
|
367 |
'description' => __( "Configure the contents of the mobile toggle bar", "megamenu" ),
|
368 |
'settings' => array(
|
472 |
'open_icon' => $open_icon != 'disabled' ? "'\\" . $open_icon . "'" : "''",
|
473 |
'text_color' => isset($settings['text_color']) ? $settings['text_color'] : '#fff',
|
474 |
'icon_color' => isset($settings['icon_color']) ? $settings['icon_color'] : '#fff',
|
475 |
+
'icon_position' => isset($settings['icon_position']) ? "'" . $settings['icon_position'] . "'" : 'after',
|
476 |
+
'text_size' => isset($settings['text_size']) ? $settings['text_size'] : '14px',
|
477 |
+
'icon_size' => isset($settings['icon_size']) ? $settings['icon_size'] : '24px'
|
478 |
);
|
479 |
|
480 |
$menu_toggle_blocks[ $index ] = $styles;
|
755 |
<?php _e("Text Color", "megamenu") ?>
|
756 |
<?php $this->print_toggle_color_option( 'text_color', $block_id, $settings['text_color'] ); ?>
|
757 |
</label>
|
758 |
+
<label>
|
759 |
+
<?php _e("Text Size", "megamenu") ?><input type='text' class='text_size' name='toggle_blocks[<?php echo $block_id; ?>][text_size]' value='<?php echo stripslashes( esc_attr( $settings['text_size'] ) ) ?>' />
|
760 |
+
</label>
|
761 |
+
<label>
|
762 |
+
<?php _e("Icon Size", "megamenu") ?><input type='text' class='icon_size' name='toggle_blocks[<?php echo $block_id; ?>][icon_size]' value='<?php echo stripslashes( esc_attr( $settings['icon_size'] ) ) ?>' />
|
763 |
+
</label>
|
764 |
<label>
|
765 |
<?php _e("Icon Color", "megamenu") ?>
|
766 |
<?php $this->print_toggle_color_option( 'icon_color', $block_id, $settings['icon_color'] ); ?>
|
classes/walker.class.php
CHANGED
@@ -114,16 +114,20 @@ class Mega_Menu_Walker extends Walker_Nav_Menu {
|
|
114 |
$atts['tabindex'] = 0;
|
115 |
}
|
116 |
|
117 |
-
if ( isset( $settings['icon']) && $settings['icon'] != 'disabled' ) {
|
118 |
$atts['class'] = $settings['icon'];
|
119 |
}
|
120 |
|
|
|
|
|
|
|
|
|
121 |
$atts = apply_filters( 'megamenu_nav_menu_link_attributes', $atts, $item, $args );
|
122 |
|
123 |
if ( strlen( $atts['class'] ) ) {
|
124 |
-
|
125 |
} else {
|
126 |
-
|
127 |
}
|
128 |
|
129 |
// required for Surface/Win10/Edge
|
114 |
$atts['tabindex'] = 0;
|
115 |
}
|
116 |
|
117 |
+
if ( isset( $settings['icon']) && $settings['icon'] != 'disabled' && $settings['icon'] != 'custom' ) {
|
118 |
$atts['class'] = $settings['icon'];
|
119 |
}
|
120 |
|
121 |
+
if ( isset( $settings['icon']) && $settings['icon'] == 'custom' ) {
|
122 |
+
$atts['class'] = 'mega-custom-icon';
|
123 |
+
}
|
124 |
+
|
125 |
$atts = apply_filters( 'megamenu_nav_menu_link_attributes', $atts, $item, $args );
|
126 |
|
127 |
if ( strlen( $atts['class'] ) ) {
|
128 |
+
$atts['class'] = $atts['class'] . ' mega-menu-link';
|
129 |
} else {
|
130 |
+
$atts['class'] = 'mega-menu-link';
|
131 |
}
|
132 |
|
133 |
// required for Surface/Win10/Edge
|
css/admin/admin.css
CHANGED
@@ -80,6 +80,8 @@
|
|
80 |
font-size: 1.3em;
|
81 |
line-height: 75px;
|
82 |
float: left; }
|
|
|
|
|
83 |
.nav-menus-php #cboxContent .mm_header_container .mm_saving {
|
84 |
text-align: right;
|
85 |
padding: 0 20px;
|
@@ -107,7 +109,7 @@
|
|
107 |
width: 15%;
|
108 |
float: left;
|
109 |
position: relative;
|
110 |
-
height:
|
111 |
background: white;
|
112 |
-webkit-box-shadow: inset -10px 0px 7px -12px rgba(0, 0, 0, 0.2);
|
113 |
-moz-box-shadow: inset -10px 0px 7px -12px rgba(0, 0, 0, 0.2);
|
@@ -143,7 +145,7 @@
|
|
143 |
.nav-menus-php #cboxContent .mm_content_container {
|
144 |
padding: 20px;
|
145 |
float: right;
|
146 |
-
height:
|
147 |
width: 85%;
|
148 |
overflow: auto;
|
149 |
box-sizing: border-box;
|
@@ -181,6 +183,8 @@
|
|
181 |
box-sizing: border-box; }
|
182 |
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row .mega-row-header .mega-disabled .dashicons {
|
183 |
opacity: 1; }
|
|
|
|
|
184 |
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row .mega-row-header .dashicons {
|
185 |
opacity: 0.2;
|
186 |
transition: opacity 0.5s; }
|
@@ -193,284 +197,304 @@
|
|
193 |
color: #D0011B; }
|
194 |
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row .mega-row-header .mega-row-actions:hover .dashicons {
|
195 |
opacity: 1; }
|
196 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-
|
197 |
display: inline-block;
|
198 |
opacity: 1; }
|
199 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row .
|
200 |
-
margin: 10px 5px;
|
201 |
-
cursor: pointer; }
|
202 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col {
|
203 |
-
display: inline-block;
|
204 |
-
position: relative;
|
205 |
-
vertical-align: top;
|
206 |
-
float: left;
|
207 |
-
transition: width 0.1s; }
|
208 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col .mega-col-wrap {
|
209 |
-
background-color: #fff;
|
210 |
-
border: 1px solid #DFDFDF;
|
211 |
-
margin: 3px;
|
212 |
-
padding: 8px; }
|
213 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='1'] .mega-col-contract,
|
214 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='1'] .widget-title {
|
215 |
display: none; }
|
216 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
border: 1px solid #DFDFDF;
|
229 |
-
height: 42px; }
|
230 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col .mega-col-widgets .widget.open .widget-top {
|
231 |
-
border: 1px solid #999;
|
232 |
-
border-bottom: 0; }
|
233 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col .mega-col-widgets .widget.open .widget-inner {
|
234 |
-
border: 1px solid #999; }
|
235 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col .mega-col-widgets .widget .widget-title-action {
|
236 |
-
background: #f7f7f7;
|
237 |
-
border: 0;
|
238 |
-
padding-left: 0;
|
239 |
-
padding-right: 10px;
|
240 |
-
position: absolute;
|
241 |
-
top: 0; }
|
242 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col .mega-col-widgets .widget[data-type=item] .widget-title-action {
|
243 |
-
display: none; }
|
244 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col .mega-col-widgets .widget .widget-title h4 {
|
245 |
-
font-weight: normal;
|
246 |
-
margin-top: 5px;
|
247 |
-
line-height: 16px; }
|
248 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col .mega-col-widgets .widget .widget-title .widget-desc {
|
249 |
-
clear: both;
|
250 |
-
font-weight: normal;
|
251 |
-
font-size: 10px;
|
252 |
-
opacity: 0.6;
|
253 |
-
float: left;
|
254 |
-
font-style: italic; }
|
255 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col .mega-col-description {
|
256 |
-
float: left; }
|
257 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col .mega-col-description .mega-disabled .dashicons {
|
258 |
-
opacity: 1; }
|
259 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col .mega-col-description .dashicons {
|
260 |
-
opacity: 0.2;
|
261 |
-
transition: opacity 0.5s; }
|
262 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col .mega-col-description .dashicons-trash {
|
263 |
-
display: none;
|
264 |
-
color: #D0011B; }
|
265 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-total-blocks='0'] .dashicons-trash {
|
266 |
-
display: inline-block;
|
267 |
-
opacity: 1; }
|
268 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col .mega-col-header {
|
269 |
-
display: inline-block;
|
270 |
-
width: 100%; }
|
271 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col .mega-col-header .mega-col-description:hover .dashicons {
|
272 |
-
opacity: 1; }
|
273 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col .mega-col-header .mega-col-actions {
|
274 |
-
float: right; }
|
275 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col .mega-col-header .mega-col-actions .dashicons {
|
276 |
-
margin-right: 0;
|
277 |
-
width: 10px;
|
278 |
-
cursor: pointer; }
|
279 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col .mega-col-header .mega-col-actions > span {
|
280 |
-
font-size: 10px;
|
281 |
-
position: relative;
|
282 |
-
top: -3px; }
|
283 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='1'] {
|
284 |
width: 100%; }
|
285 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='1'] {
|
286 |
width: 50%; }
|
287 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='2'] {
|
288 |
width: 100%; }
|
289 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='1'] {
|
290 |
width: 33.33333%; }
|
291 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='2'] {
|
292 |
width: 66.66667%; }
|
293 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='3'] {
|
294 |
width: 100%; }
|
295 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='1'] {
|
296 |
width: 25%; }
|
297 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='2'] {
|
298 |
width: 50%; }
|
299 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='3'] {
|
300 |
width: 75%; }
|
301 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='4'] {
|
302 |
width: 100%; }
|
303 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='1'] {
|
304 |
width: 20%; }
|
305 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='2'] {
|
306 |
width: 40%; }
|
307 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='3'] {
|
308 |
width: 60%; }
|
309 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='4'] {
|
310 |
width: 80%; }
|
311 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='5'] {
|
312 |
width: 100%; }
|
313 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='1'] {
|
314 |
width: 16.66667%; }
|
315 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='2'] {
|
316 |
width: 33.33333%; }
|
317 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='3'] {
|
318 |
width: 50%; }
|
319 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='4'] {
|
320 |
width: 66.66667%; }
|
321 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='5'] {
|
322 |
width: 83.33333%; }
|
323 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='6'] {
|
324 |
width: 100%; }
|
325 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='1'] {
|
326 |
width: 14.28571%; }
|
327 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='2'] {
|
328 |
width: 28.57143%; }
|
329 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='3'] {
|
330 |
width: 42.85714%; }
|
331 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='4'] {
|
332 |
width: 57.14286%; }
|
333 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='5'] {
|
334 |
width: 71.42857%; }
|
335 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='6'] {
|
336 |
width: 85.71429%; }
|
337 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='7'] {
|
338 |
width: 100%; }
|
339 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='1'] {
|
340 |
width: 12.5%; }
|
341 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='2'] {
|
342 |
width: 25%; }
|
343 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='3'] {
|
344 |
width: 37.5%; }
|
345 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='4'] {
|
346 |
width: 50%; }
|
347 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='5'] {
|
348 |
width: 62.5%; }
|
349 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='6'] {
|
350 |
width: 75%; }
|
351 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='7'] {
|
352 |
width: 87.5%; }
|
353 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='8'] {
|
354 |
width: 100%; }
|
355 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='1'] {
|
356 |
width: 11.11111%; }
|
357 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='2'] {
|
358 |
width: 22.22222%; }
|
359 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='3'] {
|
360 |
width: 33.33333%; }
|
361 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='4'] {
|
362 |
width: 44.44444%; }
|
363 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='5'] {
|
364 |
width: 55.55556%; }
|
365 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='6'] {
|
366 |
width: 66.66667%; }
|
367 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='7'] {
|
368 |
width: 77.77778%; }
|
369 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='8'] {
|
370 |
width: 88.88889%; }
|
371 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='9'] {
|
372 |
width: 100%; }
|
373 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='1'] {
|
374 |
width: 10%; }
|
375 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='2'] {
|
376 |
width: 20%; }
|
377 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='3'] {
|
378 |
width: 30%; }
|
379 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='4'] {
|
380 |
width: 40%; }
|
381 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='5'] {
|
382 |
width: 50%; }
|
383 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='6'] {
|
384 |
width: 60%; }
|
385 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='7'] {
|
386 |
width: 70%; }
|
387 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='8'] {
|
388 |
width: 80%; }
|
389 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='9'] {
|
390 |
width: 90%; }
|
391 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='10'] {
|
392 |
width: 100%; }
|
393 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='1'] {
|
394 |
width: 9.09091%; }
|
395 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='2'] {
|
396 |
width: 18.18182%; }
|
397 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='3'] {
|
398 |
width: 27.27273%; }
|
399 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='4'] {
|
400 |
width: 36.36364%; }
|
401 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='5'] {
|
402 |
width: 45.45455%; }
|
403 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='6'] {
|
404 |
width: 54.54545%; }
|
405 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='7'] {
|
406 |
width: 63.63636%; }
|
407 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='8'] {
|
408 |
width: 72.72727%; }
|
409 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='9'] {
|
410 |
width: 81.81818%; }
|
411 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='10'] {
|
412 |
width: 90.90909%; }
|
413 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='11'] {
|
414 |
width: 100%; }
|
415 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='1'] {
|
416 |
width: 8.33333%; }
|
417 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='2'] {
|
418 |
width: 16.66667%; }
|
419 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='3'] {
|
420 |
width: 25%; }
|
421 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='4'] {
|
422 |
width: 33.33333%; }
|
423 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='5'] {
|
424 |
width: 41.66667%; }
|
425 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='6'] {
|
426 |
width: 50%; }
|
427 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='7'] {
|
428 |
width: 58.33333%; }
|
429 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='8'] {
|
430 |
width: 66.66667%; }
|
431 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='9'] {
|
432 |
width: 75%; }
|
433 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='10'] {
|
434 |
width: 83.33333%; }
|
435 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='11'] {
|
436 |
width: 91.66667%; }
|
437 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-span='12'] {
|
438 |
width: 100%; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
439 |
.nav-menus-php #cboxContent .mega_menu #megamenu-grid button.mega-add-column {
|
440 |
position: absolute;
|
441 |
right: 10px;
|
442 |
top: 10px; }
|
443 |
.nav-menus-php #cboxContent .mega_menu #megamenu-grid button.mega-add-row {
|
444 |
margin-top: 20px; }
|
445 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row-settings,
|
446 |
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col-settings {
|
447 |
float: left;
|
448 |
width: 100%;
|
449 |
display: none;
|
450 |
margin: 5px 0 20px;
|
451 |
-
background: #f7f7f7;
|
452 |
padding: 10px;
|
453 |
-
box-sizing: border-box;
|
454 |
-
border: 1px solid #DFDFDF; }
|
455 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row-settings label,
|
456 |
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col-settings label {
|
457 |
width: 100%;
|
458 |
font-size: 11px;
|
459 |
text-transform: uppercase;
|
460 |
margin-right: 5px; }
|
461 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row-settings input,
|
462 |
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col-settings input {
|
463 |
font-size: 11px;
|
464 |
max-width: 100%;
|
465 |
display: block;
|
466 |
width: 100%;
|
467 |
margin: 5px 0 10px 0; }
|
468 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row-settings button,
|
469 |
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col-settings button {
|
470 |
display: block; }
|
471 |
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row-settings {
|
472 |
-
|
473 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
474 |
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .dashicons {
|
475 |
font-size: 13px;
|
476 |
width: 17px;
|
@@ -480,9 +504,6 @@
|
|
480 |
cursor: move; }
|
481 |
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-disabled .dashicons:before {
|
482 |
color: #D0011B; }
|
483 |
-
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-total-cols='12'] .mega-col-expand {
|
484 |
-
pointer-events: none;
|
485 |
-
color: #DFDFDF; }
|
486 |
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-add-row {
|
487 |
clear: both; }
|
488 |
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .drop-area {
|
@@ -1113,7 +1134,7 @@
|
|
1113 |
margin-left: 0;
|
1114 |
clear: both; }
|
1115 |
|
1116 |
-
body[class*='
|
1117 |
body.toplevel_page_maxmegamenu .megamenu_outer_wrap {
|
1118 |
display: inline-block;
|
1119 |
width: 100%;
|
@@ -1121,51 +1142,51 @@ body.toplevel_page_maxmegamenu .megamenu_outer_wrap {
|
|
1121 |
padding-top: 10px;
|
1122 |
box-sizing: border-box; }
|
1123 |
|
1124 |
-
body[class*='
|
1125 |
body.toplevel_page_maxmegamenu *:focus {
|
1126 |
box-shadow: 0 0 0; }
|
1127 |
|
1128 |
-
body[class*='
|
1129 |
body.toplevel_page_maxmegamenu .icon_dropdown .select2-choice > .select2-chosen {
|
1130 |
line-height: 28px;
|
1131 |
margin-right: 0px; }
|
1132 |
|
1133 |
-
body[class*='
|
1134 |
body.toplevel_page_maxmegamenu .icon_dropdown .select2-choice .select2-arrow {
|
1135 |
display: none; }
|
1136 |
|
1137 |
-
body[class*='
|
1138 |
body.toplevel_page_maxmegamenu .icon_dropdown .select2-choice {
|
1139 |
padding: 0 5px 0 5px;
|
1140 |
height: 28px;
|
1141 |
color: #DFDFDF; }
|
1142 |
|
1143 |
-
body[class*='
|
1144 |
body.toplevel_page_maxmegamenu .icon_dropdown .select2-chosen i:before {
|
1145 |
line-height: 28px;
|
1146 |
font-size: 16px;
|
1147 |
color: #444; }
|
1148 |
|
1149 |
-
body[class*='
|
1150 |
body.toplevel_page_maxmegamenu .tpx-select2-drop {
|
1151 |
box-shadow: 0 0 0;
|
1152 |
min-width: 150px; }
|
1153 |
|
1154 |
-
body[class*='
|
1155 |
body.toplevel_page_maxmegamenu .select2-results li {
|
1156 |
float: left; }
|
1157 |
-
body[class*='
|
1158 |
body.toplevel_page_maxmegamenu .select2-results li:first-child {
|
1159 |
float: none; }
|
1160 |
-
body[class*='
|
1161 |
body.toplevel_page_maxmegamenu .select2-results li:first-child i {
|
1162 |
display: none; }
|
1163 |
-
body[class*='
|
1164 |
body.toplevel_page_maxmegamenu .select2-results li .select2-result-label {
|
1165 |
font-size: 0.9em; }
|
1166 |
|
1167 |
-
body[class*='
|
1168 |
-
body[class*='
|
1169 |
body.toplevel_page_maxmegamenu .icon_dropdown .select2-choice > .select2-chosen i,
|
1170 |
body.toplevel_page_maxmegamenu .select2-result-label i {
|
1171 |
display: inline-block;
|
@@ -1184,24 +1205,24 @@ body.toplevel_page_maxmegamenu .select2-result-label i {
|
|
1184 |
-webkit-font-smoothing: antialiased;
|
1185 |
-moz-osx-font-smoothing: grayscale; }
|
1186 |
|
1187 |
-
body[class*='
|
1188 |
body.toplevel_page_maxmegamenu .megamenu_wrap {
|
1189 |
width: 100%;
|
1190 |
float: left;
|
1191 |
background: white; }
|
1192 |
|
1193 |
-
body[class*='
|
1194 |
body.toplevel_page_maxmegamenu .megamenu_left {
|
1195 |
float: left;
|
1196 |
width: 190px;
|
1197 |
margin-left: -100%; }
|
1198 |
-
body[class*='
|
1199 |
-
body[class*='
|
1200 |
body.toplevel_page_maxmegamenu .megamenu_left ul li a:hover,
|
1201 |
body.toplevel_page_maxmegamenu .megamenu_left ul li a.active {
|
1202 |
border-left: 2px solid #0074a2;
|
1203 |
color: #0074a2; }
|
1204 |
-
body[class*='
|
1205 |
body.toplevel_page_maxmegamenu .megamenu_left ul li a {
|
1206 |
text-decoration: none;
|
1207 |
color: #444;
|
@@ -1211,13 +1232,13 @@ body.toplevel_page_maxmegamenu .megamenu_left {
|
|
1211 |
box-sizing: border-box;
|
1212 |
border-left: 2px solid white;
|
1213 |
outline: 0; }
|
1214 |
-
body[class*='
|
1215 |
body.toplevel_page_maxmegamenu .megamenu_left ul li.error {
|
1216 |
border-left: 3px solid #D0011B; }
|
1217 |
-
body[class*='
|
1218 |
body.toplevel_page_maxmegamenu .megamenu_left ul li.mega_active {
|
1219 |
font-weight: bold; }
|
1220 |
-
body[class*='
|
1221 |
body.toplevel_page_maxmegamenu .megamenu_left ul li.mega_active a:after {
|
1222 |
right: 0;
|
1223 |
content: '\f139';
|
@@ -1235,11 +1256,11 @@ body.toplevel_page_maxmegamenu .megamenu_left {
|
|
1235 |
text-decoration: none !important;
|
1236 |
margin-right: 0; }
|
1237 |
|
1238 |
-
body[class*='
|
1239 |
body.toplevel_page_maxmegamenu h3.first {
|
1240 |
margin-top: 0; }
|
1241 |
|
1242 |
-
body[class*='
|
1243 |
body.toplevel_page_maxmegamenu h3 {
|
1244 |
clear: both;
|
1245 |
font-size: 1.1em;
|
@@ -1248,44 +1269,44 @@ body.toplevel_page_maxmegamenu h3 {
|
|
1248 |
border-bottom: 1px solid #DFDFDF;
|
1249 |
padding: 0 0 10px 0; }
|
1250 |
|
1251 |
-
body[class*='
|
1252 |
body.toplevel_page_maxmegamenu h3 span {
|
1253 |
margin-right: 10px; }
|
1254 |
|
1255 |
-
body[class*='
|
1256 |
body.toplevel_page_maxmegamenu a {
|
1257 |
text-decoration: none; }
|
1258 |
|
1259 |
-
body[class*='
|
1260 |
body.toplevel_page_maxmegamenu .duplicate {
|
1261 |
margin-left: 15px; }
|
1262 |
|
1263 |
-
body[class*='
|
1264 |
body.toplevel_page_maxmegamenu .megamenu_submit {
|
1265 |
margin-bottom: 40px;
|
1266 |
padding-top: 35px; }
|
1267 |
-
body[class*='
|
1268 |
-
body[class*='
|
1269 |
body.toplevel_page_maxmegamenu .megamenu_submit .mega_left,
|
1270 |
body.toplevel_page_maxmegamenu .megamenu_submit .mega_right {
|
1271 |
float: left;
|
1272 |
width: 50%; }
|
1273 |
-
body[class*='
|
1274 |
body.toplevel_page_maxmegamenu .megamenu_submit .spinner {
|
1275 |
float: left; }
|
1276 |
-
body[class*='
|
1277 |
body.toplevel_page_maxmegamenu .megamenu_submit p.submit {
|
1278 |
margin: 0;
|
1279 |
padding: 0;
|
1280 |
float: left; }
|
1281 |
-
body[class*='
|
1282 |
body.toplevel_page_maxmegamenu .megamenu_submit .mega_right {
|
1283 |
text-align: right; }
|
1284 |
-
body[class*='
|
1285 |
body.toplevel_page_maxmegamenu .megamenu_submit .mega_right a {
|
1286 |
color: #D0011B; }
|
1287 |
|
1288 |
-
body[class*='
|
1289 |
body.toplevel_page_maxmegamenu .megamenu_header {
|
1290 |
background: white;
|
1291 |
padding: 10px 17px;
|
@@ -1293,13 +1314,13 @@ body.toplevel_page_maxmegamenu .megamenu_header {
|
|
1293 |
float: left;
|
1294 |
width: 100%;
|
1295 |
box-sizing: border-box; }
|
1296 |
-
body[class*='
|
1297 |
body.toplevel_page_maxmegamenu .megamenu_header .version {
|
1298 |
font-style: italic;
|
1299 |
color: #999;
|
1300 |
margin-bottom: 15px; }
|
1301 |
|
1302 |
-
body[class*='
|
1303 |
body.toplevel_page_maxmegamenu .megamenu_header_top {
|
1304 |
font-size: 0.9em;
|
1305 |
display: block;
|
@@ -1308,26 +1329,26 @@ body.toplevel_page_maxmegamenu .megamenu_header_top {
|
|
1308 |
line-height: 30px;
|
1309 |
margin-bottom: 10px;
|
1310 |
box-sizing: border-box; }
|
1311 |
-
body[class*='
|
1312 |
body.toplevel_page_maxmegamenu .megamenu_header_top ul {
|
1313 |
margin: 0;
|
1314 |
float: right;
|
1315 |
position: relative; }
|
1316 |
-
body[class*='
|
1317 |
body.toplevel_page_maxmegamenu .megamenu_header_top ul li {
|
1318 |
display: inline-block;
|
1319 |
margin: 0 0 0 14px;
|
1320 |
line-height: 30px; }
|
1321 |
-
body[class*='
|
1322 |
body.toplevel_page_maxmegamenu .megamenu_header_top ul li.mega-highlight {
|
1323 |
background: #35b1df;
|
1324 |
border-radius: 5px; }
|
1325 |
-
body[class*='
|
1326 |
body.toplevel_page_maxmegamenu .megamenu_header_top ul li.mega-highlight a {
|
1327 |
color: white;
|
1328 |
line-height: 30px;
|
1329 |
padding: 0 10px; }
|
1330 |
-
body[class*='
|
1331 |
body.toplevel_page_maxmegamenu .megamenu_header_top ul li.mega-star:before {
|
1332 |
font: 400 14px/28px dashicons;
|
1333 |
color: #ffb900;
|
@@ -1340,7 +1361,7 @@ body.toplevel_page_maxmegamenu .megamenu_header_top {
|
|
1340 |
-webkit-font-smoothing: antialiased;
|
1341 |
-moz-osx-font-smoothing: grayscale; }
|
1342 |
|
1343 |
-
body[class*='
|
1344 |
body.toplevel_page_maxmegamenu .megamenu_wrap .megamenu_submit .saved {
|
1345 |
background: transparent;
|
1346 |
line-height: 28px;
|
@@ -1351,15 +1372,15 @@ body.toplevel_page_maxmegamenu .megamenu_wrap .megamenu_submit .saved {
|
|
1351 |
text-transform: uppercase;
|
1352 |
font-weight: bold; }
|
1353 |
|
1354 |
-
body[class*='
|
1355 |
body.toplevel_page_maxmegamenu .megamenu_wrap .megamenu_submit .saved .dashicons {
|
1356 |
color: #0074a2;
|
1357 |
width: 26px;
|
1358 |
line-height: 28px;
|
1359 |
height: 28px; }
|
1360 |
|
1361 |
-
body[class*='
|
1362 |
-
body[class*='
|
1363 |
body.toplevel_page_maxmegamenu .megamenu_wrap .success,
|
1364 |
body.toplevel_page_maxmegamenu .megamenu_wrap .fail {
|
1365 |
background: #fff;
|
@@ -1373,38 +1394,38 @@ body.toplevel_page_maxmegamenu .megamenu_wrap .fail {
|
|
1373 |
line-height: 22px;
|
1374 |
clear: both; }
|
1375 |
|
1376 |
-
body[class*='
|
1377 |
body.toplevel_page_maxmegamenu .megamenu_wrap .fail {
|
1378 |
border-left: 4px solid #D0011B; }
|
1379 |
|
1380 |
-
body[class*='
|
1381 |
body.toplevel_page_maxmegamenu .mm-picker-container {
|
1382 |
border-radius: 3px;
|
1383 |
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
|
1384 |
border: 1px solid #ccc;
|
1385 |
font-size: 0.9em;
|
1386 |
float: left; }
|
1387 |
-
body[class*='
|
1388 |
body.toplevel_page_maxmegamenu .mm-picker-container .sp-replacer {
|
1389 |
margin: 0;
|
1390 |
float: left; }
|
1391 |
-
body[class*='
|
1392 |
body.toplevel_page_maxmegamenu .mm-picker-container .sp-palette-container {
|
1393 |
width: 40px; }
|
1394 |
-
body[class*='
|
1395 |
body.toplevel_page_maxmegamenu .mm-picker-container .sp-replacer .sp-preview {
|
1396 |
border: 0;
|
1397 |
height: 26px;
|
1398 |
width: 26px;
|
1399 |
margin: 0; }
|
1400 |
-
body[class*='
|
1401 |
body.toplevel_page_maxmegamenu .mm-picker-container input.mm_colorpicker {
|
1402 |
float: left;
|
1403 |
border: 0;
|
1404 |
height: 23px;
|
1405 |
box-shadow: 0 0 0;
|
1406 |
margin: 0; }
|
1407 |
-
body[class*='
|
1408 |
body.toplevel_page_maxmegamenu .mm-picker-container div.chosen-color {
|
1409 |
background: #f7f7f7;
|
1410 |
-webkit-border-radius: 0 2px 2px 0;
|
@@ -1420,64 +1441,67 @@ body.toplevel_page_maxmegamenu .mm-picker-container {
|
|
1420 |
float: left;
|
1421 |
cursor: default; }
|
1422 |
|
1423 |
-
body[class*='
|
1424 |
body.toplevel_page_maxmegamenu .block .mm-picker-container {
|
1425 |
float: right;
|
1426 |
margin-right: 0; }
|
1427 |
|
1428 |
-
body[class*='
|
1429 |
body.toplevel_page_maxmegamenu .megamenu_right {
|
1430 |
margin-left: 190px;
|
1431 |
padding: 20px;
|
1432 |
box-sizing: border-box;
|
1433 |
border-left: 1px solid #eee;
|
1434 |
min-height: 400px; }
|
1435 |
-
body[class*='
|
1436 |
body.toplevel_page_maxmegamenu .megamenu_right .theme_selector {
|
1437 |
margin-bottom: 20px; }
|
1438 |
-
|
|
|
|
|
|
|
1439 |
body.toplevel_page_maxmegamenu .megamenu_right h2.nav-tab-wrapper {
|
1440 |
margin: 0; }
|
1441 |
-
body[class*='
|
1442 |
body.toplevel_page_maxmegamenu .megamenu_right h2.nav-tab-wrapper a.nav-tab {
|
1443 |
cursor: pointer; }
|
1444 |
-
body[class*='
|
1445 |
body.toplevel_page_maxmegamenu .megamenu_right h2.nav-tab-wrapper a.nav-tab-active {
|
1446 |
background: white;
|
1447 |
position: relative;
|
1448 |
z-index: 1;
|
1449 |
border-bottom: 1px solid white; }
|
1450 |
-
body[class*='
|
1451 |
body.toplevel_page_maxmegamenu .megamenu_right h3.editing_theme {
|
1452 |
margin: 0 0 30px 0;
|
1453 |
padding: 0;
|
1454 |
border: 0;
|
1455 |
float: left;
|
1456 |
width: 100%; }
|
1457 |
-
body[class*='
|
1458 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings.menu_settings_menu_themes td.mega-name {
|
1459 |
padding-left: 10px; }
|
1460 |
-
body[class*='
|
1461 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings.menu_settings_menu_themes h5 {
|
1462 |
clear: both;
|
1463 |
font-size: 1.1em;
|
1464 |
margin: 15px 0 0 10px;
|
1465 |
padding: 0; }
|
1466 |
-
body[class*='
|
1467 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings.menu_settings_tools label {
|
1468 |
clear: both;
|
1469 |
width: 100%; }
|
1470 |
-
body[class*='
|
1471 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings.menu_settings_menu_locations .accordion-container {
|
1472 |
border: 1px solid #DFDFDF; }
|
1473 |
-
body[class*='
|
1474 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings.menu_settings_menu_locations .accordion-container h4 {
|
1475 |
margin: 0; }
|
1476 |
-
body[class*='
|
1477 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings.menu_settings_menu_locations .accordion-container .accordion-section-content {
|
1478 |
padding-left: 10px;
|
1479 |
padding-right: 10px; }
|
1480 |
-
body[class*='
|
1481 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings.menu_settings_menu_locations .mega-assigned-menu {
|
1482 |
float: right;
|
1483 |
text-transform: uppercase;
|
@@ -1485,7 +1509,7 @@ body.toplevel_page_maxmegamenu .megamenu_right {
|
|
1485 |
opacity: 0.7;
|
1486 |
margin-right: 28px;
|
1487 |
font-size: 0.8em; }
|
1488 |
-
body[class*='
|
1489 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings.menu_settings_menu_locations .mega-assigned-menu:before {
|
1490 |
font: 400 16px/21px dashicons;
|
1491 |
margin-right: 4px;
|
@@ -1496,30 +1520,30 @@ body.toplevel_page_maxmegamenu .megamenu_right {
|
|
1496 |
vertical-align: top;
|
1497 |
-webkit-font-smoothing: antialiased;
|
1498 |
-moz-osx-font-smoothing: grayscale; }
|
1499 |
-
body[class*='
|
1500 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings.menu_settings_menu_locations table .mega-value textarea {
|
1501 |
height: 40px; }
|
1502 |
-
body[class*='
|
1503 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings.menu_settings_menu_locations h5 {
|
1504 |
font-size: 12px; }
|
1505 |
-
body[class*='
|
1506 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings.menu_settings_menu_locations .accordion-section-content {
|
1507 |
width: 100%;
|
1508 |
box-sizing: border-box; }
|
1509 |
-
body[class*='
|
1510 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table {
|
1511 |
width: 100%;
|
1512 |
border-collapse: collapse; }
|
1513 |
-
body[class*='
|
1514 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table label {
|
1515 |
font-size: 0.9em;
|
1516 |
float: left;
|
1517 |
margin-right: 10px;
|
1518 |
margin-bottom: 10px; }
|
1519 |
-
body[class*='
|
1520 |
-
body[class*='
|
1521 |
-
body[class*='
|
1522 |
-
body[class*='
|
1523 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table textarea,
|
1524 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table input[type=text],
|
1525 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table input[type=number],
|
@@ -1528,76 +1552,76 @@ body.toplevel_page_maxmegamenu .megamenu_right {
|
|
1528 |
height: 28px;
|
1529 |
line-height: 28px;
|
1530 |
vertical-align: top; }
|
1531 |
-
body[class*='
|
1532 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table textarea {
|
1533 |
width: 100%;
|
1534 |
height: 150px;
|
1535 |
font-family: monospace;
|
1536 |
line-height: 1.5em;
|
1537 |
margin-bottom: 10px; }
|
1538 |
-
body[class*='
|
1539 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table input[type=number] {
|
1540 |
height: auto;
|
1541 |
line-height: 1.2em; }
|
1542 |
-
body[class*='
|
1543 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table input[name=export] {
|
1544 |
margin-top: 20px; }
|
1545 |
-
body[class*='
|
1546 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table input[type=text] {
|
1547 |
width: 70px; }
|
1548 |
-
body[class*='
|
1549 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table input[type=submit] {
|
1550 |
width: auto; }
|
1551 |
-
body[class*='
|
1552 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table input[type=checkbox] {
|
1553 |
width: 16px;
|
1554 |
height: 16px;
|
1555 |
vertical-align: middle; }
|
1556 |
-
body[class*='
|
1557 |
-
body[class*='
|
1558 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table input.mega-setting-panel_width,
|
1559 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table input.mega-setting-panel_inner_width {
|
1560 |
width: 120px; }
|
1561 |
-
body[class*='
|
1562 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table input.mega-setting-title {
|
1563 |
width: 100px; }
|
1564 |
-
body[class*='
|
1565 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table .wide input[type=text] {
|
1566 |
width: 300px; }
|
1567 |
-
body[class*='
|
1568 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table .CodeMirror {
|
1569 |
height: auto;
|
1570 |
min-height: 150px;
|
1571 |
border: 1px solid #aaa; }
|
1572 |
-
body[class*='
|
1573 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table .CodeMirror-scroll {
|
1574 |
min-height: 150px; }
|
1575 |
-
body[class*='
|
1576 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table tr:first-child td {
|
1577 |
border-top: 0;
|
1578 |
padding-top: 20px; }
|
1579 |
-
body[class*='
|
1580 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table th {
|
1581 |
text-align: left; }
|
1582 |
-
body[class*='
|
1583 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table td {
|
1584 |
position: relative;
|
1585 |
padding-bottom: 25px;
|
1586 |
padding-top: 15px;
|
1587 |
border-top: 1px solid #eee; }
|
1588 |
-
body[class*='
|
1589 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table td.mega-name {
|
1590 |
width: 33%;
|
1591 |
line-height: 2em;
|
1592 |
padding-right: 30px;
|
1593 |
vertical-align: top; }
|
1594 |
-
body[class*='
|
1595 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table td.mega-value {
|
1596 |
padding-top: 10px; }
|
1597 |
-
body[class*='
|
1598 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table td.mega-value .mega-description {
|
1599 |
margin-top: 5px; }
|
1600 |
-
body[class*='
|
1601 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table td.mega-value .mega-info {
|
1602 |
clear: both;
|
1603 |
margin-top: 15px;
|
@@ -1607,7 +1631,7 @@ body.toplevel_page_maxmegamenu .megamenu_right {
|
|
1607 |
color: #aaa;
|
1608 |
line-height: 20px;
|
1609 |
width: 100%; }
|
1610 |
-
body[class*='
|
1611 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table td.mega-value .mega-info:before {
|
1612 |
font: 400 20px/1 dashicons;
|
1613 |
content: "\f348";
|
@@ -1618,201 +1642,209 @@ body.toplevel_page_maxmegamenu .megamenu_right {
|
|
1618 |
vertical-align: top;
|
1619 |
-webkit-font-smoothing: antialiased;
|
1620 |
-moz-osx-font-smoothing: grayscale; }
|
1621 |
-
body[class*='
|
1622 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table td.mega-custom_css {
|
1623 |
width: 100%;
|
1624 |
margin-bottom: 0; }
|
1625 |
-
body[class*='
|
1626 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table td.mega-value.mega-instances {
|
1627 |
vertical-align: top; }
|
1628 |
-
body[class*='
|
1629 |
-
body[class*='
|
1630 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table td.mega-value.mega-instances table th,
|
1631 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table td.mega-value.mega-instances table td {
|
1632 |
font-weight: normal;
|
1633 |
padding: 5px; }
|
1634 |
-
body[class*='
|
1635 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table td.mega-value.mega-instances .mega-description {
|
1636 |
padding-left: 5px; }
|
1637 |
-
body[class*='
|
1638 |
-
body[class*='
|
1639 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table td.mega-name .mega-description,
|
1640 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table td.mega-value .mega-description {
|
1641 |
font-size: 0.9em;
|
1642 |
color: #aaa;
|
1643 |
line-height: 1.5em; }
|
1644 |
-
body[class*='
|
1645 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table ul.custom_styling_tips {
|
1646 |
list-style-type: disc;
|
1647 |
list-style-position: inside; }
|
1648 |
-
body[class*='
|
1649 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table ul.custom_styling_tips code {
|
1650 |
margin: 10px 0 0 0;
|
1651 |
font-size: 0.9em; }
|
1652 |
-
body[class*='
|
1653 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table label.mega-error input {
|
1654 |
border: 1px solid #D0011B;
|
1655 |
background: #FFDDDD; }
|
1656 |
-
body[class*='
|
1657 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table label.mega-toggle_blocks {
|
1658 |
-
width:
|
1659 |
cursor: auto; }
|
1660 |
-
body[class*='
|
1661 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table label.mega-toggle_blocks .mega-value {
|
1662 |
padding-bottom: 0; }
|
1663 |
-
body[class*='
|
1664 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table label.mega-toggle_blocks .mega-description {
|
1665 |
float: left;
|
1666 |
width: 100%;
|
1667 |
margin-top: 20px; }
|
1668 |
-
|
1669 |
-
|
1670 |
-
|
1671 |
-
|
1672 |
-
|
1673 |
-
|
1674 |
-
|
1675 |
-
|
1676 |
-
|
1677 |
-
|
1678 |
-
|
1679 |
-
|
1680 |
-
|
1681 |
-
|
1682 |
-
|
1683 |
-
|
1684 |
-
|
1685 |
-
|
1686 |
-
|
1687 |
-
|
1688 |
-
|
1689 |
-
|
1690 |
-
|
1691 |
-
|
1692 |
-
|
1693 |
-
|
1694 |
-
|
1695 |
-
|
1696 |
-
|
1697 |
-
|
1698 |
-
|
1699 |
-
|
1700 |
-
|
1701 |
-
|
1702 |
-
|
1703 |
-
|
1704 |
-
|
1705 |
-
|
1706 |
-
|
1707 |
-
|
1708 |
-
|
1709 |
-
|
1710 |
-
|
1711 |
-
|
1712 |
-
|
1713 |
-
|
1714 |
-
|
1715 |
-
|
1716 |
-
|
1717 |
-
|
1718 |
-
|
1719 |
-
|
1720 |
-
|
1721 |
-
|
1722 |
-
|
1723 |
-
|
1724 |
-
|
1725 |
-
|
1726 |
-
|
1727 |
-
|
1728 |
-
|
1729 |
-
|
1730 |
-
|
1731 |
-
|
1732 |
-
|
1733 |
-
|
1734 |
-
|
1735 |
-
|
1736 |
-
|
1737 |
-
|
1738 |
-
|
1739 |
-
|
1740 |
-
|
1741 |
-
|
1742 |
-
|
1743 |
-
|
1744 |
-
|
1745 |
-
|
1746 |
-
|
1747 |
-
|
1748 |
-
|
1749 |
-
|
1750 |
-
|
1751 |
-
|
1752 |
-
|
1753 |
-
|
1754 |
-
|
1755 |
-
|
1756 |
-
|
1757 |
-
|
1758 |
-
|
1759 |
-
|
1760 |
-
|
1761 |
-
|
1762 |
-
|
1763 |
-
|
1764 |
-
|
1765 |
-
|
1766 |
-
|
1767 |
-
|
1768 |
-
|
1769 |
-
|
1770 |
-
|
1771 |
-
|
1772 |
-
|
1773 |
-
|
1774 |
-
|
1775 |
-
|
1776 |
-
|
1777 |
-
|
1778 |
-
|
1779 |
-
|
1780 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1781 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table .mega-validation-message {
|
1782 |
display: none;
|
1783 |
clear: both;
|
1784 |
font-size: 0.8em;
|
1785 |
color: #D0011B; }
|
1786 |
-
body[class*='
|
1787 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table label span.mega-short-desc {
|
1788 |
font-size: 0.8em;
|
1789 |
text-transform: uppercase;
|
1790 |
color: #aaa;
|
1791 |
display: block;
|
1792 |
margin: 0 0 2px 1px; }
|
1793 |
-
body[class*='
|
1794 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table label.mega-copy_color {
|
1795 |
margin-right: 3px; }
|
1796 |
-
body[class*='
|
1797 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table label.mega-copy_color span.mega-short-desc {
|
1798 |
visibility: hidden; }
|
1799 |
-
body[class*='
|
1800 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table label.mega-copy_color span.dashicons {
|
1801 |
opacity: 0.5;
|
1802 |
margin-top: 6px;
|
1803 |
font-size: 16px; }
|
1804 |
-
body[class*='
|
1805 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings .row h5 {
|
1806 |
margin: 0;
|
1807 |
font-weight: normal;
|
1808 |
float: left;
|
1809 |
width: 250px;
|
1810 |
font-size: 1em; }
|
1811 |
-
body[class*='
|
1812 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings .megamenu_submit {
|
1813 |
float: left;
|
1814 |
width: 100%; }
|
1815 |
-
body[class*='
|
1816 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings div.mega-tab-content {
|
1817 |
position: relative;
|
1818 |
top: -1px;
|
@@ -1822,9 +1854,9 @@ body.toplevel_page_maxmegamenu .megamenu_right {
|
|
1822 |
width: 100%;
|
1823 |
padding: 0;
|
1824 |
box-sizing: border-box; }
|
1825 |
-
body[class*='
|
1826 |
-
body[class*='
|
1827 |
-
body[class*='
|
1828 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings div.mega-tab-content.mega-toggle-disabled .mega-toggle_blocks td:after,
|
1829 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings div.mega-tab-content.mega-toggle-disabled .mega-toggle_bar_background td:after,
|
1830 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings div.mega-tab-content.mega-toggle-disabled .mega-toggle_bar_height td:after {
|
@@ -1838,10 +1870,10 @@ body.toplevel_page_maxmegamenu .megamenu_right {
|
|
1838 |
content: "";
|
1839 |
opacity: 0.5;
|
1840 |
z-index: 9; }
|
1841 |
-
body[class*='
|
1842 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings div.mega-tab-content.mega-toggle-disabled .mega-mobile_toggle_disabled {
|
1843 |
display: table-row; }
|
1844 |
-
body[class*='
|
1845 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings div.mega-tab-content.mega-mobile-disabled tr:not(.mega-responsive_breakpoint):not(.mega-responsive_breakpoint_disabled) td:after {
|
1846 |
background: #eee;
|
1847 |
display: block;
|
@@ -1853,26 +1885,26 @@ body.toplevel_page_maxmegamenu .megamenu_right {
|
|
1853 |
content: "";
|
1854 |
opacity: 0.5;
|
1855 |
z-index: 9; }
|
1856 |
-
body[class*='
|
1857 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings div.mega-tab-content.mega-mobile-disabled .mega-responsive_breakpoint_disabled {
|
1858 |
display: table-row; }
|
1859 |
-
body[class*='
|
1860 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings div.mega-tab-content.mega-mobile-disabled .mega-mobile_toggle_disabled {
|
1861 |
display: none; }
|
1862 |
-
body[class*='
|
1863 |
-
body[class*='
|
1864 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings div.mega-tab-content .mega-responsive_breakpoint_disabled,
|
1865 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings div.mega-tab-content .mega-mobile_toggle_disabled {
|
1866 |
display: none; }
|
1867 |
-
body[class*='
|
1868 |
-
body[class*='
|
1869 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings div.mega-tab-content .mega-responsive_breakpoint_disabled td,
|
1870 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings div.mega-tab-content .mega-mobile_toggle_disabled td {
|
1871 |
padding-top: 10px;
|
1872 |
padding-bottom: 10px;
|
1873 |
border-top: 0; }
|
1874 |
-
body[class*='
|
1875 |
-
body[class*='
|
1876 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings div.mega-tab-content .mega-responsive_breakpoint_disabled h5,
|
1877 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings div.mega-tab-content .mega-mobile_toggle_disabled h5 {
|
1878 |
border: 1px solid #ccc;
|
@@ -1882,12 +1914,12 @@ body.toplevel_page_maxmegamenu .megamenu_right {
|
|
1882 |
font-size: 12px;
|
1883 |
font-weight: normal;
|
1884 |
margin: 0 10px; }
|
1885 |
-
body[class*='
|
1886 |
body.toplevel_page_maxmegamenu .megamenu_right .mega-description .fail {
|
1887 |
margin: 20px 0 0 0;
|
1888 |
color: #999; }
|
1889 |
|
1890 |
-
body[class*='
|
1891 |
body.toplevel_page_maxmegamenu .mega-delete {
|
1892 |
margin-bottom: 15px;
|
1893 |
cursor: pointer; }
|
80 |
font-size: 1.3em;
|
81 |
line-height: 75px;
|
82 |
float: left; }
|
83 |
+
.nav-menus-php #cboxContent .mm_header_container .mm_title br {
|
84 |
+
display: none; }
|
85 |
.nav-menus-php #cboxContent .mm_header_container .mm_saving {
|
86 |
text-align: right;
|
87 |
padding: 0 20px;
|
109 |
width: 15%;
|
110 |
float: left;
|
111 |
position: relative;
|
112 |
+
height: 504px;
|
113 |
background: white;
|
114 |
-webkit-box-shadow: inset -10px 0px 7px -12px rgba(0, 0, 0, 0.2);
|
115 |
-moz-box-shadow: inset -10px 0px 7px -12px rgba(0, 0, 0, 0.2);
|
145 |
.nav-menus-php #cboxContent .mm_content_container {
|
146 |
padding: 20px;
|
147 |
float: right;
|
148 |
+
height: 504px;
|
149 |
width: 85%;
|
150 |
overflow: auto;
|
151 |
box-sizing: border-box;
|
183 |
box-sizing: border-box; }
|
184 |
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row .mega-row-header .mega-disabled .dashicons {
|
185 |
opacity: 1; }
|
186 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row .mega-row-header .dashicons.mega-settings-open {
|
187 |
+
opacity: 1; }
|
188 |
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row .mega-row-header .dashicons {
|
189 |
opacity: 0.2;
|
190 |
transition: opacity 0.5s; }
|
197 |
color: #D0011B; }
|
198 |
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row .mega-row-header .mega-row-actions:hover .dashicons {
|
199 |
opacity: 1; }
|
200 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-used-cols='0'] .mega-row-header .mega-row-actions .dashicons-trash {
|
201 |
display: inline-block;
|
202 |
opacity: 1; }
|
203 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row .mega-too-many-cols {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
204 |
display: none; }
|
205 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-too-many-cols='true'] .mega-too-many-cols {
|
206 |
+
display: block; }
|
207 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row .mega-row-is-full {
|
208 |
+
display: none; }
|
209 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-row-is-full='true'] .mega-col-expand,
|
210 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row .mega-col[data-span='1'] .mega-col-contract {
|
211 |
+
pointer-events: none;
|
212 |
+
color: #DFDFDF; }
|
213 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-row-is-full='true'] .mega-col-expand {
|
214 |
+
pointer-events: none;
|
215 |
+
color: #DFDFDF; }
|
216 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='1'] .mega-col[data-span='1'] {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
217 |
width: 100%; }
|
218 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='2'] .mega-col[data-span='1'] {
|
219 |
width: 50%; }
|
220 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='2'] .mega-col[data-span='2'] {
|
221 |
width: 100%; }
|
222 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='3'] .mega-col[data-span='1'] {
|
223 |
width: 33.33333%; }
|
224 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='3'] .mega-col[data-span='2'] {
|
225 |
width: 66.66667%; }
|
226 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='3'] .mega-col[data-span='3'] {
|
227 |
width: 100%; }
|
228 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='4'] .mega-col[data-span='1'] {
|
229 |
width: 25%; }
|
230 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='4'] .mega-col[data-span='2'] {
|
231 |
width: 50%; }
|
232 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='4'] .mega-col[data-span='3'] {
|
233 |
width: 75%; }
|
234 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='4'] .mega-col[data-span='4'] {
|
235 |
width: 100%; }
|
236 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='5'] .mega-col[data-span='1'] {
|
237 |
width: 20%; }
|
238 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='5'] .mega-col[data-span='2'] {
|
239 |
width: 40%; }
|
240 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='5'] .mega-col[data-span='3'] {
|
241 |
width: 60%; }
|
242 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='5'] .mega-col[data-span='4'] {
|
243 |
width: 80%; }
|
244 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='5'] .mega-col[data-span='5'] {
|
245 |
width: 100%; }
|
246 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='6'] .mega-col[data-span='1'] {
|
247 |
width: 16.66667%; }
|
248 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='6'] .mega-col[data-span='2'] {
|
249 |
width: 33.33333%; }
|
250 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='6'] .mega-col[data-span='3'] {
|
251 |
width: 50%; }
|
252 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='6'] .mega-col[data-span='4'] {
|
253 |
width: 66.66667%; }
|
254 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='6'] .mega-col[data-span='5'] {
|
255 |
width: 83.33333%; }
|
256 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='6'] .mega-col[data-span='6'] {
|
257 |
width: 100%; }
|
258 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='7'] .mega-col[data-span='1'] {
|
259 |
width: 14.28571%; }
|
260 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='7'] .mega-col[data-span='2'] {
|
261 |
width: 28.57143%; }
|
262 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='7'] .mega-col[data-span='3'] {
|
263 |
width: 42.85714%; }
|
264 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='7'] .mega-col[data-span='4'] {
|
265 |
width: 57.14286%; }
|
266 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='7'] .mega-col[data-span='5'] {
|
267 |
width: 71.42857%; }
|
268 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='7'] .mega-col[data-span='6'] {
|
269 |
width: 85.71429%; }
|
270 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='7'] .mega-col[data-span='7'] {
|
271 |
width: 100%; }
|
272 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='8'] .mega-col[data-span='1'] {
|
273 |
width: 12.5%; }
|
274 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='8'] .mega-col[data-span='2'] {
|
275 |
width: 25%; }
|
276 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='8'] .mega-col[data-span='3'] {
|
277 |
width: 37.5%; }
|
278 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='8'] .mega-col[data-span='4'] {
|
279 |
width: 50%; }
|
280 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='8'] .mega-col[data-span='5'] {
|
281 |
width: 62.5%; }
|
282 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='8'] .mega-col[data-span='6'] {
|
283 |
width: 75%; }
|
284 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='8'] .mega-col[data-span='7'] {
|
285 |
width: 87.5%; }
|
286 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='8'] .mega-col[data-span='8'] {
|
287 |
width: 100%; }
|
288 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='9'] .mega-col[data-span='1'] {
|
289 |
width: 11.11111%; }
|
290 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='9'] .mega-col[data-span='2'] {
|
291 |
width: 22.22222%; }
|
292 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='9'] .mega-col[data-span='3'] {
|
293 |
width: 33.33333%; }
|
294 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='9'] .mega-col[data-span='4'] {
|
295 |
width: 44.44444%; }
|
296 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='9'] .mega-col[data-span='5'] {
|
297 |
width: 55.55556%; }
|
298 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='9'] .mega-col[data-span='6'] {
|
299 |
width: 66.66667%; }
|
300 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='9'] .mega-col[data-span='7'] {
|
301 |
width: 77.77778%; }
|
302 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='9'] .mega-col[data-span='8'] {
|
303 |
width: 88.88889%; }
|
304 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='9'] .mega-col[data-span='9'] {
|
305 |
width: 100%; }
|
306 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='10'] .mega-col[data-span='1'] {
|
307 |
width: 10%; }
|
308 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='10'] .mega-col[data-span='2'] {
|
309 |
width: 20%; }
|
310 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='10'] .mega-col[data-span='3'] {
|
311 |
width: 30%; }
|
312 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='10'] .mega-col[data-span='4'] {
|
313 |
width: 40%; }
|
314 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='10'] .mega-col[data-span='5'] {
|
315 |
width: 50%; }
|
316 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='10'] .mega-col[data-span='6'] {
|
317 |
width: 60%; }
|
318 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='10'] .mega-col[data-span='7'] {
|
319 |
width: 70%; }
|
320 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='10'] .mega-col[data-span='8'] {
|
321 |
width: 80%; }
|
322 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='10'] .mega-col[data-span='9'] {
|
323 |
width: 90%; }
|
324 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='10'] .mega-col[data-span='10'] {
|
325 |
width: 100%; }
|
326 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='11'] .mega-col[data-span='1'] {
|
327 |
width: 9.09091%; }
|
328 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='11'] .mega-col[data-span='2'] {
|
329 |
width: 18.18182%; }
|
330 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='11'] .mega-col[data-span='3'] {
|
331 |
width: 27.27273%; }
|
332 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='11'] .mega-col[data-span='4'] {
|
333 |
width: 36.36364%; }
|
334 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='11'] .mega-col[data-span='5'] {
|
335 |
width: 45.45455%; }
|
336 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='11'] .mega-col[data-span='6'] {
|
337 |
width: 54.54545%; }
|
338 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='11'] .mega-col[data-span='7'] {
|
339 |
width: 63.63636%; }
|
340 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='11'] .mega-col[data-span='8'] {
|
341 |
width: 72.72727%; }
|
342 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='11'] .mega-col[data-span='9'] {
|
343 |
width: 81.81818%; }
|
344 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='11'] .mega-col[data-span='10'] {
|
345 |
width: 90.90909%; }
|
346 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='11'] .mega-col[data-span='11'] {
|
347 |
width: 100%; }
|
348 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='12'] .mega-col[data-span='1'] {
|
349 |
width: 8.33333%; }
|
350 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='12'] .mega-col[data-span='2'] {
|
351 |
width: 16.66667%; }
|
352 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='12'] .mega-col[data-span='3'] {
|
353 |
width: 25%; }
|
354 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='12'] .mega-col[data-span='4'] {
|
355 |
width: 33.33333%; }
|
356 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='12'] .mega-col[data-span='5'] {
|
357 |
width: 41.66667%; }
|
358 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='12'] .mega-col[data-span='6'] {
|
359 |
width: 50%; }
|
360 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='12'] .mega-col[data-span='7'] {
|
361 |
width: 58.33333%; }
|
362 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='12'] .mega-col[data-span='8'] {
|
363 |
width: 66.66667%; }
|
364 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='12'] .mega-col[data-span='9'] {
|
365 |
width: 75%; }
|
366 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='12'] .mega-col[data-span='10'] {
|
367 |
width: 83.33333%; }
|
368 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='12'] .mega-col[data-span='11'] {
|
369 |
width: 91.66667%; }
|
370 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row[data-available-cols='12'] .mega-col[data-span='12'] {
|
371 |
width: 100%; }
|
372 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row .notice {
|
373 |
+
margin: 10px 5px;
|
374 |
+
cursor: pointer; }
|
375 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col {
|
376 |
+
display: inline-block;
|
377 |
+
position: relative;
|
378 |
+
vertical-align: top;
|
379 |
+
float: left;
|
380 |
+
transition: width 0.1s;
|
381 |
+
width: 100%; }
|
382 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col .mega-col-wrap {
|
383 |
+
background-color: #fff;
|
384 |
+
border: 1px solid #DFDFDF;
|
385 |
+
margin: 3px;
|
386 |
+
padding: 8px; }
|
387 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col .mega-col-widgets {
|
388 |
+
min-height: 50px; }
|
389 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col .mega-col-widgets .widget {
|
390 |
+
float: none;
|
391 |
+
width: 100%;
|
392 |
+
border: 0;
|
393 |
+
margin: 3px 0; }
|
394 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col .mega-col-widgets .widget .widget-top {
|
395 |
+
background: #f7f7f7;
|
396 |
+
border: 1px solid #DFDFDF;
|
397 |
+
height: 42px; }
|
398 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col .mega-col-widgets .widget.open .widget-top {
|
399 |
+
border: 1px solid #999;
|
400 |
+
border-bottom: 0; }
|
401 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col .mega-col-widgets .widget.open .widget-inner {
|
402 |
+
border: 1px solid #999; }
|
403 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col .mega-col-widgets .widget .widget-title-action {
|
404 |
+
background: #f7f7f7;
|
405 |
+
border: 0;
|
406 |
+
padding-left: 0;
|
407 |
+
padding-right: 10px;
|
408 |
+
position: absolute;
|
409 |
+
top: 0; }
|
410 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col .mega-col-widgets .widget[data-type=item] .widget-title-action {
|
411 |
+
display: none; }
|
412 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col .mega-col-widgets .widget .widget-title h4 {
|
413 |
+
font-weight: normal;
|
414 |
+
margin-top: 5px;
|
415 |
+
line-height: 16px; }
|
416 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col .mega-col-widgets .widget .widget-title .widget-desc {
|
417 |
+
clear: both;
|
418 |
+
font-weight: normal;
|
419 |
+
font-size: 10px;
|
420 |
+
opacity: 0.6;
|
421 |
+
float: left;
|
422 |
+
font-style: italic; }
|
423 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col .mega-col-description {
|
424 |
+
float: left; }
|
425 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col .mega-col-description .mega-disabled .dashicons {
|
426 |
+
opacity: 1; }
|
427 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col .mega-col-description .dashicons.mega-settings-open {
|
428 |
+
opacity: 1; }
|
429 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col .mega-col-description .dashicons {
|
430 |
+
opacity: 0.2;
|
431 |
+
transition: opacity 0.5s; }
|
432 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col .mega-col-description .dashicons-trash {
|
433 |
+
display: none;
|
434 |
+
color: #D0011B; }
|
435 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col[data-total-blocks='0'] .dashicons-trash {
|
436 |
+
display: inline-block;
|
437 |
+
opacity: 1; }
|
438 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col .mega-col-header {
|
439 |
+
display: inline-block;
|
440 |
+
width: 100%; }
|
441 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col .mega-col-header .mega-col-description:hover .dashicons {
|
442 |
+
opacity: 1; }
|
443 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col .mega-col-header .mega-col-actions {
|
444 |
+
float: right; }
|
445 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col .mega-col-header .mega-col-actions .dashicons {
|
446 |
+
margin-right: 0;
|
447 |
+
width: 10px;
|
448 |
+
cursor: pointer; }
|
449 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col .mega-col-header .mega-col-actions > span {
|
450 |
+
font-size: 10px;
|
451 |
+
position: relative;
|
452 |
+
top: -3px; }
|
453 |
.nav-menus-php #cboxContent .mega_menu #megamenu-grid button.mega-add-column {
|
454 |
position: absolute;
|
455 |
right: 10px;
|
456 |
top: 10px; }
|
457 |
.nav-menus-php #cboxContent .mega_menu #megamenu-grid button.mega-add-row {
|
458 |
margin-top: 20px; }
|
|
|
459 |
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col-settings {
|
460 |
float: left;
|
461 |
width: 100%;
|
462 |
display: none;
|
463 |
margin: 5px 0 20px;
|
|
|
464 |
padding: 10px;
|
465 |
+
box-sizing: border-box; }
|
|
|
|
|
466 |
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col-settings label {
|
467 |
width: 100%;
|
468 |
font-size: 11px;
|
469 |
text-transform: uppercase;
|
470 |
margin-right: 5px; }
|
|
|
471 |
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col-settings input {
|
472 |
font-size: 11px;
|
473 |
max-width: 100%;
|
474 |
display: block;
|
475 |
width: 100%;
|
476 |
margin: 5px 0 10px 0; }
|
|
|
477 |
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-col-settings button {
|
478 |
display: block; }
|
479 |
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row-settings {
|
480 |
+
float: left;
|
481 |
+
width: 100%;
|
482 |
+
display: none;
|
483 |
+
margin: 5px 0 20px;
|
484 |
+
padding: 10px;
|
485 |
+
box-sizing: border-box; }
|
486 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row-settings .mega-settings-row {
|
487 |
+
margin-bottom: 5px; }
|
488 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row-settings label {
|
489 |
+
width: 150px;
|
490 |
+
font-size: 11px;
|
491 |
+
text-transform: uppercase;
|
492 |
+
display: inline-block; }
|
493 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row-settings input,
|
494 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row-settings select {
|
495 |
+
font-size: 11px; }
|
496 |
+
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-row-settings button {
|
497 |
+
display: block; }
|
498 |
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .dashicons {
|
499 |
font-size: 13px;
|
500 |
width: 17px;
|
504 |
cursor: move; }
|
505 |
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-disabled .dashicons:before {
|
506 |
color: #D0011B; }
|
|
|
|
|
|
|
507 |
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .mega-add-row {
|
508 |
clear: both; }
|
509 |
.nav-menus-php #cboxContent .mega_menu #megamenu-grid .drop-area {
|
1134 |
margin-left: 0;
|
1135 |
clear: both; }
|
1136 |
|
1137 |
+
body[class*='_page_maxmegamenu_'] .megamenu_outer_wrap,
|
1138 |
body.toplevel_page_maxmegamenu .megamenu_outer_wrap {
|
1139 |
display: inline-block;
|
1140 |
width: 100%;
|
1142 |
padding-top: 10px;
|
1143 |
box-sizing: border-box; }
|
1144 |
|
1145 |
+
body[class*='_page_maxmegamenu_'] *:focus,
|
1146 |
body.toplevel_page_maxmegamenu *:focus {
|
1147 |
box-shadow: 0 0 0; }
|
1148 |
|
1149 |
+
body[class*='_page_maxmegamenu_'] .icon_dropdown .select2-choice > .select2-chosen,
|
1150 |
body.toplevel_page_maxmegamenu .icon_dropdown .select2-choice > .select2-chosen {
|
1151 |
line-height: 28px;
|
1152 |
margin-right: 0px; }
|
1153 |
|
1154 |
+
body[class*='_page_maxmegamenu_'] .icon_dropdown .select2-choice .select2-arrow,
|
1155 |
body.toplevel_page_maxmegamenu .icon_dropdown .select2-choice .select2-arrow {
|
1156 |
display: none; }
|
1157 |
|
1158 |
+
body[class*='_page_maxmegamenu_'] .icon_dropdown .select2-choice,
|
1159 |
body.toplevel_page_maxmegamenu .icon_dropdown .select2-choice {
|
1160 |
padding: 0 5px 0 5px;
|
1161 |
height: 28px;
|
1162 |
color: #DFDFDF; }
|
1163 |
|
1164 |
+
body[class*='_page_maxmegamenu_'] .icon_dropdown .select2-chosen i:before,
|
1165 |
body.toplevel_page_maxmegamenu .icon_dropdown .select2-chosen i:before {
|
1166 |
line-height: 28px;
|
1167 |
font-size: 16px;
|
1168 |
color: #444; }
|
1169 |
|
1170 |
+
body[class*='_page_maxmegamenu_'] .tpx-select2-drop,
|
1171 |
body.toplevel_page_maxmegamenu .tpx-select2-drop {
|
1172 |
box-shadow: 0 0 0;
|
1173 |
min-width: 150px; }
|
1174 |
|
1175 |
+
body[class*='_page_maxmegamenu_'] .select2-results li,
|
1176 |
body.toplevel_page_maxmegamenu .select2-results li {
|
1177 |
float: left; }
|
1178 |
+
body[class*='_page_maxmegamenu_'] .select2-results li:first-child,
|
1179 |
body.toplevel_page_maxmegamenu .select2-results li:first-child {
|
1180 |
float: none; }
|
1181 |
+
body[class*='_page_maxmegamenu_'] .select2-results li:first-child i,
|
1182 |
body.toplevel_page_maxmegamenu .select2-results li:first-child i {
|
1183 |
display: none; }
|
1184 |
+
body[class*='_page_maxmegamenu_'] .select2-results li .select2-result-label,
|
1185 |
body.toplevel_page_maxmegamenu .select2-results li .select2-result-label {
|
1186 |
font-size: 0.9em; }
|
1187 |
|
1188 |
+
body[class*='_page_maxmegamenu_'] .icon_dropdown .select2-choice > .select2-chosen i,
|
1189 |
+
body[class*='_page_maxmegamenu_'] .select2-result-label i,
|
1190 |
body.toplevel_page_maxmegamenu .icon_dropdown .select2-choice > .select2-chosen i,
|
1191 |
body.toplevel_page_maxmegamenu .select2-result-label i {
|
1192 |
display: inline-block;
|
1205 |
-webkit-font-smoothing: antialiased;
|
1206 |
-moz-osx-font-smoothing: grayscale; }
|
1207 |
|
1208 |
+
body[class*='_page_maxmegamenu_'] .megamenu_wrap,
|
1209 |
body.toplevel_page_maxmegamenu .megamenu_wrap {
|
1210 |
width: 100%;
|
1211 |
float: left;
|
1212 |
background: white; }
|
1213 |
|
1214 |
+
body[class*='_page_maxmegamenu_'] .megamenu_left,
|
1215 |
body.toplevel_page_maxmegamenu .megamenu_left {
|
1216 |
float: left;
|
1217 |
width: 190px;
|
1218 |
margin-left: -100%; }
|
1219 |
+
body[class*='_page_maxmegamenu_'] .megamenu_left ul li a:hover,
|
1220 |
+
body[class*='_page_maxmegamenu_'] .megamenu_left ul li a.active,
|
1221 |
body.toplevel_page_maxmegamenu .megamenu_left ul li a:hover,
|
1222 |
body.toplevel_page_maxmegamenu .megamenu_left ul li a.active {
|
1223 |
border-left: 2px solid #0074a2;
|
1224 |
color: #0074a2; }
|
1225 |
+
body[class*='_page_maxmegamenu_'] .megamenu_left ul li a,
|
1226 |
body.toplevel_page_maxmegamenu .megamenu_left ul li a {
|
1227 |
text-decoration: none;
|
1228 |
color: #444;
|
1232 |
box-sizing: border-box;
|
1233 |
border-left: 2px solid white;
|
1234 |
outline: 0; }
|
1235 |
+
body[class*='_page_maxmegamenu_'] .megamenu_left ul li.error,
|
1236 |
body.toplevel_page_maxmegamenu .megamenu_left ul li.error {
|
1237 |
border-left: 3px solid #D0011B; }
|
1238 |
+
body[class*='_page_maxmegamenu_'] .megamenu_left ul li.mega_active,
|
1239 |
body.toplevel_page_maxmegamenu .megamenu_left ul li.mega_active {
|
1240 |
font-weight: bold; }
|
1241 |
+
body[class*='_page_maxmegamenu_'] .megamenu_left ul li.mega_active a:after,
|
1242 |
body.toplevel_page_maxmegamenu .megamenu_left ul li.mega_active a:after {
|
1243 |
right: 0;
|
1244 |
content: '\f139';
|
1256 |
text-decoration: none !important;
|
1257 |
margin-right: 0; }
|
1258 |
|
1259 |
+
body[class*='_page_maxmegamenu_'] h3.first,
|
1260 |
body.toplevel_page_maxmegamenu h3.first {
|
1261 |
margin-top: 0; }
|
1262 |
|
1263 |
+
body[class*='_page_maxmegamenu_'] h3,
|
1264 |
body.toplevel_page_maxmegamenu h3 {
|
1265 |
clear: both;
|
1266 |
font-size: 1.1em;
|
1269 |
border-bottom: 1px solid #DFDFDF;
|
1270 |
padding: 0 0 10px 0; }
|
1271 |
|
1272 |
+
body[class*='_page_maxmegamenu_'] h3 span,
|
1273 |
body.toplevel_page_maxmegamenu h3 span {
|
1274 |
margin-right: 10px; }
|
1275 |
|
1276 |
+
body[class*='_page_maxmegamenu_'] a,
|
1277 |
body.toplevel_page_maxmegamenu a {
|
1278 |
text-decoration: none; }
|
1279 |
|
1280 |
+
body[class*='_page_maxmegamenu_'] .duplicate,
|
1281 |
body.toplevel_page_maxmegamenu .duplicate {
|
1282 |
margin-left: 15px; }
|
1283 |
|
1284 |
+
body[class*='_page_maxmegamenu_'] .megamenu_submit,
|
1285 |
body.toplevel_page_maxmegamenu .megamenu_submit {
|
1286 |
margin-bottom: 40px;
|
1287 |
padding-top: 35px; }
|
1288 |
+
body[class*='_page_maxmegamenu_'] .megamenu_submit .mega_left,
|
1289 |
+
body[class*='_page_maxmegamenu_'] .megamenu_submit .mega_right,
|
1290 |
body.toplevel_page_maxmegamenu .megamenu_submit .mega_left,
|
1291 |
body.toplevel_page_maxmegamenu .megamenu_submit .mega_right {
|
1292 |
float: left;
|
1293 |
width: 50%; }
|
1294 |
+
body[class*='_page_maxmegamenu_'] .megamenu_submit .spinner,
|
1295 |
body.toplevel_page_maxmegamenu .megamenu_submit .spinner {
|
1296 |
float: left; }
|
1297 |
+
body[class*='_page_maxmegamenu_'] .megamenu_submit p.submit,
|
1298 |
body.toplevel_page_maxmegamenu .megamenu_submit p.submit {
|
1299 |
margin: 0;
|
1300 |
padding: 0;
|
1301 |
float: left; }
|
1302 |
+
body[class*='_page_maxmegamenu_'] .megamenu_submit .mega_right,
|
1303 |
body.toplevel_page_maxmegamenu .megamenu_submit .mega_right {
|
1304 |
text-align: right; }
|
1305 |
+
body[class*='_page_maxmegamenu_'] .megamenu_submit .mega_right a,
|
1306 |
body.toplevel_page_maxmegamenu .megamenu_submit .mega_right a {
|
1307 |
color: #D0011B; }
|
1308 |
|
1309 |
+
body[class*='_page_maxmegamenu_'] .megamenu_header,
|
1310 |
body.toplevel_page_maxmegamenu .megamenu_header {
|
1311 |
background: white;
|
1312 |
padding: 10px 17px;
|
1314 |
float: left;
|
1315 |
width: 100%;
|
1316 |
box-sizing: border-box; }
|
1317 |
+
body[class*='_page_maxmegamenu_'] .megamenu_header .version,
|
1318 |
body.toplevel_page_maxmegamenu .megamenu_header .version {
|
1319 |
font-style: italic;
|
1320 |
color: #999;
|
1321 |
margin-bottom: 15px; }
|
1322 |
|
1323 |
+
body[class*='_page_maxmegamenu_'] .megamenu_header_top,
|
1324 |
body.toplevel_page_maxmegamenu .megamenu_header_top {
|
1325 |
font-size: 0.9em;
|
1326 |
display: block;
|
1329 |
line-height: 30px;
|
1330 |
margin-bottom: 10px;
|
1331 |
box-sizing: border-box; }
|
1332 |
+
body[class*='_page_maxmegamenu_'] .megamenu_header_top ul,
|
1333 |
body.toplevel_page_maxmegamenu .megamenu_header_top ul {
|
1334 |
margin: 0;
|
1335 |
float: right;
|
1336 |
position: relative; }
|
1337 |
+
body[class*='_page_maxmegamenu_'] .megamenu_header_top ul li,
|
1338 |
body.toplevel_page_maxmegamenu .megamenu_header_top ul li {
|
1339 |
display: inline-block;
|
1340 |
margin: 0 0 0 14px;
|
1341 |
line-height: 30px; }
|
1342 |
+
body[class*='_page_maxmegamenu_'] .megamenu_header_top ul li.mega-highlight,
|
1343 |
body.toplevel_page_maxmegamenu .megamenu_header_top ul li.mega-highlight {
|
1344 |
background: #35b1df;
|
1345 |
border-radius: 5px; }
|
1346 |
+
body[class*='_page_maxmegamenu_'] .megamenu_header_top ul li.mega-highlight a,
|
1347 |
body.toplevel_page_maxmegamenu .megamenu_header_top ul li.mega-highlight a {
|
1348 |
color: white;
|
1349 |
line-height: 30px;
|
1350 |
padding: 0 10px; }
|
1351 |
+
body[class*='_page_maxmegamenu_'] .megamenu_header_top ul li.mega-star:before,
|
1352 |
body.toplevel_page_maxmegamenu .megamenu_header_top ul li.mega-star:before {
|
1353 |
font: 400 14px/28px dashicons;
|
1354 |
color: #ffb900;
|
1361 |
-webkit-font-smoothing: antialiased;
|
1362 |
-moz-osx-font-smoothing: grayscale; }
|
1363 |
|
1364 |
+
body[class*='_page_maxmegamenu_'] .megamenu_wrap .megamenu_submit .saved,
|
1365 |
body.toplevel_page_maxmegamenu .megamenu_wrap .megamenu_submit .saved {
|
1366 |
background: transparent;
|
1367 |
line-height: 28px;
|
1372 |
text-transform: uppercase;
|
1373 |
font-weight: bold; }
|
1374 |
|
1375 |
+
body[class*='_page_maxmegamenu_'] .megamenu_wrap .megamenu_submit .saved .dashicons,
|
1376 |
body.toplevel_page_maxmegamenu .megamenu_wrap .megamenu_submit .saved .dashicons {
|
1377 |
color: #0074a2;
|
1378 |
width: 26px;
|
1379 |
line-height: 28px;
|
1380 |
height: 28px; }
|
1381 |
|
1382 |
+
body[class*='_page_maxmegamenu_'] .megamenu_wrap .success,
|
1383 |
+
body[class*='_page_maxmegamenu_'] .megamenu_wrap .fail,
|
1384 |
body.toplevel_page_maxmegamenu .megamenu_wrap .success,
|
1385 |
body.toplevel_page_maxmegamenu .megamenu_wrap .fail {
|
1386 |
background: #fff;
|
1394 |
line-height: 22px;
|
1395 |
clear: both; }
|
1396 |
|
1397 |
+
body[class*='_page_maxmegamenu_'] .megamenu_wrap .fail,
|
1398 |
body.toplevel_page_maxmegamenu .megamenu_wrap .fail {
|
1399 |
border-left: 4px solid #D0011B; }
|
1400 |
|
1401 |
+
body[class*='_page_maxmegamenu_'] .mm-picker-container,
|
1402 |
body.toplevel_page_maxmegamenu .mm-picker-container {
|
1403 |
border-radius: 3px;
|
1404 |
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
|
1405 |
border: 1px solid #ccc;
|
1406 |
font-size: 0.9em;
|
1407 |
float: left; }
|
1408 |
+
body[class*='_page_maxmegamenu_'] .mm-picker-container .sp-replacer,
|
1409 |
body.toplevel_page_maxmegamenu .mm-picker-container .sp-replacer {
|
1410 |
margin: 0;
|
1411 |
float: left; }
|
1412 |
+
body[class*='_page_maxmegamenu_'] .mm-picker-container .sp-palette-container,
|
1413 |
body.toplevel_page_maxmegamenu .mm-picker-container .sp-palette-container {
|
1414 |
width: 40px; }
|
1415 |
+
body[class*='_page_maxmegamenu_'] .mm-picker-container .sp-replacer .sp-preview,
|
1416 |
body.toplevel_page_maxmegamenu .mm-picker-container .sp-replacer .sp-preview {
|
1417 |
border: 0;
|
1418 |
height: 26px;
|
1419 |
width: 26px;
|
1420 |
margin: 0; }
|
1421 |
+
body[class*='_page_maxmegamenu_'] .mm-picker-container input.mm_colorpicker,
|
1422 |
body.toplevel_page_maxmegamenu .mm-picker-container input.mm_colorpicker {
|
1423 |
float: left;
|
1424 |
border: 0;
|
1425 |
height: 23px;
|
1426 |
box-shadow: 0 0 0;
|
1427 |
margin: 0; }
|
1428 |
+
body[class*='_page_maxmegamenu_'] .mm-picker-container div.chosen-color,
|
1429 |
body.toplevel_page_maxmegamenu .mm-picker-container div.chosen-color {
|
1430 |
background: #f7f7f7;
|
1431 |
-webkit-border-radius: 0 2px 2px 0;
|
1441 |
float: left;
|
1442 |
cursor: default; }
|
1443 |
|
1444 |
+
body[class*='_page_maxmegamenu_'] .block .mm-picker-container,
|
1445 |
body.toplevel_page_maxmegamenu .block .mm-picker-container {
|
1446 |
float: right;
|
1447 |
margin-right: 0; }
|
1448 |
|
1449 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right,
|
1450 |
body.toplevel_page_maxmegamenu .megamenu_right {
|
1451 |
margin-left: 190px;
|
1452 |
padding: 20px;
|
1453 |
box-sizing: border-box;
|
1454 |
border-left: 1px solid #eee;
|
1455 |
min-height: 400px; }
|
1456 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .theme_selector,
|
1457 |
body.toplevel_page_maxmegamenu .megamenu_right .theme_selector {
|
1458 |
margin-bottom: 20px; }
|
1459 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .theme_selector select,
|
1460 |
+
body.toplevel_page_maxmegamenu .megamenu_right .theme_selector select {
|
1461 |
+
max-width: 500px; }
|
1462 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right h2.nav-tab-wrapper,
|
1463 |
body.toplevel_page_maxmegamenu .megamenu_right h2.nav-tab-wrapper {
|
1464 |
margin: 0; }
|
1465 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right h2.nav-tab-wrapper a.nav-tab,
|
1466 |
body.toplevel_page_maxmegamenu .megamenu_right h2.nav-tab-wrapper a.nav-tab {
|
1467 |
cursor: pointer; }
|
1468 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right h2.nav-tab-wrapper a.nav-tab-active,
|
1469 |
body.toplevel_page_maxmegamenu .megamenu_right h2.nav-tab-wrapper a.nav-tab-active {
|
1470 |
background: white;
|
1471 |
position: relative;
|
1472 |
z-index: 1;
|
1473 |
border-bottom: 1px solid white; }
|
1474 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right h3.editing_theme,
|
1475 |
body.toplevel_page_maxmegamenu .megamenu_right h3.editing_theme {
|
1476 |
margin: 0 0 30px 0;
|
1477 |
padding: 0;
|
1478 |
border: 0;
|
1479 |
float: left;
|
1480 |
width: 100%; }
|
1481 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings.menu_settings_menu_themes td.mega-name,
|
1482 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings.menu_settings_menu_themes td.mega-name {
|
1483 |
padding-left: 10px; }
|
1484 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings.menu_settings_menu_themes h5,
|
1485 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings.menu_settings_menu_themes h5 {
|
1486 |
clear: both;
|
1487 |
font-size: 1.1em;
|
1488 |
margin: 15px 0 0 10px;
|
1489 |
padding: 0; }
|
1490 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings.menu_settings_tools label,
|
1491 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings.menu_settings_tools label {
|
1492 |
clear: both;
|
1493 |
width: 100%; }
|
1494 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings.menu_settings_menu_locations .accordion-container,
|
1495 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings.menu_settings_menu_locations .accordion-container {
|
1496 |
border: 1px solid #DFDFDF; }
|
1497 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings.menu_settings_menu_locations .accordion-container h4,
|
1498 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings.menu_settings_menu_locations .accordion-container h4 {
|
1499 |
margin: 0; }
|
1500 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings.menu_settings_menu_locations .accordion-container .accordion-section-content,
|
1501 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings.menu_settings_menu_locations .accordion-container .accordion-section-content {
|
1502 |
padding-left: 10px;
|
1503 |
padding-right: 10px; }
|
1504 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings.menu_settings_menu_locations .mega-assigned-menu,
|
1505 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings.menu_settings_menu_locations .mega-assigned-menu {
|
1506 |
float: right;
|
1507 |
text-transform: uppercase;
|
1509 |
opacity: 0.7;
|
1510 |
margin-right: 28px;
|
1511 |
font-size: 0.8em; }
|
1512 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings.menu_settings_menu_locations .mega-assigned-menu:before,
|
1513 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings.menu_settings_menu_locations .mega-assigned-menu:before {
|
1514 |
font: 400 16px/21px dashicons;
|
1515 |
margin-right: 4px;
|
1520 |
vertical-align: top;
|
1521 |
-webkit-font-smoothing: antialiased;
|
1522 |
-moz-osx-font-smoothing: grayscale; }
|
1523 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings.menu_settings_menu_locations table .mega-value textarea,
|
1524 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings.menu_settings_menu_locations table .mega-value textarea {
|
1525 |
height: 40px; }
|
1526 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings.menu_settings_menu_locations h5,
|
1527 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings.menu_settings_menu_locations h5 {
|
1528 |
font-size: 12px; }
|
1529 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings.menu_settings_menu_locations .accordion-section-content,
|
1530 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings.menu_settings_menu_locations .accordion-section-content {
|
1531 |
width: 100%;
|
1532 |
box-sizing: border-box; }
|
1533 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table,
|
1534 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table {
|
1535 |
width: 100%;
|
1536 |
border-collapse: collapse; }
|
1537 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table label,
|
1538 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table label {
|
1539 |
font-size: 0.9em;
|
1540 |
float: left;
|
1541 |
margin-right: 10px;
|
1542 |
margin-bottom: 10px; }
|
1543 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table textarea,
|
1544 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table input[type=text],
|
1545 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table input[type=number],
|
1546 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table select,
|
1547 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table textarea,
|
1548 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table input[type=text],
|
1549 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table input[type=number],
|
1552 |
height: 28px;
|
1553 |
line-height: 28px;
|
1554 |
vertical-align: top; }
|
1555 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table textarea,
|
1556 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table textarea {
|
1557 |
width: 100%;
|
1558 |
height: 150px;
|
1559 |
font-family: monospace;
|
1560 |
line-height: 1.5em;
|
1561 |
margin-bottom: 10px; }
|
1562 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table input[type=number],
|
1563 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table input[type=number] {
|
1564 |
height: auto;
|
1565 |
line-height: 1.2em; }
|
1566 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table input[name=export],
|
1567 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table input[name=export] {
|
1568 |
margin-top: 20px; }
|
1569 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table input[type=text],
|
1570 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table input[type=text] {
|
1571 |
width: 70px; }
|
1572 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table input[type=submit],
|
1573 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table input[type=submit] {
|
1574 |
width: auto; }
|
1575 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table input[type=checkbox],
|
1576 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table input[type=checkbox] {
|
1577 |
width: 16px;
|
1578 |
height: 16px;
|
1579 |
vertical-align: middle; }
|
1580 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table input.mega-setting-panel_width,
|
1581 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table input.mega-setting-panel_inner_width,
|
1582 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table input.mega-setting-panel_width,
|
1583 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table input.mega-setting-panel_inner_width {
|
1584 |
width: 120px; }
|
1585 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table input.mega-setting-title,
|
1586 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table input.mega-setting-title {
|
1587 |
width: 100px; }
|
1588 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table .wide input[type=text],
|
1589 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table .wide input[type=text] {
|
1590 |
width: 300px; }
|
1591 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table .CodeMirror,
|
1592 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table .CodeMirror {
|
1593 |
height: auto;
|
1594 |
min-height: 150px;
|
1595 |
border: 1px solid #aaa; }
|
1596 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table .CodeMirror-scroll,
|
1597 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table .CodeMirror-scroll {
|
1598 |
min-height: 150px; }
|
1599 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table tr:first-child td,
|
1600 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table tr:first-child td {
|
1601 |
border-top: 0;
|
1602 |
padding-top: 20px; }
|
1603 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table th,
|
1604 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table th {
|
1605 |
text-align: left; }
|
1606 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table td,
|
1607 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table td {
|
1608 |
position: relative;
|
1609 |
padding-bottom: 25px;
|
1610 |
padding-top: 15px;
|
1611 |
border-top: 1px solid #eee; }
|
1612 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table td.mega-name,
|
1613 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table td.mega-name {
|
1614 |
width: 33%;
|
1615 |
line-height: 2em;
|
1616 |
padding-right: 30px;
|
1617 |
vertical-align: top; }
|
1618 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table td.mega-value,
|
1619 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table td.mega-value {
|
1620 |
padding-top: 10px; }
|
1621 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table td.mega-value .mega-description,
|
1622 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table td.mega-value .mega-description {
|
1623 |
margin-top: 5px; }
|
1624 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table td.mega-value .mega-info,
|
1625 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table td.mega-value .mega-info {
|
1626 |
clear: both;
|
1627 |
margin-top: 15px;
|
1631 |
color: #aaa;
|
1632 |
line-height: 20px;
|
1633 |
width: 100%; }
|
1634 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table td.mega-value .mega-info:before,
|
1635 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table td.mega-value .mega-info:before {
|
1636 |
font: 400 20px/1 dashicons;
|
1637 |
content: "\f348";
|
1642 |
vertical-align: top;
|
1643 |
-webkit-font-smoothing: antialiased;
|
1644 |
-moz-osx-font-smoothing: grayscale; }
|
1645 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table td.mega-custom_css,
|
1646 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table td.mega-custom_css {
|
1647 |
width: 100%;
|
1648 |
margin-bottom: 0; }
|
1649 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table td.mega-value.mega-instances,
|
1650 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table td.mega-value.mega-instances {
|
1651 |
vertical-align: top; }
|
1652 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table td.mega-value.mega-instances table th,
|
1653 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table td.mega-value.mega-instances table td,
|
1654 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table td.mega-value.mega-instances table th,
|
1655 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table td.mega-value.mega-instances table td {
|
1656 |
font-weight: normal;
|
1657 |
padding: 5px; }
|
1658 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table td.mega-value.mega-instances .mega-description,
|
1659 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table td.mega-value.mega-instances .mega-description {
|
1660 |
padding-left: 5px; }
|
1661 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table td.mega-name .mega-description,
|
1662 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table td.mega-value .mega-description,
|
1663 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table td.mega-name .mega-description,
|
1664 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table td.mega-value .mega-description {
|
1665 |
font-size: 0.9em;
|
1666 |
color: #aaa;
|
1667 |
line-height: 1.5em; }
|
1668 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table ul.custom_styling_tips,
|
1669 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table ul.custom_styling_tips {
|
1670 |
list-style-type: disc;
|
1671 |
list-style-position: inside; }
|
1672 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table ul.custom_styling_tips code,
|
1673 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table ul.custom_styling_tips code {
|
1674 |
margin: 10px 0 0 0;
|
1675 |
font-size: 0.9em; }
|
1676 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table label.mega-error input,
|
1677 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table label.mega-error input {
|
1678 |
border: 1px solid #D0011B;
|
1679 |
background: #FFDDDD; }
|
1680 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table label.mega-toggle_blocks,
|
1681 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table label.mega-toggle_blocks {
|
1682 |
+
width: 99%;
|
1683 |
cursor: auto; }
|
1684 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table label.mega-toggle_blocks .mega-value,
|
1685 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table label.mega-toggle_blocks .mega-value {
|
1686 |
padding-bottom: 0; }
|
1687 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table label.mega-toggle_blocks .mega-description,
|
1688 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table label.mega-toggle_blocks .mega-description {
|
1689 |
float: left;
|
1690 |
width: 100%;
|
1691 |
margin-top: 20px; }
|
1692 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .mega-blocks,
|
1693 |
+
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .mega-blocks {
|
1694 |
+
display: flex;
|
1695 |
+
box-sizing: border-box; }
|
1696 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .mega-blocks .mega-left,
|
1697 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .mega-blocks .mega-center,
|
1698 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .mega-blocks .mega-right,
|
1699 |
+
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .mega-blocks .mega-left,
|
1700 |
+
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .mega-blocks .mega-center,
|
1701 |
+
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .mega-blocks .mega-right {
|
1702 |
+
box-sizing: border-box;
|
1703 |
+
border: 1px solid #ccc;
|
1704 |
+
background: #f7f7f7;
|
1705 |
+
height: 60px;
|
1706 |
+
padding: 10px;
|
1707 |
+
margin-top: 15px;
|
1708 |
+
display: flex;
|
1709 |
+
min-width: -webkit-min-content; }
|
1710 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .mega-blocks .mega-left,
|
1711 |
+
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .mega-blocks .mega-left {
|
1712 |
+
border-right: 0px;
|
1713 |
+
flex: 1; }
|
1714 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .mega-blocks .mega-center,
|
1715 |
+
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .mega-blocks .mega-center {
|
1716 |
+
border-left: 1px dashed #ccc;
|
1717 |
+
border-right: 1px dashed #ccc;
|
1718 |
+
text-align: center; }
|
1719 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .mega-blocks .mega-right,
|
1720 |
+
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .mega-blocks .mega-right {
|
1721 |
+
border-left: 0px;
|
1722 |
+
flex: 1;
|
1723 |
+
justify-content: flex-end; }
|
1724 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .mega-blocks .mega-right .block,
|
1725 |
+
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .mega-blocks .mega-right .block {
|
1726 |
+
float: right;
|
1727 |
+
margin: 0 0 0 5px; }
|
1728 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .mega-blocks .block.mega-open .block-title,
|
1729 |
+
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .mega-blocks .block.mega-open .block-title {
|
1730 |
+
border-bottom: 1px solid white;
|
1731 |
+
border-radius: 3px 3px 0 0; }
|
1732 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .mega-blocks .block .block-title,
|
1733 |
+
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .mega-blocks .block .block-title {
|
1734 |
+
padding: 0 10px;
|
1735 |
+
display: inline-block;
|
1736 |
+
height: 35px;
|
1737 |
+
line-height: 35px;
|
1738 |
+
font-size: 0.9em;
|
1739 |
+
background: white;
|
1740 |
+
color: #444;
|
1741 |
+
cursor: move;
|
1742 |
+
border: 1px solid #ccc;
|
1743 |
+
position: relative;
|
1744 |
+
z-index: 2;
|
1745 |
+
border-radius: 3px;
|
1746 |
+
text-align: left;
|
1747 |
+
box-sizing: border-box;
|
1748 |
+
white-space: nowrap; }
|
1749 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .mega-blocks .block.ui-sortable-helper,
|
1750 |
+
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .mega-blocks .block.ui-sortable-helper {
|
1751 |
+
width: auto !important; }
|
1752 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .mega-blocks .block .block-title .dashicons,
|
1753 |
+
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .mega-blocks .block .block-title .dashicons {
|
1754 |
+
line-height: 35px;
|
1755 |
+
cursor: pointer;
|
1756 |
+
font-size: 20px; }
|
1757 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .mega-blocks .block .block-settings,
|
1758 |
+
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .mega-blocks .block .block-settings {
|
1759 |
+
padding: 10px;
|
1760 |
+
display: none;
|
1761 |
+
width: 300px;
|
1762 |
+
vertical-align: top;
|
1763 |
+
background: white;
|
1764 |
+
text-align: left;
|
1765 |
+
color: #ccc;
|
1766 |
+
position: absolute;
|
1767 |
+
left: 0px;
|
1768 |
+
top: 34px;
|
1769 |
+
z-index: 1;
|
1770 |
+
border: 1px solid #ccc; }
|
1771 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .mega-blocks .mega-right .block .block-settings,
|
1772 |
+
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .mega-blocks .mega-right .block .block-settings {
|
1773 |
+
left: auto;
|
1774 |
+
right: 0; }
|
1775 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .mega-blocks .block h3,
|
1776 |
+
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .mega-blocks .block h3 {
|
1777 |
+
margin-top: 5px;
|
1778 |
+
border-bottom: 1px solid #ccc;
|
1779 |
+
padding-bottom: 10px; }
|
1780 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .block-settings label,
|
1781 |
+
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .block-settings label {
|
1782 |
+
width: 100%;
|
1783 |
+
clear: both;
|
1784 |
+
color: #444;
|
1785 |
+
font-size: 1em; }
|
1786 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .block-settings label input,
|
1787 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .block-settings label select,
|
1788 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .block-settings label input,
|
1789 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .block-settings label .icon_dropdown,
|
1790 |
+
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .block-settings label input,
|
1791 |
+
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .block-settings label select,
|
1792 |
+
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .block-settings label input,
|
1793 |
+
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .block-settings label .icon_dropdown {
|
1794 |
+
float: right;
|
1795 |
+
font-size: 0.9em; }
|
1796 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .toggle-left,
|
1797 |
+
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .toggle-left {
|
1798 |
+
border-right: 1px dashed #ccc; }
|
1799 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .toggle-right,
|
1800 |
+
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .toggle-right {
|
1801 |
+
border-left: 0px solid #ccc;
|
1802 |
+
text-align: right; }
|
1803 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .mega-blocks .block,
|
1804 |
+
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .mega-blocks .block {
|
1805 |
+
position: relative;
|
1806 |
+
display: inline-block;
|
1807 |
+
vertical-align: top;
|
1808 |
+
margin: 0 5px 0 0; }
|
1809 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .mega-blocks .block input[type=text],
|
1810 |
+
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table label.mega-toggle_blocks .toggle-bar-designer .mega-blocks .block input[type=text] {
|
1811 |
+
width: 50%; }
|
1812 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table .mega-validation-message,
|
1813 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table .mega-validation-message {
|
1814 |
display: none;
|
1815 |
clear: both;
|
1816 |
font-size: 0.8em;
|
1817 |
color: #D0011B; }
|
1818 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table label span.mega-short-desc,
|
1819 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table label span.mega-short-desc {
|
1820 |
font-size: 0.8em;
|
1821 |
text-transform: uppercase;
|
1822 |
color: #aaa;
|
1823 |
display: block;
|
1824 |
margin: 0 0 2px 1px; }
|
1825 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table label.mega-copy_color,
|
1826 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table label.mega-copy_color {
|
1827 |
margin-right: 3px; }
|
1828 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table label.mega-copy_color span.mega-short-desc,
|
1829 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table label.mega-copy_color span.mega-short-desc {
|
1830 |
visibility: hidden; }
|
1831 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings table label.mega-copy_color span.dashicons,
|
1832 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings table label.mega-copy_color span.dashicons {
|
1833 |
opacity: 0.5;
|
1834 |
margin-top: 6px;
|
1835 |
font-size: 16px; }
|
1836 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings .row h5,
|
1837 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings .row h5 {
|
1838 |
margin: 0;
|
1839 |
font-weight: normal;
|
1840 |
float: left;
|
1841 |
width: 250px;
|
1842 |
font-size: 1em; }
|
1843 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings .megamenu_submit,
|
1844 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings .megamenu_submit {
|
1845 |
float: left;
|
1846 |
width: 100%; }
|
1847 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings div.mega-tab-content,
|
1848 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings div.mega-tab-content {
|
1849 |
position: relative;
|
1850 |
top: -1px;
|
1854 |
width: 100%;
|
1855 |
padding: 0;
|
1856 |
box-sizing: border-box; }
|
1857 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings div.mega-tab-content.mega-toggle-disabled .mega-toggle_blocks td:after,
|
1858 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings div.mega-tab-content.mega-toggle-disabled .mega-toggle_bar_background td:after,
|
1859 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings div.mega-tab-content.mega-toggle-disabled .mega-toggle_bar_height td:after,
|
1860 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings div.mega-tab-content.mega-toggle-disabled .mega-toggle_blocks td:after,
|
1861 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings div.mega-tab-content.mega-toggle-disabled .mega-toggle_bar_background td:after,
|
1862 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings div.mega-tab-content.mega-toggle-disabled .mega-toggle_bar_height td:after {
|
1870 |
content: "";
|
1871 |
opacity: 0.5;
|
1872 |
z-index: 9; }
|
1873 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings div.mega-tab-content.mega-toggle-disabled .mega-mobile_toggle_disabled,
|
1874 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings div.mega-tab-content.mega-toggle-disabled .mega-mobile_toggle_disabled {
|
1875 |
display: table-row; }
|
1876 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings div.mega-tab-content.mega-mobile-disabled tr:not(.mega-responsive_breakpoint):not(.mega-responsive_breakpoint_disabled) td:after,
|
1877 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings div.mega-tab-content.mega-mobile-disabled tr:not(.mega-responsive_breakpoint):not(.mega-responsive_breakpoint_disabled) td:after {
|
1878 |
background: #eee;
|
1879 |
display: block;
|
1885 |
content: "";
|
1886 |
opacity: 0.5;
|
1887 |
z-index: 9; }
|
1888 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings div.mega-tab-content.mega-mobile-disabled .mega-responsive_breakpoint_disabled,
|
1889 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings div.mega-tab-content.mega-mobile-disabled .mega-responsive_breakpoint_disabled {
|
1890 |
display: table-row; }
|
1891 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings div.mega-tab-content.mega-mobile-disabled .mega-mobile_toggle_disabled,
|
1892 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings div.mega-tab-content.mega-mobile-disabled .mega-mobile_toggle_disabled {
|
1893 |
display: none; }
|
1894 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings div.mega-tab-content .mega-responsive_breakpoint_disabled,
|
1895 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings div.mega-tab-content .mega-mobile_toggle_disabled,
|
1896 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings div.mega-tab-content .mega-responsive_breakpoint_disabled,
|
1897 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings div.mega-tab-content .mega-mobile_toggle_disabled {
|
1898 |
display: none; }
|
1899 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings div.mega-tab-content .mega-responsive_breakpoint_disabled td,
|
1900 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings div.mega-tab-content .mega-mobile_toggle_disabled td,
|
1901 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings div.mega-tab-content .mega-responsive_breakpoint_disabled td,
|
1902 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings div.mega-tab-content .mega-mobile_toggle_disabled td {
|
1903 |
padding-top: 10px;
|
1904 |
padding-bottom: 10px;
|
1905 |
border-top: 0; }
|
1906 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings div.mega-tab-content .mega-responsive_breakpoint_disabled h5,
|
1907 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .menu_settings div.mega-tab-content .mega-mobile_toggle_disabled h5,
|
1908 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings div.mega-tab-content .mega-responsive_breakpoint_disabled h5,
|
1909 |
body.toplevel_page_maxmegamenu .megamenu_right .menu_settings div.mega-tab-content .mega-mobile_toggle_disabled h5 {
|
1910 |
border: 1px solid #ccc;
|
1914 |
font-size: 12px;
|
1915 |
font-weight: normal;
|
1916 |
margin: 0 10px; }
|
1917 |
+
body[class*='_page_maxmegamenu_'] .megamenu_right .mega-description .fail,
|
1918 |
body.toplevel_page_maxmegamenu .megamenu_right .mega-description .fail {
|
1919 |
margin: 20px 0 0 0;
|
1920 |
color: #999; }
|
1921 |
|
1922 |
+
body[class*='_page_maxmegamenu_'] .mega-delete,
|
1923 |
body.toplevel_page_maxmegamenu .mega-delete {
|
1924 |
margin-bottom: 15px;
|
1925 |
cursor: pointer; }
|
css/admin/admin.scss
CHANGED
@@ -133,6 +133,11 @@ $green: #46b450;
|
|
133 |
font-size: 1.3em;
|
134 |
line-height: 75px;
|
135 |
float: left;
|
|
|
|
|
|
|
|
|
|
|
136 |
}
|
137 |
|
138 |
.mm_saving {
|
@@ -168,7 +173,7 @@ $green: #46b450;
|
|
168 |
width: 15%;
|
169 |
float: left;
|
170 |
position: relative;
|
171 |
-
height:
|
172 |
background: white;
|
173 |
-webkit-box-shadow: inset -10px 0px 7px -12px rgba(0, 0, 0, 0.2);
|
174 |
-moz-box-shadow: inset -10px 0px 7px -12px rgba(0, 0, 0, 0.2);
|
@@ -216,7 +221,7 @@ $green: #46b450;
|
|
216 |
.mm_content_container {
|
217 |
padding: 20px;
|
218 |
float: right;
|
219 |
-
height:
|
220 |
width: 85%;
|
221 |
overflow: auto;
|
222 |
box-sizing: border-box;
|
@@ -271,6 +276,10 @@ $green: #46b450;
|
|
271 |
opacity: 1;
|
272 |
}
|
273 |
|
|
|
|
|
|
|
|
|
274 |
.dashicons {
|
275 |
opacity: 0.2;
|
276 |
transition: opacity 0.5s;
|
@@ -295,13 +304,48 @@ $green: #46b450;
|
|
295 |
}
|
296 |
}
|
297 |
|
298 |
-
&[data-
|
299 |
.mega-row-header .mega-row-actions .dashicons-trash {
|
300 |
display: inline-block;
|
301 |
opacity: 1;
|
302 |
}
|
303 |
}
|
304 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
305 |
.notice {
|
306 |
margin: 10px 5px;
|
307 |
cursor: pointer;
|
@@ -314,6 +358,7 @@ $green: #46b450;
|
|
314 |
vertical-align: top;
|
315 |
float: left;
|
316 |
transition: width 0.1s;
|
|
|
317 |
|
318 |
.mega-col-wrap {
|
319 |
background-color: $white;
|
@@ -322,20 +367,6 @@ $green: #46b450;
|
|
322 |
padding: 8px;
|
323 |
}
|
324 |
|
325 |
-
&[data-span='1'] {
|
326 |
-
.mega-col-contract,
|
327 |
-
.widget-title {
|
328 |
-
display: none;
|
329 |
-
}
|
330 |
-
}
|
331 |
-
|
332 |
-
&[data-span='1'] {
|
333 |
-
.mega-col-header .mega-col-actions {
|
334 |
-
float: left;
|
335 |
-
clear: both;
|
336 |
-
}
|
337 |
-
}
|
338 |
-
|
339 |
.mega-col-widgets {
|
340 |
min-height: 50px;
|
341 |
|
@@ -405,6 +436,10 @@ $green: #46b450;
|
|
405 |
.mega-disabled .dashicons {
|
406 |
opacity: 1;
|
407 |
}
|
|
|
|
|
|
|
|
|
408 |
|
409 |
.dashicons {
|
410 |
opacity: 0.2;
|
@@ -450,14 +485,6 @@ $green: #46b450;
|
|
450 |
|
451 |
}
|
452 |
|
453 |
-
@for $of from 1 through 12 {
|
454 |
-
@for $cols from 1 through $of {
|
455 |
-
&[data-span='#{$cols}'] {
|
456 |
-
width: (100% / $of) * $cols;
|
457 |
-
}
|
458 |
-
}
|
459 |
-
}
|
460 |
-
|
461 |
}
|
462 |
|
463 |
button.mega-add-column {
|
@@ -470,17 +497,13 @@ $green: #46b450;
|
|
470 |
margin-top: 20px;
|
471 |
}
|
472 |
|
473 |
-
|
474 |
-
.mega-row-settings,
|
475 |
.mega-col-settings {
|
476 |
float: left;
|
477 |
width: 100%;
|
478 |
display: none;
|
479 |
margin: 5px 0 20px;
|
480 |
-
background: $light_grey;
|
481 |
padding: 10px;
|
482 |
box-sizing: border-box;
|
483 |
-
border: 1px solid $grey;
|
484 |
|
485 |
label {
|
486 |
width: 100%;
|
@@ -503,9 +526,34 @@ $green: #46b450;
|
|
503 |
}
|
504 |
|
505 |
.mega-row-settings {
|
506 |
-
|
507 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
508 |
}
|
|
|
509 |
.dashicons {
|
510 |
font-size: 13px;
|
511 |
width: 17px;
|
@@ -523,13 +571,6 @@ $green: #46b450;
|
|
523 |
}
|
524 |
}
|
525 |
|
526 |
-
.mega-row[data-total-cols='12'] {
|
527 |
-
.mega-col-expand {
|
528 |
-
pointer-events: none;
|
529 |
-
color: $grey;
|
530 |
-
}
|
531 |
-
}
|
532 |
-
|
533 |
.mega-add-row {
|
534 |
clear: both;
|
535 |
}
|
@@ -1535,7 +1576,7 @@ $green: #46b450;
|
|
1535 |
clear: both;
|
1536 |
}
|
1537 |
|
1538 |
-
body[class*='
|
1539 |
body.toplevel_page_maxmegamenu {
|
1540 |
|
1541 |
.megamenu_outer_wrap {
|
@@ -1883,6 +1924,10 @@ body.toplevel_page_maxmegamenu {
|
|
1883 |
|
1884 |
.theme_selector {
|
1885 |
margin-bottom: 20px;
|
|
|
|
|
|
|
|
|
1886 |
}
|
1887 |
|
1888 |
h2.nav-tab-wrapper {
|
@@ -2154,7 +2199,7 @@ body.toplevel_page_maxmegamenu {
|
|
2154 |
}
|
2155 |
|
2156 |
label.mega-toggle_blocks {
|
2157 |
-
width:
|
2158 |
cursor: auto;
|
2159 |
|
2160 |
.mega-value {
|
@@ -2166,130 +2211,140 @@ body.toplevel_page_maxmegamenu {
|
|
2166 |
width: 100%;
|
2167 |
margin-top: 20px;
|
2168 |
}
|
2169 |
-
}
|
2170 |
-
|
2171 |
-
.toggle-bar-designer {
|
2172 |
|
2173 |
-
|
2174 |
-
|
2175 |
-
|
2176 |
-
|
2177 |
-
|
2178 |
-
|
2179 |
-
|
2180 |
-
|
2181 |
-
|
2182 |
-
|
2183 |
-
|
2184 |
-
|
2185 |
-
|
2186 |
-
|
2187 |
-
|
2188 |
-
|
2189 |
-
|
2190 |
-
|
2191 |
-
|
2192 |
-
|
2193 |
-
|
2194 |
-
|
2195 |
-
|
2196 |
-
|
2197 |
-
|
2198 |
-
|
2199 |
-
|
2200 |
-
|
2201 |
-
|
2202 |
-
|
2203 |
-
|
2204 |
-
|
2205 |
-
|
2206 |
-
|
2207 |
-
|
2208 |
-
|
2209 |
-
|
2210 |
-
|
2211 |
-
|
2212 |
-
|
2213 |
-
|
2214 |
-
|
2215 |
-
|
2216 |
-
|
2217 |
-
|
2218 |
-
|
2219 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2220 |
|
2221 |
-
|
2222 |
-
|
2223 |
-
|
2224 |
|
2225 |
-
|
2226 |
-
|
2227 |
-
|
2228 |
-
|
2229 |
-
|
2230 |
|
2231 |
-
|
2232 |
-
|
2233 |
-
|
2234 |
-
|
2235 |
-
|
2236 |
-
|
2237 |
-
|
2238 |
-
|
2239 |
-
|
2240 |
-
|
2241 |
-
|
2242 |
-
|
2243 |
-
|
2244 |
-
|
2245 |
|
2246 |
-
|
2247 |
-
|
2248 |
-
|
2249 |
-
|
2250 |
|
2251 |
-
|
2252 |
-
|
2253 |
-
|
2254 |
-
|
2255 |
-
|
2256 |
|
2257 |
-
|
2258 |
-
|
2259 |
-
|
2260 |
-
|
2261 |
-
|
2262 |
-
|
2263 |
|
2264 |
-
|
2265 |
-
|
2266 |
-
|
2267 |
-
|
2268 |
-
|
2269 |
-
|
2270 |
-
|
2271 |
|
2272 |
-
|
2273 |
-
|
2274 |
-
|
2275 |
|
2276 |
-
|
2277 |
-
|
2278 |
-
|
2279 |
|
2280 |
-
|
2281 |
|
2282 |
-
|
2283 |
-
|
2284 |
-
|
2285 |
-
|
2286 |
-
|
2287 |
|
2288 |
-
|
2289 |
-
|
|
|
2290 |
}
|
2291 |
-
|
2292 |
-
|
|
|
2293 |
|
2294 |
.mega-validation-message {
|
2295 |
display: none;
|
133 |
font-size: 1.3em;
|
134 |
line-height: 75px;
|
135 |
float: left;
|
136 |
+
|
137 |
+
br {
|
138 |
+
display: none;
|
139 |
+
|
140 |
+
}
|
141 |
}
|
142 |
|
143 |
.mm_saving {
|
173 |
width: 15%;
|
174 |
float: left;
|
175 |
position: relative;
|
176 |
+
height: 504px;
|
177 |
background: white;
|
178 |
-webkit-box-shadow: inset -10px 0px 7px -12px rgba(0, 0, 0, 0.2);
|
179 |
-moz-box-shadow: inset -10px 0px 7px -12px rgba(0, 0, 0, 0.2);
|
221 |
.mm_content_container {
|
222 |
padding: 20px;
|
223 |
float: right;
|
224 |
+
height: 504px;
|
225 |
width: 85%;
|
226 |
overflow: auto;
|
227 |
box-sizing: border-box;
|
276 |
opacity: 1;
|
277 |
}
|
278 |
|
279 |
+
.dashicons.mega-settings-open {
|
280 |
+
opacity: 1;
|
281 |
+
}
|
282 |
+
|
283 |
.dashicons {
|
284 |
opacity: 0.2;
|
285 |
transition: opacity 0.5s;
|
304 |
}
|
305 |
}
|
306 |
|
307 |
+
&[data-used-cols='0'] {
|
308 |
.mega-row-header .mega-row-actions .dashicons-trash {
|
309 |
display: inline-block;
|
310 |
opacity: 1;
|
311 |
}
|
312 |
}
|
313 |
|
314 |
+
.mega-too-many-cols {
|
315 |
+
display: none;
|
316 |
+
}
|
317 |
+
|
318 |
+
&[data-too-many-cols='true'] {
|
319 |
+
.mega-too-many-cols {
|
320 |
+
display: block;
|
321 |
+
}
|
322 |
+
}
|
323 |
+
|
324 |
+
.mega-row-is-full {
|
325 |
+
display: none;
|
326 |
+
}
|
327 |
+
|
328 |
+
&[data-row-is-full='true'] .mega-col-expand,
|
329 |
+
.mega-col[data-span='1'] .mega-col-contract {
|
330 |
+
pointer-events: none;
|
331 |
+
color: $grey;
|
332 |
+
}
|
333 |
+
|
334 |
+
&[data-row-is-full='true'] {
|
335 |
+
.mega-col-expand {
|
336 |
+
pointer-events: none;
|
337 |
+
color: $grey;
|
338 |
+
}
|
339 |
+
}
|
340 |
+
|
341 |
+
@for $of from 1 through 12 {
|
342 |
+
@for $cols from 1 through $of {
|
343 |
+
&[data-available-cols='#{$of}'] .mega-col[data-span='#{$cols}'] {
|
344 |
+
width: (100% / $of) * $cols;
|
345 |
+
}
|
346 |
+
}
|
347 |
+
}
|
348 |
+
|
349 |
.notice {
|
350 |
margin: 10px 5px;
|
351 |
cursor: pointer;
|
358 |
vertical-align: top;
|
359 |
float: left;
|
360 |
transition: width 0.1s;
|
361 |
+
width: 100%;
|
362 |
|
363 |
.mega-col-wrap {
|
364 |
background-color: $white;
|
367 |
padding: 8px;
|
368 |
}
|
369 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
370 |
.mega-col-widgets {
|
371 |
min-height: 50px;
|
372 |
|
436 |
.mega-disabled .dashicons {
|
437 |
opacity: 1;
|
438 |
}
|
439 |
+
|
440 |
+
.dashicons.mega-settings-open {
|
441 |
+
opacity: 1;
|
442 |
+
}
|
443 |
|
444 |
.dashicons {
|
445 |
opacity: 0.2;
|
485 |
|
486 |
}
|
487 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
488 |
}
|
489 |
|
490 |
button.mega-add-column {
|
497 |
margin-top: 20px;
|
498 |
}
|
499 |
|
|
|
|
|
500 |
.mega-col-settings {
|
501 |
float: left;
|
502 |
width: 100%;
|
503 |
display: none;
|
504 |
margin: 5px 0 20px;
|
|
|
505 |
padding: 10px;
|
506 |
box-sizing: border-box;
|
|
|
507 |
|
508 |
label {
|
509 |
width: 100%;
|
526 |
}
|
527 |
|
528 |
.mega-row-settings {
|
529 |
+
float: left;
|
530 |
+
width: 100%;
|
531 |
+
display: none;
|
532 |
+
margin: 5px 0 20px;
|
533 |
+
padding: 10px;
|
534 |
+
box-sizing: border-box;
|
535 |
+
|
536 |
+
.mega-settings-row {
|
537 |
+
margin-bottom: 5px;
|
538 |
+
}
|
539 |
+
|
540 |
+
label {
|
541 |
+
width: 150px;
|
542 |
+
font-size: 11px;
|
543 |
+
text-transform: uppercase;
|
544 |
+
display: inline-block;
|
545 |
+
}
|
546 |
+
|
547 |
+
input,
|
548 |
+
select {
|
549 |
+
font-size: 11px;
|
550 |
+
}
|
551 |
+
|
552 |
+
button {
|
553 |
+
display: block;
|
554 |
+
}
|
555 |
}
|
556 |
+
|
557 |
.dashicons {
|
558 |
font-size: 13px;
|
559 |
width: 17px;
|
571 |
}
|
572 |
}
|
573 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
574 |
.mega-add-row {
|
575 |
clear: both;
|
576 |
}
|
1576 |
clear: both;
|
1577 |
}
|
1578 |
|
1579 |
+
body[class*='_page_maxmegamenu_'],
|
1580 |
body.toplevel_page_maxmegamenu {
|
1581 |
|
1582 |
.megamenu_outer_wrap {
|
1924 |
|
1925 |
.theme_selector {
|
1926 |
margin-bottom: 20px;
|
1927 |
+
|
1928 |
+
select {
|
1929 |
+
max-width: 500px;
|
1930 |
+
}
|
1931 |
}
|
1932 |
|
1933 |
h2.nav-tab-wrapper {
|
2199 |
}
|
2200 |
|
2201 |
label.mega-toggle_blocks {
|
2202 |
+
width: 99%;
|
2203 |
cursor: auto;
|
2204 |
|
2205 |
.mega-value {
|
2211 |
width: 100%;
|
2212 |
margin-top: 20px;
|
2213 |
}
|
|
|
|
|
|
|
2214 |
|
2215 |
+
.toggle-bar-designer {
|
2216 |
+
|
2217 |
+
.mega-blocks {
|
2218 |
+
display: flex;
|
2219 |
+
box-sizing: border-box;
|
2220 |
+
}
|
2221 |
+
|
2222 |
+
.mega-blocks .mega-left,
|
2223 |
+
.mega-blocks .mega-center,
|
2224 |
+
.mega-blocks .mega-right {
|
2225 |
+
box-sizing: border-box;
|
2226 |
+
border: 1px solid #ccc;
|
2227 |
+
background: #f7f7f7;
|
2228 |
+
height: 60px;
|
2229 |
+
padding: 10px;
|
2230 |
+
margin-top: 15px;
|
2231 |
+
display: flex;
|
2232 |
+
min-width: -webkit-min-content;
|
2233 |
+
}
|
2234 |
+
.mega-blocks .mega-left {
|
2235 |
+
border-right: 0px;
|
2236 |
+
flex: 1;
|
2237 |
+
}
|
2238 |
+
.mega-blocks .mega-center {
|
2239 |
+
border-left: 1px dashed #ccc;
|
2240 |
+
border-right: 1px dashed #ccc;
|
2241 |
+
text-align: center;
|
2242 |
+
}
|
2243 |
+
.mega-blocks .mega-right {
|
2244 |
+
border-left: 0px;
|
2245 |
+
flex: 1;
|
2246 |
+
justify-content: flex-end;
|
2247 |
+
}
|
2248 |
+
.mega-blocks .mega-right .block {
|
2249 |
+
float: right;
|
2250 |
+
margin: 0 0 0 5px;
|
2251 |
+
}
|
2252 |
+
.mega-blocks .block.mega-open .block-title {
|
2253 |
+
border-bottom: 1px solid white;
|
2254 |
+
border-radius: 3px 3px 0 0;
|
2255 |
+
}
|
2256 |
+
.mega-blocks .block .block-title {
|
2257 |
+
padding: 0 10px;
|
2258 |
+
display: inline-block;
|
2259 |
+
height: 35px;
|
2260 |
+
line-height: 35px;
|
2261 |
+
font-size: 0.9em;
|
2262 |
+
background: white;
|
2263 |
+
color: $text_grey;
|
2264 |
+
cursor: move;
|
2265 |
+
border: 1px solid #ccc;
|
2266 |
+
position: relative;
|
2267 |
+
z-index: 2;
|
2268 |
+
border-radius: 3px;
|
2269 |
+
text-align: left;
|
2270 |
+
box-sizing: border-box;
|
2271 |
+
white-space: nowrap;
|
2272 |
+
}
|
2273 |
|
2274 |
+
.mega-blocks .block.ui-sortable-helper {
|
2275 |
+
width: auto !important;
|
2276 |
+
}
|
2277 |
|
2278 |
+
.mega-blocks .block .block-title .dashicons {
|
2279 |
+
line-height: 35px;
|
2280 |
+
cursor: pointer;
|
2281 |
+
font-size: 20px;
|
2282 |
+
}
|
2283 |
|
2284 |
+
.mega-blocks .block .block-settings {
|
2285 |
+
padding: 10px;
|
2286 |
+
display: none;
|
2287 |
+
width: 300px;
|
2288 |
+
vertical-align: top;
|
2289 |
+
background: white;
|
2290 |
+
text-align: left;
|
2291 |
+
color: #ccc;
|
2292 |
+
position: absolute;
|
2293 |
+
left: 0px;
|
2294 |
+
top: 34px;
|
2295 |
+
z-index: 1;
|
2296 |
+
border: 1px solid #ccc;
|
2297 |
+
}
|
2298 |
|
2299 |
+
.mega-blocks .mega-right .block .block-settings {
|
2300 |
+
left: auto;
|
2301 |
+
right: 0;
|
2302 |
+
}
|
2303 |
|
2304 |
+
.mega-blocks .block h3 {
|
2305 |
+
margin-top: 5px;
|
2306 |
+
border-bottom: 1px solid #ccc;
|
2307 |
+
padding-bottom: 10px;
|
2308 |
+
}
|
2309 |
|
2310 |
+
.block-settings label {
|
2311 |
+
width: 100%;
|
2312 |
+
clear: both;
|
2313 |
+
color: $text_grey;
|
2314 |
+
font-size: 1em;
|
2315 |
+
}
|
2316 |
|
2317 |
+
.block-settings label input,
|
2318 |
+
.block-settings label select,
|
2319 |
+
.block-settings label input,
|
2320 |
+
.block-settings label .icon_dropdown {
|
2321 |
+
float: right;
|
2322 |
+
font-size: 0.9em;
|
2323 |
+
}
|
2324 |
|
2325 |
+
.toggle-left {
|
2326 |
+
border-right: 1px dashed #ccc;
|
2327 |
+
}
|
2328 |
|
2329 |
+
.toggle-right {
|
2330 |
+
border-left: 0px solid #ccc;
|
2331 |
+
text-align: right;
|
2332 |
|
2333 |
+
}
|
2334 |
|
2335 |
+
.mega-blocks .block {
|
2336 |
+
position: relative;
|
2337 |
+
display: inline-block;
|
2338 |
+
vertical-align: top;
|
2339 |
+
margin: 0 5px 0 0;
|
2340 |
|
2341 |
+
input[type=text] {
|
2342 |
+
width: 50%;
|
2343 |
+
}
|
2344 |
}
|
2345 |
+
}
|
2346 |
+
}
|
2347 |
+
|
2348 |
|
2349 |
.mega-validation-message {
|
2350 |
display: none;
|
css/megamenu.scss
CHANGED
@@ -82,25 +82,19 @@
|
|
82 |
padding: 0;
|
83 |
}
|
84 |
|
85 |
-
a.mega-menu-link {
|
86 |
-
|
87 |
-
display: inline;
|
88 |
-
|
89 |
-
@if $transitions == 'on' {
|
90 |
-
-webkit-transition: background 200ms linear, color 200ms linear;
|
91 |
-
-moz-transition: background 200ms linear, color 200ms linear;
|
92 |
-
-o-transition: background 200ms linear, color 200ms linear;
|
93 |
-
transition: background 200ms linear, color 200ms linear;
|
94 |
-
}
|
95 |
|
96 |
.mega-description-group {
|
97 |
-
|
98 |
-
|
|
|
|
|
|
|
99 |
|
100 |
.mega-menu-title,
|
101 |
.mega-menu-description {
|
102 |
line-height: 1.5;
|
103 |
-
display: block;
|
104 |
}
|
105 |
|
106 |
.mega-menu-description {
|
@@ -110,46 +104,66 @@
|
|
110 |
font-weight: normal;
|
111 |
}
|
112 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
113 |
}
|
114 |
|
115 |
|
|
|
116 |
li.mega-menu-item.mega-icon-top > a.mega-menu-link {
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
|
|
|
|
|
|
|
|
|
|
125 |
}
|
126 |
|
127 |
> span.mega-title-below {
|
128 |
-
|
129 |
}
|
130 |
}
|
131 |
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
line-height:
|
136 |
-
|
137 |
-
&:before {
|
138 |
-
display: inline-block;
|
139 |
-
margin: 0 6px 0 0;
|
140 |
-
text-align: left;
|
141 |
-
}
|
142 |
}
|
143 |
}
|
144 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
145 |
li.mega-menu-item.mega-icon-right > a.mega-menu-link {
|
146 |
&:before {
|
147 |
float: right;
|
148 |
margin: 0 0 0 6px;
|
|
|
149 |
}
|
150 |
}
|
151 |
|
152 |
-
> li.mega-animating > ul.mega-sub-menu {
|
153 |
pointer-events: none;
|
154 |
}
|
155 |
|
@@ -158,7 +172,8 @@
|
|
158 |
cursor: default;
|
159 |
}
|
160 |
|
161 |
-
li.mega-menu-item-has-children.mega-disable-link > a.mega-menu-link
|
|
|
162 |
cursor: pointer;
|
163 |
}
|
164 |
|
@@ -180,71 +195,71 @@
|
|
180 |
display: block;
|
181 |
visibility: hidden;
|
182 |
opacity: 1;
|
|
|
183 |
}
|
184 |
|
185 |
-
|
|
|
186 |
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
193 |
|
194 |
-
&.mega-no-js li.mega-menu-item:hover > ul.mega-sub-menu,
|
195 |
-
&.mega-no-js li.mega-menu-item:focus > ul.mega-sub-menu,
|
196 |
-
li.mega-menu-item.mega-toggle-on > ul.mega-sub-menu,
|
197 |
-
li.mega-menu-item.mega-menu-megamenu.mega-toggle-on ul.mega-sub-menu {
|
198 |
-
opacity: 1;
|
199 |
}
|
200 |
|
201 |
-
|
202 |
|
203 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
204 |
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
transition-property: opacity, margin-top, visibility;
|
212 |
-
}
|
213 |
|
214 |
-
&.mega-no-js li.mega-menu-item:hover > ul.mega-sub-menu,
|
215 |
-
&.mega-no-js li.mega-menu-item:focus > ul.mega-sub-menu,
|
216 |
-
li.mega-menu-item.mega-toggle-on > ul.mega-sub-menu,
|
217 |
-
li.mega-menu-item.mega-menu-megamenu.mega-toggle-on ul.mega-sub-menu {
|
218 |
-
opacity: 1;
|
219 |
-
margin-top: 0;
|
220 |
}
|
221 |
|
222 |
-
|
223 |
|
224 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
225 |
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
transition-property: margin-top, visibility;
|
232 |
-
}
|
233 |
|
234 |
-
&.mega-no-js li.mega-menu-item:hover > ul.mega-sub-menu,
|
235 |
-
&.mega-no-js li.mega-menu-item:focus > ul.mega-sub-menu,
|
236 |
-
li.mega-menu-item.mega-toggle-on > ul.mega-sub-menu,
|
237 |
-
li.mega-menu-item.mega-menu-megamenu.mega-toggle-on ul.mega-sub-menu {
|
238 |
-
margin-top: 0;
|
239 |
}
|
240 |
-
|
241 |
}
|
242 |
|
243 |
|
|
|
244 |
&.mega-no-js li.mega-menu-item:hover > ul.mega-sub-menu,
|
245 |
&.mega-no-js li.mega-menu-item:focus > ul.mega-sub-menu,
|
246 |
-
li.mega-menu-item.mega-toggle-on > ul.mega-sub-menu
|
247 |
-
li.mega-menu-item.mega-menu-megamenu.mega-toggle-on ul.mega-sub-menu {
|
248 |
visibility: visible;
|
249 |
}
|
250 |
|
@@ -258,7 +273,7 @@
|
|
258 |
}
|
259 |
|
260 |
li.mega-menu-item a.mega-menu-link:before {
|
261 |
-
display: inline-
|
262 |
font: inherit;
|
263 |
font-family: dashicons;
|
264 |
position: static;
|
@@ -376,7 +391,6 @@
|
|
376 |
vertical-align: baseline;
|
377 |
text-align: $menu_item_link_text_align;
|
378 |
width: auto;
|
379 |
-
display: block;
|
380 |
color: $menu_item_link_color;
|
381 |
text-transform: $menu_item_link_text_transform;
|
382 |
text-decoration: $menu_item_link_text_decoration;
|
@@ -440,9 +454,11 @@
|
|
440 |
}
|
441 |
|
442 |
@include desktop {
|
443 |
-
@for $
|
444 |
-
|
445 |
-
|
|
|
|
|
446 |
}
|
447 |
}
|
448 |
}
|
@@ -541,8 +557,10 @@
|
|
541 |
padding: $panel_widget_padding_top $panel_widget_padding_right $panel_widget_padding_bottom $panel_widget_padding_left;
|
542 |
vertical-align: top;
|
543 |
|
544 |
-
|
545 |
-
clear
|
|
|
|
|
546 |
}
|
547 |
|
548 |
// Widget titles
|
@@ -574,7 +592,6 @@
|
|
574 |
margin: $panel_second_level_margin_top $panel_second_level_margin_right $panel_second_level_margin_bottom $panel_second_level_margin_left;
|
575 |
padding: $panel_second_level_padding_top $panel_second_level_padding_right $panel_second_level_padding_bottom $panel_second_level_padding_left;
|
576 |
vertical-align: top;
|
577 |
-
display: block;
|
578 |
border-top: $panel_second_level_border_top solid $panel_second_level_border_color;
|
579 |
border-left: $panel_second_level_border_left solid $panel_second_level_border_color;
|
580 |
border-right: $panel_second_level_border_right solid $panel_second_level_border_color;
|
@@ -601,7 +618,6 @@
|
|
601 |
margin: 0;
|
602 |
padding: $panel_third_level_padding_top $panel_third_level_padding_right $panel_third_level_padding_bottom $panel_third_level_padding_left;
|
603 |
vertical-align: top;
|
604 |
-
display: block;
|
605 |
}
|
606 |
|
607 |
// Third level menu items hover
|
@@ -648,7 +664,6 @@
|
|
648 |
border: 0;
|
649 |
padding: $panel_third_level_padding_top $panel_third_level_padding_right $panel_third_level_padding_bottom $panel_third_level_padding_left;
|
650 |
vertical-align: top;
|
651 |
-
display: block;
|
652 |
}
|
653 |
|
654 |
> li.mega-menu-item > a.mega-menu-link:hover,
|
@@ -685,6 +700,21 @@
|
|
685 |
border: 0;
|
686 |
}
|
687 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
688 |
li.mega-menu-item {
|
689 |
|
690 |
@if $flyout_menu_item_divider == 'on' {
|
@@ -702,7 +732,6 @@
|
|
702 |
}
|
703 |
|
704 |
a.mega-menu-link {
|
705 |
-
display: block;
|
706 |
@include background($flyout_background_from, $flyout_background_to);
|
707 |
color: $flyout_link_color;
|
708 |
font-family: $flyout_link_family;
|
@@ -710,31 +739,52 @@
|
|
710 |
font-weight: $flyout_link_weight;
|
711 |
padding: $flyout_link_padding_top $flyout_link_padding_right $flyout_link_padding_bottom $flyout_link_padding_left;
|
712 |
line-height: $flyout_link_height;
|
|
|
713 |
text-decoration: $flyout_link_text_decoration;
|
714 |
text-transform: $flyout_link_text_transform;
|
715 |
vertical-align: baseline;
|
716 |
}
|
717 |
|
718 |
-
|
719 |
-
|
720 |
-
|
|
|
|
|
|
|
721 |
|
722 |
-
|
723 |
-
|
724 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
725 |
}
|
726 |
}
|
727 |
|
728 |
-
|
729 |
-
|
730 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
731 |
|
732 |
-
|
733 |
-
|
734 |
-
|
|
|
|
|
|
|
|
|
735 |
}
|
736 |
}
|
737 |
|
|
|
738 |
a.mega-menu-link:hover,
|
739 |
a.mega-menu-link:focus {
|
740 |
@include background($flyout_background_hover_from, $flyout_background_hover_to);
|
@@ -764,13 +814,11 @@
|
|
764 |
}
|
765 |
|
766 |
// Arrows
|
767 |
-
li.mega-menu-
|
768 |
-
li.mega-menu-flyout li.mega-menu-item-has-children,
|
769 |
-
> li.mega-menu-item-has-children {
|
770 |
|
771 |
> a.mega-menu-link:after {
|
772 |
content: $arrow_down;
|
773 |
-
display: inline-
|
774 |
font-family: dashicons;
|
775 |
margin: 0 0 0 6px;
|
776 |
vertical-align: top;
|
@@ -800,52 +848,41 @@
|
|
800 |
}
|
801 |
|
802 |
// Hide arrows
|
803 |
-
li.mega-menu-
|
804 |
-
li.mega-menu-
|
805 |
-
> li.mega-menu-item-has-children.mega-hide-arrow > a.mega-menu-link:after {
|
806 |
display: none;
|
807 |
}
|
808 |
|
809 |
-
|
810 |
-
|
811 |
-
|
812 |
-
|
813 |
-
|
814 |
-
|
815 |
-
@include mobile {
|
816 |
-
content: $arrow_down;
|
817 |
}
|
818 |
}
|
819 |
|
820 |
// Right aligned flyout menus
|
821 |
li.mega-menu-flyout.mega-align-bottom-right {
|
822 |
|
823 |
-
|
824 |
-
text-align: right;
|
825 |
|
826 |
-
|
827 |
-
|
828 |
}
|
829 |
-
}
|
830 |
-
|
831 |
-
li.mega-menu-item a.mega-menu-link:before {
|
832 |
-
float: right;
|
833 |
-
margin: 0 0 0 6px;
|
834 |
|
835 |
-
|
836 |
-
|
837 |
-
margin: 0 6px 0 0;
|
838 |
}
|
839 |
-
}
|
840 |
|
841 |
-
|
842 |
-
content: $arrow_left;
|
843 |
-
float: left;
|
844 |
-
margin: 0;
|
845 |
-
|
846 |
-
@include mobile {
|
847 |
-
content: $arrow_down;
|
848 |
float: right;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
849 |
}
|
850 |
}
|
851 |
|
@@ -903,32 +940,49 @@
|
|
903 |
@if $disable_mobile_toggle == on {
|
904 |
display: none;
|
905 |
} @else {
|
906 |
-
display:
|
907 |
}
|
908 |
}
|
909 |
|
910 |
-
.mega-toggle-
|
911 |
-
|
912 |
-
|
913 |
-
|
|
|
914 |
}
|
915 |
|
916 |
-
.mega-toggle-
|
917 |
-
|
918 |
-
|
|
|
|
|
|
|
|
|
919 |
}
|
920 |
|
921 |
-
.mega-toggle-
|
922 |
-
|
923 |
-
|
924 |
-
|
|
|
|
|
|
|
925 |
}
|
926 |
|
927 |
-
.mega-toggle-
|
928 |
-
|
929 |
-
|
|
|
|
|
|
|
|
|
930 |
}
|
931 |
|
|
|
|
|
|
|
|
|
|
|
932 |
|
933 |
@include mobile {
|
934 |
+ #{$menu} {
|
@@ -946,7 +1000,7 @@
|
|
946 |
}
|
947 |
|
948 |
li.mega-menu-item.mega-toggle-on > ul.mega-sub-menu,
|
949 |
-
li.mega-menu-
|
950 |
display: block;
|
951 |
}
|
952 |
}
|
82 |
padding: 0;
|
83 |
}
|
84 |
|
85 |
+
li.mega-menu-item.mega-has-description > a.mega-menu-link {
|
86 |
+
display: flex;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
|
88 |
.mega-description-group {
|
89 |
+
display: flex;
|
90 |
+
flex-direction: column;
|
91 |
+
flex-grow: 1;
|
92 |
+
justify-content: center;
|
93 |
+
width: 100%; /** IE11 **/
|
94 |
|
95 |
.mega-menu-title,
|
96 |
.mega-menu-description {
|
97 |
line-height: 1.5;
|
|
|
98 |
}
|
99 |
|
100 |
.mega-menu-description {
|
104 |
font-weight: normal;
|
105 |
}
|
106 |
}
|
107 |
+
|
108 |
+
&:before,
|
109 |
+
&:after {
|
110 |
+
align-items: center;
|
111 |
+
flex-grow: 0;
|
112 |
+
line-height: normal;
|
113 |
+
}
|
114 |
}
|
115 |
|
116 |
|
117 |
+
li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item.mega-icon-top > a.mega-menu-link,
|
118 |
li.mega-menu-item.mega-icon-top > a.mega-menu-link {
|
119 |
+
@include desktop {
|
120 |
+
display: flex;
|
121 |
+
line-height: inherit; /** IE11 **/
|
122 |
+
line-height: initial;
|
123 |
+
flex-wrap: wrap;
|
124 |
+
align-items: center;
|
125 |
+
align-content: center;
|
126 |
+
|
127 |
+
&:before {
|
128 |
+
justify-content: space-around;
|
129 |
+
flex-basis: 100%;
|
130 |
+
margin: 0 0 6px 0;
|
131 |
+
}
|
132 |
}
|
133 |
|
134 |
> span.mega-title-below {
|
135 |
+
flex-grow: 1;
|
136 |
}
|
137 |
}
|
138 |
|
139 |
+
li.mega-menu-megamenu li.mega-menu-item.mega-has-description > a.mega-menu-link {
|
140 |
+
&:before {
|
141 |
+
align-items: flex-start;
|
142 |
+
line-height: inherit;
|
|
|
|
|
|
|
|
|
|
|
|
|
143 |
}
|
144 |
}
|
145 |
|
146 |
+
a.mega-menu-link {
|
147 |
+
cursor: pointer;
|
148 |
+
|
149 |
+
@if $transitions == 'on' {
|
150 |
+
-webkit-transition: background 200ms linear, color 200ms linear;
|
151 |
+
-moz-transition: background 200ms linear, color 200ms linear;
|
152 |
+
-o-transition: background 200ms linear, color 200ms linear;
|
153 |
+
transition: background 200ms linear, color 200ms linear;
|
154 |
+
}
|
155 |
+
}
|
156 |
+
|
157 |
+
|
158 |
li.mega-menu-item.mega-icon-right > a.mega-menu-link {
|
159 |
&:before {
|
160 |
float: right;
|
161 |
margin: 0 0 0 6px;
|
162 |
+
order: 3;
|
163 |
}
|
164 |
}
|
165 |
|
166 |
+
> li.mega-menu-item.mega-animating > ul.mega-sub-menu {
|
167 |
pointer-events: none;
|
168 |
}
|
169 |
|
172 |
cursor: default;
|
173 |
}
|
174 |
|
175 |
+
li.mega-menu-item-has-children.mega-disable-link > a.mega-menu-link,
|
176 |
+
li.mega-menu-tabbed > ul.mega-sub-menu > li.mega-menu-item-has-children.mega-disable-link > a.mega-menu-link {
|
177 |
cursor: pointer;
|
178 |
}
|
179 |
|
195 |
display: block;
|
196 |
visibility: hidden;
|
197 |
opacity: 1;
|
198 |
+
pointer-events: auto;
|
199 |
}
|
200 |
|
201 |
+
@include desktop {
|
202 |
+
&[data-effect="fade"] {
|
203 |
|
204 |
+
li.mega-menu-item > ul.mega-sub-menu {
|
205 |
+
opacity: 0;
|
206 |
+
transition-duration: $effect_speed;
|
207 |
+
transition-timing-function: ease-in;
|
208 |
+
transition-property: opacity, visibility;
|
209 |
+
}
|
210 |
+
|
211 |
+
&.mega-no-js li.mega-menu-item:hover > ul.mega-sub-menu,
|
212 |
+
&.mega-no-js li.mega-menu-item:focus > ul.mega-sub-menu,
|
213 |
+
li.mega-menu-item.mega-toggle-on > ul.mega-sub-menu {
|
214 |
+
opacity: 1;
|
215 |
+
}
|
216 |
|
|
|
|
|
|
|
|
|
|
|
217 |
}
|
218 |
|
219 |
+
&[data-effect="fade_up"] {
|
220 |
|
221 |
+
> li.mega-menu-item.mega-menu-megamenu > ul.mega-sub-menu,
|
222 |
+
li.mega-menu-item.mega-menu-flyout ul.mega-sub-menu {
|
223 |
+
opacity: 0;
|
224 |
+
margin-top: 10px;
|
225 |
+
transition-duration: $effect_speed;
|
226 |
+
transition-timing-function: ease-in;
|
227 |
+
transition-property: opacity, margin-top, visibility;
|
228 |
+
}
|
229 |
|
230 |
+
&.mega-no-js li.mega-menu-item:hover > ul.mega-sub-menu,
|
231 |
+
&.mega-no-js li.mega-menu-item:focus > ul.mega-sub-menu,
|
232 |
+
li.mega-menu-item.mega-toggle-on > ul.mega-sub-menu {
|
233 |
+
opacity: 1;
|
234 |
+
margin-top: 0;
|
235 |
+
}
|
|
|
|
|
236 |
|
|
|
|
|
|
|
|
|
|
|
|
|
237 |
}
|
238 |
|
239 |
+
&[data-effect="slide_up"] {
|
240 |
|
241 |
+
> li.mega-menu-item.mega-menu-megamenu > ul.mega-sub-menu,
|
242 |
+
li.mega-menu-item.mega-menu-flyout ul.mega-sub-menu {
|
243 |
+
margin-top: 10px;
|
244 |
+
transition-duration: $effect_speed;
|
245 |
+
transition-timing-function: ease-in;
|
246 |
+
transition-property: margin-top, visibility;
|
247 |
+
}
|
248 |
|
249 |
+
&.mega-no-js li.mega-menu-item:hover > ul.mega-sub-menu,
|
250 |
+
&.mega-no-js li.mega-menu-item:focus > ul.mega-sub-menu,
|
251 |
+
li.mega-menu-item.mega-toggle-on > ul.mega-sub-menu {
|
252 |
+
margin-top: 0;
|
253 |
+
}
|
|
|
|
|
254 |
|
|
|
|
|
|
|
|
|
|
|
255 |
}
|
|
|
256 |
}
|
257 |
|
258 |
|
259 |
+
|
260 |
&.mega-no-js li.mega-menu-item:hover > ul.mega-sub-menu,
|
261 |
&.mega-no-js li.mega-menu-item:focus > ul.mega-sub-menu,
|
262 |
+
li.mega-menu-item.mega-toggle-on > ul.mega-sub-menu {
|
|
|
263 |
visibility: visible;
|
264 |
}
|
265 |
|
273 |
}
|
274 |
|
275 |
li.mega-menu-item a.mega-menu-link:before {
|
276 |
+
display: inline-flex;
|
277 |
font: inherit;
|
278 |
font-family: dashicons;
|
279 |
position: static;
|
391 |
vertical-align: baseline;
|
392 |
text-align: $menu_item_link_text_align;
|
393 |
width: auto;
|
|
|
394 |
color: $menu_item_link_color;
|
395 |
text-transform: $menu_item_link_text_transform;
|
396 |
text-decoration: $menu_item_link_text_decoration;
|
454 |
}
|
455 |
|
456 |
@include desktop {
|
457 |
+
@for $of from 1 through 12 {
|
458 |
+
@for $cols from 1 through $of {
|
459 |
+
> ul.mega-sub-menu > li.mega-menu-columns-#{$cols}-of-#{$of} {
|
460 |
+
width: (100% / $of) * $cols;
|
461 |
+
}
|
462 |
}
|
463 |
}
|
464 |
}
|
557 |
padding: $panel_widget_padding_top $panel_widget_padding_right $panel_widget_padding_bottom $panel_widget_padding_left;
|
558 |
vertical-align: top;
|
559 |
|
560 |
+
@include desktop {
|
561 |
+
&.mega-menu-clear {
|
562 |
+
clear: left;
|
563 |
+
}
|
564 |
}
|
565 |
|
566 |
// Widget titles
|
592 |
margin: $panel_second_level_margin_top $panel_second_level_margin_right $panel_second_level_margin_bottom $panel_second_level_margin_left;
|
593 |
padding: $panel_second_level_padding_top $panel_second_level_padding_right $panel_second_level_padding_bottom $panel_second_level_padding_left;
|
594 |
vertical-align: top;
|
|
|
595 |
border-top: $panel_second_level_border_top solid $panel_second_level_border_color;
|
596 |
border-left: $panel_second_level_border_left solid $panel_second_level_border_color;
|
597 |
border-right: $panel_second_level_border_right solid $panel_second_level_border_color;
|
618 |
margin: 0;
|
619 |
padding: $panel_third_level_padding_top $panel_third_level_padding_right $panel_third_level_padding_bottom $panel_third_level_padding_left;
|
620 |
vertical-align: top;
|
|
|
621 |
}
|
622 |
|
623 |
// Third level menu items hover
|
664 |
border: 0;
|
665 |
padding: $panel_third_level_padding_top $panel_third_level_padding_right $panel_third_level_padding_bottom $panel_third_level_padding_left;
|
666 |
vertical-align: top;
|
|
|
667 |
}
|
668 |
|
669 |
> li.mega-menu-item > a.mega-menu-link:hover,
|
700 |
border: 0;
|
701 |
}
|
702 |
|
703 |
+
@include desktop {
|
704 |
+
@if $flyout_border_radius_top_left != 0px {
|
705 |
+
border-top-left-radius: $flyout_border_radius_top_left;
|
706 |
+
}
|
707 |
+
@if $flyout_border_radius_top_right != 0px {
|
708 |
+
border-top-right-radius: $flyout_border_radius_top_right;
|
709 |
+
}
|
710 |
+
@if $flyout_border_radius_bottom_right != 0px {
|
711 |
+
border-bottom-right-radius: $flyout_border_radius_bottom_right;
|
712 |
+
}
|
713 |
+
@if $flyout_border_radius_bottom_left != 0px {
|
714 |
+
border-bottom-left-radius: $flyout_border_radius_bottom_left;
|
715 |
+
}
|
716 |
+
}
|
717 |
+
|
718 |
li.mega-menu-item {
|
719 |
|
720 |
@if $flyout_menu_item_divider == 'on' {
|
732 |
}
|
733 |
|
734 |
a.mega-menu-link {
|
|
|
735 |
@include background($flyout_background_from, $flyout_background_to);
|
736 |
color: $flyout_link_color;
|
737 |
font-family: $flyout_link_family;
|
739 |
font-weight: $flyout_link_weight;
|
740 |
padding: $flyout_link_padding_top $flyout_link_padding_right $flyout_link_padding_bottom $flyout_link_padding_left;
|
741 |
line-height: $flyout_link_height;
|
742 |
+
min-height: $flyout_link_height;
|
743 |
text-decoration: $flyout_link_text_decoration;
|
744 |
text-transform: $flyout_link_text_transform;
|
745 |
vertical-align: baseline;
|
746 |
}
|
747 |
|
748 |
+
@if $flyout_width == 'auto' {
|
749 |
+
@include desktop {
|
750 |
+
> a.mega-menu-link {
|
751 |
+
white-space: nowrap;
|
752 |
+
min-width: 150px;
|
753 |
+
}
|
754 |
|
755 |
+
&.mega-has-description {
|
756 |
+
> a.mega-menu-link {
|
757 |
+
white-space: normal;
|
758 |
+
|
759 |
+
> .mega-description-group > .mega-menu-title {
|
760 |
+
white-space: nowrap;
|
761 |
+
}
|
762 |
+
}
|
763 |
+
}
|
764 |
}
|
765 |
}
|
766 |
|
767 |
+
@include desktop {
|
768 |
+
&:first-child > a.mega-menu-link {
|
769 |
+
@if $flyout_border_radius_top_left != 0px {
|
770 |
+
border-top-left-radius: $flyout_border_radius_top_left;
|
771 |
+
}
|
772 |
+
@if $flyout_border_radius_top_right != 0px {
|
773 |
+
border-top-right-radius: $flyout_border_radius_top_right;
|
774 |
+
}
|
775 |
+
}
|
776 |
|
777 |
+
&:last-child > a.mega-menu-link {
|
778 |
+
@if $flyout_border_radius_bottom_right != 0px {
|
779 |
+
border-bottom-right-radius: $flyout_border_radius_bottom_right;
|
780 |
+
}
|
781 |
+
@if $flyout_border_radius_bottom_left != 0px {
|
782 |
+
border-bottom-left-radius: $flyout_border_radius_bottom_left;
|
783 |
+
}
|
784 |
}
|
785 |
}
|
786 |
|
787 |
+
|
788 |
a.mega-menu-link:hover,
|
789 |
a.mega-menu-link:focus {
|
790 |
@include background($flyout_background_hover_from, $flyout_background_hover_to);
|
814 |
}
|
815 |
|
816 |
// Arrows
|
817 |
+
li.mega-menu-item-has-children {
|
|
|
|
|
818 |
|
819 |
> a.mega-menu-link:after {
|
820 |
content: $arrow_down;
|
821 |
+
display: inline-flex;
|
822 |
font-family: dashicons;
|
823 |
margin: 0 0 0 6px;
|
824 |
vertical-align: top;
|
848 |
}
|
849 |
|
850 |
// Hide arrows
|
851 |
+
li.mega-menu-item-has-children.mega-hide-arrow > a.mega-menu-link:after,
|
852 |
+
li.mega-menu-megamenu li.mega-menu-item-has-children > a.mega-menu-link:after {
|
|
|
853 |
display: none;
|
854 |
}
|
855 |
|
856 |
+
// Icons for flyout menu
|
857 |
+
@include desktop {
|
858 |
+
li.mega-menu-item li.mega-menu-item-has-children > a.mega-menu-link:after {
|
859 |
+
content: $arrow_right;
|
860 |
+
float: right;
|
|
|
|
|
|
|
861 |
}
|
862 |
}
|
863 |
|
864 |
// Right aligned flyout menus
|
865 |
li.mega-menu-flyout.mega-align-bottom-right {
|
866 |
|
867 |
+
@include desktop {
|
|
|
868 |
|
869 |
+
li.mega-menu-item.mega-has-description > a.mega-menu-link {
|
870 |
+
flex-direction: row-reverse;
|
871 |
}
|
|
|
|
|
|
|
|
|
|
|
872 |
|
873 |
+
li.mega-menu-item a.mega-menu-link {
|
874 |
+
text-align: right;
|
|
|
875 |
}
|
|
|
876 |
|
877 |
+
li.mega-menu-item a.mega-menu-link:before {
|
|
|
|
|
|
|
|
|
|
|
|
|
878 |
float: right;
|
879 |
+
margin: 0 0 0 6px;
|
880 |
+
}
|
881 |
+
|
882 |
+
li.mega-menu-item-has-children > a.mega-menu-link:after {
|
883 |
+
content: $arrow_left;
|
884 |
+
float: left;
|
885 |
+
margin: 0;
|
886 |
}
|
887 |
}
|
888 |
|
940 |
@if $disable_mobile_toggle == on {
|
941 |
display: none;
|
942 |
} @else {
|
943 |
+
display: flex;
|
944 |
}
|
945 |
}
|
946 |
|
947 |
+
.mega-toggle-blocks-left,
|
948 |
+
.mega-toggle-blocks-center,
|
949 |
+
.mega-toggle-blocks-right {
|
950 |
+
display: flex;
|
951 |
+
min-width: -webkit-min-content;
|
952 |
}
|
953 |
|
954 |
+
.mega-toggle-blocks-left {
|
955 |
+
flex: 1;
|
956 |
+
justify-content: flex-start;
|
957 |
+
|
958 |
+
.mega-toggle-block {
|
959 |
+
margin-left: 6px;
|
960 |
+
}
|
961 |
}
|
962 |
|
963 |
+
.mega-toggle-blocks-center {
|
964 |
+
justify-content: center;
|
965 |
+
|
966 |
+
.mega-toggle-block {
|
967 |
+
margin-left: 3px;
|
968 |
+
margin-right: 3px;
|
969 |
+
}
|
970 |
}
|
971 |
|
972 |
+
.mega-toggle-blocks-right {
|
973 |
+
flex: 1;
|
974 |
+
justify-content: flex-end;
|
975 |
+
|
976 |
+
.mega-toggle-block {
|
977 |
+
margin-right: 6px;
|
978 |
+
}
|
979 |
}
|
980 |
|
981 |
+
.mega-toggle-block {
|
982 |
+
text-align: left;
|
983 |
+
display: inline-block;
|
984 |
+
height: 100%;
|
985 |
+
}
|
986 |
|
987 |
@include mobile {
|
988 |
+ #{$menu} {
|
1000 |
}
|
1001 |
|
1002 |
li.mega-menu-item.mega-toggle-on > ul.mega-sub-menu,
|
1003 |
+
li.mega-menu-megamenu.mega-menu-item.mega-toggle-on ul.mega-sub-menu {
|
1004 |
display: block;
|
1005 |
}
|
1006 |
}
|
css/reset.scss
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
#{$wrap} #{$menu} ul,
|
3 |
#{$wrap} #{$menu} li,
|
4 |
#{$wrap} #{$menu} p,
|
5 |
-
#{$wrap} #{$menu} img,
|
6 |
#{$wrap} #{$menu} div,
|
7 |
#{$wrap} #{$menu} a {
|
8 |
color: $panel_font_color;
|
2 |
#{$wrap} #{$menu} ul,
|
3 |
#{$wrap} #{$menu} li,
|
4 |
#{$wrap} #{$menu} p,
|
5 |
+
#{$wrap} #{$menu} img:not('.mega-menu-logo'),
|
6 |
#{$wrap} #{$menu} div,
|
7 |
#{$wrap} #{$menu} a {
|
8 |
color: $panel_font_color;
|
css/toggle-blocks.scss
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
#{$wrap} .mega-menu-toggle {
|
2 |
-
|
3 |
@each $item in $menu_toggle_blocks {
|
4 |
$id: nth($item, 1);
|
5 |
$align: nth($item, 2);
|
@@ -10,36 +9,62 @@
|
|
10 |
$text_color: nth($item, 7);
|
11 |
$icon_color: nth($item, 8);
|
12 |
$icon_position: nth($item, 9);
|
|
|
|
|
13 |
|
14 |
@if type-of($id) == number {
|
15 |
|
16 |
-
.mega-toggle-block-#{$id}
|
17 |
-
content: $closed_icon;
|
18 |
-
font-family: 'dashicons';
|
19 |
-
font-size: 24px;
|
20 |
-
margin: 0 0 0 5px;
|
21 |
-
color: $icon_color;
|
22 |
-
}
|
23 |
|
24 |
-
|
25 |
-
|
26 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
float: left;
|
32 |
|
33 |
-
|
34 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
}
|
36 |
}
|
37 |
|
38 |
-
&.mega-menu-open
|
39 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
}
|
41 |
}
|
42 |
-
|
43 |
}
|
44 |
|
45 |
@each $item in $spacer_toggle_blocks {
|
1 |
#{$wrap} .mega-menu-toggle {
|
|
|
2 |
@each $item in $menu_toggle_blocks {
|
3 |
$id: nth($item, 1);
|
4 |
$align: nth($item, 2);
|
9 |
$text_color: nth($item, 7);
|
10 |
$icon_color: nth($item, 8);
|
11 |
$icon_position: nth($item, 9);
|
12 |
+
$text_size: nth($item, 10);
|
13 |
+
$icon_size: nth($item, 11);
|
14 |
|
15 |
@if type-of($id) == number {
|
16 |
|
17 |
+
.mega-toggle-block-#{$id} {
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
|
19 |
+
&:before {
|
20 |
+
content: $closed_icon;
|
21 |
+
font-family: 'dashicons';
|
22 |
+
font-size: $icon_size;
|
23 |
+
color: $icon_color;
|
24 |
+
|
25 |
+
@if $icon_position == before {
|
26 |
+
margin: 0 5px 0 0;
|
27 |
+
} @else {
|
28 |
+
margin: 0 0 0 5px;
|
29 |
+
}
|
30 |
+
}
|
31 |
|
32 |
+
.mega-toggle-label {
|
33 |
+
color: $text_color;
|
34 |
+
font-size: $text_size;
|
|
|
35 |
|
36 |
+
@if $icon_position == before {
|
37 |
+
float: right;
|
38 |
+
} @else {
|
39 |
+
float: left;
|
40 |
+
}
|
41 |
+
|
42 |
+
.mega-toggle-label-open {
|
43 |
+
display: none;
|
44 |
+
}
|
45 |
+
|
46 |
+
.mega-toggle-label-closed {
|
47 |
+
display: inline;
|
48 |
+
}
|
49 |
}
|
50 |
}
|
51 |
|
52 |
+
&.mega-menu-open {
|
53 |
+
|
54 |
+
.mega-toggle-block-#{$id} {
|
55 |
+
&:before {
|
56 |
+
content: $open_icon;
|
57 |
+
}
|
58 |
+
|
59 |
+
.mega-toggle-label-open {
|
60 |
+
display: inline;
|
61 |
+
}
|
62 |
+
.mega-toggle-label-closed {
|
63 |
+
display: none;
|
64 |
+
}
|
65 |
+
}
|
66 |
}
|
67 |
}
|
|
|
68 |
}
|
69 |
|
70 |
@each $item in $spacer_toggle_blocks {
|
js/admin.js
CHANGED
@@ -36,9 +36,9 @@
|
|
36 |
initialWidth: "75%",
|
37 |
scrolling: true,
|
38 |
fixed: true,
|
39 |
-
top: "
|
40 |
-
initialHeight: "
|
41 |
-
maxHeight: "
|
42 |
});
|
43 |
|
44 |
$.ajax({
|
@@ -285,21 +285,32 @@
|
|
285 |
// Add Column
|
286 |
grid.on("click", ".mega-add-column", function() {
|
287 |
var button = $(this);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
288 |
var data = {
|
289 |
action: "mm_get_empty_grid_column",
|
290 |
_wpnonce: megamenu.nonce
|
291 |
};
|
292 |
|
293 |
$.post(ajaxurl, data, function(response) {
|
|
|
294 |
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
grid.trigger("show_alert", [button, megamenu.row_is_full]);
|
299 |
-
return;
|
300 |
}
|
301 |
|
302 |
-
var column = $(response.data);
|
303 |
button.parent().parent().append(column);
|
304 |
|
305 |
grid.trigger("make_columns_sortable");
|
@@ -310,21 +321,6 @@
|
|
310 |
});
|
311 |
});
|
312 |
|
313 |
-
grid.on("show_alert", function(event, context, message) {
|
314 |
-
|
315 |
-
$(".notice", grid).remove();
|
316 |
-
|
317 |
-
var dismiss = $("<button type='button' class='notice-dismiss'></button>").on('click', function() {
|
318 |
-
$(".notice", grid).remove();
|
319 |
-
});
|
320 |
-
|
321 |
-
var notice = $("<div>").addClass("notice notice-success is-dismissible").html("<p>" + message + "</p>").append(dismiss).hide();
|
322 |
-
|
323 |
-
$(context).closest(".mega-row").find(".mega-row-header").after(notice);
|
324 |
-
|
325 |
-
notice.slideDown().delay(8000).slideUp();
|
326 |
-
});
|
327 |
-
|
328 |
// Delete Column
|
329 |
grid.on("click", ".mega-col-description > .dashicons-trash", function() {
|
330 |
$(this).closest(".mega-col").remove();
|
@@ -495,11 +491,13 @@
|
|
495 |
|
496 |
// Contract Column
|
497 |
grid.on("click", ".mega-col-header .dashicons-admin-generic", function() {
|
|
|
498 |
$(this).closest(".mega-col").find(".mega-col-settings").slideToggle();
|
499 |
});
|
500 |
|
501 |
|
502 |
grid.on("click", ".mega-row-header .dashicons-admin-generic", function() {
|
|
|
503 |
$(this).closest(".mega-row").find(".mega-row-settings").slideToggle();
|
504 |
});
|
505 |
|
@@ -552,6 +550,12 @@
|
|
552 |
grid.trigger("save_grid_data");
|
553 |
});
|
554 |
|
|
|
|
|
|
|
|
|
|
|
|
|
555 |
|
556 |
grid.on("check_widget_inner_position", function(event, widget_inner) {
|
557 |
var widget_inner_right_edge = widget_inner.offset().left + widget_inner.width();
|
@@ -575,12 +579,14 @@
|
|
575 |
var row_hide_on_desktop = $(this).find("input[name='mega-hide-on-desktop']").val();
|
576 |
var row_hide_on_mobile = $(this).find("input[name='mega-hide-on-mobile']").val();
|
577 |
var row_class = $(this).find("input.mega-row-class").val();
|
|
|
578 |
|
579 |
rows[row_index] = {
|
580 |
"meta": {
|
581 |
"class": row_class,
|
582 |
"hide-on-desktop": row_hide_on_desktop,
|
583 |
-
"hide-on-mobile": row_hide_on_mobile
|
|
|
584 |
},
|
585 |
"columns": []
|
586 |
};
|
@@ -592,7 +598,7 @@
|
|
592 |
var col_span = $(this).attr("data-span");
|
593 |
var col_hide_on_desktop = $(this).find("input[name='mega-hide-on-desktop']").val();
|
594 |
var col_hide_on_mobile = $(this).find("input[name='mega-hide-on-mobile']").val();
|
595 |
-
var col_class = $(this).find("input.mega-column-class
|
596 |
|
597 |
rows[row_index]["columns"][col_index] = {
|
598 |
"meta": {
|
@@ -629,20 +635,52 @@
|
|
629 |
}, function(move_response) {
|
630 |
end_saving();
|
631 |
});
|
|
|
|
|
|
|
632 |
});
|
633 |
|
634 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
635 |
grid.on("update_row_column_count", function() {
|
|
|
|
|
|
|
636 |
$(".mega-row", grid).each(function() {
|
637 |
var row = $(this);
|
638 |
-
var
|
|
|
639 |
|
640 |
$(".mega-col", row).not(".ui-sortable-helper").each(function() {
|
641 |
var col = $(this);
|
642 |
-
|
643 |
});
|
644 |
|
645 |
-
row.attr("data-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
646 |
});
|
647 |
});
|
648 |
|
@@ -725,15 +763,7 @@
|
|
725 |
grid.trigger("update_row_column_count");
|
726 |
},
|
727 |
stop: function(event, ui) {
|
728 |
-
|
729 |
-
var col_total_cols = parseInt(ui.item.attr("data-span"), 10);
|
730 |
-
|
731 |
-
if (row_total_cols + col_total_cols > 12) {
|
732 |
-
grid.trigger("show_alert", [ui.item, megamenu.row_is_full]);
|
733 |
-
$(this).sortable("cancel");
|
734 |
-
} else {
|
735 |
-
grid.trigger("save_grid_data");
|
736 |
-
}
|
737 |
|
738 |
// clean up
|
739 |
ui.item.removeAttr("style");
|
36 |
initialWidth: "75%",
|
37 |
scrolling: true,
|
38 |
fixed: true,
|
39 |
+
top: "50px",
|
40 |
+
initialHeight: "552",
|
41 |
+
maxHeight: "570",
|
42 |
});
|
43 |
|
44 |
$.ajax({
|
285 |
// Add Column
|
286 |
grid.on("click", ".mega-add-column", function() {
|
287 |
var button = $(this);
|
288 |
+
var row = button.parent().parent();
|
289 |
+
var used_cols = parseInt(row.attr('data-used-cols'));
|
290 |
+
var available_cols = parseInt(row.attr('data-available-cols'));
|
291 |
+
|
292 |
+
row.find(".mega-row-is-full").hide();
|
293 |
+
|
294 |
+
if ( used_cols + 1 > available_cols ) {
|
295 |
+
row.find(".mega-row-is-full").slideDown().delay(2000).slideUp();
|
296 |
+
return;
|
297 |
+
}
|
298 |
+
|
299 |
+
var space_left_on_row = available_cols - used_cols;
|
300 |
+
|
301 |
var data = {
|
302 |
action: "mm_get_empty_grid_column",
|
303 |
_wpnonce: megamenu.nonce
|
304 |
};
|
305 |
|
306 |
$.post(ajaxurl, data, function(response) {
|
307 |
+
var column = $(response.data);
|
308 |
|
309 |
+
if (space_left_on_row < 3) {
|
310 |
+
column.attr('data-span', space_left_on_row);
|
311 |
+
column.find('.mega-num-cols').html(space_left_on_row);
|
|
|
|
|
312 |
}
|
313 |
|
|
|
314 |
button.parent().parent().append(column);
|
315 |
|
316 |
grid.trigger("make_columns_sortable");
|
321 |
});
|
322 |
});
|
323 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
324 |
// Delete Column
|
325 |
grid.on("click", ".mega-col-description > .dashicons-trash", function() {
|
326 |
$(this).closest(".mega-col").remove();
|
491 |
|
492 |
// Contract Column
|
493 |
grid.on("click", ".mega-col-header .dashicons-admin-generic", function() {
|
494 |
+
$(this).toggleClass('mega-settings-open');
|
495 |
$(this).closest(".mega-col").find(".mega-col-settings").slideToggle();
|
496 |
});
|
497 |
|
498 |
|
499 |
grid.on("click", ".mega-row-header .dashicons-admin-generic", function() {
|
500 |
+
$(this).toggleClass('mega-settings-open');
|
501 |
$(this).closest(".mega-row").find(".mega-row-settings").slideToggle();
|
502 |
});
|
503 |
|
550 |
grid.trigger("save_grid_data");
|
551 |
});
|
552 |
|
553 |
+
grid.on("click", ".mega-save-row-settings", function() {
|
554 |
+
grid.trigger("update_total_columns_in_row");
|
555 |
+
});
|
556 |
+
|
557 |
+
|
558 |
+
|
559 |
|
560 |
grid.on("check_widget_inner_position", function(event, widget_inner) {
|
561 |
var widget_inner_right_edge = widget_inner.offset().left + widget_inner.width();
|
579 |
var row_hide_on_desktop = $(this).find("input[name='mega-hide-on-desktop']").val();
|
580 |
var row_hide_on_mobile = $(this).find("input[name='mega-hide-on-mobile']").val();
|
581 |
var row_class = $(this).find("input.mega-row-class").val();
|
582 |
+
var row_columns = $(this).find("select.mega-row-columns").val();
|
583 |
|
584 |
rows[row_index] = {
|
585 |
"meta": {
|
586 |
"class": row_class,
|
587 |
"hide-on-desktop": row_hide_on_desktop,
|
588 |
+
"hide-on-mobile": row_hide_on_mobile,
|
589 |
+
"columns": row_columns
|
590 |
},
|
591 |
"columns": []
|
592 |
};
|
598 |
var col_span = $(this).attr("data-span");
|
599 |
var col_hide_on_desktop = $(this).find("input[name='mega-hide-on-desktop']").val();
|
600 |
var col_hide_on_mobile = $(this).find("input[name='mega-hide-on-mobile']").val();
|
601 |
+
var col_class = $(this).find("input.mega-column-class").val();
|
602 |
|
603 |
rows[row_index]["columns"][col_index] = {
|
604 |
"meta": {
|
635 |
}, function(move_response) {
|
636 |
end_saving();
|
637 |
});
|
638 |
+
|
639 |
+
grid.trigger("update_row_column_count");
|
640 |
+
|
641 |
});
|
642 |
|
643 |
|
644 |
+
grid.on("update_total_columns_in_row", function() {
|
645 |
+
$(".mega-row", grid).each(function() {
|
646 |
+
var row = $(this);
|
647 |
+
var total_cols = $(this).find("select.mega-row-columns").val();
|
648 |
+
$(this).attr('data-available-cols', total_cols);
|
649 |
+
|
650 |
+
$(".mega-col", row).not(".ui-sortable-helper").each(function() {
|
651 |
+
var col = $(this);
|
652 |
+
|
653 |
+
$(this).find('.mega-num-total-cols').html(total_cols);
|
654 |
+
});
|
655 |
+
});
|
656 |
+
});
|
657 |
+
|
658 |
grid.on("update_row_column_count", function() {
|
659 |
+
|
660 |
+
grid.trigger("update_total_columns_in_row");
|
661 |
+
|
662 |
$(".mega-row", grid).each(function() {
|
663 |
var row = $(this);
|
664 |
+
var used_cols = 0;
|
665 |
+
var available_cols = row.attr("data-available-cols");
|
666 |
|
667 |
$(".mega-col", row).not(".ui-sortable-helper").each(function() {
|
668 |
var col = $(this);
|
669 |
+
used_cols = used_cols + parseInt(col.attr("data-span"), 10);
|
670 |
});
|
671 |
|
672 |
+
row.attr("data-used-cols", used_cols);
|
673 |
+
|
674 |
+
row.removeAttr("data-too-many-cols");
|
675 |
+
row.removeAttr("data-row-is-full");
|
676 |
+
|
677 |
+
if ( used_cols > available_cols ) {
|
678 |
+
row.attr("data-too-many-cols", "true");
|
679 |
+
}
|
680 |
+
|
681 |
+
if ( used_cols == available_cols ) {
|
682 |
+
row.attr("data-row-is-full", "true");
|
683 |
+
}
|
684 |
});
|
685 |
});
|
686 |
|
763 |
grid.trigger("update_row_column_count");
|
764 |
},
|
765 |
stop: function(event, ui) {
|
766 |
+
grid.trigger("save_grid_data");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
767 |
|
768 |
// clean up
|
769 |
ui.item.removeAttr("style");
|
js/maxmegamenu.js
CHANGED
@@ -13,6 +13,8 @@
|
|
13 |
event: $menu.attr("data-event"),
|
14 |
effect: $menu.attr("data-effect"),
|
15 |
effect_speed: parseInt($menu.attr("data-effect-speed")),
|
|
|
|
|
16 |
panel_width: $menu.attr("data-panel-width"),
|
17 |
panel_inner_width: $menu.attr("data-panel-inner-width"),
|
18 |
second_click: $menu.attr("data-second-click"),
|
@@ -30,8 +32,13 @@
|
|
30 |
"li.mega-menu-flyout li.mega-menu-item-has-children", menu);
|
31 |
|
32 |
plugin.hidePanel = function(anchor, immediate) {
|
33 |
-
|
34 |
-
|
|
|
|
|
|
|
|
|
|
|
35 |
anchor.siblings(".mega-sub-menu").css("display", "");
|
36 |
anchor.parent().removeClass("mega-toggle-on").triggerHandler("close_panel");
|
37 |
});
|
@@ -90,6 +97,8 @@
|
|
90 |
};
|
91 |
|
92 |
plugin.showPanel = function(anchor) {
|
|
|
|
|
93 |
$(".mega-animating").removeClass("mega-animating");
|
94 |
|
95 |
if (plugin.isMobileView() && anchor.parent().hasClass("mega-hide-sub-menu-on-mobile")) {
|
@@ -107,16 +116,18 @@
|
|
107 |
plugin.calculateDynamicSubmenuWidths(anchor);
|
108 |
|
109 |
// apply jQuery transition (only if the effect is set to "slide", other transitions are CSS based)
|
110 |
-
if ( plugin.settings.effect == "slide" ) {
|
111 |
-
|
|
|
|
|
112 |
}
|
113 |
|
114 |
anchor.parent().addClass("mega-toggle-on").triggerHandler("open_panel");
|
115 |
};
|
116 |
|
117 |
plugin.calculateDynamicSubmenuWidths = function(anchor) {
|
118 |
-
// apply dynamic width and sub menu position
|
119 |
-
if (anchor.parent().hasClass("mega-menu-megamenu") && plugin.settings.panel_width && $(plugin.settings.panel_width).length > 0) {
|
120 |
if (plugin.isDesktopView()) {
|
121 |
var submenu_offset = $menu.offset();
|
122 |
var target_offset = $(plugin.settings.panel_width).offset();
|
@@ -134,7 +145,7 @@
|
|
134 |
}
|
135 |
|
136 |
// apply inner width to sub menu by adding padding to the left and right of the mega menu
|
137 |
-
if (anchor.parent().hasClass("mega-menu-megamenu") && plugin.settings.panel_inner_width && $(plugin.settings.panel_inner_width).length > 0) {
|
138 |
var target_width = 0;
|
139 |
|
140 |
if ($(plugin.settings.panel_inner_width).length) {
|
@@ -182,17 +193,23 @@
|
|
182 |
plugin.unbindHoverEvents();
|
183 |
plugin.unbindHoverIntentEvents();
|
184 |
}
|
185 |
-
|
186 |
-
|
187 |
-
|
|
|
|
|
|
|
|
|
|
|
188 |
}
|
|
|
189 |
if (dragging) {
|
190 |
return;
|
191 |
}
|
192 |
if (plugin.isMobileView() && $(this).parent().hasClass("mega-hide-sub-menu-on-mobile")) {
|
193 |
return; // allow all clicks on parent items when sub menu is hidden on mobile
|
194 |
}
|
195 |
-
if (plugin.settings.second_click === "go" || $(this).parent().hasClass("mega-click-click-go")) { // check for second click
|
196 |
if (!$(this).parent().hasClass("mega-toggle-on")) {
|
197 |
e.preventDefault();
|
198 |
plugin.showPanel($(this));
|
@@ -391,7 +408,10 @@
|
|
391 |
|
392 |
// mobile menu
|
393 |
$menu.siblings(".mega-menu-toggle").on("click", function(e) {
|
394 |
-
if ( $(e.target).is(".mega-menu-toggle-block, .mega-
|
|
|
|
|
|
|
395 |
$(this).toggleClass("mega-menu-open");
|
396 |
}
|
397 |
});
|
13 |
event: $menu.attr("data-event"),
|
14 |
effect: $menu.attr("data-effect"),
|
15 |
effect_speed: parseInt($menu.attr("data-effect-speed")),
|
16 |
+
effect_mobile: $menu.attr("data-effect-mobile"),
|
17 |
+
effect_speed_mobile: parseInt($menu.attr("data-effect-speed-mobile")),
|
18 |
panel_width: $menu.attr("data-panel-width"),
|
19 |
panel_inner_width: $menu.attr("data-panel-inner-width"),
|
20 |
second_click: $menu.attr("data-second-click"),
|
32 |
"li.mega-menu-flyout li.mega-menu-item-has-children", menu);
|
33 |
|
34 |
plugin.hidePanel = function(anchor, immediate) {
|
35 |
+
|
36 |
+
anchor.parent().triggerHandler("before_close_panel");
|
37 |
+
|
38 |
+
if (!immediate && plugin.settings.effect == 'slide' || plugin.isMobileView() && plugin.settings.effect_mobile == 'slide') {
|
39 |
+
var speed = plugin.isMobileView() ? plugin.settings.effect_speed_mobile : plugin.settings.effect_speed;
|
40 |
+
|
41 |
+
anchor.siblings(".mega-sub-menu").animate({'height':'hide', 'paddingTop':'hide', 'paddingBottom':'hide', 'minHeight':'hide'}, speed, function() {
|
42 |
anchor.siblings(".mega-sub-menu").css("display", "");
|
43 |
anchor.parent().removeClass("mega-toggle-on").triggerHandler("close_panel");
|
44 |
});
|
97 |
};
|
98 |
|
99 |
plugin.showPanel = function(anchor) {
|
100 |
+
anchor.parent().triggerHandler("before_open_panel");
|
101 |
+
|
102 |
$(".mega-animating").removeClass("mega-animating");
|
103 |
|
104 |
if (plugin.isMobileView() && anchor.parent().hasClass("mega-hide-sub-menu-on-mobile")) {
|
116 |
plugin.calculateDynamicSubmenuWidths(anchor);
|
117 |
|
118 |
// apply jQuery transition (only if the effect is set to "slide", other transitions are CSS based)
|
119 |
+
if ( plugin.settings.effect == "slide" || plugin.isMobileView() && plugin.settings.effect_mobile == 'slide') {
|
120 |
+
var speed = plugin.isMobileView() ? plugin.settings.effect_speed_mobile : plugin.settings.effect_speed;
|
121 |
+
|
122 |
+
anchor.siblings(".mega-sub-menu").css("display", "none").animate({'height':'show', 'paddingTop':'show', 'paddingBottom':'show', 'minHeight':'show'}, speed);
|
123 |
}
|
124 |
|
125 |
anchor.parent().addClass("mega-toggle-on").triggerHandler("open_panel");
|
126 |
};
|
127 |
|
128 |
plugin.calculateDynamicSubmenuWidths = function(anchor) {
|
129 |
+
// apply dynamic width and sub menu position (only to top level mega menus)
|
130 |
+
if (anchor.parent().hasClass("mega-menu-megamenu") && anchor.parent().parent().hasClass('mega-menu') && plugin.settings.panel_width && $(plugin.settings.panel_width).length > 0) {
|
131 |
if (plugin.isDesktopView()) {
|
132 |
var submenu_offset = $menu.offset();
|
133 |
var target_offset = $(plugin.settings.panel_width).offset();
|
145 |
}
|
146 |
|
147 |
// apply inner width to sub menu by adding padding to the left and right of the mega menu
|
148 |
+
if (anchor.parent().hasClass("mega-menu-megamenu") && anchor.parent().parent().hasClass('mega-menu') && plugin.settings.panel_inner_width && $(plugin.settings.panel_inner_width).length > 0) {
|
149 |
var target_width = 0;
|
150 |
|
151 |
if ($(plugin.settings.panel_inner_width).length) {
|
193 |
plugin.unbindHoverEvents();
|
194 |
plugin.unbindHoverIntentEvents();
|
195 |
}
|
196 |
+
|
197 |
+
if (plugin.isDesktopView() && $(this).parent().hasClass("mega-toggle-on") && $(this).parent().parent().parent().hasClass("mega-menu-tabbed") ) {
|
198 |
+
if (plugin.settings.second_click === "go") {
|
199 |
+
return;
|
200 |
+
} else {
|
201 |
+
e.preventDefault();
|
202 |
+
return;
|
203 |
+
}
|
204 |
}
|
205 |
+
|
206 |
if (dragging) {
|
207 |
return;
|
208 |
}
|
209 |
if (plugin.isMobileView() && $(this).parent().hasClass("mega-hide-sub-menu-on-mobile")) {
|
210 |
return; // allow all clicks on parent items when sub menu is hidden on mobile
|
211 |
}
|
212 |
+
if ((plugin.settings.second_click === "go" || $(this).parent().hasClass("mega-click-click-go")) && $(this).attr('href') !== undefined) { // check for second click
|
213 |
if (!$(this).parent().hasClass("mega-toggle-on")) {
|
214 |
e.preventDefault();
|
215 |
plugin.showPanel($(this));
|
408 |
|
409 |
// mobile menu
|
410 |
$menu.siblings(".mega-menu-toggle").on("click", function(e) {
|
411 |
+
if ( $(e.target).is(".mega-menu-toggle-block, .mega-toggle-blocks-left, .mega-toggle-blocks-center, .mega-toggle-blocks-right, .mega-toggle-label, .mega-toggle-label span") ) {
|
412 |
+
if (plugin.settings.effect_mobile == 'slide') {
|
413 |
+
$menu.slideToggle(plugin.settings.effect_speed_mobile);
|
414 |
+
}
|
415 |
$(this).toggleClass("mega-menu-open");
|
416 |
}
|
417 |
});
|
js/settings.js
CHANGED
@@ -197,6 +197,12 @@ jQuery(function ($) {
|
|
197 |
|
198 |
var value = $(this).val();
|
199 |
|
|
|
|
|
|
|
|
|
|
|
|
|
200 |
if ( ( validation == 'int' && Math.floor(value) != value )
|
201 |
|| ( validation == 'px' && ! ( value.substr(value.length - 2) == 'px' || value.substr(value.length - 2) == 'em' || value.substr(value.length - 2) == 'vh' || value.substr(value.length - 2) == 'vw' || value.substr(value.length - 2) == 'pt' || value.substr(value.length - 3) == 'rem' || value.substr(value.length - 1) == '%' ) && value != 0 )
|
202 |
|| ( validation == 'float' && ! $.isNumeric(value) ) ) {
|
197 |
|
198 |
var value = $(this).val();
|
199 |
|
200 |
+
if (label.hasClass('mega-flyout_width') && value == 'auto') {
|
201 |
+
label.removeClass('mega-error');
|
202 |
+
label.siblings( '.mega-validation-message-' + label.attr('class') ).hide();
|
203 |
+
return;
|
204 |
+
}
|
205 |
+
|
206 |
if ( ( validation == 'int' && Math.floor(value) != value )
|
207 |
|| ( validation == 'px' && ! ( value.substr(value.length - 2) == 'px' || value.substr(value.length - 2) == 'em' || value.substr(value.length - 2) == 'vh' || value.substr(value.length - 2) == 'vw' || value.substr(value.length - 2) == 'pt' || value.substr(value.length - 3) == 'rem' || value.substr(value.length - 1) == '%' ) && value != 0 )
|
208 |
|| ( validation == 'float' && ! $.isNumeric(value) ) ) {
|
megamenu.php
CHANGED
@@ -4,11 +4,11 @@
|
|
4 |
* Plugin Name: Max Mega Menu
|
5 |
* Plugin URI: https://www.megamenu.com
|
6 |
* Description: Easy to use drag & drop WordPress Mega Menu plugin. Create Mega Menus using Widgets. Responsive, retina & touch ready.
|
7 |
-
* Version: 2.4
|
8 |
* Author: Tom Hemsley
|
9 |
* Author URI: https://www.megamenu.com
|
10 |
* License: GPL-2.0+
|
11 |
-
* Copyright:
|
12 |
*/
|
13 |
|
14 |
if ( ! defined( 'ABSPATH' ) ) {
|
@@ -26,7 +26,7 @@ final class Mega_Menu {
|
|
26 |
/**
|
27 |
* @var string
|
28 |
*/
|
29 |
-
public $version = '2.4';
|
30 |
|
31 |
|
32 |
/**
|
@@ -510,6 +510,7 @@ final class Mega_Menu {
|
|
510 |
|
511 |
$items_to_move = array();
|
512 |
|
|
|
513 |
foreach ( $items as $item ) {
|
514 |
|
515 |
// populate standard (non-grid) sub menus
|
@@ -521,7 +522,7 @@ final class Mega_Menu {
|
|
521 |
|
522 |
$widget_position = 0;
|
523 |
$total_widgets_in_menu = count( $panel_widgets );
|
524 |
-
$next_order = $this->
|
525 |
|
526 |
if ( ! in_array( 'menu-item-has-children', $item->classes ) ) {
|
527 |
$item->classes[] = 'menu-item-has-children';
|
@@ -563,7 +564,7 @@ final class Mega_Menu {
|
|
563 |
|
564 |
$saved_grid = $widget_manager->get_grid_widgets_and_menu_items_for_menu_id( $item->ID, $args->menu->term_id );
|
565 |
|
566 |
-
$next_order = $this->
|
567 |
|
568 |
foreach ( $saved_grid as $row => $row_data ) {
|
569 |
|
@@ -614,8 +615,14 @@ final class Mega_Menu {
|
|
614 |
$classes = array_merge( $classes, array_unique( explode( " ", $col_data['meta']['class'] ) ) );
|
615 |
}
|
616 |
|
|
|
|
|
|
|
|
|
|
|
|
|
617 |
if ( isset( $col_data['meta']['span'] ) ) {
|
618 |
-
$classes[] = "menu-columns-{$col_data['meta']['span']}-of-
|
619 |
}
|
620 |
|
621 |
if ( isset( $col_data['meta']['hide-on-mobile'] ) && $col_data['meta']['hide-on-mobile'] == 'true' ) {
|
@@ -704,9 +711,11 @@ final class Mega_Menu {
|
|
704 |
|
705 |
|
706 |
/**
|
707 |
-
* Return the menu order of the next
|
708 |
* Eg, given A as the $item_id, the menu order of D will be returned
|
709 |
-
*
|
|
|
|
|
710 |
* - A
|
711 |
* --- B
|
712 |
* --- C
|
@@ -717,13 +726,13 @@ final class Mega_Menu {
|
|
717 |
* @param array $items
|
718 |
* @return int
|
719 |
*/
|
720 |
-
private function
|
721 |
|
722 |
-
$
|
723 |
|
724 |
foreach ( $items as $key => $item ) {
|
725 |
|
726 |
-
if ( $
|
727 |
continue;
|
728 |
}
|
729 |
|
@@ -731,20 +740,21 @@ final class Mega_Menu {
|
|
731 |
continue;
|
732 |
}
|
733 |
|
734 |
-
if ( $
|
735 |
return $item->menu_order;
|
736 |
}
|
737 |
|
738 |
if ( $item->ID == $item_id ) {
|
739 |
-
$
|
740 |
}
|
741 |
|
742 |
if ( isset( $item->menu_order ) ) {
|
743 |
$rolling_last_menu_order = $item->menu_order;
|
744 |
}
|
|
|
745 |
}
|
746 |
|
747 |
-
// there isn't a next
|
748 |
return $rolling_last_menu_order + 1000;
|
749 |
|
750 |
}
|
@@ -1054,6 +1064,8 @@ final class Mega_Menu {
|
|
1054 |
"data-event" => $event,
|
1055 |
"data-effect" => $effect,
|
1056 |
"data-effect-speed" => isset( $menu_settings['effect_speed'] ) ? $menu_settings['effect_speed'] : '200',
|
|
|
|
|
1057 |
"data-panel-width" => preg_match('/^\d/', $menu_theme['panel_width']) !== 1 ? $menu_theme['panel_width'] : '',
|
1058 |
"data-panel-inner-width" => substr( $menu_theme['panel_inner_width'], -1 ) !== '%' ? $menu_theme['panel_inner_width'] : '',
|
1059 |
"data-second-click" => $second_click,
|
4 |
* Plugin Name: Max Mega Menu
|
5 |
* Plugin URI: https://www.megamenu.com
|
6 |
* Description: Easy to use drag & drop WordPress Mega Menu plugin. Create Mega Menus using Widgets. Responsive, retina & touch ready.
|
7 |
+
* Version: 2.4.0.6
|
8 |
* Author: Tom Hemsley
|
9 |
* Author URI: https://www.megamenu.com
|
10 |
* License: GPL-2.0+
|
11 |
+
* Copyright: 2018 Tom Hemsley (https://www.megamenu.com)
|
12 |
*/
|
13 |
|
14 |
if ( ! defined( 'ABSPATH' ) ) {
|
26 |
/**
|
27 |
* @var string
|
28 |
*/
|
29 |
+
public $version = '2.4.0.6';
|
30 |
|
31 |
|
32 |
/**
|
510 |
|
511 |
$items_to_move = array();
|
512 |
|
513 |
+
|
514 |
foreach ( $items as $item ) {
|
515 |
|
516 |
// populate standard (non-grid) sub menus
|
522 |
|
523 |
$widget_position = 0;
|
524 |
$total_widgets_in_menu = count( $panel_widgets );
|
525 |
+
$next_order = $this->menu_order_of_next_sibling( $item->ID, $item->menu_item_parent, $items );
|
526 |
|
527 |
if ( ! in_array( 'menu-item-has-children', $item->classes ) ) {
|
528 |
$item->classes[] = 'menu-item-has-children';
|
564 |
|
565 |
$saved_grid = $widget_manager->get_grid_widgets_and_menu_items_for_menu_id( $item->ID, $args->menu->term_id );
|
566 |
|
567 |
+
$next_order = $this->menu_order_of_next_sibling( $item->ID, $item->menu_item_parent, $items) - 999;
|
568 |
|
569 |
foreach ( $saved_grid as $row => $row_data ) {
|
570 |
|
615 |
$classes = array_merge( $classes, array_unique( explode( " ", $col_data['meta']['class'] ) ) );
|
616 |
}
|
617 |
|
618 |
+
if ( isset( $row_data['meta']['columns'] ) ) {
|
619 |
+
$row_columns = $row_data['meta']['columns'];
|
620 |
+
} else {
|
621 |
+
$row_columns = 12;
|
622 |
+
}
|
623 |
+
|
624 |
if ( isset( $col_data['meta']['span'] ) ) {
|
625 |
+
$classes[] = "menu-columns-{$col_data['meta']['span']}-of-{$row_columns}";
|
626 |
}
|
627 |
|
628 |
if ( isset( $col_data['meta']['hide-on-mobile'] ) && $col_data['meta']['hide-on-mobile'] == 'true' ) {
|
711 |
|
712 |
|
713 |
/**
|
714 |
+
* Return the menu order of the next sibling menu item.
|
715 |
* Eg, given A as the $item_id, the menu order of D will be returned
|
716 |
+
* Eg, given B as the $item_id, the menu order of C will be returned
|
717 |
+
* Eg, given D as the $item_id, the menu order of D + 1000 will be returned
|
718 |
+
*
|
719 |
* - A
|
720 |
* --- B
|
721 |
* --- C
|
726 |
* @param array $items
|
727 |
* @return int
|
728 |
*/
|
729 |
+
private function menu_order_of_next_sibling( $item_id, $menu_item_parent, $items ) {
|
730 |
|
731 |
+
$get_order_of_next_item = false;
|
732 |
|
733 |
foreach ( $items as $key => $item ) {
|
734 |
|
735 |
+
if ( $menu_item_parent != $item->menu_item_parent ) {
|
736 |
continue;
|
737 |
}
|
738 |
|
740 |
continue;
|
741 |
}
|
742 |
|
743 |
+
if ( $get_order_of_next_item ) {
|
744 |
return $item->menu_order;
|
745 |
}
|
746 |
|
747 |
if ( $item->ID == $item_id ) {
|
748 |
+
$get_order_of_next_item = true;
|
749 |
}
|
750 |
|
751 |
if ( isset( $item->menu_order ) ) {
|
752 |
$rolling_last_menu_order = $item->menu_order;
|
753 |
}
|
754 |
+
|
755 |
}
|
756 |
|
757 |
+
// there isn't a next sibling
|
758 |
return $rolling_last_menu_order + 1000;
|
759 |
|
760 |
}
|
1064 |
"data-event" => $event,
|
1065 |
"data-effect" => $effect,
|
1066 |
"data-effect-speed" => isset( $menu_settings['effect_speed'] ) ? $menu_settings['effect_speed'] : '200',
|
1067 |
+
"data-effect-mobile" => isset( $menu_settings['effect_mobile'] ) ? $menu_settings['effect_mobile'] : 'disabled',
|
1068 |
+
"data-effect-speed-mobile" => isset( $menu_settings['effect_speed_mobile'] ) ? $menu_settings['effect_speed_mobile'] : '200',
|
1069 |
"data-panel-width" => preg_match('/^\d/', $menu_theme['panel_width']) !== 1 ? $menu_theme['panel_width'] : '',
|
1070 |
"data-panel-inner-width" => substr( $menu_theme['panel_inner_width'], -1 ) !== '%' ? $menu_theme['panel_inner_width'] : '',
|
1071 |
"data-second-click" => $second_click,
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: megamenu
|
|
3 |
Tags: menu, megamenu, mega menu, navigation, widget, dropdown menu, drag and drop, mobile, responsive, retina, theme editor, widget, shortcode, sidebar, icons, dashicons
|
4 |
Requires at least: 3.8
|
5 |
Tested up to: 4.9
|
6 |
-
Stable tag: 2.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -108,6 +108,31 @@ See https://www.megamenu.com for more screenshots
|
|
108 |
|
109 |
== Changelog ==
|
110 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
111 |
= 2.4 [17/10/17] =
|
112 |
|
113 |
* New (BETA): Grid Layout Option for Mega Menus
|
3 |
Tags: menu, megamenu, mega menu, navigation, widget, dropdown menu, drag and drop, mobile, responsive, retina, theme editor, widget, shortcode, sidebar, icons, dashicons
|
4 |
Requires at least: 3.8
|
5 |
Tested up to: 4.9
|
6 |
+
Stable tag: 2.4
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
108 |
|
109 |
== Changelog ==
|
110 |
|
111 |
+
= 2.4.0.5 (dev) =
|
112 |
+
|
113 |
+
* New feature: Slide animation option for mobile menu
|
114 |
+
* Improvement: Add font size and icon size options to mobile menu toggle block
|
115 |
+
* Improvement: Use Flexbox to accurately align centrally aligned menu toggle blocks
|
116 |
+
* Improvement: Allow flyout menus to have dynamic widths
|
117 |
+
* Improvement: Option to set the total number of columns per row in the grid layout
|
118 |
+
* Change: WCAG fix (don't use "content" pseudo element for mobile menu toggle block - requires manual clearing of CSS Cache under Mega Menu > Tools).
|
119 |
+
Important: If you have applied custom styling to the menu toggle block you may need to update it.
|
120 |
+
* Change: Tabs now respect 'second click behaviour' option
|
121 |
+
* Change: To avoid CSS conflicts, when a menu item has a custom icon, use "mega-custom-icon" class instead of "custom"
|
122 |
+
* Fix: Admin styling not loading correctly on Russian sites (and possible other languages)
|
123 |
+
* Fix: List (incorrectly) created PolyLang menu locations so that they can be deleted/renamed
|
124 |
+
* Fix: Menu Item Titles with <br> tags break mega menu settings panel
|
125 |
+
* Fix: "Save" button not accessible in menu item settings on smaller resolutions
|
126 |
+
* Fix: PHP Warnings
|
127 |
+
* Fix: Flyout menu border radius when shadow is applied
|
128 |
+
* Fix: Menu locations incorrectly listed as active in theme selector dropdown
|
129 |
+
* Fix: Mobile sub menu clicks not working in GeneratePress
|
130 |
+
* Fix: Compatibility fix for WP Disquz media uploader
|
131 |
+
* Fix: Items output incorrectly when using Grid Layout within tabbed sub menus
|
132 |
+
* Fix: Only apply dynamic sub menu widths to top level mega menus
|
133 |
+
* Fix: Use Flexbox to properly format flyout menu items with sub menus, icons and descriptions
|
134 |
+
|
135 |
+
|
136 |
= 2.4 [17/10/17] =
|
137 |
|
138 |
* New (BETA): Grid Layout Option for Mega Menus
|