Plugin Directory

Changeset 3203409


Ignore:
Timestamp:
12/06/2024 07:17:38 AM (12 months ago)
Author:
anantsites
Message:

Fixed styling related issues

Location:
anant-addons-for-elementor
Files:
198 added
13 edited

Legend:

Unmodified
Added
Removed
  • anant-addons-for-elementor/trunk/anant-addons-for-elementor.php

    r3196134 r3203409  
    55* Author: Anantaddons, Anantsites
    66* Author URI: https://anantaddons.com
    7 * Version: 1.0.8
     7* Version: 1.0.9
    88* License: GPLv3
    99* License URI: https://opensource.org/licenses/GPL-3.0
     
    3535                define( 'ANANT_PATH', plugin_dir_path( ANANT ) );
    3636                define( 'ANANT_URL', plugin_dir_url( ANANT ) );
    37                 define( 'ANANT_VERSION', '1.0.8' ); //Plugin Version
     37                define( 'ANANT_VERSION', '1.0.9' ); //Plugin Version
    3838                define( 'ANANT_MIN_ELEMENTOR_VERSION', '2.0.0' ); //MINIMUM ELEMENTOR Plugin Version
    3939                define( 'ANANT_MIN_PHP_VERSION', '5.4' ); //MINIMUM PHP Plugin Version
  • anant-addons-for-elementor/trunk/assets/css/admin.css

    r3166278 r3203409  
    384384.anant-admin-card-tittle-area {
    385385  padding: 10px 20px;
    386   background-color: #F9F9F9;
    387386  border-radius: 0.5rem;
    388   box-shadow: 0px 2px 4px rgba(3, 16, 54, 0.3);
    389387  margin-bottom: 1rem;
    390388  display: flex;
     
    411409}
    412410.anant-admin-card.bg-image{
    413   background: transparent;
     411  background: #FFFFFF;
    414412  background-repeat: no-repeat;
    415413}
  • anant-addons-for-elementor/trunk/assets/css/anant-woo-widgets.css

    r3196134 r3203409  
    238238.anant-product-item.first  a.anant_add_to_cart_btn:hover{
    239239  color: #fff;
     240  background-color: #FF1100;
    240241}
    241242.anant-product-item.first  a.anant_add_to_cart_btn:before,
     
    260261  transform: translate(50%, -50%);
    261262}
    262 .anant-product-item.first  a.anant_add_to_cart_btn:hover:before{
     263/* .anant-product-item.first  a.anant_add_to_cart_btn:hover:before{
    263264  animation: criss-cross-left 0.8s both;
    264265  animation-direction: alternate;
     
    267268  animation: criss-cross-right 0.8s both;
    268269  animation-direction: alternate;
    269 }
     270} */
    270271.popup-content .ant_product_title {
    271272  font-size: 28px;
     
    807808  z-index: -1;
    808809}
    809 .anant-product-item.six .anant_product_content a.anant_add_to_cart_btn:hover::before {
     810/* .anant-product-item.six .anant_product_content a.anant_add_to_cart_btn:hover::before {
    810811  left: 0;
    811 }
     812} */
    812813.anant-product-item.six .anant_product_content a.anant_add_to_cart_btn:hover{
    813814  color: #fff; 
     
    11031104  transition:  0.8s;
    11041105}
    1105 .ant-banner .more::before{
     1106/* .ant-banner .more::before{
    11061107  content: '';
    11071108  display: block;
    1108   background-color: #000000;
    11091109  position: absolute;
    11101110  bottom: -50%;
     
    11161116  border-radius: 50%;
    11171117  transition:  0.8s;
    1118 }
     1118} */
    11191119.ant-banner .more:hover{
    11201120  color: #fff;
     1121  background-color: #000000;
    11211122}
    11221123.ant-banner .more:hover::before{
  • anant-addons-for-elementor/trunk/assets/css/style.css

    r3196134 r3203409  
    36143614  color: #fff;
    36153615}
     3616.more.none span {
     3617  display: flex;
     3618  align-items: center;
     3619  gap: 5px;
     3620}
    36163621.ant-creative-button .more {
    36173622  padding: 14px 30px;
  • anant-addons-for-elementor/trunk/inc/admin.php

    r3178536 r3203409  
    301301                <div class="anant-admin-grid one">
    302302                    <!-- anant-admin-widget -->
    303                     <div class="anant-admin-card bg-image" data-item="pro" style="background-image: url('<?php echo esc_url(ANANT_URL .'assets/images/background-image.png'); ?>')">
     303                    <div class="anant-admin-card bg-image" data-item="pro" >
    304304                      <div class="anant-admin-card-tittle-area">
    305305                          <h3 class="tittle tag"><?php esc_html_e('Create professional websites without coding skills! Try WordPress templates with Elementor today. Collaborate remotely with full site import & cloud features.', 'anant-addons-for-elementor' ); ?></h3>
  • anant-addons-for-elementor/trunk/inc/widgets/ads-banner.php

    r3178536 r3203409  
    321321                ],
    322322                'devices'         => [ 'desktop', 'tablet', 'mobile' ],
    323                 'desktop_default' => [
     323                'default' => [
    324324                    'size' =>'' ,
    325325                    'unit' => '%',
     
    356356                ],
    357357                'devices'         => [ 'desktop', 'tablet', 'mobile' ],
    358                 'desktop_default' => [
     358                'default' => [
    359359                    'size' => '',
    360360                    'unit' => 'px',
     
    650650                'label'     => 'Background Color',
    651651                'selectors' => [
    652                     '{{WRAPPER}} .'.$this->ads_banner_btn.':before' => 'background-color: {{VALUE}};',
     652                    '{{WRAPPER}} .'.$this->ads_banner_btn.':hover' => 'background-color: {{VALUE}};',
    653653                ],
    654654            ]
  • anant-addons-for-elementor/trunk/inc/widgets/creative-button.php

    r3189221 r3203409  
    7777                'default'     => 'one',
    7878                'options'     => [
     79                    'none'      => esc_html__( 'None', 'anant-addons-for-elementor' ),
    7980                    'one'      => esc_html__( 'Winona', 'anant-addons-for-elementor' ),
    8081                    'two'      => esc_html__( 'Ujarak', 'anant-addons-for-elementor' ),
     
    9899                'content_classes' => 'anant-pro-notice',
    99100                'condition' => [
    100                     'template_style!' => ['one', 'two', 'three'],
     101                    'template_style!' => ['one', 'two', 'three', 'none'],
    101102                ],
    102103            ]
     
    169170                ],
    170171                'devices'         => [ 'desktop', 'tablet', 'mobile' ],
    171                 'desktop_default' => [
     172                'default' => [
    172173                    'size' => '',
    173174                    'unit' => 'px',
     
    412413                ],
    413414                'devices'         => [ 'desktop', 'tablet', 'mobile' ],
    414                 'desktop_default' => [
     415                'default' => [
    415416                    'size' => '',
    416417                    'unit' => 'px',
     
    427428                    '{{WRAPPER}} .'.$this->button_class.' i' => 'font-size: {{SIZE}}{{UNIT}};',
    428429                    '{{WRAPPER}} .'.$this->button_class.' svg' => 'width: {{SIZE}}{{UNIT}}; height: {{SIZE}}{{UNIT}};'
     430                ],
     431            ]
     432        );
     433       
     434        $this->add_responsive_control(
     435            'creative_icon_rotation',
     436            [
     437                'label'           => esc_html__('Icon Rotate', 'anant-addons-for-elementor'),
     438                'type'            => Controls_Manager::SLIDER,
     439                'size_units'      => [ 'deg', '%' ],
     440                'range'           => [
     441                    'deg' => [
     442                        'min' => 0,
     443                        'max' => 360,
     444                    ],
     445                    '%' => [
     446                        'min' => 0,
     447                        'max' => 100,
     448                    ],
     449                ],
     450                'devices'         => [ 'desktop', 'tablet', 'mobile' ],
     451                'default' => [
     452                    'size' => '',
     453                    'unit' => 'deg',
     454                ],
     455                'tablet_default'  => [
     456                    'size' => '',
     457                    'unit' => 'deg',
     458                ],
     459                'mobile_default'  => [
     460                    'size' => '',
     461                    'unit' => 'deg',
     462                ],
     463                'selectors'       => [
     464                    '{{WRAPPER}} .'.$this->button_class.' i' =>  'transform: rotate({{SIZE}}{{UNIT}});',
     465                    '{{WRAPPER}} .'.$this->button_class.' svg' => 'transform: rotate({{SIZE}}{{UNIT}});',
    429466                ],
    430467            ]
     
    490527        if (in_array($template_style, ['one', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'ten'])) {
    491528            $template_style = 'one';
     529        } else {
     530            $template_style = 'none';
    492531        } ?>
    493532
  • anant-addons-for-elementor/trunk/inc/widgets/marquee-stripe.php

    r3196134 r3203409  
    518518        );
    519519
    520         $this->add_control(
    521             $slug.'_bg_color',
    522             [
    523                 'label'     => __( 'Background Color', 'anant-addons-for-elementor' ),
    524                 'type'      => Controls_Manager::COLOR,
    525                 'selectors' => [
    526                     '{{WRAPPER}} .anant-marquee-item .title' => 'background-color: {{VALUE}}',
    527                 ],
     520        $this->add_group_control(
     521            Group_Control_Background::get_type(),
     522            [
     523                'name'      => $slug.'_bg_color',
     524                'types'          => [ 'classic'],
     525                'exclude'        => [ 'image', 'gradient'  ],
     526                'fields_options' => [
     527                    'background' => [
     528                        'label' => esc_html__( 'Background', 'anant-addons-for-elementor' ),
     529                        'default' => 'classic',
     530                    ],
     531                ],
     532                'selector'  => '{{WRAPPER}} .anant-marquee-item .title',
    528533            ]
    529534        );
  • anant-addons-for-elementor/trunk/inc/widgets/woo/product-archive/product-archive-grid.php

    r3178536 r3203409  
    18431843                'selectors' => [
    18441844                    '{{WRAPPER}} .two .'.$this->product_btn.' a:hover, {{WRAPPER}} .three .'.$this->product_btn.' a:hover, {{WRAPPER}} .five .'.$this->product_btn.' a:hover, {{WRAPPER}} .six .'.$this->product_btn.' a:hover, {{WRAPPER}} .seven .'.$this->product_btn.' a:hover, {{WRAPPER}} .eight .'.$this->product_btn.' a:hover, {{WRAPPER}} .nine .'.$this->product_btn.' a:hover, {{WRAPPER}} .ten .'.$this->product_btn.' a:hover' => 'background-color: {{VALUE}}',
    1845                     '{{WRAPPER}} .'.$this->product_btn.' a:after' => 'background-color: {{VALUE}}',
    1846                     '{{WRAPPER}} .'.$this->product_btn.' a:before' => 'background-color: {{VALUE}}',
     1845                    '{{WRAPPER}} .'.$this->product_btn.' a:hover' => 'background-color: {{VALUE}}',
    18471846                ],
    18481847            ]
  • anant-addons-for-elementor/trunk/inc/widgets/woo/product-category-tab.php

    r3196134 r3203409  
    19481948            'type'      => Controls_Manager::COLOR,
    19491949            'selectors' => [
    1950                 '{{WRAPPER}} .'.$this->product_btn.' a:after' => 'background-color: {{VALUE}}',
    1951                 '{{WRAPPER}} .'.$this->product_btn.' a:before' => 'background-color: {{VALUE}}',
     1950                '{{WRAPPER}} .'.$this->product_btn.' a:hover' => 'background-color: {{VALUE}};',
    19521951            ],
    19531952        ]
  • anant-addons-for-elementor/trunk/inc/widgets/woo/product-grid-with-nav.php

    r3178536 r3203409  
    752752        );
    753753
     754        $this->add_responsive_control(
     755            'nav_result_count_margin',
     756            [
     757                'label'     => esc_html__('Margin', 'anant-addons-for-elementor'),
     758                'type' => Controls_Manager::DIMENSIONS,
     759                'size_units' => [ 'px', '%', 'em' ],
     760                'selectors' => [
     761                    '{{WRAPPER}} .woocommerce-result-count' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
     762                ],
     763            ]
     764        );
     765
    754766        $this->add_control(
    755767            'heading_shorting',
     
    871883                'size_units' => [ 'px', '%', 'em' ],
    872884                'selectors' => [
    873                     '{{WRAPPER}} .woocommerce-ordering .orderby' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
     885                    '{{WRAPPER}} .woocommerce-ordering' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
    874886                ],
    875887            ]
     
    940952                'selectors' => [
    941953                    '{{WRAPPER}} .'.$this->product_class => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
     954                ],
     955            ]
     956        );
     957       
     958        $this->add_responsive_control(
     959            $slug.'_margin',
     960            [
     961                'label'     => esc_html__('Margin', 'anant-addons-for-elementor'),
     962                'type' => Controls_Manager::DIMENSIONS,
     963                'size_units' => [ 'px', '%', 'em' ],
     964                'selectors' => [
     965                    '{{WRAPPER}} .'.$this->product_class => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
    942966                ],
    943967            ]
     
    19461970            'type'      => Controls_Manager::COLOR,
    19471971            'selectors' => [
    1948                 '{{WRAPPER}} .'.$this->product_btn.' a:after' => 'background-color: {{VALUE}}',
    1949                 '{{WRAPPER}} .'.$this->product_btn.' a:before' => 'background-color: {{VALUE}}',
     1972                '{{WRAPPER}} .'.$this->product_btn.' a:hover' => 'background-color: {{VALUE}}',
    19501973            ],
    19511974        ]
     
    21642187        );
    21652188
     2189        $this->add_responsive_control(
     2190            $slug.'_wrapper_margin',
     2191            [
     2192                'label'     => esc_html__('Wrapper Margin', 'anant-addons-for-elementor'),
     2193                'type' => Controls_Manager::DIMENSIONS,
     2194                'size_units' => [ 'px', '%', 'em' ],
     2195                'selectors' => [
     2196                    '{{WRAPPER}} .anant-navigation' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
     2197                ],
     2198            ]
     2199        );
     2200
    21662201        anant_box_shadow_control(
    21672202            $this,
  • anant-addons-for-elementor/trunk/inc/widgets/woo/product-grid.php

    r3166278 r3203409  
    18151815            'type'      => Controls_Manager::COLOR,
    18161816            'selectors' => [
    1817                 '{{WRAPPER}} .'.$this->product_btn.' a:after' => 'background-color: {{VALUE}}',
    1818                 '{{WRAPPER}} .'.$this->product_btn.' a:before' => 'background-color: {{VALUE}}',
     1817                '{{WRAPPER}} .'.$this->product_btn.' a:hover' => 'background-color: {{VALUE}}',
    18191818            ],
    18201819        ]
  • anant-addons-for-elementor/trunk/readme.txt

    r3196134 r3203409  
    55Requires PHP: 7.4
    66Tested up to: 6.6.2
    7 Stable tag: 1.0.8
    8 Version: 1.0.8
     7Stable tag: 1.0.9
     8Version: 1.0.9
    99License: GPLv3 or later
    1010License URI: https://opensource.org/licenses/GPL-3.0
     
    179179
    180180== Changelog ==
     181= 1.0.9 =
     182* Fixed styling related issues.
    181183= 1.0.8 =
    182184* Add guest user wishlist.
Note: See TracChangeset for help on using the changeset viewer.