Plugin Directory

Changeset 3318067


Ignore:
Timestamp:
06/26/2025 08:22:15 AM (7 months ago)
Author:
website366
Message:

#Nang cap 2.5

Location:
wpshare247-elementor-addons
Files:
4 added
5 edited

Legend:

Unmodified
Added
Removed
  • wpshare247-elementor-addons/trunk/assets/css/styles.css

    r3297135 r3318067  
    174174    display: block;
    175175}
     176
     177/* Vertical Mega Menu - Clean Version */
     178.wpshare247-vertical-mega-menu:not(.not-fixed) {
     179  position: absolute;
     180  z-index: 999999999;
     181}
     182
     183.wpshare247-vertical-mega-menu .menu {
     184  list-style: none;
     185  margin: 0;
     186  padding: 0;
     187  width: 220px;
     188  background: #fff;
     189  border: 1px solid #ddd;
     190  position: relative;
     191}
     192
     193.wpshare247-vertical-mega-menu .menu-title a {
     194  display: block;
     195  font-weight: bold;
     196  padding: 10px 15px;
     197  background: #f4f4f4;
     198  color: #333;
     199  text-decoration: none;
     200  width: 100%;
     201}
     202.wpshare247-vertical-mega-menu .menu-title a.mn-icon-right{
     203    display: inline-flex;
     204    align-items: center;
     205    justify-content: space-between;
     206    gap: 5px;
     207}
     208
     209.wpshare247-vertical-mega-menu .menu-item {
     210  position: relative;
     211}
     212
     213.wpshare247-vertical-mega-menu .menu-item > a {
     214  display: flex;
     215  justify-content: space-between;
     216  align-items: center;
     217  padding: 10px 15px;
     218  border-bottom: 1px solid #eee;
     219  background: #fff;
     220  text-decoration: none;
     221  color: #333;
     222  transition: background 0.2s;
     223  gap: 10px;
     224}
     225
     226.wpshare247-vertical-mega-menu .menu-item > a:hover {
     227  background: #f9f9f9;
     228}
     229
     230.wpshare247-vertical-mega-menu .menu-title i,
     231.wpshare247-vertical-mega-menu .menu-item i {
     232  font-size: 14px;
     233  margin-right: 8px;
     234  color: inherit;
     235}
     236
     237.wpshare247-vertical-mega-menu .menu-item-label {
     238  display: inline-block;
     239}
     240
     241.wpshare247-vertical-mega-menu .mega-arrow-icon {
     242  font-size: 12px;
     243  color: #888;
     244  margin-left: auto;
     245}
     246
     247/* Mega menu content hidden by default */
     248.wpshare247-vertical-mega-menu .mega-menu-content {
     249  position: absolute;
     250  top: 0;
     251  left: 100%;
     252  width: 400px;
     253  min-height: 100%;
     254  background: #fff;
     255  box-shadow: 0 0 10px rgba(0,0,0,0.1);
     256  z-index: 99999999999;
     257  padding: 0;
     258
     259  opacity: 0;
     260  visibility: hidden;
     261  transform: translateY(10px);
     262  transition: all 0.3s ease;
     263  pointer-events: none;
     264}
     265
     266/* Show on hover */
     267.wpshare247-vertical-mega-menu .menu-item:hover .mega-menu-content {
     268  opacity: 1;
     269  visibility: visible;
     270  pointer-events: auto;
     271}
     272
     273/* Hover effects */
     274.mega-menu-content.effect-fade {
     275  transform: translateY(0);
     276}
     277
     278.mega-menu-content.effect-slide {
     279  transform: translateY(10px);
     280}
     281
     282.mega-menu-content.effect-scale {
     283  transform: scale(0.95);
     284}
     285
     286.wpshare247-vertical-mega-menu .menu-item:hover .effect-slide {
     287  transform: translateY(0);
     288}
     289
     290.wpshare247-vertical-mega-menu .menu-item:hover .effect-scale {
     291  transform: scale(1);
     292}
     293
     294/* Toggle button for mobile */
     295.wpshare247-menu-toggle {
     296  display: none;
     297  background: #0073aa;
     298  color: #fff;
     299  padding: 10px 15px;
     300  border: none;
     301  width: 100%;
     302  text-align: left;
     303  font-size: 16px;
     304  cursor: pointer;
     305}
     306
     307.wpshare247-mb-header{ display:none; position:relative; }
     308
     309.wpshare247-mb-header .wpshare247-mb-header-mix {
     310  display: flex;
     311  align-items: center;   
     312  justify-content: center;
     313  height: 60px;           
     314}
     315
     316
     317/* Responsive */
     318@media (max-width: 767px) {
     319
     320
     321  .wpshare247-menu-toggle {
     322    display: block;
     323  }
     324
     325  .wpshare247-vertical-mega-menu.enable-mobile-custom.menu-open:not(.mobile-type-default) .wpshare247-mb-header{
     326    display: block;
     327  }
     328
     329  .wpshare247-vertical-mega-menu.enable-mobile-custom.menu-open:not(.mobile-type-default) .wpshare247-menu-toggle{
     330    display: none;
     331  }
     332
     333  .wpshare247-vertical-mega-menu .menu {
     334    display: none;
     335    position: static;
     336  }
     337
     338  .wpshare247-vertical-mega-menu .menu-title{
     339    display: none;
     340  }
     341
     342  .wpshare247-vertical-mega-menu.menu-open .menu {
     343    display: block;
     344  }
     345
     346  .wpshare247-vertical-mega-menu .menu-item {
     347    position: static !important;
     348  }
     349
     350  .wpshare247-vertical-mega-menu .mega-menu-content {
     351    position: static !important;
     352    width: 100% !important;
     353    transform: none !important;
     354    box-shadow: none;
     355    padding-left: 15px;
     356    opacity: 1 !important;
     357    visibility: visible !important;
     358    pointer-events: auto !important;
     359  }
     360
     361  .wpshare247-vertical-mega-menu.enable-mobile-custom{
     362    width: 100%;
     363  }
     364  .wpshare247-vertical-mega-menu.enable-mobile-custom .wpshare247-menu-toggle {
     365    display: block;
     366  }
     367
     368  .wpshare247-vertical-mega-menu.enable-mobile-custom .menu {
     369    display: none;
     370    position: static;
     371  }
     372
     373  .wpshare247-vertical-mega-menu.enable-mobile-custom.menu-open .menu {
     374    display: block;
     375    width: 100%;
     376  }
     377
     378  .wpshare247-vertical-mega-menu.enable-mobile-custom .menu-item {
     379    position: static !important;
     380  }
     381
     382  .wpshare247-vertical-mega-menu.enable-mobile-custom .mega-menu-content {
     383    position: static !important;
     384    width: 100% !important;
     385    transform: none !important;
     386    box-shadow: none;
     387    padding-left: 15px;
     388    opacity: 1 !important;
     389    visibility: visible !important;
     390    pointer-events: auto !important;
     391  }
     392
     393  /* Bỏ hiệu ứng khi có class effect-... */
     394  .wpshare247-vertical-mega-menu.enable-mobile-custom .mega-menu-content.effect-fade,
     395  .wpshare247-vertical-mega-menu.enable-mobile-custom .mega-menu-content.effect-slide,
     396  .wpshare247-vertical-mega-menu.enable-mobile-custom .mega-menu-content.effect-scale {
     397    transform: none !important;
     398  }
     399
     400  .wpshare247-vertical-mega-menu.enable-mobile-custom .menu-item:hover .mega-menu-content {
     401    transform: none !important;
     402  }
     403
     404  .wpshare247-vertical-mega-menu.enable-mobile-custom .mega-menu-content {
     405    display: none;
     406  }
     407
     408  .wpshare247-vertical-mega-menu.enable-mobile-custom .menu-item.show-submenu .mega-menu-content {
     409    display: block;
     410  }
     411
     412 
     413  .wpshare247-vertical-mega-menu.menu-open.mobile-type-slide-left .wpshare247-mobile-bg,
     414  .wpshare247-vertical-mega-menu.menu-open.mobile-type-slide-right .wpshare247-mobile-bg {
     415    position: fixed;
     416    inset: 0;
     417    background: rgba(0, 0, 0, 0.5);
     418    z-index: 999998;
     419  }
     420
     421  .wpshare247-vertical-mega-menu.menu-open:not(.mobile-type-default) .wpshare247-vertical-mega-content {
     422    position: fixed;
     423    top: 0;
     424    bottom: 0;
     425    width: 80%;
     426    background: #fff;
     427    z-index: 999999;
     428    transition: transform 0.3s ease;
     429    overflow-y: auto;
     430  }
     431
     432  .wpshare247-vertical-mega-menu.mobile-type-slide-left .wpshare247-vertical-mega-content {
     433    left: 0;
     434    transform: translateX(-100%);
     435  }
     436  .wpshare247-vertical-mega-menu.menu-open.mobile-type-slide-left .wpshare247-vertical-mega-content {
     437    transform: translateX(0);
     438  }
     439
     440  .wpshare247-vertical-mega-menu.mobile-type-slide-right .wpshare247-vertical-mega-content {
     441    right: 0;
     442    transform: translateX(100%);
     443  }
     444  .wpshare247-vertical-mega-menu.menu-open.mobile-type-slide-right .wpshare247-vertical-mega-content {
     445    transform: translateX(0);
     446  }
     447
     448  .wpshare247-vertical-mega-menu.menu-open:not(.mobile-type-default) .wpshare247-menu-close-btn {
     449    position: absolute;
     450    top: 50%;
     451    transform: translateY(-50%);
     452    right: 10px;
     453    font-size: 20px;
     454    background: none;
     455    border: none;
     456    color: #000;
     457    z-index: 1000000;
     458    padding: 10px;
     459    cursor: pointer;
     460  }
     461
     462}
  • wpshare247-elementor-addons/trunk/includes/plugin.php

    r3297038 r3318067  
    243243            'wpshare247_contact_form7',
    244244            'wpshare247_countdown',
    245             'wpshare247_product_single_price_widget'
     245            'wpshare247_product_single_price_widget',
     246            'wpshare247_vertical_mega_menu',
    246247        );
    247248
  • wpshare247-elementor-addons/trunk/includes/widgets/wpshare247_products_widget.php

    r2851642 r3318067  
    11531153
    11541154        if(!empty($category)){
    1155             $s_category = implode($category, ', ');
     1155            $s_category = implode(', ', $category);
    11561156            $woo_shortcode .= ' category="'.$s_category.'" ';
    11571157
  • wpshare247-elementor-addons/trunk/readme.txt

    r3297135 r3318067  
    22Contributors: wpshare247, website366
    33Donate link: https://paypal.me/auvuonle/5
    4 Tags: elementor, carousel, slider, blog, post, page, post type, product, category, list, addon, widget, contact form 7, countdown
     4Tags: elementor, widgets, custom post type, carousel, grid, mega menu, contact form 7, woocommerce, countdown, blog, vertical menu, responsive menu, advanced menu
    55Requires at least: 4.9
    6 Tested up to: 6.6.1
     6Tested up to: 6.6.8
    77Requires PHP: 7.0
    8 Stable tag: 2.4
     8Stable tag: 2.5
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1111 
    12 Widgets (Wpshare247 Addons) for Elementor. Wpshare247 Addons for Elementor plugin includes widgets and addons like Blog Post, Products, Post, Page and Custom Post Type Grid or Carousel, Countdown, Contact Form 7.
     12Widgets (Wpshare247 Addons) for Elementor. Wpshare247 Addons for Elementor plugin includes widgets and addons like Blog Post, Products, Post, Page and Custom Post Type Grid or Carousel, Countdown, Contact Form 7, Vertical Mega Menu.
    1313
    14 Cung cấp các Widget, Addon hỗ trợ Elementor. Có các dạng danh sách như List, Carousel, Slider, Countdown, Contact Form 7, WooCommerce.. được phát triển bởi WPSHARE247.COM
     14Cung cấp các Widget, Addon hỗ trợ Elementor. Có các dạng danh sách như List, Carousel, Slider, Countdown, Contact Form 7, WooCommerce, Menu Mega Dọc Ngang tương thích trên thiết bị di động. Được phát triển bởi WPSHARE247.COM
    1515
    1616== Description ==
    17 Widgets (Wpshare247 Addons) for Elementor. Wpshare247 Addons for Elementor plugin includes widgets and addons like Blog Post, Products, Post, Page and Custom Post Type Grid or Carousel, Countdown, Contact Form 7.
     17Widgets (Wpshare247 Addons) for Elementor. Wpshare247 Addons for Elementor plugin includes widgets and addons like Blog Post, Products, Post, Page and Custom Post Type Grid or Carousel, Countdown, Contact Form 7, Vertical Mega Menu.
    1818
    1919**Liên hệ - Contact Us**
     
    73735. screenshot-5.png
    7474
     756. screenshot-6.png
     76
     777. screenshot-7.png
     78
    7579== Changelog ==
    7680
     
    100104* Fix css: wpshare247-flex-wrap, display: flex;
    101105
     106= 2.5 =
     107* Add new widget: Vertical Mega Menu
     108* Fix: $s_category = implode(', ', $category);
    102109
    103110== Upgrade Notice ==
  • wpshare247-elementor-addons/trunk/wpshare247-elementor-addon.php

    r3297135 r3318067  
    33 * Plugin Name: WPSHARE247 Elementor Addons
    44 * Plugin URI: https://wpshare247.com/
    5  * Description: Widgets (Wpshare247 Addons) for Elementor. Wpshare247 Addons for Elementor plugin includes widgets and addons like Blog Post, Products, Post, Page and Custom Post Type Grid or Carousel, Countdown, Contact Form 7, WooCommerce Product Price.
    6  * Version: 2.4
     5 * Description: Widgets (Wpshare247 Addons) for Elementor. Wpshare247 Addons for Elementor plugin includes widgets and addons like Blog Post, Products, Post, Page and Custom Post Type Grid or Carousel, Countdown, Contact Form 7, WooCommerce Product Price, Vertical Mega Menu.
     6 * Version: 2.5
    77 * Author: Wpshare247.com
    88 * Author URI: https://wpshare247.com/chuyen-muc/elementor
     
    1111 * Requires at least: 4.9
    1212 * Requires PHP: 7.0
     13 * Tags: elementor, widgets, custom post type, carousel, grid, mega menu, contact form 7, woocommerce, countdown, blog, vertical menu, responsive menu, advanced menu
    1314 */
    1415
Note: See TracChangeset for help on using the changeset viewer.