Plugin Directory

Changeset 2390773


Ignore:
Timestamp:
09/30/2020 08:02:30 AM (6 years ago)
Author:
devbunch
Message:

woo & navigation

Location:
master-elements/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • master-elements/trunk/addons/widgets/navigation/navigation.php

    r2389542 r2390773  
    15751575        );
    15761576
    1577 
     1577        $this->add_control(
     1578            'master_navigation_sub_menu_text_color',
     1579            [
     1580                'label' => __('Dropdown Menu Text Color', 'masterelements'),
     1581                'type' => Controls_Manager::COLOR,
     1582                'selectors' => [
     1583                    '{{WRAPPER}} .master-submenu-panel > li > a' => 'color: {{VALUE}} !important',
     1584                ],
     1585            ]
     1586        );
     1587
     1588        $this->add_control(
     1589            'master_navigation_sub_menu_text_hover_color',
     1590            [
     1591                'label' => __('Dropdown Menu Text Hover Color', 'masterelements'),
     1592                'type' => Controls_Manager::COLOR,
     1593                'selectors' => [
     1594                    '{{WRAPPER}} .master-submenu-panel > li > a:hover' => 'color: {{VALUE}} !important',
     1595                ],
     1596            ]
     1597        );
    15781598
    15791599        $this->add_group_control(
     
    15851605                'name' => 'master_navigation_sub_menu_typography',
    15861606
    1587                 'label' => __('Typography', 'masterelements'),
     1607                'label' => __('Dropdown Menu Typography', 'masterelements'),
    15881608
    15891609                'scheme' => Scheme_Typography::TYPOGRAPHY_1,
     
    15971617
    15981618
     1619
    15991620        $this->add_control(
    16001621
     
    16231644            ]
    16241645
     1646        );
     1647        $this->add_responsive_control(
     1648            'master_navigation_drop_down_toggle_icon_margin',
     1649            [
     1650                'label' => __('Dropdown Icon Margin', 'masterelements'),
     1651                'type' => Controls_Manager::DIMENSIONS,
     1652                'size_units' => ['px', '%'],
     1653                'selectors' => [
     1654                    '{{WRAPPER}} .master-nav-menu ul.master-nav-menu-body li.menu-item-has-children:after' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}}',
     1655                ],
     1656            ]
    16251657        );
    16261658
  • master-elements/trunk/addons/widgets/woo-cart-total/woo-cart-total.php

    r2390207 r2390773  
    728728        );
    729729        $this->add_responsive_control(
     730            'me_cart_table_button_alignment',
     731            [
     732                'label' => __('Button Alignment', 'masterelements'),
     733                'type' => Controls_Manager::CHOOSE,
     734                'options' => [
     735                    'left' => [
     736                        'title' => __('Left', 'masterelements'),
     737                        'icon' => 'fa fa-align-left',
     738                    ],
     739                    'right' => [
     740                        'title' => __('Right', 'masterelements'),
     741                        'icon' => 'fa fa-align-right',
     742                    ],
     743                ],
     744                'prefix_class' => 'masterelements-product-loop-item-align-',
     745                'selectors' => [
     746                    '{{WRAPPER}} .wc-proceed-to-checkout .button.checkout-button' => 'float: {{VALUE}}',
     747                ],
     748            ]
     749        );
     750        $this->add_responsive_control(
    730751            'me_cart_table_titles_align',
    731752            [
     
    758779
    759780        $this->add_responsive_control(
     781            'me_cart_total_checkout_button_margin',
     782            [
     783                'label' => __('Margin', 'masterelements'),
     784                'type' => Controls_Manager::DIMENSIONS,
     785                'size_units' => ['px', 'em'],
     786                'selectors' => [
     787                    '{{WRAPPER}} .wc-proceed-to-checkout .button.checkout-button' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
     788                ],
     789            ]
     790        );
     791
     792        $this->add_responsive_control(
    760793            'me_cart_total_checkout_button_padding',
    761794            [
  • master-elements/trunk/addons/widgets/woo-checkout-payment/woo-checkout-payment.php

    r2390207 r2390773  
    214214        $this->end_controls_section();
    215215
     216        //Radio Button
     217        $this->start_controls_section(
     218            'me_checkout_payment_radio_button_style',
     219            array(
     220                'label' => __('Radio Button', 'masterelements'),
     221                'tab' => Controls_Manager::TAB_STYLE,
     222            )
     223        );
     224
     225        $this->add_responsive_control(
     226            'me_checkout_payment_radio_button_alignment',
     227            [
     228                'label' => __('Text Alignment', 'masterelements'),
     229                'type' => Controls_Manager::CHOOSE,
     230                'options' => [
     231                    'left' => [
     232                        'title' => __('Left', 'masterelements'),
     233                        'icon' => 'fa fa-align-left',
     234                    ],
     235                    'right' => [
     236                        'title' => __('Right', 'masterelements'),
     237                        'icon' => 'fa fa-align-right',
     238                    ],
     239                ],
     240                'prefix_class' => 'masterelements-product-loop-item-align-',
     241                'selectors' => [
     242                    '{{WRAPPER}} input[type="radio"], input[type="checkbox"] ' => 'float: {{VALUE}}',
     243                ],
     244            ]
     245        );
     246        $this->add_responsive_control(
     247            'me_checkout_payment_radio_button_margin',
     248            [
     249                'label' => __('Margin', 'masterelements'),
     250                'type' => Controls_Manager::DIMENSIONS,
     251                'size_units' => ['px', '%'],
     252                'selectors' => [
     253                    '{{WRAPPER}}  input[type="radio"], input[type="checkbox"]' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}} !important',
     254                ],
     255            ]
     256        );
     257
     258        $this->end_controls_section();
    216259        // Payment Content
    217260        $this->start_controls_section(
     
    291334        $this->end_controls_section();
    292335
     336        // Terms & Conditions Text
     337        $this->start_controls_section(
     338            'me_checkout_payment_terms_style',
     339            array(
     340                'label' => __('Terms & Conditions Text', 'masterelements'),
     341                'tab' => Controls_Manager::TAB_STYLE,
     342            )
     343        );
     344
     345        $this->start_controls_tabs('me_checkout_payment_terms_style_tabs');
     346
     347        $this->start_controls_tab(
     348            'me_checkout_payment_terms_style_normal_tab',
     349            [
     350                'label' => __('Normal', 'masterelements'),
     351            ]
     352        );
     353
     354        $this->add_control(
     355            'me_checkout_payment_terms_text_color',
     356            [
     357                'label' => __('Color', 'masterelements'),
     358                'type' => Controls_Manager::COLOR,
     359                'default' => '',
     360                'selectors' => [
     361                    '{{WRAPPER}} span.woocommerce-terms-and-conditions-checkbox-text' => 'color: {{VALUE}};',
     362                ],
     363            ]
     364        );
     365
     366        $this->add_control(
     367            'me_checkout_payment_terms_background_color',
     368            [
     369                'label' => __('Background Color', 'masterelements'),
     370                'type' => Controls_Manager::COLOR,
     371                'selectors' => [
     372                    '{{WRAPPER}}span.woocommerce-terms-and-conditions-checkbox-text' => 'background-color: {{VALUE}};',
     373                ],
     374            ]
     375        );
     376
     377        $this->add_group_control(
     378            Group_Control_Border::get_type(),
     379            [
     380                'name' => 'me_checkout_payment_terms_border',
     381                'label' => __('Border', 'masterelements'),
     382                'selector' => '{{WRAPPER}} span.woocommerce-terms-and-conditions-checkbox-text',
     383            ]
     384        );
     385
     386        $this->add_responsive_control(
     387            'me_checkout_payment_terms_border_radius',
     388            [
     389                'label' => __('Border Radius', 'masterelements'),
     390                'type' => Controls_Manager::DIMENSIONS,
     391                'size_units' => ['px', '%'],
     392                'selectors' => [
     393                    '{{WRAPPER}} span.woocommerce-terms-and-conditions-checkbox-text' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}}',
     394                ],
     395            ]
     396        );
     397
     398        $this->add_group_control(
     399            Group_Control_Typography::get_type(),
     400            [
     401                'name' => 'me_checkout_payment_terms_typography',
     402                'scheme' => Scheme_Typography::TYPOGRAPHY_4,
     403                'selector' => '{{WRAPPER}} aspan.woocommerce-terms-and-conditions-checkbox-text',
     404            ]
     405        );
     406
     407        $this->add_responsive_control(
     408            'me_checkout_payment_terms_text_alignment',
     409            [
     410                'label' => __('Text Alignment', 'masterelements'),
     411                'type' => Controls_Manager::CHOOSE,
     412                'options' => [
     413                    'left' => [
     414                        'title' => __('Left', 'masterelements'),
     415                        'icon' => 'fa fa-align-left',
     416                    ],
     417                    'center' => [
     418                        'title' => __('Center', 'masterelements'),
     419                        'icon' => 'fa fa-align-center',
     420                    ],
     421                    'right' => [
     422                        'title' => __('Right', 'masterelements'),
     423                        'icon' => 'fa fa-align-right',
     424                    ],
     425                    'justify' => [
     426                        'title' => __('Justified', 'masterelements'),
     427                        'icon' => 'fa fa-align-justify',
     428                    ],
     429                ],
     430                'prefix_class' => 'masterelements-product-loop-item-align-',
     431                'selectors' => [
     432                    '{{WRAPPER}} span.woocommerce-terms-and-conditions-checkbox-text' => 'text-align: {{VALUE}}',
     433                ],
     434            ]
     435        );
     436
     437        $this->add_responsive_control(
     438            'me_checkout_payment_terms_margin',
     439            [
     440                'label' => __('Margin', 'masterelements'),
     441                'type' => Controls_Manager::DIMENSIONS,
     442                'size_units' => ['px', '%'],
     443                'selectors' => [
     444                    '{{WRAPPER}} span.woocommerce-terms-and-conditions-checkbox-text' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}}',
     445                ],
     446            ]
     447        );
     448
     449        $this->add_responsive_control(
     450            'me_checkout_payment_terms_padding',
     451            [
     452                'label' => __('Padding', 'masterelements'),
     453                'type' => Controls_Manager::DIMENSIONS,
     454                'size_units' => ['px', '%'],
     455                'selectors' => [
     456                    '{{WRAPPER}} span.woocommerce-terms-and-conditions-checkbox-text' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}}',
     457                ],
     458            ]
     459        );
     460        $this->end_controls_tab();
     461        // Terms hover style
     462        $this->start_controls_tab(
     463            'me_checkout_payment_terms_style_hover_tab',
     464            [
     465                'label' => __('Hover', 'masterelements'),
     466            ]
     467        );
     468        $this->add_control(
     469            'me_checkout_payment_terms_hover_color',
     470            [
     471                'label' => __('Color', 'masterelements'),
     472                'type' => Controls_Manager::COLOR,
     473                'selectors' => [
     474                    '{{WRAPPER}}span.woocommerce-terms-and-conditions-checkbox-text:hover' => 'color: {{VALUE}};',
     475                ],
     476            ]
     477        );
     478
     479        $this->add_control(
     480            'me_checkout_payment_terms_hover_background_color',
     481            [
     482                'label' => __('Background Color', 'masterelements'),
     483                'type' => Controls_Manager::COLOR,
     484                'selectors' => [
     485                    '{{WRAPPER}}span.woocommerce-terms-and-conditions-checkbox-text:hover' => 'background-color: {{VALUE}};',
     486                ],
     487            ]
     488        );
     489
     490        $this->add_group_control(
     491            Group_Control_Border::get_type(),
     492            [
     493                'name' => 'me_checkout_payment_terms_hover_border',
     494                'label' => __('Border', 'masterelements'),
     495                'selector' => '{{WRAPPER}} span.woocommerce-terms-and-conditions-checkbox-text:hover',
     496            ]
     497        );
     498
     499        $this->end_controls_tabs();
     500        $this->end_controls_section();
    293501        // Payment Place Order Button
    294502        $this->start_controls_section(
  • master-elements/trunk/changelog.txt

    r2390207 r2390773  
     130/09/2020
     2
     3Version 6.8
     4
     5    [Fix] Woo & Navigation
     6
    1729/09/2020
    28
    39Version 6.7
    410
    5     [Fix] Woo-Archive Widgets
     11    [New] Woo-Archive Widgets
    612
    71328/09/2020
  • master-elements/trunk/masterelements.php

    r2390207 r2390773  
    1010 * Plugin URI: https://akdesigner.com/
    1111 * Author: TeamDevBunch
    12  * Version: 6.7
     12 * Version: 6.8
    1313 * Tested up to: 5.5
    1414 * Author URI: https://devbunch.com/
  • master-elements/trunk/readme.txt

    r2390207 r2390773  
    6464
    6565== Changelog ==
     66= 30/09/2020 Version 6.8 =
     67*  [Fix] Woo & Navigation
     68
    6669= 29/09/2020 Version 6.7 =
    6770*  [New] Woo-Archive Widgets
Note: See TracChangeset for help on using the changeset viewer.