%PDF- %PDF-
Direktori : /var/www/projetos/fungraca.org.br/wp-content/plugins/styler-for-wpforms/includes/ |
Current File : /var/www/projetos/fungraca.org.br/wp-content/plugins/styler-for-wpforms/includes/inner-shadow.php |
<?php $wp_customize->add_section( 'sfwf_form_id_form_inner_shadow', array( 'title' => 'Form Inner Shadow', 'panel' => 'sfwf_panel', ) ); $wp_customize->add_setting( 'sfwf_form_id_' . $current_form_id . '[box-shadow][inner-horizontal-offset]', array( 'default' => '0px', 'transport' => 'postMessage', 'type' => 'option', ) ); $wp_customize->add_control( 'sfwf_form_id_' . $current_form_id . '[box-shadow][inner-horizontal-offset]', array( 'type' => 'text', 'priority' => 10, // Within the section. 'section' => 'sfwf_form_id_form_inner_shadow', // Required, core or custom. 'label' => __( 'Horizontal Offset' ), 'input_attrs' => array( 'placeholder' => 'Example: 4px or 10%', ), ) ); $wp_customize->add_setting( 'sfwf_form_id_' . $current_form_id . '[box-shadow][inner-vertical-offset]', array( 'default' => '0px', 'transport' => 'postMessage', 'type' => 'option', ) ); $wp_customize->add_control( 'sfwf_form_id_' . $current_form_id . '[box-shadow][inner-vertical-offset]', array( 'type' => 'text', 'priority' => 10, // Within the section. 'section' => 'sfwf_form_id_form_inner_shadow', // Required, core or custom. 'label' => __( 'Vertical Offset' ), 'input_attrs' => array( 'placeholder' => 'Example: 4px or 10%', ), ) ); $wp_customize->add_setting( 'sfwf_form_id_' . $current_form_id . '[box-shadow][inner-blur-radius]', array( 'default' => '0px', 'transport' => 'postMessage', 'type' => 'option', ) ); $wp_customize->add_control( 'sfwf_form_id_' . $current_form_id . '[box-shadow][inner-blur-radius]', array( 'type' => 'text', 'priority' => 10, // Within the section. 'section' => 'sfwf_form_id_form_inner_shadow', // Required, core or custom. 'label' => __( 'Blur Radius' ), 'input_attrs' => array( 'placeholder' => 'Example: 4px or 10%', ), ) ); $wp_customize->add_setting( 'sfwf_form_id_' . $current_form_id . '[box-shadow][inner-spread-radius]', array( 'default' => '0px', 'transport' => 'postMessage', 'type' => 'option', ) ); $wp_customize->add_control( 'sfwf_form_id_' . $current_form_id . '[box-shadow][inner-spread-radius]', array( 'type' => 'text', 'priority' => 10, // Within the section. 'section' => 'sfwf_form_id_form_inner_shadow', // Required, core or custom. 'label' => __( 'Spread Radius' ), 'input_attrs' => array( 'placeholder' => 'Example: 4px or 10%', ), ) ); $wp_customize->add_setting( 'sfwf_form_id_' . $current_form_id . '[box-shadow][inner-color]', array( 'default' => '#000000', 'transport' => 'postMessage', 'type' => 'option', ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, // WP_Customize_Manager. 'sfwf_form_id_' . $current_form_id . '[box-shadow][inner-color]', // Setting id. array( // Args, including any custom ones. 'label' => __( 'Shadow Color' ), 'section' => 'sfwf_form_id_form_inner_shadow', ) ) );