Advertisement
Konark

Untitled

Nov 18th, 2019
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.82 KB | None | 0 0
  1. // $this->add_control(
  2. // 'slide_background_type',
  3. // array(
  4. // 'type' => Controls_Manager::CHOOSE,
  5. // 'label' => esc_html__( 'Slide Background Type', 'elementor' ),
  6. // 'options' => array(
  7. // 'classic' => array(
  8. // 'title' => esc_html__( 'Classic', 'elementor-pro' ),
  9. // 'icon' => 'fas fa-icons',
  10. // ),
  11. // 'gradient' => array(
  12. // 'title' => esc_html__( 'Gradient', 'elementor-pro' ),
  13. // 'icon' => 'fas fa-stream',
  14. // ),
  15. // ),
  16. // 'default' => 'classic',
  17. // 'toggle' => false,
  18. // )
  19. // );
  20.  
  21. // $this->start_controls_tabs( 'tabs_slide_style' );
  22.  
  23. // $this->start_controls_tab(
  24. // 'tab_slide_style_normal',
  25. // array(
  26. // 'label' => esc_html__( 'Normal', 'elementor' ),
  27. // )
  28. // );
  29.  
  30. // $this->add_group_control(
  31. // Group_Control_Background::get_type(),
  32. // array(
  33. // 'name' => 'slide_background_gradient',
  34. // 'types' => array( 'gradient' ),
  35. // 'label_block' => true,
  36. // 'fields_options' => array(
  37. // 'background' => array(
  38. // 'type' => Controls_Manager::HIDDEN,
  39. // 'default' => 'gradient',
  40. // ),
  41. // 'gradient_angle' => array(
  42. // 'default' => array(
  43. // 'unit' => 'deg',
  44. // 'size' => 90,
  45. // ),
  46. // ),
  47. // ),
  48. // 'selector' => '.cmsmasters_offcanvas_content_{{ID}}',
  49. // 'condition' => array( 'slide_background_type' => 'gradient' ),
  50. // )
  51. // );
  52.  
  53. // $this->add_control(
  54. // 'slide_background_color',
  55. // array(
  56. // 'label' => esc_html__( 'Background Color', 'elementor' ),
  57. // 'type' => Controls_Manager::COLOR,
  58. // 'selectors' => array(
  59. // '.cmsmasters_offcanvas_content_{{ID}}' => 'background-color: {{VALUE}}',
  60. // ),
  61. // 'condition' => array(
  62. // 'slide_background_type' => 'classic',
  63. // ),
  64. // )
  65. // );
  66.  
  67. // $this->add_control(
  68. // 'slide_border_color',
  69. // array(
  70. // 'label' => esc_html__( 'Border Color', 'elementor' ),
  71. // 'type' => Controls_Manager::COLOR,
  72. // 'selectors' => array(
  73. // '.cmsmasters_offcanvas_content_{{ID}}' => 'border-color: {{VALUE}}',
  74. // ),
  75. // )
  76. // );
  77.  
  78. // $this->end_controls_tab();
  79.  
  80. // $this->start_controls_tab(
  81. // 'tab_slide_style_hover',
  82. // array(
  83. // 'label' => esc_html__( 'Hover', 'elementor' ),
  84. // )
  85. // );
  86.  
  87. // $this->add_group_control(
  88. // Group_Control_Background::get_type(),
  89. // array(
  90. // 'name' => 'slide_background_gradient_hover',
  91. // 'types' => array( 'gradient' ),
  92. // 'label_block' => true,
  93. // 'fields_options' => array(
  94. // 'background' => array(
  95. // 'type' => Controls_Manager::HIDDEN,
  96. // 'default' => 'gradient',
  97. // ),
  98. // 'gradient_angle' => array(
  99. // 'default' => array(
  100. // 'unit' => 'deg',
  101. // 'size' => 90,
  102. // ),
  103. // ),
  104. // ),
  105. // 'selector' => '.cmsmasters_offcanvas_content_{{ID}}:hover',
  106. // 'condition' => array(
  107. // 'slide_background_type' => 'gradient',
  108. // ),
  109. // )
  110. // );
  111.  
  112. // $this->add_control(
  113. // 'slide_background_color_hover',
  114. // array(
  115. // 'label' => esc_html__( 'Background Color', 'elementor' ),
  116. // 'type' => Controls_Manager::COLOR,
  117. // 'selectors' => array(
  118. // '.cmsmasters_offcanvas_content_{{ID}}:hover' => 'background-color: {{VALUE}}',
  119. // ),
  120. // 'condition' => array(
  121. // 'slide_background_type' => 'classic',
  122. // ),
  123. // )
  124. // );
  125.  
  126. // $this->add_control(
  127. // 'slide_border_color_hover',
  128. // array(
  129. // 'label' => esc_html__( 'Border Color', 'elementor' ),
  130. // 'type' => Controls_Manager::COLOR,
  131. // 'selectors' => array(
  132. // '.cmsmasters_offcanvas_content_{{ID}}:hover' => 'border-color: {{VALUE}}',
  133. // ),
  134. // )
  135. // );
  136.  
  137. // $this->end_controls_tab();
  138.  
  139. // $this->end_controls_tabs();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement