403Webshell
Server IP : 69.72.244.102  /  Your IP : 216.73.216.164
Web Server : LiteSpeed
System : Linux s3434.fra1.stableserver.net 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64
User : konzalta ( 1271)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/thread-self/cwd/wp-content/plugins/master-addons/inc/controls/group/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/thread-self/cwd/wp-content/plugins/master-addons/inc/controls/group/outline.php
<?php

namespace MasterAddons\Inc\Controls;

use Elementor\Group_Control_Base;
use Elementor\Controls_Manager;

if (!defined('ABSPATH')) {
    exit; // Exit if accessed directly.
}

class MA_Group_Control_Outline extends Group_Control_Base
{

    protected static $fields;

    public static function get_type()
    {
        return 'outline';
    }

    protected function init_fields()
    {
        $fields = [];

        $fields['outline'] = [
            'label' => _x('Outline Type', 'Outline Control', 'master-addons' ),
            'type' => Controls_Manager::SELECT,
            'options' => [
                '' => __('None', 'master-addons' ),
                'solid' => _x('Solid', 'Outline Control', 'master-addons' ),
                'double' => _x('Double', 'Outline Control', 'master-addons' ),
                'dotted' => _x('Dotted', 'Outline Control', 'master-addons' ),
                'dashed' => _x('Dashed', 'Outline Control', 'master-addons' ),
            ],
            'selectors' => [
                '{{SELECTOR}}' => 'outline-style: {{VALUE}};',
            ],
        ];
        $fields['width'] = [
            'label' => __('Width', 'master-addons' ),
            'type' => Controls_Manager::SLIDER,
            'default' => [
                'unit' => 'px',
            ],
            'range' => [
                'px' => [
                    'min' => 0,
                    'max' => 30,
                    'step' => 1,
                ],
            ],
            'size_units' => ['px'],
            'selectors' => [
                '{{SELECTOR}}' => 'outline-width: {{SIZE}}{{UNIT}};',
            ],
            'condition' => [
                'outline!' => '',
            ],
        ];
        $fields['offset'] = [
            'label' => _x('Offset', 'Outline Control', 'master-addons' ),
            'type' => Controls_Manager::SLIDER,
            'default' => [
                'unit' => 'px',
            ],
            'range' => [
                'px' => [
                    'min' => -100,
                    'max' => 100,
                    'step' => 1,
                ],
            ],
            'size_units' => ['px'],
            'selectors' => [
                '{{SELECTOR}}' => 'outline-offset: {{SIZE}}{{UNIT}};',
            ],
            'condition' => [
                'outline!' => '',
            ],
        ];
        $fields['color'] = [
            'label' => _x('Color', 'Outline Control', 'master-addons' ),
            'type' => Controls_Manager::COLOR,
            'selectors' => [
                '{{SELECTOR}}' => 'outline-color: {{VALUE}};',
            ],
            'condition' => [
                'outline!' => '',
            ],
        ];

        return $fields;
    }

    protected function get_default_options()
    {
        return [
            //'popover' => true,
            'popover' => [
                'starter_title' => _x('Outline', 'Outline Control', 'master-addons' ),
                'starter_name' => 'outline_wgt',
            ],
        ];
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit