PluginProbe
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder / 2.13.0
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder v2.13.0
2.16.0 2.15.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 All 83 releases
← All changes | includes/blocks/text-path/block.php +8 -16 trunk → 2.13.0 View file →
@@ -32,10 +32,9 @@
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' ),
37 - $css_generator->custom_device_map( function ( $device ) use ( $attributes ) { return $this->get_text_path_container_css( $attributes, $device ); } )
36 + $this->get_text_path_container_css( $attributes, 'Mobile' )
38 37 );
39 38
40 39 $css_generator->add_class_styles(
41 40 '{{WRAPPER}} .ablocks-text-path-text',
@@ -40,10 +39,9 @@
40 39 $css_generator->add_class_styles(
41 40 '{{WRAPPER}} .ablocks-text-path-text',
42 41 $this->get_text_css( $attributes ),
43 42 $this->get_text_css( $attributes, 'Tablet' ),
44 - $this->get_text_css( $attributes, 'Mobile' ),
45 - $css_generator->custom_device_map( function ( $device ) use ( $attributes ) { return $this->get_text_css( $attributes, $device ); } )
43 + $this->get_text_css( $attributes, 'Mobile' )
46 44 );
47 45
48 46 $css_generator->add_class_styles(
49 47 '{{WRAPPER}} .ablocks-text-path-text:hover',
@@ -48,10 +46,9 @@
48 46 $css_generator->add_class_styles(
49 47 '{{WRAPPER}} .ablocks-text-path-text:hover',
50 48 $this->get_text_hover_css( $attributes ),
51 49 $this->get_text_hover_css( $attributes, 'Tablet' ),
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 ); } )
50 + $this->get_text_hover_css( $attributes, 'Mobile' )
54 51 );
55 52
56 53 $css_generator->add_class_styles(
57 54 '{{WRAPPER}} .ablocks-path-text-path',
@@ -56,10 +53,9 @@
56 53 $css_generator->add_class_styles(
57 54 '{{WRAPPER}} .ablocks-path-text-path',
58 55 $this->get_text_path_css( $attributes ),
59 56 $this->get_text_path_css( $attributes, 'Tablet' ),
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 ); } )
57 + $this->get_text_path_css( $attributes, 'Mobile' )
62 58 );
63 59
64 60 return $css_generator->generate_css();
65 61 }
@@ -70,10 +66,9 @@
70 66 '{{WRAPPER}}.ablocks-block--text-path:not(.ablocks-block-container),
71 67 {{WRAPPER}}.ablocks-block--text-path .ablocks-block-container',
72 68 $this->get_text_path_container_css( $attributes ),
73 69 $this->get_text_path_container_css( $attributes, 'Tablet' ),
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 ); } )
70 + $this->get_text_path_container_css( $attributes, 'Mobile' )
76 71 );
77 72
78 73 $css_generator->add_class_styles(
79 74 '{{WRAPPER}} .ablocks-text-path-text',
@@ -78,10 +73,9 @@
78 73 $css_generator->add_class_styles(
79 74 '{{WRAPPER}} .ablocks-text-path-text',
80 75 $this->get_text_css( $attributes ),
81 76 $this->get_text_css( $attributes, 'Tablet' ),
82 - $this->get_text_css( $attributes, 'Mobile' ),
83 - $css_generator->custom_device_map( function ( $device ) use ( $attributes ) { return $this->get_text_css( $attributes, $device ); } )
77 + $this->get_text_css( $attributes, 'Mobile' )
84 78 );
85 79
86 80 $css_generator->add_class_styles(
87 81 '{{WRAPPER}} .ablocks-text-path-text:hover',
@@ -86,10 +80,9 @@
86 80 $css_generator->add_class_styles(
87 81 '{{WRAPPER}} .ablocks-text-path-text:hover',
88 82 $this->get_text_hover_css( $attributes ),
89 83 $this->get_text_hover_css( $attributes, 'Tablet' ),
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 ); } )
84 + $this->get_text_hover_css( $attributes, 'Mobile' )
92 85 );
93 86
94 87 $css_generator->add_class_styles(
95 88 '{{WRAPPER}} .ablocks-path-text-path',
@@ -94,10 +87,9 @@
94 87 $css_generator->add_class_styles(
95 88 '{{WRAPPER}} .ablocks-path-text-path',
96 89 $this->get_text_path_css( $attributes ),
97 90 $this->get_text_path_css( $attributes, 'Tablet' ),
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 ); } )
91 + $this->get_text_path_css( $attributes, 'Mobile' )
100 92 );
101 93
102 94 return $css_generator->generate_css();
103 95 }