From adacb57c8ae60f92ceb2ccc0abb066502e8b3469 Mon Sep 17 00:00:00 2001 From: nael Date: Tue, 7 May 2019 16:53:46 +0200 Subject: [PATCH] WIP #2685 @6 --- .../cube/src/Elementor/Widgets/Timeline.php | 16 +++++----- .../resources/assets/styles/common/debug.styl | 2 +- .../assets/styles/common/variables.styl | 1 + .../assets/styles/components/forms.styl | 20 ++++++++----- .../assets/styles/pages/contact.styl | 17 +++++++++-- .../assets/styles/widgets/timeline.styl | 29 ++++++++++--------- 6 files changed, 51 insertions(+), 34 deletions(-) diff --git a/wp-content/mu-plugins/cube/src/Elementor/Widgets/Timeline.php b/wp-content/mu-plugins/cube/src/Elementor/Widgets/Timeline.php index 709efd3..98c6c37 100644 --- a/wp-content/mu-plugins/cube/src/Elementor/Widgets/Timeline.php +++ b/wp-content/mu-plugins/cube/src/Elementor/Widgets/Timeline.php @@ -81,15 +81,15 @@ class Timeline extends Widget_Base 'fields' => [ [ - 'name' => 'title', - 'label' => __('Title', 'cube'), + 'name' => 'year', + 'label' => __('Year', 'cube'), 'type' => Controls_Manager::TEXT, 'label_block' => true, 'default' => '', ], [ - 'name' => 'subtitle', - 'label' => __('subtitle', 'cube'), + 'name' => 'title', + 'label' => __('Title', 'cube'), 'type' => Controls_Manager::TEXT, 'label_block' => true, 'default' => '', @@ -110,7 +110,7 @@ class Timeline extends Widget_Base ], ], - 'title_field' => '{{{ title }}}', + 'title_field' => '{{{ year }}}', ] ); @@ -134,7 +134,7 @@ class Timeline extends Widget_Base $res .= '