| @@ -657,9 +657,9 @@ | ||
| 657 | 657 | width: 100%; |
| 658 | 658 | } |
| 659 | 659 | |
| 660 | 660 | .wcf-embed-checkout-form .wcf-custom-coupon-field button.wcf-submit-coupon, |
| 661 | -.wcf-embed-checkout-form .woocommerce #order_review button:not( .js-woopayments-copy-test-number ), | |
| 661 | +.wcf-embed-checkout-form .woocommerce #order_review button:not( .js-woopayments-copy-test-number ):not( .wcf-shipping-toggle ), | |
| 662 | 662 | .wcf-embed-checkout-form .woocommerce #payment button:not( .js-woopayments-copy-test-number ), |
| 663 | 663 | .wcf-embed-checkout-form .woocommerce .wcf-customer-login-section__login-button { |
| 664 | 664 | border: 1px solid; |
| 665 | 665 | border-color: var( --wcf-btn-bg-color ); |
| @@ -2856,11 +2856,82 @@ | ||
| 2856 | 2856 | width: 100%; |
| 2857 | 2857 | } |
| 2858 | 2858 | /* Official - Stripe for WooCommerce Smart Button box CSS */ |
| 2859 | 2859 | |
| 2860 | -.shop_table tr.woocommerce-shipping-totals.shipping { | |
| 2861 | - display: none; | |
| 2862 | - visibility: hidden; | |
| 2860 | +/* Collapsible shipping row in the order review table. */ | |
| 2861 | +.wcf-embed-checkout-form table.shop_table button.wcf-shipping-toggle { | |
| 2862 | + -js-display: inline-flex; | |
| 2863 | + display: inline-flex; | |
| 2864 | + align-items: center; | |
| 2865 | + gap: 6px; | |
| 2866 | + margin: 0; | |
| 2867 | + padding: 0; | |
| 2868 | + border: 0; | |
| 2869 | + border-radius: 0; | |
| 2870 | + background: none; | |
| 2871 | + box-shadow: none; | |
| 2872 | + color: inherit; | |
| 2873 | + font: inherit; | |
| 2874 | + letter-spacing: inherit; | |
| 2875 | + text-align: inherit; | |
| 2876 | + text-transform: inherit; | |
| 2877 | + cursor: pointer; | |
| 2878 | +} | |
| 2879 | + | |
| 2880 | +.wcf-embed-checkout-form table.shop_table button.wcf-shipping-toggle:hover, | |
| 2881 | +.wcf-embed-checkout-form table.shop_table button.wcf-shipping-toggle:focus, | |
| 2882 | +.wcf-embed-checkout-form table.shop_table button.wcf-shipping-toggle:active { | |
| 2883 | + background: none; | |
| 2884 | + box-shadow: none; | |
| 2885 | + color: inherit; | |
| 2886 | +} | |
| 2887 | + | |
| 2888 | +.wcf-embed-checkout-form table.shop_table .wcf-shipping-toggle-icon { | |
| 2889 | + font-size: 0.75em; | |
| 2890 | + line-height: 1; | |
| 2891 | + transition: transform 0.2s ease-in-out; | |
| 2892 | +} | |
| 2893 | + | |
| 2894 | +.wcf-embed-checkout-form table.shop_table .wcf-shipping-toggle[aria-expanded="true"] .wcf-shipping-toggle-icon { | |
| 2895 | + transform: rotate( 180deg ); | |
| 2896 | +} | |
| 2897 | + | |
| 2898 | +.wcf-embed-checkout-form table.shop_table tr.wcf-shipping-totals-details > td { | |
| 2899 | + padding-top: 0; | |
| 2900 | +} | |
| 2901 | + | |
| 2902 | +.wcf-embed-checkout-form table.shop_table .wcf-shipping-package + .wcf-shipping-package { | |
| 2903 | + margin-top: 10px; | |
| 2904 | +} | |
| 2905 | + | |
| 2906 | +.wcf-embed-checkout-form table.shop_table .wcf-shipping-package-name { | |
| 2907 | + display: block; | |
| 2908 | + font-size: 0.9em; | |
| 2909 | + opacity: 0.7; | |
| 2910 | +} | |
| 2911 | + | |
| 2912 | +.wcf-embed-checkout-form table.shop_table ul.wcf-shipping-package-methods { | |
| 2913 | + margin: 0; | |
| 2914 | + padding: 0; | |
| 2915 | + list-style: none; | |
| 2916 | +} | |
| 2917 | + | |
| 2918 | +.wcf-embed-checkout-form table.shop_table ul.wcf-shipping-package-methods li { | |
| 2919 | + margin: 0; | |
| 2920 | + padding: 0; | |
| 2921 | + font-size: 0.9em; | |
| 2922 | + opacity: 0.7; | |
| 2923 | +} | |
| 2924 | + | |
| 2925 | +.wcf-embed-checkout-form table.shop_table ul.wcf-shipping-package-methods li.wcf-shipping-method-chosen { | |
| 2926 | + font-weight: 500; | |
| 2927 | + opacity: 1; | |
| 2928 | +} | |
| 2929 | + | |
| 2930 | +.wcf-embed-checkout-form table.shop_table .wcf-shipping-totals-details .woocommerce-shipping-destination { | |
| 2931 | + margin: 4px 0 0 0; | |
| 2932 | + font-size: 0.9em; | |
| 2933 | + opacity: 0.7; | |
| 2863 | 2934 | } |
| 2864 | 2935 | |
| 2865 | 2936 | .wcf-embed-checkout-form table.shop_table .wc_shipping_dpd_terminals { |
| 2866 | 2937 | display: none; |