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/text-path/block.php +16 -8 2.13.1 → 2.14.0 View file →
@@ -32,9 +32,10 @@
32 32 '{{WRAPPER}}.ablocks-block--text-path:not(.ablocks-block-container),
33 33 {{WRAPPER}}.ablocks-block--text-path .ablocks-block-container',
34 34 $this->get_text_path_container_css( $attributes ),
35 35 $this->get_text_path_container_css( $attributes, 'Tablet' ),
36 - $this->get_text_path_container_css( $attributes, 'Mobile' )
36 + $this->get_text_path_container_css( $attributes, 'Mobile' ),
37 + $css_generator->custom_device_map( function ( $device ) use ( $attributes ) { return $this->get_text_path_container_css( $attributes, $device ); } )
37 38 );
38 39
39 40 $css_generator->add_class_styles(
40 41 '{{WRAPPER}} .ablocks-text-path-text',
@@ -39,9 +40,10 @@
39 40 $css_generator->add_class_styles(
40 41 '{{WRAPPER}} .ablocks-text-path-text',
41 42 $this->get_text_css( $attributes ),
42 43 $this->get_text_css( $attributes, 'Tablet' ),
43 - $this->get_text_css( $attributes, 'Mobile' )
44 + $this->get_text_css( $attributes, 'Mobile' ),
45 + $css_generator->custom_device_map( function ( $device ) use ( $attributes ) { return $this->get_text_css( $attributes, $device ); } )
44 46 );
45 47
46 48 $css_generator->add_class_styles(
47 49 '{{WRAPPER}} .ablocks-text-path-text:hover',
@@ -46,9 +48,10 @@
46 48 $css_generator->add_class_styles(
47 49 '{{WRAPPER}} .ablocks-text-path-text:hover',
48 50 $this->get_text_hover_css( $attributes ),
49 51 $this->get_text_hover_css( $attributes, 'Tablet' ),
50 - $this->get_text_hover_css( $attributes, 'Mobile' )
52 + $this->get_text_hover_css( $attributes, 'Mobile' ),
53 + $css_generator->custom_device_map( function ( $device ) use ( $attributes ) { return $this->get_text_hover_css( $attributes, $device ); } )
51 54 );
52 55
53 56 $css_generator->add_class_styles(
54 57 '{{WRAPPER}} .ablocks-path-text-path',
@@ -53,9 +56,10 @@
53 56 $css_generator->add_class_styles(
54 57 '{{WRAPPER}} .ablocks-path-text-path',
55 58 $this->get_text_path_css( $attributes ),
56 59 $this->get_text_path_css( $attributes, 'Tablet' ),
57 - $this->get_text_path_css( $attributes, 'Mobile' )
60 + $this->get_text_path_css( $attributes, 'Mobile' ),
61 + $css_generator->custom_device_map( function ( $device ) use ( $attributes ) { return $this->get_text_path_css( $attributes, $device ); } )
58 62 );
59 63
60 64 return $css_generator->generate_css();
61 65 }
@@ -66,9 +70,10 @@
66 70 '{{WRAPPER}}.ablocks-block--text-path:not(.ablocks-block-container),
67 71 {{WRAPPER}}.ablocks-block--text-path .ablocks-block-container',
68 72 $this->get_text_path_container_css( $attributes ),
69 73 $this->get_text_path_container_css( $attributes, 'Tablet' ),
70 - $this->get_text_path_container_css( $attributes, 'Mobile' )
74 + $this->get_text_path_container_css( $attributes, 'Mobile' ),
75 + $css_generator->custom_device_map( function ( $device ) use ( $attributes ) { return $this->get_text_path_container_css( $attributes, $device ); } )
71 76 );
72 77
73 78 $css_generator->add_class_styles(
74 79 '{{WRAPPER}} .ablocks-text-path-text',
@@ -73,9 +78,10 @@
73 78 $css_generator->add_class_styles(
74 79 '{{WRAPPER}} .ablocks-text-path-text',
75 80 $this->get_text_css( $attributes ),
76 81 $this->get_text_css( $attributes, 'Tablet' ),
77 - $this->get_text_css( $attributes, 'Mobile' )
82 + $this->get_text_css( $attributes, 'Mobile' ),
83 + $css_generator->custom_device_map( function ( $device ) use ( $attributes ) { return $this->get_text_css( $attributes, $device ); } )
78 84 );
79 85
80 86 $css_generator->add_class_styles(
81 87 '{{WRAPPER}} .ablocks-text-path-text:hover',
@@ -80,9 +86,10 @@
80 86 $css_generator->add_class_styles(
81 87 '{{WRAPPER}} .ablocks-text-path-text:hover',
82 88 $this->get_text_hover_css( $attributes ),
83 89 $this->get_text_hover_css( $attributes, 'Tablet' ),
84 - $this->get_text_hover_css( $attributes, 'Mobile' )
90 + $this->get_text_hover_css( $attributes, 'Mobile' ),
91 + $css_generator->custom_device_map( function ( $device ) use ( $attributes ) { return $this->get_text_hover_css( $attributes, $device ); } )
85 92 );
86 93
87 94 $css_generator->add_class_styles(
88 95 '{{WRAPPER}} .ablocks-path-text-path',
@@ -87,9 +94,10 @@
87 94 $css_generator->add_class_styles(
88 95 '{{WRAPPER}} .ablocks-path-text-path',
89 96 $this->get_text_path_css( $attributes ),
90 97 $this->get_text_path_css( $attributes, 'Tablet' ),
91 - $this->get_text_path_css( $attributes, 'Mobile' )
98 + $this->get_text_path_css( $attributes, 'Mobile' ),
99 + $css_generator->custom_device_map( function ( $device ) use ( $attributes ) { return $this->get_text_path_css( $attributes, $device ); } )
92 100 );
93 101
94 102 return $css_generator->generate_css();
95 103 }