Changeset 2390207
- Timestamp:
- 09/29/2020 10:51:19 AM (6 years ago)
- Location:
- master-elements/trunk
- Files:
-
- 7 edited
-
addons/widgets/woo-cart-table/woo-cart-table.php (modified) (3 diffs)
-
addons/widgets/woo-cart-total/woo-cart-total.php (modified) (3 diffs)
-
addons/widgets/woo-checkout-payment/woo-checkout-payment.php (modified) (5 diffs)
-
addons/widgets/woo-product-archive/woo-product-archive.php (modified) (3 diffs)
-
changelog.txt (modified) (1 diff)
-
masterelements.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
master-elements/trunk/addons/widgets/woo-cart-table/woo-cart-table.php
r2374396 r2390207 93 93 ); 94 94 95 $this->add_control( 96 'me_cart_table_titles_bg_color', 97 [ 98 'label' => __('Background Color', 'masterelements'), 99 'type' => Controls_Manager::COLOR, 100 'selectors' => [ 101 '{{WRAPPER}} .shop_table.cart th' => 'background-color: {{VALUE}}', 102 ], 103 ] 104 ); 95 105 96 106 $this->add_group_control( … … 847 857 848 858 ); 859 860 $this->add_control( 861 'me_cart_product_qty_bg_color', 862 [ 863 'label' => __('Background Color', 'masterelements'), 864 'type' => Controls_Manager::COLOR, 865 'selectors' => [ 866 '{{WRAPPER}} table.cart input, .woocommerce-cart table.cart input, .woocommerce-checkout table.cart input' => 'background-color: {{VALUE}}', 867 ], 868 ] 869 ); 870 849 871 850 872 … … 1160 1182 $this->end_controls_section(); 1161 1183 1162 1184 //Button and Input Section 1185 $this->start_controls_section( 1186 1187 'me_cart_button_section_style', 1188 1189 array( 1190 1191 'label' => __('Coupon Input and Button Section', 'masterelements'), 1192 1193 'tab' => Controls_Manager::TAB_STYLE, 1194 1195 ) 1196 1197 ); 1198 $this->add_responsive_control( 1199 'me_cart_button_section_padding', 1200 [ 1201 'label' => __('Padding', 'masterelements'), 1202 'type' => Controls_Manager::DIMENSIONS, 1203 'size_units' => ['px', '%'], 1204 'selectors' => [ 1205 '{{WRAPPER}} td.actions' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}}', 1206 ], 1207 ] 1208 ); 1209 1210 $this->add_group_control( 1211 Group_Control_Border::get_type(), 1212 [ 1213 'name' => 'me_cart_button_section_border', 1214 'label' => __('Border', 'masterelements'), 1215 'selector' => '{{WRAPPER}} td.actions', 1216 ] 1217 ); 1218 1219 1220 $this->end_controls_section(); 1163 1221 // Update cart 1164 1222 -
master-elements/trunk/addons/widgets/woo-cart-total/woo-cart-total.php
r2374396 r2390207 337 337 'size_units' => ['px', 'em', '%'], 338 338 'selectors' => [ 339 '{{WRAPPER}} {{WRAPPER}} .cart_totals .shop_table tr th, {{WRAPPER}} .cart_totals .shop_table tr td' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',339 '{{WRAPPER}} .cart_totals .shop_table tr td ' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', 340 340 ], 341 341 ] … … 423 423 ) 424 424 ); 425 426 $this->add_responsive_control( 427 'me_cart_total_table_heading_padding', 428 [ 429 'label' => __('Padding', 'masterelements'), 430 'type' => Controls_Manager::DIMENSIONS, 431 'size_units' => ['px', '%'], 432 'selectors' => [ 433 '{{WRAPPER}} .cart_totals .shop_table tr th' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}}', 434 ], 435 ] 436 ); 437 425 438 $this->end_controls_tab(); 426 439 … … 686 699 'label' => __('Button Border', 'masterelements'), 687 700 'selector' => '{{WRAPPER}} .wc-proceed-to-checkout .button.checkout-button', 701 ] 702 ); 703 $this->add_control( 704 'e_cart_total_checkout_button_width', 705 [ 706 'label' => __('Checkout Button Width', 'masterelements'), 707 'type' => Controls_Manager::SLIDER, 708 'size_units' => ['px', '%'], 709 'range' => [ 710 'px' => [ 711 'min' => 277, 712 'max' => 1000, 713 'step' => 1, 714 ], 715 '%' => [ 716 'min' => 0, 717 'max' => 200 718 ], 719 ], 720 //'default' => [ 721 // 'unit' => 'px', 722 // 'size' => 80, 723 // ], 724 'selectors' => [ 725 '{{WRAPPER}} .wc-proceed-to-checkout .button.checkout-button' => 'width: {{SIZE}}{{UNIT}};', 726 ], 727 ] 728 ); 729 $this->add_responsive_control( 730 'me_cart_table_titles_align', 731 [ 732 'label' => __('Checkout Text Alignment', 'masterelements'), 733 'type' => Controls_Manager::CHOOSE, 734 'options' => [ 735 'left' => [ 736 'title' => __('Left', 'masterelements'), 737 'icon' => 'fa fa-align-left', 738 ], 739 'center' => [ 740 'title' => __('Center', 'masterelements'), 741 'icon' => 'fa fa-align-center', 742 ], 743 'right' => [ 744 'title' => __('Right', 'masterelements'), 745 'icon' => 'fa fa-align-right', 746 ], 747 'justify' => [ 748 'title' => __('Justified', 'masterelements'), 749 'icon' => 'fa fa-align-justify', 750 ], 751 ], 752 'default' => 'left', 753 'selectors' => [ 754 '{{WRAPPER}} .wc-proceed-to-checkout .button.checkout-button' => 'text-align: {{VALUE}}', 755 ], 688 756 ] 689 757 ); -
master-elements/trunk/addons/widgets/woo-checkout-payment/woo-checkout-payment.php
r2374521 r2390207 47 47 // Payment 48 48 $this->start_controls_section( 49 'me_checkout_p ayment_style',50 array( 51 'label' => __('P ayment', 'masterelements'),49 'me_checkout_personal_data_style', 50 array( 51 'label' => __('Personal Data Text', 'masterelements'), 52 52 'tab' => Controls_Manager::TAB_STYLE, 53 53 ) … … 57 57 Group_Control_Typography::get_type(), 58 58 array( 59 'name' => 'me_checkout_p ayment_typography',59 'name' => 'me_checkout_personal_data_typography', 60 60 'label' => __('Typography', 'masterelements'), 61 61 'selector' => '{{WRAPPER}} #payment', … … 64 64 65 65 $this->add_control( 66 'me_checkout_p ayment_color',66 'me_checkout_personal_data_color', 67 67 [ 68 68 'label' => __('Color', 'masterelements'), … … 72 72 ], 73 73 ] 74 ); 75 76 $this->add_control( 77 78 'me_checkout_personal_data_bg_color', 79 80 [ 81 82 'label' => __('Background Color', 'masterelements'), 83 84 'type' => Controls_Manager::COLOR, 85 86 'selectors' => [ 87 88 '{{WRAPPER}} #payment' => 'background-color: {{VALUE}}', 89 90 ], 91 92 ] 93 74 94 ); 75 95 … … 320 340 ] 321 341 ); 322 342 $this->add_responsive_control( 343 'me_checkout_payment_place_order_alignment', 344 [ 345 'label' => __('Button Alignment', 'masterelements'), 346 'type' => Controls_Manager::CHOOSE, 347 'options' => [ 348 'left' => [ 349 'title' => __('Left', 'masterelements'), 350 'icon' => 'fa fa-align-left', 351 ], 352 'right' => [ 353 'title' => __('Right', 'masterelements'), 354 'icon' => 'fa fa-align-right', 355 ], 356 ], 357 'prefix_class' => 'masterelements-product-loop-item-align-', 358 'selectors' => [ 359 '{{WRAPPER}} #payment #place_order' => 'float: {{VALUE}}', 360 ], 361 ] 362 ); 363 $this->add_control( 364 'me_checkout_payment_place_order_button_width', 365 [ 366 'label' => __('Place Order Button Width', 'masterelements'), 367 'type' => Controls_Manager::SLIDER, 368 'size_units' => ['px', '%'], 369 'range' => [ 370 'px' => [ 371 'min' => 277, 372 'max' => 1000, 373 'step' => 1, 374 ], 375 '%' => [ 376 'min' => 0, 377 'max' => 200 378 ], 379 ], 380 //'default' => [ 381 // 'unit' => 'px', 382 // 'size' => 80, 383 // ], 384 'selectors' => [ 385 '{{WRAPPER}} #payment #place_order' => 'width: {{SIZE}}{{UNIT}};', 386 ], 387 ] 388 ); 389 $this->add_responsive_control( 390 'me_checkout_payment_place_order_button_align', 391 [ 392 'label' => __('Button Text Alignment', 'masterelements'), 393 'type' => Controls_Manager::CHOOSE, 394 'options' => [ 395 'left' => [ 396 'title' => __('Left', 'masterelements'), 397 'icon' => 'fa fa-align-left', 398 ], 399 'center' => [ 400 'title' => __('Center', 'masterelements'), 401 'icon' => 'fa fa-align-center', 402 ], 403 'right' => [ 404 'title' => __('Right', 'masterelements'), 405 'icon' => 'fa fa-align-right', 406 ], 407 'justify' => [ 408 'title' => __('Justified', 'masterelements'), 409 'icon' => 'fa fa-align-justify', 410 ], 411 ], 412 'default' => 'left', 413 'selectors' => [ 414 '{{WRAPPER}} #payment #place_order' => 'text-align: {{VALUE}}', 415 ], 416 ] 417 ); 323 418 $this->add_responsive_control( 324 419 'me_checkout_payment_place_order_padding', -
master-elements/trunk/addons/widgets/woo-product-archive/woo-product-archive.php
r2388317 r2390207 638 638 639 639 $this->add_responsive_control( 640 'me_cart_button_text_alignment', 641 [ 642 'label' => __('Text Alignment', 'masterelements'), 643 'type' => Controls_Manager::CHOOSE, 644 'options' => [ 645 'left' => [ 646 'title' => __('Left', 'masterelements'), 647 'icon' => 'fa fa-align-left', 648 ], 649 'center' => [ 650 'title' => __('Center', 'masterelements'), 651 'icon' => 'fa fa-align-center', 652 ], 653 'right' => [ 654 'title' => __('Right', 'masterelements'), 655 'icon' => 'fa fa-align-right', 656 ], 657 'justify' => [ 658 'title' => __('Justified', 'masterelements'), 659 'icon' => 'fa fa-align-justify', 660 ], 661 ], 662 'prefix_class' => 'masterelements-product-loop-item-align-', 663 'selectors' => [ 664 '{{WRAPPER}} .woocommerce ul.products li.product .button,{{WRAPPER}} .woocommerce .button' => 'text-align: {{VALUE}}', 665 ], 666 ] 667 ); 668 669 $this->add_responsive_control( 640 670 'me_cart_button_margin', 641 671 [ … … 711 741 $this->end_controls_section(); 712 742 743 // View Cart Button Style Section 744 $this->start_controls_section( 745 'me_product-viewcartbutton-section', 746 [ 747 'label' => esc_html__('View Cart Button', 'masterelements'), 748 'tab' => Controls_Manager::TAB_STYLE, 749 ] 750 ); 751 $this->start_controls_tabs('me_product_viewcartbutton_style_tabs'); 752 753 // Add to cart normal style 754 $this->start_controls_tab( 755 'me_product_viewcartbutton_style_normal_tab', 756 [ 757 'label' => __('Normal', 'masterelements'), 758 ] 759 ); 760 761 $this->add_control( 762 'me_view_cart_button_text_color', 763 [ 764 'label' => __('Color', 'masterelements'), 765 'type' => Controls_Manager::COLOR, 766 'default' => '', 767 'selectors' => [ 768 '{{WRAPPER}} a.added_to_cart.wc-forward' => 'color: {{VALUE}};', 769 ], 770 ] 771 ); 772 773 $this->add_control( 774 'me_view_cart_button_background_color', 775 [ 776 'label' => __('Background Color', 'masterelements'), 777 'type' => Controls_Manager::COLOR, 778 'selectors' => [ 779 '{{WRAPPER}} a.added_to_cart.wc-forward' => 'background-color: {{VALUE}};', 780 ], 781 ] 782 ); 783 784 $this->add_group_control( 785 Group_Control_Border::get_type(), 786 [ 787 'name' => 'me_view_cart_button_border', 788 'label' => __('Border', 'masterelements'), 789 'selector' => '{{WRAPPER}} a.added_to_cart.wc-forward', 790 ] 791 ); 792 793 $this->add_responsive_control( 794 'me_views_cart_button_border_radius', 795 [ 796 'label' => __('Border Radius', 'masterelements'), 797 'type' => Controls_Manager::DIMENSIONS, 798 'size_units' => ['px', '%'], 799 'selectors' => [ 800 '{{WRAPPER}}a.added_to_cart.wc-forward' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}}', 801 ], 802 ] 803 ); 804 805 $this->add_group_control( 806 Group_Control_Typography::get_type(), 807 [ 808 'name' => 'me_view_cart_button_typography', 809 'scheme' => Scheme_Typography::TYPOGRAPHY_4, 810 'selector' => '{{WRAPPER}} a.added_to_cart.wc-forward', 811 ] 812 ); 813 814 $this->add_responsive_control( 815 'me_view_cart_button_text_alignment', 816 [ 817 'label' => __('Text Alignment', 'masterelements'), 818 'type' => Controls_Manager::CHOOSE, 819 'options' => [ 820 'left' => [ 821 'title' => __('Left', 'masterelements'), 822 'icon' => 'fa fa-align-left', 823 ], 824 'center' => [ 825 'title' => __('Center', 'masterelements'), 826 'icon' => 'fa fa-align-center', 827 ], 828 'right' => [ 829 'title' => __('Right', 'masterelements'), 830 'icon' => 'fa fa-align-right', 831 ], 832 'justify' => [ 833 'title' => __('Justified', 'masterelements'), 834 'icon' => 'fa fa-align-justify', 835 ], 836 ], 837 'prefix_class' => 'masterelements-product-loop-item-align-', 838 'selectors' => [ 839 '{{WRAPPER}} a.added_to_cart.wc-forward' => 'text-align: {{VALUE}}', 840 ], 841 ] 842 ); 843 844 $this->add_responsive_control( 845 'me_view_cart_button_margin', 846 [ 847 'label' => __('Margin', 'masterelements'), 848 'type' => Controls_Manager::DIMENSIONS, 849 'size_units' => ['px', '%'], 850 'selectors' => [ 851 '{{WRAPPER}} a.added_to_cart.wc-forward' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}}', 852 ], 853 ] 854 ); 855 856 $this->add_responsive_control( 857 'me_view_cart_button_padding', 858 [ 859 'label' => __('Padding', 'masterelements'), 860 'type' => Controls_Manager::DIMENSIONS, 861 'size_units' => ['px', '%'], 862 'selectors' => [ 863 '{{WRAPPER}} a.added_to_cart.wc-forward' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}}', 864 ], 865 ] 866 ); 867 868 $this->end_controls_tab(); 869 870 // Add to cart hover style 871 $this->start_controls_tab( 872 'me_product_viewcartbutton_style_hover_tab', 873 [ 874 'label' => __('Hover', 'masterelements'), 875 ] 876 ); 877 $this->add_control( 878 'me_view_cart_button_hover_color', 879 [ 880 'label' => __('Color', 'masterelements'), 881 'type' => Controls_Manager::COLOR, 882 'selectors' => [ 883 '{{WRAPPER}} a.added_to_cart.wc-forward:hover' => 'color: {{VALUE}};', 884 ], 885 ] 886 ); 887 888 $this->add_control( 889 'me_view_cart_button_hover_background_color', 890 [ 891 'label' => __('Background Color', 'masterelements'), 892 'type' => Controls_Manager::COLOR, 893 'selectors' => [ 894 '{{WRAPPER}} a.added_to_cart.wc-forward:hover' => 'background-color: {{VALUE}};', 895 ], 896 ] 897 ); 898 899 $this->add_group_control( 900 Group_Control_Border::get_type(), 901 [ 902 'name' => 'me_view_cart_button_hover_border', 903 'label' => __('Border', 'masterelements'), 904 'selector' => '{{WRAPPER}} a.added_to_cart.wc-forward:hover', 905 ] 906 ); 907 908 $this->end_controls_tab(); 909 910 $this->end_controls_tabs(); 911 912 $this->end_controls_section(); 913 713 914 714 915 // Pagination Style Section … … 818 1019 819 1020 $this->end_controls_section(); 1021 1022 1023 //Product Count 1024 $this->start_controls_section( 1025 'me-product-count-section', 1026 [ 1027 'label' => esc_html__('Product Count', 'masterelements'), 1028 'tab' => Controls_Manager::TAB_STYLE, 1029 'condition' => [ 1030 'me_show_result_count' => 'yes', 1031 ], 1032 ] 1033 ); 1034 $this->start_controls_tabs('me_product_count_style_tabs'); 1035 1036 // Product Count normal style 1037 $this->start_controls_tab( 1038 'me_product_count_style_normal_tab', 1039 [ 1040 'label' => __('Normal', 'masterelements'), 1041 ] 1042 ); 1043 1044 $this->add_control( 1045 'me_product_count_text_color', 1046 [ 1047 'label' => __('Color', 'masterelements'), 1048 'type' => Controls_Manager::COLOR, 1049 'selectors' => [ 1050 '{{WRAPPER}} p.woocommerce-result-count' => 'color: {{VALUE}}', 1051 ], 1052 ] 1053 ); 1054 $this->add_control( 1055 'me_product_count_text_bg_color', 1056 [ 1057 'label' => __('Background Color', 'masterelements'), 1058 'type' => Controls_Manager::COLOR, 1059 'selectors' => [ 1060 '{{WRAPPER}} p.woocommerce-result-count' => 'background-color: {{VALUE}}', 1061 ], 1062 ] 1063 ); 1064 1065 $this->add_group_control( 1066 Group_Control_Typography::get_type(), 1067 [ 1068 'name' => 'me_product_count_text_typography', 1069 'selector' => '{{WRAPPER}} p.woocommerce-result-count', 1070 ] 1071 ); 1072 1073 $this->add_group_control( 1074 Group_Control_Border::get_type(), 1075 [ 1076 'name' => 'me_product_count_text_border', 1077 'label' => __('Border', 'masterelements'), 1078 'selector' => '{{WRAPPER}} p.woocommerce-result-count', 1079 ] 1080 ); 1081 1082 $this->add_responsive_control( 1083 'me_product_count_border_radius', 1084 [ 1085 'label' => __('Border Radius', 'masterelements'), 1086 'type' => Controls_Manager::DIMENSIONS, 1087 'size_units' => ['px', '%'], 1088 'selectors' => [ 1089 '{{WRAPPER}} p.woocommerce-result-count' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}}', 1090 ], 1091 ] 1092 ); 1093 1094 $this->add_group_control( 1095 Group_Control_Box_Shadow::get_type(), 1096 [ 1097 'name' => 'me_product_count_box_shadow', 1098 'label' => __('Box Shadow', 'masterelements'), 1099 'selector' => '{{WRAPPER}} p.woocommerce-result-count', 1100 ] 1101 ); 1102 1103 $this->add_responsive_control( 1104 'me_product_count_margin', 1105 [ 1106 'label' => __('Margin', 'masterelements'), 1107 'type' => Controls_Manager::DIMENSIONS, 1108 'size_units' => ['px', '%'], 1109 'selectors' => [ 1110 '{{WRAPPER}} p.woocommerce-result-count' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}}', 1111 ], 1112 ] 1113 ); 1114 $this->add_responsive_control( 1115 'me_product_count_padding', 1116 [ 1117 'label' => __('Padding', 'masterelements'), 1118 'type' => Controls_Manager::DIMENSIONS, 1119 'size_units' => ['px', '%'], 1120 'selectors' => [ 1121 '{{WRAPPER}} p.woocommerce-result-count' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}}', 1122 ], 1123 ] 1124 ); 1125 1126 1127 1128 $this->end_controls_tab(); 1129 1130 //Product Count Hover 1131 $this->start_controls_tab( 1132 'me_product_count_style_hover_tab', 1133 [ 1134 'label' => __('Hover', 'masterelements'), 1135 ] 1136 ); 1137 1138 $this->add_control( 1139 'me_product_count_text_color_hover', 1140 [ 1141 'label' => __('Color', 'masterelements'), 1142 'type' => Controls_Manager::COLOR, 1143 'selectors' => [ 1144 '{{WRAPPER}} p.woocommerce-result-count:hover' => 'color: {{VALUE}}', 1145 ], 1146 ] 1147 ); 1148 $this->add_control( 1149 'me_product_count_text_bg_color_hover', 1150 [ 1151 'label' => __('Background Color', 'masterelements'), 1152 'type' => Controls_Manager::COLOR, 1153 'selectors' => [ 1154 '{{WRAPPER}} p.woocommerce-result-count:hover' => 'background-color: {{VALUE}}', 1155 ], 1156 ] 1157 ); 1158 1159 $this->add_group_control( 1160 Group_Control_Typography::get_type(), 1161 [ 1162 'name' => 'me_product_count_text_typography_hover', 1163 'selector' => '{{WRAPPER}} p.woocommerce-result-count:hover', 1164 ] 1165 ); 1166 1167 $this->add_group_control( 1168 Group_Control_Border::get_type(), 1169 [ 1170 'name' => 'me_product_count_text_border_hover', 1171 'label' => __('Border', 'masterelements'), 1172 'selector' => '{{WRAPPER}} p.woocommerce-result-count:hover', 1173 ] 1174 ); 1175 1176 $this->add_responsive_control( 1177 'me_product_count_border_radius_hover', 1178 [ 1179 'label' => __('Border Radius', 'masterelements'), 1180 'type' => Controls_Manager::DIMENSIONS, 1181 'size_units' => ['px', '%'], 1182 'selectors' => [ 1183 '{{WRAPPER}} p.woocommerce-result-count:hover' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}}', 1184 ], 1185 ] 1186 ); 1187 1188 $this->end_controls_tabs(); 1189 1190 $this->end_controls_section(); 1191 1192 //Product Sort 1193 $this->start_controls_section( 1194 'me-product-sort-order-section', 1195 [ 1196 'label' => esc_html__('Product Sort', 'masterelements'), 1197 'tab' => Controls_Manager::TAB_STYLE, 1198 'condition' => [ 1199 'me_sort_product_order' => 'yes', 1200 ], 1201 ] 1202 ); 1203 $this->start_controls_tabs('me_product_sort_order_style_tabs'); 1204 1205 // Product Sort normal style 1206 $this->start_controls_tab( 1207 'me_product_sort_order_style_normal_tab', 1208 [ 1209 'label' => __('Normal', 'masterelements'), 1210 ] 1211 ); 1212 1213 $this->add_control( 1214 'me_product_sort_order_color', 1215 [ 1216 'label' => __('Color', 'masterelements'), 1217 'type' => Controls_Manager::COLOR, 1218 'selectors' => [ 1219 '{{WRAPPER}} select.orderby' => 'color: {{VALUE}}', 1220 ], 1221 ] 1222 ); 1223 $this->add_control( 1224 'me_product_sort_order_bg_color', 1225 [ 1226 'label' => __('Background Color', 'masterelements'), 1227 'type' => Controls_Manager::COLOR, 1228 'selectors' => [ 1229 '{{WRAPPER}} select.orderby' => 'background-color: {{VALUE}}', 1230 ], 1231 ] 1232 ); 1233 1234 $this->add_group_control( 1235 Group_Control_Typography::get_type(), 1236 [ 1237 'name' => 'me_product_sort_order_typography', 1238 'selector' => '{{WRAPPER}} select.orderby', 1239 ] 1240 ); 1241 1242 $this->add_group_control( 1243 Group_Control_Border::get_type(), 1244 [ 1245 'name' => 'me_product_sort_order_border', 1246 'label' => __('Border', 'masterelements'), 1247 'selector' => '{{WRAPPER}} select.orderby', 1248 ] 1249 ); 1250 1251 $this->add_responsive_control( 1252 'me_product_sort_order_border_radius', 1253 [ 1254 'label' => __('Border Radius', 'masterelements'), 1255 'type' => Controls_Manager::DIMENSIONS, 1256 'size_units' => ['px', '%'], 1257 'selectors' => [ 1258 '{{WRAPPER}} select.orderby' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}}', 1259 ], 1260 ] 1261 ); 1262 1263 $this->add_group_control( 1264 Group_Control_Box_Shadow::get_type(), 1265 [ 1266 'name' => 'me_product_sort_order_box_shadow', 1267 'label' => __('Box Shadow', 'masterelements'), 1268 'selector' => '{{WRAPPER}} select.orderby', 1269 ] 1270 ); 1271 1272 $this->add_responsive_control( 1273 'me_product_sort_order_margin', 1274 [ 1275 'label' => __('Margin', 'masterelements'), 1276 'type' => Controls_Manager::DIMENSIONS, 1277 'size_units' => ['px', '%'], 1278 'selectors' => [ 1279 '{{WRAPPER}} select.orderby' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}}', 1280 ], 1281 ] 1282 ); 1283 $this->add_responsive_control( 1284 'me_product_sort_order_padding', 1285 [ 1286 'label' => __('Padding', 'masterelements'), 1287 'type' => Controls_Manager::DIMENSIONS, 1288 'size_units' => ['px', '%'], 1289 'selectors' => [ 1290 '{{WRAPPER}} select.orderby' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}}', 1291 ], 1292 ] 1293 ); 1294 1295 1296 1297 $this->end_controls_tab(); 1298 1299 //Product Count Hover 1300 $this->start_controls_tab( 1301 'me_product_sort_order_style_hover_tab', 1302 [ 1303 'label' => __('Hover', 'masterelements'), 1304 ] 1305 ); 1306 1307 $this->add_control( 1308 'me_product_sort_order_text_color_hover', 1309 [ 1310 'label' => __('Color', 'masterelements'), 1311 'type' => Controls_Manager::COLOR, 1312 'selectors' => [ 1313 '{{WRAPPER}}select.orderby:hover' => 'color: {{VALUE}}', 1314 ], 1315 ] 1316 ); 1317 $this->add_control( 1318 'me_product_sort_order_text_bg_color_hover', 1319 [ 1320 'label' => __('Background Color', 'masterelements'), 1321 'type' => Controls_Manager::COLOR, 1322 'selectors' => [ 1323 '{{WRAPPER}} select.orderby:hover' => 'background-color: {{VALUE}}', 1324 ], 1325 ] 1326 ); 1327 1328 $this->add_group_control( 1329 Group_Control_Typography::get_type(), 1330 [ 1331 'name' => 'me_product_sort_order_text_typography_hover', 1332 'selector' => '{{WRAPPER}} select.orderby:hover', 1333 ] 1334 ); 1335 1336 $this->add_group_control( 1337 Group_Control_Border::get_type(), 1338 [ 1339 'name' => 'me_product_sort_order_text_border_hover', 1340 'label' => __('Border', 'masterelements'), 1341 'selector' => '{{WRAPPER}} select.orderby:hover', 1342 ] 1343 ); 1344 1345 $this->add_responsive_control( 1346 'me_product_sort_order_border_radius_hover', 1347 [ 1348 'label' => __('Border Radius', 'masterelements'), 1349 'type' => Controls_Manager::DIMENSIONS, 1350 'size_units' => ['px', '%'], 1351 'selectors' => [ 1352 '{{WRAPPER}} select.orderby:hover' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}}', 1353 ], 1354 ] 1355 ); 1356 1357 $this->end_controls_tabs(); 1358 1359 $this->end_controls_section(); 1360 820 1361 821 1362 // Sale Flash Style Section -
master-elements/trunk/changelog.txt
r2389545 r2390207 1 29/09/2020 2 3 Version 6.7 4 5 [Fix] Woo-Archive Widgets 6 1 7 28/09/2020 2 8 -
master-elements/trunk/masterelements.php
r2389545 r2390207 10 10 * Plugin URI: https://akdesigner.com/ 11 11 * Author: TeamDevBunch 12 * Version: 6. 612 * Version: 6.7 13 13 * Tested up to: 5.5 14 14 * Author URI: https://devbunch.com/ -
master-elements/trunk/readme.txt
r2389545 r2390207 64 64 65 65 == Changelog == 66 = 29/09/2020 Version 6.7 = 67 * [New] Woo-Archive Widgets 68 66 69 = 28/09/2020 Version 6.6 = 67 70 * [Fix] Woo-Archive
Note: See TracChangeset
for help on using the changeset viewer.