PluginProbe
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder / 2.14.0
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder v2.14.0
2.14.0 2.13.0 2.13.1 2.12.0 2.11.1 2.11.0 2.10.0 2.9.0 2.7.4 2.7.5 2.7.6 2.7.7 2.8.0 2.8.1 2.9.1 trunk 1.0 1.0-beta1 1.0-beta2 1.0-beta3 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 All 81 releases
← All changes | includes/blocks/storeengine-shipping-info/block.php +8 -4 2.13.0 → 2.14.0 View file →
@@ -32,9 +32,10 @@
32 32 $css_generator->add_class_styles(
33 33 '{{WRAPPER}} .storeengine-order-shipping-shortcode .storeengine-order-shipping-heading',
34 34 $this->get_shipping_heading_css( $attributes, '' ),
35 35 $this->get_shipping_heading_css( $attributes, 'Tablet' ),
36 - $this->get_shipping_heading_css( $attributes, 'Mobile' )
36 + $this->get_shipping_heading_css( $attributes, 'Mobile' ),
37 + $css_generator->custom_device_map( function ( $device ) use ( $attributes ) { return $this->get_shipping_heading_css( $attributes, $device ); } )
37 38 );
38 39
39 40 $css_generator->add_class_styles(
40 41 '{{WRAPPER}} .storeengine-order-shipping-shortcode .storeengine-order-shipping-heading:hover',
@@ -39,15 +40,17 @@
39 40 $css_generator->add_class_styles(
40 41 '{{WRAPPER}} .storeengine-order-shipping-shortcode .storeengine-order-shipping-heading:hover',
41 42 $this->get_shipping_heading_hover_css( $attributes, '' ),
42 43 $this->get_shipping_heading_hover_css( $attributes, 'Tablet' ),
43 - $this->get_shipping_heading_hover_css( $attributes, 'Mobile' )
44 + $this->get_shipping_heading_hover_css( $attributes, 'Mobile' ),
45 + $css_generator->custom_device_map( function ( $device ) use ( $attributes ) { return $this->get_shipping_heading_hover_css( $attributes, $device ); } )
44 46 );
45 47 $css_generator->add_class_styles(
46 48 '{{WRAPPER}} .storeengine-order-shipping-shortcode .storeengine-order-shipping-address p',
47 49 $this->get_shipping_address_css( $attributes, '' ),
48 50 $this->get_shipping_address_css( $attributes, 'Tablet' ),
49 - $this->get_shipping_address_css( $attributes, 'Mobile' )
51 + $this->get_shipping_address_css( $attributes, 'Mobile' ),
52 + $css_generator->custom_device_map( function ( $device ) use ( $attributes ) { return $this->get_shipping_address_css( $attributes, $device ); } )
50 53 );
51 54
52 55 $css_generator->add_class_styles(
53 56 '{{WRAPPER}} .storeengine-order-shipping-shortcode .storeengine-order-shipping-address p:hover',
@@ -52,9 +55,10 @@
52 55 $css_generator->add_class_styles(
53 56 '{{WRAPPER}} .storeengine-order-shipping-shortcode .storeengine-order-shipping-address p:hover',
54 57 $this->get_shipping_address_hover_css( $attributes, '' ),
55 58 $this->get_shipping_address_hover_css( $attributes, 'Tablet' ),
56 - $this->get_shipping_address_hover_css( $attributes, 'Mobile' )
59 + $this->get_shipping_address_hover_css( $attributes, 'Mobile' ),
60 + $css_generator->custom_device_map( function ( $device ) use ( $attributes ) { return $this->get_shipping_address_hover_css( $attributes, $device ); } )
57 61 );
58 62
59 63 return $css_generator->generate_css();
60 64 }