PluginProbe
Elementor Website Builder – more than just a page builder / 3.4.0-dev9
Elementor Website Builder – more than just a page builder v3.4.0-dev9
4.3.2 4.3.1 4.3.0 4.3.0-beta3 4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 All 455 releases
← All changes | core/kits/documents/tabs/theme-style-buttons.php +6 -5 4.3.0 → 3.4.0-dev9 View file →
@@ -9,9 +9,9 @@
9 9 use Elementor\Group_Control_Text_Shadow;
10 10 use Elementor\Group_Control_Typography;
11 11
12 12 if ( ! defined( 'ABSPATH' ) ) {
13 - exit; // Exit if accessed directly.
13 + exit; // Exit if accessed directly
14 14 }
15 15
16 16 class Theme_Style_Buttons extends Tab_Base {
17 17
@@ -31,9 +31,9 @@
31 31 return 'eicon-button';
32 32 }
33 33
34 34 public function get_help_url() {
35 - return 'https://go.elementor.com/global-theme-style-buttons/';
35 + return 'https://go.elementor.com/global-theme-style-buttons';
36 36 }
37 37
38 38 protected function register_tab_controls() {
39 39 $button_selectors = [
@@ -69,8 +69,9 @@
69 69
70 70 $this->add_group_control(
71 71 Group_Control_Typography::get_type(),
72 72 [
73 + 'label' => esc_html__( 'Typography', 'elementor' ),
73 74 'name' => 'button_typography',
74 75 'selector' => $button_selector,
75 76 ]
76 77 );
@@ -150,9 +151,9 @@
150 151 'button_border_radius',
151 152 [
152 153 'label' => esc_html__( 'Border Radius', 'elementor' ),
153 154 'type' => Controls_Manager::DIMENSIONS,
154 - 'size_units' => [ 'px', '%', 'em', 'rem', 'custom' ],
155 + 'size_units' => [ 'px', '%' ],
155 156 'selectors' => [
156 157 $button_selector => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
157 158 ],
158 159 ]
@@ -225,9 +226,9 @@
225 226 'button_hover_border_radius',
226 227 [
227 228 'label' => esc_html__( 'Border Radius', 'elementor' ),
228 229 'type' => Controls_Manager::DIMENSIONS,
229 - 'size_units' => [ 'px', '%', 'em', 'rem', 'custom' ],
230 + 'size_units' => [ 'px', '%' ],
230 231 'selectors' => [
231 232 $button_hover_selector => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
232 233 ],
233 234 ]
@@ -241,9 +242,9 @@
241 242 'button_padding',
242 243 [
243 244 'label' => esc_html__( 'Padding', 'elementor' ),
244 245 'type' => Controls_Manager::DIMENSIONS,
245 - 'size_units' => [ 'px', '%', 'em', 'rem', 'vw', 'custom' ],
246 + 'size_units' => [ 'px', 'em', '%' ],
246 247 'selectors' => [
247 248 $button_selector => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
248 249 ],
249 250 'separator' => 'before',