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/academy-addition-info/block.php +16 -8 2.8.0 → 2.14.0 View file →
@@ -27,9 +27,10 @@
27 27 $css_generator->add_class_styles(
28 28 '{{WRAPPER}} .academy-single-course__content-item--benefits .benefits-title',
29 29 $this->get_heading_css( $attributes, '' ),
30 30 $this->get_heading_css( $attributes, 'Tablet' ),
31 - $this->get_heading_css( $attributes, 'Mobile' )
31 + $this->get_heading_css( $attributes, 'Mobile' ),
32 + $css_generator->custom_device_map( function ( $device ) use ( $attributes ) { return $this->get_heading_css( $attributes, $device ); } )
32 33 );
33 34
34 35 $css_generator->add_class_styles(
35 36 '{{WRAPPER}} .academy-single-course__content-item--benefits .benefits-title:hover',
@@ -34,9 +35,10 @@
34 35 $css_generator->add_class_styles(
35 36 '{{WRAPPER}} .academy-single-course__content-item--benefits .benefits-title:hover',
36 37 $this->get_heading_hover_css( $attributes, '' ),
37 38 $this->get_heading_hover_css( $attributes, 'Tablet' ),
38 - $this->get_heading_hover_css( $attributes, 'Mobile' )
39 + $this->get_heading_hover_css( $attributes, 'Mobile' ),
40 + $css_generator->custom_device_map( function ( $device ) use ( $attributes ) { return $this->get_heading_hover_css( $attributes, $device ); } )
39 41 );
40 42
41 43 $css_generator->add_class_styles(
42 44 '{{WRAPPER}} .academy-single-course__content-item--benefits .benefits-content ul li span,
@@ -42,9 +44,10 @@
42 44 '{{WRAPPER}} .academy-single-course__content-item--benefits .benefits-content ul li span,
43 45 {{WRAPPER}} .academy-tabs-content .academy-lists li span',
44 46 $this->get_list_css( $attributes, '' ),
45 47 $this->get_list_css( $attributes, 'Tablet' ),
46 - $this->get_list_css( $attributes, 'Mobile' )
48 + $this->get_list_css( $attributes, 'Mobile' ),
49 + $css_generator->custom_device_map( function ( $device ) use ( $attributes ) { return $this->get_list_css( $attributes, $device ); } )
47 50 );
48 51
49 52 $css_generator->add_class_styles(
50 53 '{{WRAPPER}} .academy-single-course__content-item--benefits .benefits-content ul li span:hover,
@@ -50,15 +53,17 @@
50 53 '{{WRAPPER}} .academy-single-course__content-item--benefits .benefits-content ul li span:hover,
51 54 {{WRAPPER}} .academy-tabs-content .academy-lists li span:hover',
52 55 $this->get_list_hover_css( $attributes, '' ),
53 56 $this->get_list_hover_css( $attributes, 'Tablet' ),
54 - $this->get_list_hover_css( $attributes, 'Mobile' )
57 + $this->get_list_hover_css( $attributes, 'Mobile' ),
58 + $css_generator->custom_device_map( function ( $device ) use ( $attributes ) { return $this->get_list_hover_css( $attributes, $device ); } )
55 59 );
56 60 $css_generator->add_class_styles(
57 61 '{{WRAPPER}} .academy-single-course__content-item--additional-info .academy-tabs-nav li a',
58 62 $this->get_tab_css( $attributes, '' ),
59 63 $this->get_tab_css( $attributes, 'Tablet' ),
60 - $this->get_tab_css( $attributes, 'Mobile' )
64 + $this->get_tab_css( $attributes, 'Mobile' ),
65 + $css_generator->custom_device_map( function ( $device ) use ( $attributes ) { return $this->get_tab_css( $attributes, $device ); } )
61 66 );
62 67
63 68 $css_generator->add_class_styles(
64 69 '{{WRAPPER}} .academy-single-course__content-item--additional-info .academy-tabs-nav li a:hover',
@@ -63,9 +68,10 @@
63 68 $css_generator->add_class_styles(
64 69 '{{WRAPPER}} .academy-single-course__content-item--additional-info .academy-tabs-nav li a:hover',
65 70 $this->get_tab_hover_css( $attributes, '' ),
66 71 $this->get_tab_hover_css( $attributes, 'Tablet' ),
67 - $this->get_tab_hover_css( $attributes, 'Mobile' )
72 + $this->get_tab_hover_css( $attributes, 'Mobile' ),
73 + $css_generator->custom_device_map( function ( $device ) use ( $attributes ) { return $this->get_tab_hover_css( $attributes, $device ); } )
68 74 );
69 75
70 76 $css_generator->add_class_styles(
71 77 '{{WRAPPER}} .academy-tabs-nav li.active',
@@ -70,9 +76,10 @@
70 76 $css_generator->add_class_styles(
71 77 '{{WRAPPER}} .academy-tabs-nav li.active',
72 78 $this->get_active_list_css( $attributes, '' ),
73 79 $this->get_active_list_css( $attributes, 'Tablet' ),
74 - $this->get_active_list_css( $attributes, 'Mobile' )
80 + $this->get_active_list_css( $attributes, 'Mobile' ),
81 + $css_generator->custom_device_map( function ( $device ) use ( $attributes ) { return $this->get_active_list_css( $attributes, $device ); } )
75 82 );
76 83
77 84 $css_generator->add_class_styles(
78 85 '{{WRAPPER}} .academy-tabs-nav li.active',
@@ -77,9 +84,10 @@
77 84 $css_generator->add_class_styles(
78 85 '{{WRAPPER}} .academy-tabs-nav li.active',
79 86 $this->get_active_list_hover_css( $attributes, '' ),
80 87 $this->get_active_list_hover_css( $attributes, 'Tablet' ),
81 - $this->get_active_list_hover_css( $attributes, 'Mobile' )
88 + $this->get_active_list_hover_css( $attributes, 'Mobile' ),
89 + $css_generator->custom_device_map( function ( $device ) use ( $attributes ) { return $this->get_active_list_hover_css( $attributes, $device ); } )
82 90 );
83 91
84 92 return $css_generator->generate_css();
85 93 }