PK\QtO O class-astra-font-families.phpnuW+A array( 'fallback' => 'Verdana, Arial, sans-serif', 'weights' => array( '300', '400', '700', ), ), 'Verdana' => array( 'fallback' => 'Helvetica, Arial, sans-serif', 'weights' => array( '300', '400', '700', ), ), 'Arial' => array( 'fallback' => 'Helvetica, Verdana, sans-serif', 'weights' => array( '300', '400', '700', ), ), 'Times' => array( 'fallback' => 'Georgia, serif', 'weights' => array( '300', '400', '700', ), ), 'Georgia' => array( 'fallback' => 'Times, serif', 'weights' => array( '300', '400', '700', ), ), 'Courier' => array( 'fallback' => 'monospace', 'weights' => array( '300', '400', '700', ), ), ); } return apply_filters( 'astra_system_fonts', self::$system_fonts ); } /** * Custom Fonts * * @since 1.0.19 * * @return Array All the custom fonts in Astra */ public static function get_custom_fonts() { $custom_fonts = array(); return apply_filters( 'astra_custom_fonts', $custom_fonts ); } /** * Google Fonts used in astra. * Array is generated from the google-fonts.json file. * * @since 1.0.19 * * @return Array Array of Google Fonts. */ public static function get_google_fonts() { if ( empty( self::$google_fonts ) ) { $google_fonts_file = apply_filters( 'astra_google_fonts_json_file', ASTRA_THEME_DIR . 'assets/fonts/google-fonts.json' ); if ( ! file_exists( ASTRA_THEME_DIR . 'assets/fonts/google-fonts.json' ) ) { return array(); } $file_contants = astra_filesystem()->get_contents( $google_fonts_file ); $google_fonts_json = json_decode( $file_contants, 1 ); foreach ( $google_fonts_json as $key => $font ) { $name = key( $font ); foreach ( $font[ $name ] as $font_key => $single_font ) { if ( 'variants' === $font_key ) { foreach ( $single_font as $variant_key => $variant ) { if ( 'regular' == $variant ) { $font[ $name ][ $font_key ][ $variant_key ] = '400'; } } } self::$google_fonts[ $name ] = array_values( $font[ $name ] ); } } } return apply_filters( 'astra_google_fonts', self::$google_fonts ); } } endif; PK\n ))class-astra-fonts.phpnuW+A (array) $variants, ); } } /** * Get Fonts */ public static function get_fonts() { do_action( 'astra_get_fonts' ); return apply_filters( 'astra_add_fonts', self::$fonts ); } /** * Renders the tag for all fonts in the $fonts array. * * @since 1.0.16 Added the filter 'astra_render_fonts' to support custom fonts. * @since 1.0.0 * @return void */ public static function render_fonts() { $font_list = apply_filters( 'astra_render_fonts', self::get_fonts() ); $google_fonts = array(); $font_subset = array(); $system_fonts = Astra_Font_Families::get_system_fonts(); foreach ( $font_list as $name => $font ) { if ( ! empty( $name ) && ! isset( $system_fonts[ $name ] ) ) { // Add font variants. $google_fonts[ $name ] = $font['variants']; // Add Subset. $subset = apply_filters( 'astra_font_subset', '', $name ); if ( ! empty( $subset ) ) { $font_subset[] = $subset; } } } $google_font_url = self::google_fonts_url( $google_fonts, $font_subset ); wp_enqueue_style( 'astra-google-fonts', $google_font_url, array(), ASTRA_THEME_VERSION, 'all' ); } /** * Google Font URL * Combine multiple google font in one URL * * @link https://shellcreeper.com/?p=1476 * @param array $fonts Google Fonts array. * @param array $subsets Font's Subsets array. * * @return string */ public static function google_fonts_url( $fonts, $subsets = array() ) { /* URL */ $base_url = '//fonts.googleapis.com/css'; $font_args = array(); $family = array(); // This is deprecated filter hook. $fonts = apply_filters( 'astra_google_fonts', $fonts ); $fonts = apply_filters( 'astra_google_fonts_selected', $fonts ); /* Format Each Font Family in Array */ foreach ( $fonts as $font_name => $font_weight ) { $font_name = str_replace( ' ', '+', $font_name ); if ( ! empty( $font_weight ) ) { if ( is_array( $font_weight ) ) { $font_weight = implode( ',', $font_weight ); } $font_family = explode( ',', $font_name ); $font_family = str_replace( "'", '', astra_get_prop( $font_family, 0 ) ); $family[] = trim( $font_family . ':' . rawurlencode( trim( $font_weight ) ) ); } else { $family[] = trim( $font_name ); } } /* Only return URL if font family defined. */ if ( ! empty( $family ) ) { /* Make Font Family a String */ $family = implode( '|', $family ); /* Add font family in args */ $font_args['family'] = $family; /* Add font subsets in args */ if ( ! empty( $subsets ) ) { /* format subsets to string */ if ( is_array( $subsets ) ) { $subsets = implode( ',', $subsets ); } $font_args['subset'] = rawurlencode( trim( $subsets ) ); } $font_args['display'] = astra_get_fonts_display_property(); return add_query_arg( $font_args, $base_url ); } return ''; } } PK\>qclass-astra-fonts-data.phpnuW+A'; $content .= wp_kses_post( astra_get_prop( $args, 'description' ) ); // Links. if ( astra_get_prop( $args, 'links' ) ) { $content .= ''; } $content .= ''; return $content; } } } /** * Kicking this off by calling 'get_instance()' method */ new Astra_Customizer_Config_Base(); PK\;configurations/layout/class-astra-site-identity-configs.phpnuW+A ASTRA_THEME_SETTINGS . '[divider-section-site-identity-logo]', 'type' => 'control', 'control' => 'ast-heading', 'section' => 'title_tagline', 'title' => __( 'Site Logo', 'astra' ), 'priority' => 2, 'settings' => array(), ), /** * Option: Different retina logo */ array( 'name' => ASTRA_THEME_SETTINGS . '[different-retina-logo]', 'type' => 'control', 'control' => 'checkbox', 'section' => 'title_tagline', 'title' => __( 'Different Logo For Retina Devices?', 'astra' ), 'default' => false, 'priority' => 5, ), /** * Option: Retina logo selector */ array( 'name' => ASTRA_THEME_SETTINGS . '[ast-header-retina-logo]', 'default' => astra_get_option( 'ast-header-retina-logo' ), 'type' => 'control', 'control' => 'image', 'section' => 'title_tagline', 'required' => array( ASTRA_THEME_SETTINGS . '[different-retina-logo]', '!=', 0 ), 'priority' => 5, 'title' => __( 'Retina Logo', 'astra' ), 'library_filter' => array( 'gif', 'jpg', 'jpeg', 'png', 'ico' ), ), /** * Option: Inherit Desktop logo */ array( 'name' => ASTRA_THEME_SETTINGS . '[different-mobile-logo]', 'type' => 'control', 'control' => 'checkbox', 'default' => false, 'section' => 'title_tagline', 'title' => __( 'Different Logo For Mobile Devices?', 'astra' ), 'priority' => 5, ), /** * Option: Mobile header logo */ array( 'name' => ASTRA_THEME_SETTINGS . '[mobile-header-logo]', 'default' => astra_get_option( 'mobile-header-logo' ), 'type' => 'control', 'control' => 'image', 'required' => array( ASTRA_THEME_SETTINGS . '[different-mobile-logo]', '==', '1' ), 'section' => 'title_tagline', 'priority' => 5, 'title' => __( 'Mobile Logo (optional)', 'astra' ), 'library_filter' => array( 'gif', 'jpg', 'jpeg', 'png', 'ico' ), ), /** * Option: Logo Width */ array( 'name' => ASTRA_THEME_SETTINGS . '[ast-header-responsive-logo-width]', 'type' => 'control', 'control' => 'ast-responsive-slider', 'section' => 'title_tagline', 'transport' => 'postMessage', 'default' => array( 'desktop' => '', 'tablet' => '', 'mobile' => '', ), 'priority' => 5, 'title' => __( 'Logo Width', 'astra' ), 'input_attrs' => array( 'min' => 0, 'step' => 1, 'max' => 600, ), ), /** * Option: Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[ast-site-logo-divider]', 'type' => 'control', 'control' => 'ast-heading', 'title' => __( 'Site Icon', 'astra' ), 'section' => 'title_tagline', 'priority' => 5, 'settings' => array(), ), /** * Option: Display Title */ array( 'name' => ASTRA_THEME_SETTINGS . '[display-site-title]', 'type' => 'control', 'control' => 'checkbox', 'default' => astra_get_option( 'display-site-title' ), 'section' => 'title_tagline', 'title' => __( 'Display Site Title', 'astra' ), 'priority' => 7, 'transport' => 'postMessage', 'partial' => array( 'selector' => '.main-header-bar .site-branding .ast-site-title-wrap', 'container_inclusive' => false, 'render_callback' => array( 'Astra_Customizer_Partials', 'render_header_site_title_tagline' ), ), ), /** * Option: Display Tagline */ array( 'name' => ASTRA_THEME_SETTINGS . '[display-site-tagline]', 'type' => 'control', 'control' => 'checkbox', 'transport' => 'postMessage', 'default' => astra_get_option( 'display-site-tagline' ), 'section' => 'title_tagline', 'title' => __( 'Display Site Tagline', 'astra' ), 'partial' => array( 'selector' => '.main-header-bar .site-branding .ast-site-title-wrap', 'container_inclusive' => false, 'render_callback' => array( 'Astra_Customizer_Partials', 'render_header_site_title_tagline' ), ), ), array( 'name' => ASTRA_THEME_SETTINGS . '[logo-title-inline]', 'default' => astra_get_option( 'logo-title-inline' ), 'type' => 'control', 'required' => array( 'conditions' => array( array( ASTRA_THEME_SETTINGS . '[display-site-title]', '==', true ), array( ASTRA_THEME_SETTINGS . '[display-site-tagline]', '==', true ), ), 'operator' => 'OR', ), 'control' => 'checkbox', 'section' => 'title_tagline', 'title' => __( 'Inline Logo & Site Title', 'astra' ), 'priority' => 7, ), /** * Option: Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[ast-site-icon-divider]', 'type' => 'control', 'control' => 'ast-heading', 'title' => __( 'Site Title', 'astra' ), 'section' => 'title_tagline', 'priority' => 6, 'settings' => array(), ), array( 'name' => ASTRA_THEME_SETTINGS . '[site-title-typography]', 'default' => astra_get_option( 'site-title-typography' ), 'type' => 'control', 'control' => 'ast-settings-group', 'title' => __( 'Typography', 'astra' ), 'section' => 'title_tagline', 'transport' => 'postMessage', 'priority' => 9, 'required' => array( ASTRA_THEME_SETTINGS . '[display-site-title]', '==', true, ), ), /** * Option: Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[ast-site-title-divider]', 'type' => 'control', 'control' => 'ast-heading', 'section' => 'title_tagline', 'title' => __( 'Site Tagline', 'astra' ), 'priority' => 9, 'settings' => array(), ), array( 'name' => ASTRA_THEME_SETTINGS . '[site-tagline-typography]', 'default' => astra_get_option( 'site-tagline-typography' ), 'type' => 'control', 'control' => 'ast-settings-group', 'title' => __( 'Typography', 'astra' ), 'section' => 'title_tagline', 'transport' => 'postMessage', 'priority' => 16, 'required' => array( ASTRA_THEME_SETTINGS . '[display-site-tagline]', '==', true, ), ), ); $configurations = array_merge( $configurations, $_configs ); return $configurations; } } } new Astra_Site_Identity_Configs(); PK\H_MM;configurations/layout/class-astra-footer-layout-configs.phpnuW+A ASTRA_THEME_SETTINGS . '[footer-sml-layout]', 'type' => 'control', 'control' => 'ast-radio-image', 'default' => astra_get_option( 'footer-sml-layout' ), 'section' => 'section-footer-small', 'priority' => 5, 'title' => __( 'Layout', 'astra' ), 'choices' => array( 'disabled' => array( 'label' => __( 'Disabled', 'astra' ), 'path' => ' ', ), 'footer-sml-layout-1' => array( 'label' => __( 'Footer Bar Layout 1', 'astra' ), 'path' => '', ), 'footer-sml-layout-2' => array( 'label' => __( 'Footer Bar Layout 2', 'astra' ), 'path' => '', ), ), 'partial' => array( 'selector' => '.ast-small-footer', 'container_inclusive' => false, ), ), /** * Option: Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[section-ast-small-footer-layout-info]', 'control' => 'ast-divider', 'type' => 'control', 'required' => array( ASTRA_THEME_SETTINGS . '[footer-sml-layout]', '!=', 'disabled' ), 'section' => 'section-footer-small', 'priority' => 10, 'settings' => array(), ), /** * Section: Section 1 */ array( 'name' => ASTRA_THEME_SETTINGS . '[footer-sml-section-1]', 'control' => 'select', 'default' => astra_get_option( 'footer-sml-section-1' ), 'type' => 'control', 'required' => array( ASTRA_THEME_SETTINGS . '[footer-sml-layout]', '!=', 'disabled' ), 'section' => 'section-footer-small', 'priority' => 15, 'title' => __( 'Section 1', 'astra' ), 'choices' => array( '' => __( 'None', 'astra' ), 'custom' => __( 'Text', 'astra' ), 'widget' => __( 'Widget', 'astra' ), 'menu' => __( 'Footer Menu', 'astra' ), ), 'partial' => array( 'selector' => '.ast-small-footer .ast-container .ast-footer-widget-1-area .ast-no-widget-row, .ast-small-footer .ast-container .ast-small-footer-section-1 .footer-primary-navigation .nav-menu', 'container_inclusive' => false, ), ), /** * Option: Section 1 Custom Text */ array( 'name' => ASTRA_THEME_SETTINGS . '[footer-sml-section-1-credit]', 'default' => astra_get_option( 'footer-sml-section-1-credit' ), 'type' => 'control', 'control' => 'textarea', 'transport' => 'postMessage', 'section' => 'section-footer-small', 'required' => array( 'conditions' => array( array( ASTRA_THEME_SETTINGS . '[footer-sml-section-1]', '==', array( 'custom' ) ), ), ), 'priority' => 20, 'title' => __( 'Section 1 Custom Text', 'astra' ), 'choices' => array( '' => __( 'None', 'astra' ), 'custom' => __( 'Custom Text', 'astra' ), 'widget' => __( 'Widget', 'astra' ), 'menu' => __( 'Footer Menu', 'astra' ), ), 'partial' => array( 'selector' => '.ast-small-footer .ast-container .ast-small-footer-section.ast-small-footer-section-1:has(> .ast-footer-site-title)', 'container_inclusive' => false, 'render_callback' => array( 'Astra_Customizer_Partials', 'render_footer_sml_section_1_credit' ), ), ), /** * Option: Section 2 */ array( 'name' => ASTRA_THEME_SETTINGS . '[footer-sml-section-2]', 'type' => 'control', 'control' => 'select', 'default' => astra_get_option( 'footer-sml-section-2' ), 'required' => array( ASTRA_THEME_SETTINGS . '[footer-sml-layout]', '!=', 'disabled' ), 'section' => 'section-footer-small', 'priority' => 25, 'title' => __( 'Section 2', 'astra' ), 'choices' => array( '' => __( 'None', 'astra' ), 'custom' => __( 'Text', 'astra' ), 'widget' => __( 'Widget', 'astra' ), 'menu' => __( 'Footer Menu', 'astra' ), ), 'partial' => array( 'selector' => '.ast-small-footer .ast-container .ast-footer-widget-2-area .ast-no-widget-row, .ast-small-footer .ast-container .ast-small-footer-section-2 .footer-primary-navigation .nav-menu', 'container_inclusive' => false, ), ), /** * Option: Section 2 Custom Text */ array( 'name' => ASTRA_THEME_SETTINGS . '[footer-sml-section-2-credit]', 'type' => 'control', 'control' => 'textarea', 'transport' => 'postMessage', 'default' => astra_get_option( 'footer-sml-section-2-credit' ), 'section' => 'section-footer-small', 'priority' => 30, 'required' => array( ASTRA_THEME_SETTINGS . '[footer-sml-section-2]', '==', 'custom' ), 'title' => __( 'Section 2 Custom Text', 'astra' ), 'partial' => array( 'selector' => '.ast-small-footer-section-2', 'container_inclusive' => false, 'render_callback' => array( 'Astra_Customizer_Partials', 'render_footer_sml_section_2_credit' ), ), 'partial' => array( 'selector' => '.ast-small-footer .ast-container .ast-small-footer-section.ast-small-footer-section-2:has(> .ast-footer-site-title)', 'container_inclusive' => false, ), ), /** * Option: Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[section-ast-small-footer-typography]', 'control' => 'ast-divider', 'type' => 'control', 'section' => 'section-footer-small', 'required' => array( ASTRA_THEME_SETTINGS . '[footer-sml-layout]', '!=', 'disabled' ), 'priority' => 35, 'settings' => array(), ), /** * Option: Footer Top Border */ array( 'name' => ASTRA_THEME_SETTINGS . '[footer-sml-divider]', 'type' => 'control', 'control' => 'ast-slider', 'default' => astra_get_option( 'footer-sml-divider' ), 'section' => 'section-footer-small', 'priority' => 40, 'required' => array( ASTRA_THEME_SETTINGS . '[footer-sml-layout]', '!=', 'disabled' ), 'title' => __( 'Border Size', 'astra' ), 'transport' => 'postMessage', 'input_attrs' => array( 'min' => 0, 'step' => 1, 'max' => 600, ), ), /** * Option: Footer Top Border Color */ array( 'name' => ASTRA_THEME_SETTINGS . '[footer-sml-divider-color]', 'section' => 'section-footer-small', 'default' => '#7a7a7a', 'type' => 'control', 'control' => 'ast-color', 'required' => array( ASTRA_THEME_SETTINGS . '[footer-sml-divider]', '>=', 1 ), 'priority' => 45, 'title' => __( 'Border Color', 'astra' ), 'transport' => 'postMessage', ), /** * Option: Footer Bar Color & Background Section heading */ array( 'name' => ASTRA_THEME_SETTINGS . '[footer-bar-color-background-heading-divider]', 'type' => 'control', 'control' => 'ast-heading', 'section' => 'section-footer-small', 'title' => __( 'Colors & Background', 'astra' ), 'priority' => 46, 'settings' => array(), 'required' => array( ASTRA_THEME_SETTINGS . '[footer-sml-layout]', '!=', 'disabled' ), ), /** * Option: Footer Bar Content Group */ array( 'name' => ASTRA_THEME_SETTINGS . '[footer-bar-background-group]', 'default' => astra_get_option( 'footer-bar-background-group' ), 'type' => 'control', 'control' => 'ast-settings-group', 'title' => __( 'Background', 'astra' ), 'section' => 'section-footer-small', 'transport' => 'postMessage', 'priority' => 47, 'required' => array( ASTRA_THEME_SETTINGS . '[footer-sml-layout]', '!=', 'disabled' ), ), /** * Option: Footer Bar Content Group */ array( 'name' => ASTRA_THEME_SETTINGS . '[footer-bar-content-group]', 'default' => astra_get_option( 'footer-bar-content-group' ), 'type' => 'control', 'control' => 'ast-settings-group', 'title' => __( 'Content', 'astra' ), 'section' => 'section-footer-small', 'transport' => 'postMessage', 'priority' => 47, 'required' => array( ASTRA_THEME_SETTINGS . '[footer-sml-layout]', '!=', 'disabled' ), ), /** * Option: Header Width */ array( 'name' => ASTRA_THEME_SETTINGS . '[footer-layout-width]', 'type' => 'control', 'control' => 'select', 'default' => astra_get_option( 'footer-layout-width' ), 'section' => 'section-footer-small', 'required' => array( 'conditions' => array( array( ASTRA_THEME_SETTINGS . '[site-layout]', '!=', 'ast-box-layout' ), array( ASTRA_THEME_SETTINGS . '[site-layout]', '!=', 'ast-fluid-width-layout' ), array( ASTRA_THEME_SETTINGS . '[footer-sml-layout]', '!=', 'disabled' ), ), ), 'priority' => 35, 'title' => __( 'Width', 'astra' ), 'choices' => array( 'full' => __( 'Full Width', 'astra' ), 'content' => __( 'Content Width', 'astra' ), ), ), /** * Option: Footer Widgets Layout Layout */ array( 'name' => ASTRA_THEME_SETTINGS . '[footer-adv]', 'type' => 'control', 'control' => 'ast-radio-image', 'default' => astra_get_option( 'footer-adv' ), 'title' => __( 'Layout', 'astra' ), 'section' => 'section-footer-adv', 'choices' => array( 'disabled' => array( 'label' => __( 'Disable', 'astra' ), 'path' => ' ', ), 'layout-4' => array( 'label' => __( 'Layout 4', 'astra' ), 'path' => '', ), ), 'partial' => array( 'selector' => '.footer-adv .ast-container', 'container_inclusive' => false, ), ), /** * Option: Footer Top Border */ array( 'name' => ASTRA_THEME_SETTINGS . '[footer-adv-border-width]', 'type' => 'control', 'control' => 'ast-slider', 'transport' => 'postMessage', 'section' => 'section-footer-adv', 'default' => astra_get_option( 'footer-adv-border-width' ), 'priority' => 40, 'required' => array( ASTRA_THEME_SETTINGS . '[footer-adv]', '!=', 'disabled' ), 'title' => __( 'Top Border Size', 'astra' ), 'input_attrs' => array( 'min' => 0, 'step' => 1, 'max' => 600, ), ), /** * Option: Footer Top Border Color */ array( 'name' => ASTRA_THEME_SETTINGS . '[footer-adv-border-color]', 'section' => 'section-footer-adv', 'title' => __( 'Top Border Color', 'astra' ), 'type' => 'control', 'transport' => 'postMessage', 'control' => 'ast-color', 'default' => astra_get_option( 'footer-adv-border-color' ), 'required' => array( ASTRA_THEME_SETTINGS . '[footer-adv]', '!=', 'disabled' ), 'priority' => 45, ), ); $configurations = array_merge( $configurations, $_configs ); // Learn More link if Astra Pro is not activated. if ( ! defined( 'ASTRA_EXT_VER' ) ) { $config = array( /** * Option: Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[ast-footer-widget-more-feature-divider]', 'type' => 'control', 'control' => 'ast-divider', 'section' => 'section-footer-adv', 'priority' => 999, 'settings' => array(), ), /** * Option: Learn More about Footer Widget */ array( 'name' => ASTRA_THEME_SETTINGS . '[ast-footer-widget-more-feature-description]', 'type' => 'control', 'control' => 'ast-description', 'section' => 'section-footer-adv', 'priority' => 999, 'label' => '', 'help' => '

' . __( 'More Options Available in Astra Pro!', 'astra' ) . '

' . __( 'Learn More', 'astra' ) . '', 'settings' => array(), ), ); $configurations = array_merge( $configurations, $config ); } return $configurations; } } } new Astra_Footer_Layout_Configs(); PK\ʍii;configurations/layout/class-astra-header-layout-configs.phpnuW+A __( 'None', 'astra' ), 'search' => __( 'Search', 'astra' ), 'text-html' => __( 'Text / HTML', 'astra' ), 'widget' => __( 'Widget', 'astra' ), ); $_configs = array( /** * Option: Header Layout */ array( 'name' => ASTRA_THEME_SETTINGS . '[header-layouts]', 'default' => astra_get_option( 'header-layouts' ), 'section' => 'section-header', 'priority' => 4, 'title' => __( 'Layout', 'astra' ), 'type' => 'control', 'control' => 'ast-radio-image', 'choices' => array( 'header-main-layout-1' => array( 'label' => __( 'Logo Left', 'astra' ), 'path' => '', ), 'header-main-layout-2' => array( 'label' => __( 'Logo Center', 'astra' ), 'path' => '', ), 'header-main-layout-3' => array( 'label' => __( 'Logo Right', 'astra' ), 'path' => '', ), ), ), /** * Option: Header Width */ array( 'name' => ASTRA_THEME_SETTINGS . '[header-main-layout-width]', 'default' => astra_get_option( 'header-main-layout-width' ), 'type' => 'control', 'control' => 'select', 'section' => 'section-header', 'priority' => 4, 'title' => __( 'Width', 'astra' ), 'choices' => array( 'full' => __( 'Full Width', 'astra' ), 'content' => __( 'Content Width', 'astra' ), ), ), /** * Option: Bottom Border Size */ array( 'name' => ASTRA_THEME_SETTINGS . '[header-main-sep]', 'transport' => 'postMessage', 'default' => astra_get_option( 'header-main-sep' ), 'type' => 'control', 'control' => 'number', 'section' => 'section-header', 'priority' => 4, 'title' => __( 'Bottom Border Size', 'astra' ), 'input_attrs' => array( 'min' => 0, 'step' => 1, 'max' => 600, ), ), /** * Option: Bottom Border Color */ array( 'name' => ASTRA_THEME_SETTINGS . '[header-main-sep-color]', 'transport' => 'postMessage', 'default' => '', 'type' => 'control', 'required' => array( ASTRA_THEME_SETTINGS . '[header-main-sep]', '>=', 1 ), 'control' => 'ast-color', 'section' => 'section-header', 'priority' => 4, 'title' => __( 'Bottom Border Color', 'astra' ), ), array( 'name' => 'primary-header-menu-label-divider', 'type' => 'control', 'control' => 'ast-heading', 'priority' => 5, 'title' => __( 'Menu', 'astra' ), 'section' => 'section-primary-menu', 'settings' => array(), ), array( 'name' => ASTRA_THEME_SETTINGS . '[disable-primary-nav]', 'default' => astra_get_option( 'disable-primary-nav' ), 'type' => 'control', 'control' => 'checkbox', 'section' => 'section-primary-menu', 'title' => __( 'Disable Menu', 'astra' ), 'priority' => 5, 'partial' => array( 'selector' => '.main-header-bar .main-navigation', 'container_inclusive' => false, ), ), array( 'name' => ASTRA_THEME_SETTINGS . '[header-main-rt-section]', 'default' => astra_get_option( 'header-main-rt-section' ), 'type' => 'control', 'control' => 'select', 'section' => 'section-primary-menu', 'priority' => 7, 'title' => __( 'Last Item in Menu', 'astra' ), 'choices' => apply_filters( 'astra_header_section_elements', array( 'none' => __( 'None', 'astra' ), 'search' => __( 'Search', 'astra' ), 'button' => __( 'Button', 'astra' ), 'text-html' => __( 'Text / HTML', 'astra' ), 'widget' => __( 'Widget', 'astra' ), ), 'primary-header' ), 'partial' => array( 'selector' => '.main-header-bar .main-navigation .main-header-menu .ast-masthead-custom-menu-items.search-custom-menu-item .ast-search-icon .astra-search-icon, .main-header-bar .main-navigation .main-header-menu .ast-masthead-custom-menu-items.woocommerce-custom-menu-item, .main-header-bar .ast-masthead-custom-menu-items.widget-custom-menu-item .ast-header-widget-area .widget.ast-no-widget-row, .main-header-bar .main-navigation .main-header-menu .ast-masthead-custom-menu-items.edd-custom-menu-item', 'container_inclusive' => false, ), ), /** * Option: Button Text */ array( 'name' => ASTRA_THEME_SETTINGS . '[header-main-rt-section-button-text]', 'transport' => 'postMessage', 'default' => astra_get_option( 'header-main-rt-section-button-text' ), 'type' => 'control', 'control' => 'text', 'section' => 'section-primary-menu', 'partial' => array( 'selector' => '.button-custom-menu-item', 'container_inclusive' => false, 'render_callback' => array( 'Astra_Customizer_Partials', 'render_header_main_rt_section_button_text' ), ), 'required' => array( ASTRA_THEME_SETTINGS . '[header-main-rt-section]', '===', 'button' ), 'priority' => 10, 'title' => __( 'Button Text', 'astra' ), ), /** * Option: Button Link */ array( 'name' => ASTRA_THEME_SETTINGS . '[header-main-rt-section-button-link-option]', 'default' => astra_get_option( 'header-main-rt-section-button-link-option' ), 'type' => 'control', 'control' => 'ast-link', 'section' => 'section-primary-menu', 'required' => array( ASTRA_THEME_SETTINGS . '[header-main-rt-section]', '===', 'button' ), 'priority' => 10, 'title' => __( 'Button Link', 'astra' ), ), /** * Option: Button Style */ array( 'name' => ASTRA_THEME_SETTINGS . '[header-main-rt-section-button-style]', 'default' => astra_get_option( 'header-main-rt-section-button-style' ), 'type' => 'control', 'control' => 'select', 'section' => 'section-primary-menu', 'required' => array( ASTRA_THEME_SETTINGS . '[header-main-rt-section]', '===', 'button' ), 'priority' => 10, 'choices' => array( 'theme-button' => __( 'Theme Button', 'astra' ), 'custom-button' => __( 'Header Button', 'astra' ), ), 'title' => __( 'Button Style', 'astra' ), ), /** * Option: Theme Button Style edit link */ array( 'name' => ASTRA_THEME_SETTINGS . '[header-button-style-link]', 'default' => astra_get_option( 'header-button-style-link' ), 'type' => 'control', 'control' => 'ast-customizer-link', 'section' => 'section-primary-menu', 'required' => array( array( ASTRA_THEME_SETTINGS . '[header-main-rt-section]', '===', 'button' ), array( ASTRA_THEME_SETTINGS . '[header-main-rt-section-button-style]', '===', 'theme-button' ), ), 'priority' => 10, 'link_type' => 'section', 'linked' => 'section-buttons', 'link_text' => __( 'Customize Button Style.', 'astra' ), ), /** * Option: Right Section Text / HTML */ array( 'name' => ASTRA_THEME_SETTINGS . '[header-main-rt-section-html]', 'transport' => 'postMessage', 'default' => astra_get_option( 'header-main-rt-section-html' ), 'type' => 'control', 'control' => 'textarea', 'section' => 'section-primary-menu', 'required' => array( ASTRA_THEME_SETTINGS . '[header-main-rt-section]', '===', 'text-html' ), 'priority' => 10, 'partial' => array( 'selector' => '.main-header-bar .ast-masthead-custom-menu-items .ast-custom-html', 'container_inclusive' => false, 'render_callback' => array( 'Astra_Customizer_Partials', 'render_header_main_rt_section_html' ), ), 'title' => __( 'Custom Menu Text / HTML', 'astra' ), ), array( 'name' => 'primary-header-sub-menu-label-divider', 'type' => 'control', 'control' => 'ast-heading', 'priority' => 30, 'title' => __( 'Sub Menu', 'astra' ), 'section' => 'section-primary-menu', 'settings' => array(), ), /** * Option: Submenu Container Animation */ array( 'name' => ASTRA_THEME_SETTINGS . '[header-main-submenu-container-animation]', 'default' => astra_get_option( 'header-main-submenu-container-animation' ), 'type' => 'control', 'control' => 'select', 'section' => 'section-primary-menu', 'required' => array( ASTRA_THEME_SETTINGS . '[disable-primary-nav]', '!=', true, ), 'priority' => 30, 'title' => __( 'Container Animation', 'astra' ), 'choices' => array( '' => __( 'Default', 'astra' ), 'slide-down' => __( 'Slide Down', 'astra' ), 'slide-up' => __( 'Slide Up', 'astra' ), 'fade' => __( 'Fade', 'astra' ), ), ), // Option: Primary Menu Border. array( 'type' => 'control', 'control' => 'ast-border', 'transport' => 'postMessage', 'name' => ASTRA_THEME_SETTINGS . '[primary-submenu-border]', 'section' => 'section-primary-menu', 'linked_choices' => true, 'priority' => 30, 'default' => astra_get_option( 'primary-submenu-border' ), 'title' => __( 'Container Border', 'astra' ), 'choices' => array( 'top' => __( 'Top', 'astra' ), 'right' => __( 'Right', 'astra' ), 'bottom' => __( 'Bottom', 'astra' ), 'left' => __( 'Left', 'astra' ), ), ), // Option: Submenu Container Border Color. array( 'type' => 'control', 'control' => 'ast-color', 'transport' => 'postMessage', 'name' => ASTRA_THEME_SETTINGS . '[primary-submenu-b-color]', 'default' => '', 'title' => __( 'Border Color', 'astra' ), 'section' => 'section-primary-menu', 'priority' => 30, ), array( 'type' => 'control', 'control' => 'checkbox', 'transport' => 'postMessage', 'name' => ASTRA_THEME_SETTINGS . '[primary-submenu-item-border]', 'section' => 'section-primary-menu', 'priority' => 30, 'default' => astra_get_option( 'primary-submenu-item-border' ), 'title' => __( 'Submenu Divider', 'astra' ), ), // Option: Submenu item Border Color. array( 'type' => 'control', 'control' => 'ast-color', 'transport' => 'postMessage', 'name' => ASTRA_THEME_SETTINGS . '[primary-submenu-item-b-color]', 'default' => '', 'title' => __( 'Divider Color', 'astra' ), 'section' => 'section-primary-menu', 'required' => array( ASTRA_THEME_SETTINGS . '[primary-submenu-item-border]', '==', true, ), 'priority' => 30, ), /** * Option: Mobile Menu Label Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[header-main-menu-label-divider]', 'type' => 'control', 'control' => 'ast-heading', 'section' => 'section-header', 'priority' => 35, 'title' => __( 'Mobile Header', 'astra' ), 'settings' => array(), ), /** * Option: Mobile Menu Alignment */ array( 'name' => ASTRA_THEME_SETTINGS . '[header-main-menu-align]', 'default' => astra_get_option( 'header-main-menu-align' ), 'type' => 'control', 'control' => 'ast-radio-image', 'choices' => array( 'inline' => array( 'label' => __( 'Inline', 'astra' ), 'path' => '', ), 'stack' => array( 'label' => __( 'Stack', 'astra' ), 'path' => '', ), ), 'section' => 'section-header', 'priority' => 40, 'title' => __( 'Layout', 'astra' ), ), /** * Option: Hide Last item in Menu on mobile device */ array( 'name' => ASTRA_THEME_SETTINGS . '[hide-custom-menu-mobile]', 'default' => astra_get_option( 'hide-custom-menu-mobile' ), 'type' => 'control', 'control' => 'checkbox', 'required' => array( ASTRA_THEME_SETTINGS . '[header-main-rt-section]', '!=', 'none' ), 'section' => 'section-primary-menu', 'title' => __( 'Hide Last Item in Menu on Mobile', 'astra' ), 'priority' => 7, ), /** * Option: Display outside menu */ array( 'name' => ASTRA_THEME_SETTINGS . '[header-display-outside-menu]', 'type' => 'control', 'control' => 'checkbox', 'required' => array( ASTRA_THEME_SETTINGS . '[hide-custom-menu-mobile]', '!=', '1' ), 'default' => astra_get_option( 'header-display-outside-menu' ), 'section' => 'section-primary-menu', 'title' => __( 'Take Last Item Outside Menu', 'astra' ), 'priority' => 7, ), array( 'name' => 'primary-menu-label-divider', 'type' => 'control', 'control' => 'ast-heading', 'priority' => 39, 'title' => __( 'Mobile Menu', 'astra' ), 'section' => 'section-primary-menu', 'settings' => array(), ), /** * Option: Mobile Header Breakpoint */ array( 'name' => ASTRA_THEME_SETTINGS . '[mobile-header-breakpoint]', 'default' => '', 'type' => 'control', 'control' => 'ast-slider', 'section' => 'section-primary-menu', 'priority' => 40, 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_number_n_blank' ), 'title' => __( 'Menu Breakpoint', 'astra' ), 'suffix' => '', 'input_attrs' => array( 'min' => 0, 'step' => 10, 'max' => 6000, ), ), /** * Option: Toggle on click of button or link. */ array( 'name' => ASTRA_THEME_SETTINGS . '[mobile-header-toggle-target]', 'default' => astra_get_option( 'mobile-header-toggle-target' ), 'type' => 'control', 'control' => 'select', 'section' => 'section-header', 'priority' => 42, 'title' => __( 'Dropdown Target', 'astra' ), 'suffix' => '', 'choices' => array( 'icon' => __( 'Icon', 'astra' ), 'link' => __( 'Link', 'astra' ), ), ), /** * Option: Notice to add # link to parent menu when Link option selected in Dropdown Target. */ array( 'name' => ASTRA_THEME_SETTINGS . '[mobile-header-toggle-target-link-notice]', 'type' => 'control', 'control' => 'ast-description', 'section' => 'section-header', 'priority' => 41, 'title' => '', 'required' => array( ASTRA_THEME_SETTINGS . '[mobile-header-toggle-target]', '==', 'link' ), 'help' => __( 'The parent menu should have a # link for the submenu to open on a link.', 'astra' ), 'settings' => array(), ), /** * Option: Mobile Menu Label */ array( 'name' => ASTRA_THEME_SETTINGS . '[header-main-menu-label]', 'transport' => 'postMessage', 'default' => astra_get_option( 'header-main-menu-label' ), 'section' => 'section-primary-menu', 'required' => array( 'conditions' => array( array( ASTRA_THEME_SETTINGS . '[header-main-rt-section]', '!=', array( 'none' ) ), array( ASTRA_THEME_SETTINGS . '[disable-primary-nav]', '!=', array( '1' ) ), ), 'operator' => 'OR', ), 'priority' => 40, 'title' => __( 'Menu Label', 'astra' ), 'type' => 'control', 'control' => 'text', 'partial' => array( 'selector' => '.ast-mobile-menu-buttons', 'container_inclusive' => false, ), ), /** * Option: Toggle Button Style */ array( 'name' => ASTRA_THEME_SETTINGS . '[mobile-header-toggle-btn-style]', 'default' => astra_get_option( 'mobile-header-toggle-btn-style' ), 'section' => 'section-primary-menu', 'title' => __( 'Toggle Button Style', 'astra' ), 'type' => 'control', 'control' => 'select', 'priority' => 42, 'required' => array( ASTRA_THEME_SETTINGS . '[mobile-menu-style]', '!=', 'no-toggle' ), 'choices' => array( 'fill' => __( 'Fill', 'astra' ), 'outline' => __( 'Outline', 'astra' ), 'minimal' => __( 'Minimal', 'astra' ), ), ), /** * Option: Toggle Button Color */ array( 'name' => ASTRA_THEME_SETTINGS . '[mobile-header-toggle-btn-style-color]', 'default' => astra_get_option( 'mobile-header-toggle-btn-style-color' ), 'type' => 'control', 'control' => 'ast-color', 'required' => array( ASTRA_THEME_SETTINGS . '[mobile-menu-style]', '!=', 'no-toggle' ), 'title' => __( 'Toggle Button Color', 'astra' ), 'section' => 'section-primary-menu', 'transport' => 'postMessage', 'priority' => 42, ), /** * Option: Border Radius */ array( 'name' => ASTRA_THEME_SETTINGS . '[mobile-header-toggle-btn-border-radius]', 'default' => astra_get_option( 'mobile-header-toggle-btn-border-radius' ), 'type' => 'control', 'control' => 'ast-slider', 'section' => 'section-primary-menu', 'title' => __( 'Border Radius', 'astra' ), 'required' => array( ASTRA_THEME_SETTINGS . '[mobile-header-toggle-btn-style]', '!=', 'minimal' ), 'priority' => 42, 'suffix' => '', 'transport' => 'postMessage', 'input_attrs' => array( 'min' => 0, 'step' => 1, 'max' => 100, ), ), /** * Option: Toggle on click of button or link. */ array( 'name' => ASTRA_THEME_SETTINGS . '[mobile-header-toggle-target]', 'default' => astra_get_option( 'mobile-header-toggle-target' ), 'type' => 'control', 'control' => 'select', 'section' => 'section-primary-menu', 'priority' => 42, 'title' => __( 'Dropdown Target', 'astra' ), 'suffix' => '', 'choices' => array( 'icon' => __( 'Icon', 'astra' ), 'link' => __( 'Link', 'astra' ), ), ), ); $configurations = array_merge( $configurations, $_configs ); // Learn More link if Astra Pro is not activated. if ( ! defined( 'ASTRA_EXT_VER' ) ) { $config = array( /** * Option: Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[mobile-header-more-feature-divider]', 'type' => 'control', 'control' => 'ast-divider', 'section' => 'section-header', 'priority' => 999, 'settings' => array(), ), /** * Option: Learn More about Mobile Header */ array( 'name' => ASTRA_THEME_SETTINGS . '[mobile-header-more-feature-description]', 'type' => 'control', 'control' => 'ast-description', 'section' => 'section-header', 'priority' => 999, 'title' => '', 'help' => '

' . __( 'More Options Available in Astra Pro!', 'astra' ) . '

' . __( 'Learn More', 'astra' ) . '', 'settings' => array(), ), ); $configurations = array_merge( $configurations, $config ); } return $configurations; } } } new Astra_Header_Layout_Configs(); PK\,**9configurations/layout/class-astra-blog-layout-configs.phpnuW+A ASTRA_THEME_SETTINGS . '[ast-styling-section-blog-width]', 'type' => 'control', 'control' => 'ast-divider', 'section' => 'section-blog', 'priority' => 60, 'settings' => array(), ), /** * Option: Blog Content Width */ array( 'name' => ASTRA_THEME_SETTINGS . '[blog-width]', 'default' => astra_get_option( 'blog-width' ), 'type' => 'control', 'control' => 'select', 'section' => 'section-blog', 'priority' => 50, 'title' => __( 'Content Width', 'astra' ), 'choices' => array( 'default' => __( 'Default', 'astra' ), 'custom' => __( 'Custom', 'astra' ), ), ), /** * Option: Enter Width */ array( 'name' => ASTRA_THEME_SETTINGS . '[blog-max-width]', 'type' => 'control', 'control' => 'ast-slider', 'section' => 'section-blog', 'transport' => 'postMessage', 'default' => 1200, 'priority' => 50, 'required' => array( ASTRA_THEME_SETTINGS . '[blog-width]', '===', 'custom' ), 'title' => __( 'Custom Width', 'astra' ), 'suffix' => '', 'input_attrs' => array( 'min' => 768, 'step' => 1, 'max' => 1920, ), ), /** * Option: Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[ast-styling-section-blog-width-end]', 'type' => 'control', 'control' => 'ast-divider', 'section' => 'section-blog', 'priority' => 50, 'settings' => array(), ), /** * Option: Blog Post Content */ array( 'name' => ASTRA_THEME_SETTINGS . '[blog-post-content]', 'section' => 'section-blog', 'title' => __( 'Post Content', 'astra' ), 'default' => astra_get_option( 'blog-post-content' ), 'type' => 'control', 'control' => 'select', 'priority' => 75, 'choices' => array( 'full-content' => __( 'Full Content', 'astra' ), 'excerpt' => __( 'Excerpt', 'astra' ), ), ), /** * Option: Display Post Structure */ array( 'name' => ASTRA_THEME_SETTINGS . '[blog-post-structure]', 'default' => astra_get_option( 'blog-post-structure' ), 'type' => 'control', 'control' => 'ast-sortable', 'section' => 'section-blog', 'priority' => 50, 'title' => __( 'Post Structure', 'astra' ), 'choices' => array( 'image' => __( 'Featured Image', 'astra' ), 'title-meta' => __( 'Title & Blog Meta', 'astra' ), ), ), /** * Option: Display Post Meta */ array( 'name' => ASTRA_THEME_SETTINGS . '[blog-meta]', 'type' => 'control', 'control' => 'ast-sortable', 'section' => 'section-blog', 'default' => astra_get_option( 'blog-meta' ), 'priority' => 50, 'required' => array( ASTRA_THEME_SETTINGS . '[blog-post-structure]', 'contains', 'title-meta' ), 'title' => __( 'Meta', 'astra' ), 'choices' => array( 'comments' => __( 'Comments', 'astra' ), 'category' => __( 'Category', 'astra' ), 'author' => __( 'Author', 'astra' ), 'date' => __( 'Publish Date', 'astra' ), 'tag' => __( 'Tag', 'astra' ), ), ), ); $configurations = array_merge( $configurations, $_configs ); return $configurations; } } } new Astra_Blog_Layout_Configs(); PK\GOO@configurations/layout/class-astra-blog-single-layout-configs.phpnuW+A ASTRA_THEME_SETTINGS . '[blog-single-width]', 'type' => 'control', 'control' => 'select', 'section' => 'section-blog-single', 'default' => astra_get_option( 'blog-single-width' ), 'priority' => 5, 'title' => __( 'Content Width', 'astra' ), 'choices' => array( 'default' => __( 'Default', 'astra' ), 'custom' => __( 'Custom', 'astra' ), ), 'partial' => array( 'selector' => '.ast-single-post .site-content .ast-container .content-area .entry-title', 'container_inclusive' => false, ), ), /** * Option: Enter Width */ array( 'name' => ASTRA_THEME_SETTINGS . '[blog-single-max-width]', 'type' => 'control', 'control' => 'ast-slider', 'section' => 'section-blog-single', 'transport' => 'postMessage', 'default' => 1200, 'required' => array( ASTRA_THEME_SETTINGS . '[blog-single-width]', '===', 'custom' ), 'priority' => 5, 'title' => __( 'Custom Width', 'astra' ), 'suffix' => '', 'input_attrs' => array( 'min' => 768, 'step' => 1, 'max' => 1920, ), ), /** * Option: Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[ast-styling-section-blog-single-width]', 'type' => 'control', 'control' => 'ast-divider', 'section' => 'section-blog-single', 'priority' => 5, 'settings' => array(), ), /** * Option: Display Post Structure */ array( 'name' => ASTRA_THEME_SETTINGS . '[blog-single-post-structure]', 'type' => 'control', 'control' => 'ast-sortable', 'section' => 'section-blog-single', 'default' => astra_get_option( 'blog-single-post-structure' ), 'priority' => 5, 'title' => __( 'Structure', 'astra' ), 'choices' => array( 'single-image' => __( 'Featured Image', 'astra' ), 'single-title-meta' => __( 'Title & Blog Meta', 'astra' ), ), ), /** * Option: Single Post Meta */ array( 'name' => ASTRA_THEME_SETTINGS . '[blog-single-meta]', 'type' => 'control', 'control' => 'ast-sortable', 'default' => astra_get_option( 'blog-single-meta' ), 'required' => array( ASTRA_THEME_SETTINGS . '[blog-single-post-structure]', 'contains', 'single-title-meta' ), 'section' => 'section-blog-single', 'priority' => 5, 'title' => __( 'Meta', 'astra' ), 'choices' => array( 'comments' => __( 'Comments', 'astra' ), 'category' => __( 'Category', 'astra' ), 'author' => __( 'Author', 'astra' ), 'date' => __( 'Publish Date', 'astra' ), 'tag' => __( 'Tag', 'astra' ), ), ), ); $configurations = array_merge( $configurations, $_configs ); return $configurations; } } } new Astra_Blog_Single_Layout_Configs(); PK\NcU%%9configurations/layout/class-astra-site-layout-configs.phpnuW+A ASTRA_THEME_SETTINGS . '[site-content-width]', 'type' => 'control', 'control' => 'ast-slider', 'default' => 1200, 'section' => 'section-container-layout', 'priority' => 10, 'title' => __( 'Width', 'astra' ), 'required' => array( ASTRA_THEME_SETTINGS . '[site-layout]', '==', 'ast-full-width-layout' ), 'suffix' => '', 'input_attrs' => array( 'min' => 768, 'step' => 1, 'max' => 1920, ), ), ); return array_merge( $configurations, $_configs ); } } } /** * Kicking this off by calling 'get_instance()' method */ new Astra_Site_Layout_Configs(); PK\%2<configurations/layout/class-astra-sidebar-layout-configs.phpnuW+A ASTRA_THEME_SETTINGS . '[site-sidebar-layout]', 'type' => 'control', 'control' => 'select', 'section' => 'section-sidebars', 'default' => astra_get_option( 'site-sidebar-layout' ), 'priority' => 5, 'title' => __( 'Default Layout', 'astra' ), 'choices' => array( 'no-sidebar' => __( 'No Sidebar', 'astra' ), 'left-sidebar' => __( 'Left Sidebar', 'astra' ), 'right-sidebar' => __( 'Right Sidebar', 'astra' ), ), ), /** * Option: Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[single-page-sidebar-layout-divider]', 'type' => 'control', 'control' => 'ast-divider', 'section' => 'section-sidebars', 'priority' => 5, 'settings' => array(), ), /** * Option: Page */ array( 'name' => ASTRA_THEME_SETTINGS . '[single-page-sidebar-layout]', 'type' => 'control', 'control' => 'select', 'section' => 'section-sidebars', 'default' => astra_get_option( 'single-page-sidebar-layout' ), 'priority' => 5, 'title' => __( 'Pages', 'astra' ), 'choices' => array( 'default' => __( 'Default', 'astra' ), 'no-sidebar' => __( 'No Sidebar', 'astra' ), 'left-sidebar' => __( 'Left Sidebar', 'astra' ), 'right-sidebar' => __( 'Right Sidebar', 'astra' ), ), ), /** * Option: Blog Post */ array( 'name' => ASTRA_THEME_SETTINGS . '[single-post-sidebar-layout]', 'type' => 'control', 'control' => 'select', 'default' => astra_get_option( 'single-post-sidebar-layout' ), 'section' => 'section-sidebars', 'priority' => 5, 'title' => __( 'Blog Posts', 'astra' ), 'choices' => array( 'default' => __( 'Default', 'astra' ), 'no-sidebar' => __( 'No Sidebar', 'astra' ), 'left-sidebar' => __( 'Left Sidebar', 'astra' ), 'right-sidebar' => __( 'Right Sidebar', 'astra' ), ), ), /** * Option: Blog Post Archive */ array( 'name' => ASTRA_THEME_SETTINGS . '[archive-post-sidebar-layout]', 'type' => 'control', 'control' => 'select', 'default' => astra_get_option( 'archive-post-sidebar-layout' ), 'section' => 'section-sidebars', 'priority' => 5, 'title' => __( 'Archives', 'astra' ), 'choices' => array( 'default' => __( 'Default', 'astra' ), 'no-sidebar' => __( 'No Sidebar', 'astra' ), 'left-sidebar' => __( 'Left Sidebar', 'astra' ), 'right-sidebar' => __( 'Right Sidebar', 'astra' ), ), ), /** * Option: Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[divider-section-sidebar-width]', 'type' => 'control', 'section' => 'section-sidebars', 'control' => 'ast-divider', 'priority' => 10, 'settings' => array(), ), /** * Option: Primary Content Width */ array( 'name' => ASTRA_THEME_SETTINGS . '[site-sidebar-width]', 'type' => 'control', 'control' => 'ast-slider', 'default' => 30, 'section' => 'section-sidebars', 'priority' => 15, 'title' => __( 'Sidebar Width', 'astra' ), 'suffix' => '%', 'input_attrs' => array( 'min' => 15, 'step' => 1, 'max' => 50, ), ), array( 'name' => ASTRA_THEME_SETTINGS . '[site-sidebar-width-description]', 'type' => 'control', 'control' => 'ast-description', 'section' => 'section-sidebars', 'priority' => 15, 'title' => '', 'help' => __( 'Sidebar width will apply only when one of the above sidebar is set.', 'astra' ), 'settings' => array(), ), ); return array_merge( $configurations, $_configs ); } } } new Astra_Sidebar_Layout_Configs(); PK\k##Cconfigurations/layout/class-astra-site-container-layout-configs.phpnuW+A ASTRA_THEME_SETTINGS . '[site-content-layout-divider]', 'type' => 'control', 'control' => 'ast-divider', 'section' => 'section-container-layout', 'priority' => 50, 'settings' => array(), ), /** * Option: Single Page Content Layout */ array( 'name' => ASTRA_THEME_SETTINGS . '[site-content-layout]', 'type' => 'control', 'default' => astra_get_option( 'site-content-layout' ), 'control' => 'select', 'section' => 'section-container-layout', 'priority' => 50, 'title' => __( 'Layout', 'astra' ), 'choices' => array( 'boxed-container' => __( 'Boxed', 'astra' ), 'content-boxed-container' => __( 'Content Boxed', 'astra' ), 'plain-container' => __( 'Full Width / Contained', 'astra' ), 'page-builder' => __( 'Full Width / Stretched', 'astra' ), ), ), array( 'name' => ASTRA_THEME_SETTINGS . '[single-page-content-layout]', 'type' => 'control', 'control' => 'select', 'default' => astra_get_option( 'single-page-content-layout' ), 'section' => 'section-container-layout', 'title' => __( 'Page Layout', 'astra' ), 'priority' => 55, 'choices' => array( 'default' => __( 'Default', 'astra' ), 'boxed-container' => __( 'Boxed', 'astra' ), 'content-boxed-container' => __( 'Content Boxed', 'astra' ), 'plain-container' => __( 'Full Width / Contained', 'astra' ), 'page-builder' => __( 'Full Width / Stretched', 'astra' ), ), ), array( 'name' => ASTRA_THEME_SETTINGS . '[single-post-content-layout]', 'type' => 'control', 'control' => 'select', 'default' => astra_get_option( 'single-post-content-layout' ), 'section' => 'section-container-layout', 'priority' => 60, 'title' => __( 'Blog Post Layout', 'astra' ), 'choices' => array( 'default' => __( 'Default', 'astra' ), 'boxed-container' => __( 'Boxed', 'astra' ), 'content-boxed-container' => __( 'Content Boxed', 'astra' ), 'plain-container' => __( 'Full Width / Contained', 'astra' ), 'page-builder' => __( 'Full Width / Stretched', 'astra' ), ), ), /** * Option: Archive Post Content Layout */ array( 'name' => ASTRA_THEME_SETTINGS . '[archive-post-content-layout]', 'type' => 'control', 'control' => 'select', 'default' => astra_get_option( 'archive-post-content-layout' ), 'section' => 'section-container-layout', 'priority' => 65, 'title' => __( 'Archives Layout', 'astra' ), 'choices' => array( 'default' => __( 'Default', 'astra' ), 'boxed-container' => __( 'Boxed', 'astra' ), 'content-boxed-container' => __( 'Content Boxed', 'astra' ), 'plain-container' => __( 'Full Width / Contained', 'astra' ), 'page-builder' => __( 'Full Width / Stretched', 'astra' ), ), ), /** * Option: Body Background */ array( 'name' => ASTRA_THEME_SETTINGS . '[site-layout-outside-bg-obj-responsive]', 'type' => 'control', 'control' => 'ast-responsive-background', 'default' => astra_get_option( 'site-layout-outside-bg-obj-responsive' ), 'section' => 'section-colors-body', 'transport' => 'postMessage', 'priority' => 25, 'title' => __( 'Background', 'astra' ), ), ); $configurations = array_merge( $configurations, $_configs ); // Learn More link if Astra Pro is not activated. if ( ! defined( 'ASTRA_EXT_VER' ) ) { $config = array( /** * Option: Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[ast-container-more-feature-divider]', 'type' => 'control', 'default' => astra_get_option( 'site-content-layout' ), 'control' => 'ast-divider', 'section' => 'section-container-layout', 'priority' => 999, 'settings' => array(), ), array( 'name' => ASTRA_THEME_SETTINGS . '[ast-container-more-feature-description]', 'type' => 'control', 'control' => 'ast-description', 'section' => 'section-container-layout', 'priority' => 999, 'title' => '', 'help' => '

' . __( 'More Options Available in Astra Pro!', 'astra' ) . '

' . __( 'Learn More', 'astra' ) . '', 'settings' => array(), ), ); $configurations = array_merge( $configurations, $config ); } return $configurations; } } } new Astra_Site_Container_Layout_Configs(); PK\2Ͳ2V2V@configurations/buttons/class-astra-customizer-button-configs.phpnuW+A ASTRA_THEME_SETTINGS . '[button-color-styling-divider]', 'type' => 'control', 'control' => 'ast-heading', 'section' => 'section-buttons', 'title' => __( 'Colors and Border', 'astra' ), 'priority' => 17, 'settings' => array(), ), /** * Group: Theme Button Colors Group */ array( 'name' => ASTRA_THEME_SETTINGS . '[theme-button-color-group]', 'default' => astra_get_option( 'theme-button-color-group' ), 'type' => 'control', 'control' => 'ast-settings-group', 'title' => __( 'Color', 'astra' ), 'section' => 'section-buttons', 'transport' => 'postMessage', 'priority' => 18, ), /** * Group: Theme Button Border Group */ array( 'name' => ASTRA_THEME_SETTINGS . '[theme-button-border-group]', 'default' => astra_get_option( 'theme-button-border-group' ), 'type' => 'control', 'control' => 'ast-settings-group', 'title' => __( 'Border', 'astra' ), 'section' => 'section-buttons', 'transport' => 'postMessage', 'priority' => 19, ), /** * Option: Button Color */ array( 'name' => 'button-color', 'default' => '', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[theme-button-color-group]', 'section' => 'section-buttons', 'tab' => __( 'Normal', 'astra' ), 'control' => 'ast-color', 'title' => __( 'Text Color', 'astra' ), ), /** * Option: Button Hover Color */ array( 'name' => 'button-h-color', 'default' => '', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[theme-button-color-group]', 'section' => 'section-buttons', 'tab' => __( 'Hover', 'astra' ), 'control' => 'ast-color', 'title' => __( 'Text Color', 'astra' ), ), /** * Option: Button Background Color */ array( 'name' => 'button-bg-color', 'default' => '', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[theme-button-color-group]', 'section' => 'section-buttons', 'tab' => __( 'Normal', 'astra' ), 'control' => 'ast-color', 'title' => __( 'Background Color', 'astra' ), ), /** * Option: Button Background Hover Color */ array( 'name' => 'button-bg-h-color', 'default' => '', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[theme-button-color-group]', 'section' => 'section-buttons', 'tab' => __( 'Hover', 'astra' ), 'control' => 'ast-color', 'title' => __( 'Background Color', 'astra' ), ), /** * Option: Global Button Border Size */ array( 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[theme-button-border-group]', 'section' => 'section-buttons', 'control' => 'ast-border', 'name' => 'theme-button-border-group-border-size', 'transport' => 'postMessage', 'linked_choices' => true, 'priority' => 10, 'default' => astra_get_option( 'theme-button-border-group-border-size' ), 'title' => __( 'Width', 'astra' ), 'choices' => array( 'top' => __( 'Top', 'astra' ), 'right' => __( 'Right', 'astra' ), 'bottom' => __( 'Bottom', 'astra' ), 'left' => __( 'Left', 'astra' ), ), ), /** * Option: Global Button Border Color */ array( 'name' => 'theme-button-border-group-border-color', 'default' => astra_get_option( 'theme-button-border-group-border-color' ), 'transport' => 'postMessage', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[theme-button-border-group]', 'section' => 'section-buttons', 'control' => 'ast-color', 'priority' => 12, 'title' => __( 'Color', 'astra' ), ), /** * Option: Global Button Border Hover Color */ array( 'name' => 'theme-button-border-group-border-h-color', 'default' => astra_get_option( 'theme-button-border-group-border-h-color' ), 'transport' => 'postMessage', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[theme-button-border-group]', 'section' => 'section-buttons', 'control' => 'ast-color', 'priority' => 14, 'title' => __( 'Hover Color', 'astra' ), ), /** * Option: Global Button Radius */ array( 'name' => 'button-radius', 'default' => astra_get_option( 'button-radius' ), 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[theme-button-border-group]', 'section' => 'section-buttons', 'control' => 'ast-slider', 'title' => __( 'Border Radius', 'astra' ), 'input_attrs' => array( 'min' => 0, 'step' => 1, 'max' => 200, ), ), /** * Option: Button Padding Section */ array( 'name' => ASTRA_THEME_SETTINGS . '[button-padding-styling-divider]', 'type' => 'control', 'control' => 'ast-heading', 'section' => 'section-buttons', 'title' => __( 'Spacing', 'astra' ), 'priority' => 30, 'settings' => array(), ), /** * Option: Theme Button Padding */ array( 'name' => ASTRA_THEME_SETTINGS . '[theme-button-padding]', 'default' => astra_get_option( 'theme-button-padding' ), 'type' => 'control', 'control' => 'ast-responsive-spacing', 'section' => 'section-buttons', 'title' => __( 'Padding', 'astra' ), 'linked_choices' => true, 'transport' => 'postMessage', 'unit_choices' => array( 'px', 'em', '%' ), 'choices' => array( 'top' => __( 'Top', 'astra' ), 'right' => __( 'Right', 'astra' ), 'bottom' => __( 'Bottom', 'astra' ), 'left' => __( 'Left', 'astra' ), ), 'priority' => 35, ), /** * Option: Primary Header Button Colors Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[primary-header-button-color-divider]', 'type' => 'control', 'control' => 'ast-heading', 'section' => 'section-primary-menu', 'title' => __( 'Header Button', 'astra' ), 'settings' => array(), 'priority' => 17, 'required' => array( ASTRA_THEME_SETTINGS . '[header-main-rt-section-button-style]', '===', 'custom-button' ), ), /** * Group: Primary Header Button Colors Group */ array( 'name' => ASTRA_THEME_SETTINGS . '[primary-header-button-color-group]', 'default' => astra_get_option( 'primary-header-button-color-group' ), 'type' => 'control', 'control' => 'ast-settings-group', 'title' => __( 'Colors', 'astra' ), 'section' => 'section-primary-menu', 'transport' => 'postMessage', 'priority' => 18, 'required' => array( ASTRA_THEME_SETTINGS . '[header-main-rt-section-button-style]', '===', 'custom-button' ), ), /** * Group: Primary Header Button Border Group */ array( 'name' => ASTRA_THEME_SETTINGS . '[primary-header-button-border-group]', 'default' => astra_get_option( 'primary-header-button-border-group' ), 'type' => 'control', 'control' => 'ast-settings-group', 'title' => __( 'Border', 'astra' ), 'section' => 'section-primary-menu', 'transport' => 'postMessage', 'priority' => 19, 'required' => array( ASTRA_THEME_SETTINGS . '[header-main-rt-section-button-style]', '===', 'custom-button' ), ), /** * Option: Button Text Color */ array( 'name' => 'header-main-rt-section-button-text-color', 'transport' => 'postMessage', 'default' => astra_get_option( 'header-main-rt-section-button-text-color' ), 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[primary-header-button-color-group]', 'section' => 'section-primary-menu', 'tab' => __( 'Normal', 'astra' ), 'control' => 'ast-color', 'priority' => 10, 'title' => __( 'Text Color', 'astra' ), ), /** * Option: Button Text Hover Color */ array( 'name' => 'header-main-rt-section-button-text-h-color', 'default' => astra_get_option( 'header-main-rt-section-button-text-h-color' ), 'transport' => 'postMessage', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[primary-header-button-color-group]', 'section' => 'section-primary-menu', 'tab' => __( 'Hover', 'astra' ), 'control' => 'ast-color', 'priority' => 10, 'title' => __( 'Text Color', 'astra' ), ), /** * Option: Button Background Color */ array( 'name' => 'header-main-rt-section-button-back-color', 'default' => astra_get_option( 'header-main-rt-section-button-back-color' ), 'transport' => 'postMessage', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[primary-header-button-color-group]', 'section' => 'section-primary-menu', 'tab' => __( 'Normal', 'astra' ), 'control' => 'ast-color', 'priority' => 10, 'title' => __( 'Background Color', 'astra' ), ), /** * Option: Button Button Hover Color */ array( 'name' => 'header-main-rt-section-button-back-h-color', 'default' => astra_get_option( 'header-main-rt-section-button-back-h-color' ), 'transport' => 'postMessage', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[primary-header-button-color-group]', 'section' => 'section-primary-menu', 'tab' => __( 'Hover', 'astra' ), 'control' => 'ast-color', 'priority' => 10, 'title' => __( 'Background Color', 'astra' ), ), // Option: Custom Menu Button Border. array( 'type' => 'control', 'control' => 'ast-responsive-spacing', 'name' => ASTRA_THEME_SETTINGS . '[header-main-rt-section-button-padding]', 'section' => 'section-primary-menu', 'transport' => 'postMessage', 'linked_choices' => true, 'priority' => 20, 'required' => array( ASTRA_THEME_SETTINGS . '[header-main-rt-section-button-style]', '===', 'custom-button' ), 'default' => astra_get_option( 'header-main-rt-section-button-padding' ), 'title' => __( 'Padding', 'astra' ), 'choices' => array( 'top' => __( 'Top', 'astra' ), 'right' => __( 'Right', 'astra' ), 'bottom' => __( 'Bottom', 'astra' ), 'left' => __( 'Left', 'astra' ), ), ), /** * Option: Button Border Size */ array( 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[primary-header-button-border-group]', 'section' => 'section-primary-menu', 'control' => 'ast-border', 'name' => 'header-main-rt-section-button-border-size', 'transport' => 'postMessage', 'linked_choices' => true, 'priority' => 10, 'default' => astra_get_option( 'header-main-rt-section-button-border-size' ), 'title' => __( 'Width', 'astra' ), 'choices' => array( 'top' => __( 'Top', 'astra' ), 'right' => __( 'Right', 'astra' ), 'bottom' => __( 'Bottom', 'astra' ), 'left' => __( 'Left', 'astra' ), ), ), /** * Option: Button Border Color */ array( 'name' => 'header-main-rt-section-button-border-color', 'default' => astra_get_option( 'header-main-rt-section-button-border-color' ), 'transport' => 'postMessage', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[primary-header-button-border-group]', 'section' => 'section-primary-menu', 'control' => 'ast-color', 'priority' => 12, 'title' => __( 'Color', 'astra' ), ), /** * Option: Button Border Hover Color */ array( 'name' => 'header-main-rt-section-button-border-h-color', 'default' => astra_get_option( 'header-main-rt-section-button-border-h-color' ), 'transport' => 'postMessage', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[primary-header-button-border-group]', 'section' => 'section-primary-menu', 'control' => 'ast-color', 'priority' => 14, 'title' => __( 'Hover Color', 'astra' ), ), /** * Option: Button Border Radius */ array( 'name' => 'header-main-rt-section-button-border-radius', 'default' => astra_get_option( 'header-main-rt-section-button-border-radius' ), 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[primary-header-button-border-group]', 'section' => 'section-primary-menu', 'control' => 'ast-slider', 'transport' => 'postMessage', 'priority' => 16, 'title' => __( 'Border Radius', 'astra' ), 'input_attrs' => array( 'min' => 0, 'step' => 1, 'max' => 100, ), ), /** * Option: Transparent Header Button Colors Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[transparent-header-button-color-divider]', 'type' => 'control', 'control' => 'ast-heading', 'section' => 'section-transparent-header', 'title' => __( 'Header Button', 'astra' ), 'settings' => array(), 'priority' => 40, 'required' => array( ASTRA_THEME_SETTINGS . '[header-main-rt-section-button-style]', '===', 'custom-button' ), ), /** * Group: Transparent Header Button Colors Group */ array( 'name' => ASTRA_THEME_SETTINGS . '[transparent-header-button-color-group]', 'default' => astra_get_option( 'transparent-header-button-color-group' ), 'type' => 'control', 'control' => 'ast-settings-group', 'title' => __( 'Colors', 'astra' ), 'section' => 'section-transparent-header', 'transport' => 'postMessage', 'priority' => 40, 'required' => array( ASTRA_THEME_SETTINGS . '[header-main-rt-section-button-style]', '===', 'custom-button' ), ), /** * Group: Transparent Header Button Border Group */ array( 'name' => ASTRA_THEME_SETTINGS . '[transparent-header-button-border-group]', 'default' => astra_get_option( 'transparent-header-button-border-group' ), 'type' => 'control', 'control' => 'ast-settings-group', 'title' => __( 'Border', 'astra' ), 'section' => 'section-transparent-header', 'transport' => 'postMessage', 'priority' => 40, 'required' => array( ASTRA_THEME_SETTINGS . '[header-main-rt-section-button-style]', '===', 'custom-button' ), ), /** * Option: Button Text Color */ array( 'name' => 'header-main-rt-trans-section-button-text-color', 'transport' => 'postMessage', 'default' => astra_get_option( 'header-main-rt-trans-section-button-text-color' ), 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[transparent-header-button-color-group]', 'section' => 'section-transparent-header', 'tab' => __( 'Normal', 'astra' ), 'control' => 'ast-color', 'priority' => 10, 'title' => __( 'Text Color', 'astra' ), ), /** * Option: Button Text Hover Color */ array( 'name' => 'header-main-rt-trans-section-button-text-h-color', 'default' => astra_get_option( 'header-main-rt-trans-section-button-text-h-color' ), 'transport' => 'postMessage', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[transparent-header-button-color-group]', 'section' => 'section-transparent-header', 'tab' => __( 'Hover', 'astra' ), 'control' => 'ast-color', 'priority' => 10, 'title' => __( 'Text Color', 'astra' ), ), /** * Option: Button Background Color */ array( 'name' => 'header-main-rt-trans-section-button-back-color', 'default' => astra_get_option( 'header-main-rt-trans-section-button-back-color' ), 'transport' => 'postMessage', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[transparent-header-button-color-group]', 'section' => 'section-transparent-header', 'tab' => __( 'Normal', 'astra' ), 'control' => 'ast-color', 'priority' => 10, 'title' => __( 'Background Color', 'astra' ), ), /** * Option: Button Button Hover Color */ array( 'name' => 'header-main-rt-trans-section-button-back-h-color', 'default' => astra_get_option( 'header-main-rt-trans-section-button-back-h-color' ), 'transport' => 'postMessage', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[transparent-header-button-color-group]', 'section' => 'section-transparent-header', 'tab' => __( 'Hover', 'astra' ), 'control' => 'ast-color', 'priority' => 10, 'title' => __( 'Background Color', 'astra' ), ), // Option: Custom Menu Button Border. array( 'type' => 'control', 'control' => 'ast-responsive-spacing', 'name' => ASTRA_THEME_SETTINGS . '[header-main-rt-trans-section-button-padding]', 'section' => 'section-transparent-header', 'transport' => 'postMessage', 'linked_choices' => true, 'priority' => 40, 'required' => array( ASTRA_THEME_SETTINGS . '[header-main-rt-section-button-style]', '===', 'custom-button' ), 'default' => astra_get_option( 'header-main-rt-trans-section-button-padding' ), 'title' => __( 'Padding', 'astra' ), 'choices' => array( 'top' => __( 'Top', 'astra' ), 'right' => __( 'Right', 'astra' ), 'bottom' => __( 'Bottom', 'astra' ), 'left' => __( 'Left', 'astra' ), ), ), /** * Option: Button Border Size */ array( 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[transparent-header-button-border-group]', 'section' => 'section-transparent-header', 'control' => 'ast-border', 'name' => 'header-main-rt-trans-section-button-border-size', 'transport' => 'postMessage', 'linked_choices' => true, 'priority' => 10, 'default' => astra_get_option( 'header-main-rt-trans-section-button-border-size' ), 'title' => __( 'Width', 'astra' ), 'choices' => array( 'top' => __( 'Top', 'astra' ), 'right' => __( 'Right', 'astra' ), 'bottom' => __( 'Bottom', 'astra' ), 'left' => __( 'Left', 'astra' ), ), ), /** * Option: Button Border Color */ array( 'name' => 'header-main-rt-trans-section-button-border-color', 'default' => astra_get_option( 'header-main-rt-trans-section-button-border-color' ), 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[transparent-header-button-border-group]', 'section' => 'section-transparent-header', 'transport' => 'postMessage', 'control' => 'ast-color', 'priority' => 12, 'title' => __( 'Color', 'astra' ), ), /** * Option: Button Border Hover Color */ array( 'name' => 'header-main-rt-trans-section-button-border-h-color', 'default' => astra_get_option( 'header-main-rt-trans-section-button-border-h-color' ), 'transport' => 'postMessage', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[transparent-header-button-border-group]', 'control' => 'ast-color', 'priority' => 14, 'title' => __( 'Hover Color', 'astra' ), ), /** * Option: Button Border Radius */ array( 'name' => 'header-main-rt-trans-section-button-border-radius', 'default' => astra_get_option( 'header-main-rt-trans-section-button-border-radius' ), 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[transparent-header-button-border-group]', 'section' => 'section-transparent-header', 'control' => 'ast-slider', 'transport' => 'postMessage', 'priority' => 16, 'title' => __( 'Border Radius', 'astra' ), 'input_attrs' => array( 'min' => 0, 'step' => 1, 'max' => 100, ), ), ); return array_merge( $configurations, $_configs ); } } } /** * Kicking this off by calling 'get_instance()' method */ new Astra_Customizer_Button_Configs(); PK\-6) ) Dconfigurations/colors-background/class-astra-body-colors-configs.phpnuW+A ASTRA_THEME_SETTINGS . '[text-color]', 'default' => '#3a3a3a', 'type' => 'control', 'control' => 'ast-color', 'section' => 'section-colors-body', 'priority' => 5, 'title' => __( 'Text Color', 'astra' ), ), /** * Option: Theme Color */ array( 'name' => ASTRA_THEME_SETTINGS . '[theme-color]', 'type' => 'control', 'control' => 'ast-color', 'section' => 'section-colors-body', 'default' => '#0274be', 'priority' => 5, 'title' => __( 'Theme Color', 'astra' ), ), /** * Option: Link Color */ array( 'name' => ASTRA_THEME_SETTINGS . '[link-color]', 'section' => 'section-colors-body', 'type' => 'control', 'control' => 'ast-color', 'default' => '#0274be', 'priority' => 5, 'title' => __( 'Link Color', 'astra' ), ), /** * Option: Link Hover Color */ array( 'name' => ASTRA_THEME_SETTINGS . '[link-h-color]', 'section' => 'section-colors-body', 'default' => '#3a3a3a', 'type' => 'control', 'control' => 'ast-color', 'priority' => 15, 'title' => __( 'Link Hover Color', 'astra' ), ), /** * Option: Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[divider-outside-bg-color]', 'type' => 'control', 'control' => 'ast-divider', 'section' => 'section-colors-body', 'priority' => 20, 'settings' => array(), ), ); $configurations = array_merge( $configurations, $_configs ); return $configurations; } } } new Astra_Body_Colors_Configs(); PK\Zqj j Fconfigurations/colors-background/class-astra-footer-colors-configs.phpnuW+A 'footer-color', 'type' => 'sub-control', 'tab' => __( 'Normal', 'astra' ), 'priority' => 5, 'parent' => ASTRA_THEME_SETTINGS . '[footer-bar-content-group]', 'section' => 'section-footer-small', 'control' => 'ast-color', 'title' => __( 'Text Color', 'astra' ), 'default' => '', ), /** * Option: Link Color */ array( 'name' => 'footer-link-color', 'type' => 'sub-control', 'tab' => __( 'Normal', 'astra' ), 'priority' => 6, 'parent' => ASTRA_THEME_SETTINGS . '[footer-bar-content-group]', 'section' => 'section-footer-small', 'control' => 'ast-color', 'default' => '', 'title' => __( 'Link Color', 'astra' ), ), /** * Option: Link Hover Color */ array( 'name' => 'footer-link-h-color', 'type' => 'sub-control', 'tab' => __( 'Hover', 'astra' ), 'priority' => 5, 'parent' => ASTRA_THEME_SETTINGS . '[footer-bar-content-group]', 'section' => 'section-footer-small', 'control' => 'ast-color', 'title' => __( 'Link Color', 'astra' ), 'default' => '', ), /** * Option: Footer Background */ array( 'name' => 'footer-bg-obj', 'type' => 'sub-control', 'priority' => 7, 'parent' => ASTRA_THEME_SETTINGS . '[footer-bar-background-group]', 'section' => 'section-footer-small', 'control' => 'ast-background', 'default' => astra_get_option( 'footer-bg-obj' ), 'label' => __( 'Background', 'astra' ), ), ); $configurations = array_merge( $configurations, $_configs ); return $configurations; } } } new Astra_Footer_Colors_Configs(); PK\k^Oconfigurations/colors-background/class-astra-advanced-footer-colors-configs.phpnuW+A ASTRA_THEME_SETTINGS . '[footer-widget-color-background-heading-divider]', 'type' => 'control', 'control' => 'ast-heading', 'section' => 'section-footer-adv', 'title' => __( 'Colors & Background', 'astra' ), 'priority' => 46, 'settings' => array(), 'required' => array( ASTRA_THEME_SETTINGS . '[footer-adv]', '!=', 'disabled' ), ), /** * Option: Footer Bar Content Group */ array( 'name' => ASTRA_THEME_SETTINGS . '[footer-widget-background-group]', 'default' => astra_get_option( 'footer-widget-background-group' ), 'type' => 'control', 'control' => 'ast-settings-group', 'title' => __( 'Background', 'astra' ), 'section' => 'section-footer-adv', 'transport' => 'postMessage', 'priority' => 46, 'required' => array( ASTRA_THEME_SETTINGS . '[footer-adv]', '!=', 'disabled' ), ), /** * Option: Footer Bar Content Group */ array( 'name' => ASTRA_THEME_SETTINGS . '[footer-widget-content-group]', 'default' => astra_get_option( 'footer-widget-content-group' ), 'type' => 'control', 'control' => 'ast-settings-group', 'title' => __( 'Content', 'astra' ), 'section' => 'section-footer-adv', 'transport' => 'postMessage', 'priority' => 46, 'required' => array( ASTRA_THEME_SETTINGS . '[footer-adv]', '!=', 'disabled' ), ), /** * Option: Widget Title Color */ array( 'name' => 'footer-adv-wgt-title-color', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[footer-widget-content-group]', 'section' => 'section-footer-adv', 'tab' => __( 'Normal', 'astra' ), 'control' => 'ast-color', 'title' => __( 'Title Color', 'astra' ), 'default' => '', ), /** * Option: Text Color */ array( 'name' => 'footer-adv-text-color', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[footer-widget-content-group]', 'section' => 'section-footer-adv', 'tab' => __( 'Normal', 'astra' ), 'control' => 'ast-color', 'title' => __( 'Text Color', 'astra' ), 'default' => '', ), /** * Option: Link Color */ array( 'name' => 'footer-adv-link-color', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[footer-widget-content-group]', 'section' => 'section-footer-adv', 'tab' => __( 'Normal', 'astra' ), 'control' => 'ast-color', 'title' => __( 'Link Color', 'astra' ), 'default' => '', ), /** * Option: Link Hover Color */ array( 'name' => 'footer-adv-link-h-color', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[footer-widget-content-group]', 'section' => 'section-footer-adv', 'tab' => __( 'Hover', 'astra' ), 'control' => 'ast-color', 'title' => __( 'Link Color', 'astra' ), 'default' => '', ), /** * Option: Footer widget Background */ array( 'name' => 'footer-adv-bg-obj', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[footer-widget-background-group]', 'section' => 'section-footer-adv', 'control' => 'ast-background', 'default' => astra_get_option( 'footer-adv-bg-obj' ), 'label' => __( 'Background', 'astra' ), ), ); $configurations = array_merge( $configurations, $_configs ); return $configurations; } } } new Astra_Advanced_Footer_Colors_Configs(); PK\SAƴ>configurations/typography/class-astra-content-typo-configs.phpnuW+A ASTRA_THEME_SETTINGS . '[divider-section-h1]', 'type' => 'control', 'control' => 'ast-heading', 'section' => 'section-content-typo', 'priority' => 4, 'title' => __( 'Heading 1', 'astra' ), 'settings' => array(), ), /** * Option: Heading 1 (H1) Font Size */ array( 'name' => ASTRA_THEME_SETTINGS . '[font-size-h1]', 'type' => 'control', 'control' => 'ast-responsive', 'section' => 'section-content-typo', 'default' => astra_get_option( 'font-size-h1' ), 'transport' => 'postMessage', 'priority' => 6, 'title' => __( 'Size', 'astra' ), 'input_attrs' => array( 'min' => 0, ), 'units' => array( 'px' => 'px', 'em' => 'em', ), ), /** * Option: Heading 2 (H2) Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[divider-section-h2]', 'type' => 'control', 'control' => 'ast-heading', 'section' => 'section-content-typo', 'priority' => 9, 'title' => __( 'Heading 2', 'astra' ), 'settings' => array(), ), /** * Option: Heading 2 (H2) Font Size */ array( 'name' => ASTRA_THEME_SETTINGS . '[font-size-h2]', 'type' => 'control', 'control' => 'ast-responsive', 'section' => 'section-content-typo', 'default' => astra_get_option( 'font-size-h2' ), 'transport' => 'postMessage', 'priority' => 11, 'title' => __( 'Size', 'astra' ), 'input_attrs' => array( 'min' => 0, ), 'units' => array( 'px' => 'px', 'em' => 'em', ), ), /** * Option: Heading 3 (H3) Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[divider-section-h3]', 'type' => 'control', 'control' => 'ast-heading', 'section' => 'section-content-typo', 'priority' => 15, 'title' => __( 'Heading 3', 'astra' ), 'settings' => array(), ), /** * Option: Heading 3 (H3) Font Size */ array( 'name' => ASTRA_THEME_SETTINGS . '[font-size-h3]', 'type' => 'control', 'control' => 'ast-responsive', 'section' => 'section-content-typo', 'priority' => 16, 'default' => astra_get_option( 'font-size-h3' ), 'transport' => 'postMessage', 'title' => __( 'Size', 'astra' ), 'input_attrs' => array( 'min' => 0, ), 'units' => array( 'px' => 'px', 'em' => 'em', ), ), /** * Option: Heading 4 (H4) Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[divider-section-h4]', 'type' => 'control', 'title' => __( 'Heading 4', 'astra' ), 'section' => 'section-content-typo', 'control' => 'ast-heading', 'priority' => 20, 'settings' => array(), ), /** * Option: Heading 4 (H4) Font Size */ array( 'name' => ASTRA_THEME_SETTINGS . '[font-size-h4]', 'type' => 'control', 'control' => 'ast-responsive', 'section' => 'section-content-typo', 'default' => astra_get_option( 'font-size-h4' ), 'transport' => 'postMessage', 'priority' => 21, 'title' => __( 'Size', 'astra' ), 'input_attrs' => array( 'min' => 0, ), 'units' => array( 'px' => 'px', 'em' => 'em', ), ), /** * Option: Heading 5 (H5) Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[divider-section-h5]', 'type' => 'control', 'control' => 'ast-heading', 'section' => 'section-content-typo', 'priority' => 25, 'title' => __( 'Heading 5', 'astra' ), 'settings' => array(), ), /** * Option: Heading 5 (H5) Font Size */ array( 'name' => ASTRA_THEME_SETTINGS . '[font-size-h5]', 'type' => 'control', 'control' => 'ast-responsive', 'section' => 'section-content-typo', 'default' => astra_get_option( 'font-size-h5' ), 'transport' => 'postMessage', 'priority' => 26, 'title' => __( 'Size', 'astra' ), 'input_attrs' => array( 'min' => 0, ), 'units' => array( 'px' => 'px', 'em' => 'em', ), ), /** * Option: Heading 6 (H6) Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[divider-section-h6]', 'type' => 'control', 'control' => 'ast-heading', 'title' => __( 'Heading 6', 'astra' ), 'section' => 'section-content-typo', 'priority' => 30, 'settings' => array(), ), /** * Option: Heading 6 (H6) Font Size */ array( 'name' => ASTRA_THEME_SETTINGS . '[font-size-h6]', 'type' => 'control', 'control' => 'ast-responsive', 'section' => 'section-content-typo', 'default' => astra_get_option( 'font-size-h6' ), 'transport' => 'postMessage', 'priority' => 31, 'title' => __( 'Size', 'astra' ), 'input_attrs' => array( 'min' => 0, ), 'units' => array( 'px' => 'px', 'em' => 'em', ), ), ); $configurations = array_merge( $configurations, $_configs ); // Learn More link if Astra Pro is not activated. if ( ! defined( 'ASTRA_EXT_VER' ) ) { $_configs = array( /** * Option: Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[ast-content-typography-more-feature-divider]', 'type' => 'control', 'control' => 'ast-divider', 'section' => 'section-content-typo', 'priority' => 999, 'settings' => array(), ), /** * Option: Learn More about Contant Typography */ array( 'name' => ASTRA_THEME_SETTINGS . '[ast-content-typography-more-feature-description]', 'type' => 'control', 'control' => 'ast-description', 'section' => 'section-content-typo', 'priority' => 999, 'title' => '', 'help' => '

' . __( 'More Options Available in Astra Pro!', 'astra' ) . '

' . __( 'Learn More', 'astra' ) . '', 'settings' => array(), ), ); $configurations = array_merge( $configurations, $_configs ); } return $configurations; } } } new Astra_Content_Typo_Configs(); PK\fR7g =configurations/typography/class-astra-single-typo-configs.phpnuW+A ASTRA_THEME_SETTINGS . '[divider-section-single-post-typo]', 'type' => 'control', 'control' => 'ast-heading', 'section' => 'section-blog-single', 'priority' => 13, 'title' => __( 'Typography', 'astra' ), 'settings' => array(), ), array( 'name' => ASTRA_THEME_SETTINGS . '[blog-single-title-typo]', 'type' => 'control', 'priority' => 13, 'control' => 'ast-settings-group', 'title' => __( 'Post / Page Title', 'astra' ), 'section' => 'section-blog-single', 'transport' => 'postMessage', ), /** * Option: Single Post / Page Title Font Size */ array( 'name' => 'font-size-entry-title', 'parent' => ASTRA_THEME_SETTINGS . '[blog-single-title-typo]', 'section' => 'section-blog-single', 'type' => 'sub-control', 'control' => 'ast-responsive', 'default' => astra_get_option( 'font-size-entry-title' ), 'transport' => 'postMessage', 'priority' => 8, 'title' => __( 'Size', 'astra' ), 'input_attrs' => array( 'min' => 0, ), 'units' => array( 'px' => 'px', 'em' => 'em', ), ), ); $configurations = array_merge( $configurations, $_configs ); // Learn More link if Astra Pro is not activated. if ( ! defined( 'ASTRA_EXT_VER' ) ) { $_configs = array( /** * Option: Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[ast-sngle-blog-typography-more-feature-divider]', 'type' => 'control', 'control' => 'ast-divider', 'section' => 'section-blog-single', 'priority' => 999, 'settings' => array(), ), /** * Option: Learn More about Typography */ array( 'name' => ASTRA_THEME_SETTINGS . '[ast-sngle-blog-typography-more-feature-description]', 'type' => 'control', 'control' => 'ast-description', 'section' => 'section-blog-single', 'priority' => 999, 'title' => '', 'help' => '

' . __( 'More Options Available in Astra Pro!', 'astra' ) . '

' . __( 'Learn More', 'astra' ) . '', 'settings' => array(), ), ); $configurations = array_merge( $configurations, $_configs ); } return $configurations; } } } new Astra_Single_Typo_Configs(); PK\F%F%;configurations/typography/class-astra-body-typo-configs.phpnuW+A ASTRA_THEME_SETTINGS . '[divider-base-typo]', 'type' => 'control', 'control' => 'ast-heading', 'section' => 'section-body-typo', 'priority' => 4, 'title' => __( 'Body & Content', 'astra' ), 'settings' => array(), 'separator' => false, ), /** * Option: Font Family */ array( 'name' => ASTRA_THEME_SETTINGS . '[body-font-family]', 'type' => 'control', 'control' => 'ast-font', 'font-type' => 'ast-font-family', 'ast_inherit' => __( 'Default System Font', 'astra' ), 'default' => astra_get_option( 'body-font-family' ), 'section' => 'section-body-typo', 'priority' => 5, 'title' => __( 'Family', 'astra' ), 'connect' => ASTRA_THEME_SETTINGS . '[body-font-weight]', 'variant' => ASTRA_THEME_SETTINGS . '[body-font-variant]', ), /** * Option: Font Variant */ array( 'name' => ASTRA_THEME_SETTINGS . '[body-font-variant]', 'type' => 'control', 'control' => 'ast-font', 'font-type' => 'ast-font-variant', 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_font_variant' ), 'default' => astra_get_option( 'body-font-variant' ), 'ast_inherit' => __( 'Default', 'astra' ), 'section' => 'section-body-typo', 'priority' => 10, 'title' => __( 'Variants', 'astra' ), 'variant' => ASTRA_THEME_SETTINGS . '[body-font-family]', ), /** * Option: Font Weight */ array( 'name' => ASTRA_THEME_SETTINGS . '[body-font-weight]', 'type' => 'control', 'control' => 'ast-font', 'font-type' => 'ast-font-weight', 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_font_weight' ), 'default' => astra_get_option( 'body-font-weight' ), 'ast_inherit' => __( 'Default', 'astra' ), 'section' => 'section-body-typo', 'priority' => 15, 'title' => __( 'Weight', 'astra' ), 'connect' => ASTRA_THEME_SETTINGS . '[body-font-family]', ), /** * Option: Body Text Transform */ array( 'name' => ASTRA_THEME_SETTINGS . '[body-text-transform]', 'type' => 'control', 'control' => 'select', 'section' => 'section-body-typo', 'default' => astra_get_option( 'body-text-transform' ), 'priority' => 20, 'title' => __( 'Text Transform', 'astra' ), 'choices' => array( '' => __( 'Default', 'astra' ), 'none' => __( 'None', 'astra' ), 'capitalize' => __( 'Capitalize', 'astra' ), 'uppercase' => __( 'Uppercase', 'astra' ), 'lowercase' => __( 'Lowercase', 'astra' ), ), ), /** * Option: Body Font Size */ array( 'name' => ASTRA_THEME_SETTINGS . '[font-size-body]', 'type' => 'control', 'control' => 'ast-responsive', 'section' => 'section-body-typo', 'default' => astra_get_option( 'font-size-body' ), 'priority' => 10, 'title' => __( 'Size', 'astra' ), 'input_attrs' => array( 'min' => 0, ), 'units' => array( 'px' => 'px', ), ), /** * Option: Body Line Height */ array( 'name' => ASTRA_THEME_SETTINGS . '[body-line-height]', 'type' => 'control', 'control' => 'ast-slider', 'section' => 'section-body-typo', 'default' => '', 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_number_n_blank' ), 'priority' => 25, 'title' => __( 'Line Height', 'astra' ), 'suffix' => '', 'input_attrs' => array( 'min' => 1, 'step' => 0.01, 'max' => 5, ), ), /** * Option: Paragraph Margin Bottom */ array( 'name' => ASTRA_THEME_SETTINGS . '[para-margin-bottom]', 'type' => 'control', 'control' => 'ast-slider', 'default' => '', 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_number_n_blank' ), 'transport' => 'postMessage', 'section' => 'section-body-typo', 'priority' => 25, 'title' => __( 'Paragraph Margin Bottom', 'astra' ), 'suffix' => '', 'input_attrs' => array( 'min' => 0.5, 'step' => 0.01, 'max' => 5, ), ), /** * Option: Body & Content Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[divider-headings-typo]', 'type' => 'control', 'control' => 'ast-heading', 'section' => 'section-content-typo', 'priority' => 3, 'title' => __( 'Headings ( H1 - H6 )', 'astra' ), 'settings' => array(), 'separator' => false, ), /** * Option: Headings Font Family */ array( 'name' => ASTRA_THEME_SETTINGS . '[headings-font-family]', 'type' => 'control', 'control' => 'ast-font', 'font-type' => 'ast-font-family', 'default' => astra_get_option( 'headings-font-family' ), 'title' => __( 'Family', 'astra' ), 'section' => 'section-content-typo', 'priority' => 3, 'connect' => ASTRA_THEME_SETTINGS . '[headings-font-weight]', 'variant' => ASTRA_THEME_SETTINGS . '[headings-font-variant]', ), /** * Option: Font Variant */ array( 'name' => ASTRA_THEME_SETTINGS . '[headings-font-variant]', 'type' => 'control', 'control' => 'ast-font', 'font-type' => 'ast-font-variant', 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_font_variant' ), 'default' => astra_get_option( 'headings-font-variant' ), 'ast_inherit' => __( 'Default', 'astra' ), 'section' => 'section-content-typo', 'priority' => 3, 'title' => __( 'Variants', 'astra' ), 'variant' => ASTRA_THEME_SETTINGS . '[headings-font-family]', ), /** * Option: Headings Font Weight */ array( 'name' => ASTRA_THEME_SETTINGS . '[headings-font-weight]', 'type' => 'control', 'control' => 'ast-font', 'font-type' => 'ast-font-weight', 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_font_weight' ), 'default' => astra_get_option( 'headings-font-weight' ), 'title' => __( 'Weight', 'astra' ), 'section' => 'section-content-typo', 'priority' => 3, 'connect' => ASTRA_THEME_SETTINGS . '[headings-font-family]', ), /** * Option: Headings Text Transform */ array( 'name' => ASTRA_THEME_SETTINGS . '[headings-text-transform]', 'type' => 'control', 'control' => 'select', 'section' => 'section-content-typo', 'title' => __( 'Text Transform', 'astra' ), 'default' => astra_get_option( 'headings-text-transform' ), 'priority' => 3, 'choices' => array( '' => __( 'Inherit', 'astra' ), 'none' => __( 'None', 'astra' ), 'capitalize' => __( 'Capitalize', 'astra' ), 'uppercase' => __( 'Uppercase', 'astra' ), 'lowercase' => __( 'Lowercase', 'astra' ), ), ), /** * Option: Heading

Line Height */ array( 'name' => ASTRA_THEME_SETTINGS . '[headings-line-height]', 'section' => 'section-content-typo', 'default' => astra_get_option( 'headings-line-height' ), 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_number_n_blank' ), 'type' => 'control', 'control' => 'ast-slider', 'title' => __( 'Line Height', 'astra' ), 'transport' => 'postMessage', 'priority' => 4, 'suffix' => '', 'input_attrs' => array( 'min' => 1, 'step' => 0.01, 'max' => 5, ), 'section' => 'section-content-typo', 'transport' => 'postMessage', ), ); return array_merge( $configurations, $_configs ); } } } new Astra_Body_Typo_Configs(); PK\C=configurations/typography/class-astra-header-typo-configs.phpnuW+A 'font-size-site-title', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[site-title-typography]', 'section' => 'title_tagline', 'control' => 'ast-responsive', 'default' => astra_get_option( 'font-size-site-title' ), 'transport' => 'postMessage', 'priority' => 9, 'title' => __( 'Size', 'astra' ), 'input_attrs' => array( 'min' => 0, ), 'units' => array( 'px' => 'px', 'em' => 'em', ), ), /** * Option: Site Tagline Font Size */ array( 'name' => 'font-size-site-tagline', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[site-tagline-typography]', 'section' => 'title_tagline', 'control' => 'ast-responsive', 'default' => astra_get_option( 'font-size-site-tagline' ), 'transport' => 'postMessage', 'priority' => 15, 'title' => __( 'Size', 'astra' ), 'input_attrs' => array( 'min' => 0, ), 'units' => array( 'px' => 'px', 'em' => 'em', ), ), ); $configurations = array_merge( $configurations, $_configs ); return $configurations; } } } new Astra_Header_Typo_Configs(); PK\<~99>configurations/typography/class-astra-archive-typo-configs.phpnuW+A ASTRA_THEME_SETTINGS . '[blog-typography-divider]', 'type' => 'control', 'control' => 'ast-heading', 'section' => 'section-blog', 'title' => __( 'Typography', 'astra' ), 'priority' => 135, 'settings' => array(), ), /** * Option: Blog / Archive Typography */ array( 'name' => ASTRA_THEME_SETTINGS . '[blog-content-archive-summary-typo]', 'default' => astra_get_option( 'blog-content-archive-summary-typo' ), 'type' => 'control', 'control' => 'ast-settings-group', 'title' => __( 'Archive Title', 'astra' ), 'section' => 'section-blog', 'transport' => 'postMessage', 'priority' => 140, ), array( 'name' => ASTRA_THEME_SETTINGS . '[blog-content-blog-post-title-typo]', 'default' => astra_get_option( 'blog-content-blog-post-title-typo' ), 'type' => 'control', 'control' => 'ast-settings-group', 'title' => __( 'Post Title', 'astra' ), 'section' => 'section-blog', 'transport' => 'postMessage', 'priority' => 140, ), /** * Option: Blog - Post Title Font Size */ array( 'name' => 'font-size-page-title', 'parent' => ASTRA_THEME_SETTINGS . '[blog-content-blog-post-title-typo]', 'section' => 'section-blog', 'type' => 'sub-control', 'control' => 'ast-responsive', 'transport' => 'postMessage', 'priority' => 2, 'default' => astra_get_option( 'font-size-page-title' ), 'title' => __( 'Size', 'astra' ), 'input_attrs' => array( 'min' => 0, ), 'units' => array( 'px' => 'px', 'em' => 'em', ), ), /** * Option: Archive Summary Box Title Font Size */ array( 'name' => 'font-size-archive-summary-title', 'parent' => ASTRA_THEME_SETTINGS . '[blog-content-archive-summary-typo]', 'section' => 'section-blog', 'type' => 'sub-control', 'control' => 'ast-responsive', 'transport' => 'postMessage', 'default' => astra_get_option( 'font-size-archive-summary-title' ), 'priority' => 8, 'title' => __( 'Size', 'astra' ), 'input_attrs' => array( 'min' => 0, ), 'units' => array( 'px' => 'px', 'em' => 'em', ), ), ); $configurations = array_merge( $configurations, $_configs ); // Learn More link if Astra Pro is not activated. if ( ! defined( 'ASTRA_EXT_VER' ) ) { $_configs = array( /** * Option: Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[ast-blog-typography-more-feature-divider]', 'type' => 'control', 'control' => 'ast-divider', 'section' => 'section-blog', 'priority' => 999, 'settings' => array(), ), /** * Option: Learn More about Contant Typography */ array( 'name' => ASTRA_THEME_SETTINGS . '[ast-blog-typography-more-feature-description]', 'type' => 'control', 'control' => 'ast-description', 'section' => 'section-blog', 'priority' => 999, 'title' => '', 'help' => '

' . __( 'More Options Available in Astra Pro!', 'astra' ) . '

' . __( 'Learn More', 'astra' ) . '', 'settings' => array(), ), ); $configurations = array_merge( $configurations, $_configs ); } return $configurations; } } } new Astra_Archive_Typo_Configs(); PK\Q**3class-astra-customizer-register-sections-panels.phpnuW+A 'panel-global', 'type' => 'panel', 'priority' => 10, 'title' => __( 'Global', 'astra' ), ), array( 'name' => 'section-container-layout', 'type' => 'section', 'priority' => 17, 'title' => __( 'Container', 'astra' ), 'panel' => 'panel-global', 'description_hidden' => true, 'description' => $this->section_get_description( array( 'description' => '

' . __( 'Helpful Information', 'astra' ) . '

', 'links' => array( array( 'text' => __( 'Site Layout Overview', 'astra' ) . ' »', 'attrs' => array( 'href' => astra_get_pro_url( 'https://wpastra.com/docs/site-layout-overview/', 'customizer', 'site-layout', 'helpful-information' ), ), ), array( 'text' => __( 'Container Overview', 'astra' ) . ' »', 'attrs' => array( 'href' => astra_get_pro_url( 'https://wpastra.com/docs/container-overview/', 'customizer', 'container', 'helpful-information' ), ), ), ), ) ), ), /* * Header section * * @since 1.4.0 */ array( 'name' => 'panel-header-group', 'type' => 'panel', 'priority' => 20, 'title' => __( 'Header', 'astra' ), ), /* * Update the Site Identity section inside Layout -> Header * * @since 1.4.0 */ array( 'name' => 'title_tagline', 'type' => 'section', 'priority' => 5, 'title' => __( 'Site Identity', 'astra' ), 'panel' => 'panel-header-group', 'description_hidden' => true, 'description' => $this->section_get_description( array( 'description' => '

' . __( 'Helpful Information', 'astra' ) . '

', 'links' => array( array( 'text' => __( 'Site Identity Overview', 'astra' ) . ' »', 'attrs' => array( 'href' => astra_get_pro_url( 'https://wpastra.com/docs/site-identity-free/', 'customizer', 'site-identity', 'helpful-information' ), ), ), ), ) ), ), /* * Update the Primary Header section * * @since 1.4.0 */ array( 'name' => 'section-header', 'type' => 'section', 'priority' => 15, 'title' => __( 'Primary Header', 'astra' ), 'panel' => 'panel-header-group', 'description_hidden' => true, 'description' => $this->section_get_description( array( 'description' => '

' . __( 'Helpful Information', 'astra' ) . '

', 'links' => array( array( 'text' => __( 'Primary Header Overview', 'astra' ) . ' »', 'attrs' => array( 'href' => astra_get_pro_url( 'https://wpastra.com/docs/header-overview/', 'customizer', 'primary-header', 'helpful-information' ), ), ), ), ) ), ), array( 'name' => 'section-primary-menu', 'type' => 'section', 'priority' => 15, 'title' => __( 'Primary Menu', 'astra' ), 'panel' => 'panel-header-group', ), array( 'name' => 'section-footer-group', 'type' => 'section', 'title' => __( 'Footer', 'astra' ), 'priority' => 55, ), array( 'name' => 'section-separator', 'type' => 'section', 'priority' => 70, 'section_callback' => 'Astra_WP_Customize_Separator', ), /** * Footer Widgets Section */ array( 'name' => 'section-footer-adv', 'type' => 'section', 'title' => __( 'Footer Widgets', 'astra' ), 'section' => 'section-footer-group', 'priority' => 5, ), array( 'name' => 'section-footer-small', 'type' => 'section', 'title' => __( 'Footer Bar', 'astra' ), 'section' => 'section-footer-group', 'priority' => 10, 'description_hidden' => true, 'description' => $this->section_get_description( array( 'description' => '

' . __( 'Helpful Information', 'astra' ) . '

', 'links' => array( array( 'text' => __( 'Footer Bar Overview', 'astra' ) . ' »', 'attrs' => array( 'href' => astra_get_pro_url( 'https://wpastra.com/docs/footer-bar/', 'customizer', 'footer-bar', 'helpful-information' ), ), ), ), ) ), ), array( 'name' => 'section-blog-group', 'type' => 'section', 'priority' => 40, 'title' => __( 'Blog', 'astra' ), ), array( 'name' => 'section-blog', 'type' => 'section', 'priority' => 5, 'title' => __( 'Blog / Archive', 'astra' ), 'section' => 'section-blog-group', ), array( 'name' => 'section-blog-single', 'type' => 'section', 'priority' => 10, 'title' => __( 'Single Post', 'astra' ), 'section' => 'section-blog-group', ), array( 'name' => 'section-sidebars', 'type' => 'section', 'priority' => 50, 'title' => __( 'Sidebar', 'astra' ), 'description_hidden' => true, 'description' => $this->section_get_description( array( 'description' => '

' . __( 'Helpful Information', 'astra' ) . '

', 'links' => array( array( 'text' => __( 'Sidebar Overview', 'astra' ) . ' »', 'attrs' => array( 'href' => astra_get_pro_url( 'https://wpastra.com/docs/sidebar-free/', 'customizer', 'sidebar', 'helpful-information' ), ), ), ), ) ), ), /** * Colors Panel */ array( 'name' => 'section-colors-background', 'type' => 'section', 'priority' => 16, 'title' => __( 'Colors', 'astra' ), 'description_hidden' => true, 'description' => $this->section_get_description( array( 'description' => '

' . __( 'Helpful Information', 'astra' ) . '

', 'links' => array( array( 'text' => __( 'Colors & Background Overview', 'astra' ) . ' »', 'attrs' => array( 'href' => astra_get_pro_url( 'https://wpastra.com/docs/colors-background/', 'customizer', 'colors-background', 'helpful-information' ), ), ), ), ) ), 'panel' => 'panel-global', ), array( 'name' => 'section-colors-body', 'type' => 'section', 'title' => __( 'Base Colors', 'astra' ), 'panel' => 'panel-global', 'priority' => 1, 'section' => 'section-colors-background', ), array( 'name' => 'section-footer-adv-color-bg', 'type' => 'section', 'title' => __( 'Footer Widgets', 'astra' ), 'panel' => 'panel-colors-background', 'priority' => 55, ), /** * Typography Panel */ array( 'name' => 'section-typography', 'type' => 'section', 'title' => __( 'Typography', 'astra' ), 'priority' => 15, 'description_hidden' => true, 'description' => $this->section_get_description( array( 'description' => '

' . __( 'Helpful Information', 'astra' ) . '

', 'links' => array( array( 'text' => __( 'Typography Overview', 'astra' ) . ' »', 'attrs' => array( 'href' => astra_get_pro_url( 'https://wpastra.com/docs/typography-free/', 'customizer', 'typography', 'helpful-information' ), ), ), ), ) ), 'panel' => 'panel-global', ), array( 'name' => 'section-body-typo', 'type' => 'section', 'title' => __( 'Base Typography', 'astra' ), 'section' => 'section-typography', 'priority' => 1, 'panel' => 'panel-global', ), array( 'name' => 'section-content-typo', 'type' => 'section', 'title' => __( 'Headings', 'astra' ), 'section' => 'section-typography', 'priority' => 35, 'panel' => 'panel-global', ), /** * Buttons Section */ array( 'name' => 'section-buttons', 'type' => 'section', 'priority' => 50, 'title' => __( 'Buttons', 'astra' ), 'panel' => 'panel-global', ), /** * Header Buttons */ array( 'name' => 'section-header-button', 'type' => 'section', 'priority' => 10, 'title' => __( 'Header Button', 'astra' ), 'section' => 'section-buttons', ), /** * Header Button - Default */ array( 'name' => 'section-header-button-default', 'type' => 'section', 'priority' => 10, 'title' => __( 'Primary Header Button', 'astra' ), 'section' => 'section-header-button', ), /** * Header Button - Transparent */ array( 'name' => 'section-header-button-transparent', 'type' => 'section', 'priority' => 10, 'title' => __( 'Transparent Header Button', 'astra' ), 'section' => 'section-header-button', ), /** * Widget Areas Section */ array( 'name' => 'section-widget-areas', 'type' => 'section', 'priority' => 55, 'title' => __( 'Widget Areas', 'astra' ), ), ); return array_merge( $configurations, $configs ); } } } /** * Kicking this off by calling 'get_instance()' method */ new Astra_Customizer_Register_Sections_Panels(); PK\ޚ8``customizer-controls.phpnuW+Ajson['default'] = $this->setting->default; if ( isset( $this->default ) ) { $this->json['default'] = $this->default; } $this->json['value'] = $this->value(); $this->json['link'] = $this->get_link(); $this->json['id'] = $this->id; $this->json['label'] = esc_html( $this->label ); $this->json['suffix'] = $this->suffix; $this->json['inputAttrs'] = ''; foreach ( $this->input_attrs as $attr => $value ) { $this->json['inputAttrs'] .= $attr . '="' . esc_attr( $value ) . '" '; } } /** * Enqueue control related scripts/styles. * * @access public */ public function enqueue() { wp_localize_script( 'custom-control-script', 'astraCustomizerControlBackground', array( 'placeholder' => __( 'No file selected', 'astra' ), 'lessSettings' => __( 'Less Settings', 'astra' ), 'moreSettings' => __( 'More Settings', 'astra' ), ) ); } /** * An Underscore (JS) template for this control's content (but not its container). * * Class variables for this control class are available in the `data` JS object; * export custom variables by overriding {@see WP_Customize_Control::to_json()}. * * @see WP_Customize_Control::print_template() * * @access protected */ protected function content_template() { ?>
<# if ( data.value['desktop']['background-image'] ) { #>
<# } else { #>
<# } #>
<# if ( data.value['desktop']['background-image'] ) { #> <# } else { #> <# } #>

checked="checked" <# } #>> checked="checked" <# } #>> checked="checked" <# } #>>

checked="checked" <# } #>> checked="checked" <# } #>> checked="checked" <# } #>>
<# if ( data.value['tablet']['background-image'] ) { #>
<# } else { #>
<# } #>
<# if ( data.value['tablet']['background-image'] ) { #> <# } else { #> <# } #>

checked="checked" <# } #>> checked="checked" <# } #>> checked="checked" <# } #>>

checked="checked" <# } #>> checked="checked" <# } #>> checked="checked" <# } #>>
<# if ( data.value['mobile']['background-image'] ) { #>
<# } else { #>
<# } #>
<# if ( data.value['mobile']['background-image'] ) { #> <# } else { #> <# } #>

checked="checked" <# } #>> checked="checked" <# } #>> checked="checked" <# } #>>

checked="checked" <# } #>> checked="checked" <# } #>> checked="checked" <# } #>>
custom-controls/responsive-background/responsive-background.jsnuW+AjQuery(window).on("load", function() { jQuery('html').addClass('responsive-background-img-ready'); }); wp.customize.controlConstructor['ast-responsive-background'] = wp.customize.Control.extend({ // When we're finished loading continue processing ready: function() { 'use strict'; var control = this; // Init the control. control.initAstBgControl(); control.astResponsiveInit(); }, initAstBgControl: function() { var control = this, value = control.setting._value, picker = control.container.find( '.ast-responsive-bg-color-control' ); // Hide unnecessary controls if the value doesn't have an image. if ( _.isUndefined( value['desktop']['background-image']) || '' === value['desktop']['background-image']) { control.container.find( '.background-wrapper > .background-container.desktop > .background-repeat' ).hide(); control.container.find( '.background-wrapper > .background-container.desktop > .background-position' ).hide(); control.container.find( '.background-wrapper > .background-container.desktop > .background-size' ).hide(); control.container.find( '.background-wrapper > .background-container.desktop > .background-attachment' ).hide(); } if ( _.isUndefined( value['tablet']['background-image']) || '' === value['tablet']['background-image']) { control.container.find( '.background-wrapper > .background-container.tablet > .background-repeat' ).hide(); control.container.find( '.background-wrapper > .background-container.tablet > .background-position' ).hide(); control.container.find( '.background-wrapper > .background-container.tablet > .background-size' ).hide(); control.container.find( '.background-wrapper > .background-container.tablet > .background-attachment' ).hide(); } if ( _.isUndefined( value['mobile']['background-image']) || '' === value['mobile']['background-image']) { control.container.find( '.background-wrapper > .background-container.mobile > .background-repeat' ).hide(); control.container.find( '.background-wrapper > .background-container.mobile > .background-position' ).hide(); control.container.find( '.background-wrapper > .background-container.mobile > .background-size' ).hide(); control.container.find( '.background-wrapper > .background-container.mobile > .background-attachment' ).hide(); } // Color. picker.wpColorPicker({ change: function(event, ui) { var device = jQuery( this ).data( 'id' ); if ( jQuery('html').hasClass('responsive-background-img-ready') ) { control.saveValue( device, 'background-color', ui.color.toString() ); } }, /** * @param {Event} event - standard jQuery event, produced by "Clear" * button. */ clear: function (event) { var element = jQuery(event.target).closest('.wp-picker-input-wrap').find('.wp-color-picker')[0], responsive_input = jQuery( this ), screen = responsive_input.closest('.wp-picker-input-wrap').find('.wp-color-picker').data( 'id' ); if (element) { control.saveValue( screen, 'background-color', '' ); } } }); // Background-Repeat. control.container.on( 'change', '.background-repeat select', function() { var responsive_input = jQuery( this ), screen = responsive_input.data( 'id' ), item_value = responsive_input.val(); control.saveValue( screen, 'background-repeat', item_value ); }); // Background-Size. control.container.on( 'change click', '.background-size input', function() { var responsive_input = jQuery( this ), screen = responsive_input.data( 'id' ), item_value = responsive_input.val(); responsive_input.parent( '.buttonset' ).find( '.switch-input' ).removeAttr('checked'); responsive_input.attr( 'checked', 'checked' ); control.saveValue( screen, 'background-size', item_value ); }); // Background-Position. control.container.on( 'change', '.background-position select', function() { var responsive_input = jQuery( this ), screen = responsive_input.data( 'id' ), item_value = responsive_input.val(); control.saveValue( screen, 'background-position', item_value ); }); // Background-Attachment. control.container.on( 'change click', '.background-attachment input', function() { var responsive_input = jQuery( this ), screen = responsive_input.data( 'id' ), item_value = responsive_input.val(); responsive_input.parent( '.buttonset' ).find( '.switch-input' ).removeAttr('checked'); responsive_input.attr( 'checked', 'checked' ); control.saveValue( screen, 'background-attachment', item_value ); }); // Background-Image. control.container.on( 'click', '.background-image-upload-button', function( e ) { var responsive_input = jQuery( this ), screen = responsive_input.data( 'id' ); var image = wp.media({ multiple: false }).open().on( 'select', function() { // This will return the selected image from the Media Uploader, the result is an object. var uploadedImage = image.state().get( 'selection' ).first(), previewImage = uploadedImage.toJSON().sizes.full.url, imageUrl, imageID, imageWidth, imageHeight, preview, removeButton; if ( ! _.isUndefined( uploadedImage.toJSON().sizes.medium ) ) { previewImage = uploadedImage.toJSON().sizes.medium.url; } else if ( ! _.isUndefined( uploadedImage.toJSON().sizes.thumbnail ) ) { previewImage = uploadedImage.toJSON().sizes.thumbnail.url; } imageUrl = uploadedImage.toJSON().sizes.full.url; imageID = uploadedImage.toJSON().id; imageWidth = uploadedImage.toJSON().width; imageHeight = uploadedImage.toJSON().height; // Show extra controls if the value has an image. if ( '' !== imageUrl ) { control.container.find( '.background-wrapper > .background-repeat, .background-wrapper > .background-position, .background-wrapper > .background-size, .background-wrapper > .background-attachment' ).show(); } control.saveValue( screen, 'background-image', imageUrl ); preview = control.container.find( '.background-container.'+screen+' .placeholder, .background-container.'+screen+' .thumbnail' ); removeButton = control.container.find( '.background-container.'+screen+' .background-image-upload-remove-button' ); if ( preview.length ) { preview.removeClass().addClass( 'thumbnail thumbnail-image' ).html( '' ); } if ( removeButton.length ) { removeButton.show(); } }); e.preventDefault(); }); control.container.on( 'click', '.background-image-upload-remove-button', function( e ) { var preview, removeButton, responsive_input = jQuery( this ), screen = responsive_input.data( 'id' ); e.preventDefault(); control.saveValue( screen, 'background-image', '' ); preview = control.container.find( '.background-container.'+ screen +' .placeholder, .background-container.'+ screen +' .thumbnail' ); removeButton = control.container.find( '.background-container.'+ screen +' .background-image-upload-remove-button' ); // Hide unnecessary controls. control.container.find( '.background-wrapper > .background-container.'+ screen +' > .background-repeat' ).hide(); control.container.find( '.background-wrapper > .background-container.'+ screen +' > .background-position' ).hide(); control.container.find( '.background-wrapper > .background-container.'+ screen +' > .background-size' ).hide(); control.container.find( '.background-wrapper > .background-container.'+ screen +' > .background-attachment' ).hide(); control.container.find( '.background-container.'+ screen +' .more-settings' ).attr('data-direction', 'down'); control.container.find( '.background-container.'+ screen +' .more-settings' ).find('.message').html( astraCustomizerControlBackground.moreSettings ); control.container.find( '.background-container.'+ screen +' .more-settings' ).find('.icon').html( '↓' ); if ( preview.length ) { preview.removeClass().addClass( 'placeholder' ).html( astraCustomizerControlBackground.placeholder ); } if ( removeButton.length ) { removeButton.hide(); } }); control.container.on( 'click', '.more-settings', function( e ) { var responsive_input = jQuery( this ), screen = responsive_input.data( 'id' ); // Hide unnecessary controls. control.container.find( '.background-wrapper > .background-container.'+ screen +' > .background-repeat' ).toggle(); control.container.find( '.background-wrapper > .background-container.'+ screen +' > .background-position' ).toggle(); control.container.find( '.background-wrapper > .background-container.'+ screen +' > .background-size' ).toggle(); control.container.find( '.background-wrapper > .background-container.'+ screen +' > .background-attachment' ).toggle(); if( 'down' === jQuery(this).attr( 'data-direction' ) ) { jQuery(this).attr('data-direction', 'up'); jQuery(this).find('.message').html( astraCustomizerControlBackground.lessSettings ) jQuery(this).find('.icon').html( '↑' ); } else { jQuery(this).attr('data-direction', 'down'); jQuery(this).find('.message').html( astraCustomizerControlBackground.moreSettings ) jQuery(this).find('.icon').html( '↓' ); } }); }, astResponsiveInit : function() { 'use strict'; this.container.find( '.ast-responsive-btns button' ).on( 'click', function( event ) { var device = jQuery(this).attr('data-device'); if( 'desktop' == device ) { device = 'tablet'; } else if( 'tablet' == device ) { device = 'mobile'; } else { device = 'desktop'; } jQuery( '.wp-full-overlay-footer .devices button[data-device="' + device + '"]' ).trigger( 'click' ); }); }, /** * Saves the value. */ saveValue: function( screen, property, value ) { var control = this, input = jQuery( '#customize-control-' + control.id.replace( '[', '-' ).replace( ']', '' ) + ' .responsive-background-hidden-value' ), val = control.setting._value; val[ screen ][ property ] = value; jQuery( input ).attr( 'value', JSON.stringify( val ) ).trigger( 'change' ); control.setting.set( val ); } }); jQuery(' .wp-full-overlay-footer .devices button ').on('click', function() { var device = jQuery(this).attr('data-device'); jQuery( '.customize-control-ast-responsive-background .background-container, .customize-control .ast-responsive-btns > li' ).removeClass( 'active' ); jQuery( '.customize-control-ast-responsive-background .background-container.' + device + ', .customize-control .ast-responsive-btns > li.' + device ).addClass( 'active' ); });PK\7b0 0 Ccustom-controls/responsive-background/responsive-background-rtl.cssnuW+A.customize-control-ast-responsive-background { position: relative; } .customize-control-ast-responsive-background .wp-picker-clear { margin-right: 2%; } .customize-control-ast-responsive-background .screen-reader-text { top: initial; } .customize-control-ast-responsive-background .background-container h4 { font-size: 14px; font-weight: 600; color: #555d66; } .customize-control-ast-responsive-background .background-attachment h4, .customize-control-ast-responsive-background .background-color h4, .customize-control-ast-responsive-background .background-position h4, .customize-control-ast-responsive-background .background-repeat h4, .customize-control-ast-responsive-background .background-size h4 { margin-bottom: 5px; margin-top: 10px; } .customize-control-ast-responsive-background .background-color { margin-bottom: 12px; } .customize-control-ast-responsive-background .background-repeat { margin: 15px 0 15px 0; } .customize-control-ast-responsive-background .background-attachment .buttonset, .customize-control-ast-responsive-background .background-size .buttonset { display: flex; flex-wrap: wrap; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-label, .customize-control-ast-responsive-background .background-size .buttonset .switch-label { background: #ffffff; border: 1px solid rgba(0, 0, 0, 0.1); color: #555; padding: 2px 4px; margin-left: 15px; text-align: center; flex-grow: 1; transition: background-color 140ms linear; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-label:last-child, .customize-control-ast-responsive-background .background-size .buttonset .switch-label:last-child { margin-left: 0; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-input:checked + .switch-label, .customize-control-ast-responsive-background .background-size .buttonset .switch-input:checked + .switch-label { background-color: #f5f5f5; color: #565e67; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-input[checked="checked"] + .switch-label, .customize-control-ast-responsive-background .background-size .buttonset .switch-input[checked="checked"] + .switch-label { background-color: #f5f5f5; color: #565e67; } .customize-control-ast-responsive-background .more-settings { margin-top: 6px; display: inline-block; padding: 5px 0 5px 0; float: left; } .customize-control-ast-responsive-background .more-settings:focus { outline: 0; box-shadow: none; } .customize-control-ast-responsive-background .arrow-icon { margin-right: 5px; } .customize-control-ast-responsive-background .background-container { display: none; } .customize-control-ast-responsive-background .background-container.active { display: block; } PK\VMj;;custom-controls/link/link.scssnuW+A.ast-link-open-in-new-tab-wrapper { margin: 10px 0; }PK\ custom-controls/link/link.jsnuW+A( function( $ ) { /** * File link.js * * Handles the link * * @package Astra */ wp.customize.controlConstructor['ast-link'] = wp.customize.Control.extend({ ready: function() { 'use strict'; var control = this; var data = jQuery( '.customize-link-control-data' ).data('value'); // Save the value. this.container.on( 'change keyup', '.ast-link-input', function(e) { e.preventDefault(); value = jQuery( this ).val(); data.url = value; jQuery('.customize-link-control-data').attr('data-value', JSON.stringify( data )).trigger( 'change' ); // Update value on change. control.setting.set( data ); }); // Save the value. this.container.on( 'change click', '.ast-link-open-in-new-tab', function() { value = jQuery( this ).is(":checked"); data.new_tab = value; jQuery('.customize-link-control-data').attr('data-value', JSON.stringify( data )).trigger( 'change' ); // Update value on change. control.setting.set( data ); }); // Save the value. this.container.on( 'change keyup', '.ast-link-relationship', function(e) { e.preventDefault(); value = jQuery( this ).val(); data.link_rel = value; jQuery('.customize-link-control-data').attr('data-value', JSON.stringify( data )).trigger( 'change' ); // Update value on change. control.setting.set( data ); }); }, }); })(jQuery); PK\Gk k 1custom-controls/link/class-astra-control-link.phpnuW+Ajson['default'] = $this->setting->default; if ( isset( $this->default ) ) { $this->json['default'] = $this->default; } $this->json['value'] = $this->value(); $this->json['label'] = esc_html( $this->label ); } /** * An Underscore (JS) template for this control's content (but not its container). * * Class variables for this control class are available in the `data` JS object; * export custom variables by overriding {@see WP_Customize_Control::to_json()}. * * @see WP_Customize_Control::print_template() * * @access protected */ protected function content_template() { ?> <# var name = data.settings.default; name = name.replace( '[', '-' ); name = name.replace( ']', '' ); if ( data.label ) { #> <# } #>
li { margin-bottom: 0; display: none; &.active { display: inline-block; } } button[type="button"] { padding: 0; cursor: pointer; background: none; border: none; opacity: .75; outline: none; > i { width: 15px; height: 15px; font-size: 15px; } } }PK\}}Kcustom-controls/responsive-slider/class-astra-control-responsive-slider.phpnuW+Ajson['default'] = $this->setting->default; if ( isset( $this->default ) ) { $this->json['default'] = $this->default; } $val = maybe_unserialize( $this->value() ); if ( ! is_array( $val ) || is_numeric( $val ) ) { $val = array( 'desktop' => $val, 'tablet' => '', 'mobile' => '', ); } $this->json['value'] = $val; $this->json['link'] = $this->get_link(); $this->json['id'] = $this->id; $this->json['label'] = esc_html( $this->label ); $this->json['suffix'] = $this->suffix; $this->json['inputAttrs'] = ''; foreach ( $this->input_attrs as $attr => $value ) { $this->json['inputAttrs'] .= $attr . '="' . esc_attr( $value ) . '" '; } } /** * An Underscore (JS) template for this control's content (but not its container). * * Class variables for this control class are available in the `data` JS object; * export custom variables by overriding {@see WP_Customize_Control::to_json()}. * * @see WP_Customize_Control::print_template() * * @access protected */ protected function content_template() { $reset = __( 'Back to default', 'astra' ); ?> li' ).removeClass( 'active' ); jQuery( '.customize-control-ast-responsive-slider .input-field-wrapper.' + device + ', .customize-control .ast-responsive-slider-btns > li.' + device ).addClass( 'active' ); }); })(jQuery); PK\ Ecustom-controls/settings-group/class-astra-control-settings-group.phpnuW+Ajson['label'] = esc_html( $this->label ); $this->json['text'] = $this->text; $this->json['help'] = $this->help; $this->json['name'] = $this->name; $config = array(); if ( isset( Astra_Customizer::$group_configs[ $this->name ]['tabs'] ) ) { $tab = array_keys( Astra_Customizer::$group_configs[ $this->name ]['tabs'] ); foreach ( $tab as $key => $value ) { $config['tabs'][ $value ] = wp_list_sort( Astra_Customizer::$group_configs[ $this->name ]['tabs'][ $value ], 'priority' ); } } else { if ( isset( Astra_Customizer::$group_configs[ $this->name ] ) ) { $config = wp_list_sort( Astra_Customizer::$group_configs[ $this->name ], 'priority' ); } } $this->json['ast_fields'] = $config; } /** * An Underscore (JS) template for this control's content (but not its container). * * Class variables for this control class are available in the `data` JS object; * export custom variables by overriding {@see WP_Customize_Control::to_json()}. * * @see WP_Customize_Control::print_template() * * @access protected */ protected function content_template() { ?>
-1 ) ) { var parent_width_remove = 6; } else { var parent_width_remove = 16; } jQuery('#customize-controls .wp-full-overlay-sidebar-content .control-section').on( 'scroll', function (event) { var $this = jQuery(this); // Run sticky js for only open section. if ( $this.hasClass( 'open' ) ) { var section_title = $this.find( '.customize-section-title' ); var scroll_top = $this.scrollTop(); if ( scroll_top > last_scroll_top ) { // On scroll down, remove sticky section title. section_title.removeClass( 'maybe-sticky' ).removeClass( 'is-in-view' ).removeClass( 'is-sticky' ); $this.css( 'padding-top', '' ); } else { // On scroll up, add sticky section title. var parent_width = $this.outerWidth(); section_title.addClass( 'maybe-sticky' ).addClass( 'is-in-view' ).addClass( 'is-sticky' ).width( parent_width - parent_width_remove ).css( 'top', parentSection.css( 'top' ) ); if ( ! ( browser.indexOf( 'firefox' ) > -1 ) ) { $this.css( 'padding-top', section_title.height() ); } if( scroll_top === 0 ) { // Remove sticky section heading when scrolled to the top. section_title.removeClass( 'maybe-sticky' ).removeClass( 'is-in-view' ).removeClass( 'is-sticky' ); $this.css( 'padding-top', '' ); } } last_scroll_top = scroll_top; } }); }); wp.customize.controlConstructor['ast-settings-group'] = wp.customize.Control.extend({ ready : function() { 'use strict'; var control = this, value = control.setting._value; control.registerToggleEvents(); this.container.on( 'ast_settings_changed', control.onOptionChange ); }, registerToggleEvents: function() { var control = this; /* Close popup when click outside anywhere outside of popup */ $( '.wp-full-overlay-sidebar-content, .wp-picker-container' ).click( function( e ) { if ( ! $( e.target ).closest( '.ast-field-settings-modal' ).length ) { $( '.ast-adv-toggle-icon.open' ).trigger( 'click' ); } }); control.container.on( 'click', '.ast-toggle-desc-wrap .ast-adv-toggle-icon', function( e ) { e.preventDefault(); e.stopPropagation(); var $this = jQuery(this); var parent_wrap = $this.closest( '.customize-control-ast-settings-group' ); var is_loaded = parent_wrap.find( '.ast-field-settings-modal' ).data('loaded'); var parent_section = parent_wrap.parents('.control-section'); if( $this.hasClass('open') ) { parent_wrap.find( '.ast-field-settings-modal' ).hide(); } else { /* Close popup when another popup is clicked to open */ var get_open_popup = parent_section.find('.ast-adv-toggle-icon.open'); if( get_open_popup.length > 0 ) { get_open_popup.trigger('click'); } if( is_loaded ) { parent_wrap.find( '.ast-field-settings-modal' ).show(); } else { var fields = control.params.ast_fields; var $modal_wrap = $( astra.customizer.group_modal_tmpl ); parent_wrap.find( '.ast-field-settings-wrap' ).append( $modal_wrap ); parent_wrap.find( '.ast-fields-wrap' ).attr( 'data-control', control.params.name ); control.ast_render_field( parent_wrap, fields, control ); parent_wrap.find( '.ast-field-settings-modal' ).show(); device = jQuery("#customize-footer-actions .active").attr('data-device'); if( 'mobile' == device ) { jQuery('.ast-responsive-btns .mobile, .ast-responsive-slider-btns .mobile').addClass('active'); jQuery('.ast-responsive-btns .preview-mobile, .ast-responsive-slider-btns .preview-mobile').addClass('active'); } else if( 'tablet' == device ) { jQuery('.ast-responsive-btns .tablet, .ast-responsive-slider-btns .tablet').addClass('active'); jQuery('.ast-responsive-btns .preview-tablet, .ast-responsive-slider-btns .preview-tablet').addClass('active'); } else { jQuery('.ast-responsive-btns .desktop, .ast-responsive-slider-btns .desktop').addClass('active'); jQuery('.ast-responsive-btns .preview-desktop, .ast-responsive-slider-btns .preview-desktop').addClass('active'); } } } $this.toggleClass('open'); }); control.container.on( "click", ".ast-toggle-desc-wrap > .customizer-text", function( e ) { e.preventDefault(); e.stopPropagation(); jQuery(this).find( '.ast-adv-toggle-icon' ).trigger('click'); }); }, ast_render_field: function( wrap, fields, control_elem ) { var control = this; var ast_field_wrap = wrap.find( '.ast-fields-wrap' ); var fields_html = ''; var control_types = []; var field_values = control.isJsonString( control_elem.params.value ) ? JSON.parse( control_elem.params.value ) : {}; if( 'undefined' != typeof fields.tabs ) { var clean_param_name = control_elem.params.name.replace( '[', '-' ), clean_param_name = clean_param_name.replace( ']', '' ); fields_html += '
'; fields_html += ''; fields_html += '
'; _.each( fields.tabs, function ( fields_data, key ) { fields_html += '
'; var result = control.generateFieldHtml( fields_data, field_values ); fields_html += result.html; _.each( result.controls , function ( control_value, control_key ) { control_types.push({ key: control_value.key, value : control_value.value, name : control_value.name }); }); fields_html += '
'; }); fields_html += '
'; ast_field_wrap.html( fields_html ); $( "#" + clean_param_name + "-tabs" ).tabs(); } else { var result = control.generateFieldHtml( fields, field_values ); fields_html += result.html; _.each( result.controls, function (control_value, control_key) { control_types.push({ key: control_value.key, value: control_value.value, name: control_value.name }); }); ast_field_wrap.html(fields_html); } _.each( control_types, function( control_type, index ) { switch( control_type.key ) { case "ast-responsive-color": control.initResponsiveColor( ast_field_wrap, control_elem, control_type.name ); break; case "ast-color": control.initColor( ast_field_wrap, control_elem, control_type.name ); break; case "ast-font": var googleFontsString = astra.customizer.settings.google_fonts; control.container.find( '.ast-font-family' ).html( googleFontsString ); control.container.find( '.ast-font-family' ).each( function() { var selectedValue = $(this).data('value'); $(this).val( selectedValue ); var optionName = $(this).data('name'); // Set inherit option text defined in control parameters. $("select[data-name='" + optionName + "'] option[value='inherit']").text( $(this).data('inherit') ); var fontWeightContainer = jQuery(".ast-font-weight[data-connected-control='" + optionName + "']"); var weightObject = AstTypography._getWeightObject( AstTypography._cleanGoogleFonts( selectedValue ) ); control.generateDropdownHtml( weightObject, fontWeightContainer ); fontWeightContainer.val( fontWeightContainer.data('value') ); }); control.container.find( '.ast-font-family' ).selectWoo(); control.container.find( '.ast-font-family' ).on( 'select2:select', function() { var value = $(this).val(); var weightObject = AstTypography._getWeightObject( AstTypography._cleanGoogleFonts( value ) ); var optionName = $(this).data( 'name' ); var fontWeightContainer = jQuery(".ast-font-weight[data-connected-control='" + optionName + "']"); control.generateDropdownHtml( weightObject, fontWeightContainer ); var font_control = $(this).parents( '.customize-control' ).attr( 'id' ); font_control = font_control.replace( 'customize-control-', '' ); control.container.trigger( 'ast_settings_changed', [ control, jQuery(this), value, font_control ] ); var font_weight_control = fontWeightContainer.parents( '.customize-control' ).attr( 'id' ); font_weight_control = font_weight_control.replace( 'customize-control-', '' ); control.container.trigger( 'ast_settings_changed', [ control, fontWeightContainer, fontWeightContainer.val(), font_weight_control ] ); }); control.container.find( '.ast-font-weight' ).on( 'change', function() { var value = $(this).val(); name = $(this).parents( '.customize-control' ).attr( 'id' ); name = name.replace( 'customize-control-', '' ); control.container.trigger( 'ast_settings_changed', [ control, jQuery(this), value, name ] ); }); break; case "ast-responsive": control.initResponsiveTrigger( ast_field_wrap, control_elem ); control.container.on( 'change keyup paste', 'input.ast-responsive-input, select.ast-responsive-select', function() { name = $(this).parents( '.customize-control' ).attr( 'id' ); name = name.replace( 'customize-control-', '' ); // Update value on change. control.updateResonsiveValue( jQuery(this), name ); }); break; case "ast-select": control.container.on( 'change', '.ast-select-input', function() { var value = jQuery( this ).val(); name = $(this).parents( '.customize-control' ).attr( 'id' ); name = name.replace( 'customize-control-', '' ); control.container.trigger( 'ast_settings_changed', [ control, jQuery(this), value, name ] ); }); break; case "ast-slider": control.container.on('input change', 'input[type=range]', function () { var value = jQuery(this).attr('value'), input_number = jQuery(this).closest('.wrapper').find('.astra_range_value .value'); input_number.val(value); name = $(this).parents( '.customize-control' ).attr( 'id' ); name = name.replace( 'customize-control-', '' ); control.container.trigger('ast_settings_changed', [control, input_number, value, name]); }); // Handle the reset button. control.container.on( 'click', '.ast-slider-reset', function () { var wrapper = jQuery(this).closest('.wrapper'), input_range = wrapper.find('input[type=range]'), input_number = wrapper.find('.astra_range_value .value'), default_value = input_range.data('reset_value'); input_range.val(default_value); input_number.val(default_value); name = $(this).parents( '.customize-control' ).attr( 'id' ); name = name.replace( 'customize-control-', '' ); control.container.trigger('ast_settings_changed', [control, input_number, default_value, name]); }); // Save changes. control.container.find( '.customize-control-ast-slider' ).on('input change', 'input[type=number]', function () { var value = jQuery(this).val(); jQuery(this).closest('.wrapper').find('input[type=range]').val(value); name = $(this).parents( '.customize-control' ).attr( 'id' ); name = name.replace( 'customize-control-', '' ); control.container.trigger('ast_settings_changed', [control, jQuery(this), value, name]); }); break; case "ast-responsive-background": control.initAstResonsiveBgControl( control_elem, control_type, control_type.name ); break; case "ast-background": control.initAstBgControl( control_elem, control_type, control_type.name ); break; case "ast-border": control.initAstBorderControl( control_elem, control_type, control_type.name ); break; } }); wrap.find( '.ast-field-settings-modal' ).data( 'loaded', true ); }, initAstBorderControl: function( control_elem, control_type, name ) { var control = this, value = control.setting._value, control_name = control_type.name; // Save the value. this.container.on( 'change keyup paste', 'input.ast-border-input', function() { // Update value on change. control.saveBorderValue( 'border', jQuery( this ).val(), jQuery( this ), name ); }); // Connected button jQuery( '.ast-border-connected' ).on( 'click', function() { // Remove connected class jQuery(this).parent().parent( '.ast-border-wrapper' ).find( 'input' ).removeClass( 'connected' ).attr( 'data-element-connect', '' ); // Remove class jQuery(this).parent( '.ast-border-input-item-link' ).removeClass( 'disconnected' ); } ); // Disconnected button jQuery( '.ast-border-disconnected' ).on( 'click', function() { // Set up variables var elements = jQuery(this).data( 'element-connect' ); // Add connected class jQuery(this).parent().parent( '.ast-border-wrapper' ).find( 'input' ).addClass( 'connected' ).attr( 'data-element-connect', elements ); // Add class jQuery(this).parent( '.ast-border-input-item-link' ).addClass( 'disconnected' ); } ); // Values connected inputs jQuery( '.ast-border-input-item' ).on( 'input', '.connected', function() { var dataElement = jQuery(this).attr( 'data-element-connect' ), currentFieldValue = jQuery( this ).val(); jQuery(this).parent().parent( '.ast-border-wrapper' ).find( '.connected[ data-element-connect="' + dataElement + '" ]' ).each( function( key, value ) { jQuery(this).val( currentFieldValue ).change(); } ); } ); }, generateFieldHtml: function ( fields_data, field_values ) { var fields_html = ''; var control_types = []; _.each(fields_data, function (attr, index) { new_value = ( wp.customize.control( 'astra-settings['+attr.name+']' ) ? wp.customize.control( 'astra-settings['+attr.name+']' ).params.value : '' ); var control = attr.control; var template_id = "customize-control-" + control + "-content"; var template = wp.template(template_id); var value = new_value || attr.default; attr.value = value; var dataAtts = ''; var input_attrs = ''; attr.label = attr.title; // Data attributes. _.each( attr.data_attrs, function( value, name ) { dataAtts += " data-" + name + " ='" + value + "'"; }); // Input attributes _.each( attr.input_attrs, function ( value, name ) { input_attrs += name + " ='" + value + "'"; }); attr.dataAttrs = dataAtts; attr.inputAttrs = input_attrs; control_types.push({ key: control, value: value, name: attr.name }); if ('ast-responsive' == control) { var is_responsive = 'undefined' == typeof attr.responsive ? true : attr.responsive; attr.responsive = is_responsive; } var control_clean_name = attr.name.replace('[', '-'); control_clean_name = control_clean_name.replace(']', ''); fields_html += "
  • "; fields_html += template(attr); fields_html += '
  • '; }); var result = new Object(); result.controls = control_types; result.html = fields_html; return result; }, generateDropdownHtml: function( weightObject, element ) { var currentWeightTitle = element.data( 'inherit' ); var weightOptions = ''; var inheritWeightObject = [ 'inherit' ]; var counter = 0; var weightObject = $.merge( inheritWeightObject, weightObject ); var weightValue = element.val() || '400'; astraTypo[ 'inherit' ] = currentWeightTitle; for ( ; counter < weightObject.length; counter++ ) { if ( 0 === counter && -1 === $.inArray( weightValue, weightObject ) ) { weightValue = weightObject[ 0 ]; selected = ' selected="selected"'; } else { selected = weightObject[ counter ] == weightValue ? ' selected="selected"' : ''; } if( ! weightObject[ counter ].includes( "italic" ) ){ weightOptions += ''; } } element.html( weightOptions ); }, initResponsiveTrigger: function( wrap, control_elem ) { wrap.find('.ast-responsive-btns button').on('click', function (event) { var device = jQuery(this).attr('data-device'); if ('desktop' == device) { device = 'tablet'; } else if ('tablet' == device) { device = 'mobile'; } else { device = 'desktop'; } jQuery('.wp-full-overlay-footer .devices button[data-device="' + device + '"]').trigger('click'); }); }, initColor: function ( wrap, control_elem, name ) { var control = this; var picker = wrap.find('.customize-control-ast-color .ast-color-picker-alpha'); picker.wpColorPicker({ change: function (event, ui) { if ('undefined' != typeof event.originalEvent || 'undefined' != typeof ui.color._alpha) { var element = jQuery(event.target).closest('.wp-picker-input-wrap').find('.wp-color-picker')[0]; jQuery(element).val( ui.color.toString() ); name = jQuery(element).parents('.customize-control').attr('id'); name = name.replace( 'customize-control-', '' ); control.container.trigger( 'ast_settings_changed', [control, jQuery( element ), ui.color.toString(), name ] ); } }, /** * @param {Event} event - standard jQuery event, produced by "Clear" * button. */ clear: function (event) { var element = jQuery(event.target).closest('.wp-picker-input-wrap').find('.wp-color-picker')[0]; jQuery(element).val(''); name = jQuery(element).parents('.customize-control').attr('id'); name = name.replace( 'customize-control-', '' ); control.container.trigger( 'ast_settings_changed', [control, jQuery(element), '', name ] ); wp.customize.previewer.refresh(); } }); }, initResponsiveColor: function( wrap, control_elem, name ) { var control = this; var picker = wrap.find( '.ast-responsive-color' ); picker.wpColorPicker({ change: function(event, ui) { if ('undefined' != typeof event.originalEvent || 'undefined' != typeof ui.color._alpha) { if ( jQuery('html').hasClass('responsive-background-color-ready') ) { var option_name = jQuery(this).data('name'); var stored = { 'desktop' : jQuery( ".desktop.ast-responsive-color[data-name='"+ option_name +"']" ).val(), 'tablet' : jQuery( ".tablet.ast-responsive-color[data-name='"+ option_name +"']" ).val(), 'mobile' : jQuery( ".mobile.ast-responsive-color[data-name='"+ option_name +"']" ).val() }; var element = event.target; var device = jQuery( this ).data( 'id' ); var newValue = { 'desktop' : stored['desktop'], 'tablet' : stored['tablet'], 'mobile' : stored['mobile'], }; if ( 'desktop' === device ) { newValue['desktop'] = ui.color.toString(); } if ( 'tablet' === device ) { newValue['tablet'] = ui.color.toString(); } if ( 'mobile' === device ) { newValue['mobile'] = ui.color.toString(); } jQuery(element).val( ui.color.toString() ); name = jQuery(element).parents('.customize-control').attr('id'); name = name.replace( 'customize-control-', '' ); control.container.trigger( 'ast_settings_changed', [ control, jQuery(this), newValue, name ] ); } } }, /** * @param {Event} event - standard jQuery event, produced by "Clear" * button. */ clear: function (event) { var element = jQuery(event.target).closest('.wp-picker-input-wrap').find('.wp-color-picker')[0], device = jQuery( this ).closest('.wp-picker-input-wrap').find('.wp-color-picker').data( 'id' ); var option_name = jQuery( element ).attr('data-name'); var stored = { 'desktop' : jQuery( ".desktop.ast-responsive-color[data-name='"+ option_name +"']" ).val(), 'tablet' : jQuery( ".tablet.ast-responsive-color[data-name='"+ option_name +"']" ).val(), 'mobile' : jQuery( ".mobile.ast-responsive-color[data-name='"+ option_name +"']" ).val() }; var newValue = { 'desktop' : stored['desktop'], 'tablet' : stored['tablet'], 'mobile' : stored['mobile'], }; wp.customize.previewer.refresh(); if ( element ) { if ( 'desktop' === device ) { newValue['desktop'] = ''; } if ( 'tablet' === device ) { newValue['tablet'] = ''; } if ( 'mobile' === device ) { newValue['mobile'] = ''; } jQuery(element).val( '' ); control.container.trigger( 'ast_settings_changed', [ control, jQuery(element), newValue, name ] ); } name = jQuery(element).parents('.customize-control').attr('id'); name = name.replace( 'customize-control-', '' ); } }); wrap.find( '.ast-responsive-btns button' ).on( 'click', function( event ) { var device = jQuery(this).attr('data-device'); if( 'desktop' == device ) { device = 'tablet'; } else if( 'tablet' == device ) { device = 'mobile'; } else { device = 'desktop'; } jQuery( '.wp-full-overlay-footer .devices button[data-device="' + device + '"]' ).trigger( 'click' ); }); // Set desktop colorpicker active. wrap.find( '.ast-responsive-color.desktop' ).parents( '.wp-picker-container' ).addClass( 'active' ); }, onOptionChange:function ( e, control, element, value, name ) { var control_id = $( '.hidden-field-astra-settings-' + name ); control_id.val( value ); sub_control = wp.customize.control( "astra-settings[" + name + "]" ); sub_control.setting.set( value ); }, /** * Updates the responsive param value. */ updateResonsiveValue: function( element, name ) { 'use strict'; var control = this, newValue = {}; // Set the spacing container. control.responsiveContainer = element.closest( '.ast-responsive-wrapper' ); control.responsiveContainer.find( 'input.ast-responsive-input' ).each( function() { var responsive_input = jQuery( this ), item = responsive_input.data( 'id' ), item_value = responsive_input.val(); newValue[item] = item_value; }); control.responsiveContainer.find( 'select.ast-responsive-select' ).each( function() { var responsive_input = jQuery( this ), item = responsive_input.data( 'id' ), item_value = responsive_input.val(); newValue[item] = item_value; }); control.container.trigger( 'ast_settings_changed', [ control, element, newValue, name ] ); }, isJsonString: function( str ) { try { JSON.parse(str); } catch (e) { return false; } return true; }, initAstResonsiveBgControl: function( control, control_atts, name ) { var value = control_atts.value; var picker = control.container.find('.ast-responsive-bg-color-control'); var control_name = control_atts.name; var controlContainer = control.container.find( "#customize-control-" + control_name ); // Hide unnecessary controls if the value doesn't have an image. if (_.isUndefined(value['desktop']['background-image']) || '' === value['desktop']['background-image']) { controlContainer.find('.background-wrapper > .background-container.desktop > .background-repeat').hide(); controlContainer.find('.background-wrapper > .background-container.desktop > .background-position').hide(); controlContainer.find('.background-wrapper > .background-container.desktop > .background-size').hide(); controlContainer.find('.background-wrapper > .background-container.desktop > .background-attachment').hide(); } if (_.isUndefined(value['tablet']['background-image']) || '' === value['tablet']['background-image']) { controlContainer.find('.background-wrapper > .background-container.tablet > .background-repeat').hide(); controlContainer.find('.background-wrapper > .background-container.tablet > .background-position').hide(); controlContainer.find('.background-wrapper > .background-container.tablet > .background-size').hide(); controlContainer.find('.background-wrapper > .background-container.tablet > .background-attachment').hide(); } if (_.isUndefined(value['mobile']['background-image']) || '' === value['mobile']['background-image']) { controlContainer.find('.background-wrapper > .background-container.mobile > .background-repeat').hide(); controlContainer.find('.background-wrapper > .background-container.mobile > .background-position').hide(); controlContainer.find('.background-wrapper > .background-container.mobile > .background-size').hide(); controlContainer.find('.background-wrapper > .background-container.mobile > .background-attachment').hide(); } // Color. picker.wpColorPicker({ change: function (event, ui) { if ('undefined' != typeof event.originalEvent || 'undefined' != typeof ui.color._alpha ) { var device = jQuery(this).data('id'); control.saveValue( device, 'background-color', ui.color.toString(), jQuery(this), name ); } }, /** * @param {Event} event - standard jQuery event, produced by "Clear" * button. */ clear: function (event) { var element = jQuery(event.target).closest('.wp-picker-input-wrap').find('.wp-color-picker')[0], responsive_input = jQuery(this), screen = responsive_input.closest('.wp-picker-input-wrap').find('.wp-color-picker').data('id'); if ( element ) { control.saveValue( screen, 'background-color', '', jQuery( element ), name ); } wp.customize.previewer.refresh(); } }); // Background-Repeat. controlContainer.on('change', '.background-repeat select', function () { var responsive_input = jQuery(this), screen = responsive_input.data('id'), item_value = responsive_input.val(); control.saveValue( screen, 'background-repeat', item_value, jQuery(this), name ); }); // Background-Size. controlContainer.on('change click', '.background-size input', function () { var responsive_input = jQuery(this), screen = responsive_input.data('id'), item_value = responsive_input.val(); jQuery( this ).parent( '.buttonset' ).find( '.switch-input' ).removeAttr('checked'); jQuery( this ).attr( 'checked', 'checked' ); control.saveValue( screen, 'background-size', item_value, responsive_input, name ); }); // Background-Position. controlContainer.on( 'change', '.background-position select', function () { var responsive_input = jQuery(this), screen = responsive_input.data('id'), item_value = responsive_input.val(); control.saveValue( screen, 'background-position', item_value, responsive_input, name ); }); // Background-Attachment. controlContainer.on('change click', '.background-attachment input', function () { var responsive_input = jQuery(this), screen = responsive_input.data('id'), item_value = responsive_input.val(); jQuery( this ).parent( '.buttonset' ).find( '.switch-input' ).removeAttr('checked'); jQuery( this ).attr( 'checked', 'checked' ); control.saveValue( screen, 'background-attachment', item_value, responsive_input, name ); }); // Background-Image. controlContainer.on('click', '.background-image-upload-button, .thumbnail-image img', function (e) { var responsive_input = jQuery(this), screen = responsive_input.data('id'); name = responsive_input.data('name'); var image = wp.media({ multiple: false }).open().on('select', function () { // This will return the selected image from the Media Uploader, the result is an object. var uploadedImage = image.state().get('selection').first(), previewImage = uploadedImage.toJSON().sizes.full.url, imageUrl, imageID, imageWidth, imageHeight, preview, removeButton; if (!_.isUndefined(uploadedImage.toJSON().sizes.medium)) { previewImage = uploadedImage.toJSON().sizes.medium.url; } else if (!_.isUndefined(uploadedImage.toJSON().sizes.thumbnail)) { previewImage = uploadedImage.toJSON().sizes.thumbnail.url; } imageUrl = uploadedImage.toJSON().sizes.full.url; imageID = uploadedImage.toJSON().id; imageWidth = uploadedImage.toJSON().width; imageHeight = uploadedImage.toJSON().height; // Show extra controls if the value has an image. if ( '' !== imageUrl ) { controlContainer.find('.background-wrapper > .background-repeat, .background-wrapper > .background-position, .background-wrapper > .background-size, .background-wrapper > .background-attachment').show(); } control.saveValue( screen, 'background-image', imageUrl, responsive_input, name ); preview = controlContainer.find( '.background-container.' + screen + ' .placeholder, .background-container.' + screen + ' .thumbnail' ); removeButton = controlContainer.find('.background-container.' + screen + ' .background-image-upload-remove-button'); if ( preview.length ) { preview.removeClass().addClass('thumbnail thumbnail-image').html(''); } if ( removeButton.length ) { removeButton.show(); } }); e.preventDefault(); }); controlContainer.on('click', '.background-image-upload-remove-button', function (e) { var preview, removeButton, responsive_input = jQuery(this), screen = responsive_input.data('id'); control.saveValue( screen, 'background-image', '', jQuery(this), name ); preview = controlContainer.find('.background-container.' + screen + ' .placeholder, .background-container.' + screen + ' .thumbnail'); removeButton = controlContainer.find('.background-container.' + screen + ' .background-image-upload-remove-button'); // Hide unnecessary controls. controlContainer.find('.background-wrapper > .background-container.' + screen + ' > .background-repeat').hide(); controlContainer.find('.background-wrapper > .background-container.' + screen + ' > .background-position').hide(); controlContainer.find('.background-wrapper > .background-container.' + screen + ' > .background-size').hide(); controlContainer.find('.background-wrapper > .background-container.' + screen + ' > .background-attachment').hide(); controlContainer.find('.background-container.' + screen + ' .more-settings').attr('data-direction', 'down'); controlContainer.find('.background-container.' + screen + ' .more-settings').find('.message').html(astraCustomizerControlBackground.moreSettings); controlContainer.find('.background-container.' + screen + ' .more-settings').find('.icon').html('↓'); if (preview.length) { preview.removeClass().addClass('placeholder').html(astraCustomizerControlBackground.placeholder); } if (removeButton.length) { removeButton.hide(); } wp.customize.previewer.refresh(); e.preventDefault(); }); controlContainer.on('click', '.more-settings', function (e) { var responsive_input = jQuery(this), screen = responsive_input.data('id'); // Hide unnecessary controls. controlContainer.find('.background-wrapper > .background-container.' + screen + ' > .background-repeat').toggle(); controlContainer.find('.background-wrapper > .background-container.' + screen + ' > .background-position').toggle(); controlContainer.find('.background-wrapper > .background-container.' + screen + ' > .background-size').toggle(); controlContainer.find('.background-wrapper > .background-container.' + screen + ' > .background-attachment').toggle(); if ('down' === $(this).attr('data-direction')) { $(this).attr('data-direction', 'up'); $(this).find('.message').html(astraCustomizerControlBackground.lessSettings) $(this).find('.icon').html('↑'); } else { $(this).attr('data-direction', 'down'); $(this).find('.message').html(astraCustomizerControlBackground.moreSettings) $(this).find('.icon').html('↓'); } }); controlContainer.find('.ast-responsive-btns button').on('click', function (event) { var device = jQuery(this).attr('data-device'); if ('desktop' == device) { device = 'tablet'; } else if ('tablet' == device) { device = 'mobile'; } else { device = 'desktop'; } jQuery('.wp-full-overlay-footer .devices button[data-device="' + device + '"]').trigger('click'); }); jQuery(' .wp-full-overlay-footer .devices button ').on('click', function () { var device = jQuery(this).attr('data-device'); jQuery('.customize-control-ast-responsive-background .background-container, .customize-control .ast-responsive-btns > li').removeClass('active'); jQuery('.customize-control-ast-responsive-background .background-container.' + device + ', .customize-control .ast-responsive-btns > li.' + device).addClass('active'); }); }, initAstBgControl: function( control, control_atts, name ) { var value = control.setting._value, control_name = control_atts.name, picker = control.container.find( '.ast-color-control' ), controlContainer = control.container.find( "#customize-control-" + control_name ); // Hide unnecessary controls if the value doesn't have an image. if ( _.isUndefined( value['background-image']) || '' === value['background-image']) { controlContainer.find( '.background-wrapper > .background-repeat' ).hide(); controlContainer.find( '.background-wrapper > .background-position' ).hide(); controlContainer.find( '.background-wrapper > .background-size' ).hide(); controlContainer.find( '.background-wrapper > .background-attachment' ).hide(); } // Color. picker.wpColorPicker({ change: function() { if ( jQuery('html').hasClass('background-colorpicker-ready') ) { var $this = jQuery(this); setTimeout( function() { control.saveBgValue( 'background-color', picker.val(), $this, name ); }, 100 ); } }, /** * @param {Event} event - standard jQuery event, produced by "Clear" * button. */ clear: function (event) { var element = jQuery(event.target).closest('.wp-picker-input-wrap').find('.wp-color-picker')[0]; if (element) { control.saveBgValue( 'background-color', '', jQuery(element), name ); } wp.customize.previewer.refresh(); } }); // Background-Repeat. controlContainer.on( 'change', '.background-repeat select', function() { control.saveBgValue( 'background-repeat', jQuery( this ).val(), jQuery( this ), name ); }); // Background-Size. controlContainer.on( 'change click', '.background-size input', function() { jQuery( this ).parent( '.buttonset' ).find( '.switch-input' ).removeAttr('checked'); jQuery( this ).attr( 'checked', 'checked' ); control.saveBgValue( 'background-size', jQuery( this ).val(), jQuery( this ), name ); }); // Background-Position. controlContainer.on( 'change', '.background-position select', function() { control.saveBgValue( 'background-position', jQuery( this ).val(), jQuery( this ), name ); }); // Background-Attachment. controlContainer.on( 'change click', '.background-attachment input', function() { jQuery( this ).parent( '.buttonset' ).find( '.switch-input' ).removeAttr('checked'); jQuery( this ).attr( 'checked', 'checked' ); control.saveBgValue( 'background-attachment', jQuery( this ).val(), jQuery( this ), name ); }); // Background-Image. controlContainer.on( 'click', '.background-image-upload-button, .thumbnail-image img', function( e ) { var upload_img_btn = jQuery(this); var image = wp.media({ multiple: false }).open().on( 'select', function() { // This will return the selected image from the Media Uploader, the result is an object. var uploadedImage = image.state().get( 'selection' ).first(), previewImage = uploadedImage.toJSON().sizes.full.url, imageUrl, imageID, imageWidth, imageHeight, preview, removeButton; if ( ! _.isUndefined( uploadedImage.toJSON().sizes.medium ) ) { previewImage = uploadedImage.toJSON().sizes.medium.url; } else if ( ! _.isUndefined( uploadedImage.toJSON().sizes.thumbnail ) ) { previewImage = uploadedImage.toJSON().sizes.thumbnail.url; } imageUrl = uploadedImage.toJSON().sizes.full.url; imageID = uploadedImage.toJSON().id; imageWidth = uploadedImage.toJSON().width; imageHeight = uploadedImage.toJSON().height; // Show extra controls if the value has an image. if ( '' !== imageUrl ) { controlContainer.find( '.background-wrapper > .background-repeat, .background-wrapper > .background-position, .background-wrapper > .background-size, .background-wrapper > .background-attachment' ).show(); } control.saveBgValue( 'background-image', imageUrl, upload_img_btn, name ); preview = controlContainer.find( '.placeholder, .thumbnail' ); removeButton = controlContainer.find( '.background-image-upload-remove-button' ); if ( preview.length ) { preview.removeClass().addClass( 'thumbnail thumbnail-image' ).html( '' ); } if ( removeButton.length ) { removeButton.show(); } }); e.preventDefault(); }); controlContainer.on( 'click', '.background-image-upload-remove-button', function( e ) { var preview, removeButton; e.preventDefault(); control.saveBgValue( 'background-image', '', jQuery( this ) ); preview = controlContainer.find( '.placeholder, .thumbnail' ); removeButton = controlContainer.find( '.background-image-upload-remove-button' ); // Hide unnecessary controls. controlContainer.find( '.background-wrapper > .background-repeat' ).hide(); controlContainer.find( '.background-wrapper > .background-position' ).hide(); controlContainer.find( '.background-wrapper > .background-size' ).hide(); controlContainer.find( '.background-wrapper > .background-attachment' ).hide(); controlContainer.find( '.more-settings' ).attr('data-direction', 'down'); controlContainer.find( '.more-settings' ).find('.message').html( astraCustomizerControlBackground.moreSettings ); controlContainer.find( '.more-settings' ).find('.icon').html( '↓' ); if ( preview.length ) { preview.removeClass().addClass( 'placeholder' ).html( astraCustomizerControlBackground.placeholder ); } if ( removeButton.length ) { removeButton.hide(); } }); controlContainer.on( 'click', '.more-settings', function( e ) { // Hide unnecessary controls. controlContainer.find( '.background-wrapper > .background-repeat' ).toggle(); controlContainer.find( '.background-wrapper > .background-position' ).toggle(); controlContainer.find( '.background-wrapper > .background-size' ).toggle(); controlContainer.find( '.background-wrapper > .background-attachment' ).toggle(); if( 'down' === $(this).attr( 'data-direction' ) ) { $(this).attr('data-direction', 'up'); $(this).find('.message').html( astraCustomizerControlBackground.lessSettings ) $(this).find('.icon').html( '↑' ); } else { $(this).attr('data-direction', 'down'); $(this).find('.message').html( astraCustomizerControlBackground.moreSettings ) $(this).find('.icon').html( '↓' ); } }); }, saveValue: function ( screen, property, value, element, name ) { var control = this, input = jQuery('#customize-control-' + control.id.replace('[', '-').replace(']', '') + ' .responsive-background-hidden-value'); var val = JSON.parse( input.val() ); val[screen][property] = value; jQuery(input).attr( 'value', JSON.stringify(val) ).trigger( 'change' ); name = jQuery(element).parents('.customize-control').attr('id'); name = name.replace( 'customize-control-', '' ); control.container.trigger( 'ast_settings_changed', [control, element, val, name ] ); }, /** * Saves the value. */ saveBgValue: function( property, value, element, name ) { var control = this, input = jQuery( '#customize-control-' + control.id.replace( '[', '-' ).replace( ']', '' ) + ' .background-hidden-value' ); var val = JSON.parse( input.val() ); val[ property ] = value; jQuery( input ).attr( 'value', JSON.stringify( val ) ).trigger( 'change' ); name = jQuery(element).parents('.customize-control').attr('id'); name = name.replace( 'customize-control-', '' ); control.container.trigger( 'ast_settings_changed', [control, element, val, name ] ); }, /** * Saves the value. */ saveBorderValue: function( property, value, element, name ) { var control = this, newValue = { 'top' : '', 'right' : '', 'bottom' : '', 'left' : '', }; control.container.find( 'input.ast-border-desktop' ).each( function() { var spacing_input = jQuery( this ), item = spacing_input.data( 'id' ); item_value = spacing_input.val(); newValue[ item ] = item_value; spacing_input.attr( 'value', item_value ); }); control.container.trigger( 'ast_settings_changed', [control, element, newValue, name ] ); } }); })(jQuery); PK\k+custom-controls/radio-image/radio-image.cssnuW+A.customize-control-ast-radio-image label { position: relative; display: inline-block; margin-right: 12px; } .customize-control-ast-radio-image input { display: none; } .customize-control-ast-radio-image input:checked + label svg { background: #ffffff; border-radius: 3px; box-shadow: 0 0 3px 0px rgba(0, 133, 186, 0.67); } .customize-control-ast-radio-image input + label .image-clickable { position: absolute; top: 0; bottom: 0; left: 0; right: 0; width: 100%; height: 100%; } .customize-control-ast-radio-image .ast-radio-img-svg svg { width: auto; height: 49px; } #customize-control-astra-settings-footer-adv .image label { margin-bottom: 12px; } PK\ colors[2]; } /** * Refresh the parameters passed to the JavaScript via JSON. * * @see WP_Customize_Control::to_json() */ public function to_json() { parent::to_json(); $this->json['default'] = $this->setting->default; if ( isset( $this->default ) ) { $this->json['default'] = $this->default; } $this->json['value'] = $this->value(); foreach ( $this->choices as $key => $value ) { $this->json['choices'][ $key ] = $value['path']; $this->json['choices_titles'][ $key ] = $value['label']; } $this->json['link'] = $this->get_link(); $this->json['id'] = $this->id; $this->json['inputAttrs'] = ''; $this->json['labelStyle'] = ''; foreach ( $this->input_attrs as $attr => $value ) { if ( 'style' !== $attr ) { $this->json['inputAttrs'] .= $attr . '="' . esc_attr( $value ) . '" '; } else { $this->json['labelStyle'] = 'style="' . esc_attr( $value ) . '" '; } } } /** * An Underscore (JS) template for this control's content (but not its container). * * Class variables for this control class are available in the `data` JS object; * export custom variables by overriding {@see WP_Customize_Control::to_json()}. * * @see WP_Customize_Control::print_template() * * @access protected */ protected function content_template() { ?>
    <# for ( key in data.choices ) { #> checked="checked"<# } #>> <# } #>
    ' + weightMap[ weightObject[ i ] ] + ''; } } weightSelect.html( weightOptions ); if ( ! init ) { api( weightKey ).set( '' ); api( weightKey ).set( weightValue ); } }, /** * Sets the options for a font variant control when a * font family control changes. * * @since 1.5.2 * @access private * @method _setFontVarianttOptions * @param {Boolean} init Whether or not we're initializing this font variant control. */ _setFontVarianttOptions: function( init ) { var i = 0, fontSelect = api.control( this.id ).container.find( 'select' ), fontValue = this(), selected = '', variants = fontSelect.data( 'connected-variant' ), inherit = fontSelect.data( 'inherit' ), variantSelect = api.control( variants ).container.find( 'select' ), variantSavedField = api.control( variants ).container.find( '.ast-font-variant-hidden-value' ), weightValue = '', weightOptions = '', currentWeightTitle = variantSelect.data( 'inherit' ), weightMap = astraTypo; var variantArray = variantSavedField.val().split(','); // Hide font variant for any ohter fonts then Google var selectedOptionGroup = fontSelect.find('option[value="' + fontSelect.val() + '"]').closest('optgroup').attr('label') || ''; if ( 'Google' == selectedOptionGroup ) { variantSelect.parent().removeClass('ast-hide'); } else{ variantSelect.parent().addClass('ast-hide'); } var fontValue = AstTypography._cleanGoogleFonts(fontValue); var weightObject = AstTypography._getWeightObject( fontValue ); weightMap[ 'inherit' ] = currentWeightTitle; for ( var i = 0; i < weightObject.length; i++ ) { for ( var e = 0; e < variantArray.length; e++ ) { if ( weightObject[i] === variantArray[e] ) { weightValue = weightObject[ i ]; selected = ' selected="selected"'; } else{ selected = ( weightObject[ i ] == weightValue ) ? ' selected="selected"' : ''; } } weightOptions += ''; } variantSelect.html( weightOptions ); if ( ! init ) { api( variants ).set( '' ); } }, }; $( function() { AstTypography.init(); } ); })( jQuery ); PK\##=custom-controls/typography/class-astra-control-typography.phpnuW+Aast_inherit = __( 'Inherit', 'astra' ); $this->ast_all_font_weight = array( '100' => __( 'Thin 100', 'astra' ), '100italic' => __( '100 Italic', 'astra' ), '200' => __( 'Extra-Light 200', 'astra' ), '200italic' => __( '200 Italic', 'astra' ), '300' => __( 'Light 300', 'astra' ), '300italic' => __( '300 Italic', 'astra' ), '400' => __( 'Normal 400', 'astra' ), 'italic' => __( '400 Italic', 'astra' ), '500' => __( 'Medium 500', 'astra' ), '500italic' => __( '500 Italic', 'astra' ), '600' => __( 'Semi-Bold 600', 'astra' ), '600italic' => __( '600 Italic', 'astra' ), '700' => __( 'Bold 700', 'astra' ), '700italic' => __( '700 Italic', 'astra' ), '800' => __( 'Extra-Bold 800', 'astra' ), '800italic' => __( '800 Italic', 'astra' ), '900' => __( 'Ultra-Bold 900', 'astra' ), '900italic' => __( '900 Italic', 'astra' ), ); parent::__construct( $manager, $id, $args ); } /** * Renders the content for a control based on the type * of control specified when this class is initialized. * * @since 1.0.0 * @access protected * @return void */ protected function render_content() { switch ( $this->type ) { case 'ast-font-family': $this->render_font( $this->ast_inherit ); break; case 'ast-font-variant': $this->render_font_variant( $this->ast_inherit ); break; case 'ast-font-weight': $this->render_font_weight( $this->ast_inherit ); break; } } /** * Enqueue control related scripts/styles. * * @access public */ public function enqueue() { $js_uri = ASTRA_THEME_URI . 'inc/customizer/custom-controls/typography/'; $css_uri = ASTRA_THEME_URI . 'inc/customizer/custom-controls/typography/'; $js_uri = ASTRA_THEME_URI . 'inc/customizer/custom-controls/typography/'; wp_enqueue_style( 'astra-select-woo-style', $css_uri . 'selectWoo.css', null, ASTRA_THEME_VERSION ); wp_enqueue_script( 'astra-select-woo-script', $js_uri . 'selectWoo.js', array( 'jquery' ), ASTRA_THEME_VERSION, true ); wp_enqueue_script( 'astra-typography', $js_uri . 'typography.js', array( 'jquery', 'customize-base' ), ASTRA_THEME_VERSION, true ); $astra_typo_localize = $this->ast_all_font_weight; wp_localize_script( 'astra-typography', 'astraTypo', $astra_typo_localize ); } /** * Renders the title and description for a control. * * @since 1.0.0 * @access protected * @return void */ protected function render_content_title() { if ( ! empty( $this->label ) ) { echo '' . esc_html( $this->label ) . ''; } if ( ! empty( $this->description ) ) { echo '' . esc_html( $this->description ) . ''; } } /** * Renders the connect attribute for a connected control. * * @since 1.0.0 * @access protected * @return void */ protected function render_connect_attribute() { if ( $this->connect ) { echo ' data-connected-control="' . esc_attr( $this->connect ) . '"'; echo ' data-inherit="' . esc_attr( $this->ast_inherit ) . '"'; } if ( $this->variant ) { echo ' data-connected-variant="' . esc_attr( $this->variant ) . '"'; echo ' data-inherit="' . esc_attr( $this->ast_inherit ) . '"'; } echo ' data-value="' . esc_attr( $this->value() ) . '"'; echo ' data-name="' . esc_attr( $this->name ) . '"'; } /** * Renders a font control. * * @since 1.0.16 Added the action 'astra_customizer_font_list' to support custom fonts. * @since 1.0.0 * @param string $default Inherit/Default. * @access protected * @return void */ protected function render_font( $default ) { echo ''; echo ''; } /** * Renders a font weight control. * * @since 1.0.0 * @param string $default Inherit/Default. * @access protected * @return void */ protected function render_font_weight( $default ) { echo ''; echo ''; } /** * Renders a font variant control. * * @since 1.5.2 * @param string $default Inherit/Default. * @access protected * @return void */ protected function render_font_variant( $default ) { echo ''; echo ''; echo ''; echo ''; } /** * Refresh the parameters passed to the JavaScript via JSON. * * @see WP_Customize_Control::to_json() */ public function to_json() { parent::to_json(); $this->json['label'] = esc_html( $this->label ); $this->json['description'] = $this->description; $this->json['name'] = $this->name; $this->json['value'] = $this->value(); } /** * An Underscore (JS) template for this control's content (but not its container). * * Class variables for this control class are available in the `data` JS object; * export custom variables by overriding {@see WP_Customize_Control::to_json()}. * * @see WP_Customize_Control::print_template() * * @access protected */ protected function content_template() { ?> .select2-results__options { max-height: 200px; overflow-y: auto; } .select2-container--default .select2-results__option[role=group] { padding: 0; } .select2-container--default .select2-results__option[aria-disabled=true] { color: #999; } .select2-container--default .select2-results__option[data-selected=true] { background-color: #ddd; } .select2-container--default .select2-results__option .select2-results__option { padding-left: 1em; } .select2-container--default .select2-results__option .select2-results__option .select2-results__group { padding-left: 0; } .select2-container--default .select2-results__option .select2-results__option .select2-results__option { margin-left: -1em; padding-left: 2em; } .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option { margin-left: -2em; padding-left: 3em; } .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option { margin-left: -3em; padding-left: 4em; } .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option { margin-left: -4em; padding-left: 5em; } .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option { margin-left: -5em; padding-left: 6em; } .select2-container--default .select2-results__option--highlighted[data-selected] { background-color: #5897fb; color: white; } .select2-container--default .select2-results__group { cursor: default; display: block; padding: 6px; } .select2-container--classic .select2-selection--single { background-color: #f7f7f7; border: 1px solid #aaa; border-radius: 4px; outline: 0; background-image: -webkit-linear-gradient(top, white 50%, #eeeeee 100%); background-image: -o-linear-gradient(top, white 50%, #eeeeee 100%); background-image: linear-gradient(to bottom, white 50%, #eeeeee 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); } .select2-container--classic .select2-selection--single:focus { border: 1px solid #5897fb; } .select2-container--classic .select2-selection--single .select2-selection__rendered { color: #444; line-height: 28px; } .select2-container--classic .select2-selection--single .select2-selection__clear { cursor: pointer; float: right; font-weight: bold; margin-right: 10px; } .select2-container--classic .select2-selection--single .select2-selection__placeholder { color: #999; } .select2-container--classic .select2-selection--single .select2-selection__arrow { background-color: #ddd; border: none; border-left: 1px solid #aaa; border-top-right-radius: 4px; border-bottom-right-radius: 4px; height: 26px; position: absolute; top: 1px; right: 1px; width: 20px; background-image: -webkit-linear-gradient(top, #eeeeee 50%, #cccccc 100%); background-image: -o-linear-gradient(top, #eeeeee 50%, #cccccc 100%); background-image: linear-gradient(to bottom, #eeeeee 50%, #cccccc 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0); } .select2-container--classic .select2-selection--single .select2-selection__arrow b { border-color: #888 transparent transparent transparent; border-style: solid; border-width: 5px 4px 0 4px; height: 0; left: 50%; margin-left: -4px; margin-top: -2px; position: absolute; top: 50%; width: 0; } .select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear { float: left; } .select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow { border: none; border-right: 1px solid #aaa; border-radius: 0; border-top-left-radius: 4px; border-bottom-left-radius: 4px; left: 1px; right: auto; } .select2-container--classic.select2-container--open .select2-selection--single { border: 1px solid #5897fb; } .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow { background: transparent; border: none; } .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b { border-color: transparent transparent #888 transparent; border-width: 0 4px 5px 4px; } .select2-container--classic.select2-container--open.select2-container--above .select2-selection--single { border-top: none; border-top-left-radius: 0; border-top-right-radius: 0; background-image: -webkit-linear-gradient(top, white 0%, #eeeeee 50%); background-image: -o-linear-gradient(top, white 0%, #eeeeee 50%); background-image: linear-gradient(to bottom, white 0%, #eeeeee 50%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); } .select2-container--classic.select2-container--open.select2-container--below .select2-selection--single { border-bottom: none; border-bottom-left-radius: 0; border-bottom-right-radius: 0; background-image: -webkit-linear-gradient(top, #eeeeee 50%, white 100%); background-image: -o-linear-gradient(top, #eeeeee 50%, white 100%); background-image: linear-gradient(to bottom, #eeeeee 50%, white 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0); } .select2-container--classic .select2-selection--multiple { background-color: white; border: 1px solid #aaa; border-radius: 4px; cursor: text; outline: 0; } .select2-container--classic .select2-selection--multiple:focus { border: 1px solid #5897fb; } .select2-container--classic .select2-selection--multiple .select2-selection__rendered { list-style: none; margin: 0; padding: 0 5px; } .select2-container--classic .select2-selection--multiple .select2-selection__clear { display: none; } .select2-container--classic .select2-selection--multiple .select2-selection__choice { background-color: #e4e4e4; border: 1px solid #aaa; border-radius: 4px; cursor: default; float: left; margin-right: 5px; margin-top: 5px; padding: 0 5px; } .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove { color: #888; cursor: pointer; display: inline-block; font-weight: bold; margin-right: 2px; } .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover { color: #555; } .select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice { float: right; } .select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice { margin-left: 5px; margin-right: auto; } .select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove { margin-left: 2px; margin-right: auto; } .select2-container--classic.select2-container--open .select2-selection--multiple { border: 1px solid #5897fb; } .select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple { border-top: none; border-top-left-radius: 0; border-top-right-radius: 0; } .select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple { border-bottom: none; border-bottom-left-radius: 0; border-bottom-right-radius: 0; } .select2-container--classic .select2-search--dropdown .select2-search__field { border: 1px solid #aaa; outline: 0; } .select2-container--classic .select2-search--inline .select2-search__field { outline: 0; box-shadow: none; } .select2-container--classic .select2-dropdown { background-color: white; border: 1px solid transparent; } .select2-container--classic .select2-dropdown--above { border-bottom: none; } .select2-container--classic .select2-dropdown--below { border-top: none; } .select2-container--classic .select2-results > .select2-results__options { max-height: 200px; overflow-y: auto; } .select2-container--classic .select2-results__option[role=group] { padding: 0; } .select2-container--classic .select2-results__option[aria-disabled=true] { color: grey; } .select2-container--classic .select2-results__option--highlighted[data-selected] { background-color: #3875d7; color: white; } .select2-container--classic .select2-results__group { cursor: default; display: block; padding: 6px; } .select2-container--classic.select2-container--open .select2-dropdown { border-color: #5897fb; } PK\Vcc*custom-controls/typography/typography.scssnuW+A.select2-container { width: 100% !important; } span.select2-container.select2-container--default.select2-container--open { li.select2-results__option { margin: 0; } z-index: 999999; } .select2-selection__rendered li { margin-bottom: 0; } .select2-container--default { .select2-selection--single, &.select2-container .select2-selection--multiple { border-color: #ddd; border-radius: 0; } } .select2-dropdown, .select2-container--default .select2-selection--multiple .select2-selection__choice { border-color: #ddd; border-radius: 0; } .customize-control-ast-hidden { margin-top: 0; } /* Vetically align customizer footer device icons */ .wp-full-overlay-footer { .devices-wrapper { .preview-desktop, .preview-tablet, .preview-mobile { vertical-align: middle; } } }PK\vS|A|A'custom-controls/typography/selectWoo.jsnuW+A/*! * SelectWoo 1.0.1 * https://github.com/woocommerce/selectWoo * * Released under the MIT license * https://github.com/woocommerce/selectWoo/blob/master/LICENSE.md */ (function (factory) { if (typeof define === 'function' && define.amd) { // AMD. Register as an anonymous module. define(['jquery'], factory); } else if (typeof module === 'object' && module.exports) { // Node/CommonJS module.exports = function (root, jQuery) { if (jQuery === undefined) { // require('jQuery') returns a factory that requires window to // build a jQuery instance, we normalize how we use modules // that require this pattern but the window provided is a noop // if it's defined (how jquery works) if (typeof window !== 'undefined') { jQuery = require('jquery'); } else { jQuery = require('jquery')(root); } } factory(jQuery); return jQuery; }; } else { // Browser globals factory(jQuery); } } (function (jQuery) { // This is needed so we can catch the AMD loader configuration and use it // The inner file should be wrapped (by `banner.start.js`) in a function that // returns the AMD loader references. var S2 =(function () { // Restore the Select2 AMD loader so it can be used // Needed mostly in the language files, where the loader is not inserted if (jQuery && jQuery.fn && jQuery.fn.select2 && jQuery.fn.select2.amd) { var S2 = jQuery.fn.select2.amd; } var S2;(function () { if (!S2 || !S2.requirejs) { if (!S2) { S2 = {}; } else { require = S2; } /** * @license almond 0.3.3 Copyright jQuery Foundation and other contributors. * Released under MIT license, http://github.com/requirejs/almond/LICENSE */ //Going sloppy to avoid 'use strict' string cost, but strict practices should //be followed. /*global setTimeout: false */ var requirejs, require, define; (function (undef) { var main, req, makeMap, handlers, defined = {}, waiting = {}, config = {}, defining = {}, hasOwn = Object.prototype.hasOwnProperty, aps = [].slice, jsSuffixRegExp = /\.js$/; function hasProp(obj, prop) { return hasOwn.call(obj, prop); } /** * Given a relative module name, like ./something, normalize it to * a real name that can be mapped to a path. * @param {String} name the relative name * @param {String} baseName a real name that the name arg is relative * to. * @returns {String} normalized name */ function normalize(name, baseName) { var nameParts, nameSegment, mapValue, foundMap, lastIndex, foundI, foundStarMap, starI, i, j, part, normalizedBaseParts, baseParts = baseName && baseName.split("/"), map = config.map, starMap = (map && map['*']) || {}; //Adjust any relative paths. if (name) { name = name.split('/'); lastIndex = name.length - 1; // If wanting node ID compatibility, strip .js from end // of IDs. Have to do this here, and not in nameToUrl // because node allows either .js or non .js to map // to same file. if (config.nodeIdCompat && jsSuffixRegExp.test(name[lastIndex])) { name[lastIndex] = name[lastIndex].replace(jsSuffixRegExp, ''); } // Starts with a '.' so need the baseName if (name[0].charAt(0) === '.' && baseParts) { //Convert baseName to array, and lop off the last part, //so that . matches that 'directory' and not name of the baseName's //module. For instance, baseName of 'one/two/three', maps to //'one/two/three.js', but we want the directory, 'one/two' for //this normalization. normalizedBaseParts = baseParts.slice(0, baseParts.length - 1); name = normalizedBaseParts.concat(name); } //start trimDots for (i = 0; i < name.length; i++) { part = name[i]; if (part === '.') { name.splice(i, 1); i -= 1; } else if (part === '..') { // If at the start, or previous value is still .., // keep them so that when converted to a path it may // still work when converted to a path, even though // as an ID it is less than ideal. In larger point // releases, may be better to just kick out an error. if (i === 0 || (i === 1 && name[2] === '..') || name[i - 1] === '..') { continue; } else if (i > 0) { name.splice(i - 1, 2); i -= 2; } } } //end trimDots name = name.join('/'); } //Apply map config if available. if ((baseParts || starMap) && map) { nameParts = name.split('/'); for (i = nameParts.length; i > 0; i -= 1) { nameSegment = nameParts.slice(0, i).join("/"); if (baseParts) { //Find the longest baseName segment match in the config. //So, do joins on the biggest to smallest lengths of baseParts. for (j = baseParts.length; j > 0; j -= 1) { mapValue = map[baseParts.slice(0, j).join('/')]; //baseName segment has config, find if it has one for //this name. if (mapValue) { mapValue = mapValue[nameSegment]; if (mapValue) { //Match, update name to the new value. foundMap = mapValue; foundI = i; break; } } } } if (foundMap) { break; } //Check for a star map match, but just hold on to it, //if there is a shorter segment match later in a matching //config, then favor over this star map. if (!foundStarMap && starMap && starMap[nameSegment]) { foundStarMap = starMap[nameSegment]; starI = i; } } if (!foundMap && foundStarMap) { foundMap = foundStarMap; foundI = starI; } if (foundMap) { nameParts.splice(0, foundI, foundMap); name = nameParts.join('/'); } } return name; } function makeRequire(relName, forceSync) { return function () { //A version of a require function that passes a moduleName //value for items that may need to //look up paths relative to the moduleName var args = aps.call(arguments, 0); //If first arg is not require('string'), and there is only //one arg, it is the array form without a callback. Insert //a null so that the following concat is correct. if (typeof args[0] !== 'string' && args.length === 1) { args.push(null); } return req.apply(undef, args.concat([relName, forceSync])); }; } function makeNormalize(relName) { return function (name) { return normalize(name, relName); }; } function makeLoad(depName) { return function (value) { defined[depName] = value; }; } function callDep(name) { if (hasProp(waiting, name)) { var args = waiting[name]; delete waiting[name]; defining[name] = true; main.apply(undef, args); } if (!hasProp(defined, name) && !hasProp(defining, name)) { throw new Error('No ' + name); } return defined[name]; } //Turns a plugin!resource to [plugin, resource] //with the plugin being undefined if the name //did not have a plugin prefix. function splitPrefix(name) { var prefix, index = name ? name.indexOf('!') : -1; if (index > -1) { prefix = name.substring(0, index); name = name.substring(index + 1, name.length); } return [prefix, name]; } //Creates a parts array for a relName where first part is plugin ID, //second part is resource ID. Assumes relName has already been normalized. function makeRelParts(relName) { return relName ? splitPrefix(relName) : []; } /** * Makes a name map, normalizing the name, and using a plugin * for normalization if necessary. Grabs a ref to plugin * too, as an optimization. */ makeMap = function (name, relParts) { var plugin, parts = splitPrefix(name), prefix = parts[0], relResourceName = relParts[1]; name = parts[1]; if (prefix) { prefix = normalize(prefix, relResourceName); plugin = callDep(prefix); } //Normalize according if (prefix) { if (plugin && plugin.normalize) { name = plugin.normalize(name, makeNormalize(relResourceName)); } else { name = normalize(name, relResourceName); } } else { name = normalize(name, relResourceName); parts = splitPrefix(name); prefix = parts[0]; name = parts[1]; if (prefix) { plugin = callDep(prefix); } } //Using ridiculous property names for space reasons return { f: prefix ? prefix + '!' + name : name, //fullName n: name, pr: prefix, p: plugin }; }; function makeConfig(name) { return function () { return (config && config.config && config.config[name]) || {}; }; } handlers = { require: function (name) { return makeRequire(name); }, exports: function (name) { var e = defined[name]; if (typeof e !== 'undefined') { return e; } else { return (defined[name] = {}); } }, module: function (name) { return { id: name, uri: '', exports: defined[name], config: makeConfig(name) }; } }; main = function (name, deps, callback, relName) { var cjsModule, depName, ret, map, i, relParts, args = [], callbackType = typeof callback, usingExports; //Use name if no relName relName = relName || name; relParts = makeRelParts(relName); //Call the callback to define the module, if necessary. if (callbackType === 'undefined' || callbackType === 'function') { //Pull out the defined dependencies and pass the ordered //values to the callback. //Default to [require, exports, module] if no deps deps = !deps.length && callback.length ? ['require', 'exports', 'module'] : deps; for (i = 0; i < deps.length; i += 1) { map = makeMap(deps[i], relParts); depName = map.f; //Fast path CommonJS standard dependencies. if (depName === "require") { args[i] = handlers.require(name); } else if (depName === "exports") { //CommonJS module spec 1.1 args[i] = handlers.exports(name); usingExports = true; } else if (depName === "module") { //CommonJS module spec 1.1 cjsModule = args[i] = handlers.module(name); } else if (hasProp(defined, depName) || hasProp(waiting, depName) || hasProp(defining, depName)) { args[i] = callDep(depName); } else if (map.p) { map.p.load(map.n, makeRequire(relName, true), makeLoad(depName), {}); args[i] = defined[depName]; } else { throw new Error(name + ' missing ' + depName); } } ret = callback ? callback.apply(defined[name], args) : undefined; if (name) { //If setting exports via "module" is in play, //favor that over return value and exports. After that, //favor a non-undefined return value over exports use. if (cjsModule && cjsModule.exports !== undef && cjsModule.exports !== defined[name]) { defined[name] = cjsModule.exports; } else if (ret !== undef || !usingExports) { //Use the return value from the function. defined[name] = ret; } } } else if (name) { //May just be an object definition for the module. Only //worry about defining if have a module name. defined[name] = callback; } }; requirejs = require = req = function (deps, callback, relName, forceSync, alt) { if (typeof deps === "string") { if (handlers[deps]) { //callback in this case is really relName return handlers[deps](callback); } //Just return the module wanted. In this scenario, the //deps arg is the module name, and second arg (if passed) //is just the relName. //Normalize module name, if it contains . or .. return callDep(makeMap(deps, makeRelParts(callback)).f); } else if (!deps.splice) { //deps is a config object, not an array. config = deps; if (config.deps) { req(config.deps, config.callback); } if (!callback) { return; } if (callback.splice) { //callback is an array, which means it is a dependency list. //Adjust args if there are dependencies deps = callback; callback = relName; relName = null; } else { deps = undef; } } //Support require(['a']) callback = callback || function () {}; //If relName is a function, it is an errback handler, //so remove it. if (typeof relName === 'function') { relName = forceSync; forceSync = alt; } //Simulate async callback; if (forceSync) { main(undef, deps, callback, relName); } else { //Using a non-zero value because of concern for what old browsers //do, and latest browsers "upgrade" to 4 if lower value is used: //http://www.whatwg.org/specs/web-apps/current-work/multipage/timers.html#dom-windowtimers-settimeout: //If want a value immediately, use require('id') instead -- something //that works in almond on the global level, but not guaranteed and //unlikely to work in other AMD implementations. setTimeout(function () { main(undef, deps, callback, relName); }, 4); } return req; }; /** * Just drops the config on the floor, but returns req in case * the config return value is used. */ req.config = function (cfg) { return req(cfg); }; /** * Expose module registry for debugging and tooling */ requirejs._defined = defined; define = function (name, deps, callback) { if (typeof name !== 'string') { throw new Error('See almond README: incorrect module build, no module name'); } //This module may not have dependencies if (!deps.splice) { //deps is not an array, so probably means //an object literal or factory function for //the value. Adjust args. callback = deps; deps = []; } if (!hasProp(defined, name) && !hasProp(waiting, name)) { waiting[name] = [name, deps, callback]; } }; define.amd = { jQuery: true }; }()); S2.requirejs = requirejs;S2.require = require;S2.define = define; } }()); S2.define("almond", function(){}); /* global jQuery:false, $:false */ S2.define('jquery',[],function () { var _$ = jQuery || $; if (_$ == null && console && console.error) { console.error( 'Select2: An instance of jQuery or a jQuery-compatible library was not ' + 'found. Make sure that you are including jQuery before Select2 on your ' + 'web page.' ); } return _$; }); S2.define('select2/utils',[ 'jquery' ], function ($) { var Utils = {}; Utils.Extend = function (ChildClass, SuperClass) { var __hasProp = {}.hasOwnProperty; function BaseConstructor () { this.constructor = ChildClass; } for (var key in SuperClass) { if (__hasProp.call(SuperClass, key)) { ChildClass[key] = SuperClass[key]; } } BaseConstructor.prototype = SuperClass.prototype; ChildClass.prototype = new BaseConstructor(); ChildClass.__super__ = SuperClass.prototype; return ChildClass; }; function getMethods (theClass) { var proto = theClass.prototype; var methods = []; for (var methodName in proto) { var m = proto[methodName]; if (typeof m !== 'function') { continue; } if (methodName === 'constructor') { continue; } methods.push(methodName); } return methods; } Utils.Decorate = function (SuperClass, DecoratorClass) { var decoratedMethods = getMethods(DecoratorClass); var superMethods = getMethods(SuperClass); function DecoratedClass () { var unshift = Array.prototype.unshift; var argCount = DecoratorClass.prototype.constructor.length; var calledConstructor = SuperClass.prototype.constructor; if (argCount > 0) { unshift.call(arguments, SuperClass.prototype.constructor); calledConstructor = DecoratorClass.prototype.constructor; } calledConstructor.apply(this, arguments); } DecoratorClass.displayName = SuperClass.displayName; function ctr () { this.constructor = DecoratedClass; } DecoratedClass.prototype = new ctr(); for (var m = 0; m < superMethods.length; m++) { var superMethod = superMethods[m]; DecoratedClass.prototype[superMethod] = SuperClass.prototype[superMethod]; } var calledMethod = function (methodName) { // Stub out the original method if it's not decorating an actual method var originalMethod = function () {}; if (methodName in DecoratedClass.prototype) { originalMethod = DecoratedClass.prototype[methodName]; } var decoratedMethod = DecoratorClass.prototype[methodName]; return function () { var unshift = Array.prototype.unshift; unshift.call(arguments, originalMethod); return decoratedMethod.apply(this, arguments); }; }; for (var d = 0; d < decoratedMethods.length; d++) { var decoratedMethod = decoratedMethods[d]; DecoratedClass.prototype[decoratedMethod] = calledMethod(decoratedMethod); } return DecoratedClass; }; var Observable = function () { this.listeners = {}; }; Observable.prototype.on = function (event, callback) { this.listeners = this.listeners || {}; if (event in this.listeners) { this.listeners[event].push(callback); } else { this.listeners[event] = [callback]; } }; Observable.prototype.trigger = function (event) { var slice = Array.prototype.slice; var params = slice.call(arguments, 1); this.listeners = this.listeners || {}; // Params should always come in as an array if (params == null) { params = []; } // If there are no arguments to the event, use a temporary object if (params.length === 0) { params.push({}); } // Set the `_type` of the first object to the event params[0]._type = event; if (event in this.listeners) { this.invoke(this.listeners[event], slice.call(arguments, 1)); } if ('*' in this.listeners) { this.invoke(this.listeners['*'], arguments); } }; Observable.prototype.invoke = function (listeners, params) { for (var i = 0, len = listeners.length; i < len; i++) { listeners[i].apply(this, params); } }; Utils.Observable = Observable; Utils.generateChars = function (length) { var chars = ''; for (var i = 0; i < length; i++) { var randomChar = Math.floor(Math.random() * 36); chars += randomChar.toString(36); } return chars; }; Utils.bind = function (func, context) { return function () { func.apply(context, arguments); }; }; Utils._convertData = function (data) { for (var originalKey in data) { var keys = originalKey.split('-'); var dataLevel = data; if (keys.length === 1) { continue; } for (var k = 0; k < keys.length; k++) { var key = keys[k]; // Lowercase the first letter // By default, dash-separated becomes camelCase key = key.substring(0, 1).toLowerCase() + key.substring(1); if (!(key in dataLevel)) { dataLevel[key] = {}; } if (k == keys.length - 1) { dataLevel[key] = data[originalKey]; } dataLevel = dataLevel[key]; } delete data[originalKey]; } return data; }; Utils.hasScroll = function (index, el) { // Adapted from the function created by @ShadowScripter // and adapted by @BillBarry on the Stack Exchange Code Review website. // The original code can be found at // http://codereview.stackexchange.com/q/13338 // and was designed to be used with the Sizzle selector engine. var $el = $(el); var overflowX = el.style.overflowX; var overflowY = el.style.overflowY; //Check both x and y declarations if (overflowX === overflowY && (overflowY === 'hidden' || overflowY === 'visible')) { return false; } if (overflowX === 'scroll' || overflowY === 'scroll') { return true; } return ($el.innerHeight() < el.scrollHeight || $el.innerWidth() < el.scrollWidth); }; Utils.escapeMarkup = function (markup) { var replaceMap = { '\\': '\', '&': '&', '<': '<', '>': '>', '"': '"', '\'': ''', '/': '/' }; // Do not try to escape the markup if it's not a string if (typeof markup !== 'string') { return markup; } return String(markup).replace(/[&<>"'\/\\]/g, function (match) { return replaceMap[match]; }); }; // Append an array of jQuery nodes to a given element. Utils.appendMany = function ($element, $nodes) { // jQuery 1.7.x does not support $.fn.append() with an array // Fall back to a jQuery object collection using $.fn.add() if ($.fn.jquery.substr(0, 3) === '1.7') { var $jqNodes = $(); $.map($nodes, function (node) { $jqNodes = $jqNodes.add(node); }); $nodes = $jqNodes; } $element.append($nodes); }; // Determine whether the browser is on a touchscreen device. Utils.isTouchscreen = function() { if ('undefined' === typeof Utils._isTouchscreenCache) { Utils._isTouchscreenCache = 'ontouchstart' in document.documentElement; } return Utils._isTouchscreenCache; } return Utils; }); S2.define('select2/results',[ 'jquery', './utils' ], function ($, Utils) { function Results ($element, options, dataAdapter) { this.$element = $element; this.data = dataAdapter; this.options = options; Results.__super__.constructor.call(this); } Utils.Extend(Results, Utils.Observable); Results.prototype.render = function () { var $results = $( '' ); if (this.options.get('multiple')) { $results.attr('aria-multiselectable', 'true'); } this.$results = $results; return $results; }; Results.prototype.clear = function () { this.$results.empty(); }; Results.prototype.displayMessage = function (params) { var escapeMarkup = this.options.get('escapeMarkup'); this.clear(); this.hideLoading(); var $message = $( '' ); var message = this.options.get('translations').get(params.message); $message.append( escapeMarkup( message(params.args) ) ); $message[0].className += ' select2-results__message'; this.$results.append($message); }; Results.prototype.hideMessages = function () { this.$results.find('.select2-results__message').remove(); }; Results.prototype.append = function (data) { this.hideLoading(); var $options = []; if (data.results == null || data.results.length === 0) { if (this.$results.children().length === 0) { this.trigger('results:message', { message: 'noResults' }); } return; } data.results = this.sort(data.results); for (var d = 0; d < data.results.length; d++) { var item = data.results[d]; var $option = this.option(item); $options.push($option); } this.$results.append($options); }; Results.prototype.position = function ($results, $dropdown) { var $resultsContainer = $dropdown.find('.select2-results'); $resultsContainer.append($results); }; Results.prototype.sort = function (data) { var sorter = this.options.get('sorter'); return sorter(data); }; Results.prototype.highlightFirstItem = function () { var $options = this.$results .find('.select2-results__option[data-selected]'); var $selected = $options.filter('[data-selected=true]'); // Check if there are any selected options if ($selected.length > 0) { // If there are selected options, highlight the first $selected.first().trigger('mouseenter'); } else { // If there are no selected options, highlight the first option // in the dropdown $options.first().trigger('mouseenter'); } this.ensureHighlightVisible(); }; Results.prototype.setClasses = function () { var self = this; this.data.current(function (selected) { var selectedIds = $.map(selected, function (s) { return s.id.toString(); }); var $options = self.$results .find('.select2-results__option[data-selected]'); $options.each(function () { var $option = $(this); var item = $.data(this, 'data'); // id needs to be converted to a string when comparing var id = '' + item.id; if ((item.element != null && item.element.selected) || (item.element == null && $.inArray(id, selectedIds) > -1)) { $option.attr('data-selected', 'true'); } else { $option.attr('data-selected', 'false'); } }); }); }; Results.prototype.showLoading = function (params) { this.hideLoading(); var loadingMore = this.options.get('translations').get('searching'); var loading = { disabled: true, loading: true, text: loadingMore(params) }; var $loading = this.option(loading); $loading.className += ' loading-results'; this.$results.prepend($loading); }; Results.prototype.hideLoading = function () { this.$results.find('.loading-results').remove(); }; Results.prototype.option = function (data) { var option = document.createElement('li'); option.className = 'select2-results__option'; var attrs = { 'role': 'option', 'data-selected': 'false', 'tabindex': -1 }; if (data.disabled) { delete attrs['data-selected']; attrs['aria-disabled'] = 'true'; } if (data.id == null) { delete attrs['data-selected']; } if (data._resultId != null) { option.id = data._resultId; } if (data.title) { option.title = data.title; } if (data.children) { attrs['aria-label'] = data.text; delete attrs['data-selected']; } for (var attr in attrs) { var val = attrs[attr]; option.setAttribute(attr, val); } if (data.children) { var $option = $(option); var label = document.createElement('strong'); label.className = 'select2-results__group'; var $label = $(label); this.template(data, label); $label.attr('role', 'presentation'); var $children = []; for (var c = 0; c < data.children.length; c++) { var child = data.children[c]; var $child = this.option(child); $children.push($child); } var $childrenContainer = $('', { 'class': 'select2-results__options select2-results__options--nested', 'role': 'listbox' }); $childrenContainer.append($children); $option.attr('role', 'list'); $option.append(label); $option.append($childrenContainer); } else { this.template(data, option); } $.data(option, 'data', data); return option; }; Results.prototype.bind = function (container, $container) { var self = this; var id = container.id + '-results'; this.$results.attr('id', id); container.on('results:all', function (params) { self.clear(); self.append(params.data); if (container.isOpen()) { self.setClasses(); self.highlightFirstItem(); } }); container.on('results:append', function (params) { self.append(params.data); if (container.isOpen()) { self.setClasses(); } }); container.on('query', function (params) { self.hideMessages(); self.showLoading(params); }); container.on('select', function () { if (!container.isOpen()) { return; } self.setClasses(); self.highlightFirstItem(); }); container.on('unselect', function () { if (!container.isOpen()) { return; } self.setClasses(); self.highlightFirstItem(); }); container.on('open', function () { // When the dropdown is open, aria-expended="true" self.$results.attr('aria-expanded', 'true'); self.$results.attr('aria-hidden', 'false'); self.setClasses(); self.ensureHighlightVisible(); }); container.on('close', function () { // When the dropdown is closed, aria-expended="false" self.$results.attr('aria-expanded', 'false'); self.$results.attr('aria-hidden', 'true'); self.$results.removeAttr('aria-activedescendant'); }); container.on('results:toggle', function () { var $highlighted = self.getHighlightedResults(); if ($highlighted.length === 0) { return; } $highlighted.trigger('mouseup'); }); container.on('results:select', function () { var $highlighted = self.getHighlightedResults(); if ($highlighted.length === 0) { return; } var data = $highlighted.data('data'); if ($highlighted.attr('data-selected') == 'true') { self.trigger('close', {}); } else { self.trigger('select', { data: data }); } }); container.on('results:previous', function () { var $highlighted = self.getHighlightedResults(); var $options = self.$results.find('[data-selected]'); var currentIndex = $options.index($highlighted); // If we are already at te top, don't move further if (currentIndex === 0) { return; } var nextIndex = currentIndex - 1; // If none are highlighted, highlight the first if ($highlighted.length === 0) { nextIndex = 0; } var $next = $options.eq(nextIndex); $next.trigger('mouseenter'); var currentOffset = self.$results.offset().top; var nextTop = $next.offset().top; var nextOffset = self.$results.scrollTop() + (nextTop - currentOffset); if (nextIndex === 0) { self.$results.scrollTop(0); } else if (nextTop - currentOffset < 0) { self.$results.scrollTop(nextOffset); } }); container.on('results:next', function () { var $highlighted = self.getHighlightedResults(); var $options = self.$results.find('[data-selected]'); var currentIndex = $options.index($highlighted); var nextIndex = currentIndex + 1; // If we are at the last option, stay there if (nextIndex >= $options.length) { return; } var $next = $options.eq(nextIndex); $next.trigger('mouseenter'); var currentOffset = self.$results.offset().top + self.$results.outerHeight(false); var nextBottom = $next.offset().top + $next.outerHeight(false); var nextOffset = self.$results.scrollTop() + nextBottom - currentOffset; if (nextIndex === 0) { self.$results.scrollTop(0); } else if (nextBottom > currentOffset) { self.$results.scrollTop(nextOffset); } }); container.on('results:focus', function (params) { params.element.addClass('select2-results__option--highlighted').attr('aria-selected', 'true'); self.$results.attr('aria-activedescendant', params.element.attr('id')); }); container.on('results:message', function (params) { self.displayMessage(params); }); if ($.fn.mousewheel) { this.$results.on('mousewheel', function (e) { var top = self.$results.scrollTop(); var bottom = self.$results.get(0).scrollHeight - top + e.deltaY; var isAtTop = e.deltaY > 0 && top - e.deltaY <= 0; var isAtBottom = e.deltaY < 0 && bottom <= self.$results.height(); if (isAtTop) { self.$results.scrollTop(0); e.preventDefault(); e.stopPropagation(); } else if (isAtBottom) { self.$results.scrollTop( self.$results.get(0).scrollHeight - self.$results.height() ); e.preventDefault(); e.stopPropagation(); } }); } this.$results.on('mouseup', '.select2-results__option[data-selected]', function (evt) { var $this = $(this); var data = $this.data('data'); if ($this.attr('data-selected') === 'true') { if (self.options.get('multiple')) { self.trigger('unselect', { originalEvent: evt, data: data }); } else { self.trigger('close', {}); } return; } self.trigger('select', { originalEvent: evt, data: data }); }); this.$results.on('mouseenter', '.select2-results__option[data-selected]', function (evt) { var data = $(this).data('data'); self.getHighlightedResults() .removeClass('select2-results__option--highlighted') .attr('aria-selected', 'false'); self.trigger('results:focus', { data: data, element: $(this) }); }); }; Results.prototype.getHighlightedResults = function () { var $highlighted = this.$results .find('.select2-results__option--highlighted'); return $highlighted; }; Results.prototype.destroy = function () { this.$results.remove(); }; Results.prototype.ensureHighlightVisible = function () { var $highlighted = this.getHighlightedResults(); if ($highlighted.length === 0) { return; } var $options = this.$results.find('[data-selected]'); var currentIndex = $options.index($highlighted); var currentOffset = this.$results.offset().top; var nextTop = $highlighted.offset().top; var nextOffset = this.$results.scrollTop() + (nextTop - currentOffset); var offsetDelta = nextTop - currentOffset; nextOffset -= $highlighted.outerHeight(false) * 2; if (currentIndex <= 2) { this.$results.scrollTop(0); } else if (offsetDelta > this.$results.outerHeight() || offsetDelta < 0) { this.$results.scrollTop(nextOffset); } }; Results.prototype.template = function (result, container) { var template = this.options.get('templateResult'); var escapeMarkup = this.options.get('escapeMarkup'); var content = template(result, container); if (content == null) { container.style.display = 'none'; } else if (typeof content === 'string') { container.innerHTML = escapeMarkup(content); } else { $(container).append(content); } }; return Results; }); S2.define('select2/keys',[ ], function () { var KEYS = { BACKSPACE: 8, TAB: 9, ENTER: 13, SHIFT: 16, CTRL: 17, ALT: 18, ESC: 27, SPACE: 32, PAGE_UP: 33, PAGE_DOWN: 34, END: 35, HOME: 36, LEFT: 37, UP: 38, RIGHT: 39, DOWN: 40, DELETE: 46 }; return KEYS; }); S2.define('select2/selection/base',[ 'jquery', '../utils', '../keys' ], function ($, Utils, KEYS) { function BaseSelection ($element, options) { this.$element = $element; this.options = options; BaseSelection.__super__.constructor.call(this); } Utils.Extend(BaseSelection, Utils.Observable); BaseSelection.prototype.render = function () { var $selection = $( '' ); this._tabindex = 0; if (this.$element.data('old-tabindex') != null) { this._tabindex = this.$element.data('old-tabindex'); } else if (this.$element.attr('tabindex') != null) { this._tabindex = this.$element.attr('tabindex'); } $selection.attr('title', this.$element.attr('title')); $selection.attr('tabindex', this._tabindex); this.$selection = $selection; return $selection; }; BaseSelection.prototype.bind = function (container, $container) { var self = this; var id = container.id + '-container'; var resultsId = container.id + '-results'; var searchHidden = this.options.get('minimumResultsForSearch') === Infinity; this.container = container; this.$selection.on('focus', function (evt) { self.trigger('focus', evt); }); this.$selection.on('blur', function (evt) { self._handleBlur(evt); }); this.$selection.on('keydown', function (evt) { self.trigger('keypress', evt); if (evt.which === KEYS.SPACE) { evt.preventDefault(); } }); container.on('results:focus', function (params) { self.$selection.attr('aria-activedescendant', params.data._resultId); }); container.on('selection:update', function (params) { self.update(params.data); }); container.on('open', function () { // When the dropdown is open, aria-expanded="true" self.$selection.attr('aria-expanded', 'true'); self.$selection.attr('aria-owns', resultsId); self._attachCloseHandler(container); }); container.on('close', function () { // When the dropdown is closed, aria-expanded="false" self.$selection.attr('aria-expanded', 'false'); self.$selection.removeAttr('aria-activedescendant'); self.$selection.removeAttr('aria-owns'); // This needs to be delayed as the active element is the body when the // key is pressed. window.setTimeout(function () { self.$selection.focus(); }, 1); self._detachCloseHandler(container); }); container.on('enable', function () { self.$selection.attr('tabindex', self._tabindex); }); container.on('disable', function () { self.$selection.attr('tabindex', '-1'); }); }; BaseSelection.prototype._handleBlur = function (evt) { var self = this; // This needs to be delayed as the active element is the body when the tab // key is pressed, possibly along with others. window.setTimeout(function () { // Don't trigger `blur` if the focus is still in the selection if ( (document.activeElement == self.$selection[0]) || ($.contains(self.$selection[0], document.activeElement)) ) { return; } self.trigger('blur', evt); }, 1); }; BaseSelection.prototype._attachCloseHandler = function (container) { var self = this; $(document.body).on('mousedown.select2.' + container.id, function (e) { var $target = $(e.target); var $select = $target.closest('.select2'); var $all = $('.select2.select2-container--open'); $all.each(function () { var $this = $(this); if (this == $select[0]) { return; } var $element = $this.data('element'); $element.select2('close'); // Remove any focus when dropdown is closed by clicking outside the select area. // Timeout of 1 required for close to finish wrapping up. setTimeout(function(){ $this.find('*:focus').blur(); $target.focus(); }, 1); }); }); }; BaseSelection.prototype._detachCloseHandler = function (container) { $(document.body).off('mousedown.select2.' + container.id); }; BaseSelection.prototype.position = function ($selection, $container) { var $selectionContainer = $container.find('.selection'); $selectionContainer.append($selection); }; BaseSelection.prototype.destroy = function () { this._detachCloseHandler(this.container); }; BaseSelection.prototype.update = function (data) { throw new Error('The `update` method must be defined in child classes.'); }; return BaseSelection; }); S2.define('select2/selection/single',[ 'jquery', './base', '../utils', '../keys' ], function ($, BaseSelection, Utils, KEYS) { function SingleSelection () { SingleSelection.__super__.constructor.apply(this, arguments); } Utils.Extend(SingleSelection, BaseSelection); SingleSelection.prototype.render = function () { var $selection = SingleSelection.__super__.render.call(this); $selection.addClass('select2-selection--single'); $selection.html( '' + '' + '' + '' ); return $selection; }; SingleSelection.prototype.bind = function (container, $container) { var self = this; SingleSelection.__super__.bind.apply(this, arguments); var id = container.id + '-container'; this.$selection.find('.select2-selection__rendered') .attr('id', id) .attr('role', 'textbox') .attr('aria-readonly', 'true'); this.$selection.attr('aria-labelledby', id); // This makes single non-search selects work in screen readers. If it causes problems elsewhere, remove. this.$selection.attr('role', 'combobox'); this.$selection.on('mousedown', function (evt) { // Only respond to left clicks if (evt.which !== 1) { return; } self.trigger('toggle', { originalEvent: evt }); }); this.$selection.on('focus', function (evt) { // User focuses on the container }); this.$selection.on('keydown', function (evt) { // If user starts typing an alphanumeric key on the keyboard, open if not opened. if (!container.isOpen() && evt.which >= 48 && evt.which <= 90) { container.open(); } }); this.$selection.on('blur', function (evt) { // User exits the container }); container.on('focus', function (evt) { if (!container.isOpen()) { self.$selection.focus(); } }); container.on('selection:update', function (params) { self.update(params.data); }); }; SingleSelection.prototype.clear = function () { this.$selection.find('.select2-selection__rendered').empty(); }; SingleSelection.prototype.display = function (data, container) { var template = this.options.get('templateSelection'); var escapeMarkup = this.options.get('escapeMarkup'); return escapeMarkup(template(data, container)); }; SingleSelection.prototype.selectionContainer = function () { return $(''); }; SingleSelection.prototype.update = function (data) { if (data.length === 0) { this.clear(); return; } var selection = data[0]; var $rendered = this.$selection.find('.select2-selection__rendered'); var formatted = this.display(selection, $rendered); $rendered.empty().append(formatted); $rendered.prop('title', selection.title || selection.text); }; return SingleSelection; }); S2.define('select2/selection/multiple',[ 'jquery', './base', '../utils' ], function ($, BaseSelection, Utils) { function MultipleSelection ($element, options) { MultipleSelection.__super__.constructor.apply(this, arguments); } Utils.Extend(MultipleSelection, BaseSelection); MultipleSelection.prototype.render = function () { var $selection = MultipleSelection.__super__.render.call(this); $selection.addClass('select2-selection--multiple'); $selection.html( '' ); return $selection; }; MultipleSelection.prototype.bind = function (container, $container) { var self = this; MultipleSelection.__super__.bind.apply(this, arguments); this.$selection.on('click', function (evt) { self.trigger('toggle', { originalEvent: evt }); }); this.$selection.on( 'click', '.select2-selection__choice__remove', function (evt) { // Ignore the event if it is disabled if (self.options.get('disabled')) { return; } var $remove = $(this); var $selection = $remove.parent(); var data = $selection.data('data'); self.trigger('unselect', { originalEvent: evt, data: data }); } ); this.$selection.on('keydown', function (evt) { // If user starts typing an alphanumeric key on the keyboard, open if not opened. if (!container.isOpen() && evt.which >= 48 && evt.which <= 90) { container.open(); } }); // Focus on the search field when the container is focused instead of the main container. container.on( 'focus', function(){ self.focusOnSearch(); }); }; MultipleSelection.prototype.clear = function () { this.$selection.find('.select2-selection__rendered').empty(); }; MultipleSelection.prototype.display = function (data, container) { var template = this.options.get('templateSelection'); var escapeMarkup = this.options.get('escapeMarkup'); return escapeMarkup(template(data, container)); }; MultipleSelection.prototype.selectionContainer = function () { var $container = $( '
  • ' + '' + '
  • ' ); return $container; }; /** * Focus on the search field instead of the main multiselect container. */ MultipleSelection.prototype.focusOnSearch = function() { var self = this; if ('undefined' !== typeof self.$search) { // Needs 1 ms delay because of other 1 ms setTimeouts when rendering. setTimeout(function(){ // Prevent the dropdown opening again when focused from this. // This gets reset automatically when focus is triggered. self._keyUpPrevented = true; self.$search.focus(); }, 1); } } MultipleSelection.prototype.update = function (data) { this.clear(); if (data.length === 0) { return; } var $selections = []; for (var d = 0; d < data.length; d++) { var selection = data[d]; var $selection = this.selectionContainer(); var formatted = this.display(selection, $selection); if ('string' === typeof formatted) { formatted = formatted.trim(); } $selection.append(formatted); $selection.prop('title', selection.title || selection.text); $selection.data('data', selection); $selections.push($selection); } var $rendered = this.$selection.find('.select2-selection__rendered'); Utils.appendMany($rendered, $selections); }; return MultipleSelection; }); S2.define('select2/selection/placeholder',[ '../utils' ], function (Utils) { function Placeholder (decorated, $element, options) { this.placeholder = this.normalizePlaceholder(options.get('placeholder')); decorated.call(this, $element, options); } Placeholder.prototype.normalizePlaceholder = function (_, placeholder) { if (typeof placeholder === 'string') { placeholder = { id: '', text: placeholder }; } return placeholder; }; Placeholder.prototype.createPlaceholder = function (decorated, placeholder) { var $placeholder = this.selectionContainer(); $placeholder.html(this.display(placeholder)); $placeholder.addClass('select2-selection__placeholder') .removeClass('select2-selection__choice'); return $placeholder; }; Placeholder.prototype.update = function (decorated, data) { var singlePlaceholder = ( data.length == 1 && data[0].id != this.placeholder.id ); var multipleSelections = data.length > 1; if (multipleSelections || singlePlaceholder) { return decorated.call(this, data); } this.clear(); var $placeholder = this.createPlaceholder(this.placeholder); this.$selection.find('.select2-selection__rendered').append($placeholder); }; return Placeholder; }); S2.define('select2/selection/allowClear',[ 'jquery', '../keys' ], function ($, KEYS) { function AllowClear () { } AllowClear.prototype.bind = function (decorated, container, $container) { var self = this; decorated.call(this, container, $container); if (this.placeholder == null) { if (this.options.get('debug') && window.console && console.error) { console.error( 'Select2: The `allowClear` option should be used in combination ' + 'with the `placeholder` option.' ); } } this.$selection.on('mousedown', '.select2-selection__clear', function (evt) { self._handleClear(evt); }); container.on('keypress', function (evt) { self._handleKeyboardClear(evt, container); }); }; AllowClear.prototype._handleClear = function (_, evt) { // Ignore the event if it is disabled if (this.options.get('disabled')) { return; } var $clear = this.$selection.find('.select2-selection__clear'); // Ignore the event if nothing has been selected if ($clear.length === 0) { return; } evt.stopPropagation(); var data = $clear.data('data'); for (var d = 0; d < data.length; d++) { var unselectData = { data: data[d] }; // Trigger the `unselect` event, so people can prevent it from being // cleared. this.trigger('unselect', unselectData); // If the event was prevented, don't clear it out. if (unselectData.prevented) { return; } } this.$element.val(this.placeholder.id).trigger('change'); this.trigger('toggle', {}); }; AllowClear.prototype._handleKeyboardClear = function (_, evt, container) { if (container.isOpen()) { return; } if (evt.which == KEYS.DELETE || evt.which == KEYS.BACKSPACE) { this._handleClear(evt); } }; AllowClear.prototype.update = function (decorated, data) { decorated.call(this, data); if (this.$selection.find('.select2-selection__placeholder').length > 0 || data.length === 0) { return; } var $remove = $( '' + '×' + '' ); $remove.data('data', data); this.$selection.find('.select2-selection__rendered').prepend($remove); }; return AllowClear; }); S2.define('select2/selection/search',[ 'jquery', '../utils', '../keys' ], function ($, Utils, KEYS) { function Search (decorated, $element, options) { decorated.call(this, $element, options); } Search.prototype.render = function (decorated) { var $search = $( '' ); this.$searchContainer = $search; this.$search = $search.find('input'); var $rendered = decorated.call(this); this._transferTabIndex(); return $rendered; }; Search.prototype.bind = function (decorated, container, $container) { var self = this; var resultsId = container.id + '-results'; decorated.call(this, container, $container); container.on('open', function () { self.$search.attr('aria-owns', resultsId); self.$search.trigger('focus'); }); container.on('close', function () { self.$search.val(''); self.$search.removeAttr('aria-activedescendant'); self.$search.removeAttr('aria-owns'); self.$search.trigger('focus'); }); container.on('enable', function () { self.$search.prop('disabled', false); self._transferTabIndex(); }); container.on('disable', function () { self.$search.prop('disabled', true); }); container.on('focus', function (evt) { self.$search.trigger('focus'); }); container.on('results:focus', function (params) { self.$search.attr('aria-activedescendant', params.data._resultId); }); this.$selection.on('focusin', '.select2-search--inline', function (evt) { self.trigger('focus', evt); }); this.$selection.on('focusout', '.select2-search--inline', function (evt) { self._handleBlur(evt); }); this.$selection.on('keydown', '.select2-search--inline', function (evt) { evt.stopPropagation(); self.trigger('keypress', evt); self._keyUpPrevented = evt.isDefaultPrevented(); var key = evt.which; if (key === KEYS.BACKSPACE && self.$search.val() === '') { var $previousChoice = self.$searchContainer .prev('.select2-selection__choice'); if ($previousChoice.length > 0) { var item = $previousChoice.data('data'); self.searchRemoveChoice(item); evt.preventDefault(); } } else if (evt.which === KEYS.ENTER) { container.open(); evt.preventDefault(); } }); // Try to detect the IE version should the `documentMode` property that // is stored on the document. This is only implemented in IE and is // slightly cleaner than doing a user agent check. // This property is not available in Edge, but Edge also doesn't have // this bug. var msie = document.documentMode; var disableInputEvents = msie && msie <= 11; // Workaround for browsers which do not support the `input` event // This will prevent double-triggering of events for browsers which support // both the `keyup` and `input` events. this.$selection.on( 'input.searchcheck', '.select2-search--inline', function (evt) { // IE will trigger the `input` event when a placeholder is used on a // search box. To get around this issue, we are forced to ignore all // `input` events in IE and keep using `keyup`. if (disableInputEvents) { self.$selection.off('input.search input.searchcheck'); return; } // Unbind the duplicated `keyup` event self.$selection.off('keyup.search'); } ); this.$selection.on( 'keyup.search input.search', '.select2-search--inline', function (evt) { // IE will trigger the `input` event when a placeholder is used on a // search box. To get around this issue, we are forced to ignore all // `input` events in IE and keep using `keyup`. if (disableInputEvents && evt.type === 'input') { self.$selection.off('input.search input.searchcheck'); return; } var key = evt.which; // We can freely ignore events from modifier keys if (key == KEYS.SHIFT || key == KEYS.CTRL || key == KEYS.ALT) { return; } // Tabbing will be handled during the `keydown` phase if (key == KEYS.TAB) { return; } self.handleSearch(evt); } ); }; /** * This method will transfer the tabindex attribute from the rendered * selection to the search box. This allows for the search box to be used as * the primary focus instead of the selection container. * * @private */ Search.prototype._transferTabIndex = function (decorated) { this.$search.attr('tabindex', this.$selection.attr('tabindex')); this.$selection.attr('tabindex', '-1'); }; Search.prototype.createPlaceholder = function (decorated, placeholder) { this.$search.attr('placeholder', placeholder.text); }; Search.prototype.update = function (decorated, data) { var searchHadFocus = this.$search[0] == document.activeElement; this.$search.attr('placeholder', ''); decorated.call(this, data); this.$selection.find('.select2-selection__rendered') .append(this.$searchContainer); this.resizeSearch(); if (searchHadFocus) { this.$search.focus(); } }; Search.prototype.handleSearch = function () { this.resizeSearch(); if (!this._keyUpPrevented) { var input = this.$search.val(); this.trigger('query', { term: input }); } this._keyUpPrevented = false; }; Search.prototype.searchRemoveChoice = function (decorated, item) { this.trigger('unselect', { data: item }); this.$search.val(item.text); this.handleSearch(); }; Search.prototype.resizeSearch = function () { this.$search.css('width', '25px'); var width = ''; if (this.$search.attr('placeholder') !== '') { width = this.$selection.find('.select2-selection__rendered').innerWidth(); } else { var minimumWidth = this.$search.val().length + 1; width = (minimumWidth * 0.75) + 'em'; } this.$search.css('width', width); }; return Search; }); S2.define('select2/selection/eventRelay',[ 'jquery' ], function ($) { function EventRelay () { } EventRelay.prototype.bind = function (decorated, container, $container) { var self = this; var relayEvents = [ 'open', 'opening', 'close', 'closing', 'select', 'selecting', 'unselect', 'unselecting' ]; var preventableEvents = ['opening', 'closing', 'selecting', 'unselecting']; decorated.call(this, container, $container); container.on('*', function (name, params) { // Ignore events that should not be relayed if ($.inArray(name, relayEvents) === -1) { return; } // The parameters should always be an object params = params || {}; // Generate the jQuery event for the Select2 event var evt = $.Event('select2:' + name, { params: params }); self.$element.trigger(evt); // Only handle preventable events if it was one if ($.inArray(name, preventableEvents) === -1) { return; } params.prevented = evt.isDefaultPrevented(); }); }; return EventRelay; }); S2.define('select2/translation',[ 'jquery', 'require' ], function ($, require) { function Translation (dict) { this.dict = dict || {}; } Translation.prototype.all = function () { return this.dict; }; Translation.prototype.get = function (key) { return this.dict[key]; }; Translation.prototype.extend = function (translation) { this.dict = $.extend({}, translation.all(), this.dict); }; // Static functions Translation._cache = {}; Translation.loadPath = function (path) { if (!(path in Translation._cache)) { var translations = require(path); Translation._cache[path] = translations; } return new Translation(Translation._cache[path]); }; return Translation; }); S2.define('select2/diacritics',[ ], function () { var diacritics = { '\u24B6': 'A', '\uFF21': 'A', '\u00C0': 'A', '\u00C1': 'A', '\u00C2': 'A', '\u1EA6': 'A', '\u1EA4': 'A', '\u1EAA': 'A', '\u1EA8': 'A', '\u00C3': 'A', '\u0100': 'A', '\u0102': 'A', '\u1EB0': 'A', '\u1EAE': 'A', '\u1EB4': 'A', '\u1EB2': 'A', '\u0226': 'A', '\u01E0': 'A', '\u00C4': 'A', '\u01DE': 'A', '\u1EA2': 'A', '\u00C5': 'A', '\u01FA': 'A', '\u01CD': 'A', '\u0200': 'A', '\u0202': 'A', '\u1EA0': 'A', '\u1EAC': 'A', '\u1EB6': 'A', '\u1E00': 'A', '\u0104': 'A', '\u023A': 'A', '\u2C6F': 'A', '\uA732': 'AA', '\u00C6': 'AE', '\u01FC': 'AE', '\u01E2': 'AE', '\uA734': 'AO', '\uA736': 'AU', '\uA738': 'AV', '\uA73A': 'AV', '\uA73C': 'AY', '\u24B7': 'B', '\uFF22': 'B', '\u1E02': 'B', '\u1E04': 'B', '\u1E06': 'B', '\u0243': 'B', '\u0182': 'B', '\u0181': 'B', '\u24B8': 'C', '\uFF23': 'C', '\u0106': 'C', '\u0108': 'C', '\u010A': 'C', '\u010C': 'C', '\u00C7': 'C', '\u1E08': 'C', '\u0187': 'C', '\u023B': 'C', '\uA73E': 'C', '\u24B9': 'D', '\uFF24': 'D', '\u1E0A': 'D', '\u010E': 'D', '\u1E0C': 'D', '\u1E10': 'D', '\u1E12': 'D', '\u1E0E': 'D', '\u0110': 'D', '\u018B': 'D', '\u018A': 'D', '\u0189': 'D', '\uA779': 'D', '\u01F1': 'DZ', '\u01C4': 'DZ', '\u01F2': 'Dz', '\u01C5': 'Dz', '\u24BA': 'E', '\uFF25': 'E', '\u00C8': 'E', '\u00C9': 'E', '\u00CA': 'E', '\u1EC0': 'E', '\u1EBE': 'E', '\u1EC4': 'E', '\u1EC2': 'E', '\u1EBC': 'E', '\u0112': 'E', '\u1E14': 'E', '\u1E16': 'E', '\u0114': 'E', '\u0116': 'E', '\u00CB': 'E', '\u1EBA': 'E', '\u011A': 'E', '\u0204': 'E', '\u0206': 'E', '\u1EB8': 'E', '\u1EC6': 'E', '\u0228': 'E', '\u1E1C': 'E', '\u0118': 'E', '\u1E18': 'E', '\u1E1A': 'E', '\u0190': 'E', '\u018E': 'E', '\u24BB': 'F', '\uFF26': 'F', '\u1E1E': 'F', '\u0191': 'F', '\uA77B': 'F', '\u24BC': 'G', '\uFF27': 'G', '\u01F4': 'G', '\u011C': 'G', '\u1E20': 'G', '\u011E': 'G', '\u0120': 'G', '\u01E6': 'G', '\u0122': 'G', '\u01E4': 'G', '\u0193': 'G', '\uA7A0': 'G', '\uA77D': 'G', '\uA77E': 'G', '\u24BD': 'H', '\uFF28': 'H', '\u0124': 'H', '\u1E22': 'H', '\u1E26': 'H', '\u021E': 'H', '\u1E24': 'H', '\u1E28': 'H', '\u1E2A': 'H', '\u0126': 'H', '\u2C67': 'H', '\u2C75': 'H', '\uA78D': 'H', '\u24BE': 'I', '\uFF29': 'I', '\u00CC': 'I', '\u00CD': 'I', '\u00CE': 'I', '\u0128': 'I', '\u012A': 'I', '\u012C': 'I', '\u0130': 'I', '\u00CF': 'I', '\u1E2E': 'I', '\u1EC8': 'I', '\u01CF': 'I', '\u0208': 'I', '\u020A': 'I', '\u1ECA': 'I', '\u012E': 'I', '\u1E2C': 'I', '\u0197': 'I', '\u24BF': 'J', '\uFF2A': 'J', '\u0134': 'J', '\u0248': 'J', '\u24C0': 'K', '\uFF2B': 'K', '\u1E30': 'K', '\u01E8': 'K', '\u1E32': 'K', '\u0136': 'K', '\u1E34': 'K', '\u0198': 'K', '\u2C69': 'K', '\uA740': 'K', '\uA742': 'K', '\uA744': 'K', '\uA7A2': 'K', '\u24C1': 'L', '\uFF2C': 'L', '\u013F': 'L', '\u0139': 'L', '\u013D': 'L', '\u1E36': 'L', '\u1E38': 'L', '\u013B': 'L', '\u1E3C': 'L', '\u1E3A': 'L', '\u0141': 'L', '\u023D': 'L', '\u2C62': 'L', '\u2C60': 'L', '\uA748': 'L', '\uA746': 'L', '\uA780': 'L', '\u01C7': 'LJ', '\u01C8': 'Lj', '\u24C2': 'M', '\uFF2D': 'M', '\u1E3E': 'M', '\u1E40': 'M', '\u1E42': 'M', '\u2C6E': 'M', '\u019C': 'M', '\u24C3': 'N', '\uFF2E': 'N', '\u01F8': 'N', '\u0143': 'N', '\u00D1': 'N', '\u1E44': 'N', '\u0147': 'N', '\u1E46': 'N', '\u0145': 'N', '\u1E4A': 'N', '\u1E48': 'N', '\u0220': 'N', '\u019D': 'N', '\uA790': 'N', '\uA7A4': 'N', '\u01CA': 'NJ', '\u01CB': 'Nj', '\u24C4': 'O', '\uFF2F': 'O', '\u00D2': 'O', '\u00D3': 'O', '\u00D4': 'O', '\u1ED2': 'O', '\u1ED0': 'O', '\u1ED6': 'O', '\u1ED4': 'O', '\u00D5': 'O', '\u1E4C': 'O', '\u022C': 'O', '\u1E4E': 'O', '\u014C': 'O', '\u1E50': 'O', '\u1E52': 'O', '\u014E': 'O', '\u022E': 'O', '\u0230': 'O', '\u00D6': 'O', '\u022A': 'O', '\u1ECE': 'O', '\u0150': 'O', '\u01D1': 'O', '\u020C': 'O', '\u020E': 'O', '\u01A0': 'O', '\u1EDC': 'O', '\u1EDA': 'O', '\u1EE0': 'O', '\u1EDE': 'O', '\u1EE2': 'O', '\u1ECC': 'O', '\u1ED8': 'O', '\u01EA': 'O', '\u01EC': 'O', '\u00D8': 'O', '\u01FE': 'O', '\u0186': 'O', '\u019F': 'O', '\uA74A': 'O', '\uA74C': 'O', '\u01A2': 'OI', '\uA74E': 'OO', '\u0222': 'OU', '\u24C5': 'P', '\uFF30': 'P', '\u1E54': 'P', '\u1E56': 'P', '\u01A4': 'P', '\u2C63': 'P', '\uA750': 'P', '\uA752': 'P', '\uA754': 'P', '\u24C6': 'Q', '\uFF31': 'Q', '\uA756': 'Q', '\uA758': 'Q', '\u024A': 'Q', '\u24C7': 'R', '\uFF32': 'R', '\u0154': 'R', '\u1E58': 'R', '\u0158': 'R', '\u0210': 'R', '\u0212': 'R', '\u1E5A': 'R', '\u1E5C': 'R', '\u0156': 'R', '\u1E5E': 'R', '\u024C': 'R', '\u2C64': 'R', '\uA75A': 'R', '\uA7A6': 'R', '\uA782': 'R', '\u24C8': 'S', '\uFF33': 'S', '\u1E9E': 'S', '\u015A': 'S', '\u1E64': 'S', '\u015C': 'S', '\u1E60': 'S', '\u0160': 'S', '\u1E66': 'S', '\u1E62': 'S', '\u1E68': 'S', '\u0218': 'S', '\u015E': 'S', '\u2C7E': 'S', '\uA7A8': 'S', '\uA784': 'S', '\u24C9': 'T', '\uFF34': 'T', '\u1E6A': 'T', '\u0164': 'T', '\u1E6C': 'T', '\u021A': 'T', '\u0162': 'T', '\u1E70': 'T', '\u1E6E': 'T', '\u0166': 'T', '\u01AC': 'T', '\u01AE': 'T', '\u023E': 'T', '\uA786': 'T', '\uA728': 'TZ', '\u24CA': 'U', '\uFF35': 'U', '\u00D9': 'U', '\u00DA': 'U', '\u00DB': 'U', '\u0168': 'U', '\u1E78': 'U', '\u016A': 'U', '\u1E7A': 'U', '\u016C': 'U', '\u00DC': 'U', '\u01DB': 'U', '\u01D7': 'U', '\u01D5': 'U', '\u01D9': 'U', '\u1EE6': 'U', '\u016E': 'U', '\u0170': 'U', '\u01D3': 'U', '\u0214': 'U', '\u0216': 'U', '\u01AF': 'U', '\u1EEA': 'U', '\u1EE8': 'U', '\u1EEE': 'U', '\u1EEC': 'U', '\u1EF0': 'U', '\u1EE4': 'U', '\u1E72': 'U', '\u0172': 'U', '\u1E76': 'U', '\u1E74': 'U', '\u0244': 'U', '\u24CB': 'V', '\uFF36': 'V', '\u1E7C': 'V', '\u1E7E': 'V', '\u01B2': 'V', '\uA75E': 'V', '\u0245': 'V', '\uA760': 'VY', '\u24CC': 'W', '\uFF37': 'W', '\u1E80': 'W', '\u1E82': 'W', '\u0174': 'W', '\u1E86': 'W', '\u1E84': 'W', '\u1E88': 'W', '\u2C72': 'W', '\u24CD': 'X', '\uFF38': 'X', '\u1E8A': 'X', '\u1E8C': 'X', '\u24CE': 'Y', '\uFF39': 'Y', '\u1EF2': 'Y', '\u00DD': 'Y', '\u0176': 'Y', '\u1EF8': 'Y', '\u0232': 'Y', '\u1E8E': 'Y', '\u0178': 'Y', '\u1EF6': 'Y', '\u1EF4': 'Y', '\u01B3': 'Y', '\u024E': 'Y', '\u1EFE': 'Y', '\u24CF': 'Z', '\uFF3A': 'Z', '\u0179': 'Z', '\u1E90': 'Z', '\u017B': 'Z', '\u017D': 'Z', '\u1E92': 'Z', '\u1E94': 'Z', '\u01B5': 'Z', '\u0224': 'Z', '\u2C7F': 'Z', '\u2C6B': 'Z', '\uA762': 'Z', '\u24D0': 'a', '\uFF41': 'a', '\u1E9A': 'a', '\u00E0': 'a', '\u00E1': 'a', '\u00E2': 'a', '\u1EA7': 'a', '\u1EA5': 'a', '\u1EAB': 'a', '\u1EA9': 'a', '\u00E3': 'a', '\u0101': 'a', '\u0103': 'a', '\u1EB1': 'a', '\u1EAF': 'a', '\u1EB5': 'a', '\u1EB3': 'a', '\u0227': 'a', '\u01E1': 'a', '\u00E4': 'a', '\u01DF': 'a', '\u1EA3': 'a', '\u00E5': 'a', '\u01FB': 'a', '\u01CE': 'a', '\u0201': 'a', '\u0203': 'a', '\u1EA1': 'a', '\u1EAD': 'a', '\u1EB7': 'a', '\u1E01': 'a', '\u0105': 'a', '\u2C65': 'a', '\u0250': 'a', '\uA733': 'aa', '\u00E6': 'ae', '\u01FD': 'ae', '\u01E3': 'ae', '\uA735': 'ao', '\uA737': 'au', '\uA739': 'av', '\uA73B': 'av', '\uA73D': 'ay', '\u24D1': 'b', '\uFF42': 'b', '\u1E03': 'b', '\u1E05': 'b', '\u1E07': 'b', '\u0180': 'b', '\u0183': 'b', '\u0253': 'b', '\u24D2': 'c', '\uFF43': 'c', '\u0107': 'c', '\u0109': 'c', '\u010B': 'c', '\u010D': 'c', '\u00E7': 'c', '\u1E09': 'c', '\u0188': 'c', '\u023C': 'c', '\uA73F': 'c', '\u2184': 'c', '\u24D3': 'd', '\uFF44': 'd', '\u1E0B': 'd', '\u010F': 'd', '\u1E0D': 'd', '\u1E11': 'd', '\u1E13': 'd', '\u1E0F': 'd', '\u0111': 'd', '\u018C': 'd', '\u0256': 'd', '\u0257': 'd', '\uA77A': 'd', '\u01F3': 'dz', '\u01C6': 'dz', '\u24D4': 'e', '\uFF45': 'e', '\u00E8': 'e', '\u00E9': 'e', '\u00EA': 'e', '\u1EC1': 'e', '\u1EBF': 'e', '\u1EC5': 'e', '\u1EC3': 'e', '\u1EBD': 'e', '\u0113': 'e', '\u1E15': 'e', '\u1E17': 'e', '\u0115': 'e', '\u0117': 'e', '\u00EB': 'e', '\u1EBB': 'e', '\u011B': 'e', '\u0205': 'e', '\u0207': 'e', '\u1EB9': 'e', '\u1EC7': 'e', '\u0229': 'e', '\u1E1D': 'e', '\u0119': 'e', '\u1E19': 'e', '\u1E1B': 'e', '\u0247': 'e', '\u025B': 'e', '\u01DD': 'e', '\u24D5': 'f', '\uFF46': 'f', '\u1E1F': 'f', '\u0192': 'f', '\uA77C': 'f', '\u24D6': 'g', '\uFF47': 'g', '\u01F5': 'g', '\u011D': 'g', '\u1E21': 'g', '\u011F': 'g', '\u0121': 'g', '\u01E7': 'g', '\u0123': 'g', '\u01E5': 'g', '\u0260': 'g', '\uA7A1': 'g', '\u1D79': 'g', '\uA77F': 'g', '\u24D7': 'h', '\uFF48': 'h', '\u0125': 'h', '\u1E23': 'h', '\u1E27': 'h', '\u021F': 'h', '\u1E25': 'h', '\u1E29': 'h', '\u1E2B': 'h', '\u1E96': 'h', '\u0127': 'h', '\u2C68': 'h', '\u2C76': 'h', '\u0265': 'h', '\u0195': 'hv', '\u24D8': 'i', '\uFF49': 'i', '\u00EC': 'i', '\u00ED': 'i', '\u00EE': 'i', '\u0129': 'i', '\u012B': 'i', '\u012D': 'i', '\u00EF': 'i', '\u1E2F': 'i', '\u1EC9': 'i', '\u01D0': 'i', '\u0209': 'i', '\u020B': 'i', '\u1ECB': 'i', '\u012F': 'i', '\u1E2D': 'i', '\u0268': 'i', '\u0131': 'i', '\u24D9': 'j', '\uFF4A': 'j', '\u0135': 'j', '\u01F0': 'j', '\u0249': 'j', '\u24DA': 'k', '\uFF4B': 'k', '\u1E31': 'k', '\u01E9': 'k', '\u1E33': 'k', '\u0137': 'k', '\u1E35': 'k', '\u0199': 'k', '\u2C6A': 'k', '\uA741': 'k', '\uA743': 'k', '\uA745': 'k', '\uA7A3': 'k', '\u24DB': 'l', '\uFF4C': 'l', '\u0140': 'l', '\u013A': 'l', '\u013E': 'l', '\u1E37': 'l', '\u1E39': 'l', '\u013C': 'l', '\u1E3D': 'l', '\u1E3B': 'l', '\u017F': 'l', '\u0142': 'l', '\u019A': 'l', '\u026B': 'l', '\u2C61': 'l', '\uA749': 'l', '\uA781': 'l', '\uA747': 'l', '\u01C9': 'lj', '\u24DC': 'm', '\uFF4D': 'm', '\u1E3F': 'm', '\u1E41': 'm', '\u1E43': 'm', '\u0271': 'm', '\u026F': 'm', '\u24DD': 'n', '\uFF4E': 'n', '\u01F9': 'n', '\u0144': 'n', '\u00F1': 'n', '\u1E45': 'n', '\u0148': 'n', '\u1E47': 'n', '\u0146': 'n', '\u1E4B': 'n', '\u1E49': 'n', '\u019E': 'n', '\u0272': 'n', '\u0149': 'n', '\uA791': 'n', '\uA7A5': 'n', '\u01CC': 'nj', '\u24DE': 'o', '\uFF4F': 'o', '\u00F2': 'o', '\u00F3': 'o', '\u00F4': 'o', '\u1ED3': 'o', '\u1ED1': 'o', '\u1ED7': 'o', '\u1ED5': 'o', '\u00F5': 'o', '\u1E4D': 'o', '\u022D': 'o', '\u1E4F': 'o', '\u014D': 'o', '\u1E51': 'o', '\u1E53': 'o', '\u014F': 'o', '\u022F': 'o', '\u0231': 'o', '\u00F6': 'o', '\u022B': 'o', '\u1ECF': 'o', '\u0151': 'o', '\u01D2': 'o', '\u020D': 'o', '\u020F': 'o', '\u01A1': 'o', '\u1EDD': 'o', '\u1EDB': 'o', '\u1EE1': 'o', '\u1EDF': 'o', '\u1EE3': 'o', '\u1ECD': 'o', '\u1ED9': 'o', '\u01EB': 'o', '\u01ED': 'o', '\u00F8': 'o', '\u01FF': 'o', '\u0254': 'o', '\uA74B': 'o', '\uA74D': 'o', '\u0275': 'o', '\u01A3': 'oi', '\u0223': 'ou', '\uA74F': 'oo', '\u24DF': 'p', '\uFF50': 'p', '\u1E55': 'p', '\u1E57': 'p', '\u01A5': 'p', '\u1D7D': 'p', '\uA751': 'p', '\uA753': 'p', '\uA755': 'p', '\u24E0': 'q', '\uFF51': 'q', '\u024B': 'q', '\uA757': 'q', '\uA759': 'q', '\u24E1': 'r', '\uFF52': 'r', '\u0155': 'r', '\u1E59': 'r', '\u0159': 'r', '\u0211': 'r', '\u0213': 'r', '\u1E5B': 'r', '\u1E5D': 'r', '\u0157': 'r', '\u1E5F': 'r', '\u024D': 'r', '\u027D': 'r', '\uA75B': 'r', '\uA7A7': 'r', '\uA783': 'r', '\u24E2': 's', '\uFF53': 's', '\u00DF': 's', '\u015B': 's', '\u1E65': 's', '\u015D': 's', '\u1E61': 's', '\u0161': 's', '\u1E67': 's', '\u1E63': 's', '\u1E69': 's', '\u0219': 's', '\u015F': 's', '\u023F': 's', '\uA7A9': 's', '\uA785': 's', '\u1E9B': 's', '\u24E3': 't', '\uFF54': 't', '\u1E6B': 't', '\u1E97': 't', '\u0165': 't', '\u1E6D': 't', '\u021B': 't', '\u0163': 't', '\u1E71': 't', '\u1E6F': 't', '\u0167': 't', '\u01AD': 't', '\u0288': 't', '\u2C66': 't', '\uA787': 't', '\uA729': 'tz', '\u24E4': 'u', '\uFF55': 'u', '\u00F9': 'u', '\u00FA': 'u', '\u00FB': 'u', '\u0169': 'u', '\u1E79': 'u', '\u016B': 'u', '\u1E7B': 'u', '\u016D': 'u', '\u00FC': 'u', '\u01DC': 'u', '\u01D8': 'u', '\u01D6': 'u', '\u01DA': 'u', '\u1EE7': 'u', '\u016F': 'u', '\u0171': 'u', '\u01D4': 'u', '\u0215': 'u', '\u0217': 'u', '\u01B0': 'u', '\u1EEB': 'u', '\u1EE9': 'u', '\u1EEF': 'u', '\u1EED': 'u', '\u1EF1': 'u', '\u1EE5': 'u', '\u1E73': 'u', '\u0173': 'u', '\u1E77': 'u', '\u1E75': 'u', '\u0289': 'u', '\u24E5': 'v', '\uFF56': 'v', '\u1E7D': 'v', '\u1E7F': 'v', '\u028B': 'v', '\uA75F': 'v', '\u028C': 'v', '\uA761': 'vy', '\u24E6': 'w', '\uFF57': 'w', '\u1E81': 'w', '\u1E83': 'w', '\u0175': 'w', '\u1E87': 'w', '\u1E85': 'w', '\u1E98': 'w', '\u1E89': 'w', '\u2C73': 'w', '\u24E7': 'x', '\uFF58': 'x', '\u1E8B': 'x', '\u1E8D': 'x', '\u24E8': 'y', '\uFF59': 'y', '\u1EF3': 'y', '\u00FD': 'y', '\u0177': 'y', '\u1EF9': 'y', '\u0233': 'y', '\u1E8F': 'y', '\u00FF': 'y', '\u1EF7': 'y', '\u1E99': 'y', '\u1EF5': 'y', '\u01B4': 'y', '\u024F': 'y', '\u1EFF': 'y', '\u24E9': 'z', '\uFF5A': 'z', '\u017A': 'z', '\u1E91': 'z', '\u017C': 'z', '\u017E': 'z', '\u1E93': 'z', '\u1E95': 'z', '\u01B6': 'z', '\u0225': 'z', '\u0240': 'z', '\u2C6C': 'z', '\uA763': 'z', '\u0386': '\u0391', '\u0388': '\u0395', '\u0389': '\u0397', '\u038A': '\u0399', '\u03AA': '\u0399', '\u038C': '\u039F', '\u038E': '\u03A5', '\u03AB': '\u03A5', '\u038F': '\u03A9', '\u03AC': '\u03B1', '\u03AD': '\u03B5', '\u03AE': '\u03B7', '\u03AF': '\u03B9', '\u03CA': '\u03B9', '\u0390': '\u03B9', '\u03CC': '\u03BF', '\u03CD': '\u03C5', '\u03CB': '\u03C5', '\u03B0': '\u03C5', '\u03C9': '\u03C9', '\u03C2': '\u03C3' }; return diacritics; }); S2.define('select2/data/base',[ '../utils' ], function (Utils) { function BaseAdapter ($element, options) { BaseAdapter.__super__.constructor.call(this); } Utils.Extend(BaseAdapter, Utils.Observable); BaseAdapter.prototype.current = function (callback) { throw new Error('The `current` method must be defined in child classes.'); }; BaseAdapter.prototype.query = function (params, callback) { throw new Error('The `query` method must be defined in child classes.'); }; BaseAdapter.prototype.bind = function (container, $container) { // Can be implemented in subclasses }; BaseAdapter.prototype.destroy = function () { // Can be implemented in subclasses }; BaseAdapter.prototype.generateResultId = function (container, data) { var id = ''; if (container != null) { id += container.id } else { id += Utils.generateChars(4); } id += '-result-'; id += Utils.generateChars(4); if (data.id != null) { id += '-' + data.id.toString(); } else { id += '-' + Utils.generateChars(4); } return id; }; return BaseAdapter; }); S2.define('select2/data/select',[ './base', '../utils', 'jquery' ], function (BaseAdapter, Utils, $) { function SelectAdapter ($element, options) { this.$element = $element; this.options = options; SelectAdapter.__super__.constructor.call(this); } Utils.Extend(SelectAdapter, BaseAdapter); SelectAdapter.prototype.current = function (callback) { var data = []; var self = this; this.$element.find(':selected').each(function () { var $option = $(this); var option = self.item($option); data.push(option); }); callback(data); }; SelectAdapter.prototype.select = function (data) { var self = this; data.selected = true; // If data.element is a DOM node, use it instead if ($(data.element).is('option')) { data.element.selected = true; this.$element.trigger('change'); return; } if (this.$element.prop('multiple')) { this.current(function (currentData) { var val = []; data = [data]; data.push.apply(data, currentData); for (var d = 0; d < data.length; d++) { var id = data[d].id; if ($.inArray(id, val) === -1) { val.push(id); } } self.$element.val(val); self.$element.trigger('change'); }); } else { var val = data.id; this.$element.val(val); this.$element.trigger('change'); } }; SelectAdapter.prototype.unselect = function (data) { var self = this; if (!this.$element.prop('multiple')) { return; } data.selected = false; if ($(data.element).is('option')) { data.element.selected = false; this.$element.trigger('change'); return; } this.current(function (currentData) { var val = []; for (var d = 0; d < currentData.length; d++) { var id = currentData[d].id; if (id !== data.id && $.inArray(id, val) === -1) { val.push(id); } } self.$element.val(val); self.$element.trigger('change'); }); }; SelectAdapter.prototype.bind = function (container, $container) { var self = this; this.container = container; container.on('select', function (params) { self.select(params.data); }); container.on('unselect', function (params) { self.unselect(params.data); }); }; SelectAdapter.prototype.destroy = function () { // Remove anything added to child elements this.$element.find('*').each(function () { // Remove any custom data set by Select2 $.removeData(this, 'data'); }); }; SelectAdapter.prototype.query = function (params, callback) { var data = []; var self = this; var $options = this.$element.children(); $options.each(function () { var $option = $(this); if (!$option.is('option') && !$option.is('optgroup')) { return; } var option = self.item($option); var matches = self.matches(params, option); if (matches !== null) { data.push(matches); } }); callback({ results: data }); }; SelectAdapter.prototype.addOptions = function ($options) { Utils.appendMany(this.$element, $options); }; SelectAdapter.prototype.option = function (data) { var option; if (data.children) { option = document.createElement('optgroup'); option.label = data.text; } else { option = document.createElement('option'); if (option.textContent !== undefined) { option.textContent = data.text; } else { option.innerText = data.text; } } if (data.id !== undefined) { option.value = data.id; } if (data.disabled) { option.disabled = true; } if (data.selected) { option.selected = true; } if (data.title) { option.title = data.title; } var $option = $(option); var normalizedData = this._normalizeItem(data); normalizedData.element = option; // Override the option's data with the combined data $.data(option, 'data', normalizedData); return $option; }; SelectAdapter.prototype.item = function ($option) { var data = {}; data = $.data($option[0], 'data'); if (data != null) { return data; } if ($option.is('option')) { data = { id: $option.val(), text: $option.text(), disabled: $option.prop('disabled'), selected: $option.prop('selected'), title: $option.prop('title') }; } else if ($option.is('optgroup')) { data = { text: $option.prop('label'), children: [], title: $option.prop('title') }; var $children = $option.children('option'); var children = []; for (var c = 0; c < $children.length; c++) { var $child = $($children[c]); var child = this.item($child); children.push(child); } data.children = children; } data = this._normalizeItem(data); data.element = $option[0]; $.data($option[0], 'data', data); return data; }; SelectAdapter.prototype._normalizeItem = function (item) { if (!$.isPlainObject(item)) { item = { id: item, text: item }; } item = $.extend({}, { text: '' }, item); var defaults = { selected: false, disabled: false }; if (item.id != null) { item.id = item.id.toString(); } if (item.text != null) { item.text = item.text.toString(); } if (item._resultId == null && item.id) { item._resultId = this.generateResultId(this.container, item); } return $.extend({}, defaults, item); }; SelectAdapter.prototype.matches = function (params, data) { var matcher = this.options.get('matcher'); return matcher(params, data); }; return SelectAdapter; }); S2.define('select2/data/array',[ './select', '../utils', 'jquery' ], function (SelectAdapter, Utils, $) { function ArrayAdapter ($element, options) { var data = options.get('data') || []; ArrayAdapter.__super__.constructor.call(this, $element, options); this.addOptions(this.convertToOptions(data)); } Utils.Extend(ArrayAdapter, SelectAdapter); ArrayAdapter.prototype.select = function (data) { var $option = this.$element.find('option').filter(function (i, elm) { return elm.value == data.id.toString(); }); if ($option.length === 0) { $option = this.option(data); this.addOptions($option); } ArrayAdapter.__super__.select.call(this, data); }; ArrayAdapter.prototype.convertToOptions = function (data) { var self = this; var $existing = this.$element.find('option'); var existingIds = $existing.map(function () { return self.item($(this)).id; }).get(); var $options = []; // Filter out all items except for the one passed in the argument function onlyItem (item) { return function () { return $(this).val() == item.id; }; } for (var d = 0; d < data.length; d++) { var item = this._normalizeItem(data[d]); // Skip items which were pre-loaded, only merge the data if ($.inArray(item.id, existingIds) >= 0) { var $existingOption = $existing.filter(onlyItem(item)); var existingData = this.item($existingOption); var newData = $.extend(true, {}, item, existingData); var $newOption = this.option(newData); $existingOption.replaceWith($newOption); continue; } var $option = this.option(item); if (item.children) { var $children = this.convertToOptions(item.children); Utils.appendMany($option, $children); } $options.push($option); } return $options; }; return ArrayAdapter; }); S2.define('select2/data/ajax',[ './array', '../utils', 'jquery' ], function (ArrayAdapter, Utils, $) { function AjaxAdapter ($element, options) { this.ajaxOptions = this._applyDefaults(options.get('ajax')); if (this.ajaxOptions.processResults != null) { this.processResults = this.ajaxOptions.processResults; } AjaxAdapter.__super__.constructor.call(this, $element, options); } Utils.Extend(AjaxAdapter, ArrayAdapter); AjaxAdapter.prototype._applyDefaults = function (options) { var defaults = { data: function (params) { return $.extend({}, params, { q: params.term }); }, transport: function (params, success, failure) { var $request = $.ajax(params); $request.then(success); $request.fail(failure); return $request; } }; return $.extend({}, defaults, options, true); }; AjaxAdapter.prototype.processResults = function (results) { return results; }; AjaxAdapter.prototype.query = function (params, callback) { var matches = []; var self = this; if (this._request != null) { // JSONP requests cannot always be aborted if ($.isFunction(this._request.abort)) { this._request.abort(); } this._request = null; } var options = $.extend({ type: 'GET' }, this.ajaxOptions); if (typeof options.url === 'function') { options.url = options.url.call(this.$element, params); } if (typeof options.data === 'function') { options.data = options.data.call(this.$element, params); } function request () { var $request = options.transport(options, function (data) { var results = self.processResults(data, params); if (self.options.get('debug') && window.console && console.error) { // Check to make sure that the response included a `results` key. if (!results || !results.results || !$.isArray(results.results)) { console.error( 'Select2: The AJAX results did not return an array in the ' + '`results` key of the response.' ); } } callback(results); self.container.focusOnActiveElement(); }, function () { // Attempt to detect if a request was aborted // Only works if the transport exposes a status property if ($request.status && $request.status === '0') { return; } self.trigger('results:message', { message: 'errorLoading' }); }); self._request = $request; } if (this.ajaxOptions.delay && params.term != null) { if (this._queryTimeout) { window.clearTimeout(this._queryTimeout); } this._queryTimeout = window.setTimeout(request, this.ajaxOptions.delay); } else { request(); } }; return AjaxAdapter; }); S2.define('select2/data/tags',[ 'jquery' ], function ($) { function Tags (decorated, $element, options) { var tags = options.get('tags'); var createTag = options.get('createTag'); if (createTag !== undefined) { this.createTag = createTag; } var insertTag = options.get('insertTag'); if (insertTag !== undefined) { this.insertTag = insertTag; } decorated.call(this, $element, options); if ($.isArray(tags)) { for (var t = 0; t < tags.length; t++) { var tag = tags[t]; var item = this._normalizeItem(tag); var $option = this.option(item); this.$element.append($option); } } } Tags.prototype.query = function (decorated, params, callback) { var self = this; this._removeOldTags(); if (params.term == null || params.page != null) { decorated.call(this, params, callback); return; } function wrapper (obj, child) { var data = obj.results; for (var i = 0; i < data.length; i++) { var option = data[i]; var checkChildren = ( option.children != null && !wrapper({ results: option.children }, true) ); var optionText = (option.text || '').toUpperCase(); var paramsTerm = (params.term || '').toUpperCase(); var checkText = optionText === paramsTerm; if (checkText || checkChildren) { if (child) { return false; } obj.data = data; callback(obj); return; } } if (child) { return true; } var tag = self.createTag(params); if (tag != null) { var $option = self.option(tag); $option.attr('data-select2-tag', true); self.addOptions([$option]); self.insertTag(data, tag); } obj.results = data; callback(obj); } decorated.call(this, params, wrapper); }; Tags.prototype.createTag = function (decorated, params) { var term = $.trim(params.term); if (term === '') { return null; } return { id: term, text: term }; }; Tags.prototype.insertTag = function (_, data, tag) { data.unshift(tag); }; Tags.prototype._removeOldTags = function (_) { var tag = this._lastTag; var $options = this.$element.find('option[data-select2-tag]'); $options.each(function () { if (this.selected) { return; } $(this).remove(); }); }; return Tags; }); S2.define('select2/data/tokenizer',[ 'jquery' ], function ($) { function Tokenizer (decorated, $element, options) { var tokenizer = options.get('tokenizer'); if (tokenizer !== undefined) { this.tokenizer = tokenizer; } decorated.call(this, $element, options); } Tokenizer.prototype.bind = function (decorated, container, $container) { decorated.call(this, container, $container); this.$search = container.dropdown.$search || container.selection.$search || $container.find('.select2-search__field'); }; Tokenizer.prototype.query = function (decorated, params, callback) { var self = this; function createAndSelect (data) { // Normalize the data object so we can use it for checks var item = self._normalizeItem(data); // Check if the data object already exists as a tag // Select it if it doesn't var $existingOptions = self.$element.find('option').filter(function () { return $(this).val() === item.id; }); // If an existing option wasn't found for it, create the option if (!$existingOptions.length) { var $option = self.option(item); $option.attr('data-select2-tag', true); self._removeOldTags(); self.addOptions([$option]); } // Select the item, now that we know there is an option for it select(item); } function select (data) { self.trigger('select', { data: data }); } params.term = params.term || ''; var tokenData = this.tokenizer(params, this.options, createAndSelect); if (tokenData.term !== params.term) { // Replace the search term if we have the search box if (this.$search.length) { this.$search.val(tokenData.term); this.$search.focus(); } params.term = tokenData.term; } decorated.call(this, params, callback); }; Tokenizer.prototype.tokenizer = function (_, params, options, callback) { var separators = options.get('tokenSeparators') || []; var term = params.term; var i = 0; var createTag = this.createTag || function (params) { return { id: params.term, text: params.term }; }; while (i < term.length) { var termChar = term[i]; if ($.inArray(termChar, separators) === -1) { i++; continue; } var part = term.substr(0, i); var partParams = $.extend({}, params, { term: part }); var data = createTag(partParams); if (data == null) { i++; continue; } callback(data); // Reset the term to not include the tokenized portion term = term.substr(i + 1) || ''; i = 0; } return { term: term }; }; return Tokenizer; }); S2.define('select2/data/minimumInputLength',[ ], function () { function MinimumInputLength (decorated, $e, options) { this.minimumInputLength = options.get('minimumInputLength'); decorated.call(this, $e, options); } MinimumInputLength.prototype.query = function (decorated, params, callback) { params.term = params.term || ''; if (params.term.length < this.minimumInputLength) { this.trigger('results:message', { message: 'inputTooShort', args: { minimum: this.minimumInputLength, input: params.term, params: params } }); return; } decorated.call(this, params, callback); }; return MinimumInputLength; }); S2.define('select2/data/maximumInputLength',[ ], function () { function MaximumInputLength (decorated, $e, options) { this.maximumInputLength = options.get('maximumInputLength'); decorated.call(this, $e, options); } MaximumInputLength.prototype.query = function (decorated, params, callback) { params.term = params.term || ''; if (this.maximumInputLength > 0 && params.term.length > this.maximumInputLength) { this.trigger('results:message', { message: 'inputTooLong', args: { maximum: this.maximumInputLength, input: params.term, params: params } }); return; } decorated.call(this, params, callback); }; return MaximumInputLength; }); S2.define('select2/data/maximumSelectionLength',[ ], function (){ function MaximumSelectionLength (decorated, $e, options) { this.maximumSelectionLength = options.get('maximumSelectionLength'); decorated.call(this, $e, options); } MaximumSelectionLength.prototype.query = function (decorated, params, callback) { var self = this; this.current(function (currentData) { var count = currentData != null ? currentData.length : 0; if (self.maximumSelectionLength > 0 && count >= self.maximumSelectionLength) { self.trigger('results:message', { message: 'maximumSelected', args: { maximum: self.maximumSelectionLength } }); return; } decorated.call(self, params, callback); }); }; return MaximumSelectionLength; }); S2.define('select2/dropdown',[ 'jquery', './utils' ], function ($, Utils) { function Dropdown ($element, options) { this.$element = $element; this.options = options; Dropdown.__super__.constructor.call(this); } Utils.Extend(Dropdown, Utils.Observable); Dropdown.prototype.render = function () { var $dropdown = $( '' + '' + '' ); $dropdown.attr('dir', this.options.get('dir')); this.$dropdown = $dropdown; return $dropdown; }; Dropdown.prototype.bind = function () { // Should be implemented in subclasses }; Dropdown.prototype.position = function ($dropdown, $container) { // Should be implmented in subclasses }; Dropdown.prototype.destroy = function () { // Remove the dropdown from the DOM this.$dropdown.remove(); }; return Dropdown; }); S2.define('select2/dropdown/search',[ 'jquery', '../utils' ], function ($, Utils) { function Search () { } Search.prototype.render = function (decorated) { var $rendered = decorated.call(this); var $search = $( '' + '' + '' ); this.$searchContainer = $search; this.$search = $search.find('input'); $rendered.prepend($search); return $rendered; }; Search.prototype.bind = function (decorated, container, $container) { var self = this; var resultsId = container.id + '-results'; decorated.call(this, container, $container); this.$search.on('keydown', function (evt) { self.trigger('keypress', evt); self._keyUpPrevented = evt.isDefaultPrevented(); }); // Workaround for browsers which do not support the `input` event // This will prevent double-triggering of events for browsers which support // both the `keyup` and `input` events. this.$search.on('input', function (evt) { // Unbind the duplicated `keyup` event $(this).off('keyup'); }); this.$search.on('keyup input', function (evt) { self.handleSearch(evt); }); container.on('open', function () { self.$search.attr('tabindex', 0); self.$search.attr('aria-owns', resultsId); self.$search.focus(); window.setTimeout(function () { self.$search.focus(); }, 0); }); container.on('close', function () { self.$search.attr('tabindex', -1); self.$search.removeAttr('aria-activedescendant'); self.$search.removeAttr('aria-owns'); self.$search.val(''); }); container.on('focus', function () { if (!container.isOpen()) { self.$search.focus(); } }); container.on('results:all', function (params) { if (params.query.term == null || params.query.term === '') { var showSearch = self.showSearch(params); if (showSearch) { self.$searchContainer.removeClass('select2-search--hide'); } else { self.$searchContainer.addClass('select2-search--hide'); } } }); container.on('results:focus', function (params) { self.$search.attr('aria-activedescendant', params.data._resultId); }); }; Search.prototype.handleSearch = function (evt) { if (!this._keyUpPrevented) { var input = this.$search.val(); this.trigger('query', { term: input }); } this._keyUpPrevented = false; }; Search.prototype.showSearch = function (_, params) { return true; }; return Search; }); S2.define('select2/dropdown/hidePlaceholder',[ ], function () { function HidePlaceholder (decorated, $element, options, dataAdapter) { this.placeholder = this.normalizePlaceholder(options.get('placeholder')); decorated.call(this, $element, options, dataAdapter); } HidePlaceholder.prototype.append = function (decorated, data) { data.results = this.removePlaceholder(data.results); decorated.call(this, data); }; HidePlaceholder.prototype.normalizePlaceholder = function (_, placeholder) { if (typeof placeholder === 'string') { placeholder = { id: '', text: placeholder }; } return placeholder; }; HidePlaceholder.prototype.removePlaceholder = function (_, data) { var modifiedData = data.slice(0); for (var d = data.length - 1; d >= 0; d--) { var item = data[d]; if (this.placeholder.id === item.id) { modifiedData.splice(d, 1); } } return modifiedData; }; return HidePlaceholder; }); S2.define('select2/dropdown/infiniteScroll',[ 'jquery' ], function ($) { function InfiniteScroll (decorated, $element, options, dataAdapter) { this.lastParams = {}; decorated.call(this, $element, options, dataAdapter); this.$loadingMore = this.createLoadingMore(); this.loading = false; } InfiniteScroll.prototype.append = function (decorated, data) { this.$loadingMore.remove(); this.loading = false; decorated.call(this, data); if (this.showLoadingMore(data)) { this.$results.append(this.$loadingMore); } }; InfiniteScroll.prototype.bind = function (decorated, container, $container) { var self = this; decorated.call(this, container, $container); container.on('query', function (params) { self.lastParams = params; self.loading = true; }); container.on('query:append', function (params) { self.lastParams = params; self.loading = true; }); this.$results.on('scroll', function () { var isLoadMoreVisible = $.contains( document.documentElement, self.$loadingMore[0] ); if (self.loading || !isLoadMoreVisible) { return; } var currentOffset = self.$results.offset().top + self.$results.outerHeight(false); var loadingMoreOffset = self.$loadingMore.offset().top + self.$loadingMore.outerHeight(false); if (currentOffset + 50 >= loadingMoreOffset) { self.loadMore(); } }); }; InfiniteScroll.prototype.loadMore = function () { this.loading = true; var params = $.extend({}, {page: 1}, this.lastParams); params.page++; this.trigger('query:append', params); }; InfiniteScroll.prototype.showLoadingMore = function (_, data) { return data.pagination && data.pagination.more; }; InfiniteScroll.prototype.createLoadingMore = function () { var $option = $( '
  • ' ); var message = this.options.get('translations').get('loadingMore'); $option.html(message(this.lastParams)); return $option; }; return InfiniteScroll; }); S2.define('select2/dropdown/attachBody',[ 'jquery', '../utils' ], function ($, Utils) { function AttachBody (decorated, $element, options) { this.$dropdownParent = options.get('dropdownParent') || $(document.body); decorated.call(this, $element, options); } AttachBody.prototype.bind = function (decorated, container, $container) { var self = this; var setupResultsEvents = false; decorated.call(this, container, $container); container.on('open', function () { self._showDropdown(); self._attachPositioningHandler(container); if (!setupResultsEvents) { setupResultsEvents = true; container.on('results:all', function () { self._positionDropdown(); self._resizeDropdown(); }); container.on('results:append', function () { self._positionDropdown(); self._resizeDropdown(); }); } }); container.on('close', function () { self._hideDropdown(); self._detachPositioningHandler(container); }); this.$dropdownContainer.on('mousedown', function (evt) { evt.stopPropagation(); }); }; AttachBody.prototype.destroy = function (decorated) { decorated.call(this); this.$dropdownContainer.remove(); }; AttachBody.prototype.position = function (decorated, $dropdown, $container) { // Clone all of the container classes $dropdown.attr('class', $container.attr('class')); $dropdown.removeClass('select2'); $dropdown.addClass('select2-container--open'); $dropdown.css({ position: 'absolute', top: -999999 }); this.$container = $container; }; AttachBody.prototype.render = function (decorated) { var $container = $(''); var $dropdown = decorated.call(this); $container.append($dropdown); this.$dropdownContainer = $container; return $container; }; AttachBody.prototype._hideDropdown = function (decorated) { this.$dropdownContainer.detach(); }; AttachBody.prototype._attachPositioningHandler = function (decorated, container) { var self = this; var scrollEvent = 'scroll.select2.' + container.id; var resizeEvent = 'resize.select2.' + container.id; var orientationEvent = 'orientationchange.select2.' + container.id; var $watchers = this.$container.parents().filter(Utils.hasScroll); $watchers.each(function () { $(this).data('select2-scroll-position', { x: $(this).scrollLeft(), y: $(this).scrollTop() }); }); $watchers.on(scrollEvent, function (ev) { var position = $(this).data('select2-scroll-position'); $(this).scrollTop(position.y); }); $(window).on(scrollEvent + ' ' + resizeEvent + ' ' + orientationEvent, function (e) { self._positionDropdown(); self._resizeDropdown(); }); }; AttachBody.prototype._detachPositioningHandler = function (decorated, container) { var scrollEvent = 'scroll.select2.' + container.id; var resizeEvent = 'resize.select2.' + container.id; var orientationEvent = 'orientationchange.select2.' + container.id; var $watchers = this.$container.parents().filter(Utils.hasScroll); $watchers.off(scrollEvent); $(window).off(scrollEvent + ' ' + resizeEvent + ' ' + orientationEvent); }; AttachBody.prototype._positionDropdown = function () { var $window = $(window); var isCurrentlyAbove = this.$dropdown.hasClass('select2-dropdown--above'); var isCurrentlyBelow = this.$dropdown.hasClass('select2-dropdown--below'); var newDirection = null; var offset = this.$container.offset(); offset.bottom = offset.top + this.$container.outerHeight(false); var container = { height: this.$container.outerHeight(false) }; container.top = offset.top; container.bottom = offset.top + container.height; var dropdown = { height: this.$dropdown.outerHeight(false) }; var viewport = { top: $window.scrollTop(), bottom: $window.scrollTop() + $window.height() }; var enoughRoomAbove = viewport.top < (offset.top - dropdown.height); var enoughRoomBelow = viewport.bottom > (offset.bottom + dropdown.height); var css = { left: offset.left, top: container.bottom }; // Determine what the parent element is to use for calciulating the offset var $offsetParent = this.$dropdownParent; // For statically positoned elements, we need to get the element // that is determining the offset if ($offsetParent.css('position') === 'static') { $offsetParent = $offsetParent.offsetParent(); } var parentOffset = $offsetParent.offset(); css.top -= parentOffset.top; css.left -= parentOffset.left; if (!isCurrentlyAbove && !isCurrentlyBelow) { newDirection = 'below'; } if (!enoughRoomBelow && enoughRoomAbove && !isCurrentlyAbove) { newDirection = 'above'; } else if (!enoughRoomAbove && enoughRoomBelow && isCurrentlyAbove) { newDirection = 'below'; } if (newDirection == 'above' || (isCurrentlyAbove && newDirection !== 'below')) { css.top = container.top - parentOffset.top - dropdown.height; } if (newDirection != null) { this.$dropdown .removeClass('select2-dropdown--below select2-dropdown--above') .addClass('select2-dropdown--' + newDirection); this.$container .removeClass('select2-container--below select2-container--above') .addClass('select2-container--' + newDirection); } this.$dropdownContainer.css(css); }; AttachBody.prototype._resizeDropdown = function () { var css = { width: this.$container.outerWidth(false) + 'px' }; if (this.options.get('dropdownAutoWidth')) { css.minWidth = css.width; css.position = 'relative'; css.width = 'auto'; } this.$dropdown.css(css); }; AttachBody.prototype._showDropdown = function (decorated) { this.$dropdownContainer.appendTo(this.$dropdownParent); this._positionDropdown(); this._resizeDropdown(); }; return AttachBody; }); S2.define('select2/dropdown/minimumResultsForSearch',[ ], function () { function countResults (data) { var count = 0; for (var d = 0; d < data.length; d++) { var item = data[d]; if (item.children) { count += countResults(item.children); } else { count++; } } return count; } function MinimumResultsForSearch (decorated, $element, options, dataAdapter) { this.minimumResultsForSearch = options.get('minimumResultsForSearch'); if (this.minimumResultsForSearch < 0) { this.minimumResultsForSearch = Infinity; } decorated.call(this, $element, options, dataAdapter); } MinimumResultsForSearch.prototype.showSearch = function (decorated, params) { if (countResults(params.data.results) < this.minimumResultsForSearch) { return false; } return decorated.call(this, params); }; return MinimumResultsForSearch; }); S2.define('select2/dropdown/selectOnClose',[ ], function () { function SelectOnClose () { } SelectOnClose.prototype.bind = function (decorated, container, $container) { var self = this; decorated.call(this, container, $container); container.on('close', function (params) { self._handleSelectOnClose(params); }); }; SelectOnClose.prototype._handleSelectOnClose = function (_, params) { if (params && params.originalSelect2Event != null) { var event = params.originalSelect2Event; // Don't select an item if the close event was triggered from a select or // unselect event if (event._type === 'select' || event._type === 'unselect') { return; } } var $highlightedResults = this.getHighlightedResults(); // Only select highlighted results if ($highlightedResults.length < 1) { return; } var data = $highlightedResults.data('data'); // Don't re-select already selected resulte if ( (data.element != null && data.element.selected) || (data.element == null && data.selected) ) { return; } this.trigger('select', { data: data }); }; return SelectOnClose; }); S2.define('select2/dropdown/closeOnSelect',[ ], function () { function CloseOnSelect () { } CloseOnSelect.prototype.bind = function (decorated, container, $container) { var self = this; decorated.call(this, container, $container); container.on('select', function (evt) { self._selectTriggered(evt); }); container.on('unselect', function (evt) { self._selectTriggered(evt); }); }; CloseOnSelect.prototype._selectTriggered = function (_, evt) { var originalEvent = evt.originalEvent; // Don't close if the control key is being held if (originalEvent && originalEvent.ctrlKey) { return; } this.trigger('close', { originalEvent: originalEvent, originalSelect2Event: evt }); }; return CloseOnSelect; }); S2.define('select2/i18n/en',[],function () { // English return { errorLoading: function () { return 'The results could not be loaded.'; }, inputTooLong: function (args) { var overChars = args.input.length - args.maximum; var message = 'Please delete ' + overChars + ' character'; if (overChars != 1) { message += 's'; } return message; }, inputTooShort: function (args) { var remainingChars = args.minimum - args.input.length; var message = 'Please enter ' + remainingChars + ' or more characters'; return message; }, loadingMore: function () { return 'Loading more results…'; }, maximumSelected: function (args) { var message = 'You can only select ' + args.maximum + ' item'; if (args.maximum != 1) { message += 's'; } return message; }, noResults: function () { return 'No results found'; }, searching: function () { return 'Searching…'; } }; }); S2.define('select2/defaults',[ 'jquery', 'require', './results', './selection/single', './selection/multiple', './selection/placeholder', './selection/allowClear', './selection/search', './selection/eventRelay', './utils', './translation', './diacritics', './data/select', './data/array', './data/ajax', './data/tags', './data/tokenizer', './data/minimumInputLength', './data/maximumInputLength', './data/maximumSelectionLength', './dropdown', './dropdown/search', './dropdown/hidePlaceholder', './dropdown/infiniteScroll', './dropdown/attachBody', './dropdown/minimumResultsForSearch', './dropdown/selectOnClose', './dropdown/closeOnSelect', './i18n/en' ], function ($, require, ResultsList, SingleSelection, MultipleSelection, Placeholder, AllowClear, SelectionSearch, EventRelay, Utils, Translation, DIACRITICS, SelectData, ArrayData, AjaxData, Tags, Tokenizer, MinimumInputLength, MaximumInputLength, MaximumSelectionLength, Dropdown, DropdownSearch, HidePlaceholder, InfiniteScroll, AttachBody, MinimumResultsForSearch, SelectOnClose, CloseOnSelect, EnglishTranslation) { function Defaults () { this.reset(); } Defaults.prototype.apply = function (options) { options = $.extend(true, {}, this.defaults, options); if (options.dataAdapter == null) { if (options.ajax != null) { options.dataAdapter = AjaxData; } else if (options.data != null) { options.dataAdapter = ArrayData; } else { options.dataAdapter = SelectData; } if (options.minimumInputLength > 0) { options.dataAdapter = Utils.Decorate( options.dataAdapter, MinimumInputLength ); } if (options.maximumInputLength > 0) { options.dataAdapter = Utils.Decorate( options.dataAdapter, MaximumInputLength ); } if (options.maximumSelectionLength > 0) { options.dataAdapter = Utils.Decorate( options.dataAdapter, MaximumSelectionLength ); } if (options.tags) { options.dataAdapter = Utils.Decorate(options.dataAdapter, Tags); } if (options.tokenSeparators != null || options.tokenizer != null) { options.dataAdapter = Utils.Decorate( options.dataAdapter, Tokenizer ); } if (options.query != null) { var Query = require(options.amdBase + 'compat/query'); options.dataAdapter = Utils.Decorate( options.dataAdapter, Query ); } if (options.initSelection != null) { var InitSelection = require(options.amdBase + 'compat/initSelection'); options.dataAdapter = Utils.Decorate( options.dataAdapter, InitSelection ); } } if (options.resultsAdapter == null) { options.resultsAdapter = ResultsList; if (options.ajax != null) { options.resultsAdapter = Utils.Decorate( options.resultsAdapter, InfiniteScroll ); } if (options.placeholder != null) { options.resultsAdapter = Utils.Decorate( options.resultsAdapter, HidePlaceholder ); } if (options.selectOnClose) { options.resultsAdapter = Utils.Decorate( options.resultsAdapter, SelectOnClose ); } } if (options.dropdownAdapter == null) { if (options.multiple) { options.dropdownAdapter = Dropdown; } else { var SearchableDropdown = Utils.Decorate(Dropdown, DropdownSearch); options.dropdownAdapter = SearchableDropdown; } if (options.minimumResultsForSearch !== 0) { options.dropdownAdapter = Utils.Decorate( options.dropdownAdapter, MinimumResultsForSearch ); } if (options.closeOnSelect) { options.dropdownAdapter = Utils.Decorate( options.dropdownAdapter, CloseOnSelect ); } if ( options.dropdownCssClass != null || options.dropdownCss != null || options.adaptDropdownCssClass != null ) { var DropdownCSS = require(options.amdBase + 'compat/dropdownCss'); options.dropdownAdapter = Utils.Decorate( options.dropdownAdapter, DropdownCSS ); } options.dropdownAdapter = Utils.Decorate( options.dropdownAdapter, AttachBody ); } if (options.selectionAdapter == null) { if (options.multiple) { options.selectionAdapter = MultipleSelection; } else { options.selectionAdapter = SingleSelection; } // Add the placeholder mixin if a placeholder was specified if (options.placeholder != null) { options.selectionAdapter = Utils.Decorate( options.selectionAdapter, Placeholder ); } if (options.allowClear) { options.selectionAdapter = Utils.Decorate( options.selectionAdapter, AllowClear ); } if (options.multiple) { options.selectionAdapter = Utils.Decorate( options.selectionAdapter, SelectionSearch ); } if ( options.containerCssClass != null || options.containerCss != null || options.adaptContainerCssClass != null ) { var ContainerCSS = require(options.amdBase + 'compat/containerCss'); options.selectionAdapter = Utils.Decorate( options.selectionAdapter, ContainerCSS ); } options.selectionAdapter = Utils.Decorate( options.selectionAdapter, EventRelay ); } if (typeof options.language === 'string') { // Check if the language is specified with a region if (options.language.indexOf('-') > 0) { // Extract the region information if it is included var languageParts = options.language.split('-'); var baseLanguage = languageParts[0]; options.language = [options.language, baseLanguage]; } else { options.language = [options.language]; } } if ($.isArray(options.language)) { var languages = new Translation(); options.language.push('en'); var languageNames = options.language; for (var l = 0; l < languageNames.length; l++) { var name = languageNames[l]; var language = {}; try { // Try to load it with the original name language = Translation.loadPath(name); } catch (e) { try { // If we couldn't load it, check if it wasn't the full path name = this.defaults.amdLanguageBase + name; language = Translation.loadPath(name); } catch (ex) { // The translation could not be loaded at all. Sometimes this is // because of a configuration problem, other times this can be // because of how Select2 helps load all possible translation files. if (options.debug && window.console && console.warn) { console.warn( 'Select2: The language file for "' + name + '" could not be ' + 'automatically loaded. A fallback will be used instead.' ); } continue; } } languages.extend(language); } options.translations = languages; } else { var baseTranslation = Translation.loadPath( this.defaults.amdLanguageBase + 'en' ); var customTranslation = new Translation(options.language); customTranslation.extend(baseTranslation); options.translations = customTranslation; } return options; }; Defaults.prototype.reset = function () { function stripDiacritics (text) { // Used 'uni range + named function' from http://jsperf.com/diacritics/18 function match(a) { return DIACRITICS[a] || a; } return text.replace(/[^\u0000-\u007E]/g, match); } function matcher (params, data) { // Always return the object if there is nothing to compare if ($.trim(params.term) === '') { return data; } // Do a recursive check for options with children if (data.children && data.children.length > 0) { // Clone the data object if there are children // This is required as we modify the object to remove any non-matches var match = $.extend(true, {}, data); // Check each child of the option for (var c = data.children.length - 1; c >= 0; c--) { var child = data.children[c]; var matches = matcher(params, child); // If there wasn't a match, remove the object in the array if (matches == null) { match.children.splice(c, 1); } } // If any children matched, return the new object if (match.children.length > 0) { return match; } // If there were no matching children, check just the plain object return matcher(params, match); } var original = stripDiacritics(data.text).toUpperCase(); var term = stripDiacritics(params.term).toUpperCase(); // Check if the text contains the term if (original.indexOf(term) > -1) { return data; } // If it doesn't contain the term, don't return anything return null; } this.defaults = { amdBase: './', amdLanguageBase: './i18n/', closeOnSelect: true, debug: false, dropdownAutoWidth: false, escapeMarkup: Utils.escapeMarkup, language: EnglishTranslation, matcher: matcher, minimumInputLength: 0, maximumInputLength: 0, maximumSelectionLength: 0, minimumResultsForSearch: 0, selectOnClose: false, sorter: function (data) { return data; }, templateResult: function (result) { return result.text; }, templateSelection: function (selection) { return selection.text; }, theme: 'default', width: 'resolve' }; }; Defaults.prototype.set = function (key, value) { var camelKey = $.camelCase(key); var data = {}; data[camelKey] = value; var convertedData = Utils._convertData(data); $.extend(this.defaults, convertedData); }; var defaults = new Defaults(); return defaults; }); S2.define('select2/options',[ 'require', 'jquery', './defaults', './utils' ], function (require, $, Defaults, Utils) { function Options (options, $element) { this.options = options; if ($element != null) { this.fromElement($element); } this.options = Defaults.apply(this.options); if ($element && $element.is('input')) { var InputCompat = require(this.get('amdBase') + 'compat/inputData'); this.options.dataAdapter = Utils.Decorate( this.options.dataAdapter, InputCompat ); } } Options.prototype.fromElement = function ($e) { var excludedData = ['select2']; if (this.options.multiple == null) { this.options.multiple = $e.prop('multiple'); } if (this.options.disabled == null) { this.options.disabled = $e.prop('disabled'); } if (this.options.language == null) { if ($e.prop('lang')) { this.options.language = $e.prop('lang').toLowerCase(); } else if ($e.closest('[lang]').prop('lang')) { this.options.language = $e.closest('[lang]').prop('lang'); } } if (this.options.dir == null) { if ($e.prop('dir')) { this.options.dir = $e.prop('dir'); } else if ($e.closest('[dir]').prop('dir')) { this.options.dir = $e.closest('[dir]').prop('dir'); } else { this.options.dir = 'ltr'; } } $e.prop('disabled', this.options.disabled); $e.prop('multiple', this.options.multiple); if ($e.data('select2Tags')) { if (this.options.debug && window.console && console.warn) { console.warn( 'Select2: The `data-select2-tags` attribute has been changed to ' + 'use the `data-data` and `data-tags="true"` attributes and will be ' + 'removed in future versions of Select2.' ); } $e.data('data', $e.data('select2Tags')); $e.data('tags', true); } if ($e.data('ajaxUrl')) { if (this.options.debug && window.console && console.warn) { console.warn( 'Select2: The `data-ajax-url` attribute has been changed to ' + '`data-ajax--url` and support for the old attribute will be removed' + ' in future versions of Select2.' ); } $e.attr('ajax--url', $e.data('ajaxUrl')); $e.data('ajax--url', $e.data('ajaxUrl')); } var dataset = {}; // Prefer the element's `dataset` attribute if it exists // jQuery 1.x does not correctly handle data attributes with multiple dashes if ($.fn.jquery && $.fn.jquery.substr(0, 2) == '1.' && $e[0].dataset) { dataset = $.extend(true, {}, $e[0].dataset, $e.data()); } else { dataset = $e.data(); } var data = $.extend(true, {}, dataset); data = Utils._convertData(data); for (var key in data) { if ($.inArray(key, excludedData) > -1) { continue; } if ($.isPlainObject(this.options[key])) { $.extend(this.options[key], data[key]); } else { this.options[key] = data[key]; } } return this; }; Options.prototype.get = function (key) { return this.options[key]; }; Options.prototype.set = function (key, val) { this.options[key] = val; }; return Options; }); S2.define('select2/core',[ 'jquery', './options', './utils', './keys' ], function ($, Options, Utils, KEYS) { var Select2 = function ($element, options) { if ($element.data('select2') != null) { $element.data('select2').destroy(); } this.$element = $element; this.id = this._generateId($element); options = options || {}; this.options = new Options(options, $element); Select2.__super__.constructor.call(this); // Set up the tabindex var tabindex = $element.attr('tabindex') || 0; $element.data('old-tabindex', tabindex); $element.attr('tabindex', '-1'); // Set up containers and adapters var DataAdapter = this.options.get('dataAdapter'); this.dataAdapter = new DataAdapter($element, this.options); var $container = this.render(); this._placeContainer($container); var SelectionAdapter = this.options.get('selectionAdapter'); this.selection = new SelectionAdapter($element, this.options); this.$selection = this.selection.render(); this.selection.position(this.$selection, $container); var DropdownAdapter = this.options.get('dropdownAdapter'); this.dropdown = new DropdownAdapter($element, this.options); this.$dropdown = this.dropdown.render(); this.dropdown.position(this.$dropdown, $container); var ResultsAdapter = this.options.get('resultsAdapter'); this.results = new ResultsAdapter($element, this.options, this.dataAdapter); this.$results = this.results.render(); this.results.position(this.$results, this.$dropdown); // Bind events var self = this; // Bind the container to all of the adapters this._bindAdapters(); // Register any DOM event handlers this._registerDomEvents(); // Register any internal event handlers this._registerDataEvents(); this._registerSelectionEvents(); this._registerDropdownEvents(); this._registerResultsEvents(); this._registerEvents(); // Set the initial state this.dataAdapter.current(function (initialData) { self.trigger('selection:update', { data: initialData }); }); // Hide the original select $element.addClass('select2-hidden-accessible'); $element.attr('aria-hidden', 'true'); // Synchronize any monitored attributes this._syncAttributes(); $element.data('select2', this); }; Utils.Extend(Select2, Utils.Observable); Select2.prototype._generateId = function ($element) { var id = ''; if ($element.attr('id') != null) { id = $element.attr('id'); } else if ($element.attr('name') != null) { id = $element.attr('name') + '-' + Utils.generateChars(2); } else { id = Utils.generateChars(4); } id = id.replace(/(:|\.|\[|\]|,)/g, ''); id = 'select2-' + id; return id; }; Select2.prototype._placeContainer = function ($container) { $container.insertAfter(this.$element); var width = this._resolveWidth(this.$element, this.options.get('width')); if (width != null) { $container.css('width', width); } }; Select2.prototype._resolveWidth = function ($element, method) { var WIDTH = /^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i; if (method == 'resolve') { var styleWidth = this._resolveWidth($element, 'style'); if (styleWidth != null) { return styleWidth; } return this._resolveWidth($element, 'element'); } if (method == 'element') { var elementWidth = $element.outerWidth(false); if (elementWidth <= 0) { return 'auto'; } return elementWidth + 'px'; } if (method == 'style') { var style = $element.attr('style'); if (typeof(style) !== 'string') { return null; } var attrs = style.split(';'); for (var i = 0, l = attrs.length; i < l; i = i + 1) { var attr = attrs[i].replace(/\s/g, ''); var matches = attr.match(WIDTH); if (matches !== null && matches.length >= 1) { return matches[1]; } } return null; } return method; }; Select2.prototype._bindAdapters = function () { this.dataAdapter.bind(this, this.$container); this.selection.bind(this, this.$container); this.dropdown.bind(this, this.$container); this.results.bind(this, this.$container); }; Select2.prototype._registerDomEvents = function () { var self = this; this.$element.on('change.select2', function () { self.dataAdapter.current(function (data) { self.trigger('selection:update', { data: data }); }); }); this.$element.on('focus.select2', function (evt) { self.trigger('focus', evt); }); this._syncA = Utils.bind(this._syncAttributes, this); this._syncS = Utils.bind(this._syncSubtree, this); if (this.$element[0].attachEvent) { this.$element[0].attachEvent('onpropertychange', this._syncA); } var observer = window.MutationObserver || window.WebKitMutationObserver || window.MozMutationObserver ; if (observer != null) { this._observer = new observer(function (mutations) { $.each(mutations, self._syncA); $.each(mutations, self._syncS); }); this._observer.observe(this.$element[0], { attributes: true, childList: true, subtree: false }); } else if (this.$element[0].addEventListener) { this.$element[0].addEventListener( 'DOMAttrModified', self._syncA, false ); this.$element[0].addEventListener( 'DOMNodeInserted', self._syncS, false ); this.$element[0].addEventListener( 'DOMNodeRemoved', self._syncS, false ); } }; Select2.prototype._registerDataEvents = function () { var self = this; this.dataAdapter.on('*', function (name, params) { self.trigger(name, params); }); }; Select2.prototype._registerSelectionEvents = function () { var self = this; var nonRelayEvents = ['toggle', 'focus']; this.selection.on('toggle', function () { self.toggleDropdown(); }); this.selection.on('focus', function (params) { self.focus(params); }); this.selection.on('*', function (name, params) { if ($.inArray(name, nonRelayEvents) !== -1) { return; } self.trigger(name, params); }); }; Select2.prototype._registerDropdownEvents = function () { var self = this; this.dropdown.on('*', function (name, params) { self.trigger(name, params); }); }; Select2.prototype._registerResultsEvents = function () { var self = this; this.results.on('*', function (name, params) { self.trigger(name, params); }); }; Select2.prototype._registerEvents = function () { var self = this; this.on('open', function () { self.$container.addClass('select2-container--open'); }); this.on('close', function () { self.$container.removeClass('select2-container--open'); }); this.on('enable', function () { self.$container.removeClass('select2-container--disabled'); }); this.on('disable', function () { self.$container.addClass('select2-container--disabled'); }); this.on('blur', function () { self.$container.removeClass('select2-container--focus'); }); this.on('query', function (params) { if (!self.isOpen()) { self.trigger('open', {}); } this.dataAdapter.query(params, function (data) { self.trigger('results:all', { data: data, query: params }); }); }); this.on('query:append', function (params) { this.dataAdapter.query(params, function (data) { self.trigger('results:append', { data: data, query: params }); }); }); this.on('open', function(){ // Focus on the active element when opening dropdown. // Needs 1 ms delay because of other 1 ms setTimeouts when rendering. setTimeout(function(){ self.focusOnActiveElement(); }, 1); }); $(document).on('keydown', function (evt) { var key = evt.which; if (self.isOpen()) { if (key === KEYS.ESC || key === KEYS.TAB || (key === KEYS.UP && evt.altKey)) { self.close(); evt.preventDefault(); } else if (key === KEYS.ENTER) { self.trigger('results:select', {}); evt.preventDefault(); } else if ((key === KEYS.SPACE && evt.ctrlKey)) { self.trigger('results:toggle', {}); evt.preventDefault(); } else if (key === KEYS.UP) { self.trigger('results:previous', {}); evt.preventDefault(); } else if (key === KEYS.DOWN) { self.trigger('results:next', {}); evt.preventDefault(); } var $searchField = self.$dropdown.find('.select2-search__field'); if (! $searchField.length) { $searchField = self.$container.find('.select2-search__field'); } // Move the focus to the selected element on keyboard navigation. // Required for screen readers to work properly. if (key === KEYS.DOWN || key === KEYS.UP) { self.focusOnActiveElement(); } else { // Focus on the search if user starts typing. $searchField.focus(); // Focus back to active selection when finished typing. // Small delay so typed character can be read by screen reader. setTimeout(function(){ self.focusOnActiveElement(); }, 1000); } } else if (self.hasFocus()) { if (key === KEYS.ENTER || key === KEYS.SPACE || key === KEYS.DOWN) { self.open(); evt.preventDefault(); } } }); }; Select2.prototype.focusOnActiveElement = function () { // Don't mess with the focus on touchscreens because it causes havoc with on-screen keyboards. if (this.isOpen() && ! Utils.isTouchscreen()) { this.$results.find('li.select2-results__option--highlighted').focus(); } }; Select2.prototype._syncAttributes = function () { this.options.set('disabled', this.$element.prop('disabled')); if (this.options.get('disabled')) { if (this.isOpen()) { this.close(); } this.trigger('disable', {}); } else { this.trigger('enable', {}); } }; Select2.prototype._syncSubtree = function (evt, mutations) { var changed = false; var self = this; // Ignore any mutation events raised for elements that aren't options or // optgroups. This handles the case when the select element is destroyed if ( evt && evt.target && ( evt.target.nodeName !== 'OPTION' && evt.target.nodeName !== 'OPTGROUP' ) ) { return; } if (!mutations) { // If mutation events aren't supported, then we can only assume that the // change affected the selections changed = true; } else if (mutations.addedNodes && mutations.addedNodes.length > 0) { for (var n = 0; n < mutations.addedNodes.length; n++) { var node = mutations.addedNodes[n]; if (node.selected) { changed = true; } } } else if (mutations.removedNodes && mutations.removedNodes.length > 0) { changed = true; } // Only re-pull the data if we think there is a change if (changed) { this.dataAdapter.current(function (currentData) { self.trigger('selection:update', { data: currentData }); }); } }; /** * Override the trigger method to automatically trigger pre-events when * there are events that can be prevented. */ Select2.prototype.trigger = function (name, args) { var actualTrigger = Select2.__super__.trigger; var preTriggerMap = { 'open': 'opening', 'close': 'closing', 'select': 'selecting', 'unselect': 'unselecting' }; if (args === undefined) { args = {}; } if (name in preTriggerMap) { var preTriggerName = preTriggerMap[name]; var preTriggerArgs = { prevented: false, name: name, args: args }; actualTrigger.call(this, preTriggerName, preTriggerArgs); if (preTriggerArgs.prevented) { args.prevented = true; return; } } actualTrigger.call(this, name, args); }; Select2.prototype.toggleDropdown = function () { if (this.options.get('disabled')) { return; } if (this.isOpen()) { this.close(); } else { this.open(); } }; Select2.prototype.open = function () { if (this.isOpen()) { return; } this.trigger('query', {}); }; Select2.prototype.close = function () { if (!this.isOpen()) { return; } this.trigger('close', {}); }; Select2.prototype.isOpen = function () { return this.$container.hasClass('select2-container--open'); }; Select2.prototype.hasFocus = function () { return this.$container.hasClass('select2-container--focus'); }; Select2.prototype.focus = function (data) { // No need to re-trigger focus events if we are already focused if (this.hasFocus()) { return; } this.$container.addClass('select2-container--focus'); this.trigger('focus', {}); }; Select2.prototype.enable = function (args) { if (this.options.get('debug') && window.console && console.warn) { console.warn( 'Select2: The `select2("enable")` method has been deprecated and will' + ' be removed in later Select2 versions. Use $element.prop("disabled")' + ' instead.' ); } if (args == null || args.length === 0) { args = [true]; } var disabled = !args[0]; this.$element.prop('disabled', disabled); }; Select2.prototype.data = function () { if (this.options.get('debug') && arguments.length > 0 && window.console && console.warn) { console.warn( 'Select2: Data can no longer be set using `select2("data")`. You ' + 'should consider setting the value instead using `$element.val()`.' ); } var data = []; this.dataAdapter.current(function (currentData) { data = currentData; }); return data; }; Select2.prototype.val = function (args) { if (this.options.get('debug') && window.console && console.warn) { console.warn( 'Select2: The `select2("val")` method has been deprecated and will be' + ' removed in later Select2 versions. Use $element.val() instead.' ); } if (args == null || args.length === 0) { return this.$element.val(); } var newVal = args[0]; if ($.isArray(newVal)) { newVal = $.map(newVal, function (obj) { return obj.toString(); }); } this.$element.val(newVal).trigger('change'); }; Select2.prototype.destroy = function () { this.$container.remove(); if (this.$element[0].detachEvent) { this.$element[0].detachEvent('onpropertychange', this._syncA); } if (this._observer != null) { this._observer.disconnect(); this._observer = null; } else if (this.$element[0].removeEventListener) { this.$element[0] .removeEventListener('DOMAttrModified', this._syncA, false); this.$element[0] .removeEventListener('DOMNodeInserted', this._syncS, false); this.$element[0] .removeEventListener('DOMNodeRemoved', this._syncS, false); } this._syncA = null; this._syncS = null; this.$element.off('.select2'); this.$element.attr('tabindex', this.$element.data('old-tabindex')); this.$element.removeClass('select2-hidden-accessible'); this.$element.attr('aria-hidden', 'false'); this.$element.removeData('select2'); this.dataAdapter.destroy(); this.selection.destroy(); this.dropdown.destroy(); this.results.destroy(); this.dataAdapter = null; this.selection = null; this.dropdown = null; this.results = null; }; Select2.prototype.render = function () { var $container = $( '' + '' + '' + '' ); $container.attr('dir', this.options.get('dir')); this.$container = $container; this.$container.addClass('select2-container--' + this.options.get('theme')); $container.data('element', this.$element); return $container; }; return Select2; }); S2.define('jquery-mousewheel',[ 'jquery' ], function ($) { // Used to shim jQuery.mousewheel for non-full builds. return $; }); S2.define('jquery.select2',[ 'jquery', 'jquery-mousewheel', './select2/core', './select2/defaults' ], function ($, _, Select2, Defaults) { if ($.fn.selectWoo == null) { // All methods that should return the element var thisMethods = ['open', 'close', 'destroy']; $.fn.selectWoo = function (options) { options = options || {}; if (typeof options === 'object') { this.each(function () { var instanceOptions = $.extend(true, {}, options); var instance = new Select2($(this), instanceOptions); }); return this; } else if (typeof options === 'string') { var ret; var args = Array.prototype.slice.call(arguments, 1); this.each(function () { var instance = $(this).data('select2'); if (instance == null && window.console && console.error) { console.error( 'The select2(\'' + options + '\') method was called on an ' + 'element that is not using Select2.' ); } ret = instance[options].apply(instance, args); }); // Check if we should be returning `this` if ($.inArray(options, thisMethods) > -1) { return this; } return ret; } else { throw new Error('Invalid arguments for Select2: ' + options); } }; } if ($.fn.select2 != null && $.fn.select2.defaults != null) { $.fn.selectWoo.defaults = $.fn.select2.defaults; } if ($.fn.selectWoo.defaults == null) { $.fn.selectWoo.defaults = Defaults; } // Also register selectWoo under select2 if select2 is not already present. $.fn.select2 = $.fn.select2 || $.fn.selectWoo; return Select2; }); // Return the AMD loader configuration so it can be used outside of this file return { define: S2.define, require: S2.require }; }()); // Autoload the jQuery bindings // We know that all of the modules exist above this, so we're safe var select2 = S2.require('jquery.select2'); // Hold the AMD module references on the jQuery function that was just loaded // This allows Select2 to use the internal loader outside of this file, such // as in the language files. jQuery.fn.select2.amd = S2; jQuery.fn.selectWoo.amd = S2; // Return the Select2 instance for anyone who is importing it. return select2; })); PK\ Q??5custom-controls/select/class-astra-control-select.phpnuW+Ajson['default'] = $this->setting->default; if ( isset( $this->default ) ) { $this->json['default'] = $this->default; } $this->json['value'] = $this->value(); $this->json['label'] = esc_html( $this->label ); } /** * An Underscore (JS) template for this control's content (but not its container). * * Class variables for this control class are available in the `data` JS object; * export custom variables by overriding {@see WP_Customize_Control::to_json()}. * * @see WP_Customize_Control::print_template() * * @access protected */ protected function content_template() { ?> <# if ( data.label ) { #> <# } #>
    json['default'] = $this->setting->default; if ( isset( $this->default ) ) { $this->json['default'] = $this->default; } $this->json['id'] = $this->id; $this->json['link'] = $this->get_link(); $this->json['value'] = maybe_unserialize( $this->value() ); $this->json['choices'] = $this->choices; $this->json['inputAttrs'] = ''; foreach ( $this->input_attrs as $attr => $value ) { $this->json['inputAttrs'] .= $attr . '="' . esc_attr( $value ) . '" '; } $this->json['inputAttrs'] = maybe_serialize( $this->input_attrs() ); } /** * An Underscore (JS) template for this control's content (but not its container). * * Class variables for this control class are available in the `data` JS object; * export custom variables by overriding {@see WP_Customize_Control::to_json()}. * * @see WP_Customize_Control::print_template() * * @access protected */ protected function content_template() { ?> json['default'] = $this->setting->default; if ( isset( $this->default ) ) { $this->json['default'] = $this->default; } $this->json['value'] = $this->value(); $this->json['link'] = $this->get_link(); $this->json['id'] = $this->id; $this->json['label'] = esc_html( $this->label ); $this->json['suffix'] = $this->suffix; $this->json['inputAttrs'] = ''; foreach ( $this->input_attrs as $attr => $value ) { $this->json['inputAttrs'] .= $attr . '="' . esc_attr( $value ) . '" '; } } /** * An Underscore (JS) template for this control's content (but not its container). * * Class variables for this control class are available in the `data` JS object; * export custom variables by overriding {@see WP_Customize_Control::to_json()}. * * @see WP_Customize_Control::print_template() * * @access protected */ protected function content_template() { ?> <# var defaultValue = '#RRGGBB', defaultValueAttr = ''; if ( data.defaultValue ) { if ( '#' !== data.defaultValue.substring( 0, 1 ) ) { defaultValue = '#' + data.defaultValue; } else { defaultValue = data.defaultValue; } defaultValueAttr = ' data-default-color=' + defaultValue; // Quotes added automatically. } #> <# if ( data.label ) { #> <# } #>
    label { cursor: default; } } .customize-control { .ast-spacing-input-item-link, .ast-border-input-item-link { cursor: pointer; } &.customize-control-ast-slider { label { cursor: pointer; .wrapper { input[type=range]{ cursor: pointer; } } } } }PK\Ps7custom-controls/heading/class-astra-control-heading.phpnuW+Ajson['label'] = esc_html( $this->label ); $this->json['caption'] = $this->caption; $this->json['description'] = $this->description; } /** * An Underscore (JS) template for this control's content (but not its container). * * Class variables for this control class are available in the `data` JS object; * export custom variables by overriding {@see WP_Customize_Control::to_json()}. * * @see WP_Customize_Control::print_template() * * @access protected */ protected function content_template() { ?> <# if ( data.caption ) { #> {{{ data.caption }}} <# } #>
    li { margin-bottom: 0; display: none; &.active { display: inline-block; } } button[type="button"] { padding: 0; cursor: pointer; background: none; border: none; opacity: .75; outline: none; > i { width: 15px; height: 15px; font-size: 15px; } } } .ast-field-settings-modal { .ast-responsive-btns { margin-top: 6px; } } .customize-control-ast-responsive .input-wrapper { overflow: hidden; input { display: none; width: 82%; float: none; &.active { display: block; } } .ast-responsive-select { width: 50px; margin: 0; display: none; padding: .1em; margin-left: 2px; float: none; } .ast-responsive-input.active + .ast-responsive-select { display: block; width: 17%; float: none; } .ast-non-reponsive { &.ast-responsive-input { display: inline-block; &.active { display: inline-block; } } &.ast-responsive-select { display: inline-block; } } } #customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper { display: inline-block; .ast-responsive-select { display: none; } .ast-responsive-input { width: 100%; } } .input-wrapper.ast-responsive-wrapper { display: inline-flex; justify-content: space-between; margin-right: 0; align-items: flex-start; flex: 0 1; width: 100%; }PK\/kk=custom-controls/responsive/class-astra-control-responsive.phpnuW+Ajson['default'] = $this->setting->default; if ( isset( $this->default ) ) { $this->json['default'] = $this->default; } $val = maybe_unserialize( $this->value() ); if ( ! is_array( $val ) || is_numeric( $val ) ) { $val = array( 'desktop' => $val, 'tablet' => '', 'mobile' => '', 'desktop-unit' => '', 'tablet-unit' => '', 'mobile-unit' => '', ); } $this->json['value'] = $val; $this->json['choices'] = $this->choices; $this->json['link'] = $this->get_link(); $this->json['id'] = $this->id; $this->json['label'] = esc_html( $this->label ); $this->json['units'] = $this->units; $this->json['responsive'] = $this->responsive; $this->json['inputAttrs'] = ''; foreach ( $this->input_attrs as $attr => $value ) { $this->json['inputAttrs'] .= $attr . '="' . esc_attr( $value ) . '" '; } } /** * An Underscore (JS) template for this control's content (but not its container). * * Class variables for this control class are available in the `data` JS object; * export custom variables by overriding {@see WP_Customize_Control::to_json()}. * * @see WP_Customize_Control::print_template() * * @access protected */ protected function content_template() { ?> li.' + 'desktop' ).addClass( 'active' ); }, /** * Updates the sorting list */ updateValue: function() { 'use strict'; var control = this, newValue = {}; // Set the spacing container. control.responsiveContainer = control.container.find( '.ast-responsive-wrapper' ).first(); control.responsiveContainer.find( 'input.ast-responsive-input' ).each( function() { var responsive_input = jQuery( this ), item = responsive_input.data( 'id' ), item_value = responsive_input.val(); newValue[item] = item_value; }); control.responsiveContainer.find( 'select.ast-responsive-select' ).each( function() { var responsive_input = jQuery( this ), item = responsive_input.data( 'id' ), item_value = responsive_input.val(); newValue[item] = item_value; }); control.setting.set( newValue ); }, astResponsiveInit : function() { 'use strict'; this.container.find( '.ast-responsive-btns button' ).on( 'click', function( event ) { var device = jQuery(this).attr('data-device'); if( 'desktop' == device ) { device = 'tablet'; } else if( 'tablet' == device ) { device = 'mobile'; } else { device = 'desktop'; } jQuery( '.wp-full-overlay-footer .devices button[data-device="' + device + '"]' ).trigger( 'click' ); }); }, }); jQuery(' .wp-full-overlay-footer .devices button ').on('click', function() { var device = jQuery(this).attr('data-device'); jQuery( '.customize-control-ast-responsive .input-wrapper input, .customize-control .ast-responsive-btns > li' ).removeClass( 'active' ); jQuery( '.customize-control-ast-responsive .input-wrapper input.' + device + ', .customize-control .ast-responsive-btns > li.' + device ).addClass( 'active' ); }); })(jQuery); PK\9custom-controls/assets/js/minified/custom-controls.min.jsnuW+A!function(n){jQuery(window).on("load",function(){jQuery("html").addClass("background-colorpicker-ready")}),wp.customize.controlConstructor["ast-background"]=wp.customize.Control.extend({ready:function(){"use strict";this.initAstBgControl()},initAstBgControl:function(){var o=this,e=o.setting._value,t=o.container.find(".ast-color-control");o.container.find(".background-wrapper > .background-repeat").hide(),o.container.find(".background-wrapper > .background-position").hide(),o.container.find(".background-wrapper > .background-size").hide(),o.container.find(".background-wrapper > .background-attachment").hide(),!_.isUndefined(e["background-image"])&&""!==e["background-image"]||o.container.find(".more-settings").hide(),t.wpColorPicker({change:function(){jQuery("html").hasClass("background-colorpicker-ready")&&setTimeout(function(){o.saveValue("background-color",t.val())},100)},clear:function(e){jQuery(e.target).closest(".wp-picker-input-wrap").find(".wp-color-picker")[0]&&o.saveValue("background-color","")}}),o.container.on("change",".background-repeat select",function(){o.saveValue("background-repeat",jQuery(this).val())}),o.container.on("change click",".background-size input",function(){jQuery(this).parent(".buttonset").find(".switch-input").removeAttr("checked"),jQuery(this).attr("checked","checked"),o.saveValue("background-size",jQuery(this).val())}),o.container.on("change",".background-position select",function(){o.saveValue("background-position",jQuery(this).val())}),o.container.on("change click",".background-attachment input",function(){jQuery(this).parent(".buttonset").find(".switch-input").removeAttr("checked"),jQuery(this).attr("checked","checked"),o.saveValue("background-attachment",jQuery(this).val())}),o.container.on("click",".background-image-upload-button, .thumbnail-image img",function(e){var r=wp.media({multiple:!1}).open().on("select",function(){var e,t,n,a=r.state().get("selection").first(),i=a.toJSON().sizes.full.url;_.isUndefined(a.toJSON().sizes.medium)?_.isUndefined(a.toJSON().sizes.thumbnail)||(i=a.toJSON().sizes.thumbnail.url):i=a.toJSON().sizes.medium.url,e=a.toJSON().sizes.full.url,a.toJSON().id,a.toJSON().width,a.toJSON().height,""!==e&&o.container.find(".more-settings").show(),o.saveValue("background-image",e),t=o.container.find(".placeholder, .thumbnail"),n=o.container.find(".background-image-upload-remove-button"),t.length&&t.removeClass().addClass("thumbnail thumbnail-image").html(''),n.length&&n.show()});e.preventDefault()}),o.container.on("click",".background-image-upload-remove-button",function(e){var t,n;e.preventDefault(),o.saveValue("background-image",""),t=o.container.find(".placeholder, .thumbnail"),n=o.container.find(".background-image-upload-remove-button"),o.container.find(".background-wrapper > .background-repeat").hide(),o.container.find(".background-wrapper > .background-position").hide(),o.container.find(".background-wrapper > .background-size").hide(),o.container.find(".background-wrapper > .background-attachment").hide(),o.container.find(".more-settings").attr("data-direction","down"),o.container.find(".more-settings").find(".message").html(astraCustomizerControlBackground.moreSettings),o.container.find(".more-settings").find(".icon").html("↓"),t.length&&t.removeClass().addClass("placeholder").html(astraCustomizerControlBackground.placeholder),n.length&&n.hide()}),o.container.on("click",".more-settings",function(e){o.container.find(".background-wrapper > .background-repeat").toggle(),o.container.find(".background-wrapper > .background-position").toggle(),o.container.find(".background-wrapper > .background-size").toggle(),o.container.find(".background-wrapper > .background-attachment").toggle(),"down"===n(this).attr("data-direction")?(n(this).attr("data-direction","up"),n(this).find(".message").html(astraCustomizerControlBackground.lessSettings),n(this).find(".icon").html("↑")):(n(this).attr("data-direction","down"),n(this).find(".message").html(astraCustomizerControlBackground.moreSettings),n(this).find(".icon").html("↓"))})},saveValue:function(e,t){var n=this,a=jQuery("#customize-control-"+n.id.replace("[","-").replace("]","")+" .background-hidden-value"),i=n.setting._value;i[e]=t,jQuery(a).attr("value",JSON.stringify(i)).trigger("change"),n.setting.set(i)}})}(jQuery),jQuery,wp.customize.controlConstructor["ast-border"]=wp.customize.Control.extend({ready:function(){"use strict";var e=this;this.container.on("change keyup paste","input.ast-border-input",function(){jQuery(this).val(),e.updateValue()})},updateValue:function(){"use strict";var a={top:"",right:"",bottom:"",left:""};this.container.find("input.ast-border-desktop").each(function(){var e=jQuery(this),t=e.data("id"),n=e.val();a[t]=n}),this.setting.set(a)}}),jQuery(document).ready(function(){jQuery(".ast-border-connected").on("click",function(){jQuery(this).parent().parent(".ast-border-wrapper").find("input").removeClass("connected").attr("data-element-connect",""),jQuery(this).parent(".ast-border-input-item-link").removeClass("disconnected")}),jQuery(".ast-border-disconnected").on("click",function(){var e=jQuery(this).data("element-connect");jQuery(this).parent().parent(".ast-border-wrapper").find("input").addClass("connected").attr("data-element-connect",e),jQuery(this).parent(".ast-border-input-item-link").addClass("disconnected")}),jQuery(".ast-border-input-item").on("input",".connected",function(){var e=jQuery(this).attr("data-element-connect"),n=jQuery(this).val();jQuery(this).parent().parent(".ast-border-wrapper").find('.connected[ data-element-connect="'+e+'" ]').each(function(e,t){jQuery(this).val(n).change()})})}),jQuery,jQuery(window).on("load",function(){jQuery("html").addClass("colorpicker-ready")}),wp.customize.controlConstructor["ast-color"]=wp.customize.Control.extend({ready:function(){"use strict";var a=this;this.container.find(".ast-color-picker-alpha").wpColorPicker({change:function(e,t){e.target;var n=t.color.toString();jQuery("html").hasClass("colorpicker-ready")&&a.setting.set(n)},clear:function(e){jQuery(e.target).closest(".wp-picker-input-wrap").find(".wp-color-picker")[0]&&a.setting.set("")}})}}),jQuery,wp.customize.controlConstructor["ast-link"]=wp.customize.Control.extend({ready:function(){"use strict";var t=this,n=jQuery(".customize-link-control-data").data("value");this.container.on("change keyup",".ast-link-input",function(e){e.preventDefault(),value=jQuery(this).val(),n.url=value,jQuery(".customize-link-control-data").attr("data-value",JSON.stringify(n)).trigger("change"),t.setting.set(n)}),this.container.on("change click",".ast-link-open-in-new-tab",function(){value=jQuery(this).is(":checked"),n.new_tab=value,jQuery(".customize-link-control-data").attr("data-value",JSON.stringify(n)).trigger("change"),t.setting.set(n)}),this.container.on("change keyup",".ast-link-relationship",function(e){e.preventDefault(),value=jQuery(this).val(),n.link_rel=value,jQuery(".customize-link-control-data").attr("data-value",JSON.stringify(n)).trigger("change"),t.setting.set(n)})}}),wp.customize.controlConstructor["ast-customizer-link"]=wp.customize.Control.extend({ready:function(){"use strict";this.container.on("click",".customizer-link",function(e){e.preventDefault();var t=this.getAttribute("data-customizer-linked");wp.customize.section(t).expand()})}}),wp.customize.controlConstructor["ast-radio-image"]=wp.customize.Control.extend({ready:function(){"use strict";var e=this;this.container.on("click","input",function(){e.setting.set(jQuery(this).val())})}}),jQuery,wp.customize.controlConstructor["ast-responsive"]=wp.customize.Control.extend({ready:function(){"use strict";var e=this;e.astResponsiveInit(),this.container.on("change keyup paste","input.ast-responsive-input, select.ast-responsive-select",function(){jQuery(this).val(),e.updateValue()}),this.container.on("blur","input",function(){""==(jQuery(this).val()||"")&&wp.customize.previewer.refresh()}),jQuery(".customize-control-ast-responsive .input-wrapper input.desktop, .customize-control .ast-responsive-btns > li.desktop").addClass("active")},updateValue:function(){"use strict";var e=this,a={};e.responsiveContainer=e.container.find(".ast-responsive-wrapper").first(),e.responsiveContainer.find("input.ast-responsive-input").each(function(){var e=jQuery(this),t=e.data("id"),n=e.val();a[t]=n}),e.responsiveContainer.find("select.ast-responsive-select").each(function(){var e=jQuery(this),t=e.data("id"),n=e.val();a[t]=n}),e.setting.set(a)},astResponsiveInit:function(){"use strict";this.container.find(".ast-responsive-btns button").on("click",function(e){var t=jQuery(this).attr("data-device");t="desktop"==t?"tablet":"tablet"==t?"mobile":"desktop",jQuery('.wp-full-overlay-footer .devices button[data-device="'+t+'"]').trigger("click")})}}),jQuery(" .wp-full-overlay-footer .devices button ").on("click",function(){var e=jQuery(this).attr("data-device");jQuery(".customize-control-ast-responsive .input-wrapper input, .customize-control .ast-responsive-btns > li").removeClass("active"),jQuery(".customize-control-ast-responsive .input-wrapper input."+e+", .customize-control .ast-responsive-btns > li."+e).addClass("active")}),jQuery,jQuery(window).on("load",function(){jQuery("html").addClass("responsive-background-color-ready")}),wp.customize.controlConstructor["ast-responsive-color"]=wp.customize.Control.extend({ready:function(){"use strict";this.initAstBgControl()},initAstBgControl:function(){var r=this;r.setting._value,r.container.find(".ast-responsive-color").wpColorPicker({change:function(e,t){if(jQuery("html").hasClass("responsive-background-color-ready")){var n=r.setting.get(),a=jQuery(this).data("id"),i={desktop:n.desktop,tablet:n.tablet,mobile:n.mobile};"desktop"===a&&(i.desktop=t.color.toString()),"tablet"===a&&(i.tablet=t.color.toString()),"mobile"===a&&(i.mobile=t.color.toString()),r.setting.set(i)}},clear:function(e){var t=jQuery(e.target).closest(".wp-picker-input-wrap").find(".wp-color-picker")[0],n=jQuery(this).closest(".wp-picker-input-wrap").find(".wp-color-picker").data("id"),a=r.setting.get(),i={desktop:a.desktop,tablet:a.tablet,mobile:a.mobile};t&&("desktop"===n&&(i.desktop=""),"tablet"===n&&(i.tablet=""),"mobile"===n&&(i.mobile=""),r.setting.set(i))}}),this.container.find(".ast-responsive-btns button").on("click",function(e){var t=jQuery(this).attr("data-device");t="desktop"==t?"tablet":"tablet"==t?"mobile":"desktop",jQuery('.wp-full-overlay-footer .devices button[data-device="'+t+'"]').trigger("click")}),jQuery(".customize-control-ast-responsive-color .customize-control-content .ast-responsive-color.desktop").parents(".wp-picker-container").addClass("active")}}),jQuery(".wp-full-overlay-footer .devices button").on("click",function(){var e=jQuery(this).attr("data-device");jQuery(".customize-control-ast-responsive-color .customize-control-content .wp-picker-container").removeClass("active"),jQuery(".customize-control-ast-responsive-color .customize-control-content .ast-responsive-color."+e).parents(".wp-picker-container").addClass("active")}),jQuery(window).on("load",function(){jQuery("html").addClass("responsive-background-img-ready")}),wp.customize.controlConstructor["ast-responsive-background"]=wp.customize.Control.extend({ready:function(){"use strict";this.initAstBgControl(),this.astResponsiveInit()},initAstBgControl:function(){var s=this,e=s.setting._value,t=s.container.find(".ast-responsive-bg-color-control");!_.isUndefined(e.desktop["background-image"])&&""!==e.desktop["background-image"]||(s.container.find(".background-wrapper > .background-container.desktop > .background-repeat").hide(),s.container.find(".background-wrapper > .background-container.desktop > .background-position").hide(),s.container.find(".background-wrapper > .background-container.desktop > .background-size").hide(),s.container.find(".background-wrapper > .background-container.desktop > .background-attachment").hide()),!_.isUndefined(e.tablet["background-image"])&&""!==e.tablet["background-image"]||(s.container.find(".background-wrapper > .background-container.tablet > .background-repeat").hide(),s.container.find(".background-wrapper > .background-container.tablet > .background-position").hide(),s.container.find(".background-wrapper > .background-container.tablet > .background-size").hide(),s.container.find(".background-wrapper > .background-container.tablet > .background-attachment").hide()),!_.isUndefined(e.mobile["background-image"])&&""!==e.mobile["background-image"]||(s.container.find(".background-wrapper > .background-container.mobile > .background-repeat").hide(),s.container.find(".background-wrapper > .background-container.mobile > .background-position").hide(),s.container.find(".background-wrapper > .background-container.mobile > .background-size").hide(),s.container.find(".background-wrapper > .background-container.mobile > .background-attachment").hide()),t.wpColorPicker({change:function(e,t){var n=jQuery(this).data("id");jQuery("html").hasClass("responsive-background-img-ready")&&s.saveValue(n,"background-color",t.color.toString())},clear:function(e){var t=jQuery(e.target).closest(".wp-picker-input-wrap").find(".wp-color-picker")[0],n=jQuery(this).closest(".wp-picker-input-wrap").find(".wp-color-picker").data("id");t&&s.saveValue(n,"background-color","")}}),s.container.on("change",".background-repeat select",function(){var e=jQuery(this),t=e.data("id"),n=e.val();s.saveValue(t,"background-repeat",n)}),s.container.on("change click",".background-size input",function(){var e=jQuery(this),t=e.data("id"),n=e.val();e.parent(".buttonset").find(".switch-input").removeAttr("checked"),e.attr("checked","checked"),s.saveValue(t,"background-size",n)}),s.container.on("change",".background-position select",function(){var e=jQuery(this),t=e.data("id"),n=e.val();s.saveValue(t,"background-position",n)}),s.container.on("change click",".background-attachment input",function(){var e=jQuery(this),t=e.data("id"),n=e.val();e.parent(".buttonset").find(".switch-input").removeAttr("checked"),e.attr("checked","checked"),s.saveValue(t,"background-attachment",n)}),s.container.on("click",".background-image-upload-button",function(e){var r=jQuery(this).data("id"),o=wp.media({multiple:!1}).open().on("select",function(){var e,t,n,a=o.state().get("selection").first(),i=a.toJSON().sizes.full.url;_.isUndefined(a.toJSON().sizes.medium)?_.isUndefined(a.toJSON().sizes.thumbnail)||(i=a.toJSON().sizes.thumbnail.url):i=a.toJSON().sizes.medium.url,e=a.toJSON().sizes.full.url,a.toJSON().id,a.toJSON().width,a.toJSON().height,""!==e&&s.container.find(".background-wrapper > .background-repeat, .background-wrapper > .background-position, .background-wrapper > .background-size, .background-wrapper > .background-attachment").show(),s.saveValue(r,"background-image",e),t=s.container.find(".background-container."+r+" .placeholder, .background-container."+r+" .thumbnail"),n=s.container.find(".background-container."+r+" .background-image-upload-remove-button"),t.length&&t.removeClass().addClass("thumbnail thumbnail-image").html(''),n.length&&n.show()});e.preventDefault()}),s.container.on("click",".background-image-upload-remove-button",function(e){var t,n,a=jQuery(this).data("id");e.preventDefault(),s.saveValue(a,"background-image",""),t=s.container.find(".background-container."+a+" .placeholder, .background-container."+a+" .thumbnail"),n=s.container.find(".background-container."+a+" .background-image-upload-remove-button"),s.container.find(".background-wrapper > .background-container."+a+" > .background-repeat").hide(),s.container.find(".background-wrapper > .background-container."+a+" > .background-position").hide(),s.container.find(".background-wrapper > .background-container."+a+" > .background-size").hide(),s.container.find(".background-wrapper > .background-container."+a+" > .background-attachment").hide(),s.container.find(".background-container."+a+" .more-settings").attr("data-direction","down"),s.container.find(".background-container."+a+" .more-settings").find(".message").html(astraCustomizerControlBackground.moreSettings),s.container.find(".background-container."+a+" .more-settings").find(".icon").html("↓"),t.length&&t.removeClass().addClass("placeholder").html(astraCustomizerControlBackground.placeholder),n.length&&n.hide()}),s.container.on("click",".more-settings",function(e){var t=jQuery(this).data("id");s.container.find(".background-wrapper > .background-container."+t+" > .background-repeat").toggle(),s.container.find(".background-wrapper > .background-container."+t+" > .background-position").toggle(),s.container.find(".background-wrapper > .background-container."+t+" > .background-size").toggle(),s.container.find(".background-wrapper > .background-container."+t+" > .background-attachment").toggle(),"down"===jQuery(this).attr("data-direction")?(jQuery(this).attr("data-direction","up"),jQuery(this).find(".message").html(astraCustomizerControlBackground.lessSettings),jQuery(this).find(".icon").html("↑")):(jQuery(this).attr("data-direction","down"),jQuery(this).find(".message").html(astraCustomizerControlBackground.moreSettings),jQuery(this).find(".icon").html("↓"))})},astResponsiveInit:function(){"use strict";this.container.find(".ast-responsive-btns button").on("click",function(e){var t=jQuery(this).attr("data-device");t="desktop"==t?"tablet":"tablet"==t?"mobile":"desktop",jQuery('.wp-full-overlay-footer .devices button[data-device="'+t+'"]').trigger("click")})},saveValue:function(e,t,n){var a=jQuery("#customize-control-"+this.id.replace("[","-").replace("]","")+" .responsive-background-hidden-value"),i=this.setting._value;i[e][t]=n,jQuery(a).attr("value",JSON.stringify(i)).trigger("change"),this.setting.set(i)}}),jQuery(" .wp-full-overlay-footer .devices button ").on("click",function(){var e=jQuery(this).attr("data-device");jQuery(".customize-control-ast-responsive-background .background-container, .customize-control .ast-responsive-btns > li").removeClass("active"),jQuery(".customize-control-ast-responsive-background .background-container."+e+", .customize-control .ast-responsive-btns > li."+e).addClass("active")}),jQuery,wp.customize.controlConstructor["ast-responsive-slider"]=wp.customize.Control.extend({ready:function(){"use strict";var t=this;t.astResponsiveInit(),this.container.on("input change","input[type=range]",function(){var e=jQuery(this).val(),t=jQuery(this).closest(".input-field-wrapper").find(".ast-responsive-range-value-input");t.val(e),t.trigger("change")}),this.container.on("click",".ast-responsive-slider-reset",function(){var e=jQuery(this).parent().find(".input-field-wrapper.active"),t=e.find("input[type=range]"),n=e.find(".ast-responsive-range-value-input"),a=t.data("reset_value");t.val(a),n.val(a),n.trigger("change")}),this.container.on("input change","input[type=number]",function(){var e=jQuery(this).val();jQuery(this).closest(".input-field-wrapper").find("input[type=range]").val(e),t.updateValue()})},updateValue:function(){"use strict";var a={};this.responsiveContainer=this.container.find(".wrapper").first(),this.responsiveContainer.find(".ast-responsive-range-value-input").each(function(){var e=jQuery(this),t=e.data("id"),n=e.val();a[t]=n}),this.setting.set(a)},astResponsiveInit:function(){this.container.on("click",".ast-responsive-slider-btns button",function(e){e.preventDefault();var t=jQuery(this).attr("data-device");t="desktop"==t?"tablet":"tablet"==t?"mobile":"desktop",jQuery('.wp-full-overlay-footer .devices button[data-device="'+t+'"]').trigger("click")})}}),jQuery(" .wp-full-overlay-footer .devices button ").on("click",function(){var e=jQuery(this).attr("data-device");jQuery(".customize-control-ast-responsive-slider .input-field-wrapper, .customize-control .ast-responsive-slider-btns > li").removeClass("active"),jQuery(".customize-control-ast-responsive-slider .input-field-wrapper."+e+", .customize-control .ast-responsive-slider-btns > li."+e).addClass("active")}),jQuery,wp.customize.controlConstructor["ast-responsive-spacing"]=wp.customize.Control.extend({ready:function(){"use strict";var e=this;e.astResponsiveInit(),this.container.on("change keyup paste","input.ast-spacing-input",function(){jQuery(this).val(),e.updateValue()})},updateValue:function(){"use strict";var e=this,a={desktop:{},tablet:{},mobile:{},"desktop-unit":"px","tablet-unit":"px","mobile-unit":"px"};e.container.find("input.ast-spacing-desktop").each(function(){var e=jQuery(this),t=e.data("id"),n=e.val();a.desktop[t]=n}),e.container.find("input.ast-spacing-tablet").each(function(){var e=jQuery(this),t=e.data("id"),n=e.val();a.tablet[t]=n}),e.container.find("input.ast-spacing-mobile").each(function(){var e=jQuery(this),t=e.data("id"),n=e.val();a.mobile[t]=n}),e.container.find(".ast-spacing-unit-wrapper .ast-spacing-unit-input").each(function(){var e=jQuery(this),t=e.attr("data-device"),n=e.val();a[t+"-unit"]=n}),e.setting.set(a)},astResponsiveInit:function(){"use strict";var a=this;a.container.find(".ast-spacing-responsive-btns button").on("click",function(e){var t=jQuery(this).attr("data-device");t="desktop"==t?"tablet":"tablet"==t?"mobile":"desktop",jQuery('.wp-full-overlay-footer .devices button[data-device="'+t+'"]').trigger("click")}),a.container.on("click",".ast-spacing-responsive-units .single-unit",function(){var e=jQuery(this);if(e.hasClass("active"))return!1;var t=e.attr("data-unit"),n=jQuery(".wp-full-overlay-footer .devices button.active").attr("data-device");e.siblings().removeClass("active"),e.addClass("active"),a.container.find(".ast-spacing-unit-wrapper .ast-spacing-"+n+"-unit").val(t),a.updateValue()})}}),jQuery(document).ready(function(){jQuery(".ast-spacing-connected").on("click",function(){jQuery(this).parent().parent(".ast-spacing-wrapper").find("input").removeClass("connected").attr("data-element-connect",""),jQuery(this).parent(".ast-spacing-input-item-link").removeClass("disconnected")}),jQuery(".ast-spacing-disconnected").on("click",function(){var e=jQuery(this).data("element-connect");jQuery(this).parent().parent(".ast-spacing-wrapper").find("input").addClass("connected").attr("data-element-connect",e),jQuery(this).parent(".ast-spacing-input-item-link").addClass("disconnected")}),jQuery(".ast-spacing-input-item").on("input",".connected",function(){var e=jQuery(this).attr("data-element-connect"),n=jQuery(this).val();jQuery(this).parent().parent(".ast-spacing-wrapper").find('.connected[ data-element-connect="'+e+'" ]').each(function(e,t){jQuery(this).val(n).change()})})}),jQuery(".wp-full-overlay-footer .devices button ").on("click",function(){var e=jQuery(this).attr("data-device");jQuery(".customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper, .customize-control .ast-spacing-responsive-btns > li").removeClass("active"),jQuery(".customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper."+e+", .customize-control .ast-spacing-responsive-btns > li."+e).addClass("active")}),function(l){jQuery(document).ready(function(){var r=0,o=jQuery(".wp-full-overlay-sidebar-content"),s=navigator.userAgent.toLowerCase();if(-1 .customizer-text",function(e){e.preventDefault(),e.stopPropagation(),jQuery(this).find(".ast-adv-toggle-icon").trigger("click")})},ast_render_field:function(e,t,a){var o=this,i=e.find(".ast-fields-wrap"),r="",s=[],c=o.isJsonString(a.params.value)?JSON.parse(a.params.value):{};if(void 0!==t.tabs){var n=(n=a.params.name.replace("[","-")).replace("]","");r+='
    ',r+='
      ';var u=0;_.each(t.tabs,function(e,t){var n="";0==u&&(n="active"),r+='
    • '+t+"
    • ",u++}),r+="
    ",r+='
    ',_.each(t.tabs,function(e,t){r+='
    ';var n=o.generateFieldHtml(e,c);r+=n.html,_.each(n.controls,function(e,t){s.push({key:e.key,value:e.value,name:e.name})}),r+="
    "}),r+="
    ",i.html(r),l("#"+n+"-tabs").tabs()}else{var d=o.generateFieldHtml(t,c);r+=d.html,_.each(d.controls,function(e,t){s.push({key:e.key,value:e.value,name:e.name})}),i.html(r)}_.each(s,function(e,t){switch(e.key){case"ast-responsive-color":o.initResponsiveColor(i,a,e.name);break;case"ast-color":o.initColor(i,a,e.name);break;case"ast-font":var n=astra.customizer.settings.google_fonts;o.container.find(".ast-font-family").html(n),o.container.find(".ast-font-family").each(function(){var e=l(this).data("value");l(this).val(e);var t=l(this).data("name");l("select[data-name='"+t+"'] option[value='inherit']").text(l(this).data("inherit"));var n=jQuery(".ast-font-weight[data-connected-control='"+t+"']"),a=AstTypography._getWeightObject(AstTypography._cleanGoogleFonts(e));o.generateDropdownHtml(a,n),n.val(n.data("value"))}),o.container.find(".ast-font-family").selectWoo(),o.container.find(".ast-font-family").on("select2:select",function(){var e=l(this).val(),t=AstTypography._getWeightObject(AstTypography._cleanGoogleFonts(e)),n=l(this).data("name"),a=jQuery(".ast-font-weight[data-connected-control='"+n+"']");o.generateDropdownHtml(t,a);var i=l(this).parents(".customize-control").attr("id");i=i.replace("customize-control-",""),o.container.trigger("ast_settings_changed",[o,jQuery(this),e,i]);var r=a.parents(".customize-control").attr("id");r=r.replace("customize-control-",""),o.container.trigger("ast_settings_changed",[o,a,a.val(),r])}),o.container.find(".ast-font-weight").on("change",function(){var e=l(this).val();name=l(this).parents(".customize-control").attr("id"),name=name.replace("customize-control-",""),o.container.trigger("ast_settings_changed",[o,jQuery(this),e,name])});break;case"ast-responsive":o.initResponsiveTrigger(i,a),o.container.on("change keyup paste","input.ast-responsive-input, select.ast-responsive-select",function(){name=l(this).parents(".customize-control").attr("id"),name=name.replace("customize-control-",""),o.updateResonsiveValue(jQuery(this),name)});break;case"ast-select":o.container.on("change",".ast-select-input",function(){var e=jQuery(this).val();name=l(this).parents(".customize-control").attr("id"),name=name.replace("customize-control-",""),o.container.trigger("ast_settings_changed",[o,jQuery(this),e,name])});break;case"ast-slider":o.container.on("input change","input[type=range]",function(){var e=jQuery(this).attr("value"),t=jQuery(this).closest(".wrapper").find(".astra_range_value .value");t.val(e),name=l(this).parents(".customize-control").attr("id"),name=name.replace("customize-control-",""),o.container.trigger("ast_settings_changed",[o,t,e,name])}),o.container.on("click",".ast-slider-reset",function(){var e=jQuery(this).closest(".wrapper"),t=e.find("input[type=range]"),n=e.find(".astra_range_value .value"),a=t.data("reset_value");t.val(a),n.val(a),name=l(this).parents(".customize-control").attr("id"),name=name.replace("customize-control-",""),o.container.trigger("ast_settings_changed",[o,n,a,name])}),o.container.find(".customize-control-ast-slider").on("input change","input[type=number]",function(){var e=jQuery(this).val();jQuery(this).closest(".wrapper").find("input[type=range]").val(e),name=l(this).parents(".customize-control").attr("id"),name=name.replace("customize-control-",""),o.container.trigger("ast_settings_changed",[o,jQuery(this),e,name])});break;case"ast-responsive-background":o.initAstResonsiveBgControl(a,e,e.name);break;case"ast-background":o.initAstBgControl(a,e,e.name);break;case"ast-border":o.initAstBorderControl(a,e,e.name)}}),e.find(".ast-field-settings-modal").data("loaded",!0)},initAstBorderControl:function(e,t,n){var a=this;a.setting._value,t.name;this.container.on("change keyup paste","input.ast-border-input",function(){a.saveBorderValue("border",jQuery(this).val(),jQuery(this),n)}),jQuery(".ast-border-connected").on("click",function(){jQuery(this).parent().parent(".ast-border-wrapper").find("input").removeClass("connected").attr("data-element-connect",""),jQuery(this).parent(".ast-border-input-item-link").removeClass("disconnected")}),jQuery(".ast-border-disconnected").on("click",function(){var e=jQuery(this).data("element-connect");jQuery(this).parent().parent(".ast-border-wrapper").find("input").addClass("connected").attr("data-element-connect",e),jQuery(this).parent(".ast-border-input-item-link").addClass("disconnected")}),jQuery(".ast-border-input-item").on("input",".connected",function(){var e=jQuery(this).attr("data-element-connect"),n=jQuery(this).val();jQuery(this).parent().parent(".ast-border-wrapper").find('.connected[ data-element-connect="'+e+'" ]').each(function(e,t){jQuery(this).val(n).change()})})},generateFieldHtml:function(e,t){var d="",l=[];_.each(e,function(e,t){new_value=wp.customize.control("astra-settings["+e.name+"]")?wp.customize.control("astra-settings["+e.name+"]").params.value:"";var n=e.control,a="customize-control-"+n+"-content",i=wp.template(a),r=new_value||e.default;e.value=r;var o="",s="";if(e.label=e.title,_.each(e.data_attrs,function(e,t){o+=" data-"+t+" ='"+e+"'"}),_.each(e.input_attrs,function(e,t){s+=t+" ='"+e+"'"}),e.dataAttrs=o,e.inputAttrs=s,l.push({key:n,value:r,name:e.name}),"ast-responsive"==n){var c=void 0===e.responsive||e.responsive;e.responsive=c}var u=e.name.replace("[","-");u=u.replace("]",""),d+="
  • ",d+=i(e),d+="
  • "});var n=new Object;return n.controls=l,n.html=d,n},generateDropdownHtml:function(e,t){var n=t.data("inherit"),a="",i=0,r=(e=l.merge(["inherit"],e),t.val()||"400");for(astraTypo.inherit=n;i"+astraTypo[e[i]]+"");t.html(a)},initResponsiveTrigger:function(e,t){e.find(".ast-responsive-btns button").on("click",function(e){var t=jQuery(this).attr("data-device");t="desktop"==t?"tablet":"tablet"==t?"mobile":"desktop",jQuery('.wp-full-overlay-footer .devices button[data-device="'+t+'"]').trigger("click")})},initColor:function(e,t,a){var i=this;e.find(".customize-control-ast-color .ast-color-picker-alpha").wpColorPicker({change:function(e,t){if(void 0!==e.originalEvent||void 0!==t.color._alpha){var n=jQuery(e.target).closest(".wp-picker-input-wrap").find(".wp-color-picker")[0];jQuery(n).val(t.color.toString()),a=(a=jQuery(n).parents(".customize-control").attr("id")).replace("customize-control-",""),i.container.trigger("ast_settings_changed",[i,jQuery(n),t.color.toString(),a])}},clear:function(e){var t=jQuery(e.target).closest(".wp-picker-input-wrap").find(".wp-color-picker")[0];jQuery(t).val(""),a=(a=jQuery(t).parents(".customize-control").attr("id")).replace("customize-control-",""),i.container.trigger("ast_settings_changed",[i,jQuery(t),"",a]),wp.customize.previewer.refresh()}})},initResponsiveColor:function(e,t,s){var c=this;e.find(".ast-responsive-color").wpColorPicker({change:function(e,t){if((void 0!==e.originalEvent||void 0!==t.color._alpha)&&jQuery("html").hasClass("responsive-background-color-ready")){var n=jQuery(this).data("name"),a={desktop:jQuery(".desktop.ast-responsive-color[data-name='"+n+"']").val(),tablet:jQuery(".tablet.ast-responsive-color[data-name='"+n+"']").val(),mobile:jQuery(".mobile.ast-responsive-color[data-name='"+n+"']").val()},i=e.target,r=jQuery(this).data("id"),o={desktop:a.desktop,tablet:a.tablet,mobile:a.mobile};"desktop"===r&&(o.desktop=t.color.toString()),"tablet"===r&&(o.tablet=t.color.toString()),"mobile"===r&&(o.mobile=t.color.toString()),jQuery(i).val(t.color.toString()),s=(s=jQuery(i).parents(".customize-control").attr("id")).replace("customize-control-",""),c.container.trigger("ast_settings_changed",[c,jQuery(this),o,s])}},clear:function(e){var t=jQuery(e.target).closest(".wp-picker-input-wrap").find(".wp-color-picker")[0],n=jQuery(this).closest(".wp-picker-input-wrap").find(".wp-color-picker").data("id"),a=jQuery(t).attr("data-name"),i={desktop:jQuery(".desktop.ast-responsive-color[data-name='"+a+"']").val(),tablet:jQuery(".tablet.ast-responsive-color[data-name='"+a+"']").val(),mobile:jQuery(".mobile.ast-responsive-color[data-name='"+a+"']").val()},r={desktop:i.desktop,tablet:i.tablet,mobile:i.mobile};wp.customize.previewer.refresh(),t&&("desktop"===n&&(r.desktop=""),"tablet"===n&&(r.tablet=""),"mobile"===n&&(r.mobile=""),jQuery(t).val(""),c.container.trigger("ast_settings_changed",[c,jQuery(t),r,s])),s=(s=jQuery(t).parents(".customize-control").attr("id")).replace("customize-control-","")}}),e.find(".ast-responsive-btns button").on("click",function(e){var t=jQuery(this).attr("data-device");t="desktop"==t?"tablet":"tablet"==t?"mobile":"desktop",jQuery('.wp-full-overlay-footer .devices button[data-device="'+t+'"]').trigger("click")}),e.find(".ast-responsive-color.desktop").parents(".wp-picker-container").addClass("active")},onOptionChange:function(e,t,n,a,i){l(".hidden-field-astra-settings-"+i).val(a),sub_control=wp.customize.control("astra-settings["+i+"]"),sub_control.setting.set(a)},updateResonsiveValue:function(e,t){"use strict";var n=this,a={};n.responsiveContainer=e.closest(".ast-responsive-wrapper"),n.responsiveContainer.find("input.ast-responsive-input").each(function(){var e=jQuery(this),t=e.data("id"),n=e.val();a[t]=n}),n.responsiveContainer.find("select.ast-responsive-select").each(function(){var e=jQuery(this),t=e.data("id"),n=e.val();a[t]=n}),n.container.trigger("ast_settings_changed",[n,e,a,t])},isJsonString:function(e){try{JSON.parse(e)}catch(e){return!1}return!0},initAstResonsiveBgControl:function(c,e,u){var t=e.value,n=c.container.find(".ast-responsive-bg-color-control"),a=e.name,d=c.container.find("#customize-control-"+a);!_.isUndefined(t.desktop["background-image"])&&""!==t.desktop["background-image"]||(d.find(".background-wrapper > .background-container.desktop > .background-repeat").hide(),d.find(".background-wrapper > .background-container.desktop > .background-position").hide(),d.find(".background-wrapper > .background-container.desktop > .background-size").hide(),d.find(".background-wrapper > .background-container.desktop > .background-attachment").hide()),!_.isUndefined(t.tablet["background-image"])&&""!==t.tablet["background-image"]||(d.find(".background-wrapper > .background-container.tablet > .background-repeat").hide(),d.find(".background-wrapper > .background-container.tablet > .background-position").hide(),d.find(".background-wrapper > .background-container.tablet > .background-size").hide(),d.find(".background-wrapper > .background-container.tablet > .background-attachment").hide()),!_.isUndefined(t.mobile["background-image"])&&""!==t.mobile["background-image"]||(d.find(".background-wrapper > .background-container.mobile > .background-repeat").hide(),d.find(".background-wrapper > .background-container.mobile > .background-position").hide(),d.find(".background-wrapper > .background-container.mobile > .background-size").hide(),d.find(".background-wrapper > .background-container.mobile > .background-attachment").hide()),n.wpColorPicker({change:function(e,t){if(void 0!==e.originalEvent||void 0!==t.color._alpha){var n=jQuery(this).data("id");c.saveValue(n,"background-color",t.color.toString(),jQuery(this),u)}},clear:function(e){var t=jQuery(e.target).closest(".wp-picker-input-wrap").find(".wp-color-picker")[0],n=jQuery(this).closest(".wp-picker-input-wrap").find(".wp-color-picker").data("id");t&&c.saveValue(n,"background-color","",jQuery(t),u),wp.customize.previewer.refresh()}}),d.on("change",".background-repeat select",function(){var e=jQuery(this),t=e.data("id"),n=e.val();c.saveValue(t,"background-repeat",n,jQuery(this),u)}),d.on("change click",".background-size input",function(){var e=jQuery(this),t=e.data("id"),n=e.val();jQuery(this).parent(".buttonset").find(".switch-input").removeAttr("checked"),jQuery(this).attr("checked","checked"),c.saveValue(t,"background-size",n,e,u)}),d.on("change",".background-position select",function(){var e=jQuery(this),t=e.data("id"),n=e.val();c.saveValue(t,"background-position",n,e,u)}),d.on("change click",".background-attachment input",function(){var e=jQuery(this),t=e.data("id"),n=e.val();jQuery(this).parent(".buttonset").find(".switch-input").removeAttr("checked"),jQuery(this).attr("checked","checked"),c.saveValue(t,"background-attachment",n,e,u)}),d.on("click",".background-image-upload-button, .thumbnail-image img",function(e){var r=jQuery(this),o=r.data("id");u=r.data("name");var s=wp.media({multiple:!1}).open().on("select",function(){var e,t,n,a=s.state().get("selection").first(),i=a.toJSON().sizes.full.url;_.isUndefined(a.toJSON().sizes.medium)?_.isUndefined(a.toJSON().sizes.thumbnail)||(i=a.toJSON().sizes.thumbnail.url):i=a.toJSON().sizes.medium.url,e=a.toJSON().sizes.full.url,a.toJSON().id,a.toJSON().width,a.toJSON().height,""!==e&&d.find(".background-wrapper > .background-repeat, .background-wrapper > .background-position, .background-wrapper > .background-size, .background-wrapper > .background-attachment").show(),c.saveValue(o,"background-image",e,r,u),t=d.find(".background-container."+o+" .placeholder, .background-container."+o+" .thumbnail"),n=d.find(".background-container."+o+" .background-image-upload-remove-button"),t.length&&t.removeClass().addClass("thumbnail thumbnail-image").html(''),n.length&&n.show()});e.preventDefault()}),d.on("click",".background-image-upload-remove-button",function(e){var t,n,a=jQuery(this).data("id");c.saveValue(a,"background-image","",jQuery(this),u),t=d.find(".background-container."+a+" .placeholder, .background-container."+a+" .thumbnail"),n=d.find(".background-container."+a+" .background-image-upload-remove-button"),d.find(".background-wrapper > .background-container."+a+" > .background-repeat").hide(),d.find(".background-wrapper > .background-container."+a+" > .background-position").hide(),d.find(".background-wrapper > .background-container."+a+" > .background-size").hide(),d.find(".background-wrapper > .background-container."+a+" > .background-attachment").hide(),d.find(".background-container."+a+" .more-settings").attr("data-direction","down"),d.find(".background-container."+a+" .more-settings").find(".message").html(astraCustomizerControlBackground.moreSettings),d.find(".background-container."+a+" .more-settings").find(".icon").html("↓"),t.length&&t.removeClass().addClass("placeholder").html(astraCustomizerControlBackground.placeholder),n.length&&n.hide(),wp.customize.previewer.refresh(),e.preventDefault()}),d.on("click",".more-settings",function(e){var t=jQuery(this).data("id");d.find(".background-wrapper > .background-container."+t+" > .background-repeat").toggle(),d.find(".background-wrapper > .background-container."+t+" > .background-position").toggle(),d.find(".background-wrapper > .background-container."+t+" > .background-size").toggle(),d.find(".background-wrapper > .background-container."+t+" > .background-attachment").toggle(),"down"===l(this).attr("data-direction")?(l(this).attr("data-direction","up"),l(this).find(".message").html(astraCustomizerControlBackground.lessSettings),l(this).find(".icon").html("↑")):(l(this).attr("data-direction","down"),l(this).find(".message").html(astraCustomizerControlBackground.moreSettings),l(this).find(".icon").html("↓"))}),d.find(".ast-responsive-btns button").on("click",function(e){var t=jQuery(this).attr("data-device");t="desktop"==t?"tablet":"tablet"==t?"mobile":"desktop",jQuery('.wp-full-overlay-footer .devices button[data-device="'+t+'"]').trigger("click")}),jQuery(" .wp-full-overlay-footer .devices button ").on("click",function(){var e=jQuery(this).attr("data-device");jQuery(".customize-control-ast-responsive-background .background-container, .customize-control .ast-responsive-btns > li").removeClass("active"),jQuery(".customize-control-ast-responsive-background .background-container."+e+", .customize-control .ast-responsive-btns > li."+e).addClass("active")})},initAstBgControl:function(s,e,c){var t=s.setting._value,n=e.name,a=s.container.find(".ast-color-control"),u=s.container.find("#customize-control-"+n);!_.isUndefined(t["background-image"])&&""!==t["background-image"]||(u.find(".background-wrapper > .background-repeat").hide(),u.find(".background-wrapper > .background-position").hide(),u.find(".background-wrapper > .background-size").hide(),u.find(".background-wrapper > .background-attachment").hide()),a.wpColorPicker({change:function(){if(jQuery("html").hasClass("background-colorpicker-ready")){var e=jQuery(this);setTimeout(function(){s.saveBgValue("background-color",a.val(),e,c)},100)}},clear:function(e){var t=jQuery(e.target).closest(".wp-picker-input-wrap").find(".wp-color-picker")[0];t&&s.saveBgValue("background-color","",jQuery(t),c),wp.customize.previewer.refresh()}}),u.on("change",".background-repeat select",function(){s.saveBgValue("background-repeat",jQuery(this).val(),jQuery(this),c)}),u.on("change click",".background-size input",function(){jQuery(this).parent(".buttonset").find(".switch-input").removeAttr("checked"),jQuery(this).attr("checked","checked"),s.saveBgValue("background-size",jQuery(this).val(),jQuery(this),c)}),u.on("change",".background-position select",function(){s.saveBgValue("background-position",jQuery(this).val(),jQuery(this),c)}),u.on("change click",".background-attachment input",function(){jQuery(this).parent(".buttonset").find(".switch-input").removeAttr("checked"),jQuery(this).attr("checked","checked"),s.saveBgValue("background-attachment",jQuery(this).val(),jQuery(this),c)}),u.on("click",".background-image-upload-button, .thumbnail-image img",function(e){var r=jQuery(this),o=wp.media({multiple:!1}).open().on("select",function(){var e,t,n,a=o.state().get("selection").first(),i=a.toJSON().sizes.full.url;_.isUndefined(a.toJSON().sizes.medium)?_.isUndefined(a.toJSON().sizes.thumbnail)||(i=a.toJSON().sizes.thumbnail.url):i=a.toJSON().sizes.medium.url,e=a.toJSON().sizes.full.url,a.toJSON().id,a.toJSON().width,a.toJSON().height,""!==e&&u.find(".background-wrapper > .background-repeat, .background-wrapper > .background-position, .background-wrapper > .background-size, .background-wrapper > .background-attachment").show(),s.saveBgValue("background-image",e,r,c),t=u.find(".placeholder, .thumbnail"),n=u.find(".background-image-upload-remove-button"),t.length&&t.removeClass().addClass("thumbnail thumbnail-image").html(''),n.length&&n.show()});e.preventDefault()}),u.on("click",".background-image-upload-remove-button",function(e){var t,n;e.preventDefault(),s.saveBgValue("background-image","",jQuery(this)),t=u.find(".placeholder, .thumbnail"),n=u.find(".background-image-upload-remove-button"),u.find(".background-wrapper > .background-repeat").hide(),u.find(".background-wrapper > .background-position").hide(),u.find(".background-wrapper > .background-size").hide(),u.find(".background-wrapper > .background-attachment").hide(),u.find(".more-settings").attr("data-direction","down"),u.find(".more-settings").find(".message").html(astraCustomizerControlBackground.moreSettings),u.find(".more-settings").find(".icon").html("↓"),t.length&&t.removeClass().addClass("placeholder").html(astraCustomizerControlBackground.placeholder),n.length&&n.hide()}),u.on("click",".more-settings",function(e){u.find(".background-wrapper > .background-repeat").toggle(),u.find(".background-wrapper > .background-position").toggle(),u.find(".background-wrapper > .background-size").toggle(),u.find(".background-wrapper > .background-attachment").toggle(),"down"===l(this).attr("data-direction")?(l(this).attr("data-direction","up"),l(this).find(".message").html(astraCustomizerControlBackground.lessSettings),l(this).find(".icon").html("↑")):(l(this).attr("data-direction","down"),l(this).find(".message").html(astraCustomizerControlBackground.moreSettings),l(this).find(".icon").html("↓"))})},saveValue:function(e,t,n,a,i){var r=jQuery("#customize-control-"+this.id.replace("[","-").replace("]","")+" .responsive-background-hidden-value"),o=JSON.parse(r.val());o[e][t]=n,jQuery(r).attr("value",JSON.stringify(o)).trigger("change"),i=(i=jQuery(a).parents(".customize-control").attr("id")).replace("customize-control-",""),this.container.trigger("ast_settings_changed",[this,a,o,i])},saveBgValue:function(e,t,n,a){var i=jQuery("#customize-control-"+this.id.replace("[","-").replace("]","")+" .background-hidden-value"),r=JSON.parse(i.val());r[e]=t,jQuery(i).attr("value",JSON.stringify(r)).trigger("change"),a=(a=jQuery(n).parents(".customize-control").attr("id")).replace("customize-control-",""),this.container.trigger("ast_settings_changed",[this,n,r,a])},saveBorderValue:function(e,t,n,a){var i={top:"",right:"",bottom:"",left:""};this.container.find("input.ast-border-desktop").each(function(){var e=jQuery(this),t=e.data("id");item_value=e.val(),i[t]=item_value,e.attr("value",item_value)}),this.container.trigger("ast_settings_changed",[this,n,i,a])}})}(jQuery),jQuery,wp.customize.controlConstructor["ast-slider"]=wp.customize.Control.extend({ready:function(){"use strict";var t=this;jQuery("input[type=range]").on("input change",function(){var e=jQuery(this).attr("value"),t=jQuery(this).closest(".wrapper").find(".astra_range_value .value");t.val(e),t.change()}),jQuery(".ast-slider-reset").click(function(){var e=jQuery(this).closest(".wrapper"),t=e.find("input[type=range]"),n=e.find(".astra_range_value .value"),a=t.data("reset_value");t.val(a),n.val(a),n.change()}),this.container.on("input change","input[type=number]",function(){var e=jQuery(this).val();jQuery(this).closest(".wrapper").find("input[type=range]").val(e),t.setting.set(e)})}}),jQuery,wp.customize.controlConstructor["ast-sortable"]=wp.customize.Control.extend({ready:function(){"use strict";var e=this;e.sortableContainer=e.container.find("ul.sortable").first(),e.sortableContainer.sortable({stop:function(){e.updateValue()}}).disableSelection().find("li").each(function(){jQuery(this).find("i.visibility").click(function(){jQuery(this).toggleClass("dashicons-visibility-faint").parents("li:eq(0)").toggleClass("invisible")})}).click(function(){e.updateValue()})},updateValue:function(){"use strict";var e=[];this.sortableContainer.find("li").each(function(){jQuery(this).is(".invisible")||e.push(jQuery(this).data("value"))}),this.setting.set(e)}}),function(p){var v=wp.customize;AstTypography={init:function(){AstTypography._initFonts()},_initFonts:function(){p(".customize-control-ast-font-family select").each(function(e){if(void 0!==astra.customizer){var t=astra.customizer.settings.google_fonts,n=p(this).data("name");p(this).html(t),p("select[data-name='"+n+"'] option[value='inherit']").text(p(this).data("inherit"));var a=p(this).data("value");p(this).val(a)}}),p(".customize-control-ast-font-family select").each(AstTypography._initFont),p(".customize-control-ast-font-family select, .customize-control-ast-font-variant select").selectWoo(),p(".customize-control-ast-font-variant select").on("select2:unselecting",function(e){var t=p(this).data("customize-setting-link");(e.params.args.data.id||"")&&(p(this).find('option[value="'+e.params.args.data.id+'"]').removeAttr("selected"),null===p(this).val()&&v(t).set(""))})},_initFont:function(){var e=p(this),t=e.data("customize-setting-link"),n=e.data("connected-control"),a=e.data("connected-variant");void 0!==n&&(v(t).bind(AstTypography._fontSelectChange),AstTypography._setFontWeightOptions.apply(v(t),[!0])),void 0!==a&&(v(t).bind(AstTypography._fontSelectChange),AstTypography._setFontVarianttOptions.apply(v(t),[!0]))},_fontSelectChange:function(){var e=v.control(this.id).container.find("select").data("connected-variant");AstTypography._setFontWeightOptions.apply(this,[!1]),void 0!==e&&AstTypography._setFontVarianttOptions.apply(this,[!1])},_cleanGoogleFonts:function(e){if(!e.includes(","))return e;var t=e.split(","),n=new RegExp("'","gi"),a=t[0].replace(n,"");return void 0!==AstFontFamilies.google[a]&&(e=a),e},_getWeightObject:function(e){var t=["400","600"];return"inherit"==e?t=["100","200","300","400","500","600","700","800","900"]:void 0!==AstFontFamilies.system[e]?t=AstFontFamilies.system[e].weights:void 0!==AstFontFamilies.google[e]?(t=AstFontFamilies.google[e][0],t=Object.keys(t).map(function(e){return t[e]})):void 0!==AstFontFamilies.custom[e]&&(t=AstFontFamilies.custom[e].weights),t},_setFontWeightOptions:function(e){var t=0,n=v.control(this.id).container.find("select"),a=this(),i="",r=n.data("connected-control"),o=(n.data("inherit"),v.control(r).container.find("select")),s=o.data("inherit"),c=e?o.val():"400",u=["400","600"],d="",l=astraTypo;"inherit"==a&&(c=e?o.val():"inherit");a=AstTypography._cleanGoogleFonts(a),u=AstTypography._getWeightObject(a);for(u=p.merge(["inherit"],u),l.inherit=s;t"+l[u[t]]+"");o.html(d),e||(v(r).set(""),v(r).set(c))},_setFontVarianttOptions:function(e){var t=0,n=v.control(this.id).container.find("select"),a=this(),i="",r=n.data("connected-variant"),o=(n.data("inherit"),v.control(r).container.find("select")),s=v.control(r).container.find(".ast-font-variant-hidden-value"),c="",u="",d=o.data("inherit"),l=astraTypo,p=s.val().split(",");"Google"==(n.find('option[value="'+n.val()+'"]').closest("optgroup").attr("label")||"")?o.parent().removeClass("ast-hide"):o.parent().addClass("ast-hide");a=AstTypography._cleanGoogleFonts(a);var g=AstTypography._getWeightObject(a);l.inherit=d;for(t=0;t"+l[g[t]]+""}o.html(u),e||v(r).set("")}},p(function(){AstTypography.init()})}(jQuery);PK\9M7custom-controls/assets/js/unminified/custom-controls.jsnuW+A( function( $ ) { jQuery(window).on("load", function() { jQuery('html').addClass('background-colorpicker-ready'); }); wp.customize.controlConstructor['ast-background'] = wp.customize.Control.extend({ // When we're finished loading continue processing ready: function() { 'use strict'; var control = this; // Init the control. control.initAstBgControl(); }, initAstBgControl: function() { var control = this, value = control.setting._value, picker = control.container.find( '.ast-color-control' ); // Hide controls by default and show only when More Settings clicked. control.container.find( '.background-wrapper > .background-repeat' ).hide(); control.container.find( '.background-wrapper > .background-position' ).hide(); control.container.find( '.background-wrapper > .background-size' ).hide(); control.container.find( '.background-wrapper > .background-attachment' ).hide(); // Hide More Settings control only when image is not selected. if ( _.isUndefined( value['background-image']) || '' === value['background-image']) { control.container.find( '.more-settings' ).hide(); } // Color. picker.wpColorPicker({ change: function() { if ( jQuery('html').hasClass('background-colorpicker-ready') ) { setTimeout( function() { control.saveValue( 'background-color', picker.val() ); }, 100 ); } }, /** * @param {Event} event - standard jQuery event, produced by "Clear" * button. */ clear: function (event) { var element = jQuery(event.target).closest('.wp-picker-input-wrap').find('.wp-color-picker')[0]; if (element) { control.saveValue( 'background-color', '' ); } } }); // Background-Repeat. control.container.on( 'change', '.background-repeat select', function() { control.saveValue( 'background-repeat', jQuery( this ).val() ); }); // Background-Size. control.container.on( 'change click', '.background-size input', function() { jQuery( this ).parent( '.buttonset' ).find( '.switch-input' ).removeAttr('checked'); jQuery( this ).attr( 'checked', 'checked' ); control.saveValue( 'background-size', jQuery( this ).val() ); }); // Background-Position. control.container.on( 'change', '.background-position select', function() { control.saveValue( 'background-position', jQuery( this ).val() ); }); // Background-Attachment. control.container.on( 'change click', '.background-attachment input', function() { jQuery( this ).parent( '.buttonset' ).find( '.switch-input' ).removeAttr('checked'); jQuery( this ).attr( 'checked', 'checked' ); control.saveValue( 'background-attachment', jQuery( this ).val() ); }); // Background-Image. control.container.on( 'click', '.background-image-upload-button, .thumbnail-image img', function( e ) { var image = wp.media({ multiple: false }).open().on( 'select', function() { // This will return the selected image from the Media Uploader, the result is an object. var uploadedImage = image.state().get( 'selection' ).first(), previewImage = uploadedImage.toJSON().sizes.full.url, imageUrl, imageID, imageWidth, imageHeight, preview, removeButton; if ( ! _.isUndefined( uploadedImage.toJSON().sizes.medium ) ) { previewImage = uploadedImage.toJSON().sizes.medium.url; } else if ( ! _.isUndefined( uploadedImage.toJSON().sizes.thumbnail ) ) { previewImage = uploadedImage.toJSON().sizes.thumbnail.url; } imageUrl = uploadedImage.toJSON().sizes.full.url; imageID = uploadedImage.toJSON().id; imageWidth = uploadedImage.toJSON().width; imageHeight = uploadedImage.toJSON().height; // Show extra controls if the value has an image. if ( '' !== imageUrl ) { control.container.find( '.more-settings' ).show(); } control.saveValue( 'background-image', imageUrl ); preview = control.container.find( '.placeholder, .thumbnail' ); removeButton = control.container.find( '.background-image-upload-remove-button' ); if ( preview.length ) { preview.removeClass().addClass( 'thumbnail thumbnail-image' ).html( '' ); } if ( removeButton.length ) { removeButton.show(); } }); e.preventDefault(); }); control.container.on( 'click', '.background-image-upload-remove-button', function( e ) { var preview, removeButton; e.preventDefault(); control.saveValue( 'background-image', '' ); preview = control.container.find( '.placeholder, .thumbnail' ); removeButton = control.container.find( '.background-image-upload-remove-button' ); // Hide unnecessary controls. control.container.find( '.background-wrapper > .background-repeat' ).hide(); control.container.find( '.background-wrapper > .background-position' ).hide(); control.container.find( '.background-wrapper > .background-size' ).hide(); control.container.find( '.background-wrapper > .background-attachment' ).hide(); control.container.find( '.more-settings' ).attr('data-direction', 'down'); control.container.find( '.more-settings' ).find('.message').html( astraCustomizerControlBackground.moreSettings ); control.container.find( '.more-settings' ).find('.icon').html( '↓' ); if ( preview.length ) { preview.removeClass().addClass( 'placeholder' ).html( astraCustomizerControlBackground.placeholder ); } if ( removeButton.length ) { removeButton.hide(); } }); control.container.on( 'click', '.more-settings', function( e ) { // Hide unnecessary controls. control.container.find( '.background-wrapper > .background-repeat' ).toggle(); control.container.find( '.background-wrapper > .background-position' ).toggle(); control.container.find( '.background-wrapper > .background-size' ).toggle(); control.container.find( '.background-wrapper > .background-attachment' ).toggle(); if( 'down' === $(this).attr( 'data-direction' ) ) { $(this).attr('data-direction', 'up'); $(this).find('.message').html( astraCustomizerControlBackground.lessSettings ); $(this).find('.icon').html( '↑' ); } else { $(this).attr('data-direction', 'down'); $(this).find('.message').html( astraCustomizerControlBackground.moreSettings ); $(this).find('.icon').html( '↓' ); } }); }, /** * Saves the value. */ saveValue: function( property, value ) { var control = this, input = jQuery( '#customize-control-' + control.id.replace( '[', '-' ).replace( ']', '' ) + ' .background-hidden-value' ), val = control.setting._value; val[ property ] = value; jQuery( input ).attr( 'value', JSON.stringify( val ) ).trigger( 'change' ); control.setting.set( val ); } }); })(jQuery); ( function( $ ) { /** * File spacing.js * * Handles the spacing * * @package Astra */ wp.customize.controlConstructor['ast-border'] = wp.customize.Control.extend({ ready: function() { 'use strict'; var control = this, value; // Set the spacing container. // this.container = control.container.find( 'ul.ast-border-wrapper' ).first(); // Save the value. this.container.on( 'change keyup paste', 'input.ast-border-input', function() { value = jQuery( this ).val(); // Update value on change. control.updateValue(); }); }, /** * Updates the spacing values */ updateValue: function() { 'use strict'; var control = this, newValue = { 'top' : '', 'right' : '', 'bottom' : '', 'left' : '', }; control.container.find( 'input.ast-border-desktop' ).each( function() { var spacing_input = jQuery( this ), item = spacing_input.data( 'id' ), item_value = spacing_input.val(); newValue[item] = item_value; }); control.setting.set( newValue ); }, }); jQuery( document ).ready( function( ) { // Connected button jQuery( '.ast-border-connected' ).on( 'click', function() { // Remove connected class jQuery(this).parent().parent( '.ast-border-wrapper' ).find( 'input' ).removeClass( 'connected' ).attr( 'data-element-connect', '' ); // Remove class jQuery(this).parent( '.ast-border-input-item-link' ).removeClass( 'disconnected' ); } ); // Disconnected button jQuery( '.ast-border-disconnected' ).on( 'click', function() { // Set up variables var elements = jQuery(this).data( 'element-connect' ); // Add connected class jQuery(this).parent().parent( '.ast-border-wrapper' ).find( 'input' ).addClass( 'connected' ).attr( 'data-element-connect', elements ); // Add class jQuery(this).parent( '.ast-border-input-item-link' ).addClass( 'disconnected' ); } ); // Values connected inputs jQuery( '.ast-border-input-item' ).on( 'input', '.connected', function() { var dataElement = jQuery(this).attr( 'data-element-connect' ), currentFieldValue = jQuery( this ).val(); jQuery(this).parent().parent( '.ast-border-wrapper' ).find( '.connected[ data-element-connect="' + dataElement + '" ]' ).each( function( key, value ) { jQuery(this).val( currentFieldValue ).change(); } ); } ); }); })(jQuery); ( function( $ ) { /** * File slider.js * * Handles Slider control * * @package Astra */ jQuery(window).on("load", function() { jQuery('html').addClass('colorpicker-ready'); }); wp.customize.controlConstructor['ast-color'] = wp.customize.Control.extend({ ready: function() { 'use strict'; var control = this, value, thisInput, inputDefault, changeAction; this.container.find('.ast-color-picker-alpha' ).wpColorPicker({ /** * @param {Event} event - standard jQuery event, produced by whichever * control was changed. * @param {Object} ui - standard jQuery UI object, with a color member * containing a Color.js object. */ change: function (event, ui) { var element = event.target; var color = ui.color.toString(); if ( jQuery('html').hasClass('colorpicker-ready') ) { control.setting.set( color ); } }, /** * @param {Event} event - standard jQuery event, produced by "Clear" * button. */ clear: function (event) { var element = jQuery(event.target).closest('.wp-picker-input-wrap').find('.wp-color-picker')[0]; var color = ''; if (element) { // Add your code here control.setting.set( color ); } } }); } }); })(jQuery); ( function( $ ) { /** * File link.js * * Handles the link * * @package Astra */ wp.customize.controlConstructor['ast-link'] = wp.customize.Control.extend({ ready: function() { 'use strict'; var control = this; var data = jQuery( '.customize-link-control-data' ).data('value'); // Save the value. this.container.on( 'change keyup', '.ast-link-input', function(e) { e.preventDefault(); value = jQuery( this ).val(); data.url = value; jQuery('.customize-link-control-data').attr('data-value', JSON.stringify( data )).trigger( 'change' ); // Update value on change. control.setting.set( data ); }); // Save the value. this.container.on( 'change click', '.ast-link-open-in-new-tab', function() { value = jQuery( this ).is(":checked"); data.new_tab = value; jQuery('.customize-link-control-data').attr('data-value', JSON.stringify( data )).trigger( 'change' ); // Update value on change. control.setting.set( data ); }); // Save the value. this.container.on( 'change keyup', '.ast-link-relationship', function(e) { e.preventDefault(); value = jQuery( this ).val(); data.link_rel = value; jQuery('.customize-link-control-data').attr('data-value', JSON.stringify( data )).trigger( 'change' ); // Update value on change. control.setting.set( data ); }); }, }); })(jQuery); /** * File spacing.js * * Handles the spacing * * @package Astra */ wp.customize.controlConstructor['ast-customizer-link'] = wp.customize.Control.extend({ ready: function () { 'use strict'; // Add event listener for click action. this.container.on('click', '.customizer-link', function (e) { e.preventDefault(); var sectionName = this.getAttribute('data-customizer-linked'); var section = wp.customize.section(sectionName); section.expand(); }); }, }); /** * File radio-image.js * * Handles toggling the radio images button * * @package Astra */ wp.customize.controlConstructor['ast-radio-image'] = wp.customize.Control.extend({ ready: function() { 'use strict'; var control = this; // Change the value. this.container.on( 'click', 'input', function() { control.setting.set( jQuery( this ).val() ); }); } }); ( function( $ ) { /** * File responsive.js * * Handles the responsive * * @package Astra */ wp.customize.controlConstructor['ast-responsive'] = wp.customize.Control.extend({ // When we're finished loading continue processing. ready: function() { 'use strict'; var control = this, value; control.astResponsiveInit(); /** * Save on change / keyup / paste */ this.container.on( 'change keyup paste', 'input.ast-responsive-input, select.ast-responsive-select', function() { value = jQuery( this ).val(); // Update value on change. control.updateValue(); }); /** * Refresh preview frame on blur */ this.container.on( 'blur', 'input', function() { value = jQuery( this ).val() || ''; if ( value == '' ) { wp.customize.previewer.refresh(); } }); jQuery( '.customize-control-ast-responsive .input-wrapper input.' + 'desktop' + ', .customize-control .ast-responsive-btns > li.' + 'desktop' ).addClass( 'active' ); }, /** * Updates the sorting list */ updateValue: function() { 'use strict'; var control = this, newValue = {}; // Set the spacing container. control.responsiveContainer = control.container.find( '.ast-responsive-wrapper' ).first(); control.responsiveContainer.find( 'input.ast-responsive-input' ).each( function() { var responsive_input = jQuery( this ), item = responsive_input.data( 'id' ), item_value = responsive_input.val(); newValue[item] = item_value; }); control.responsiveContainer.find( 'select.ast-responsive-select' ).each( function() { var responsive_input = jQuery( this ), item = responsive_input.data( 'id' ), item_value = responsive_input.val(); newValue[item] = item_value; }); control.setting.set( newValue ); }, astResponsiveInit : function() { 'use strict'; this.container.find( '.ast-responsive-btns button' ).on( 'click', function( event ) { var device = jQuery(this).attr('data-device'); if( 'desktop' == device ) { device = 'tablet'; } else if( 'tablet' == device ) { device = 'mobile'; } else { device = 'desktop'; } jQuery( '.wp-full-overlay-footer .devices button[data-device="' + device + '"]' ).trigger( 'click' ); }); }, }); jQuery(' .wp-full-overlay-footer .devices button ').on('click', function() { var device = jQuery(this).attr('data-device'); jQuery( '.customize-control-ast-responsive .input-wrapper input, .customize-control .ast-responsive-btns > li' ).removeClass( 'active' ); jQuery( '.customize-control-ast-responsive .input-wrapper input.' + device + ', .customize-control .ast-responsive-btns > li.' + device ).addClass( 'active' ); }); })(jQuery); ( function( $ ) { jQuery(window).on("load", function() { jQuery('html').addClass('responsive-background-color-ready'); }); /** * File responsive-color.js * * Handles the responsive color * * @package Astra */ wp.customize.controlConstructor['ast-responsive-color'] = wp.customize.Control.extend({ // When we're finished loading continue processing ready: function() { 'use strict'; var control = this; // Init the control. control.initAstBgControl(); }, initAstBgControl: function() { var control = this, value = control.setting._value, picker = control.container.find( '.ast-responsive-color' ); // Color. picker.wpColorPicker({ change: function(event, ui) { if ( jQuery('html').hasClass('responsive-background-color-ready') ) { var stored = control.setting.get(); var device = jQuery( this ).data( 'id' ); var newValue = { 'desktop' : stored['desktop'], 'tablet' : stored['tablet'], 'mobile' : stored['mobile'], }; if ( 'desktop' === device ) { newValue['desktop'] = ui.color.toString(); } if ( 'tablet' === device ) { newValue['tablet'] = ui.color.toString(); } if ( 'mobile' === device ) { newValue['mobile'] = ui.color.toString(); } control.setting.set( newValue ); } }, /** * @param {Event} event - standard jQuery event, produced by "Clear" * button. */ clear: function (event) { var element = jQuery(event.target).closest('.wp-picker-input-wrap').find('.wp-color-picker')[0], device = jQuery( this ).closest('.wp-picker-input-wrap').find('.wp-color-picker').data( 'id' ); var stored = control.setting.get(); var newValue = { 'desktop' : stored['desktop'], 'tablet' : stored['tablet'], 'mobile' : stored['mobile'], }; if ( element ) { if ( 'desktop' === device ) { newValue['desktop'] = ''; } if ( 'tablet' === device ) { newValue['tablet'] = ''; } if ( 'mobile' === device ) { newValue['mobile'] = ''; } control.setting.set( newValue ); } } }); this.container.find( '.ast-responsive-btns button' ).on( 'click', function( event ) { var device = jQuery(this).attr('data-device'); if( 'desktop' == device ) { device = 'tablet'; } else if( 'tablet' == device ) { device = 'mobile'; } else { device = 'desktop'; } jQuery( '.wp-full-overlay-footer .devices button[data-device="' + device + '"]' ).trigger( 'click' ); }); jQuery( '.customize-control-ast-responsive-color .customize-control-content .ast-responsive-color.desktop' ).parents( '.wp-picker-container' ).addClass( 'active' ); } }); jQuery('.wp-full-overlay-footer .devices button').on('click', function() { var device = jQuery(this).attr('data-device'); jQuery( '.customize-control-ast-responsive-color .customize-control-content .wp-picker-container' ).removeClass( 'active' ); jQuery( '.customize-control-ast-responsive-color .customize-control-content .ast-responsive-color.' + device ).parents( '.wp-picker-container' ).addClass( 'active' ); }); })(jQuery); jQuery(window).on("load", function() { jQuery('html').addClass('responsive-background-img-ready'); }); wp.customize.controlConstructor['ast-responsive-background'] = wp.customize.Control.extend({ // When we're finished loading continue processing ready: function() { 'use strict'; var control = this; // Init the control. control.initAstBgControl(); control.astResponsiveInit(); }, initAstBgControl: function() { var control = this, value = control.setting._value, picker = control.container.find( '.ast-responsive-bg-color-control' ); // Hide unnecessary controls if the value doesn't have an image. if ( _.isUndefined( value['desktop']['background-image']) || '' === value['desktop']['background-image']) { control.container.find( '.background-wrapper > .background-container.desktop > .background-repeat' ).hide(); control.container.find( '.background-wrapper > .background-container.desktop > .background-position' ).hide(); control.container.find( '.background-wrapper > .background-container.desktop > .background-size' ).hide(); control.container.find( '.background-wrapper > .background-container.desktop > .background-attachment' ).hide(); } if ( _.isUndefined( value['tablet']['background-image']) || '' === value['tablet']['background-image']) { control.container.find( '.background-wrapper > .background-container.tablet > .background-repeat' ).hide(); control.container.find( '.background-wrapper > .background-container.tablet > .background-position' ).hide(); control.container.find( '.background-wrapper > .background-container.tablet > .background-size' ).hide(); control.container.find( '.background-wrapper > .background-container.tablet > .background-attachment' ).hide(); } if ( _.isUndefined( value['mobile']['background-image']) || '' === value['mobile']['background-image']) { control.container.find( '.background-wrapper > .background-container.mobile > .background-repeat' ).hide(); control.container.find( '.background-wrapper > .background-container.mobile > .background-position' ).hide(); control.container.find( '.background-wrapper > .background-container.mobile > .background-size' ).hide(); control.container.find( '.background-wrapper > .background-container.mobile > .background-attachment' ).hide(); } // Color. picker.wpColorPicker({ change: function(event, ui) { var device = jQuery( this ).data( 'id' ); if ( jQuery('html').hasClass('responsive-background-img-ready') ) { control.saveValue( device, 'background-color', ui.color.toString() ); } }, /** * @param {Event} event - standard jQuery event, produced by "Clear" * button. */ clear: function (event) { var element = jQuery(event.target).closest('.wp-picker-input-wrap').find('.wp-color-picker')[0], responsive_input = jQuery( this ), screen = responsive_input.closest('.wp-picker-input-wrap').find('.wp-color-picker').data( 'id' ); if (element) { control.saveValue( screen, 'background-color', '' ); } } }); // Background-Repeat. control.container.on( 'change', '.background-repeat select', function() { var responsive_input = jQuery( this ), screen = responsive_input.data( 'id' ), item_value = responsive_input.val(); control.saveValue( screen, 'background-repeat', item_value ); }); // Background-Size. control.container.on( 'change click', '.background-size input', function() { var responsive_input = jQuery( this ), screen = responsive_input.data( 'id' ), item_value = responsive_input.val(); responsive_input.parent( '.buttonset' ).find( '.switch-input' ).removeAttr('checked'); responsive_input.attr( 'checked', 'checked' ); control.saveValue( screen, 'background-size', item_value ); }); // Background-Position. control.container.on( 'change', '.background-position select', function() { var responsive_input = jQuery( this ), screen = responsive_input.data( 'id' ), item_value = responsive_input.val(); control.saveValue( screen, 'background-position', item_value ); }); // Background-Attachment. control.container.on( 'change click', '.background-attachment input', function() { var responsive_input = jQuery( this ), screen = responsive_input.data( 'id' ), item_value = responsive_input.val(); responsive_input.parent( '.buttonset' ).find( '.switch-input' ).removeAttr('checked'); responsive_input.attr( 'checked', 'checked' ); control.saveValue( screen, 'background-attachment', item_value ); }); // Background-Image. control.container.on( 'click', '.background-image-upload-button', function( e ) { var responsive_input = jQuery( this ), screen = responsive_input.data( 'id' ); var image = wp.media({ multiple: false }).open().on( 'select', function() { // This will return the selected image from the Media Uploader, the result is an object. var uploadedImage = image.state().get( 'selection' ).first(), previewImage = uploadedImage.toJSON().sizes.full.url, imageUrl, imageID, imageWidth, imageHeight, preview, removeButton; if ( ! _.isUndefined( uploadedImage.toJSON().sizes.medium ) ) { previewImage = uploadedImage.toJSON().sizes.medium.url; } else if ( ! _.isUndefined( uploadedImage.toJSON().sizes.thumbnail ) ) { previewImage = uploadedImage.toJSON().sizes.thumbnail.url; } imageUrl = uploadedImage.toJSON().sizes.full.url; imageID = uploadedImage.toJSON().id; imageWidth = uploadedImage.toJSON().width; imageHeight = uploadedImage.toJSON().height; // Show extra controls if the value has an image. if ( '' !== imageUrl ) { control.container.find( '.background-wrapper > .background-repeat, .background-wrapper > .background-position, .background-wrapper > .background-size, .background-wrapper > .background-attachment' ).show(); } control.saveValue( screen, 'background-image', imageUrl ); preview = control.container.find( '.background-container.'+screen+' .placeholder, .background-container.'+screen+' .thumbnail' ); removeButton = control.container.find( '.background-container.'+screen+' .background-image-upload-remove-button' ); if ( preview.length ) { preview.removeClass().addClass( 'thumbnail thumbnail-image' ).html( '' ); } if ( removeButton.length ) { removeButton.show(); } }); e.preventDefault(); }); control.container.on( 'click', '.background-image-upload-remove-button', function( e ) { var preview, removeButton, responsive_input = jQuery( this ), screen = responsive_input.data( 'id' ); e.preventDefault(); control.saveValue( screen, 'background-image', '' ); preview = control.container.find( '.background-container.'+ screen +' .placeholder, .background-container.'+ screen +' .thumbnail' ); removeButton = control.container.find( '.background-container.'+ screen +' .background-image-upload-remove-button' ); // Hide unnecessary controls. control.container.find( '.background-wrapper > .background-container.'+ screen +' > .background-repeat' ).hide(); control.container.find( '.background-wrapper > .background-container.'+ screen +' > .background-position' ).hide(); control.container.find( '.background-wrapper > .background-container.'+ screen +' > .background-size' ).hide(); control.container.find( '.background-wrapper > .background-container.'+ screen +' > .background-attachment' ).hide(); control.container.find( '.background-container.'+ screen +' .more-settings' ).attr('data-direction', 'down'); control.container.find( '.background-container.'+ screen +' .more-settings' ).find('.message').html( astraCustomizerControlBackground.moreSettings ); control.container.find( '.background-container.'+ screen +' .more-settings' ).find('.icon').html( '↓' ); if ( preview.length ) { preview.removeClass().addClass( 'placeholder' ).html( astraCustomizerControlBackground.placeholder ); } if ( removeButton.length ) { removeButton.hide(); } }); control.container.on( 'click', '.more-settings', function( e ) { var responsive_input = jQuery( this ), screen = responsive_input.data( 'id' ); // Hide unnecessary controls. control.container.find( '.background-wrapper > .background-container.'+ screen +' > .background-repeat' ).toggle(); control.container.find( '.background-wrapper > .background-container.'+ screen +' > .background-position' ).toggle(); control.container.find( '.background-wrapper > .background-container.'+ screen +' > .background-size' ).toggle(); control.container.find( '.background-wrapper > .background-container.'+ screen +' > .background-attachment' ).toggle(); if( 'down' === jQuery(this).attr( 'data-direction' ) ) { jQuery(this).attr('data-direction', 'up'); jQuery(this).find('.message').html( astraCustomizerControlBackground.lessSettings ) jQuery(this).find('.icon').html( '↑' ); } else { jQuery(this).attr('data-direction', 'down'); jQuery(this).find('.message').html( astraCustomizerControlBackground.moreSettings ) jQuery(this).find('.icon').html( '↓' ); } }); }, astResponsiveInit : function() { 'use strict'; this.container.find( '.ast-responsive-btns button' ).on( 'click', function( event ) { var device = jQuery(this).attr('data-device'); if( 'desktop' == device ) { device = 'tablet'; } else if( 'tablet' == device ) { device = 'mobile'; } else { device = 'desktop'; } jQuery( '.wp-full-overlay-footer .devices button[data-device="' + device + '"]' ).trigger( 'click' ); }); }, /** * Saves the value. */ saveValue: function( screen, property, value ) { var control = this, input = jQuery( '#customize-control-' + control.id.replace( '[', '-' ).replace( ']', '' ) + ' .responsive-background-hidden-value' ), val = control.setting._value; val[ screen ][ property ] = value; jQuery( input ).attr( 'value', JSON.stringify( val ) ).trigger( 'change' ); control.setting.set( val ); } }); jQuery(' .wp-full-overlay-footer .devices button ').on('click', function() { var device = jQuery(this).attr('data-device'); jQuery( '.customize-control-ast-responsive-background .background-container, .customize-control .ast-responsive-btns > li' ).removeClass( 'active' ); jQuery( '.customize-control-ast-responsive-background .background-container.' + device + ', .customize-control .ast-responsive-btns > li.' + device ).addClass( 'active' ); }); ( function( $ ) { /** * File slider.js * * Handles Slider control * * @package Astra */ wp.customize.controlConstructor['ast-responsive-slider'] = wp.customize.Control.extend({ ready: function() { 'use strict'; var control = this, value, thisInput, inputDefault, changeAction; control.astResponsiveInit(); // Update the text value. this.container.on( 'input change', 'input[type=range]', function() { var value = jQuery( this ).val(), input_number = jQuery( this ).closest( '.input-field-wrapper' ).find( '.ast-responsive-range-value-input' ); input_number.val( value ); input_number.trigger( 'change' ); }); // Handle the reset button. this.container.on('click', '.ast-responsive-slider-reset', function() { var wrapper = jQuery( this ).parent().find('.input-field-wrapper.active'), input_range = wrapper.find( 'input[type=range]' ), input_number = wrapper.find( '.ast-responsive-range-value-input' ), default_value = input_range.data( 'reset_value' ); input_range.val( default_value ); input_number.val( default_value ); input_number.trigger( 'change' ); }); // Save changes. this.container.on( 'input change', 'input[type=number]', function() { var value = jQuery( this ).val(); jQuery( this ).closest( '.input-field-wrapper' ).find( 'input[type=range]' ).val( value ); control.updateValue(); }); }, /** * Updates the sorting list */ updateValue: function() { 'use strict'; var control = this, newValue = {}; // Set the spacing container. control.responsiveContainer = control.container.find( '.wrapper' ).first(); control.responsiveContainer.find( '.ast-responsive-range-value-input' ).each( function() { var responsive_input = jQuery( this ), item = responsive_input.data( 'id' ), item_value = responsive_input.val(); newValue[item] = item_value; }); control.setting.set( newValue ); }, astResponsiveInit : function() { this.container.on( 'click', '.ast-responsive-slider-btns button', function( event ) { event.preventDefault(); var device = jQuery(this).attr('data-device'); if( 'desktop' == device ) { device = 'tablet'; } else if( 'tablet' == device ) { device = 'mobile'; } else { device = 'desktop'; } jQuery( '.wp-full-overlay-footer .devices button[data-device="' + device + '"]' ).trigger( 'click' ); }); }, }); jQuery(' .wp-full-overlay-footer .devices button ').on('click', function() { var device = jQuery(this).attr('data-device'); jQuery( '.customize-control-ast-responsive-slider .input-field-wrapper, .customize-control .ast-responsive-slider-btns > li' ).removeClass( 'active' ); jQuery( '.customize-control-ast-responsive-slider .input-field-wrapper.' + device + ', .customize-control .ast-responsive-slider-btns > li.' + device ).addClass( 'active' ); }); })(jQuery); ( function( $ ) { /** * File spacing.js * * Handles the spacing * * @package Astra */ wp.customize.controlConstructor['ast-responsive-spacing'] = wp.customize.Control.extend({ ready: function() { 'use strict'; var control = this, value; control.astResponsiveInit(); // Set the spacing container. // this.container = control.container.find( 'ul.ast-spacing-wrapper' ).first(); // Save the value. this.container.on( 'change keyup paste', 'input.ast-spacing-input', function() { value = jQuery( this ).val(); // Update value on change. control.updateValue(); }); }, /** * Updates the spacing values */ updateValue: function() { 'use strict'; var control = this, newValue = { 'desktop' : {}, 'tablet' : {}, 'mobile' : {}, 'desktop-unit' : 'px', 'tablet-unit' : 'px', 'mobile-unit' : 'px', }; control.container.find( 'input.ast-spacing-desktop' ).each( function() { var spacing_input = jQuery( this ), item = spacing_input.data( 'id' ), item_value = spacing_input.val(); newValue['desktop'][item] = item_value; }); control.container.find( 'input.ast-spacing-tablet' ).each( function() { var spacing_input = jQuery( this ), item = spacing_input.data( 'id' ), item_value = spacing_input.val(); newValue['tablet'][item] = item_value; }); control.container.find( 'input.ast-spacing-mobile' ).each( function() { var spacing_input = jQuery( this ), item = spacing_input.data( 'id' ), item_value = spacing_input.val(); newValue['mobile'][item] = item_value; }); control.container.find('.ast-spacing-unit-wrapper .ast-spacing-unit-input').each( function() { var spacing_unit = jQuery( this ), device = spacing_unit.attr('data-device'), device_val = spacing_unit.val(), name = device + '-unit'; newValue[ name ] = device_val; }); control.setting.set( newValue ); }, /** * Set the responsive devices fields */ astResponsiveInit : function() { 'use strict'; var control = this; control.container.find( '.ast-spacing-responsive-btns button' ).on( 'click', function( event ) { var device = jQuery(this).attr('data-device'); if( 'desktop' == device ) { device = 'tablet'; } else if( 'tablet' == device ) { device = 'mobile'; } else { device = 'desktop'; } jQuery( '.wp-full-overlay-footer .devices button[data-device="' + device + '"]' ).trigger( 'click' ); }); // Unit click control.container.on( 'click', '.ast-spacing-responsive-units .single-unit', function() { var $this = jQuery(this); if ( $this.hasClass('active') ) { return false; } var unit_value = $this.attr('data-unit'), device = jQuery('.wp-full-overlay-footer .devices button.active').attr('data-device'); $this.siblings().removeClass('active'); $this.addClass('active'); control.container.find('.ast-spacing-unit-wrapper .ast-spacing-' + device + '-unit').val( unit_value ); // Update value on change. control.updateValue(); }); }, }); jQuery( document ).ready( function( ) { // Connected button jQuery( '.ast-spacing-connected' ).on( 'click', function() { // Remove connected class jQuery(this).parent().parent( '.ast-spacing-wrapper' ).find( 'input' ).removeClass( 'connected' ).attr( 'data-element-connect', '' ); // Remove class jQuery(this).parent( '.ast-spacing-input-item-link' ).removeClass( 'disconnected' ); } ); // Disconnected button jQuery( '.ast-spacing-disconnected' ).on( 'click', function() { // Set up variables var elements = jQuery(this).data( 'element-connect' ); // Add connected class jQuery(this).parent().parent( '.ast-spacing-wrapper' ).find( 'input' ).addClass( 'connected' ).attr( 'data-element-connect', elements ); // Add class jQuery(this).parent( '.ast-spacing-input-item-link' ).addClass( 'disconnected' ); } ); // Values connected inputs jQuery( '.ast-spacing-input-item' ).on( 'input', '.connected', function() { var dataElement = jQuery(this).attr( 'data-element-connect' ), currentFieldValue = jQuery( this ).val(); jQuery(this).parent().parent( '.ast-spacing-wrapper' ).find( '.connected[ data-element-connect="' + dataElement + '" ]' ).each( function( key, value ) { jQuery(this).val( currentFieldValue ).change(); } ); } ); }); jQuery('.wp-full-overlay-footer .devices button ').on('click', function() { var device = jQuery(this).attr('data-device'); jQuery( '.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper, .customize-control .ast-spacing-responsive-btns > li' ).removeClass( 'active' ); jQuery( '.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper.' + device + ', .customize-control .ast-spacing-responsive-btns > li.' + device ).addClass( 'active' ); }); })(jQuery); ( function( $ ) { /** * JS to manage the sticky heading of an open section on scroll up. */ jQuery( document ).ready(function() { var last_scroll_top = 0; var parentSection = jQuery( '.wp-full-overlay-sidebar-content' ); var browser = navigator.userAgent.toLowerCase(); if ( ! ( browser.indexOf( 'firefox' ) > -1 ) ) { var parent_width_remove = 6; } else { var parent_width_remove = 16; } jQuery('#customize-controls .wp-full-overlay-sidebar-content .control-section').on( 'scroll', function (event) { var $this = jQuery(this); // Run sticky js for only open section. if ( $this.hasClass( 'open' ) ) { var section_title = $this.find( '.customize-section-title' ); var scroll_top = $this.scrollTop(); if ( scroll_top > last_scroll_top ) { // On scroll down, remove sticky section title. section_title.removeClass( 'maybe-sticky' ).removeClass( 'is-in-view' ).removeClass( 'is-sticky' ); $this.css( 'padding-top', '' ); } else { // On scroll up, add sticky section title. var parent_width = $this.outerWidth(); section_title.addClass( 'maybe-sticky' ).addClass( 'is-in-view' ).addClass( 'is-sticky' ).width( parent_width - parent_width_remove ).css( 'top', parentSection.css( 'top' ) ); if ( ! ( browser.indexOf( 'firefox' ) > -1 ) ) { $this.css( 'padding-top', section_title.height() ); } if( scroll_top === 0 ) { // Remove sticky section heading when scrolled to the top. section_title.removeClass( 'maybe-sticky' ).removeClass( 'is-in-view' ).removeClass( 'is-sticky' ); $this.css( 'padding-top', '' ); } } last_scroll_top = scroll_top; } }); }); wp.customize.controlConstructor['ast-settings-group'] = wp.customize.Control.extend({ ready : function() { 'use strict'; var control = this, value = control.setting._value; control.registerToggleEvents(); this.container.on( 'ast_settings_changed', control.onOptionChange ); }, registerToggleEvents: function() { var control = this; /* Close popup when click outside anywhere outside of popup */ $( '.wp-full-overlay-sidebar-content, .wp-picker-container' ).click( function( e ) { if ( ! $( e.target ).closest( '.ast-field-settings-modal' ).length ) { $( '.ast-adv-toggle-icon.open' ).trigger( 'click' ); } }); control.container.on( 'click', '.ast-toggle-desc-wrap .ast-adv-toggle-icon', function( e ) { e.preventDefault(); e.stopPropagation(); var $this = jQuery(this); var parent_wrap = $this.closest( '.customize-control-ast-settings-group' ); var is_loaded = parent_wrap.find( '.ast-field-settings-modal' ).data('loaded'); var parent_section = parent_wrap.parents('.control-section'); if( $this.hasClass('open') ) { parent_wrap.find( '.ast-field-settings-modal' ).hide(); } else { /* Close popup when another popup is clicked to open */ var get_open_popup = parent_section.find('.ast-adv-toggle-icon.open'); if( get_open_popup.length > 0 ) { get_open_popup.trigger('click'); } if( is_loaded ) { parent_wrap.find( '.ast-field-settings-modal' ).show(); } else { var fields = control.params.ast_fields; var $modal_wrap = $( astra.customizer.group_modal_tmpl ); parent_wrap.find( '.ast-field-settings-wrap' ).append( $modal_wrap ); parent_wrap.find( '.ast-fields-wrap' ).attr( 'data-control', control.params.name ); control.ast_render_field( parent_wrap, fields, control ); parent_wrap.find( '.ast-field-settings-modal' ).show(); device = jQuery("#customize-footer-actions .active").attr('data-device'); if( 'mobile' == device ) { jQuery('.ast-responsive-btns .mobile, .ast-responsive-slider-btns .mobile').addClass('active'); jQuery('.ast-responsive-btns .preview-mobile, .ast-responsive-slider-btns .preview-mobile').addClass('active'); } else if( 'tablet' == device ) { jQuery('.ast-responsive-btns .tablet, .ast-responsive-slider-btns .tablet').addClass('active'); jQuery('.ast-responsive-btns .preview-tablet, .ast-responsive-slider-btns .preview-tablet').addClass('active'); } else { jQuery('.ast-responsive-btns .desktop, .ast-responsive-slider-btns .desktop').addClass('active'); jQuery('.ast-responsive-btns .preview-desktop, .ast-responsive-slider-btns .preview-desktop').addClass('active'); } } } $this.toggleClass('open'); }); control.container.on( "click", ".ast-toggle-desc-wrap > .customizer-text", function( e ) { e.preventDefault(); e.stopPropagation(); jQuery(this).find( '.ast-adv-toggle-icon' ).trigger('click'); }); }, ast_render_field: function( wrap, fields, control_elem ) { var control = this; var ast_field_wrap = wrap.find( '.ast-fields-wrap' ); var fields_html = ''; var control_types = []; var field_values = control.isJsonString( control_elem.params.value ) ? JSON.parse( control_elem.params.value ) : {}; if( 'undefined' != typeof fields.tabs ) { var clean_param_name = control_elem.params.name.replace( '[', '-' ), clean_param_name = clean_param_name.replace( ']', '' ); fields_html += '
    '; fields_html += '
      '; var counter = 0; _.each( fields.tabs, function ( value, key ) { var li_class = ''; if( 0 == counter ) { li_class = "active"; } fields_html += '
    • ' + key + '
    • '; counter++; }); fields_html += '
    '; fields_html += '
    '; _.each( fields.tabs, function ( fields_data, key ) { fields_html += '
    '; var result = control.generateFieldHtml( fields_data, field_values ); fields_html += result.html; _.each( result.controls , function ( control_value, control_key ) { control_types.push({ key: control_value.key, value : control_value.value, name : control_value.name }); }); fields_html += '
    '; }); fields_html += '
    '; ast_field_wrap.html( fields_html ); $( "#" + clean_param_name + "-tabs" ).tabs(); } else { var result = control.generateFieldHtml( fields, field_values ); fields_html += result.html; _.each( result.controls, function (control_value, control_key) { control_types.push({ key: control_value.key, value: control_value.value, name: control_value.name }); }); ast_field_wrap.html(fields_html); } _.each( control_types, function( control_type, index ) { switch( control_type.key ) { case "ast-responsive-color": control.initResponsiveColor( ast_field_wrap, control_elem, control_type.name ); break; case "ast-color": control.initColor( ast_field_wrap, control_elem, control_type.name ); break; case "ast-font": var googleFontsString = astra.customizer.settings.google_fonts; control.container.find( '.ast-font-family' ).html( googleFontsString ); control.container.find( '.ast-font-family' ).each( function() { var selectedValue = $(this).data('value'); $(this).val( selectedValue ); var optionName = $(this).data('name'); // Set inherit option text defined in control parameters. $("select[data-name='" + optionName + "'] option[value='inherit']").text( $(this).data('inherit') ); var fontWeightContainer = jQuery(".ast-font-weight[data-connected-control='" + optionName + "']"); var weightObject = AstTypography._getWeightObject( AstTypography._cleanGoogleFonts( selectedValue ) ); control.generateDropdownHtml( weightObject, fontWeightContainer ); fontWeightContainer.val( fontWeightContainer.data('value') ); }); control.container.find( '.ast-font-family' ).selectWoo(); control.container.find( '.ast-font-family' ).on( 'select2:select', function() { var value = $(this).val(); var weightObject = AstTypography._getWeightObject( AstTypography._cleanGoogleFonts( value ) ); var optionName = $(this).data( 'name' ); var fontWeightContainer = jQuery(".ast-font-weight[data-connected-control='" + optionName + "']"); control.generateDropdownHtml( weightObject, fontWeightContainer ); var font_control = $(this).parents( '.customize-control' ).attr( 'id' ); font_control = font_control.replace( 'customize-control-', '' ); control.container.trigger( 'ast_settings_changed', [ control, jQuery(this), value, font_control ] ); var font_weight_control = fontWeightContainer.parents( '.customize-control' ).attr( 'id' ); font_weight_control = font_weight_control.replace( 'customize-control-', '' ); control.container.trigger( 'ast_settings_changed', [ control, fontWeightContainer, fontWeightContainer.val(), font_weight_control ] ); }); control.container.find( '.ast-font-weight' ).on( 'change', function() { var value = $(this).val(); name = $(this).parents( '.customize-control' ).attr( 'id' ); name = name.replace( 'customize-control-', '' ); control.container.trigger( 'ast_settings_changed', [ control, jQuery(this), value, name ] ); }); break; case "ast-responsive": control.initResponsiveTrigger( ast_field_wrap, control_elem ); control.container.on( 'change keyup paste', 'input.ast-responsive-input, select.ast-responsive-select', function() { name = $(this).parents( '.customize-control' ).attr( 'id' ); name = name.replace( 'customize-control-', '' ); // Update value on change. control.updateResonsiveValue( jQuery(this), name ); }); break; case "ast-select": control.container.on( 'change', '.ast-select-input', function() { var value = jQuery( this ).val(); name = $(this).parents( '.customize-control' ).attr( 'id' ); name = name.replace( 'customize-control-', '' ); control.container.trigger( 'ast_settings_changed', [ control, jQuery(this), value, name ] ); }); break; case "ast-slider": control.container.on('input change', 'input[type=range]', function () { var value = jQuery(this).attr('value'), input_number = jQuery(this).closest('.wrapper').find('.astra_range_value .value'); input_number.val(value); name = $(this).parents( '.customize-control' ).attr( 'id' ); name = name.replace( 'customize-control-', '' ); control.container.trigger('ast_settings_changed', [control, input_number, value, name]); }); // Handle the reset button. control.container.on( 'click', '.ast-slider-reset', function () { var wrapper = jQuery(this).closest('.wrapper'), input_range = wrapper.find('input[type=range]'), input_number = wrapper.find('.astra_range_value .value'), default_value = input_range.data('reset_value'); input_range.val(default_value); input_number.val(default_value); name = $(this).parents( '.customize-control' ).attr( 'id' ); name = name.replace( 'customize-control-', '' ); control.container.trigger('ast_settings_changed', [control, input_number, default_value, name]); }); // Save changes. control.container.find( '.customize-control-ast-slider' ).on('input change', 'input[type=number]', function () { var value = jQuery(this).val(); jQuery(this).closest('.wrapper').find('input[type=range]').val(value); name = $(this).parents( '.customize-control' ).attr( 'id' ); name = name.replace( 'customize-control-', '' ); control.container.trigger('ast_settings_changed', [control, jQuery(this), value, name]); }); break; case "ast-responsive-background": control.initAstResonsiveBgControl( control_elem, control_type, control_type.name ); break; case "ast-background": control.initAstBgControl( control_elem, control_type, control_type.name ); break; case "ast-border": control.initAstBorderControl( control_elem, control_type, control_type.name ); break; } }); wrap.find( '.ast-field-settings-modal' ).data( 'loaded', true ); }, initAstBorderControl: function( control_elem, control_type, name ) { var control = this, value = control.setting._value, control_name = control_type.name; // Save the value. this.container.on( 'change keyup paste', 'input.ast-border-input', function() { // Update value on change. control.saveBorderValue( 'border', jQuery( this ).val(), jQuery( this ), name ); }); // Connected button jQuery( '.ast-border-connected' ).on( 'click', function() { // Remove connected class jQuery(this).parent().parent( '.ast-border-wrapper' ).find( 'input' ).removeClass( 'connected' ).attr( 'data-element-connect', '' ); // Remove class jQuery(this).parent( '.ast-border-input-item-link' ).removeClass( 'disconnected' ); } ); // Disconnected button jQuery( '.ast-border-disconnected' ).on( 'click', function() { // Set up variables var elements = jQuery(this).data( 'element-connect' ); // Add connected class jQuery(this).parent().parent( '.ast-border-wrapper' ).find( 'input' ).addClass( 'connected' ).attr( 'data-element-connect', elements ); // Add class jQuery(this).parent( '.ast-border-input-item-link' ).addClass( 'disconnected' ); } ); // Values connected inputs jQuery( '.ast-border-input-item' ).on( 'input', '.connected', function() { var dataElement = jQuery(this).attr( 'data-element-connect' ), currentFieldValue = jQuery( this ).val(); jQuery(this).parent().parent( '.ast-border-wrapper' ).find( '.connected[ data-element-connect="' + dataElement + '" ]' ).each( function( key, value ) { jQuery(this).val( currentFieldValue ).change(); } ); } ); }, generateFieldHtml: function ( fields_data, field_values ) { var fields_html = ''; var control_types = []; _.each(fields_data, function (attr, index) { new_value = ( wp.customize.control( 'astra-settings['+attr.name+']' ) ? wp.customize.control( 'astra-settings['+attr.name+']' ).params.value : '' ); var control = attr.control; var template_id = "customize-control-" + control + "-content"; var template = wp.template(template_id); var value = new_value || attr.default; attr.value = value; var dataAtts = ''; var input_attrs = ''; attr.label = attr.title; // Data attributes. _.each( attr.data_attrs, function( value, name ) { dataAtts += " data-" + name + " ='" + value + "'"; }); // Input attributes _.each( attr.input_attrs, function ( value, name ) { input_attrs += name + " ='" + value + "'"; }); attr.dataAttrs = dataAtts; attr.inputAttrs = input_attrs; control_types.push({ key: control, value: value, name: attr.name }); if ('ast-responsive' == control) { var is_responsive = 'undefined' == typeof attr.responsive ? true : attr.responsive; attr.responsive = is_responsive; } var control_clean_name = attr.name.replace('[', '-'); control_clean_name = control_clean_name.replace(']', ''); fields_html += "
  • "; fields_html += template(attr); fields_html += '
  • '; }); var result = new Object(); result.controls = control_types; result.html = fields_html; return result; }, generateDropdownHtml: function( weightObject, element ) { var currentWeightTitle = element.data( 'inherit' ); var weightOptions = ''; var inheritWeightObject = [ 'inherit' ]; var counter = 0; var weightObject = $.merge( inheritWeightObject, weightObject ); var weightValue = element.val() || '400'; astraTypo[ 'inherit' ] = currentWeightTitle; for ( ; counter < weightObject.length; counter++ ) { if ( 0 === counter && -1 === $.inArray( weightValue, weightObject ) ) { weightValue = weightObject[ 0 ]; selected = ' selected="selected"'; } else { selected = weightObject[ counter ] == weightValue ? ' selected="selected"' : ''; } if( ! weightObject[ counter ].includes( "italic" ) ){ weightOptions += ''; } } element.html( weightOptions ); }, initResponsiveTrigger: function( wrap, control_elem ) { wrap.find('.ast-responsive-btns button').on('click', function (event) { var device = jQuery(this).attr('data-device'); if ('desktop' == device) { device = 'tablet'; } else if ('tablet' == device) { device = 'mobile'; } else { device = 'desktop'; } jQuery('.wp-full-overlay-footer .devices button[data-device="' + device + '"]').trigger('click'); }); }, initColor: function ( wrap, control_elem, name ) { var control = this; var picker = wrap.find('.customize-control-ast-color .ast-color-picker-alpha'); picker.wpColorPicker({ change: function (event, ui) { if ('undefined' != typeof event.originalEvent || 'undefined' != typeof ui.color._alpha) { var element = jQuery(event.target).closest('.wp-picker-input-wrap').find('.wp-color-picker')[0]; jQuery(element).val( ui.color.toString() ); name = jQuery(element).parents('.customize-control').attr('id'); name = name.replace( 'customize-control-', '' ); control.container.trigger( 'ast_settings_changed', [control, jQuery( element ), ui.color.toString(), name ] ); } }, /** * @param {Event} event - standard jQuery event, produced by "Clear" * button. */ clear: function (event) { var element = jQuery(event.target).closest('.wp-picker-input-wrap').find('.wp-color-picker')[0]; jQuery(element).val(''); name = jQuery(element).parents('.customize-control').attr('id'); name = name.replace( 'customize-control-', '' ); control.container.trigger( 'ast_settings_changed', [control, jQuery(element), '', name ] ); wp.customize.previewer.refresh(); } }); }, initResponsiveColor: function( wrap, control_elem, name ) { var control = this; var picker = wrap.find( '.ast-responsive-color' ); picker.wpColorPicker({ change: function(event, ui) { if ('undefined' != typeof event.originalEvent || 'undefined' != typeof ui.color._alpha) { if ( jQuery('html').hasClass('responsive-background-color-ready') ) { var option_name = jQuery(this).data('name'); var stored = { 'desktop' : jQuery( ".desktop.ast-responsive-color[data-name='"+ option_name +"']" ).val(), 'tablet' : jQuery( ".tablet.ast-responsive-color[data-name='"+ option_name +"']" ).val(), 'mobile' : jQuery( ".mobile.ast-responsive-color[data-name='"+ option_name +"']" ).val() }; var element = event.target; var device = jQuery( this ).data( 'id' ); var newValue = { 'desktop' : stored['desktop'], 'tablet' : stored['tablet'], 'mobile' : stored['mobile'], }; if ( 'desktop' === device ) { newValue['desktop'] = ui.color.toString(); } if ( 'tablet' === device ) { newValue['tablet'] = ui.color.toString(); } if ( 'mobile' === device ) { newValue['mobile'] = ui.color.toString(); } jQuery(element).val( ui.color.toString() ); name = jQuery(element).parents('.customize-control').attr('id'); name = name.replace( 'customize-control-', '' ); control.container.trigger( 'ast_settings_changed', [ control, jQuery(this), newValue, name ] ); } } }, /** * @param {Event} event - standard jQuery event, produced by "Clear" * button. */ clear: function (event) { var element = jQuery(event.target).closest('.wp-picker-input-wrap').find('.wp-color-picker')[0], device = jQuery( this ).closest('.wp-picker-input-wrap').find('.wp-color-picker').data( 'id' ); var option_name = jQuery( element ).attr('data-name'); var stored = { 'desktop' : jQuery( ".desktop.ast-responsive-color[data-name='"+ option_name +"']" ).val(), 'tablet' : jQuery( ".tablet.ast-responsive-color[data-name='"+ option_name +"']" ).val(), 'mobile' : jQuery( ".mobile.ast-responsive-color[data-name='"+ option_name +"']" ).val() }; var newValue = { 'desktop' : stored['desktop'], 'tablet' : stored['tablet'], 'mobile' : stored['mobile'], }; wp.customize.previewer.refresh(); if ( element ) { if ( 'desktop' === device ) { newValue['desktop'] = ''; } if ( 'tablet' === device ) { newValue['tablet'] = ''; } if ( 'mobile' === device ) { newValue['mobile'] = ''; } jQuery(element).val( '' ); control.container.trigger( 'ast_settings_changed', [ control, jQuery(element), newValue, name ] ); } name = jQuery(element).parents('.customize-control').attr('id'); name = name.replace( 'customize-control-', '' ); } }); wrap.find( '.ast-responsive-btns button' ).on( 'click', function( event ) { var device = jQuery(this).attr('data-device'); if( 'desktop' == device ) { device = 'tablet'; } else if( 'tablet' == device ) { device = 'mobile'; } else { device = 'desktop'; } jQuery( '.wp-full-overlay-footer .devices button[data-device="' + device + '"]' ).trigger( 'click' ); }); // Set desktop colorpicker active. wrap.find( '.ast-responsive-color.desktop' ).parents( '.wp-picker-container' ).addClass( 'active' ); }, onOptionChange:function ( e, control, element, value, name ) { var control_id = $( '.hidden-field-astra-settings-' + name ); control_id.val( value ); sub_control = wp.customize.control( "astra-settings[" + name + "]" ); sub_control.setting.set( value ); }, /** * Updates the responsive param value. */ updateResonsiveValue: function( element, name ) { 'use strict'; var control = this, newValue = {}; // Set the spacing container. control.responsiveContainer = element.closest( '.ast-responsive-wrapper' ); control.responsiveContainer.find( 'input.ast-responsive-input' ).each( function() { var responsive_input = jQuery( this ), item = responsive_input.data( 'id' ), item_value = responsive_input.val(); newValue[item] = item_value; }); control.responsiveContainer.find( 'select.ast-responsive-select' ).each( function() { var responsive_input = jQuery( this ), item = responsive_input.data( 'id' ), item_value = responsive_input.val(); newValue[item] = item_value; }); control.container.trigger( 'ast_settings_changed', [ control, element, newValue, name ] ); }, isJsonString: function( str ) { try { JSON.parse(str); } catch (e) { return false; } return true; }, initAstResonsiveBgControl: function( control, control_atts, name ) { var value = control_atts.value; var picker = control.container.find('.ast-responsive-bg-color-control'); var control_name = control_atts.name; var controlContainer = control.container.find( "#customize-control-" + control_name ); // Hide unnecessary controls if the value doesn't have an image. if (_.isUndefined(value['desktop']['background-image']) || '' === value['desktop']['background-image']) { controlContainer.find('.background-wrapper > .background-container.desktop > .background-repeat').hide(); controlContainer.find('.background-wrapper > .background-container.desktop > .background-position').hide(); controlContainer.find('.background-wrapper > .background-container.desktop > .background-size').hide(); controlContainer.find('.background-wrapper > .background-container.desktop > .background-attachment').hide(); } if (_.isUndefined(value['tablet']['background-image']) || '' === value['tablet']['background-image']) { controlContainer.find('.background-wrapper > .background-container.tablet > .background-repeat').hide(); controlContainer.find('.background-wrapper > .background-container.tablet > .background-position').hide(); controlContainer.find('.background-wrapper > .background-container.tablet > .background-size').hide(); controlContainer.find('.background-wrapper > .background-container.tablet > .background-attachment').hide(); } if (_.isUndefined(value['mobile']['background-image']) || '' === value['mobile']['background-image']) { controlContainer.find('.background-wrapper > .background-container.mobile > .background-repeat').hide(); controlContainer.find('.background-wrapper > .background-container.mobile > .background-position').hide(); controlContainer.find('.background-wrapper > .background-container.mobile > .background-size').hide(); controlContainer.find('.background-wrapper > .background-container.mobile > .background-attachment').hide(); } // Color. picker.wpColorPicker({ change: function (event, ui) { if ('undefined' != typeof event.originalEvent || 'undefined' != typeof ui.color._alpha ) { var device = jQuery(this).data('id'); control.saveValue( device, 'background-color', ui.color.toString(), jQuery(this), name ); } }, /** * @param {Event} event - standard jQuery event, produced by "Clear" * button. */ clear: function (event) { var element = jQuery(event.target).closest('.wp-picker-input-wrap').find('.wp-color-picker')[0], responsive_input = jQuery(this), screen = responsive_input.closest('.wp-picker-input-wrap').find('.wp-color-picker').data('id'); if ( element ) { control.saveValue( screen, 'background-color', '', jQuery( element ), name ); } wp.customize.previewer.refresh(); } }); // Background-Repeat. controlContainer.on('change', '.background-repeat select', function () { var responsive_input = jQuery(this), screen = responsive_input.data('id'), item_value = responsive_input.val(); control.saveValue( screen, 'background-repeat', item_value, jQuery(this), name ); }); // Background-Size. controlContainer.on('change click', '.background-size input', function () { var responsive_input = jQuery(this), screen = responsive_input.data('id'), item_value = responsive_input.val(); jQuery( this ).parent( '.buttonset' ).find( '.switch-input' ).removeAttr('checked'); jQuery( this ).attr( 'checked', 'checked' ); control.saveValue( screen, 'background-size', item_value, responsive_input, name ); }); // Background-Position. controlContainer.on( 'change', '.background-position select', function () { var responsive_input = jQuery(this), screen = responsive_input.data('id'), item_value = responsive_input.val(); control.saveValue( screen, 'background-position', item_value, responsive_input, name ); }); // Background-Attachment. controlContainer.on('change click', '.background-attachment input', function () { var responsive_input = jQuery(this), screen = responsive_input.data('id'), item_value = responsive_input.val(); jQuery( this ).parent( '.buttonset' ).find( '.switch-input' ).removeAttr('checked'); jQuery( this ).attr( 'checked', 'checked' ); control.saveValue( screen, 'background-attachment', item_value, responsive_input, name ); }); // Background-Image. controlContainer.on('click', '.background-image-upload-button, .thumbnail-image img', function (e) { var responsive_input = jQuery(this), screen = responsive_input.data('id'); name = responsive_input.data('name'); var image = wp.media({ multiple: false }).open().on('select', function () { // This will return the selected image from the Media Uploader, the result is an object. var uploadedImage = image.state().get('selection').first(), previewImage = uploadedImage.toJSON().sizes.full.url, imageUrl, imageID, imageWidth, imageHeight, preview, removeButton; if (!_.isUndefined(uploadedImage.toJSON().sizes.medium)) { previewImage = uploadedImage.toJSON().sizes.medium.url; } else if (!_.isUndefined(uploadedImage.toJSON().sizes.thumbnail)) { previewImage = uploadedImage.toJSON().sizes.thumbnail.url; } imageUrl = uploadedImage.toJSON().sizes.full.url; imageID = uploadedImage.toJSON().id; imageWidth = uploadedImage.toJSON().width; imageHeight = uploadedImage.toJSON().height; // Show extra controls if the value has an image. if ( '' !== imageUrl ) { controlContainer.find('.background-wrapper > .background-repeat, .background-wrapper > .background-position, .background-wrapper > .background-size, .background-wrapper > .background-attachment').show(); } control.saveValue( screen, 'background-image', imageUrl, responsive_input, name ); preview = controlContainer.find( '.background-container.' + screen + ' .placeholder, .background-container.' + screen + ' .thumbnail' ); removeButton = controlContainer.find('.background-container.' + screen + ' .background-image-upload-remove-button'); if ( preview.length ) { preview.removeClass().addClass('thumbnail thumbnail-image').html(''); } if ( removeButton.length ) { removeButton.show(); } }); e.preventDefault(); }); controlContainer.on('click', '.background-image-upload-remove-button', function (e) { var preview, removeButton, responsive_input = jQuery(this), screen = responsive_input.data('id'); control.saveValue( screen, 'background-image', '', jQuery(this), name ); preview = controlContainer.find('.background-container.' + screen + ' .placeholder, .background-container.' + screen + ' .thumbnail'); removeButton = controlContainer.find('.background-container.' + screen + ' .background-image-upload-remove-button'); // Hide unnecessary controls. controlContainer.find('.background-wrapper > .background-container.' + screen + ' > .background-repeat').hide(); controlContainer.find('.background-wrapper > .background-container.' + screen + ' > .background-position').hide(); controlContainer.find('.background-wrapper > .background-container.' + screen + ' > .background-size').hide(); controlContainer.find('.background-wrapper > .background-container.' + screen + ' > .background-attachment').hide(); controlContainer.find('.background-container.' + screen + ' .more-settings').attr('data-direction', 'down'); controlContainer.find('.background-container.' + screen + ' .more-settings').find('.message').html(astraCustomizerControlBackground.moreSettings); controlContainer.find('.background-container.' + screen + ' .more-settings').find('.icon').html('↓'); if (preview.length) { preview.removeClass().addClass('placeholder').html(astraCustomizerControlBackground.placeholder); } if (removeButton.length) { removeButton.hide(); } wp.customize.previewer.refresh(); e.preventDefault(); }); controlContainer.on('click', '.more-settings', function (e) { var responsive_input = jQuery(this), screen = responsive_input.data('id'); // Hide unnecessary controls. controlContainer.find('.background-wrapper > .background-container.' + screen + ' > .background-repeat').toggle(); controlContainer.find('.background-wrapper > .background-container.' + screen + ' > .background-position').toggle(); controlContainer.find('.background-wrapper > .background-container.' + screen + ' > .background-size').toggle(); controlContainer.find('.background-wrapper > .background-container.' + screen + ' > .background-attachment').toggle(); if ('down' === $(this).attr('data-direction')) { $(this).attr('data-direction', 'up'); $(this).find('.message').html(astraCustomizerControlBackground.lessSettings) $(this).find('.icon').html('↑'); } else { $(this).attr('data-direction', 'down'); $(this).find('.message').html(astraCustomizerControlBackground.moreSettings) $(this).find('.icon').html('↓'); } }); controlContainer.find('.ast-responsive-btns button').on('click', function (event) { var device = jQuery(this).attr('data-device'); if ('desktop' == device) { device = 'tablet'; } else if ('tablet' == device) { device = 'mobile'; } else { device = 'desktop'; } jQuery('.wp-full-overlay-footer .devices button[data-device="' + device + '"]').trigger('click'); }); jQuery(' .wp-full-overlay-footer .devices button ').on('click', function () { var device = jQuery(this).attr('data-device'); jQuery('.customize-control-ast-responsive-background .background-container, .customize-control .ast-responsive-btns > li').removeClass('active'); jQuery('.customize-control-ast-responsive-background .background-container.' + device + ', .customize-control .ast-responsive-btns > li.' + device).addClass('active'); }); }, initAstBgControl: function( control, control_atts, name ) { var value = control.setting._value, control_name = control_atts.name, picker = control.container.find( '.ast-color-control' ), controlContainer = control.container.find( "#customize-control-" + control_name ); // Hide unnecessary controls if the value doesn't have an image. if ( _.isUndefined( value['background-image']) || '' === value['background-image']) { controlContainer.find( '.background-wrapper > .background-repeat' ).hide(); controlContainer.find( '.background-wrapper > .background-position' ).hide(); controlContainer.find( '.background-wrapper > .background-size' ).hide(); controlContainer.find( '.background-wrapper > .background-attachment' ).hide(); } // Color. picker.wpColorPicker({ change: function() { if ( jQuery('html').hasClass('background-colorpicker-ready') ) { var $this = jQuery(this); setTimeout( function() { control.saveBgValue( 'background-color', picker.val(), $this, name ); }, 100 ); } }, /** * @param {Event} event - standard jQuery event, produced by "Clear" * button. */ clear: function (event) { var element = jQuery(event.target).closest('.wp-picker-input-wrap').find('.wp-color-picker')[0]; if (element) { control.saveBgValue( 'background-color', '', jQuery(element), name ); } wp.customize.previewer.refresh(); } }); // Background-Repeat. controlContainer.on( 'change', '.background-repeat select', function() { control.saveBgValue( 'background-repeat', jQuery( this ).val(), jQuery( this ), name ); }); // Background-Size. controlContainer.on( 'change click', '.background-size input', function() { jQuery( this ).parent( '.buttonset' ).find( '.switch-input' ).removeAttr('checked'); jQuery( this ).attr( 'checked', 'checked' ); control.saveBgValue( 'background-size', jQuery( this ).val(), jQuery( this ), name ); }); // Background-Position. controlContainer.on( 'change', '.background-position select', function() { control.saveBgValue( 'background-position', jQuery( this ).val(), jQuery( this ), name ); }); // Background-Attachment. controlContainer.on( 'change click', '.background-attachment input', function() { jQuery( this ).parent( '.buttonset' ).find( '.switch-input' ).removeAttr('checked'); jQuery( this ).attr( 'checked', 'checked' ); control.saveBgValue( 'background-attachment', jQuery( this ).val(), jQuery( this ), name ); }); // Background-Image. controlContainer.on( 'click', '.background-image-upload-button, .thumbnail-image img', function( e ) { var upload_img_btn = jQuery(this); var image = wp.media({ multiple: false }).open().on( 'select', function() { // This will return the selected image from the Media Uploader, the result is an object. var uploadedImage = image.state().get( 'selection' ).first(), previewImage = uploadedImage.toJSON().sizes.full.url, imageUrl, imageID, imageWidth, imageHeight, preview, removeButton; if ( ! _.isUndefined( uploadedImage.toJSON().sizes.medium ) ) { previewImage = uploadedImage.toJSON().sizes.medium.url; } else if ( ! _.isUndefined( uploadedImage.toJSON().sizes.thumbnail ) ) { previewImage = uploadedImage.toJSON().sizes.thumbnail.url; } imageUrl = uploadedImage.toJSON().sizes.full.url; imageID = uploadedImage.toJSON().id; imageWidth = uploadedImage.toJSON().width; imageHeight = uploadedImage.toJSON().height; // Show extra controls if the value has an image. if ( '' !== imageUrl ) { controlContainer.find( '.background-wrapper > .background-repeat, .background-wrapper > .background-position, .background-wrapper > .background-size, .background-wrapper > .background-attachment' ).show(); } control.saveBgValue( 'background-image', imageUrl, upload_img_btn, name ); preview = controlContainer.find( '.placeholder, .thumbnail' ); removeButton = controlContainer.find( '.background-image-upload-remove-button' ); if ( preview.length ) { preview.removeClass().addClass( 'thumbnail thumbnail-image' ).html( '' ); } if ( removeButton.length ) { removeButton.show(); } }); e.preventDefault(); }); controlContainer.on( 'click', '.background-image-upload-remove-button', function( e ) { var preview, removeButton; e.preventDefault(); control.saveBgValue( 'background-image', '', jQuery( this ) ); preview = controlContainer.find( '.placeholder, .thumbnail' ); removeButton = controlContainer.find( '.background-image-upload-remove-button' ); // Hide unnecessary controls. controlContainer.find( '.background-wrapper > .background-repeat' ).hide(); controlContainer.find( '.background-wrapper > .background-position' ).hide(); controlContainer.find( '.background-wrapper > .background-size' ).hide(); controlContainer.find( '.background-wrapper > .background-attachment' ).hide(); controlContainer.find( '.more-settings' ).attr('data-direction', 'down'); controlContainer.find( '.more-settings' ).find('.message').html( astraCustomizerControlBackground.moreSettings ); controlContainer.find( '.more-settings' ).find('.icon').html( '↓' ); if ( preview.length ) { preview.removeClass().addClass( 'placeholder' ).html( astraCustomizerControlBackground.placeholder ); } if ( removeButton.length ) { removeButton.hide(); } }); controlContainer.on( 'click', '.more-settings', function( e ) { // Hide unnecessary controls. controlContainer.find( '.background-wrapper > .background-repeat' ).toggle(); controlContainer.find( '.background-wrapper > .background-position' ).toggle(); controlContainer.find( '.background-wrapper > .background-size' ).toggle(); controlContainer.find( '.background-wrapper > .background-attachment' ).toggle(); if( 'down' === $(this).attr( 'data-direction' ) ) { $(this).attr('data-direction', 'up'); $(this).find('.message').html( astraCustomizerControlBackground.lessSettings ) $(this).find('.icon').html( '↑' ); } else { $(this).attr('data-direction', 'down'); $(this).find('.message').html( astraCustomizerControlBackground.moreSettings ) $(this).find('.icon').html( '↓' ); } }); }, saveValue: function ( screen, property, value, element, name ) { var control = this, input = jQuery('#customize-control-' + control.id.replace('[', '-').replace(']', '') + ' .responsive-background-hidden-value'); var val = JSON.parse( input.val() ); val[screen][property] = value; jQuery(input).attr( 'value', JSON.stringify(val) ).trigger( 'change' ); name = jQuery(element).parents('.customize-control').attr('id'); name = name.replace( 'customize-control-', '' ); control.container.trigger( 'ast_settings_changed', [control, element, val, name ] ); }, /** * Saves the value. */ saveBgValue: function( property, value, element, name ) { var control = this, input = jQuery( '#customize-control-' + control.id.replace( '[', '-' ).replace( ']', '' ) + ' .background-hidden-value' ); var val = JSON.parse( input.val() ); val[ property ] = value; jQuery( input ).attr( 'value', JSON.stringify( val ) ).trigger( 'change' ); name = jQuery(element).parents('.customize-control').attr('id'); name = name.replace( 'customize-control-', '' ); control.container.trigger( 'ast_settings_changed', [control, element, val, name ] ); }, /** * Saves the value. */ saveBorderValue: function( property, value, element, name ) { var control = this, newValue = { 'top' : '', 'right' : '', 'bottom' : '', 'left' : '', }; control.container.find( 'input.ast-border-desktop' ).each( function() { var spacing_input = jQuery( this ), item = spacing_input.data( 'id' ); item_value = spacing_input.val(); newValue[ item ] = item_value; spacing_input.attr( 'value', item_value ); }); control.container.trigger( 'ast_settings_changed', [control, element, newValue, name ] ); } }); })(jQuery); ( function( $ ) { /** * File slider.js * * Handles Slider control * * @package Astra */ wp.customize.controlConstructor['ast-slider'] = wp.customize.Control.extend({ ready: function() { 'use strict'; var control = this, value, thisInput, inputDefault, changeAction; // Update the text value. jQuery( 'input[type=range]' ).on( 'input change', function() { var value = jQuery( this ).attr( 'value' ), input_number = jQuery( this ).closest( '.wrapper' ).find( '.astra_range_value .value' ); input_number.val( value ); input_number.change(); }); // Handle the reset button. jQuery( '.ast-slider-reset' ).click( function() { var wrapper = jQuery( this ).closest( '.wrapper' ), input_range = wrapper.find( 'input[type=range]' ), input_number = wrapper.find( '.astra_range_value .value' ), default_value = input_range.data( 'reset_value' ); input_range.val( default_value ); input_number.val( default_value ); input_number.change(); }); // Save changes. this.container.on( 'input change', 'input[type=number]', function() { var value = jQuery( this ).val(); jQuery( this ).closest( '.wrapper' ).find( 'input[type=range]' ).val( value ); control.setting.set( value ); }); } }); })(jQuery); ( function( $ ) { /** * File sortable.js * * Handles sortable list * * @package Astra */ wp.customize.controlConstructor['ast-sortable'] = wp.customize.Control.extend({ ready: function() { 'use strict'; var control = this; // Set the sortable container. control.sortableContainer = control.container.find( 'ul.sortable' ).first(); // Init sortable. control.sortableContainer.sortable({ // Update value when we stop sorting. stop: function() { control.updateValue(); } }).disableSelection().find( 'li' ).each( function() { // Enable/disable options when we click on the eye of Thundera. jQuery( this ).find( 'i.visibility' ).click( function() { jQuery( this ).toggleClass( 'dashicons-visibility-faint' ).parents( 'li:eq(0)' ).toggleClass( 'invisible' ); }); }).click( function() { // Update value on click. control.updateValue(); }); }, /** * Updates the sorting list */ updateValue: function() { 'use strict'; var control = this, newValue = []; this.sortableContainer.find( 'li' ).each( function() { if ( ! jQuery( this ).is( '.invisible' ) ) { newValue.push( jQuery( this ).data( 'value' ) ); } }); control.setting.set( newValue ); } }); })(jQuery); /** * File typography.js * * Handles Typography of the site * * @package Astra */ ( function( $ ) { /* Internal shorthand */ var api = wp.customize; /** * Helper class for the main Customizer interface. * * @since 1.0.0 * @class AstTypography */ AstTypography = { /** * Initializes our custom logic for the Customizer. * * @since 1.0.0 * @method init */ init: function() { AstTypography._initFonts(); }, /** * Initializes logic for font controls. * * @since 1.0.0 * @access private * @method _initFonts */ _initFonts: function() { $( '.customize-control-ast-font-family select' ).each( function(e) { if( 'undefined' != typeof astra.customizer ) { var fonts = astra.customizer.settings.google_fonts; var optionName = $(this).data('name'); $(this).html( fonts ); // Set inherit option text defined in control parameters. $("select[data-name='" + optionName + "'] option[value='inherit']").text( $(this).data('inherit') ); var font_val = $(this).data('value'); $(this).val( font_val ); } }); $( '.customize-control-ast-font-family select' ).each( AstTypography._initFont ); // Added select2 for all font family & font variant. $('.customize-control-ast-font-family select, .customize-control-ast-font-variant select').selectWoo(); $('.customize-control-ast-font-variant select').on('select2:unselecting', function (e) { var variantSelect = $(this).data( 'customize-setting-link' ), unselectedValue = e.params.args.data.id || ''; if ( unselectedValue ) { $(this).find('option[value="' + e.params.args.data.id + '"]').removeAttr('selected'); if ( null === $(this).val() ) { api( variantSelect ).set( '' ); } } }); }, /** * Initializes logic for a single font control. * * @since 1.0.0 * @access private * @method _initFont */ _initFont: function() { var select = $( this ), link = select.data( 'customize-setting-link' ), weight = select.data( 'connected-control' ), variant = select.data( 'connected-variant' ); if ( 'undefined' != typeof weight ) { api( link ).bind( AstTypography._fontSelectChange ); AstTypography._setFontWeightOptions.apply( api( link ), [ true ] ); } if ( 'undefined' != typeof variant ) { api( link ).bind( AstTypography._fontSelectChange ); AstTypography._setFontVarianttOptions.apply( api( link ), [ true ] ); } }, /** * Callback for when a font control changes. * * @since 1.0.0 * @access private * @method _fontSelectChange */ _fontSelectChange: function() { var fontSelect = api.control( this.id ).container.find( 'select' ), variants = fontSelect.data( 'connected-variant' ); AstTypography._setFontWeightOptions.apply( this, [ false ] ); if ( 'undefined' != typeof variants ) { AstTypography._setFontVarianttOptions.apply( this, [ false ] ); } }, /** * Clean font name. * * Google Fonts are saved as {'Font Name', Category}. This function cleanes this up to retreive only the {Font Name}. * * @since 1.3.0 * @param {String} fontValue Name of the font. * * @return {String} Font name where commas and inverted commas are removed if the font is a Google Font. */ _cleanGoogleFonts: function(fontValue) { // Bail if fontVAlue does not contain a comma. if ( ! fontValue.includes(',') ) return fontValue; var splitFont = fontValue.split(','); var pattern = new RegExp("'", 'gi'); // Check if the cleaned font exists in the Google fonts array. var googleFontValue = splitFont[0].replace(pattern, ''); if ( 'undefined' != typeof AstFontFamilies.google[ googleFontValue ] ) { fontValue = googleFontValue; } return fontValue; }, /** * Get font Weights. * * This function gets the font weights values respective to the selected fonts family{Font Name}. * * @since 1.5.2 * @param {String} fontValue Name of the font. * * @return {String} Available font weights for the selected fonts. */ _getWeightObject: function(fontValue) { var weightObject = [ '400', '600' ]; if ( fontValue == 'inherit' ) { weightObject = [ '100','200','300','400','500','600','700','800','900' ]; } else if ( 'undefined' != typeof AstFontFamilies.system[ fontValue ] ) { weightObject = AstFontFamilies.system[ fontValue ].weights; } else if ( 'undefined' != typeof AstFontFamilies.google[ fontValue ] ) { weightObject = AstFontFamilies.google[ fontValue ][0]; weightObject = Object.keys(weightObject).map(function(k) { return weightObject[k]; }); } else if ( 'undefined' != typeof AstFontFamilies.custom[ fontValue ] ) { weightObject = AstFontFamilies.custom[ fontValue ].weights; } return weightObject; }, /** * Sets the options for a font weight control when a * font family control changes. * * @since 1.0.0 * @access private * @method _setFontWeightOptions * @param {Boolean} init Whether or not we're initializing this font weight control. */ _setFontWeightOptions: function( init ) { var i = 0, fontSelect = api.control( this.id ).container.find( 'select' ), fontValue = this(), selected = '', weightKey = fontSelect.data( 'connected-control' ), inherit = fontSelect.data( 'inherit' ), weightSelect = api.control( weightKey ).container.find( 'select' ), currentWeightTitle = weightSelect.data( 'inherit' ), weightValue = init ? weightSelect.val() : '400', inheritWeightObject = [ 'inherit' ], weightObject = [ '400', '600' ], weightOptions = '', weightMap = astraTypo; if ( fontValue == 'inherit' ) { weightValue = init ? weightSelect.val() : 'inherit'; } var fontValue = AstTypography._cleanGoogleFonts(fontValue); var weightObject = AstTypography._getWeightObject( fontValue ); weightObject = $.merge( inheritWeightObject, weightObject ) weightMap[ 'inherit' ] = currentWeightTitle; for ( ; i < weightObject.length; i++ ) { if ( 0 === i && -1 === $.inArray( weightValue, weightObject ) ) { weightValue = weightObject[ 0 ]; selected = ' selected="selected"'; } else { selected = weightObject[ i ] == weightValue ? ' selected="selected"' : ''; } if( ! weightObject[ i ].includes( "italic" ) ){ weightOptions += ''; } } weightSelect.html( weightOptions ); if ( ! init ) { api( weightKey ).set( '' ); api( weightKey ).set( weightValue ); } }, /** * Sets the options for a font variant control when a * font family control changes. * * @since 1.5.2 * @access private * @method _setFontVarianttOptions * @param {Boolean} init Whether or not we're initializing this font variant control. */ _setFontVarianttOptions: function( init ) { var i = 0, fontSelect = api.control( this.id ).container.find( 'select' ), fontValue = this(), selected = '', variants = fontSelect.data( 'connected-variant' ), inherit = fontSelect.data( 'inherit' ), variantSelect = api.control( variants ).container.find( 'select' ), variantSavedField = api.control( variants ).container.find( '.ast-font-variant-hidden-value' ), weightValue = '', weightOptions = '', currentWeightTitle = variantSelect.data( 'inherit' ), weightMap = astraTypo; var variantArray = variantSavedField.val().split(','); // Hide font variant for any ohter fonts then Google var selectedOptionGroup = fontSelect.find('option[value="' + fontSelect.val() + '"]').closest('optgroup').attr('label') || ''; if ( 'Google' == selectedOptionGroup ) { variantSelect.parent().removeClass('ast-hide'); } else{ variantSelect.parent().addClass('ast-hide'); } var fontValue = AstTypography._cleanGoogleFonts(fontValue); var weightObject = AstTypography._getWeightObject( fontValue ); weightMap[ 'inherit' ] = currentWeightTitle; for ( var i = 0; i < weightObject.length; i++ ) { for ( var e = 0; e < variantArray.length; e++ ) { if ( weightObject[i] === variantArray[e] ) { weightValue = weightObject[ i ]; selected = ' selected="selected"'; } else{ selected = ( weightObject[ i ] == weightValue ) ? ' selected="selected"' : ''; } } weightOptions += ''; } variantSelect.html( weightOptions ); if ( ! init ) { api( variants ).set( '' ); } }, }; $( function() { AstTypography.init(); } ); })( jQuery ); PK\BHkk9custom-controls/assets/css/unminified/customizer-link.cssnuW+A.customize-control-ast-customizer-link .customizer-link { font-style: italic; text-decoration: none; } PK\˾8<custom-controls/assets/css/unminified/responsive-spacing.cssnuW+A.customize-control-ast-responsive-spacing { /* Unit Screen wrap */ } .customize-control-ast-responsive-spacing .customize-control-title { display: inline-block; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-outer-wrapper { display: flex; position: relative; } .customize-control-ast-responsive-spacing .ast-spacing-input-item { margin-bottom: 0; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns { display: block; text-align: center; line-height: 2; border: 1px solid #dddddd; background-color: #ffffff; border-radius: 0 3px 3px 0; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns > li { margin-bottom: 0; display: none; width: 35px; height: 26px; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns > li.active { display: inline-block; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type="button"] { padding: 0; cursor: pointer; background: none; border: none; opacity: .75; outline: none; width: 100%; height: 100%; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type="button"] > i { font-size: 15px; margin-top: 1px; vertical-align: middle; } .customize-control-ast-responsive-spacing .input-wrapper.ast-spacing-responsive-wrapper { display: inline-flex; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-units { position: absolute; transform: translateY(-100%); font-size: 11px; text-transform: uppercase; top: 0; right: 0; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit { display: inline-block; margin-left: 6px; width: 16px; text-align: center; user-select: none; opacity: 0.7; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit.active { text-decoration: underline; opacity: 1; color: #000000; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper { display: none; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li { text-align: center; -webkit-box-flex: 1; -ms-flex: auto; flex: auto; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li input.ast-spacing-input { text-align: center; display: block; font-size: 12px; padding: 4px 0; width: 100%; height: 28px; border: 1px solid #dddddd; border-right-width: 0; box-shadow: none; padding-left: 11px; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li .ast-spacing-connected { color: #1e8cbe; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper.active { display: flex; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper span.ast-spacing-title { text-transform: uppercase; font-size: 10px; opacity: .75; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link .ast-spacing-connected { display: none; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-disconnected { display: none; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-connected { display: block; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link span { width: 35px; height: 26px; line-height: 26px; font-size: 14px; border: 1px solid #dddddd; background-color: #ffffff; border-radius: 3px 0 0 3px; border-right-width: 0; } PK\S81custom-controls/assets/css/unminified/heading.cssnuW+A.ast-field-settings-wrap .customize-control-ast-heading { margin: 0px 0 15px 0; } .accordion-section-content.open .customize-control-ast-heading:nth-child(2), .accordion-section-content.open .customize-control-ast-heading:nth-child(3) { margin-top: 0; } .customize-control-ast-heading { margin-top: 20px; margin-bottom: 8px; } .customize-control-ast-heading .ast-heading-wrapper { margin: 0 -12px; } .customize-control-ast-heading .customize-control-title { display: block; padding: 13px 12px; margin: 0; border-width: 1px 0; border-style: solid; border-color: #dddddd; background-color: #fff; font-size: 11.5px; font-weight: 500; letter-spacing: 1px; line-height: 1; text-transform: uppercase; } .customize-control-ast-heading .customize-control-caption { top: 50%; transform: translateY(-50%); position: absolute; right: 0; font-size: 11px; font-weight: 500; letter-spacing: 1px; } .customize-control-ast-heading .customize-control-description { margin-top: 10px; } .ast-heading-wrapper label { cursor: default; } .customize-control > label { cursor: default; } .customize-control .ast-spacing-input-item-link, .customize-control .ast-border-input-item-link { cursor: pointer; } .customize-control.customize-control-ast-slider label { cursor: pointer; } .customize-control.customize-control-ast-slider label .wrapper input[type=range] { cursor: pointer; } PK\j:5custom-controls/assets/css/unminified/heading-rtl.cssnuW+A.ast-field-settings-wrap .customize-control-ast-heading { margin: 0px 0 15px 0; } .accordion-section-content.open .customize-control-ast-heading:nth-child(2), .accordion-section-content.open .customize-control-ast-heading:nth-child(3) { margin-top: 0; } .customize-control-ast-heading { margin-top: 20px; margin-bottom: 8px; } .customize-control-ast-heading .ast-heading-wrapper { margin: 0 -12px; } .customize-control-ast-heading .customize-control-title { display: block; padding: 13px 12px; margin: 0; border-width: 1px 0; border-style: solid; border-color: #dddddd; background-color: #fff; font-size: 11.5px; font-weight: 500; letter-spacing: 1px; line-height: 1; text-transform: uppercase; } .customize-control-ast-heading .customize-control-caption { top: 50%; transform: translateY(-50%); position: absolute; left: 0; font-size: 11px; font-weight: 500; letter-spacing: 1px; } .customize-control-ast-heading .customize-control-description { margin-top: 10px; } .ast-heading-wrapper label { cursor: default; } .customize-control > label { cursor: default; } .customize-control .ast-spacing-input-item-link, .customize-control .ast-border-input-item-link { cursor: pointer; } .customize-control.customize-control-ast-slider label { cursor: pointer; } .customize-control.customize-control-ast-slider label .wrapper input[type=range] { cursor: pointer; } PK\o<custom-controls/assets/css/unminified/settings-group-rtl.cssnuW+A.ast-adv-toggle-icon { left: 2px; top: -2px; position: absolute; width: 18px; height: 18px; font-size: 18px; border: 1px solid #ddd; border-radius: 2px; padding: 4px; color: #0073aa; background: #fff; } .ast-adv-toggle-icon:hover { color: #099fd6; } .ast-adv-toggle-icon:before { content: "\f464"; } .ast-adv-toggle-icon.open:before { content: "\f158"; } .ast-field-settings-modal { position: absolute; -webkit-box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); -webkit-border-radius: 3px; border-radius: 3px; right: 0; left: 0; z-index: 10000; background-color: #fff; } .ast-field-settings-modal .customize-control-ast-divider:first-child { margin-top: 15px; } .ast-field-settings-wrap { width: 100%; } .ast-group-tabs, .ast-tab-content { position: relative; } .ast-group-list { overflow: hidden; border-bottom: 1px solid #ddd; } .ast-group-list:before, .ast-group-list:after { content: ""; display: table; border-collapse: collapse; } /* Tab anchor color */ .ui-tabs-anchor { float: right; padding: .5em 0.5em; color: #555d66; text-decoration: none; } .ui-state-active .ui-tabs-anchor { color: #ffffff; } .ui-tabs-anchor:hover { color: #555d66; } .ui-state-active .ui-tabs-anchor:hover { color: #ffffff; } .ast-group-tabs .ui-widget-content { overflow: hidden; /*padding-top: 15px;*/ } .ast-group-tabs .ui-widget-content.iris-slider-offset, .ast-group-tabs .ui-widget-content.iris-slider-offset-alpha { overflow: inherit; } .ast-fields-wrap { overflow: hidden; } .ast-field-settings-wrap { -webkit-box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); -webkit-border-radius: 3px; background-color: #fff; } .ast-field-settings-wrap .ast-field-settings-modal { border-radius: 3px; margin-top: 9px; margin-bottom: 20px; } .ast-field-settings-modal::before { content: ''; position: absolute; top: -17px; left: 8px; border: 9px solid transparent; border-bottom-color: #fff; pointer-events: none; } .ast-group-tabs .ui-tabs-nav { display: flex; padding: 15px 15px 0 15px; } .ast-group-tabs .ui-tabs-nav .ui-corner-top { align-items: center; flex: 1 1 auto; justify-content: center; margin: 0 0; padding: 0; border: 1px solid #ccc; transition: background-color 140ms linear; } .ast-group-tabs .ui-tabs-nav .ui-corner-top:first-child { border-radius: 0px 3px 3px 0px; } .ast-group-tabs .ui-tabs-nav .ui-corner-top:last-child { border-radius: 3px 0px 0px 3px; } .ast-group-tabs .ui-tabs-nav .ui-corner-top .ui-tabs-anchor { width: 100%; text-align: center; padding: 2px 4px; padding-right: 0; padding-left: 0; outline: none; } .ast-group-tabs ul.ast-group-list .ui-corner-top .ui-tabs-anchor:focus { box-shadow: none; } .ast-group-tabs .ui-tabs-nav { border: none; } .ast-group-tabs ul.ast-group-list .ui-corner-top.ui-state-active { background-color: #0185BA; border: 1px solid rgba(0, 0, 0, 0.1); } .ast-group-tabs .ui-tabs-nav { overflow: visible; } .ast-group-tabs ul.ast-group-list .ui-corner-top:not(:first-child) { border-right-width: 0; } /* Buttons */ .wp-core-ui .ast-field-settings-modal .background-image-upload .button { font-size: 11px; } /* Popup params padding */ .ast-field-settings-modal .customize-control { padding-right: 15px; padding-left: 15px; box-sizing: border-box; } .ast-field-settings-modal .customize-control:first-child { margin-top: 15px; } .ast-field-settings-modal .ui-tabs-nav .customize-control:first-child { margin-top: 0; } .ast-field-settings-modal .customize-control:last-child { padding-bottom: 15px; } .customize-control-ast-settings-group { line-height: 27px; } .customize-control-ast-settings-group .customize-control-title { margin-bottom: 0; } .customize-control-ast-settings-group .ast-field-settings-modal .customize-control-title { margin-bottom: 10px; font-size: 13px; } .ast-field-settings-modal .customize-control { margin-top: 10px; } PK\5% % 4custom-controls/assets/css/unminified/slider-rtl.cssnuW+A.customize-control-ast-slider .wrapper { position: relative; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; } .customize-control-ast-slider input[type=range] { -webkit-appearance: none; -webkit-transition: background 0.3s; -moz-transition: background 0.3s; transition: background 0.3s; background-color: rgba(0, 0, 0, 0.1); height: 5px; padding: 0; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; } .customize-control-ast-slider input[type=range]:focus { box-shadow: none; outline: none; } .customize-control-ast-slider input[type=range]:hover, .customize-control-ast-slider input[type=range]:focus { background-color: rgba(0, 0, 0, 0.25); } .customize-control-ast-slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 15px; height: 15px; border-radius: 50%; -webkit-border-radius: 50%; background-color: #3498D9; -webkit-appearance: none; width: 15px; height: 15px; border: none; border-radius: 50%; background-color: #3498D9; } .customize-control-ast-slider input[type=range]::-moz-range-thumb { width: 15px; height: 15px; border: none; border-radius: 50%; background-color: #3498D9; } .customize-control-ast-slider input[type=range]::-ms-thumb { width: 15px; height: 15px; border-radius: 50%; border: 0; background-color: #3498D9; } .customize-control-ast-slider input[type=range]::-moz-range-track { border: inherit; background: transparent; } .customize-control-ast-slider input[type=range]::-ms-track { border: inherit; color: transparent; background: transparent; } .customize-control-ast-slider input[type=range]::-ms-fill-lower, .customize-control-ast-slider input[type=range]::-ms-fill-upper { background: transparent; } .customize-control-ast-slider input[type=range]::-ms-tooltip { display: none; } .customize-control-ast-slider .astra_range_value { font-size: 14px; padding: 0 5px 0 0; font-weight: 400; position: relative; } .customize-control-ast-slider .ast-slider-reset { color: rgba(0, 0, 0, 0.2); position: absolute; top: -28px; left: 0; /*float: right;*/ display: inline-block; -webkit-transition: color 0.5s ease-in; -moz-transition: color 0.5s ease-in; -ms-transition: color 0.5s ease-in; -o-transition: color 0.5s ease-in; transition: color 0.5s ease-in; } .customize-control-ast-slider .ast-slider-reset span { font-size: 16px; line-height: 22px; transition: unset; } .customize-control-ast-slider .ast-slider-reset:hover, .customize-control-ast-slider .ast-slider-reset:focus { color: red; } .astra_range_value input.ast-range-value-input { width: 50px; height: 22px; font-size: 12px; padding: 3px; } .astra_range_value .ast-range-unit { margin-right: 5px; } PK\c!:custom-controls/assets/css/unminified/responsive-color.cssnuW+A.customize-control-ast-responsive-color .customize-control-content .wp-picker-container { display: none; } .customize-control-ast-responsive-color .customize-control-content .wp-picker-container.active { display: block; } PK\'W5custom-controls/assets/css/unminified/radio-image.cssnuW+A.customize-control-ast-radio-image label { position: relative; display: inline-block; margin-right: 12px; } .customize-control-ast-radio-image input { display: none; } .customize-control-ast-radio-image input:checked + label svg { background: #ffffff; border-radius: 3px; box-shadow: 0 0 3px 0px rgba(0, 133, 186, 0.67); } .customize-control-ast-radio-image input + label .image-clickable { position: absolute; top: 0; bottom: 0; left: 0; right: 0; width: 100%; height: 100%; } .customize-control-ast-radio-image .ast-radio-img-svg svg { width: 73px; height: 49px; } #customize-control-astra-settings-above-header-menu-align .ast-radio-img-svg svg, #customize-control-astra-settings-header-main-menu-align .ast-radio-img-svg svg, #customize-control-astra-settings-below-header-menu-align .ast-radio-img-svg svg { width: 37px; height: 49px; } #customize-control-astra-settings-footer-adv .image label { margin-bottom: 12px; } PK\?{=custom-controls/assets/css/unminified/custom-controls-rtl.cssnuW+A#customize-controls .customize-control-notifications-container { margin: 0; } .customize-control-ast-background .screen-reader-text { top: initial; } .customize-control-ast-background .background-container h4 { font-weight: normal; } .customize-control-ast-background .background-attachment h4, .customize-control-ast-background .background-color h4, .customize-control-ast-background .background-position h4, .customize-control-ast-background .background-repeat h4, .customize-control-ast-background .background-size h4 { margin-bottom: 5px; margin-top: 10px; } .customize-control-ast-background .background-color { margin-bottom: 12px; } .customize-control-ast-background .background-repeat { margin: 15px 0 8px 0; } .customize-control-ast-background .background-attachment .buttonset, .customize-control-ast-background .background-size .buttonset { display: flex; flex-wrap: wrap; } .customize-control-ast-background .background-attachment .buttonset .switch-label, .customize-control-ast-background .background-size .buttonset .switch-label { background: #ffffff; border: 1px solid rgba(0, 0, 0, 0.1); color: #555; padding: 2px 4px; margin-left: 15px; text-align: center; flex-grow: 1; transition: background-color 140ms linear; } .customize-control-ast-background .background-attachment .buttonset .switch-label:last-child, .customize-control-ast-background .background-size .buttonset .switch-label:last-child { margin-left: 0; } .customize-control-ast-background .background-attachment .buttonset .switch-input:checked + .switch-label, .customize-control-ast-background .background-size .buttonset .switch-input:checked + .switch-label, .customize-control-ast-background .background-attachment .buttonset .switch-input[checked="checked"] + .switch-label, .customize-control-ast-background .background-size .buttonset .switch-input[checked="checked"] + .switch-label { background-color: #f5f5f5; color: #565e67; } .customize-control-ast-background .more-settings { margin-top: 12px; display: inline-block; padding: 5px 0 5px 0; float: left; } .customize-control-ast-background .more-settings:focus { outline: 0; box-shadow: none; } .customize-control-ast-background .arrow-icon { margin-right: 5px; } .ast-field-settings-modal .customize-control-ast-background .more-settings { margin-top: 6px; } .customize-control-ast-border { /* Unit Screen wrap */ } .customize-control-ast-border .customize-control-title { display: inline-block; } .customize-control-ast-border .ast-border-outer-wrapper { display: flex; position: relative; } .customize-control-ast-border .ast-border-wrapper { display: flex; } .customize-control-ast-border .ast-border-btns { display: block; text-align: center; line-height: 2; border: 1px solid #dddddd; background-color: #ffffff; border-radius: 3px 0 0 3px; } .customize-control-ast-border .ast-border-btns > li { margin-bottom: 0; display: none; width: 35px; height: 26px; } .customize-control-ast-border .ast-border-btns > li.active { display: inline-block; } .customize-control-ast-border .ast-border-btns button[type="button"] { padding: 0; cursor: pointer; background: none; border: none; opacity: .75; outline: none; width: 100%; height: 100%; } .customize-control-ast-border .ast-border-btns button[type="button"] > i { width: 15px; height: 15px; font-size: 15px; margin-top: 1px; } .customize-control-ast-border .input-wrapper .ast-border-wrapper { display: none; } .customize-control-ast-border .input-wrapper .ast-border-wrapper li { text-align: center; -webkit-box-flex: 1; -ms-flex: auto; flex: auto; margin-bottom: 0; } .customize-control-ast-border .input-wrapper .ast-border-wrapper li input.ast-border-input { text-align: center; display: block; font-size: 12px; padding: 4px 0; width: 100%; height: 28px; border: 1px solid #dddddd; border-left-width: 0; box-shadow: none; padding-right: 11px; } .customize-control-ast-border .input-wrapper .ast-border-wrapper li .ast-border-connected { color: #ffffff; } .customize-control-ast-border .input-wrapper .ast-border-wrapper li:last-child input.ast-border-input { border-left-width: 1px; border-radius: 3px 0 0 3px; } .customize-control-ast-border .input-wrapper .ast-border-wrapper.active { display: flex; } .customize-control-ast-border .input-wrapper .ast-border-wrapper span.ast-border-title { text-transform: uppercase; font-size: 10px; opacity: .75; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected { display: none; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-disconnected { display: none; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-connected { display: block; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link span { width: 35px; height: 26px; line-height: 26px; font-size: 14px; border: 1px solid #dddddd; background-color: #ffffff; border-radius: 0 3px 3px 0; border-left-width: 0; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected { background-color: #1e8cbe; } #customize-controls .customize-control-notifications-container { margin: 0; } .customize-control-ast-background .screen-reader-text { top: initial; } .customize-control-ast-background .background-container h4 { font-weight: normal; } .customize-control-ast-background .background-attachment h4, .customize-control-ast-background .background-color h4, .customize-control-ast-background .background-position h4, .customize-control-ast-background .background-repeat h4, .customize-control-ast-background .background-size h4 { margin-bottom: 5px; margin-top: 10px; } .customize-control-ast-background .background-color { margin-bottom: 12px; } .customize-control-ast-background .background-repeat { margin: 15px 0 8px 0; } .customize-control-ast-background .background-attachment .buttonset, .customize-control-ast-background .background-size .buttonset { display: flex; flex-wrap: wrap; } .customize-control-ast-background .background-attachment .buttonset .switch-label, .customize-control-ast-background .background-size .buttonset .switch-label { background: #ffffff; border: 1px solid rgba(0, 0, 0, 0.1); color: #555; padding: 2px 4px; margin-left: 15px; text-align: center; flex-grow: 1; transition: background-color 140ms linear; } .customize-control-ast-background .background-attachment .buttonset .switch-label:last-child, .customize-control-ast-background .background-size .buttonset .switch-label:last-child { margin-left: 0; } .customize-control-ast-background .background-attachment .buttonset .switch-input:checked + .switch-label, .customize-control-ast-background .background-size .buttonset .switch-input:checked + .switch-label, .customize-control-ast-background .background-attachment .buttonset .switch-input[checked="checked"] + .switch-label, .customize-control-ast-background .background-size .buttonset .switch-input[checked="checked"] + .switch-label { background-color: #f5f5f5; color: #565e67; } .customize-control-ast-background .more-settings { margin-top: 12px; display: inline-block; padding: 5px 0 5px 0; float: left; } .customize-control-ast-background .more-settings:focus { outline: 0; box-shadow: none; } .customize-control-ast-background .arrow-icon { margin-right: 5px; } .ast-field-settings-modal .customize-control-ast-background .more-settings { margin-top: 6px; } .customize-control-ast-border { /* Unit Screen wrap */ } .customize-control-ast-border .customize-control-title { display: inline-block; } .customize-control-ast-border .ast-border-outer-wrapper { display: flex; position: relative; } .customize-control-ast-border .ast-border-wrapper { display: flex; } .customize-control-ast-border .ast-border-btns { display: block; text-align: center; line-height: 2; border: 1px solid #dddddd; background-color: #ffffff; border-radius: 3px 0 0 3px; } .customize-control-ast-border .ast-border-btns > li { margin-bottom: 0; display: none; width: 35px; height: 26px; } .customize-control-ast-border .ast-border-btns > li.active { display: inline-block; } .customize-control-ast-border .ast-border-btns button[type="button"] { padding: 0; cursor: pointer; background: none; border: none; opacity: .75; outline: none; width: 100%; height: 100%; } .customize-control-ast-border .ast-border-btns button[type="button"] > i { width: 15px; height: 15px; font-size: 15px; margin-top: 1px; } .customize-control-ast-border .input-wrapper .ast-border-wrapper { display: none; } .customize-control-ast-border .input-wrapper .ast-border-wrapper li { text-align: center; -webkit-box-flex: 1; -ms-flex: auto; flex: auto; margin-bottom: 0; } .customize-control-ast-border .input-wrapper .ast-border-wrapper li input.ast-border-input { text-align: center; display: block; font-size: 12px; padding: 4px 0; width: 100%; height: 28px; border: 1px solid #dddddd; border-left-width: 0; box-shadow: none; padding-right: 11px; } .customize-control-ast-border .input-wrapper .ast-border-wrapper li .ast-border-connected { color: #ffffff; } .customize-control-ast-border .input-wrapper .ast-border-wrapper li:last-child input.ast-border-input { border-left-width: 1px; border-radius: 3px 0 0 3px; } .customize-control-ast-border .input-wrapper .ast-border-wrapper.active { display: flex; } .customize-control-ast-border .input-wrapper .ast-border-wrapper span.ast-border-title { text-transform: uppercase; font-size: 10px; opacity: .75; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected { display: none; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-disconnected { display: none; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-connected { display: block; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link span { width: 35px; height: 26px; line-height: 26px; font-size: 14px; border: 1px solid #dddddd; background-color: #ffffff; border-radius: 0 3px 3px 0; border-left-width: 0; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected { background-color: #1e8cbe; } .customize-control-ast-customizer-link .customizer-link { font-style: italic; text-decoration: none; } /* Customizer Scroll CSS */ .accordion-section-content::-webkit-scrollbar, .wp-full-overlay-sidebar-content::-webkit-scrollbar { width: 6px; background-color: #f1f1f1; } .accordion-section-content::-webkit-scrollbar-thumb, .wp-full-overlay-sidebar-content::-webkit-scrollbar-thumb { border-radius: 10px; background-color: #d8d8d8; } .accordion-section-content::-webkit-scrollbar-track, .wp-full-overlay-sidebar-content::-webkit-scrollbar-track { -webkit-box-shadow: inset 0 0 0 rgba(0, 0, 0, 0.3); width: 6px; } .wp-full-overlay-sidebar:after { display: none; } #customize-theme-controls .control-section-ast-section-separator { margin-top: 15px; border-top: 1px solid #ddd; display: block !important; } .customize-control { position: relative; margin-bottom: 0; margin-top: 12px; } .customize-control .customize-inside-control-row { padding-top: 0; padding-bottom: 0; } .customize-control-title { display: inline-block; margin-bottom: 12px; } .customize-control-ast-font-variant .select2 { margin-bottom: 12px; } .customize-control .ast-control-tooltip { position: absolute; top: 0; left: 0; } .customize-control.customize-control-ast-divider .ast-control-tooltip { position: absolute; top: auto; bottom: 3px; left: 0; } .ast-fields-wrap .customize-control .ast-control-tooltip { left: 15px; top: 6px; } /* Select2 WP 5.3 compatibility */ .customize-control .select2-search input[type="text"].select2-search__field { min-height: 17px; } input[type="text"].select2-search__field { line-height: 1; border-radius: 0; } /* CSS to show popups without scroll */ #customize-theme-controls .control-section.open { height: 100%; } /* Safari Browser specific CSS */ @media not all and (min-resolution: 0.001dpcm) { @supports (-webkit-appearance: none) { #customize-control-astra-settings-ast-header-responsive-logo-width .wrapper { display: inline-block; width: 100%; } .dashicons-desktop:before, .dashicons-tablet:before, .dashicons-smartphone:before { color: #000000; opacity: .75; } .ast-field-settings-modal .customize-control-ast-responsive .input-wrapper .ast-responsive-input.active + .ast-responsive-select { width: 20%; } } } /* Firefox Browser specific CSS */ @-moz-document url-prefix() { .control-section.open .customize-control:last-child { margin-bottom: 20px; } } /* IE Browser specific CSS */ @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { .control-section.open .customize-control:last-child { padding-bottom: 20px; } #customize-control-astra-settings-blog-archive-image-width .customize-control-title, #customize-control-astra-settings-blog-archive-image-height .customize-control-title, #customize-control-astra-settings-blog-single-post-image-width .customize-control-title, #customize-control-astra-settings-blog-single-post-image-height .customize-control-title { margin-right: 0px; margin-left: 20px; } } .customize-control-ast-description .ast-description { font-style: italic; } .customize-control-ast-description a.button { margin-top: 10px; font-style: normal; } .customize-control-ast-description p { margin: 0; cursor: initial; } .customize-control-ast-divider hr { margin-top: 12px; } .customize-control-ast-divider .customize-control-title { font-size: 15px; margin: 1em 0 0.2em; } .ast-field-settings-modal .customize-control-ast-divider { background-color: #f5f5f5; display: block; padding: 6px 14px; margin: 0; border-width: 1px 0; border-style: solid; border-color: #dddddd; line-height: 1; margin-top: 15px; } .customize-control-ast-settings-group .ast-field-settings-modal .customize-control-ast-divider .customize-control-title { font-weight: 500; letter-spacing: 1px; font-size: 11px; margin: 0; text-transform: uppercase; } .ast-field-settings-wrap .customize-control-ast-heading { margin: 0px 0 15px 0; } .accordion-section-content.open .customize-control-ast-heading:nth-child(2), .accordion-section-content.open .customize-control-ast-heading:nth-child(3) { margin-top: 0; } .customize-control-ast-heading { margin-top: 20px; margin-bottom: 8px; } .customize-control-ast-heading .ast-heading-wrapper { margin: 0 -12px; } .customize-control-ast-heading .customize-control-title { display: block; padding: 13px 12px; margin: 0; border-width: 1px 0; border-style: solid; border-color: #dddddd; background-color: #fff; font-size: 11.5px; font-weight: 500; letter-spacing: 1px; line-height: 1; text-transform: uppercase; } .customize-control-ast-heading .customize-control-caption { top: 50%; transform: translateY(-50%); position: absolute; left: 0; font-size: 11px; font-weight: 500; letter-spacing: 1px; } .customize-control-ast-heading .customize-control-description { margin-top: 10px; } .ast-heading-wrapper label { cursor: default; } .customize-control > label { cursor: default; } .customize-control .ast-spacing-input-item-link, .customize-control .ast-border-input-item-link { cursor: pointer; } .customize-control.customize-control-ast-slider label { cursor: pointer; } .customize-control.customize-control-ast-slider label .wrapper input[type=range] { cursor: pointer; } .ast-link-open-in-new-tab-wrapper { margin: 10px 0; } .customize-control-ast-radio-image label { position: relative; display: inline-block; margin-left: 12px; } .customize-control-ast-radio-image input { display: none; } .customize-control-ast-radio-image input:checked + label svg { background: #ffffff; border-radius: 3px; box-shadow: 0 0 3px 0px rgba(0, 133, 186, 0.67); } .customize-control-ast-radio-image input + label .image-clickable { position: absolute; top: 0; bottom: 0; right: 0; left: 0; width: 100%; height: 100%; } .customize-control-ast-radio-image .ast-radio-img-svg svg { width: 73px; height: 49px; } #customize-control-astra-settings-above-header-menu-align .ast-radio-img-svg svg, #customize-control-astra-settings-header-main-menu-align .ast-radio-img-svg svg, #customize-control-astra-settings-below-header-menu-align .ast-radio-img-svg svg { width: 37px; height: 49px; } #customize-control-astra-settings-footer-adv .image label { margin-bottom: 12px; } .customize-control-ast-responsive-background { position: relative; } .customize-control-ast-responsive-background .screen-reader-text { top: initial; } .customize-control-ast-responsive-background .background-container h4 { font-size: 14px; font-weight: 600; color: #555d66; } .customize-control-ast-responsive-background .background-attachment h4, .customize-control-ast-responsive-background .background-color h4, .customize-control-ast-responsive-background .background-position h4, .customize-control-ast-responsive-background .background-repeat h4, .customize-control-ast-responsive-background .background-size h4 { margin-bottom: 5px; margin-top: 10px; } .customize-control-ast-responsive-background .background-color { margin-bottom: 12px; } .customize-control-ast-responsive-background .background-repeat { margin: 15px 0 15px 0; } .customize-control-ast-responsive-background .background-attachment .buttonset, .customize-control-ast-responsive-background .background-size .buttonset { display: flex; flex-wrap: wrap; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-label, .customize-control-ast-responsive-background .background-size .buttonset .switch-label { background: #ffffff; border: 1px solid rgba(0, 0, 0, 0.1); color: #555; padding: 2px 4px; margin-left: 15px; text-align: center; flex-grow: 1; transition: background-color 140ms linear; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-label:last-child, .customize-control-ast-responsive-background .background-size .buttonset .switch-label:last-child { margin-left: 0; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-input:checked + .switch-label, .customize-control-ast-responsive-background .background-size .buttonset .switch-input:checked + .switch-label { background-color: #f5f5f5; color: #565e67; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-input[checked="checked"] + .switch-label, .customize-control-ast-responsive-background .background-size .buttonset .switch-input[checked="checked"] + .switch-label { background-color: #f5f5f5; color: #565e67; } .customize-control-ast-responsive-background .more-settings { margin-top: 6px; display: inline-block; padding: 5px 0 5px 0; float: left; } .customize-control-ast-responsive-background .more-settings:focus { outline: 0; box-shadow: none; } .customize-control-ast-responsive-background .arrow-icon { margin-right: 5px; } .customize-control-ast-responsive-background .background-container { display: none; } .customize-control-ast-responsive-background .background-container.active { display: block; } .customize-control-ast-responsive-color .customize-control-content .wp-picker-container { display: none; } .customize-control-ast-responsive-color .customize-control-content .wp-picker-container.active { display: block; } .customize-control-ast-responsive-slider .wrapper { position: relative; height: 100%; } .customize-control-ast-responsive-slider .input-field-wrapper { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; } .customize-control-ast-responsive-slider input[type=range] { -webkit-appearance: none; -webkit-transition: background 0.3s; -moz-transition: background 0.3s; transition: background 0.3s; background-color: rgba(0, 0, 0, 0.1); height: 5px; padding: 0; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; } .customize-control-ast-responsive-slider input[type=range]:focus { box-shadow: none; outline: none; } .customize-control-ast-responsive-slider input[type=range]:hover, .customize-control-ast-responsive-slider input[type=range]:focus { background-color: rgba(0, 0, 0, 0.25); } .customize-control-ast-responsive-slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 15px; height: 15px; border-radius: 50%; -webkit-border-radius: 50%; background-color: #3498D9; -webkit-appearance: none; width: 15px; height: 15px; border: none; border-radius: 50%; background-color: #3498D9; } .customize-control-ast-responsive-slider input[type=range]::-moz-range-thumb { width: 15px; height: 15px; border: none; border-radius: 50%; background-color: #3498D9; } .customize-control-ast-responsive-slider input[type=range]::-ms-thumb { width: 15px; height: 15px; border-radius: 50%; border: 0; background-color: #3498D9; } .customize-control-ast-responsive-slider input[type=range]::-moz-range-track { border: inherit; background: transparent; } .customize-control-ast-responsive-slider input[type=range]::-ms-track { border: inherit; color: transparent; background: transparent; } .customize-control-ast-responsive-slider input[type=range]::-ms-fill-lower, .customize-control-ast-responsive-slider input[type=range]::-ms-fill-upper { background: transparent; } .customize-control-ast-responsive-slider input[type=range]::-ms-tooltip { display: none; } .customize-control-ast-responsive-slider .astra_range_value { font-size: 14px; padding: 0 5px 0 0; font-weight: 400; position: relative; } .customize-control-ast-responsive-slider .ast-responsive-slider-reset { color: rgba(0, 0, 0, 0.2); position: absolute; top: -28px; left: 1.5em; display: inline-block; -webkit-transition: color 0.5s ease-in; -moz-transition: color 0.5s ease-in; -ms-transition: color 0.5s ease-in; -o-transition: color 0.5s ease-in; transition: color 0.5s ease-in; } .customize-control-ast-responsive-slider .ast-responsive-slider-reset span { font-size: 13px; line-height: 24px; transition: unset; } .customize-control-ast-responsive-slider .ast-responsive-slider-reset:hover, .customize-control-ast-responsive-slider .ast-responsive-slider-reset:focus { color: red; } .astra_range_value input.ast-responsive-range-value-input { width: 50px; height: 22px; font-size: 12px; padding: 3px; } .astra_range_value .ast-range-unit { margin-right: 5px; } .customize-control-ast-responsive-slider .input-field-wrapper { display: none; } .customize-control-ast-responsive-slider .input-field-wrapper.active { display: flex; justify-content: space-between; margin-left: 0; flex: 0 1; width: 100%; } /** * Responsive Icons */ .ast-responsive-slider-btns { display: inline-block; float: left; line-height: 1; margin-top: 5px; } .ast-responsive-slider-btns > li { margin-bottom: 0; display: none; } .ast-responsive-slider-btns > li.active { display: inline-block; } .ast-responsive-slider-btns button[type="button"] { padding: 0; cursor: pointer; background: none; border: none; opacity: .75; outline: none; } .ast-responsive-slider-btns button[type="button"] > i { width: 15px; height: 15px; font-size: 15px; } .customize-control-ast-responsive-spacing { /* Unit Screen wrap */ } .customize-control-ast-responsive-spacing .customize-control-title { display: inline-block; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-outer-wrapper { display: flex; position: relative; } .customize-control-ast-responsive-spacing .ast-spacing-input-item { margin-bottom: 0; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns { display: block; text-align: center; line-height: 2; border: 1px solid #dddddd; background-color: #ffffff; border-radius: 3px 0 0 3px; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns > li { margin-bottom: 0; display: none; width: 35px; height: 26px; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns > li.active { display: inline-block; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type="button"] { padding: 0; cursor: pointer; background: none; border: none; opacity: .75; outline: none; width: 100%; height: 100%; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type="button"] > i { font-size: 15px; margin-top: 1px; vertical-align: middle; } .customize-control-ast-responsive-spacing .input-wrapper.ast-spacing-responsive-wrapper { display: inline-flex; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-units { position: absolute; transform: translateY(-100%); font-size: 11px; text-transform: uppercase; top: 0; left: 0; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit { display: inline-block; margin-right: 6px; width: 16px; text-align: center; user-select: none; opacity: 0.7; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit.active { text-decoration: underline; opacity: 1; color: #000000; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper { display: none; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li { text-align: center; -webkit-box-flex: 1; -ms-flex: auto; flex: auto; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li input.ast-spacing-input { text-align: center; display: block; font-size: 12px; padding: 4px 0; width: 100%; height: 28px; border: 1px solid #dddddd; border-left-width: 0; box-shadow: none; padding-right: 11px; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li .ast-spacing-connected { color: #1e8cbe; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper.active { display: flex; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper span.ast-spacing-title { text-transform: uppercase; font-size: 10px; opacity: .75; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link .ast-spacing-connected { display: none; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-disconnected { display: none; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-connected { display: block; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link span { width: 35px; height: 26px; line-height: 26px; font-size: 14px; border: 1px solid #dddddd; background-color: #ffffff; border-radius: 0 3px 3px 0; border-left-width: 0; } .ast-responsive-btns { display: inline-block; float: left; line-height: 1; margin-top: 6px; } .ast-responsive-btns > li { margin-bottom: 0; display: none; } .ast-responsive-btns > li.active { display: inline-block; } .ast-responsive-btns button[type="button"] { padding: 0; cursor: pointer; background: none; border: none; opacity: .75; outline: none; } .ast-responsive-btns button[type="button"] > i { width: 15px; height: 15px; font-size: 15px; } .ast-field-settings-modal .ast-responsive-btns { margin-top: 6px; } .customize-control-ast-responsive .input-wrapper { overflow: hidden; } .customize-control-ast-responsive .input-wrapper input { display: none; width: 82%; float: none; } .customize-control-ast-responsive .input-wrapper input.active { display: block; } .customize-control-ast-responsive .input-wrapper .ast-responsive-select { width: 50px; margin: 0; display: none; padding: .1em; margin-right: 2px; float: none; } .customize-control-ast-responsive .input-wrapper .ast-responsive-input.active + .ast-responsive-select { display: block; width: 17%; float: none; } .customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input { display: inline-block; } .customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input.active { display: inline-block; } .customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-select { display: inline-block; } #customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper { display: inline-block; } #customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-select { display: none; } #customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-input { width: 100%; } .input-wrapper.ast-responsive-wrapper { display: inline-flex; justify-content: space-between; margin-left: 0; align-items: flex-start; flex: 0 1; width: 100%; } .ast-adv-toggle-icon { left: 2px; top: -2px; position: absolute; width: 18px; height: 18px; font-size: 18px; border: 1px solid #ddd; border-radius: 2px; padding: 4px; color: #0073aa; background: #fff; } .ast-adv-toggle-icon:hover { color: #099fd6; } .ast-adv-toggle-icon:before { content: "\f464"; } .ast-adv-toggle-icon.open:before { content: "\f158"; } .ast-field-settings-modal { position: absolute; -webkit-box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); -webkit-border-radius: 3px; border-radius: 3px; right: 0; left: 0; z-index: 10000; background-color: #fff; } .ast-field-settings-modal .customize-control-ast-divider:first-child { margin-top: 15px; } .ast-field-settings-wrap { width: 100%; } .ast-group-tabs, .ast-tab-content { position: relative; } .ast-group-list { overflow: hidden; border-bottom: 1px solid #ddd; } .ast-group-list:before, .ast-group-list:after { content: ""; display: table; border-collapse: collapse; } /* Tab anchor color */ .ui-tabs-anchor { float: right; padding: .5em 0.5em; color: #555d66; text-decoration: none; } .ui-state-active .ui-tabs-anchor { color: #ffffff; } .ui-tabs-anchor:hover { color: #555d66; } .ui-state-active .ui-tabs-anchor:hover { color: #ffffff; } .ast-group-tabs .ui-widget-content { overflow: hidden; /*padding-top: 15px;*/ } .ast-group-tabs .ui-widget-content.iris-slider-offset, .ast-group-tabs .ui-widget-content.iris-slider-offset-alpha { overflow: inherit; } .ast-fields-wrap { overflow: hidden; } .ast-field-settings-wrap { -webkit-box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); -webkit-border-radius: 3px; background-color: #fff; } .ast-field-settings-wrap .ast-field-settings-modal { border-radius: 3px; margin-top: 9px; margin-bottom: 20px; } .ast-field-settings-modal::before { content: ''; position: absolute; top: -17px; left: 8px; border: 9px solid transparent; border-bottom-color: #fff; pointer-events: none; } .ast-group-tabs .ui-tabs-nav { display: flex; padding: 15px 15px 0 15px; } .ast-group-tabs .ui-tabs-nav .ui-corner-top { align-items: center; flex: 1 1 auto; justify-content: center; margin: 0 0; padding: 0; border: 1px solid #ccc; transition: background-color 140ms linear; } .ast-group-tabs .ui-tabs-nav .ui-corner-top:first-child { border-radius: 0px 3px 3px 0px; } .ast-group-tabs .ui-tabs-nav .ui-corner-top:last-child { border-radius: 3px 0px 0px 3px; } .ast-group-tabs .ui-tabs-nav .ui-corner-top .ui-tabs-anchor { width: 100%; text-align: center; padding: 2px 4px; padding-right: 0; padding-left: 0; outline: none; } .ast-group-tabs ul.ast-group-list .ui-corner-top .ui-tabs-anchor:focus { box-shadow: none; } .ast-group-tabs .ui-tabs-nav { border: none; } .ast-group-tabs ul.ast-group-list .ui-corner-top.ui-state-active { background-color: #0185BA; border: 1px solid rgba(0, 0, 0, 0.1); } .ast-group-tabs .ui-tabs-nav { overflow: visible; } .ast-group-tabs ul.ast-group-list .ui-corner-top:not(:first-child) { border-right-width: 0; } /* Buttons */ .wp-core-ui .ast-field-settings-modal .background-image-upload .button { font-size: 11px; } /* Popup params padding */ .ast-field-settings-modal .customize-control { padding-right: 15px; padding-left: 15px; box-sizing: border-box; } .ast-field-settings-modal .customize-control:first-child { margin-top: 15px; } .ast-field-settings-modal .ui-tabs-nav .customize-control:first-child { margin-top: 0; } .ast-field-settings-modal .customize-control:last-child { padding-bottom: 15px; } .customize-control-ast-settings-group { line-height: 27px; } .customize-control-ast-settings-group .customize-control-title { margin-bottom: 0; } .customize-control-ast-settings-group .ast-field-settings-modal .customize-control-title { margin-bottom: 10px; font-size: 13px; } .ast-field-settings-modal .customize-control { margin-top: 10px; } .customize-control-ast-slider .wrapper { position: relative; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; } .customize-control-ast-slider input[type=range] { -webkit-appearance: none; -webkit-transition: background 0.3s; -moz-transition: background 0.3s; transition: background 0.3s; background-color: rgba(0, 0, 0, 0.1); height: 5px; padding: 0; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; } .customize-control-ast-slider input[type=range]:focus { box-shadow: none; outline: none; } .customize-control-ast-slider input[type=range]:hover, .customize-control-ast-slider input[type=range]:focus { background-color: rgba(0, 0, 0, 0.25); } .customize-control-ast-slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 15px; height: 15px; border-radius: 50%; -webkit-border-radius: 50%; background-color: #3498D9; -webkit-appearance: none; width: 15px; height: 15px; border: none; border-radius: 50%; background-color: #3498D9; } .customize-control-ast-slider input[type=range]::-moz-range-thumb { width: 15px; height: 15px; border: none; border-radius: 50%; background-color: #3498D9; } .customize-control-ast-slider input[type=range]::-ms-thumb { width: 15px; height: 15px; border-radius: 50%; border: 0; background-color: #3498D9; } .customize-control-ast-slider input[type=range]::-moz-range-track { border: inherit; background: transparent; } .customize-control-ast-slider input[type=range]::-ms-track { border: inherit; color: transparent; background: transparent; } .customize-control-ast-slider input[type=range]::-ms-fill-lower, .customize-control-ast-slider input[type=range]::-ms-fill-upper { background: transparent; } .customize-control-ast-slider input[type=range]::-ms-tooltip { display: none; } .customize-control-ast-slider .astra_range_value { font-size: 14px; padding: 0 5px 0 0; font-weight: 400; position: relative; } .customize-control-ast-slider .ast-slider-reset { color: rgba(0, 0, 0, 0.2); position: absolute; top: -28px; left: 0; /*float: right;*/ display: inline-block; -webkit-transition: color 0.5s ease-in; -moz-transition: color 0.5s ease-in; -ms-transition: color 0.5s ease-in; -o-transition: color 0.5s ease-in; transition: color 0.5s ease-in; } .customize-control-ast-slider .ast-slider-reset span { font-size: 16px; line-height: 22px; transition: unset; } .customize-control-ast-slider .ast-slider-reset:hover, .customize-control-ast-slider .ast-slider-reset:focus { color: red; } .astra_range_value input.ast-range-value-input { width: 50px; height: 22px; font-size: 12px; padding: 3px; } .astra_range_value .ast-range-unit { margin-right: 5px; } .customize-control-ast-sortable ul.ui-sortable { cursor: default; } .customize-control-ast-sortable ul.ui-sortable .dashicons-visibility { cursor: pointer; } .customize-control-ast-sortable ul.ui-sortable li { padding: 5px 10px; border: 1px solid #333; background: #fff; cursor: move; } .customize-control-ast-sortable ul.ui-sortable li .dashicons.dashicons-menu { float: left; } .customize-control-ast-sortable ul.ui-sortable li .dashicons.visibility { margin-left: 10px; } .customize-control-ast-sortable ul.ui-sortable li.invisible { color: #aaa; border: 1px dashed #aaa; } .customize-control-ast-sortable ul.ui-sortable li.invisible .dashicons.visibility { color: #aaa; } .select2-container { width: 100% !important; } span.select2-container.select2-container--default.select2-container--open { z-index: 999999; } span.select2-container.select2-container--default.select2-container--open li.select2-results__option { margin: 0; } .select2-selection__rendered li { margin-bottom: 0; } .select2-container--default .select2-selection--single, .select2-container--default.select2-container .select2-selection--multiple { border-color: #ddd; border-radius: 0; } .select2-dropdown, .select2-container--default .select2-selection--multiple .select2-selection__choice { border-color: #ddd; border-radius: 0; } .customize-control-ast-hidden { margin-top: 0; } /* Vetically align customizer footer device icons */ .wp-full-overlay-footer .devices-wrapper .preview-desktop, .wp-full-overlay-footer .devices-wrapper .preview-tablet, .wp-full-overlay-footer .devices-wrapper .preview-mobile { vertical-align: middle; } .customize-control-ast-customizer-link .customizer-link { font-style: italic; text-decoration: none; } /* Customizer Scroll CSS */ .accordion-section-content::-webkit-scrollbar, .wp-full-overlay-sidebar-content::-webkit-scrollbar { width: 6px; background-color: #f1f1f1; } .accordion-section-content::-webkit-scrollbar-thumb, .wp-full-overlay-sidebar-content::-webkit-scrollbar-thumb { border-radius: 10px; background-color: #d8d8d8; } .accordion-section-content::-webkit-scrollbar-track, .wp-full-overlay-sidebar-content::-webkit-scrollbar-track { -webkit-box-shadow: inset 0 0 0 rgba(0, 0, 0, 0.3); width: 6px; } .wp-full-overlay-sidebar:after { display: none; } #customize-theme-controls .control-section-ast-section-separator { margin-top: 15px; border-top: 1px solid #ddd; display: block !important; } .customize-control { position: relative; margin-bottom: 0; margin-top: 12px; } .customize-control .customize-inside-control-row { padding-top: 0; padding-bottom: 0; } .customize-control-title { display: inline-block; margin-bottom: 12px; } .customize-control-ast-font-variant .select2 { margin-bottom: 12px; } .customize-control .ast-control-tooltip { position: absolute; top: 0; left: 0; } .customize-control.customize-control-ast-divider .ast-control-tooltip { position: absolute; top: auto; bottom: 3px; left: 0; } .ast-fields-wrap .customize-control .ast-control-tooltip { left: 15px; top: 6px; } /* Select2 WP 5.3 compatibility */ .customize-control .select2-search input[type="text"].select2-search__field { min-height: 17px; } input[type="text"].select2-search__field { line-height: 1; border-radius: 0; } /* CSS to show popups without scroll */ #customize-theme-controls .control-section.open { height: 100%; } /* Safari Browser specific CSS */ @media not all and (min-resolution: 0.001dpcm) { @supports (-webkit-appearance: none) { #customize-control-astra-settings-ast-header-responsive-logo-width .wrapper { display: inline-block; width: 100%; } .dashicons-desktop:before, .dashicons-tablet:before, .dashicons-smartphone:before { color: #000000; opacity: .75; } .ast-field-settings-modal .customize-control-ast-responsive .input-wrapper .ast-responsive-input.active + .ast-responsive-select { width: 20%; } } } /* Firefox Browser specific CSS */ @-moz-document url-prefix() { .control-section.open .customize-control:last-child { margin-bottom: 20px; } } /* IE Browser specific CSS */ @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { .control-section.open .customize-control:last-child { padding-bottom: 20px; } #customize-control-astra-settings-blog-archive-image-width .customize-control-title, #customize-control-astra-settings-blog-archive-image-height .customize-control-title, #customize-control-astra-settings-blog-single-post-image-width .customize-control-title, #customize-control-astra-settings-blog-single-post-image-height .customize-control-title { margin-right: 0px; margin-left: 20px; } } .customize-control-ast-description .ast-description { font-style: italic; } .customize-control-ast-description a.button { margin-top: 10px; font-style: normal; } .customize-control-ast-description p { margin: 0; cursor: initial; } .customize-control-ast-divider hr { margin-top: 12px; } .customize-control-ast-divider .customize-control-title { font-size: 15px; margin: 1em 0 0.2em; } .ast-field-settings-modal .customize-control-ast-divider { background-color: #f5f5f5; display: block; padding: 6px 14px; margin: 0; border-width: 1px 0; border-style: solid; border-color: #dddddd; line-height: 1; margin-top: 15px; } .customize-control-ast-settings-group .ast-field-settings-modal .customize-control-ast-divider .customize-control-title { font-weight: 500; letter-spacing: 1px; font-size: 11px; margin: 0; text-transform: uppercase; } .ast-field-settings-wrap .customize-control-ast-heading { margin: 0px 0 15px 0; } .accordion-section-content.open .customize-control-ast-heading:nth-child(2), .accordion-section-content.open .customize-control-ast-heading:nth-child(3) { margin-top: 0; } .customize-control-ast-heading { margin-top: 20px; margin-bottom: 8px; } .customize-control-ast-heading .ast-heading-wrapper { margin: 0 -12px; } .customize-control-ast-heading .customize-control-title { display: block; padding: 13px 12px; margin: 0; border-width: 1px 0; border-style: solid; border-color: #dddddd; background-color: #fff; font-size: 11.5px; font-weight: 500; letter-spacing: 1px; line-height: 1; text-transform: uppercase; } .customize-control-ast-heading .customize-control-caption { top: 50%; transform: translateY(-50%); position: absolute; left: 0; font-size: 11px; font-weight: 500; letter-spacing: 1px; } .customize-control-ast-heading .customize-control-description { margin-top: 10px; } .ast-heading-wrapper label { cursor: default; } .customize-control > label { cursor: default; } .customize-control .ast-spacing-input-item-link, .customize-control .ast-border-input-item-link { cursor: pointer; } .customize-control.customize-control-ast-slider label { cursor: pointer; } .customize-control.customize-control-ast-slider label .wrapper input[type=range] { cursor: pointer; } .ast-link-open-in-new-tab-wrapper { margin: 10px 0; } .customize-control-ast-radio-image label { position: relative; display: inline-block; margin-left: 12px; } .customize-control-ast-radio-image input { display: none; } .customize-control-ast-radio-image input:checked + label svg { background: #ffffff; border-radius: 3px; box-shadow: 0 0 3px 0px rgba(0, 133, 186, 0.67); } .customize-control-ast-radio-image input + label .image-clickable { position: absolute; top: 0; bottom: 0; right: 0; left: 0; width: 100%; height: 100%; } .customize-control-ast-radio-image .ast-radio-img-svg svg { width: 73px; height: 49px; } #customize-control-astra-settings-above-header-menu-align .ast-radio-img-svg svg, #customize-control-astra-settings-header-main-menu-align .ast-radio-img-svg svg, #customize-control-astra-settings-below-header-menu-align .ast-radio-img-svg svg { width: 37px; height: 49px; } #customize-control-astra-settings-footer-adv .image label { margin-bottom: 12px; } .customize-control-ast-responsive-background { position: relative; } .customize-control-ast-responsive-background .screen-reader-text { top: initial; } .customize-control-ast-responsive-background .background-container h4 { font-size: 14px; font-weight: 600; color: #555d66; } .customize-control-ast-responsive-background .background-attachment h4, .customize-control-ast-responsive-background .background-color h4, .customize-control-ast-responsive-background .background-position h4, .customize-control-ast-responsive-background .background-repeat h4, .customize-control-ast-responsive-background .background-size h4 { margin-bottom: 5px; margin-top: 10px; } .customize-control-ast-responsive-background .background-color { margin-bottom: 12px; } .customize-control-ast-responsive-background .background-repeat { margin: 15px 0 15px 0; } .customize-control-ast-responsive-background .background-attachment .buttonset, .customize-control-ast-responsive-background .background-size .buttonset { display: flex; flex-wrap: wrap; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-label, .customize-control-ast-responsive-background .background-size .buttonset .switch-label { background: #ffffff; border: 1px solid rgba(0, 0, 0, 0.1); color: #555; padding: 2px 4px; margin-left: 15px; text-align: center; flex-grow: 1; transition: background-color 140ms linear; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-label:last-child, .customize-control-ast-responsive-background .background-size .buttonset .switch-label:last-child { margin-left: 0; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-input:checked + .switch-label, .customize-control-ast-responsive-background .background-size .buttonset .switch-input:checked + .switch-label { background-color: #f5f5f5; color: #565e67; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-input[checked="checked"] + .switch-label, .customize-control-ast-responsive-background .background-size .buttonset .switch-input[checked="checked"] + .switch-label { background-color: #f5f5f5; color: #565e67; } .customize-control-ast-responsive-background .more-settings { margin-top: 6px; display: inline-block; padding: 5px 0 5px 0; float: left; } .customize-control-ast-responsive-background .more-settings:focus { outline: 0; box-shadow: none; } .customize-control-ast-responsive-background .arrow-icon { margin-right: 5px; } .customize-control-ast-responsive-background .background-container { display: none; } .customize-control-ast-responsive-background .background-container.active { display: block; } .customize-control-ast-responsive-color .customize-control-content .wp-picker-container { display: none; } .customize-control-ast-responsive-color .customize-control-content .wp-picker-container.active { display: block; } .ast-responsive-btns { display: inline-block; float: left; line-height: 1; margin-top: 6px; } .ast-responsive-btns > li { margin-bottom: 0; display: none; } .ast-responsive-btns > li.active { display: inline-block; } .ast-responsive-btns button[type="button"] { padding: 0; cursor: pointer; background: none; border: none; opacity: .75; outline: none; } .ast-responsive-btns button[type="button"] > i { width: 15px; height: 15px; font-size: 15px; } .ast-field-settings-modal .ast-responsive-btns { margin-top: 6px; } .customize-control-ast-responsive .input-wrapper { overflow: hidden; } .customize-control-ast-responsive .input-wrapper input { display: none; width: 82%; float: none; } .customize-control-ast-responsive .input-wrapper input.active { display: block; } .customize-control-ast-responsive .input-wrapper .ast-responsive-select { width: 50px; margin: 0; display: none; padding: .1em; margin-right: 2px; float: none; } .customize-control-ast-responsive .input-wrapper .ast-responsive-input.active + .ast-responsive-select { display: block; width: 17%; float: none; } .customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input { display: inline-block; } .customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input.active { display: inline-block; } .customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-select { display: inline-block; } #customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper { display: inline-block; } #customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-select { display: none; } #customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-input { width: 100%; } .input-wrapper.ast-responsive-wrapper { display: inline-flex; justify-content: space-between; margin-left: 0; align-items: flex-start; flex: 0 1; width: 100%; } .customize-control-ast-responsive-slider .wrapper { position: relative; height: 100%; } .customize-control-ast-responsive-slider .input-field-wrapper { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; } .customize-control-ast-responsive-slider input[type=range] { -webkit-appearance: none; -webkit-transition: background 0.3s; -moz-transition: background 0.3s; transition: background 0.3s; background-color: rgba(0, 0, 0, 0.1); height: 5px; padding: 0; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; } .customize-control-ast-responsive-slider input[type=range]:focus { box-shadow: none; outline: none; } .customize-control-ast-responsive-slider input[type=range]:hover, .customize-control-ast-responsive-slider input[type=range]:focus { background-color: rgba(0, 0, 0, 0.25); } .customize-control-ast-responsive-slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 15px; height: 15px; border-radius: 50%; -webkit-border-radius: 50%; background-color: #3498D9; -webkit-appearance: none; width: 15px; height: 15px; border: none; border-radius: 50%; background-color: #3498D9; } .customize-control-ast-responsive-slider input[type=range]::-moz-range-thumb { width: 15px; height: 15px; border: none; border-radius: 50%; background-color: #3498D9; } .customize-control-ast-responsive-slider input[type=range]::-ms-thumb { width: 15px; height: 15px; border-radius: 50%; border: 0; background-color: #3498D9; } .customize-control-ast-responsive-slider input[type=range]::-moz-range-track { border: inherit; background: transparent; } .customize-control-ast-responsive-slider input[type=range]::-ms-track { border: inherit; color: transparent; background: transparent; } .customize-control-ast-responsive-slider input[type=range]::-ms-fill-lower, .customize-control-ast-responsive-slider input[type=range]::-ms-fill-upper { background: transparent; } .customize-control-ast-responsive-slider input[type=range]::-ms-tooltip { display: none; } .customize-control-ast-responsive-slider .astra_range_value { font-size: 14px; padding: 0 5px 0 0; font-weight: 400; position: relative; } .customize-control-ast-responsive-slider .ast-responsive-slider-reset { color: rgba(0, 0, 0, 0.2); position: absolute; top: -28px; left: 1.5em; display: inline-block; -webkit-transition: color 0.5s ease-in; -moz-transition: color 0.5s ease-in; -ms-transition: color 0.5s ease-in; -o-transition: color 0.5s ease-in; transition: color 0.5s ease-in; } .customize-control-ast-responsive-slider .ast-responsive-slider-reset span { font-size: 13px; line-height: 24px; transition: unset; } .customize-control-ast-responsive-slider .ast-responsive-slider-reset:hover, .customize-control-ast-responsive-slider .ast-responsive-slider-reset:focus { color: red; } .astra_range_value input.ast-responsive-range-value-input { width: 50px; height: 22px; font-size: 12px; padding: 3px; } .astra_range_value .ast-range-unit { margin-right: 5px; } .customize-control-ast-responsive-slider .input-field-wrapper { display: none; } .customize-control-ast-responsive-slider .input-field-wrapper.active { display: flex; justify-content: space-between; margin-left: 0; flex: 0 1; width: 100%; } /** * Responsive Icons */ .ast-responsive-slider-btns { display: inline-block; float: left; line-height: 1; margin-top: 5px; } .ast-responsive-slider-btns > li { margin-bottom: 0; display: none; } .ast-responsive-slider-btns > li.active { display: inline-block; } .ast-responsive-slider-btns button[type="button"] { padding: 0; cursor: pointer; background: none; border: none; opacity: .75; outline: none; } .ast-responsive-slider-btns button[type="button"] > i { width: 15px; height: 15px; font-size: 15px; } .customize-control-ast-responsive-spacing { /* Unit Screen wrap */ } .customize-control-ast-responsive-spacing .customize-control-title { display: inline-block; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-outer-wrapper { display: flex; position: relative; } .customize-control-ast-responsive-spacing .ast-spacing-input-item { margin-bottom: 0; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns { display: block; text-align: center; line-height: 2; border: 1px solid #dddddd; background-color: #ffffff; border-radius: 3px 0 0 3px; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns > li { margin-bottom: 0; display: none; width: 35px; height: 26px; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns > li.active { display: inline-block; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type="button"] { padding: 0; cursor: pointer; background: none; border: none; opacity: .75; outline: none; width: 100%; height: 100%; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type="button"] > i { font-size: 15px; margin-top: 1px; vertical-align: middle; } .customize-control-ast-responsive-spacing .input-wrapper.ast-spacing-responsive-wrapper { display: inline-flex; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-units { position: absolute; transform: translateY(-100%); font-size: 11px; text-transform: uppercase; top: 0; left: 0; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit { display: inline-block; margin-right: 6px; width: 16px; text-align: center; user-select: none; opacity: 0.7; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit.active { text-decoration: underline; opacity: 1; color: #000000; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper { display: none; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li { text-align: center; -webkit-box-flex: 1; -ms-flex: auto; flex: auto; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li input.ast-spacing-input { text-align: center; display: block; font-size: 12px; padding: 4px 0; width: 100%; height: 28px; border: 1px solid #dddddd; border-left-width: 0; box-shadow: none; padding-right: 11px; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li .ast-spacing-connected { color: #1e8cbe; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper.active { display: flex; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper span.ast-spacing-title { text-transform: uppercase; font-size: 10px; opacity: .75; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link .ast-spacing-connected { display: none; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-disconnected { display: none; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-connected { display: block; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link span { width: 35px; height: 26px; line-height: 26px; font-size: 14px; border: 1px solid #dddddd; background-color: #ffffff; border-radius: 0 3px 3px 0; border-left-width: 0; } .ast-adv-toggle-icon { left: 2px; top: -2px; position: absolute; width: 18px; height: 18px; font-size: 18px; border: 1px solid #ddd; border-radius: 2px; padding: 4px; color: #0073aa; background: #fff; } .ast-adv-toggle-icon:hover { color: #099fd6; } .ast-adv-toggle-icon:before { content: "\f464"; } .ast-adv-toggle-icon.open:before { content: "\f158"; } .ast-field-settings-modal { position: absolute; -webkit-box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); -webkit-border-radius: 3px; border-radius: 3px; right: 0; left: 0; z-index: 10000; background-color: #fff; } .ast-field-settings-modal .customize-control-ast-divider:first-child { margin-top: 15px; } .ast-field-settings-wrap { width: 100%; } .ast-group-tabs, .ast-tab-content { position: relative; } .ast-group-list { overflow: hidden; border-bottom: 1px solid #ddd; } .ast-group-list:before, .ast-group-list:after { content: ""; display: table; border-collapse: collapse; } /* Tab anchor color */ .ui-tabs-anchor { float: right; padding: .5em 0.5em; color: #555d66; text-decoration: none; } .ui-state-active .ui-tabs-anchor { color: #ffffff; } .ui-tabs-anchor:hover { color: #555d66; } .ui-state-active .ui-tabs-anchor:hover { color: #ffffff; } .ast-group-tabs .ui-widget-content { overflow: hidden; /*padding-top: 15px;*/ } .ast-group-tabs .ui-widget-content.iris-slider-offset, .ast-group-tabs .ui-widget-content.iris-slider-offset-alpha { overflow: inherit; } .ast-fields-wrap { overflow: hidden; } .ast-field-settings-wrap { -webkit-box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); -webkit-border-radius: 3px; background-color: #fff; } .ast-field-settings-wrap .ast-field-settings-modal { border-radius: 3px; margin-top: 9px; margin-bottom: 20px; } .ast-field-settings-modal::before { content: ''; position: absolute; top: -17px; left: 8px; border: 9px solid transparent; border-bottom-color: #fff; pointer-events: none; } .ast-group-tabs .ui-tabs-nav { display: flex; padding: 15px 15px 0 15px; } .ast-group-tabs .ui-tabs-nav .ui-corner-top { align-items: center; flex: 1 1 auto; justify-content: center; margin: 0 0; padding: 0; border: 1px solid #ccc; transition: background-color 140ms linear; } .ast-group-tabs .ui-tabs-nav .ui-corner-top:first-child { border-radius: 0px 3px 3px 0px; } .ast-group-tabs .ui-tabs-nav .ui-corner-top:last-child { border-radius: 3px 0px 0px 3px; } .ast-group-tabs .ui-tabs-nav .ui-corner-top .ui-tabs-anchor { width: 100%; text-align: center; padding: 2px 4px; padding-right: 0; padding-left: 0; outline: none; } .ast-group-tabs ul.ast-group-list .ui-corner-top .ui-tabs-anchor:focus { box-shadow: none; } .ast-group-tabs .ui-tabs-nav { border: none; } .ast-group-tabs ul.ast-group-list .ui-corner-top.ui-state-active { background-color: #0185BA; border: 1px solid rgba(0, 0, 0, 0.1); } .ast-group-tabs .ui-tabs-nav { overflow: visible; } .ast-group-tabs ul.ast-group-list .ui-corner-top:not(:first-child) { border-right-width: 0; } /* Buttons */ .wp-core-ui .ast-field-settings-modal .background-image-upload .button { font-size: 11px; } /* Popup params padding */ .ast-field-settings-modal .customize-control { padding-right: 15px; padding-left: 15px; box-sizing: border-box; } .ast-field-settings-modal .customize-control:first-child { margin-top: 15px; } .ast-field-settings-modal .ui-tabs-nav .customize-control:first-child { margin-top: 0; } .ast-field-settings-modal .customize-control:last-child { padding-bottom: 15px; } .customize-control-ast-settings-group { line-height: 27px; } .customize-control-ast-settings-group .customize-control-title { margin-bottom: 0; } .customize-control-ast-settings-group .ast-field-settings-modal .customize-control-title { margin-bottom: 10px; font-size: 13px; } .ast-field-settings-modal .customize-control { margin-top: 10px; } .customize-control-ast-slider .wrapper { position: relative; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; } .customize-control-ast-slider input[type=range] { -webkit-appearance: none; -webkit-transition: background 0.3s; -moz-transition: background 0.3s; transition: background 0.3s; background-color: rgba(0, 0, 0, 0.1); height: 5px; padding: 0; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; } .customize-control-ast-slider input[type=range]:focus { box-shadow: none; outline: none; } .customize-control-ast-slider input[type=range]:hover, .customize-control-ast-slider input[type=range]:focus { background-color: rgba(0, 0, 0, 0.25); } .customize-control-ast-slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 15px; height: 15px; border-radius: 50%; -webkit-border-radius: 50%; background-color: #3498D9; -webkit-appearance: none; width: 15px; height: 15px; border: none; border-radius: 50%; background-color: #3498D9; } .customize-control-ast-slider input[type=range]::-moz-range-thumb { width: 15px; height: 15px; border: none; border-radius: 50%; background-color: #3498D9; } .customize-control-ast-slider input[type=range]::-ms-thumb { width: 15px; height: 15px; border-radius: 50%; border: 0; background-color: #3498D9; } .customize-control-ast-slider input[type=range]::-moz-range-track { border: inherit; background: transparent; } .customize-control-ast-slider input[type=range]::-ms-track { border: inherit; color: transparent; background: transparent; } .customize-control-ast-slider input[type=range]::-ms-fill-lower, .customize-control-ast-slider input[type=range]::-ms-fill-upper { background: transparent; } .customize-control-ast-slider input[type=range]::-ms-tooltip { display: none; } .customize-control-ast-slider .astra_range_value { font-size: 14px; padding: 0 5px 0 0; font-weight: 400; position: relative; } .customize-control-ast-slider .ast-slider-reset { color: rgba(0, 0, 0, 0.2); position: absolute; top: -28px; left: 0; /*float: right;*/ display: inline-block; -webkit-transition: color 0.5s ease-in; -moz-transition: color 0.5s ease-in; -ms-transition: color 0.5s ease-in; -o-transition: color 0.5s ease-in; transition: color 0.5s ease-in; } .customize-control-ast-slider .ast-slider-reset span { font-size: 16px; line-height: 22px; transition: unset; } .customize-control-ast-slider .ast-slider-reset:hover, .customize-control-ast-slider .ast-slider-reset:focus { color: red; } .astra_range_value input.ast-range-value-input { width: 50px; height: 22px; font-size: 12px; padding: 3px; } .astra_range_value .ast-range-unit { margin-right: 5px; } .customize-control-ast-sortable ul.ui-sortable { cursor: default; } .customize-control-ast-sortable ul.ui-sortable .dashicons-visibility { cursor: pointer; } .customize-control-ast-sortable ul.ui-sortable li { padding: 5px 10px; border: 1px solid #333; background: #fff; cursor: move; } .customize-control-ast-sortable ul.ui-sortable li .dashicons.dashicons-menu { float: left; } .customize-control-ast-sortable ul.ui-sortable li .dashicons.visibility { margin-left: 10px; } .customize-control-ast-sortable ul.ui-sortable li.invisible { color: #aaa; border: 1px dashed #aaa; } .customize-control-ast-sortable ul.ui-sortable li.invisible .dashicons.visibility { color: #aaa; } .select2-container { width: 100% !important; } span.select2-container.select2-container--default.select2-container--open { z-index: 999999; } span.select2-container.select2-container--default.select2-container--open li.select2-results__option { margin: 0; } .select2-selection__rendered li { margin-bottom: 0; } .select2-container--default .select2-selection--single, .select2-container--default.select2-container .select2-selection--multiple { border-color: #ddd; border-radius: 0; } .select2-dropdown, .select2-container--default .select2-selection--multiple .select2-selection__choice { border-color: #ddd; border-radius: 0; } .customize-control-ast-hidden { margin-top: 0; } /* Vetically align customizer footer device icons */ .wp-full-overlay-footer .devices-wrapper .preview-desktop, .wp-full-overlay-footer .devices-wrapper .preview-tablet, .wp-full-overlay-footer .devices-wrapper .preview-mobile { vertical-align: middle; } PK\228custom-controls/assets/css/unminified/responsive-rtl.cssnuW+A.ast-responsive-btns { display: inline-block; float: left; line-height: 1; margin-top: 6px; } .ast-responsive-btns > li { margin-bottom: 0; display: none; } .ast-responsive-btns > li.active { display: inline-block; } .ast-responsive-btns button[type="button"] { padding: 0; cursor: pointer; background: none; border: none; opacity: .75; outline: none; } .ast-responsive-btns button[type="button"] > i { width: 15px; height: 15px; font-size: 15px; } .ast-field-settings-modal .ast-responsive-btns { margin-top: 6px; } .customize-control-ast-responsive .input-wrapper { overflow: hidden; } .customize-control-ast-responsive .input-wrapper input { display: none; width: 82%; float: none; } .customize-control-ast-responsive .input-wrapper input.active { display: block; } .customize-control-ast-responsive .input-wrapper .ast-responsive-select { width: 50px; margin: 0; display: none; padding: .1em; margin-right: 2px; float: none; } .customize-control-ast-responsive .input-wrapper .ast-responsive-input.active + .ast-responsive-select { display: block; width: 17%; float: none; } .customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input { display: inline-block; } .customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input.active { display: inline-block; } .customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-select { display: inline-block; } #customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper { display: inline-block; } #customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-select { display: none; } #customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-input { width: 100%; } .input-wrapper.ast-responsive-wrapper { display: inline-flex; justify-content: space-between; margin-left: 0; align-items: flex-start; flex: 0 1; width: 100%; } PK\c!>custom-controls/assets/css/unminified/responsive-color-rtl.cssnuW+A.customize-control-ast-responsive-color .customize-control-content .wp-picker-container { display: none; } .customize-control-ast-responsive-color .customize-control-content .wp-picker-container.active { display: block; } PK\پH( >custom-controls/assets/css/unminified/customizer-style-rtl.cssnuW+A/* Customizer Scroll CSS */ .accordion-section-content::-webkit-scrollbar, .wp-full-overlay-sidebar-content::-webkit-scrollbar { width: 6px; background-color: #f1f1f1; } .accordion-section-content::-webkit-scrollbar-thumb, .wp-full-overlay-sidebar-content::-webkit-scrollbar-thumb { border-radius: 10px; background-color: #d8d8d8; } .accordion-section-content::-webkit-scrollbar-track, .wp-full-overlay-sidebar-content::-webkit-scrollbar-track { -webkit-box-shadow: inset 0 0 0 rgba(0, 0, 0, 0.3); width: 6px; } .wp-full-overlay-sidebar:after { display: none; } #customize-theme-controls .control-section-ast-section-separator { margin-top: 15px; border-top: 1px solid #ddd; display: block !important; } .customize-control { position: relative; margin-bottom: 0; margin-top: 12px; } .customize-control .customize-inside-control-row { padding-top: 0; padding-bottom: 0; } .customize-control-title { display: inline-block; margin-bottom: 12px; } .customize-control-ast-font-variant .select2 { margin-bottom: 12px; } .customize-control .ast-control-tooltip { position: absolute; top: 0; left: 0; } .customize-control.customize-control-ast-divider .ast-control-tooltip { position: absolute; top: auto; bottom: 3px; left: 0; } .ast-fields-wrap .customize-control .ast-control-tooltip { left: 15px; top: 6px; } /* Select2 WP 5.3 compatibility */ .customize-control .select2-search input[type="text"].select2-search__field { min-height: 17px; } input[type="text"].select2-search__field { line-height: 1; border-radius: 0; } /* CSS to show popups without scroll */ #customize-theme-controls .control-section.open { height: 100%; } /* Safari Browser specific CSS */ @media not all and (min-resolution: 0.001dpcm) { @supports (-webkit-appearance: none) { #customize-control-astra-settings-ast-header-responsive-logo-width .wrapper { display: inline-block; width: 100%; } .dashicons-desktop:before, .dashicons-tablet:before, .dashicons-smartphone:before { color: #000000; opacity: .75; } .ast-field-settings-modal .customize-control-ast-responsive .input-wrapper .ast-responsive-input.active + .ast-responsive-select { width: 20%; } } } /* Firefox Browser specific CSS */ @-moz-document url-prefix() { .control-section.open .customize-control:last-child { margin-bottom: 20px; } } /* IE Browser specific CSS */ @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { .control-section.open .customize-control:last-child { padding-bottom: 20px; } #customize-control-astra-settings-blog-archive-image-width .customize-control-title, #customize-control-astra-settings-blog-archive-image-height .customize-control-title, #customize-control-astra-settings-blog-single-post-image-width .customize-control-title, #customize-control-astra-settings-blog-single-post-image-height .customize-control-title { margin-right: 0px; margin-left: 20px; } } PK\@custom-controls/assets/css/unminified/responsive-spacing-rtl.cssnuW+A.customize-control-ast-responsive-spacing { /* Unit Screen wrap */ } .customize-control-ast-responsive-spacing .customize-control-title { display: inline-block; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-outer-wrapper { display: flex; position: relative; } .customize-control-ast-responsive-spacing .ast-spacing-input-item { margin-bottom: 0; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns { display: block; text-align: center; line-height: 2; border: 1px solid #dddddd; background-color: #ffffff; border-radius: 3px 0 0 3px; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns > li { margin-bottom: 0; display: none; width: 35px; height: 26px; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns > li.active { display: inline-block; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type="button"] { padding: 0; cursor: pointer; background: none; border: none; opacity: .75; outline: none; width: 100%; height: 100%; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type="button"] > i { font-size: 15px; margin-top: 1px; vertical-align: middle; } .customize-control-ast-responsive-spacing .input-wrapper.ast-spacing-responsive-wrapper { display: inline-flex; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-units { position: absolute; transform: translateY(-100%); font-size: 11px; text-transform: uppercase; top: 0; left: 0; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit { display: inline-block; margin-right: 6px; width: 16px; text-align: center; user-select: none; opacity: 0.7; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit.active { text-decoration: underline; opacity: 1; color: #000000; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper { display: none; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li { text-align: center; -webkit-box-flex: 1; -ms-flex: auto; flex: auto; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li input.ast-spacing-input { text-align: center; display: block; font-size: 12px; padding: 4px 0; width: 100%; height: 28px; border: 1px solid #dddddd; border-left-width: 0; box-shadow: none; padding-right: 11px; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li .ast-spacing-connected { color: #1e8cbe; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper.active { display: flex; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper span.ast-spacing-title { text-transform: uppercase; font-size: 10px; opacity: .75; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link .ast-spacing-connected { display: none; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-disconnected { display: none; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-connected { display: block; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link span { width: 35px; height: 26px; line-height: 26px; font-size: 14px; border: 1px solid #dddddd; background-color: #ffffff; border-radius: 0 3px 3px 0; border-left-width: 0; } PK\Gv8custom-controls/assets/css/unminified/typography-rtl.cssnuW+A.select2-container { width: 100% !important; } span.select2-container.select2-container--default.select2-container--open { z-index: 999999; } span.select2-container.select2-container--default.select2-container--open li.select2-results__option { margin: 0; } .select2-selection__rendered li { margin-bottom: 0; } .select2-container--default .select2-selection--single, .select2-container--default.select2-container .select2-selection--multiple { border-color: #ddd; border-radius: 0; } .select2-dropdown, .select2-container--default .select2-selection--multiple .select2-selection__choice { border-color: #ddd; border-radius: 0; } .customize-control-ast-hidden { margin-top: 0; } /* Vetically align customizer footer device icons */ .wp-full-overlay-footer .devices-wrapper .preview-desktop, .wp-full-overlay-footer .devices-wrapper .preview-tablet, .wp-full-overlay-footer .devices-wrapper .preview-mobile { vertical-align: middle; } PK\LNeD D 8custom-controls/assets/css/unminified/background-rtl.cssnuW+A#customize-controls .customize-control-notifications-container { margin: 0; } .customize-control-ast-background .screen-reader-text { top: initial; } .customize-control-ast-background .background-container h4 { font-weight: normal; } .customize-control-ast-background .background-attachment h4, .customize-control-ast-background .background-color h4, .customize-control-ast-background .background-position h4, .customize-control-ast-background .background-repeat h4, .customize-control-ast-background .background-size h4 { margin-bottom: 5px; margin-top: 10px; } .customize-control-ast-background .background-color { margin-bottom: 12px; } .customize-control-ast-background .background-repeat { margin: 15px 0 8px 0; } .customize-control-ast-background .background-attachment .buttonset, .customize-control-ast-background .background-size .buttonset { display: flex; flex-wrap: wrap; } .customize-control-ast-background .background-attachment .buttonset .switch-label, .customize-control-ast-background .background-size .buttonset .switch-label { background: #ffffff; border: 1px solid rgba(0, 0, 0, 0.1); color: #555; padding: 2px 4px; margin-left: 15px; text-align: center; flex-grow: 1; transition: background-color 140ms linear; } .customize-control-ast-background .background-attachment .buttonset .switch-label:last-child, .customize-control-ast-background .background-size .buttonset .switch-label:last-child { margin-left: 0; } .customize-control-ast-background .background-attachment .buttonset .switch-input:checked + .switch-label, .customize-control-ast-background .background-size .buttonset .switch-input:checked + .switch-label, .customize-control-ast-background .background-attachment .buttonset .switch-input[checked="checked"] + .switch-label, .customize-control-ast-background .background-size .buttonset .switch-input[checked="checked"] + .switch-label { background-color: #f5f5f5; color: #565e67; } .customize-control-ast-background .more-settings { margin-top: 12px; display: inline-block; padding: 5px 0 5px 0; float: left; } .customize-control-ast-background .more-settings:focus { outline: 0; box-shadow: none; } .customize-control-ast-background .arrow-icon { margin-right: 5px; } .ast-field-settings-modal .customize-control-ast-background .more-settings { margin-top: 6px; } PK\s ?custom-controls/assets/css/unminified/responsive-slider-rtl.cssnuW+A.customize-control-ast-responsive-slider .wrapper { position: relative; height: 100%; } .customize-control-ast-responsive-slider .input-field-wrapper { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; } .customize-control-ast-responsive-slider input[type=range] { -webkit-appearance: none; -webkit-transition: background 0.3s; -moz-transition: background 0.3s; transition: background 0.3s; background-color: rgba(0, 0, 0, 0.1); height: 5px; padding: 0; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; } .customize-control-ast-responsive-slider input[type=range]:focus { box-shadow: none; outline: none; } .customize-control-ast-responsive-slider input[type=range]:hover, .customize-control-ast-responsive-slider input[type=range]:focus { background-color: rgba(0, 0, 0, 0.25); } .customize-control-ast-responsive-slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 15px; height: 15px; border-radius: 50%; -webkit-border-radius: 50%; background-color: #3498D9; -webkit-appearance: none; width: 15px; height: 15px; border: none; border-radius: 50%; background-color: #3498D9; } .customize-control-ast-responsive-slider input[type=range]::-moz-range-thumb { width: 15px; height: 15px; border: none; border-radius: 50%; background-color: #3498D9; } .customize-control-ast-responsive-slider input[type=range]::-ms-thumb { width: 15px; height: 15px; border-radius: 50%; border: 0; background-color: #3498D9; } .customize-control-ast-responsive-slider input[type=range]::-moz-range-track { border: inherit; background: transparent; } .customize-control-ast-responsive-slider input[type=range]::-ms-track { border: inherit; color: transparent; background: transparent; } .customize-control-ast-responsive-slider input[type=range]::-ms-fill-lower, .customize-control-ast-responsive-slider input[type=range]::-ms-fill-upper { background: transparent; } .customize-control-ast-responsive-slider input[type=range]::-ms-tooltip { display: none; } .customize-control-ast-responsive-slider .astra_range_value { font-size: 14px; padding: 0 5px 0 0; font-weight: 400; position: relative; } .customize-control-ast-responsive-slider .ast-responsive-slider-reset { color: rgba(0, 0, 0, 0.2); position: absolute; top: -28px; left: 1.5em; display: inline-block; -webkit-transition: color 0.5s ease-in; -moz-transition: color 0.5s ease-in; -ms-transition: color 0.5s ease-in; -o-transition: color 0.5s ease-in; transition: color 0.5s ease-in; } .customize-control-ast-responsive-slider .ast-responsive-slider-reset span { font-size: 13px; line-height: 24px; transition: unset; } .customize-control-ast-responsive-slider .ast-responsive-slider-reset:hover, .customize-control-ast-responsive-slider .ast-responsive-slider-reset:focus { color: red; } .astra_range_value input.ast-responsive-range-value-input { width: 50px; height: 22px; font-size: 12px; padding: 3px; } .astra_range_value .ast-range-unit { margin-right: 5px; } .customize-control-ast-responsive-slider .input-field-wrapper { display: none; } .customize-control-ast-responsive-slider .input-field-wrapper.active { display: flex; justify-content: space-between; margin-left: 0; flex: 0 1; width: 100%; } /** * Responsive Icons */ .ast-responsive-slider-btns { display: inline-block; float: left; line-height: 1; margin-top: 5px; } .ast-responsive-slider-btns > li { margin-bottom: 0; display: none; } .ast-responsive-slider-btns > li.active { display: inline-block; } .ast-responsive-slider-btns button[type="button"] { padding: 0; cursor: pointer; background: none; border: none; opacity: .75; outline: none; } .ast-responsive-slider-btns button[type="button"] > i { width: 15px; height: 15px; font-size: 15px; } PK\% % 0custom-controls/assets/css/unminified/slider.cssnuW+A.customize-control-ast-slider .wrapper { position: relative; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; } .customize-control-ast-slider input[type=range] { -webkit-appearance: none; -webkit-transition: background 0.3s; -moz-transition: background 0.3s; transition: background 0.3s; background-color: rgba(0, 0, 0, 0.1); height: 5px; padding: 0; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; } .customize-control-ast-slider input[type=range]:focus { box-shadow: none; outline: none; } .customize-control-ast-slider input[type=range]:hover, .customize-control-ast-slider input[type=range]:focus { background-color: rgba(0, 0, 0, 0.25); } .customize-control-ast-slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 15px; height: 15px; border-radius: 50%; -webkit-border-radius: 50%; background-color: #3498D9; -webkit-appearance: none; width: 15px; height: 15px; border: none; border-radius: 50%; background-color: #3498D9; } .customize-control-ast-slider input[type=range]::-moz-range-thumb { width: 15px; height: 15px; border: none; border-radius: 50%; background-color: #3498D9; } .customize-control-ast-slider input[type=range]::-ms-thumb { width: 15px; height: 15px; border-radius: 50%; border: 0; background-color: #3498D9; } .customize-control-ast-slider input[type=range]::-moz-range-track { border: inherit; background: transparent; } .customize-control-ast-slider input[type=range]::-ms-track { border: inherit; color: transparent; background: transparent; } .customize-control-ast-slider input[type=range]::-ms-fill-lower, .customize-control-ast-slider input[type=range]::-ms-fill-upper { background: transparent; } .customize-control-ast-slider input[type=range]::-ms-tooltip { display: none; } .customize-control-ast-slider .astra_range_value { font-size: 14px; padding: 0 0 0 5px; font-weight: 400; position: relative; } .customize-control-ast-slider .ast-slider-reset { color: rgba(0, 0, 0, 0.2); position: absolute; top: -28px; right: 0; /*float: right;*/ display: inline-block; -webkit-transition: color 0.5s ease-in; -moz-transition: color 0.5s ease-in; -ms-transition: color 0.5s ease-in; -o-transition: color 0.5s ease-in; transition: color 0.5s ease-in; } .customize-control-ast-slider .ast-slider-reset span { font-size: 16px; line-height: 22px; transition: unset; } .customize-control-ast-slider .ast-slider-reset:hover, .customize-control-ast-slider .ast-slider-reset:focus { color: red; } .astra_range_value input.ast-range-value-input { width: 50px; height: 22px; font-size: 12px; padding: 3px; } .astra_range_value .ast-range-unit { margin-left: 5px; } PK\v ?custom-controls/assets/css/unminified/responsive-background.cssnuW+A.customize-control-ast-responsive-background { position: relative; } .customize-control-ast-responsive-background .screen-reader-text { top: initial; } .customize-control-ast-responsive-background .background-container h4 { font-size: 14px; font-weight: 600; color: #555d66; } .customize-control-ast-responsive-background .background-attachment h4, .customize-control-ast-responsive-background .background-color h4, .customize-control-ast-responsive-background .background-position h4, .customize-control-ast-responsive-background .background-repeat h4, .customize-control-ast-responsive-background .background-size h4 { margin-bottom: 5px; margin-top: 10px; } .customize-control-ast-responsive-background .background-color { margin-bottom: 12px; } .customize-control-ast-responsive-background .background-repeat { margin: 15px 0 15px 0; } .customize-control-ast-responsive-background .background-attachment .buttonset, .customize-control-ast-responsive-background .background-size .buttonset { display: flex; flex-wrap: wrap; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-label, .customize-control-ast-responsive-background .background-size .buttonset .switch-label { background: #ffffff; border: 1px solid rgba(0, 0, 0, 0.1); color: #555; padding: 2px 4px; margin-right: 15px; text-align: center; flex-grow: 1; transition: background-color 140ms linear; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-label:last-child, .customize-control-ast-responsive-background .background-size .buttonset .switch-label:last-child { margin-right: 0; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-input:checked + .switch-label, .customize-control-ast-responsive-background .background-size .buttonset .switch-input:checked + .switch-label { background-color: #f5f5f5; color: #565e67; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-input[checked="checked"] + .switch-label, .customize-control-ast-responsive-background .background-size .buttonset .switch-input[checked="checked"] + .switch-label { background-color: #f5f5f5; color: #565e67; } .customize-control-ast-responsive-background .more-settings { margin-top: 6px; display: inline-block; padding: 5px 0 5px 0; float: right; } .customize-control-ast-responsive-background .more-settings:focus { outline: 0; box-shadow: none; } .customize-control-ast-responsive-background .arrow-icon { margin-left: 5px; } .customize-control-ast-responsive-background .background-container { display: none; } .customize-control-ast-responsive-background .background-container.active { display: block; } PK\|C+;custom-controls/assets/css/unminified/responsive-slider.cssnuW+A.customize-control-ast-responsive-slider .wrapper { position: relative; height: 100%; } .customize-control-ast-responsive-slider .input-field-wrapper { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; } .customize-control-ast-responsive-slider input[type=range] { -webkit-appearance: none; -webkit-transition: background 0.3s; -moz-transition: background 0.3s; transition: background 0.3s; background-color: rgba(0, 0, 0, 0.1); height: 5px; padding: 0; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; } .customize-control-ast-responsive-slider input[type=range]:focus { box-shadow: none; outline: none; } .customize-control-ast-responsive-slider input[type=range]:hover, .customize-control-ast-responsive-slider input[type=range]:focus { background-color: rgba(0, 0, 0, 0.25); } .customize-control-ast-responsive-slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 15px; height: 15px; border-radius: 50%; -webkit-border-radius: 50%; background-color: #3498D9; -webkit-appearance: none; width: 15px; height: 15px; border: none; border-radius: 50%; background-color: #3498D9; } .customize-control-ast-responsive-slider input[type=range]::-moz-range-thumb { width: 15px; height: 15px; border: none; border-radius: 50%; background-color: #3498D9; } .customize-control-ast-responsive-slider input[type=range]::-ms-thumb { width: 15px; height: 15px; border-radius: 50%; border: 0; background-color: #3498D9; } .customize-control-ast-responsive-slider input[type=range]::-moz-range-track { border: inherit; background: transparent; } .customize-control-ast-responsive-slider input[type=range]::-ms-track { border: inherit; color: transparent; background: transparent; } .customize-control-ast-responsive-slider input[type=range]::-ms-fill-lower, .customize-control-ast-responsive-slider input[type=range]::-ms-fill-upper { background: transparent; } .customize-control-ast-responsive-slider input[type=range]::-ms-tooltip { display: none; } .customize-control-ast-responsive-slider .astra_range_value { font-size: 14px; padding: 0 0 0 5px; font-weight: 400; position: relative; } .customize-control-ast-responsive-slider .ast-responsive-slider-reset { color: rgba(0, 0, 0, 0.2); position: absolute; top: -28px; right: 1.5em; display: inline-block; -webkit-transition: color 0.5s ease-in; -moz-transition: color 0.5s ease-in; -ms-transition: color 0.5s ease-in; -o-transition: color 0.5s ease-in; transition: color 0.5s ease-in; } .customize-control-ast-responsive-slider .ast-responsive-slider-reset span { font-size: 13px; line-height: 24px; transition: unset; } .customize-control-ast-responsive-slider .ast-responsive-slider-reset:hover, .customize-control-ast-responsive-slider .ast-responsive-slider-reset:focus { color: red; } .astra_range_value input.ast-responsive-range-value-input { width: 50px; height: 22px; font-size: 12px; padding: 3px; } .astra_range_value .ast-range-unit { margin-left: 5px; } .customize-control-ast-responsive-slider .input-field-wrapper { display: none; } .customize-control-ast-responsive-slider .input-field-wrapper.active { display: flex; justify-content: space-between; margin-right: 0; flex: 0 1; width: 100%; } /** * Responsive Icons */ .ast-responsive-slider-btns { display: inline-block; float: right; line-height: 1; margin-top: 5px; } .ast-responsive-slider-btns > li { margin-bottom: 0; display: none; } .ast-responsive-slider-btns > li.active { display: inline-block; } .ast-responsive-slider-btns button[type="button"] { padding: 0; cursor: pointer; background: none; border: none; opacity: .75; outline: none; } .ast-responsive-slider-btns button[type="button"] > i { width: 15px; height: 15px; font-size: 15px; } PK\NQ8custom-controls/assets/css/unminified/settings-group.cssnuW+A.ast-adv-toggle-icon { right: 2px; top: -2px; position: absolute; width: 18px; height: 18px; font-size: 18px; border: 1px solid #ddd; border-radius: 2px; padding: 4px; color: #0073aa; background: #fff; } .ast-adv-toggle-icon:hover { color: #099fd6; } .ast-adv-toggle-icon:before { content: "\f464"; } .ast-adv-toggle-icon.open:before { content: "\f158"; } .ast-field-settings-modal { position: absolute; -webkit-box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); -webkit-border-radius: 3px; border-radius: 3px; left: 0; right: 0; z-index: 10000; background-color: #fff; } .ast-field-settings-modal .customize-control-ast-divider:first-child { margin-top: 15px; } .ast-field-settings-wrap { width: 100%; } .ast-group-tabs, .ast-tab-content { position: relative; } .ast-group-list { overflow: hidden; border-bottom: 1px solid #ddd; } .ast-group-list:before, .ast-group-list:after { content: ""; display: table; border-collapse: collapse; } /* Tab anchor color */ .ui-tabs-anchor { float: left; padding: .5em 0.5em; color: #555d66; text-decoration: none; } .ui-state-active .ui-tabs-anchor { color: #ffffff; } .ui-tabs-anchor:hover { color: #555d66; } .ui-state-active .ui-tabs-anchor:hover { color: #ffffff; } .ast-group-tabs .ui-widget-content { overflow: hidden; /*padding-top: 15px;*/ } .ast-group-tabs .ui-widget-content.iris-slider-offset, .ast-group-tabs .ui-widget-content.iris-slider-offset-alpha { overflow: inherit; } .ast-fields-wrap { overflow: hidden; } .ast-field-settings-wrap { -webkit-box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); -webkit-border-radius: 3px; background-color: #fff; } .ast-field-settings-wrap .ast-field-settings-modal { border-radius: 3px; margin-top: 9px; margin-bottom: 20px; } .ast-field-settings-modal::before { content: ''; position: absolute; top: -17px; right: 8px; border: 9px solid transparent; border-bottom-color: #fff; pointer-events: none; } .ast-group-tabs .ui-tabs-nav { display: flex; padding: 15px 15px 0 15px; } .ast-group-tabs .ui-tabs-nav .ui-corner-top { align-items: center; flex: 1 1 auto; justify-content: center; margin: 0 0; padding: 0; border: 1px solid #ccc; transition: background-color 140ms linear; } .ast-group-tabs .ui-tabs-nav .ui-corner-top:first-child { border-radius: 3px 0px 0px 3px; } .ast-group-tabs .ui-tabs-nav .ui-corner-top:last-child { border-radius: 0px 3px 3px 0px; } .ast-group-tabs .ui-tabs-nav .ui-corner-top .ui-tabs-anchor { width: 100%; text-align: center; padding: 2px 4px; padding-left: 0; padding-right: 0; outline: none; } .ast-group-tabs ul.ast-group-list .ui-corner-top .ui-tabs-anchor:focus { box-shadow: none; } .ast-group-tabs .ui-tabs-nav { border: none; } .ast-group-tabs ul.ast-group-list .ui-corner-top.ui-state-active { background-color: #0185BA; border: 1px solid rgba(0, 0, 0, 0.1); } .ast-group-tabs .ui-tabs-nav { overflow: visible; } .ast-group-tabs ul.ast-group-list .ui-corner-top:not(:first-child) { border-left-width: 0; } /* Buttons */ .wp-core-ui .ast-field-settings-modal .background-image-upload .button { font-size: 11px; } /* Popup params padding */ .ast-field-settings-modal .customize-control { padding-left: 15px; padding-right: 15px; box-sizing: border-box; } .ast-field-settings-modal .customize-control:first-child { margin-top: 15px; } .ast-field-settings-modal .ui-tabs-nav .customize-control:first-child { margin-top: 0; } .ast-field-settings-modal .customize-control:last-child { padding-bottom: 15px; } .customize-control-ast-settings-group { line-height: 27px; } .customize-control-ast-settings-group .customize-control-title { margin-bottom: 0; } .customize-control-ast-settings-group .ast-field-settings-modal .customize-control-title { margin-bottom: 10px; font-size: 13px; } .ast-field-settings-modal .customize-control { margin-top: 10px; } PK\pDb5custom-controls/assets/css/unminified/divider-rtl.cssnuW+A.customize-control-ast-divider hr { margin-top: 12px; } .customize-control-ast-divider .customize-control-title { font-size: 15px; margin: 1em 0 0.2em; } .ast-field-settings-modal .customize-control-ast-divider { background-color: #f5f5f5; display: block; padding: 6px 14px; margin: 0; border-width: 1px 0; border-style: solid; border-color: #dddddd; line-height: 1; margin-top: 15px; } .customize-control-ast-settings-group .ast-field-settings-modal .customize-control-ast-divider .customize-control-title { font-weight: 500; letter-spacing: 1px; font-size: 11px; margin: 0; text-transform: uppercase; } PK\L x9custom-controls/assets/css/unminified/description-rtl.cssnuW+A.customize-control-ast-description .ast-description { font-style: italic; } .customize-control-ast-description a.button { margin-top: 10px; font-style: normal; } .customize-control-ast-description p { margin: 0; cursor: initial; } PK\O̦334custom-controls/assets/css/unminified/responsive.cssnuW+A.ast-responsive-btns { display: inline-block; float: right; line-height: 1; margin-top: 6px; } .ast-responsive-btns > li { margin-bottom: 0; display: none; } .ast-responsive-btns > li.active { display: inline-block; } .ast-responsive-btns button[type="button"] { padding: 0; cursor: pointer; background: none; border: none; opacity: .75; outline: none; } .ast-responsive-btns button[type="button"] > i { width: 15px; height: 15px; font-size: 15px; } .ast-field-settings-modal .ast-responsive-btns { margin-top: 6px; } .customize-control-ast-responsive .input-wrapper { overflow: hidden; } .customize-control-ast-responsive .input-wrapper input { display: none; width: 82%; float: none; } .customize-control-ast-responsive .input-wrapper input.active { display: block; } .customize-control-ast-responsive .input-wrapper .ast-responsive-select { width: 50px; margin: 0; display: none; padding: .1em; margin-left: 2px; float: none; } .customize-control-ast-responsive .input-wrapper .ast-responsive-input.active + .ast-responsive-select { display: block; width: 17%; float: none; } .customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input { display: inline-block; } .customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input.active { display: inline-block; } .customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-select { display: inline-block; } #customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper { display: inline-block; } #customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-select { display: none; } #customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-input { width: 100%; } .input-wrapper.ast-responsive-wrapper { display: inline-flex; justify-content: space-between; margin-right: 0; align-items: flex-start; flex: 0 1; width: 100%; } PK\pDb1custom-controls/assets/css/unminified/divider.cssnuW+A.customize-control-ast-divider hr { margin-top: 12px; } .customize-control-ast-divider .customize-control-title { font-size: 15px; margin: 1em 0 0.2em; } .ast-field-settings-modal .customize-control-ast-divider { background-color: #f5f5f5; display: block; padding: 6px 14px; margin: 0; border-width: 1px 0; border-style: solid; border-color: #dddddd; line-height: 1; margin-top: 15px; } .customize-control-ast-settings-group .ast-field-settings-modal .customize-control-ast-divider .customize-control-title { font-weight: 500; letter-spacing: 1px; font-size: 11px; margin: 0; text-transform: uppercase; } PK\Jh2custom-controls/assets/css/unminified/sortable.cssnuW+A.customize-control-ast-sortable ul.ui-sortable { cursor: default; } .customize-control-ast-sortable ul.ui-sortable .dashicons-visibility { cursor: pointer; } .customize-control-ast-sortable ul.ui-sortable li { padding: 5px 10px; border: 1px solid #333; background: #fff; cursor: move; } .customize-control-ast-sortable ul.ui-sortable li .dashicons.dashicons-menu { float: right; } .customize-control-ast-sortable ul.ui-sortable li .dashicons.visibility { margin-right: 10px; } .customize-control-ast-sortable ul.ui-sortable li.invisible { color: #aaa; border: 1px dashed #aaa; } .customize-control-ast-sortable ul.ui-sortable li.invisible .dashicons.visibility { color: #aaa; } PK\I7 9custom-controls/assets/css/unminified/custom-controls.cssnuW+A#customize-controls .customize-control-notifications-container { margin: 0; } .customize-control-ast-background .screen-reader-text { top: initial; } .customize-control-ast-background .background-container h4 { font-weight: normal; } .customize-control-ast-background .background-attachment h4, .customize-control-ast-background .background-color h4, .customize-control-ast-background .background-position h4, .customize-control-ast-background .background-repeat h4, .customize-control-ast-background .background-size h4 { margin-bottom: 5px; margin-top: 10px; } .customize-control-ast-background .background-color { margin-bottom: 12px; } .customize-control-ast-background .background-repeat { margin: 15px 0 8px 0; } .customize-control-ast-background .background-attachment .buttonset, .customize-control-ast-background .background-size .buttonset { display: flex; flex-wrap: wrap; } .customize-control-ast-background .background-attachment .buttonset .switch-label, .customize-control-ast-background .background-size .buttonset .switch-label { background: #ffffff; border: 1px solid rgba(0, 0, 0, 0.1); color: #555; padding: 2px 4px; margin-right: 15px; text-align: center; flex-grow: 1; transition: background-color 140ms linear; } .customize-control-ast-background .background-attachment .buttonset .switch-label:last-child, .customize-control-ast-background .background-size .buttonset .switch-label:last-child { margin-right: 0; } .customize-control-ast-background .background-attachment .buttonset .switch-input:checked + .switch-label, .customize-control-ast-background .background-size .buttonset .switch-input:checked + .switch-label, .customize-control-ast-background .background-attachment .buttonset .switch-input[checked="checked"] + .switch-label, .customize-control-ast-background .background-size .buttonset .switch-input[checked="checked"] + .switch-label { background-color: #f5f5f5; color: #565e67; } .customize-control-ast-background .more-settings { margin-top: 12px; display: inline-block; padding: 5px 0 5px 0; float: right; } .customize-control-ast-background .more-settings:focus { outline: 0; box-shadow: none; } .customize-control-ast-background .arrow-icon { margin-left: 5px; } .ast-field-settings-modal .customize-control-ast-background .more-settings { margin-top: 6px; } .customize-control-ast-border { /* Unit Screen wrap */ } .customize-control-ast-border .customize-control-title { display: inline-block; } .customize-control-ast-border .ast-border-outer-wrapper { display: flex; position: relative; } .customize-control-ast-border .ast-border-wrapper { display: flex; } .customize-control-ast-border .ast-border-btns { display: block; text-align: center; line-height: 2; border: 1px solid #dddddd; background-color: #ffffff; border-radius: 0 3px 3px 0; } .customize-control-ast-border .ast-border-btns > li { margin-bottom: 0; display: none; width: 35px; height: 26px; } .customize-control-ast-border .ast-border-btns > li.active { display: inline-block; } .customize-control-ast-border .ast-border-btns button[type="button"] { padding: 0; cursor: pointer; background: none; border: none; opacity: .75; outline: none; width: 100%; height: 100%; } .customize-control-ast-border .ast-border-btns button[type="button"] > i { width: 15px; height: 15px; font-size: 15px; margin-top: 1px; } .customize-control-ast-border .input-wrapper .ast-border-wrapper { display: none; } .customize-control-ast-border .input-wrapper .ast-border-wrapper li { text-align: center; -webkit-box-flex: 1; -ms-flex: auto; flex: auto; margin-bottom: 0; } .customize-control-ast-border .input-wrapper .ast-border-wrapper li input.ast-border-input { text-align: center; display: block; font-size: 12px; padding: 4px 0; width: 100%; height: 28px; border: 1px solid #dddddd; border-right-width: 0; box-shadow: none; padding-left: 11px; } .customize-control-ast-border .input-wrapper .ast-border-wrapper li .ast-border-connected { color: #ffffff; } .customize-control-ast-border .input-wrapper .ast-border-wrapper li:last-child input.ast-border-input { border-right-width: 1px; border-radius: 0 3px 3px 0; } .customize-control-ast-border .input-wrapper .ast-border-wrapper.active { display: flex; } .customize-control-ast-border .input-wrapper .ast-border-wrapper span.ast-border-title { text-transform: uppercase; font-size: 10px; opacity: .75; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected { display: none; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-disconnected { display: none; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-connected { display: block; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link span { width: 35px; height: 26px; line-height: 26px; font-size: 14px; border: 1px solid #dddddd; background-color: #ffffff; border-radius: 3px 0 0 3px; border-right-width: 0; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected { background-color: #1e8cbe; } .customize-control-ast-customizer-link .customizer-link { font-style: italic; text-decoration: none; } /* Customizer Scroll CSS */ .accordion-section-content::-webkit-scrollbar, .wp-full-overlay-sidebar-content::-webkit-scrollbar { width: 6px; background-color: #f1f1f1; } .accordion-section-content::-webkit-scrollbar-thumb, .wp-full-overlay-sidebar-content::-webkit-scrollbar-thumb { border-radius: 10px; background-color: #d8d8d8; } .accordion-section-content::-webkit-scrollbar-track, .wp-full-overlay-sidebar-content::-webkit-scrollbar-track { -webkit-box-shadow: inset 0 0 0 rgba(0, 0, 0, 0.3); width: 6px; } .wp-full-overlay-sidebar:after { display: none; } #customize-theme-controls .control-section-ast-section-separator { margin-top: 15px; border-top: 1px solid #ddd; display: block !important; } .customize-control { position: relative; margin-bottom: 0; margin-top: 12px; } .customize-control .customize-inside-control-row { padding-top: 0; padding-bottom: 0; } .customize-control-title { display: inline-block; margin-bottom: 12px; } .customize-control-ast-font-variant .select2 { margin-bottom: 12px; } .customize-control .ast-control-tooltip { position: absolute; top: 0; right: 0; } .customize-control.customize-control-ast-divider .ast-control-tooltip { position: absolute; top: auto; bottom: 3px; right: 0; } .ast-fields-wrap .customize-control .ast-control-tooltip { right: 15px; top: 6px; } /* Select2 WP 5.3 compatibility */ .customize-control .select2-search input[type="text"].select2-search__field { min-height: 17px; } input[type="text"].select2-search__field { line-height: 1; border-radius: 0; } /* CSS to show popups without scroll */ #customize-theme-controls .control-section.open { height: 100%; } /* Safari Browser specific CSS */ @media not all and (min-resolution: 0.001dpcm) { @supports (-webkit-appearance: none) { #customize-control-astra-settings-ast-header-responsive-logo-width .wrapper { display: inline-block; width: 100%; } .dashicons-desktop:before, .dashicons-tablet:before, .dashicons-smartphone:before { color: #000000; opacity: .75; } .ast-field-settings-modal .customize-control-ast-responsive .input-wrapper .ast-responsive-input.active + .ast-responsive-select { width: 20%; } } } /* Firefox Browser specific CSS */ @-moz-document url-prefix() { .control-section.open .customize-control:last-child { margin-bottom: 20px; } } /* IE Browser specific CSS */ @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { .control-section.open .customize-control:last-child { padding-bottom: 20px; } #customize-control-astra-settings-blog-archive-image-width .customize-control-title, #customize-control-astra-settings-blog-archive-image-height .customize-control-title, #customize-control-astra-settings-blog-single-post-image-width .customize-control-title, #customize-control-astra-settings-blog-single-post-image-height .customize-control-title { margin-left: 0px; margin-right: 20px; } } .customize-control-ast-description .ast-description { font-style: italic; } .customize-control-ast-description a.button { margin-top: 10px; font-style: normal; } .customize-control-ast-description p { margin: 0; cursor: initial; } .customize-control-ast-divider hr { margin-top: 12px; } .customize-control-ast-divider .customize-control-title { font-size: 15px; margin: 1em 0 0.2em; } .ast-field-settings-modal .customize-control-ast-divider { background-color: #f5f5f5; display: block; padding: 6px 14px; margin: 0; border-width: 1px 0; border-style: solid; border-color: #dddddd; line-height: 1; margin-top: 15px; } .customize-control-ast-settings-group .ast-field-settings-modal .customize-control-ast-divider .customize-control-title { font-weight: 500; letter-spacing: 1px; font-size: 11px; margin: 0; text-transform: uppercase; } .ast-field-settings-wrap .customize-control-ast-heading { margin: 0px 0 15px 0; } .accordion-section-content.open .customize-control-ast-heading:nth-child(2), .accordion-section-content.open .customize-control-ast-heading:nth-child(3) { margin-top: 0; } .customize-control-ast-heading { margin-top: 20px; margin-bottom: 8px; } .customize-control-ast-heading .ast-heading-wrapper { margin: 0 -12px; } .customize-control-ast-heading .customize-control-title { display: block; padding: 13px 12px; margin: 0; border-width: 1px 0; border-style: solid; border-color: #dddddd; background-color: #fff; font-size: 11.5px; font-weight: 500; letter-spacing: 1px; line-height: 1; text-transform: uppercase; } .customize-control-ast-heading .customize-control-caption { top: 50%; transform: translateY(-50%); position: absolute; right: 0; font-size: 11px; font-weight: 500; letter-spacing: 1px; } .customize-control-ast-heading .customize-control-description { margin-top: 10px; } .ast-heading-wrapper label { cursor: default; } .customize-control > label { cursor: default; } .customize-control .ast-spacing-input-item-link, .customize-control .ast-border-input-item-link { cursor: pointer; } .customize-control.customize-control-ast-slider label { cursor: pointer; } .customize-control.customize-control-ast-slider label .wrapper input[type=range] { cursor: pointer; } .ast-link-open-in-new-tab-wrapper { margin: 10px 0; } .customize-control-ast-radio-image label { position: relative; display: inline-block; margin-right: 12px; } .customize-control-ast-radio-image input { display: none; } .customize-control-ast-radio-image input:checked + label svg { background: #ffffff; border-radius: 3px; box-shadow: 0 0 3px 0px rgba(0, 133, 186, 0.67); } .customize-control-ast-radio-image input + label .image-clickable { position: absolute; top: 0; bottom: 0; left: 0; right: 0; width: 100%; height: 100%; } .customize-control-ast-radio-image .ast-radio-img-svg svg { width: 73px; height: 49px; } #customize-control-astra-settings-above-header-menu-align .ast-radio-img-svg svg, #customize-control-astra-settings-header-main-menu-align .ast-radio-img-svg svg, #customize-control-astra-settings-below-header-menu-align .ast-radio-img-svg svg { width: 37px; height: 49px; } #customize-control-astra-settings-footer-adv .image label { margin-bottom: 12px; } .customize-control-ast-responsive-background { position: relative; } .customize-control-ast-responsive-background .screen-reader-text { top: initial; } .customize-control-ast-responsive-background .background-container h4 { font-size: 14px; font-weight: 600; color: #555d66; } .customize-control-ast-responsive-background .background-attachment h4, .customize-control-ast-responsive-background .background-color h4, .customize-control-ast-responsive-background .background-position h4, .customize-control-ast-responsive-background .background-repeat h4, .customize-control-ast-responsive-background .background-size h4 { margin-bottom: 5px; margin-top: 10px; } .customize-control-ast-responsive-background .background-color { margin-bottom: 12px; } .customize-control-ast-responsive-background .background-repeat { margin: 15px 0 15px 0; } .customize-control-ast-responsive-background .background-attachment .buttonset, .customize-control-ast-responsive-background .background-size .buttonset { display: flex; flex-wrap: wrap; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-label, .customize-control-ast-responsive-background .background-size .buttonset .switch-label { background: #ffffff; border: 1px solid rgba(0, 0, 0, 0.1); color: #555; padding: 2px 4px; margin-right: 15px; text-align: center; flex-grow: 1; transition: background-color 140ms linear; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-label:last-child, .customize-control-ast-responsive-background .background-size .buttonset .switch-label:last-child { margin-right: 0; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-input:checked + .switch-label, .customize-control-ast-responsive-background .background-size .buttonset .switch-input:checked + .switch-label { background-color: #f5f5f5; color: #565e67; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-input[checked="checked"] + .switch-label, .customize-control-ast-responsive-background .background-size .buttonset .switch-input[checked="checked"] + .switch-label { background-color: #f5f5f5; color: #565e67; } .customize-control-ast-responsive-background .more-settings { margin-top: 6px; display: inline-block; padding: 5px 0 5px 0; float: right; } .customize-control-ast-responsive-background .more-settings:focus { outline: 0; box-shadow: none; } .customize-control-ast-responsive-background .arrow-icon { margin-left: 5px; } .customize-control-ast-responsive-background .background-container { display: none; } .customize-control-ast-responsive-background .background-container.active { display: block; } .customize-control-ast-responsive-color .customize-control-content .wp-picker-container { display: none; } .customize-control-ast-responsive-color .customize-control-content .wp-picker-container.active { display: block; } .customize-control-ast-responsive-slider .wrapper { position: relative; height: 100%; } .customize-control-ast-responsive-slider .input-field-wrapper { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; } .customize-control-ast-responsive-slider input[type=range] { -webkit-appearance: none; -webkit-transition: background 0.3s; -moz-transition: background 0.3s; transition: background 0.3s; background-color: rgba(0, 0, 0, 0.1); height: 5px; padding: 0; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; } .customize-control-ast-responsive-slider input[type=range]:focus { box-shadow: none; outline: none; } .customize-control-ast-responsive-slider input[type=range]:hover, .customize-control-ast-responsive-slider input[type=range]:focus { background-color: rgba(0, 0, 0, 0.25); } .customize-control-ast-responsive-slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 15px; height: 15px; border-radius: 50%; -webkit-border-radius: 50%; background-color: #3498D9; -webkit-appearance: none; width: 15px; height: 15px; border: none; border-radius: 50%; background-color: #3498D9; } .customize-control-ast-responsive-slider input[type=range]::-moz-range-thumb { width: 15px; height: 15px; border: none; border-radius: 50%; background-color: #3498D9; } .customize-control-ast-responsive-slider input[type=range]::-ms-thumb { width: 15px; height: 15px; border-radius: 50%; border: 0; background-color: #3498D9; } .customize-control-ast-responsive-slider input[type=range]::-moz-range-track { border: inherit; background: transparent; } .customize-control-ast-responsive-slider input[type=range]::-ms-track { border: inherit; color: transparent; background: transparent; } .customize-control-ast-responsive-slider input[type=range]::-ms-fill-lower, .customize-control-ast-responsive-slider input[type=range]::-ms-fill-upper { background: transparent; } .customize-control-ast-responsive-slider input[type=range]::-ms-tooltip { display: none; } .customize-control-ast-responsive-slider .astra_range_value { font-size: 14px; padding: 0 0 0 5px; font-weight: 400; position: relative; } .customize-control-ast-responsive-slider .ast-responsive-slider-reset { color: rgba(0, 0, 0, 0.2); position: absolute; top: -28px; right: 1.5em; display: inline-block; -webkit-transition: color 0.5s ease-in; -moz-transition: color 0.5s ease-in; -ms-transition: color 0.5s ease-in; -o-transition: color 0.5s ease-in; transition: color 0.5s ease-in; } .customize-control-ast-responsive-slider .ast-responsive-slider-reset span { font-size: 13px; line-height: 24px; transition: unset; } .customize-control-ast-responsive-slider .ast-responsive-slider-reset:hover, .customize-control-ast-responsive-slider .ast-responsive-slider-reset:focus { color: red; } .astra_range_value input.ast-responsive-range-value-input { width: 50px; height: 22px; font-size: 12px; padding: 3px; } .astra_range_value .ast-range-unit { margin-left: 5px; } .customize-control-ast-responsive-slider .input-field-wrapper { display: none; } .customize-control-ast-responsive-slider .input-field-wrapper.active { display: flex; justify-content: space-between; margin-right: 0; flex: 0 1; width: 100%; } /** * Responsive Icons */ .ast-responsive-slider-btns { display: inline-block; float: right; line-height: 1; margin-top: 5px; } .ast-responsive-slider-btns > li { margin-bottom: 0; display: none; } .ast-responsive-slider-btns > li.active { display: inline-block; } .ast-responsive-slider-btns button[type="button"] { padding: 0; cursor: pointer; background: none; border: none; opacity: .75; outline: none; } .ast-responsive-slider-btns button[type="button"] > i { width: 15px; height: 15px; font-size: 15px; } .customize-control-ast-responsive-spacing { /* Unit Screen wrap */ } .customize-control-ast-responsive-spacing .customize-control-title { display: inline-block; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-outer-wrapper { display: flex; position: relative; } .customize-control-ast-responsive-spacing .ast-spacing-input-item { margin-bottom: 0; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns { display: block; text-align: center; line-height: 2; border: 1px solid #dddddd; background-color: #ffffff; border-radius: 0 3px 3px 0; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns > li { margin-bottom: 0; display: none; width: 35px; height: 26px; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns > li.active { display: inline-block; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type="button"] { padding: 0; cursor: pointer; background: none; border: none; opacity: .75; outline: none; width: 100%; height: 100%; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type="button"] > i { font-size: 15px; margin-top: 1px; vertical-align: middle; } .customize-control-ast-responsive-spacing .input-wrapper.ast-spacing-responsive-wrapper { display: inline-flex; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-units { position: absolute; transform: translateY(-100%); font-size: 11px; text-transform: uppercase; top: 0; right: 0; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit { display: inline-block; margin-left: 6px; width: 16px; text-align: center; user-select: none; opacity: 0.7; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit.active { text-decoration: underline; opacity: 1; color: #000000; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper { display: none; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li { text-align: center; -webkit-box-flex: 1; -ms-flex: auto; flex: auto; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li input.ast-spacing-input { text-align: center; display: block; font-size: 12px; padding: 4px 0; width: 100%; height: 28px; border: 1px solid #dddddd; border-right-width: 0; box-shadow: none; padding-left: 11px; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li .ast-spacing-connected { color: #1e8cbe; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper.active { display: flex; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper span.ast-spacing-title { text-transform: uppercase; font-size: 10px; opacity: .75; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link .ast-spacing-connected { display: none; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-disconnected { display: none; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-connected { display: block; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link span { width: 35px; height: 26px; line-height: 26px; font-size: 14px; border: 1px solid #dddddd; background-color: #ffffff; border-radius: 3px 0 0 3px; border-right-width: 0; } .ast-responsive-btns { display: inline-block; float: right; line-height: 1; margin-top: 6px; } .ast-responsive-btns > li { margin-bottom: 0; display: none; } .ast-responsive-btns > li.active { display: inline-block; } .ast-responsive-btns button[type="button"] { padding: 0; cursor: pointer; background: none; border: none; opacity: .75; outline: none; } .ast-responsive-btns button[type="button"] > i { width: 15px; height: 15px; font-size: 15px; } .ast-field-settings-modal .ast-responsive-btns { margin-top: 6px; } .customize-control-ast-responsive .input-wrapper { overflow: hidden; } .customize-control-ast-responsive .input-wrapper input { display: none; width: 82%; float: none; } .customize-control-ast-responsive .input-wrapper input.active { display: block; } .customize-control-ast-responsive .input-wrapper .ast-responsive-select { width: 50px; margin: 0; display: none; padding: .1em; margin-left: 2px; float: none; } .customize-control-ast-responsive .input-wrapper .ast-responsive-input.active + .ast-responsive-select { display: block; width: 17%; float: none; } .customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input { display: inline-block; } .customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input.active { display: inline-block; } .customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-select { display: inline-block; } #customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper { display: inline-block; } #customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-select { display: none; } #customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-input { width: 100%; } .input-wrapper.ast-responsive-wrapper { display: inline-flex; justify-content: space-between; margin-right: 0; align-items: flex-start; flex: 0 1; width: 100%; } .ast-adv-toggle-icon { right: 2px; top: -2px; position: absolute; width: 18px; height: 18px; font-size: 18px; border: 1px solid #ddd; border-radius: 2px; padding: 4px; color: #0073aa; background: #fff; } .ast-adv-toggle-icon:hover { color: #099fd6; } .ast-adv-toggle-icon:before { content: "\f464"; } .ast-adv-toggle-icon.open:before { content: "\f158"; } .ast-field-settings-modal { position: absolute; -webkit-box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); -webkit-border-radius: 3px; border-radius: 3px; left: 0; right: 0; z-index: 10000; background-color: #fff; } .ast-field-settings-modal .customize-control-ast-divider:first-child { margin-top: 15px; } .ast-field-settings-wrap { width: 100%; } .ast-group-tabs, .ast-tab-content { position: relative; } .ast-group-list { overflow: hidden; border-bottom: 1px solid #ddd; } .ast-group-list:before, .ast-group-list:after { content: ""; display: table; border-collapse: collapse; } /* Tab anchor color */ .ui-tabs-anchor { float: left; padding: .5em 0.5em; color: #555d66; text-decoration: none; } .ui-state-active .ui-tabs-anchor { color: #ffffff; } .ui-tabs-anchor:hover { color: #555d66; } .ui-state-active .ui-tabs-anchor:hover { color: #ffffff; } .ast-group-tabs .ui-widget-content { overflow: hidden; /*padding-top: 15px;*/ } .ast-group-tabs .ui-widget-content.iris-slider-offset, .ast-group-tabs .ui-widget-content.iris-slider-offset-alpha { overflow: inherit; } .ast-fields-wrap { overflow: hidden; } .ast-field-settings-wrap { -webkit-box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); -webkit-border-radius: 3px; background-color: #fff; } .ast-field-settings-wrap .ast-field-settings-modal { border-radius: 3px; margin-top: 9px; margin-bottom: 20px; } .ast-field-settings-modal::before { content: ''; position: absolute; top: -17px; right: 8px; border: 9px solid transparent; border-bottom-color: #fff; pointer-events: none; } .ast-group-tabs .ui-tabs-nav { display: flex; padding: 15px 15px 0 15px; } .ast-group-tabs .ui-tabs-nav .ui-corner-top { align-items: center; flex: 1 1 auto; justify-content: center; margin: 0 0; padding: 0; border: 1px solid #ccc; transition: background-color 140ms linear; } .ast-group-tabs .ui-tabs-nav .ui-corner-top:first-child { border-radius: 3px 0px 0px 3px; } .ast-group-tabs .ui-tabs-nav .ui-corner-top:last-child { border-radius: 0px 3px 3px 0px; } .ast-group-tabs .ui-tabs-nav .ui-corner-top .ui-tabs-anchor { width: 100%; text-align: center; padding: 2px 4px; padding-left: 0; padding-right: 0; outline: none; } .ast-group-tabs ul.ast-group-list .ui-corner-top .ui-tabs-anchor:focus { box-shadow: none; } .ast-group-tabs .ui-tabs-nav { border: none; } .ast-group-tabs ul.ast-group-list .ui-corner-top.ui-state-active { background-color: #0185BA; border: 1px solid rgba(0, 0, 0, 0.1); } .ast-group-tabs .ui-tabs-nav { overflow: visible; } .ast-group-tabs ul.ast-group-list .ui-corner-top:not(:first-child) { border-left-width: 0; } /* Buttons */ .wp-core-ui .ast-field-settings-modal .background-image-upload .button { font-size: 11px; } /* Popup params padding */ .ast-field-settings-modal .customize-control { padding-left: 15px; padding-right: 15px; box-sizing: border-box; } .ast-field-settings-modal .customize-control:first-child { margin-top: 15px; } .ast-field-settings-modal .ui-tabs-nav .customize-control:first-child { margin-top: 0; } .ast-field-settings-modal .customize-control:last-child { padding-bottom: 15px; } .customize-control-ast-settings-group { line-height: 27px; } .customize-control-ast-settings-group .customize-control-title { margin-bottom: 0; } .customize-control-ast-settings-group .ast-field-settings-modal .customize-control-title { margin-bottom: 10px; font-size: 13px; } .ast-field-settings-modal .customize-control { margin-top: 10px; } .customize-control-ast-slider .wrapper { position: relative; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; } .customize-control-ast-slider input[type=range] { -webkit-appearance: none; -webkit-transition: background 0.3s; -moz-transition: background 0.3s; transition: background 0.3s; background-color: rgba(0, 0, 0, 0.1); height: 5px; padding: 0; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; } .customize-control-ast-slider input[type=range]:focus { box-shadow: none; outline: none; } .customize-control-ast-slider input[type=range]:hover, .customize-control-ast-slider input[type=range]:focus { background-color: rgba(0, 0, 0, 0.25); } .customize-control-ast-slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 15px; height: 15px; border-radius: 50%; -webkit-border-radius: 50%; background-color: #3498D9; -webkit-appearance: none; width: 15px; height: 15px; border: none; border-radius: 50%; background-color: #3498D9; } .customize-control-ast-slider input[type=range]::-moz-range-thumb { width: 15px; height: 15px; border: none; border-radius: 50%; background-color: #3498D9; } .customize-control-ast-slider input[type=range]::-ms-thumb { width: 15px; height: 15px; border-radius: 50%; border: 0; background-color: #3498D9; } .customize-control-ast-slider input[type=range]::-moz-range-track { border: inherit; background: transparent; } .customize-control-ast-slider input[type=range]::-ms-track { border: inherit; color: transparent; background: transparent; } .customize-control-ast-slider input[type=range]::-ms-fill-lower, .customize-control-ast-slider input[type=range]::-ms-fill-upper { background: transparent; } .customize-control-ast-slider input[type=range]::-ms-tooltip { display: none; } .customize-control-ast-slider .astra_range_value { font-size: 14px; padding: 0 0 0 5px; font-weight: 400; position: relative; } .customize-control-ast-slider .ast-slider-reset { color: rgba(0, 0, 0, 0.2); position: absolute; top: -28px; right: 0; /*float: right;*/ display: inline-block; -webkit-transition: color 0.5s ease-in; -moz-transition: color 0.5s ease-in; -ms-transition: color 0.5s ease-in; -o-transition: color 0.5s ease-in; transition: color 0.5s ease-in; } .customize-control-ast-slider .ast-slider-reset span { font-size: 16px; line-height: 22px; transition: unset; } .customize-control-ast-slider .ast-slider-reset:hover, .customize-control-ast-slider .ast-slider-reset:focus { color: red; } .astra_range_value input.ast-range-value-input { width: 50px; height: 22px; font-size: 12px; padding: 3px; } .astra_range_value .ast-range-unit { margin-left: 5px; } .customize-control-ast-sortable ul.ui-sortable { cursor: default; } .customize-control-ast-sortable ul.ui-sortable .dashicons-visibility { cursor: pointer; } .customize-control-ast-sortable ul.ui-sortable li { padding: 5px 10px; border: 1px solid #333; background: #fff; cursor: move; } .customize-control-ast-sortable ul.ui-sortable li .dashicons.dashicons-menu { float: right; } .customize-control-ast-sortable ul.ui-sortable li .dashicons.visibility { margin-right: 10px; } .customize-control-ast-sortable ul.ui-sortable li.invisible { color: #aaa; border: 1px dashed #aaa; } .customize-control-ast-sortable ul.ui-sortable li.invisible .dashicons.visibility { color: #aaa; } .select2-container { width: 100% !important; } span.select2-container.select2-container--default.select2-container--open { z-index: 999999; } span.select2-container.select2-container--default.select2-container--open li.select2-results__option { margin: 0; } .select2-selection__rendered li { margin-bottom: 0; } .select2-container--default .select2-selection--single, .select2-container--default.select2-container .select2-selection--multiple { border-color: #ddd; border-radius: 0; } .select2-dropdown, .select2-container--default .select2-selection--multiple .select2-selection__choice { border-color: #ddd; border-radius: 0; } .customize-control-ast-hidden { margin-top: 0; } /* Vetically align customizer footer device icons */ .wp-full-overlay-footer .devices-wrapper .preview-desktop, .wp-full-overlay-footer .devices-wrapper .preview-tablet, .wp-full-overlay-footer .devices-wrapper .preview-mobile { vertical-align: middle; } PK\iK9custom-controls/assets/css/unminified/radio-image-rtl.cssnuW+A.customize-control-ast-radio-image label { position: relative; display: inline-block; margin-left: 12px; } .customize-control-ast-radio-image input { display: none; } .customize-control-ast-radio-image input:checked + label svg { background: #ffffff; border-radius: 3px; box-shadow: 0 0 3px 0px rgba(0, 133, 186, 0.67); } .customize-control-ast-radio-image input + label .image-clickable { position: absolute; top: 0; bottom: 0; right: 0; left: 0; width: 100%; height: 100%; } .customize-control-ast-radio-image .ast-radio-img-svg svg { width: 73px; height: 49px; } #customize-control-astra-settings-above-header-menu-align .ast-radio-img-svg svg, #customize-control-astra-settings-header-main-menu-align .ast-radio-img-svg svg, #customize-control-astra-settings-below-header-menu-align .ast-radio-img-svg svg { width: 37px; height: 49px; } #customize-control-astra-settings-footer-adv .image label { margin-bottom: 12px; } PK\5Y*882custom-controls/assets/css/unminified/link-rtl.cssnuW+A.ast-link-open-in-new-tab-wrapper { margin: 10px 0; } PK\5Y*88.custom-controls/assets/css/unminified/link.cssnuW+A.ast-link-open-in-new-tab-wrapper { margin: 10px 0; } PK\3custom-controls/assets/css/unminified/color-rtl.cssnuW+APK\r Ccustom-controls/assets/css/unminified/responsive-background-rtl.cssnuW+A.customize-control-ast-responsive-background { position: relative; } .customize-control-ast-responsive-background .screen-reader-text { top: initial; } .customize-control-ast-responsive-background .background-container h4 { font-size: 14px; font-weight: 600; color: #555d66; } .customize-control-ast-responsive-background .background-attachment h4, .customize-control-ast-responsive-background .background-color h4, .customize-control-ast-responsive-background .background-position h4, .customize-control-ast-responsive-background .background-repeat h4, .customize-control-ast-responsive-background .background-size h4 { margin-bottom: 5px; margin-top: 10px; } .customize-control-ast-responsive-background .background-color { margin-bottom: 12px; } .customize-control-ast-responsive-background .background-repeat { margin: 15px 0 15px 0; } .customize-control-ast-responsive-background .background-attachment .buttonset, .customize-control-ast-responsive-background .background-size .buttonset { display: flex; flex-wrap: wrap; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-label, .customize-control-ast-responsive-background .background-size .buttonset .switch-label { background: #ffffff; border: 1px solid rgba(0, 0, 0, 0.1); color: #555; padding: 2px 4px; margin-left: 15px; text-align: center; flex-grow: 1; transition: background-color 140ms linear; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-label:last-child, .customize-control-ast-responsive-background .background-size .buttonset .switch-label:last-child { margin-left: 0; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-input:checked + .switch-label, .customize-control-ast-responsive-background .background-size .buttonset .switch-input:checked + .switch-label { background-color: #f5f5f5; color: #565e67; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-input[checked="checked"] + .switch-label, .customize-control-ast-responsive-background .background-size .buttonset .switch-input[checked="checked"] + .switch-label { background-color: #f5f5f5; color: #565e67; } .customize-control-ast-responsive-background .more-settings { margin-top: 6px; display: inline-block; padding: 5px 0 5px 0; float: left; } .customize-control-ast-responsive-background .more-settings:focus { outline: 0; box-shadow: none; } .customize-control-ast-responsive-background .arrow-icon { margin-right: 5px; } .customize-control-ast-responsive-background .background-container { display: none; } .customize-control-ast-responsive-background .background-container.active { display: block; } PK\/custom-controls/assets/css/unminified/color.cssnuW+APK\:'F F 4custom-controls/assets/css/unminified/background.cssnuW+A#customize-controls .customize-control-notifications-container { margin: 0; } .customize-control-ast-background .screen-reader-text { top: initial; } .customize-control-ast-background .background-container h4 { font-weight: normal; } .customize-control-ast-background .background-attachment h4, .customize-control-ast-background .background-color h4, .customize-control-ast-background .background-position h4, .customize-control-ast-background .background-repeat h4, .customize-control-ast-background .background-size h4 { margin-bottom: 5px; margin-top: 10px; } .customize-control-ast-background .background-color { margin-bottom: 12px; } .customize-control-ast-background .background-repeat { margin: 15px 0 8px 0; } .customize-control-ast-background .background-attachment .buttonset, .customize-control-ast-background .background-size .buttonset { display: flex; flex-wrap: wrap; } .customize-control-ast-background .background-attachment .buttonset .switch-label, .customize-control-ast-background .background-size .buttonset .switch-label { background: #ffffff; border: 1px solid rgba(0, 0, 0, 0.1); color: #555; padding: 2px 4px; margin-right: 15px; text-align: center; flex-grow: 1; transition: background-color 140ms linear; } .customize-control-ast-background .background-attachment .buttonset .switch-label:last-child, .customize-control-ast-background .background-size .buttonset .switch-label:last-child { margin-right: 0; } .customize-control-ast-background .background-attachment .buttonset .switch-input:checked + .switch-label, .customize-control-ast-background .background-size .buttonset .switch-input:checked + .switch-label, .customize-control-ast-background .background-attachment .buttonset .switch-input[checked="checked"] + .switch-label, .customize-control-ast-background .background-size .buttonset .switch-input[checked="checked"] + .switch-label { background-color: #f5f5f5; color: #565e67; } .customize-control-ast-background .more-settings { margin-top: 12px; display: inline-block; padding: 5px 0 5px 0; float: right; } .customize-control-ast-background .more-settings:focus { outline: 0; box-shadow: none; } .customize-control-ast-background .arrow-icon { margin-left: 5px; } .ast-field-settings-modal .customize-control-ast-background .more-settings { margin-top: 6px; } PK\L x5custom-controls/assets/css/unminified/description.cssnuW+A.customize-control-ast-description .ast-description { font-style: italic; } .customize-control-ast-description a.button { margin-top: 10px; font-style: normal; } .customize-control-ast-description p { margin: 0; cursor: initial; } PK\ 0custom-controls/assets/css/unminified/border.cssnuW+A.customize-control-ast-border { /* Unit Screen wrap */ } .customize-control-ast-border .customize-control-title { display: inline-block; } .customize-control-ast-border .ast-border-outer-wrapper { display: flex; position: relative; } .customize-control-ast-border .ast-border-wrapper { display: flex; } .customize-control-ast-border .ast-border-btns { display: block; text-align: center; line-height: 2; border: 1px solid #dddddd; background-color: #ffffff; border-radius: 0 3px 3px 0; } .customize-control-ast-border .ast-border-btns > li { margin-bottom: 0; display: none; width: 35px; height: 26px; } .customize-control-ast-border .ast-border-btns > li.active { display: inline-block; } .customize-control-ast-border .ast-border-btns button[type="button"] { padding: 0; cursor: pointer; background: none; border: none; opacity: .75; outline: none; width: 100%; height: 100%; } .customize-control-ast-border .ast-border-btns button[type="button"] > i { width: 15px; height: 15px; font-size: 15px; margin-top: 1px; } .customize-control-ast-border .input-wrapper .ast-border-wrapper { display: none; } .customize-control-ast-border .input-wrapper .ast-border-wrapper li { text-align: center; -webkit-box-flex: 1; -ms-flex: auto; flex: auto; margin-bottom: 0; } .customize-control-ast-border .input-wrapper .ast-border-wrapper li input.ast-border-input { text-align: center; display: block; font-size: 12px; padding: 4px 0; width: 100%; height: 28px; border: 1px solid #dddddd; border-right-width: 0; box-shadow: none; padding-left: 11px; } .customize-control-ast-border .input-wrapper .ast-border-wrapper li .ast-border-connected { color: #ffffff; } .customize-control-ast-border .input-wrapper .ast-border-wrapper li:last-child input.ast-border-input { border-right-width: 1px; border-radius: 0 3px 3px 0; } .customize-control-ast-border .input-wrapper .ast-border-wrapper.active { display: flex; } .customize-control-ast-border .input-wrapper .ast-border-wrapper span.ast-border-title { text-transform: uppercase; font-size: 10px; opacity: .75; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected { display: none; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-disconnected { display: none; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-connected { display: block; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link span { width: 35px; height: 26px; line-height: 26px; font-size: 14px; border: 1px solid #dddddd; background-color: #ffffff; border-radius: 3px 0 0 3px; border-right-width: 0; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected { background-color: #1e8cbe; } PK\PD6custom-controls/assets/css/unminified/sortable-rtl.cssnuW+A.customize-control-ast-sortable ul.ui-sortable { cursor: default; } .customize-control-ast-sortable ul.ui-sortable .dashicons-visibility { cursor: pointer; } .customize-control-ast-sortable ul.ui-sortable li { padding: 5px 10px; border: 1px solid #333; background: #fff; cursor: move; } .customize-control-ast-sortable ul.ui-sortable li .dashicons.dashicons-menu { float: left; } .customize-control-ast-sortable ul.ui-sortable li .dashicons.visibility { margin-left: 10px; } .customize-control-ast-sortable ul.ui-sortable li.invisible { color: #aaa; border: 1px dashed #aaa; } .customize-control-ast-sortable ul.ui-sortable li.invisible .dashicons.visibility { color: #aaa; } PK\BHkk=custom-controls/assets/css/unminified/customizer-link-rtl.cssnuW+A.customize-control-ast-customizer-link .customizer-link { font-style: italic; text-decoration: none; } PK\y :custom-controls/assets/css/unminified/customizer-style.cssnuW+A/* Customizer Scroll CSS */ .accordion-section-content::-webkit-scrollbar, .wp-full-overlay-sidebar-content::-webkit-scrollbar { width: 6px; background-color: #f1f1f1; } .accordion-section-content::-webkit-scrollbar-thumb, .wp-full-overlay-sidebar-content::-webkit-scrollbar-thumb { border-radius: 10px; background-color: #d8d8d8; } .accordion-section-content::-webkit-scrollbar-track, .wp-full-overlay-sidebar-content::-webkit-scrollbar-track { -webkit-box-shadow: inset 0 0 0 rgba(0, 0, 0, 0.3); width: 6px; } .wp-full-overlay-sidebar:after { display: none; } #customize-theme-controls .control-section-ast-section-separator { margin-top: 15px; border-top: 1px solid #ddd; display: block !important; } .customize-control { position: relative; margin-bottom: 0; margin-top: 12px; } .customize-control .customize-inside-control-row { padding-top: 0; padding-bottom: 0; } .customize-control-title { display: inline-block; margin-bottom: 12px; } .customize-control-ast-font-variant .select2 { margin-bottom: 12px; } .customize-control .ast-control-tooltip { position: absolute; top: 0; right: 0; } .customize-control.customize-control-ast-divider .ast-control-tooltip { position: absolute; top: auto; bottom: 3px; right: 0; } .ast-fields-wrap .customize-control .ast-control-tooltip { right: 15px; top: 6px; } /* Select2 WP 5.3 compatibility */ .customize-control .select2-search input[type="text"].select2-search__field { min-height: 17px; } input[type="text"].select2-search__field { line-height: 1; border-radius: 0; } /* CSS to show popups without scroll */ #customize-theme-controls .control-section.open { height: 100%; } /* Safari Browser specific CSS */ @media not all and (min-resolution: 0.001dpcm) { @supports (-webkit-appearance: none) { #customize-control-astra-settings-ast-header-responsive-logo-width .wrapper { display: inline-block; width: 100%; } .dashicons-desktop:before, .dashicons-tablet:before, .dashicons-smartphone:before { color: #000000; opacity: .75; } .ast-field-settings-modal .customize-control-ast-responsive .input-wrapper .ast-responsive-input.active + .ast-responsive-select { width: 20%; } } } /* Firefox Browser specific CSS */ @-moz-document url-prefix() { .control-section.open .customize-control:last-child { margin-bottom: 20px; } } /* IE Browser specific CSS */ @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { .control-section.open .customize-control:last-child { padding-bottom: 20px; } #customize-control-astra-settings-blog-archive-image-width .customize-control-title, #customize-control-astra-settings-blog-archive-image-height .customize-control-title, #customize-control-astra-settings-blog-single-post-image-width .customize-control-title, #customize-control-astra-settings-blog-single-post-image-height .customize-control-title { margin-left: 0px; margin-right: 20px; } } PK\Dݽ 4custom-controls/assets/css/unminified/border-rtl.cssnuW+A.customize-control-ast-border { /* Unit Screen wrap */ } .customize-control-ast-border .customize-control-title { display: inline-block; } .customize-control-ast-border .ast-border-outer-wrapper { display: flex; position: relative; } .customize-control-ast-border .ast-border-wrapper { display: flex; } .customize-control-ast-border .ast-border-btns { display: block; text-align: center; line-height: 2; border: 1px solid #dddddd; background-color: #ffffff; border-radius: 3px 0 0 3px; } .customize-control-ast-border .ast-border-btns > li { margin-bottom: 0; display: none; width: 35px; height: 26px; } .customize-control-ast-border .ast-border-btns > li.active { display: inline-block; } .customize-control-ast-border .ast-border-btns button[type="button"] { padding: 0; cursor: pointer; background: none; border: none; opacity: .75; outline: none; width: 100%; height: 100%; } .customize-control-ast-border .ast-border-btns button[type="button"] > i { width: 15px; height: 15px; font-size: 15px; margin-top: 1px; } .customize-control-ast-border .input-wrapper .ast-border-wrapper { display: none; } .customize-control-ast-border .input-wrapper .ast-border-wrapper li { text-align: center; -webkit-box-flex: 1; -ms-flex: auto; flex: auto; margin-bottom: 0; } .customize-control-ast-border .input-wrapper .ast-border-wrapper li input.ast-border-input { text-align: center; display: block; font-size: 12px; padding: 4px 0; width: 100%; height: 28px; border: 1px solid #dddddd; border-left-width: 0; box-shadow: none; padding-right: 11px; } .customize-control-ast-border .input-wrapper .ast-border-wrapper li .ast-border-connected { color: #ffffff; } .customize-control-ast-border .input-wrapper .ast-border-wrapper li:last-child input.ast-border-input { border-left-width: 1px; border-radius: 3px 0 0 3px; } .customize-control-ast-border .input-wrapper .ast-border-wrapper.active { display: flex; } .customize-control-ast-border .input-wrapper .ast-border-wrapper span.ast-border-title { text-transform: uppercase; font-size: 10px; opacity: .75; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected { display: none; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-disconnected { display: none; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-connected { display: block; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link span { width: 35px; height: 26px; line-height: 26px; font-size: 14px; border: 1px solid #dddddd; background-color: #ffffff; border-radius: 0 3px 3px 0; border-left-width: 0; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected { background-color: #1e8cbe; } PK\Gv4custom-controls/assets/css/unminified/typography.cssnuW+A.select2-container { width: 100% !important; } span.select2-container.select2-container--default.select2-container--open { z-index: 999999; } span.select2-container.select2-container--default.select2-container--open li.select2-results__option { margin: 0; } .select2-selection__rendered li { margin-bottom: 0; } .select2-container--default .select2-selection--single, .select2-container--default.select2-container .select2-selection--multiple { border-color: #ddd; border-radius: 0; } .select2-dropdown, .select2-container--default .select2-selection--multiple .select2-selection__choice { border-color: #ddd; border-radius: 0; } .customize-control-ast-hidden { margin-top: 0; } /* Vetically align customizer footer device icons */ .wp-full-overlay-footer .devices-wrapper .preview-desktop, .wp-full-overlay-footer .devices-wrapper .preview-tablet, .wp-full-overlay-footer .devices-wrapper .preview-mobile { vertical-align: middle; } PK\dK9OO?custom-controls/assets/css/minified/custom-controls.min-rtl.cssnuW+A#customize-controls .customize-control-notifications-container{margin:0}.customize-control-ast-background .screen-reader-text{top:initial}.customize-control-ast-background .background-container h4{font-weight:400}.customize-control-ast-background .background-attachment h4,.customize-control-ast-background .background-color h4,.customize-control-ast-background .background-position h4,.customize-control-ast-background .background-repeat h4,.customize-control-ast-background .background-size h4{margin-bottom:5px;margin-top:10px}.customize-control-ast-background .background-color{margin-bottom:12px}.customize-control-ast-background .background-repeat{margin:15px 0 8px 0}.customize-control-ast-background .background-attachment .buttonset,.customize-control-ast-background .background-size .buttonset{display:flex;flex-wrap:wrap}.customize-control-ast-background .background-attachment .buttonset .switch-label,.customize-control-ast-background .background-size .buttonset .switch-label{background:#fff;border:1px solid rgba(0,0,0,.1);color:#555;padding:2px 4px;margin-left:15px;text-align:center;flex-grow:1;transition:background-color 140ms linear}.customize-control-ast-background .background-attachment .buttonset .switch-label:last-child,.customize-control-ast-background .background-size .buttonset .switch-label:last-child{margin-left:0}.customize-control-ast-background .background-attachment .buttonset .switch-input:checked+.switch-label,.customize-control-ast-background .background-attachment .buttonset .switch-input[checked=checked]+.switch-label,.customize-control-ast-background .background-size .buttonset .switch-input:checked+.switch-label,.customize-control-ast-background .background-size .buttonset .switch-input[checked=checked]+.switch-label{background-color:#f5f5f5;color:#565e67}.customize-control-ast-background .more-settings{margin-top:12px;display:inline-block;padding:5px 0 5px 0;float:left}.customize-control-ast-background .more-settings:focus{outline:0;box-shadow:none}.customize-control-ast-background .arrow-icon{margin-right:5px}.ast-field-settings-modal .customize-control-ast-background .more-settings{margin-top:6px}.customize-control-ast-border .customize-control-title{display:inline-block}.customize-control-ast-border .ast-border-outer-wrapper{display:flex;position:relative}.customize-control-ast-border .ast-border-wrapper{display:flex}.customize-control-ast-border .ast-border-btns{display:block;text-align:center;line-height:2;border:1px solid #ddd;background-color:#fff;border-radius:3px 0 0 3px}.customize-control-ast-border .ast-border-btns>li{margin-bottom:0;display:none;width:35px;height:26px}.customize-control-ast-border .ast-border-btns>li.active{display:inline-block}.customize-control-ast-border .ast-border-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0;width:100%;height:100%}.customize-control-ast-border .ast-border-btns button[type=button]>i{width:15px;height:15px;font-size:15px;margin-top:1px}.customize-control-ast-border .input-wrapper .ast-border-wrapper{display:none}.customize-control-ast-border .input-wrapper .ast-border-wrapper li{text-align:center;-webkit-box-flex:1;-ms-flex:auto;flex:auto;margin-bottom:0}.customize-control-ast-border .input-wrapper .ast-border-wrapper li input.ast-border-input{text-align:center;display:block;font-size:12px;padding:4px 0;width:100%;height:28px;border:1px solid #ddd;border-left-width:0;box-shadow:none;padding-right:11px}.customize-control-ast-border .input-wrapper .ast-border-wrapper li .ast-border-connected{color:#fff}.customize-control-ast-border .input-wrapper .ast-border-wrapper li:last-child input.ast-border-input{border-left-width:1px;border-radius:3px 0 0 3px}.customize-control-ast-border .input-wrapper .ast-border-wrapper.active{display:flex}.customize-control-ast-border .input-wrapper .ast-border-wrapper span.ast-border-title{text-transform:uppercase;font-size:10px;opacity:.75}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected{display:none}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-disconnected{display:none}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-connected{display:block}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link span{width:35px;height:26px;line-height:26px;font-size:14px;border:1px solid #ddd;background-color:#fff;border-radius:0 3px 3px 0;border-left-width:0}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected{background-color:#1e8cbe}#customize-controls .customize-control-notifications-container{margin:0}.customize-control-ast-background .screen-reader-text{top:initial}.customize-control-ast-background .background-container h4{font-weight:400}.customize-control-ast-background .background-attachment h4,.customize-control-ast-background .background-color h4,.customize-control-ast-background .background-position h4,.customize-control-ast-background .background-repeat h4,.customize-control-ast-background .background-size h4{margin-bottom:5px;margin-top:10px}.customize-control-ast-background .background-color{margin-bottom:12px}.customize-control-ast-background .background-repeat{margin:15px 0 8px 0}.customize-control-ast-background .background-attachment .buttonset,.customize-control-ast-background .background-size .buttonset{display:flex;flex-wrap:wrap}.customize-control-ast-background .background-attachment .buttonset .switch-label,.customize-control-ast-background .background-size .buttonset .switch-label{background:#fff;border:1px solid rgba(0,0,0,.1);color:#555;padding:2px 4px;margin-left:15px;text-align:center;flex-grow:1;transition:background-color 140ms linear}.customize-control-ast-background .background-attachment .buttonset .switch-label:last-child,.customize-control-ast-background .background-size .buttonset .switch-label:last-child{margin-left:0}.customize-control-ast-background .background-attachment .buttonset .switch-input:checked+.switch-label,.customize-control-ast-background .background-attachment .buttonset .switch-input[checked=checked]+.switch-label,.customize-control-ast-background .background-size .buttonset .switch-input:checked+.switch-label,.customize-control-ast-background .background-size .buttonset .switch-input[checked=checked]+.switch-label{background-color:#f5f5f5;color:#565e67}.customize-control-ast-background .more-settings{margin-top:12px;display:inline-block;padding:5px 0 5px 0;float:left}.customize-control-ast-background .more-settings:focus{outline:0;box-shadow:none}.customize-control-ast-background .arrow-icon{margin-right:5px}.ast-field-settings-modal .customize-control-ast-background .more-settings{margin-top:6px}.customize-control-ast-border .customize-control-title{display:inline-block}.customize-control-ast-border .ast-border-outer-wrapper{display:flex;position:relative}.customize-control-ast-border .ast-border-wrapper{display:flex}.customize-control-ast-border .ast-border-btns{display:block;text-align:center;line-height:2;border:1px solid #ddd;background-color:#fff;border-radius:3px 0 0 3px}.customize-control-ast-border .ast-border-btns>li{margin-bottom:0;display:none;width:35px;height:26px}.customize-control-ast-border .ast-border-btns>li.active{display:inline-block}.customize-control-ast-border .ast-border-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0;width:100%;height:100%}.customize-control-ast-border .ast-border-btns button[type=button]>i{width:15px;height:15px;font-size:15px;margin-top:1px}.customize-control-ast-border .input-wrapper .ast-border-wrapper{display:none}.customize-control-ast-border .input-wrapper .ast-border-wrapper li{text-align:center;-webkit-box-flex:1;-ms-flex:auto;flex:auto;margin-bottom:0}.customize-control-ast-border .input-wrapper .ast-border-wrapper li input.ast-border-input{text-align:center;display:block;font-size:12px;padding:4px 0;width:100%;height:28px;border:1px solid #ddd;border-left-width:0;box-shadow:none;padding-right:11px}.customize-control-ast-border .input-wrapper .ast-border-wrapper li .ast-border-connected{color:#fff}.customize-control-ast-border .input-wrapper .ast-border-wrapper li:last-child input.ast-border-input{border-left-width:1px;border-radius:3px 0 0 3px}.customize-control-ast-border .input-wrapper .ast-border-wrapper.active{display:flex}.customize-control-ast-border .input-wrapper .ast-border-wrapper span.ast-border-title{text-transform:uppercase;font-size:10px;opacity:.75}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected{display:none}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-disconnected{display:none}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-connected{display:block}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link span{width:35px;height:26px;line-height:26px;font-size:14px;border:1px solid #ddd;background-color:#fff;border-radius:0 3px 3px 0;border-left-width:0}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected{background-color:#1e8cbe}#customize-controls .customize-control-notifications-container{margin:0}.customize-control-ast-background .screen-reader-text{top:initial}.customize-control-ast-background .background-container h4{font-weight:400}.customize-control-ast-background .background-attachment h4,.customize-control-ast-background .background-color h4,.customize-control-ast-background .background-position h4,.customize-control-ast-background .background-repeat h4,.customize-control-ast-background .background-size h4{margin-bottom:5px;margin-top:10px}.customize-control-ast-background .background-color{margin-bottom:12px}.customize-control-ast-background .background-repeat{margin:15px 0 8px 0}.customize-control-ast-background .background-attachment .buttonset,.customize-control-ast-background .background-size .buttonset{display:flex;flex-wrap:wrap}.customize-control-ast-background .background-attachment .buttonset .switch-label,.customize-control-ast-background .background-size .buttonset .switch-label{background:#fff;border:1px solid rgba(0,0,0,.1);color:#555;padding:2px 4px;margin-left:15px;text-align:center;flex-grow:1;transition:background-color 140ms linear}.customize-control-ast-background .background-attachment .buttonset .switch-label:last-child,.customize-control-ast-background .background-size .buttonset .switch-label:last-child{margin-left:0}.customize-control-ast-background .background-attachment .buttonset .switch-input:checked+.switch-label,.customize-control-ast-background .background-attachment .buttonset .switch-input[checked=checked]+.switch-label,.customize-control-ast-background .background-size .buttonset .switch-input:checked+.switch-label,.customize-control-ast-background .background-size .buttonset .switch-input[checked=checked]+.switch-label{background-color:#f5f5f5;color:#565e67}.customize-control-ast-background .more-settings{margin-top:12px;display:inline-block;padding:5px 0 5px 0;float:left}.customize-control-ast-background .more-settings:focus{outline:0;box-shadow:none}.customize-control-ast-background .arrow-icon{margin-right:5px}.ast-field-settings-modal .customize-control-ast-background .more-settings{margin-top:6px}.customize-control-ast-border .customize-control-title{display:inline-block}.customize-control-ast-border .ast-border-outer-wrapper{display:flex;position:relative}.customize-control-ast-border .ast-border-wrapper{display:flex}.customize-control-ast-border .ast-border-btns{display:block;text-align:center;line-height:2;border:1px solid #ddd;background-color:#fff;border-radius:3px 0 0 3px}.customize-control-ast-border .ast-border-btns>li{margin-bottom:0;display:none;width:35px;height:26px}.customize-control-ast-border .ast-border-btns>li.active{display:inline-block}.customize-control-ast-border .ast-border-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0;width:100%;height:100%}.customize-control-ast-border .ast-border-btns button[type=button]>i{width:15px;height:15px;font-size:15px;margin-top:1px}.customize-control-ast-border .input-wrapper .ast-border-wrapper{display:none}.customize-control-ast-border .input-wrapper .ast-border-wrapper li{text-align:center;-webkit-box-flex:1;-ms-flex:auto;flex:auto;margin-bottom:0}.customize-control-ast-border .input-wrapper .ast-border-wrapper li input.ast-border-input{text-align:center;display:block;font-size:12px;padding:4px 0;width:100%;height:28px;border:1px solid #ddd;border-left-width:0;box-shadow:none;padding-right:11px}.customize-control-ast-border .input-wrapper .ast-border-wrapper li .ast-border-connected{color:#fff}.customize-control-ast-border .input-wrapper .ast-border-wrapper li:last-child input.ast-border-input{border-left-width:1px;border-radius:3px 0 0 3px}.customize-control-ast-border .input-wrapper .ast-border-wrapper.active{display:flex}.customize-control-ast-border .input-wrapper .ast-border-wrapper span.ast-border-title{text-transform:uppercase;font-size:10px;opacity:.75}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected{display:none}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-disconnected{display:none}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-connected{display:block}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link span{width:35px;height:26px;line-height:26px;font-size:14px;border:1px solid #ddd;background-color:#fff;border-radius:0 3px 3px 0;border-left-width:0}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected{background-color:#1e8cbe}.customize-control-ast-customizer-link .customizer-link{font-style:italic;text-decoration:none}.accordion-section-content::-webkit-scrollbar,.wp-full-overlay-sidebar-content::-webkit-scrollbar{width:6px;background-color:#f1f1f1}.accordion-section-content::-webkit-scrollbar-thumb,.wp-full-overlay-sidebar-content::-webkit-scrollbar-thumb{border-radius:10px;background-color:#d8d8d8}.accordion-section-content::-webkit-scrollbar-track,.wp-full-overlay-sidebar-content::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 0 rgba(0,0,0,.3);width:6px}.wp-full-overlay-sidebar:after{display:none}#customize-theme-controls .control-section-ast-section-separator{margin-top:15px;border-top:1px solid #ddd;display:block!important}.customize-control{position:relative;margin-bottom:0;margin-top:12px}.customize-control .customize-inside-control-row{padding-top:0;padding-bottom:0}.customize-control-title{display:inline-block;margin-bottom:12px}.customize-control-ast-font-variant .select2{margin-bottom:12px}.customize-control .ast-control-tooltip{position:absolute;top:0;left:0}.customize-control.customize-control-ast-divider .ast-control-tooltip{position:absolute;top:auto;bottom:3px;left:0}.ast-fields-wrap .customize-control .ast-control-tooltip{left:15px;top:6px}.customize-control .select2-search input[type=text].select2-search__field{min-height:17px}input[type=text].select2-search__field{line-height:1;border-radius:0}#customize-theme-controls .control-section.open{height:100%}@media not all and (min-resolution:0.001dpcm){@supports (-webkit-appearance:none){#customize-control-astra-settings-ast-header-responsive-logo-width .wrapper{display:inline-block;width:100%}.dashicons-desktop:before,.dashicons-smartphone:before,.dashicons-tablet:before{color:#000;opacity:.75}.ast-field-settings-modal .customize-control-ast-responsive .input-wrapper .ast-responsive-input.active+.ast-responsive-select{width:20%}}}@-moz-document url-prefix(){.control-section.open .customize-control:last-child{margin-bottom:20px}}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.control-section.open .customize-control:last-child{padding-bottom:20px}#customize-control-astra-settings-blog-archive-image-height .customize-control-title,#customize-control-astra-settings-blog-archive-image-width .customize-control-title,#customize-control-astra-settings-blog-single-post-image-height .customize-control-title,#customize-control-astra-settings-blog-single-post-image-width .customize-control-title{margin-right:0;margin-left:20px}}.customize-control-ast-description .ast-description{font-style:italic}.customize-control-ast-description a.button{margin-top:10px;font-style:normal}.customize-control-ast-description p{margin:0;cursor:initial}.customize-control-ast-divider hr{margin-top:12px}.customize-control-ast-divider .customize-control-title{font-size:15px;margin:1em 0 .2em}.ast-field-settings-modal .customize-control-ast-divider{background-color:#f5f5f5;display:block;padding:6px 14px;margin:0;border-width:1px 0;border-style:solid;border-color:#ddd;line-height:1;margin-top:15px}.customize-control-ast-settings-group .ast-field-settings-modal .customize-control-ast-divider .customize-control-title{font-weight:500;letter-spacing:1px;font-size:11px;margin:0;text-transform:uppercase}.ast-field-settings-wrap .customize-control-ast-heading{margin:0 0 15px 0}.accordion-section-content.open .customize-control-ast-heading:nth-child(2),.accordion-section-content.open .customize-control-ast-heading:nth-child(3){margin-top:0}.customize-control-ast-heading{margin-top:20px;margin-bottom:8px}.customize-control-ast-heading .ast-heading-wrapper{margin:0 -12px}.customize-control-ast-heading .customize-control-title{display:block;padding:13px 12px;margin:0;border-width:1px 0;border-style:solid;border-color:#ddd;background-color:#fff;font-size:11.5px;font-weight:500;letter-spacing:1px;line-height:1;text-transform:uppercase}.customize-control-ast-heading .customize-control-caption{top:50%;transform:translateY(-50%);position:absolute;left:0;font-size:11px;font-weight:500;letter-spacing:1px}.customize-control-ast-heading .customize-control-description{margin-top:10px}.ast-heading-wrapper label{cursor:default}.customize-control>label{cursor:default}.customize-control .ast-border-input-item-link,.customize-control .ast-spacing-input-item-link{cursor:pointer}.customize-control.customize-control-ast-slider label{cursor:pointer}.customize-control.customize-control-ast-slider label .wrapper input[type=range]{cursor:pointer}.ast-link-open-in-new-tab-wrapper{margin:10px 0}.customize-control-ast-radio-image label{position:relative;display:inline-block;margin-left:12px}.customize-control-ast-radio-image input{display:none}.customize-control-ast-radio-image input:checked+label svg{background:#fff;border-radius:3px;box-shadow:0 0 3px 0 rgba(0,133,186,.67)}.customize-control-ast-radio-image input+label .image-clickable{position:absolute;top:0;bottom:0;right:0;left:0;width:100%;height:100%}.customize-control-ast-radio-image .ast-radio-img-svg svg{width:73px;height:49px}#customize-control-astra-settings-above-header-menu-align .ast-radio-img-svg svg,#customize-control-astra-settings-below-header-menu-align .ast-radio-img-svg svg,#customize-control-astra-settings-header-main-menu-align .ast-radio-img-svg svg{width:37px;height:49px}#customize-control-astra-settings-footer-adv .image label{margin-bottom:12px}.customize-control-ast-responsive-background{position:relative}.customize-control-ast-responsive-background .screen-reader-text{top:initial}.customize-control-ast-responsive-background .background-container h4{font-size:14px;font-weight:600;color:#555d66}.customize-control-ast-responsive-background .background-attachment h4,.customize-control-ast-responsive-background .background-color h4,.customize-control-ast-responsive-background .background-position h4,.customize-control-ast-responsive-background .background-repeat h4,.customize-control-ast-responsive-background .background-size h4{margin-bottom:5px;margin-top:10px}.customize-control-ast-responsive-background .background-color{margin-bottom:12px}.customize-control-ast-responsive-background .background-repeat{margin:15px 0 15px 0}.customize-control-ast-responsive-background .background-attachment .buttonset,.customize-control-ast-responsive-background .background-size .buttonset{display:flex;flex-wrap:wrap}.customize-control-ast-responsive-background .background-attachment .buttonset .switch-label,.customize-control-ast-responsive-background .background-size .buttonset .switch-label{background:#fff;border:1px solid rgba(0,0,0,.1);color:#555;padding:2px 4px;margin-left:15px;text-align:center;flex-grow:1;transition:background-color 140ms linear}.customize-control-ast-responsive-background .background-attachment .buttonset .switch-label:last-child,.customize-control-ast-responsive-background .background-size .buttonset .switch-label:last-child{margin-left:0}.customize-control-ast-responsive-background .background-attachment .buttonset .switch-input:checked+.switch-label,.customize-control-ast-responsive-background .background-size .buttonset .switch-input:checked+.switch-label{background-color:#f5f5f5;color:#565e67}.customize-control-ast-responsive-background .background-attachment .buttonset .switch-input[checked=checked]+.switch-label,.customize-control-ast-responsive-background .background-size .buttonset .switch-input[checked=checked]+.switch-label{background-color:#f5f5f5;color:#565e67}.customize-control-ast-responsive-background .more-settings{margin-top:6px;display:inline-block;padding:5px 0 5px 0;float:left}.customize-control-ast-responsive-background .more-settings:focus{outline:0;box-shadow:none}.customize-control-ast-responsive-background .arrow-icon{margin-right:5px}.customize-control-ast-responsive-background .background-container{display:none}.customize-control-ast-responsive-background .background-container.active{display:block}.customize-control-ast-responsive-color .customize-control-content .wp-picker-container{display:none}.customize-control-ast-responsive-color .customize-control-content .wp-picker-container.active{display:block}.customize-control-ast-responsive-slider .wrapper{position:relative;height:100%}.customize-control-ast-responsive-slider .input-field-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.customize-control-ast-responsive-slider input[type=range]{-webkit-appearance:none;-webkit-transition:background .3s;-moz-transition:background .3s;transition:background .3s;background-color:rgba(0,0,0,.1);height:5px;padding:0;-webkit-box-flex:1;-ms-flex:1;flex:1}.customize-control-ast-responsive-slider input[type=range]:focus{box-shadow:none;outline:0}.customize-control-ast-responsive-slider input[type=range]:focus,.customize-control-ast-responsive-slider input[type=range]:hover{background-color:rgba(0,0,0,.25)}.customize-control-ast-responsive-slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:15px;height:15px;border-radius:50%;-webkit-border-radius:50%;background-color:#3498d9;-webkit-appearance:none;width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-responsive-slider input[type=range]::-moz-range-thumb{width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-responsive-slider input[type=range]::-ms-thumb{width:15px;height:15px;border-radius:50%;border:0;background-color:#3498d9}.customize-control-ast-responsive-slider input[type=range]::-moz-range-track{border:inherit;background:0 0}.customize-control-ast-responsive-slider input[type=range]::-ms-track{border:inherit;color:transparent;background:0 0}.customize-control-ast-responsive-slider input[type=range]::-ms-fill-lower,.customize-control-ast-responsive-slider input[type=range]::-ms-fill-upper{background:0 0}.customize-control-ast-responsive-slider input[type=range]::-ms-tooltip{display:none}.customize-control-ast-responsive-slider .astra_range_value{font-size:14px;padding:0 5px 0 0;font-weight:400;position:relative}.customize-control-ast-responsive-slider .ast-responsive-slider-reset{color:rgba(0,0,0,.2);position:absolute;top:-28px;left:1.5em;display:inline-block;-webkit-transition:color .5s ease-in;-moz-transition:color .5s ease-in;-ms-transition:color .5s ease-in;-o-transition:color .5s ease-in;transition:color .5s ease-in}.customize-control-ast-responsive-slider .ast-responsive-slider-reset span{font-size:13px;line-height:24px;transition:unset}.customize-control-ast-responsive-slider .ast-responsive-slider-reset:focus,.customize-control-ast-responsive-slider .ast-responsive-slider-reset:hover{color:red}.astra_range_value input.ast-responsive-range-value-input{width:50px;height:22px;font-size:12px;padding:3px}.astra_range_value .ast-range-unit{margin-right:5px}.customize-control-ast-responsive-slider .input-field-wrapper{display:none}.customize-control-ast-responsive-slider .input-field-wrapper.active{display:flex;justify-content:space-between;margin-left:0;flex:0 1;width:100%}.ast-responsive-slider-btns{display:inline-block;float:left;line-height:1;margin-top:5px}.ast-responsive-slider-btns>li{margin-bottom:0;display:none}.ast-responsive-slider-btns>li.active{display:inline-block}.ast-responsive-slider-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0}.ast-responsive-slider-btns button[type=button]>i{width:15px;height:15px;font-size:15px}.customize-control-ast-responsive-spacing .customize-control-title{display:inline-block}.customize-control-ast-responsive-spacing .ast-spacing-responsive-outer-wrapper{display:flex;position:relative}.customize-control-ast-responsive-spacing .ast-spacing-input-item{margin-bottom:0}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns{display:block;text-align:center;line-height:2;border:1px solid #ddd;background-color:#fff;border-radius:3px 0 0 3px}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns>li{margin-bottom:0;display:none;width:35px;height:26px}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns>li.active{display:inline-block}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0;width:100%;height:100%}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type=button]>i{font-size:15px;margin-top:1px;vertical-align:middle}.customize-control-ast-responsive-spacing .input-wrapper.ast-spacing-responsive-wrapper{display:inline-flex}.customize-control-ast-responsive-spacing .ast-spacing-responsive-units{position:absolute;transform:translateY(-100%);font-size:11px;text-transform:uppercase;top:0;left:0}.customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit{display:inline-block;margin-right:6px;width:16px;text-align:center;user-select:none;opacity:.7}.customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit.active{text-decoration:underline;opacity:1;color:#000}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper{display:none}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li{text-align:center;-webkit-box-flex:1;-ms-flex:auto;flex:auto}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li input.ast-spacing-input{text-align:center;display:block;font-size:12px;padding:4px 0;width:100%;height:28px;border:1px solid #ddd;border-left-width:0;box-shadow:none;padding-right:11px}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li .ast-spacing-connected{color:#1e8cbe}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper.active{display:flex}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper span.ast-spacing-title{text-transform:uppercase;font-size:10px;opacity:.75}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link .ast-spacing-connected{display:none}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-disconnected{display:none}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-connected{display:block}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link span{width:35px;height:26px;line-height:26px;font-size:14px;border:1px solid #ddd;background-color:#fff;border-radius:0 3px 3px 0;border-left-width:0}.ast-responsive-btns{display:inline-block;float:left;line-height:1;margin-top:6px}.ast-responsive-btns>li{margin-bottom:0;display:none}.ast-responsive-btns>li.active{display:inline-block}.ast-responsive-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0}.ast-responsive-btns button[type=button]>i{width:15px;height:15px;font-size:15px}.ast-field-settings-modal .ast-responsive-btns{margin-top:6px}.customize-control-ast-responsive .input-wrapper{overflow:hidden}.customize-control-ast-responsive .input-wrapper input{display:none;width:82%;float:none}.customize-control-ast-responsive .input-wrapper input.active{display:block}.customize-control-ast-responsive .input-wrapper .ast-responsive-select{width:50px;margin:0;display:none;padding:.1em;margin-right:2px;float:none}.customize-control-ast-responsive .input-wrapper .ast-responsive-input.active+.ast-responsive-select{display:block;width:17%;float:none}.customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input{display:inline-block}.customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input.active{display:inline-block}.customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-select{display:inline-block}#customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper{display:inline-block}#customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-select{display:none}#customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-input{width:100%}.input-wrapper.ast-responsive-wrapper{display:inline-flex;justify-content:space-between;margin-left:0;align-items:flex-start;flex:0 1;width:100%}.ast-adv-toggle-icon{left:2px;top:-2px;position:absolute;width:18px;height:18px;font-size:18px;border:1px solid #ddd;border-radius:2px;padding:4px;color:#0073aa;background:#fff}.ast-adv-toggle-icon:hover{color:#099fd6}.ast-adv-toggle-icon:before{content:"\f464"}.ast-adv-toggle-icon.open:before{content:"\f158"}.ast-field-settings-modal{position:absolute;-webkit-box-shadow:0 2px 15px rgba(0,0,0,.3);box-shadow:0 2px 15px rgba(0,0,0,.3);-webkit-border-radius:3px;border-radius:3px;right:0;left:0;z-index:10000;background-color:#fff}.ast-field-settings-modal .customize-control-ast-divider:first-child{margin-top:15px}.ast-field-settings-wrap{width:100%}.ast-group-tabs,.ast-tab-content{position:relative}.ast-group-list{overflow:hidden;border-bottom:1px solid #ddd}.ast-group-list:after,.ast-group-list:before{content:"";display:table;border-collapse:collapse}.ui-tabs-anchor{float:right;padding:.5em .5em;color:#555d66;text-decoration:none}.ui-state-active .ui-tabs-anchor{color:#fff}.ui-tabs-anchor:hover{color:#555d66}.ui-state-active .ui-tabs-anchor:hover{color:#fff}.ast-group-tabs .ui-widget-content{overflow:hidden}.ast-group-tabs .ui-widget-content.iris-slider-offset,.ast-group-tabs .ui-widget-content.iris-slider-offset-alpha{overflow:inherit}.ast-fields-wrap{overflow:hidden}.ast-field-settings-wrap{-webkit-box-shadow:0 2px 15px rgba(0,0,0,.3);box-shadow:0 2px 15px rgba(0,0,0,.3);-webkit-border-radius:3px;background-color:#fff}.ast-field-settings-wrap .ast-field-settings-modal{border-radius:3px;margin-top:9px;margin-bottom:20px}.ast-field-settings-modal::before{content:'';position:absolute;top:-17px;left:8px;border:9px solid transparent;border-bottom-color:#fff;pointer-events:none}.ast-group-tabs .ui-tabs-nav{display:flex;padding:15px 15px 0 15px}.ast-group-tabs .ui-tabs-nav .ui-corner-top{align-items:center;flex:1 1 auto;justify-content:center;margin:0 0;padding:0;border:1px solid #ccc;transition:background-color 140ms linear}.ast-group-tabs .ui-tabs-nav .ui-corner-top:first-child{border-radius:0 3px 3px 0}.ast-group-tabs .ui-tabs-nav .ui-corner-top:last-child{border-radius:3px 0 0 3px}.ast-group-tabs .ui-tabs-nav .ui-corner-top .ui-tabs-anchor{width:100%;text-align:center;padding:2px 4px;padding-right:0;padding-left:0;outline:0}.ast-group-tabs ul.ast-group-list .ui-corner-top .ui-tabs-anchor:focus{box-shadow:none}.ast-group-tabs .ui-tabs-nav{border:none}.ast-group-tabs ul.ast-group-list .ui-corner-top.ui-state-active{background-color:#0185ba;border:1px solid rgba(0,0,0,.1)}.ast-group-tabs .ui-tabs-nav{overflow:visible}.ast-group-tabs ul.ast-group-list .ui-corner-top:not(:first-child){border-right-width:0}.wp-core-ui .ast-field-settings-modal .background-image-upload .button{font-size:11px}.ast-field-settings-modal .customize-control{padding-right:15px;padding-left:15px;box-sizing:border-box}.ast-field-settings-modal .customize-control:first-child{margin-top:15px}.ast-field-settings-modal .ui-tabs-nav .customize-control:first-child{margin-top:0}.ast-field-settings-modal .customize-control:last-child{padding-bottom:15px}.customize-control-ast-settings-group{line-height:27px}.customize-control-ast-settings-group .customize-control-title{margin-bottom:0}.customize-control-ast-settings-group .ast-field-settings-modal .customize-control-title{margin-bottom:10px;font-size:13px}.ast-field-settings-modal .customize-control{margin-top:10px}.customize-control-ast-slider .wrapper{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.customize-control-ast-slider input[type=range]{-webkit-appearance:none;-webkit-transition:background .3s;-moz-transition:background .3s;transition:background .3s;background-color:rgba(0,0,0,.1);height:5px;padding:0;-webkit-box-flex:1;-ms-flex:1;flex:1}.customize-control-ast-slider input[type=range]:focus{box-shadow:none;outline:0}.customize-control-ast-slider input[type=range]:focus,.customize-control-ast-slider input[type=range]:hover{background-color:rgba(0,0,0,.25)}.customize-control-ast-slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:15px;height:15px;border-radius:50%;-webkit-border-radius:50%;background-color:#3498d9;-webkit-appearance:none;width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-slider input[type=range]::-moz-range-thumb{width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-slider input[type=range]::-ms-thumb{width:15px;height:15px;border-radius:50%;border:0;background-color:#3498d9}.customize-control-ast-slider input[type=range]::-moz-range-track{border:inherit;background:0 0}.customize-control-ast-slider input[type=range]::-ms-track{border:inherit;color:transparent;background:0 0}.customize-control-ast-slider input[type=range]::-ms-fill-lower,.customize-control-ast-slider input[type=range]::-ms-fill-upper{background:0 0}.customize-control-ast-slider input[type=range]::-ms-tooltip{display:none}.customize-control-ast-slider .astra_range_value{font-size:14px;padding:0 5px 0 0;font-weight:400;position:relative}.customize-control-ast-slider .ast-slider-reset{color:rgba(0,0,0,.2);position:absolute;top:-28px;left:0;display:inline-block;-webkit-transition:color .5s ease-in;-moz-transition:color .5s ease-in;-ms-transition:color .5s ease-in;-o-transition:color .5s ease-in;transition:color .5s ease-in}.customize-control-ast-slider .ast-slider-reset span{font-size:16px;line-height:22px;transition:unset}.customize-control-ast-slider .ast-slider-reset:focus,.customize-control-ast-slider .ast-slider-reset:hover{color:red}.astra_range_value input.ast-range-value-input{width:50px;height:22px;font-size:12px;padding:3px}.astra_range_value .ast-range-unit{margin-right:5px}.customize-control-ast-sortable ul.ui-sortable{cursor:default}.customize-control-ast-sortable ul.ui-sortable .dashicons-visibility{cursor:pointer}.customize-control-ast-sortable ul.ui-sortable li{padding:5px 10px;border:1px solid #333;background:#fff;cursor:move}.customize-control-ast-sortable ul.ui-sortable li .dashicons.dashicons-menu{float:left}.customize-control-ast-sortable ul.ui-sortable li .dashicons.visibility{margin-left:10px}.customize-control-ast-sortable ul.ui-sortable li.invisible{color:#aaa;border:1px dashed #aaa}.customize-control-ast-sortable ul.ui-sortable li.invisible .dashicons.visibility{color:#aaa}.select2-container{width:100%!important}span.select2-container.select2-container--default.select2-container--open{z-index:999999}span.select2-container.select2-container--default.select2-container--open li.select2-results__option{margin:0}.select2-selection__rendered li{margin-bottom:0}.select2-container--default .select2-selection--single,.select2-container--default.select2-container .select2-selection--multiple{border-color:#ddd;border-radius:0}.select2-container--default .select2-selection--multiple .select2-selection__choice,.select2-dropdown{border-color:#ddd;border-radius:0}.customize-control-ast-hidden{margin-top:0}.wp-full-overlay-footer .devices-wrapper .preview-desktop,.wp-full-overlay-footer .devices-wrapper .preview-mobile,.wp-full-overlay-footer .devices-wrapper .preview-tablet{vertical-align:middle}.customize-control-ast-customizer-link .customizer-link{font-style:italic;text-decoration:none}.accordion-section-content::-webkit-scrollbar,.wp-full-overlay-sidebar-content::-webkit-scrollbar{width:6px;background-color:#f1f1f1}.accordion-section-content::-webkit-scrollbar-thumb,.wp-full-overlay-sidebar-content::-webkit-scrollbar-thumb{border-radius:10px;background-color:#d8d8d8}.accordion-section-content::-webkit-scrollbar-track,.wp-full-overlay-sidebar-content::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 0 rgba(0,0,0,.3);width:6px}.wp-full-overlay-sidebar:after{display:none}#customize-theme-controls .control-section-ast-section-separator{margin-top:15px;border-top:1px solid #ddd;display:block!important}.customize-control{position:relative;margin-bottom:0;margin-top:12px}.customize-control .customize-inside-control-row{padding-top:0;padding-bottom:0}.customize-control-title{display:inline-block;margin-bottom:12px}.customize-control-ast-font-variant .select2{margin-bottom:12px}.customize-control .ast-control-tooltip{position:absolute;top:0;left:0}.customize-control.customize-control-ast-divider .ast-control-tooltip{position:absolute;top:auto;bottom:3px;left:0}.ast-fields-wrap .customize-control .ast-control-tooltip{left:15px;top:6px}.customize-control .select2-search input[type=text].select2-search__field{min-height:17px}input[type=text].select2-search__field{line-height:1;border-radius:0}#customize-theme-controls .control-section.open{height:100%}@media not all and (min-resolution:0.001dpcm){@supports (-webkit-appearance:none){#customize-control-astra-settings-ast-header-responsive-logo-width .wrapper{display:inline-block;width:100%}.dashicons-desktop:before,.dashicons-smartphone:before,.dashicons-tablet:before{color:#000;opacity:.75}.ast-field-settings-modal .customize-control-ast-responsive .input-wrapper .ast-responsive-input.active+.ast-responsive-select{width:20%}}}@-moz-document url-prefix(){.control-section.open .customize-control:last-child{margin-bottom:20px}}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.control-section.open .customize-control:last-child{padding-bottom:20px}#customize-control-astra-settings-blog-archive-image-height .customize-control-title,#customize-control-astra-settings-blog-archive-image-width .customize-control-title,#customize-control-astra-settings-blog-single-post-image-height .customize-control-title,#customize-control-astra-settings-blog-single-post-image-width .customize-control-title{margin-right:0;margin-left:20px}}.customize-control-ast-description .ast-description{font-style:italic}.customize-control-ast-description a.button{margin-top:10px;font-style:normal}.customize-control-ast-description p{margin:0;cursor:initial}.customize-control-ast-divider hr{margin-top:12px}.customize-control-ast-divider .customize-control-title{font-size:15px;margin:1em 0 .2em}.ast-field-settings-modal .customize-control-ast-divider{background-color:#f5f5f5;display:block;padding:6px 14px;margin:0;border-width:1px 0;border-style:solid;border-color:#ddd;line-height:1;margin-top:15px}.customize-control-ast-settings-group .ast-field-settings-modal .customize-control-ast-divider .customize-control-title{font-weight:500;letter-spacing:1px;font-size:11px;margin:0;text-transform:uppercase}.ast-field-settings-wrap .customize-control-ast-heading{margin:0 0 15px 0}.accordion-section-content.open .customize-control-ast-heading:nth-child(2),.accordion-section-content.open .customize-control-ast-heading:nth-child(3){margin-top:0}.customize-control-ast-heading{margin-top:20px;margin-bottom:8px}.customize-control-ast-heading .ast-heading-wrapper{margin:0 -12px}.customize-control-ast-heading .customize-control-title{display:block;padding:13px 12px;margin:0;border-width:1px 0;border-style:solid;border-color:#ddd;background-color:#fff;font-size:11.5px;font-weight:500;letter-spacing:1px;line-height:1;text-transform:uppercase}.customize-control-ast-heading .customize-control-caption{top:50%;transform:translateY(-50%);position:absolute;left:0;font-size:11px;font-weight:500;letter-spacing:1px}.customize-control-ast-heading .customize-control-description{margin-top:10px}.ast-heading-wrapper label{cursor:default}.customize-control>label{cursor:default}.customize-control .ast-border-input-item-link,.customize-control .ast-spacing-input-item-link{cursor:pointer}.customize-control.customize-control-ast-slider label{cursor:pointer}.customize-control.customize-control-ast-slider label .wrapper input[type=range]{cursor:pointer}.ast-link-open-in-new-tab-wrapper{margin:10px 0}.customize-control-ast-radio-image label{position:relative;display:inline-block;margin-left:12px}.customize-control-ast-radio-image input{display:none}.customize-control-ast-radio-image input:checked+label svg{background:#fff;border-radius:3px;box-shadow:0 0 3px 0 rgba(0,133,186,.67)}.customize-control-ast-radio-image input+label .image-clickable{position:absolute;top:0;bottom:0;right:0;left:0;width:100%;height:100%}.customize-control-ast-radio-image .ast-radio-img-svg svg{width:73px;height:49px}#customize-control-astra-settings-above-header-menu-align .ast-radio-img-svg svg,#customize-control-astra-settings-below-header-menu-align .ast-radio-img-svg svg,#customize-control-astra-settings-header-main-menu-align .ast-radio-img-svg svg{width:37px;height:49px}#customize-control-astra-settings-footer-adv .image label{margin-bottom:12px}.customize-control-ast-responsive-background{position:relative}.customize-control-ast-responsive-background .screen-reader-text{top:initial}.customize-control-ast-responsive-background .background-container h4{font-size:14px;font-weight:600;color:#555d66}.customize-control-ast-responsive-background .background-attachment h4,.customize-control-ast-responsive-background .background-color h4,.customize-control-ast-responsive-background .background-position h4,.customize-control-ast-responsive-background .background-repeat h4,.customize-control-ast-responsive-background .background-size h4{margin-bottom:5px;margin-top:10px}.customize-control-ast-responsive-background .background-color{margin-bottom:12px}.customize-control-ast-responsive-background .background-repeat{margin:15px 0 15px 0}.customize-control-ast-responsive-background .background-attachment .buttonset,.customize-control-ast-responsive-background .background-size .buttonset{display:flex;flex-wrap:wrap}.customize-control-ast-responsive-background .background-attachment .buttonset .switch-label,.customize-control-ast-responsive-background .background-size .buttonset .switch-label{background:#fff;border:1px solid rgba(0,0,0,.1);color:#555;padding:2px 4px;margin-left:15px;text-align:center;flex-grow:1;transition:background-color 140ms linear}.customize-control-ast-responsive-background .background-attachment .buttonset .switch-label:last-child,.customize-control-ast-responsive-background .background-size .buttonset .switch-label:last-child{margin-left:0}.customize-control-ast-responsive-background .background-attachment .buttonset .switch-input:checked+.switch-label,.customize-control-ast-responsive-background .background-size .buttonset .switch-input:checked+.switch-label{background-color:#f5f5f5;color:#565e67}.customize-control-ast-responsive-background .background-attachment .buttonset .switch-input[checked=checked]+.switch-label,.customize-control-ast-responsive-background .background-size .buttonset .switch-input[checked=checked]+.switch-label{background-color:#f5f5f5;color:#565e67}.customize-control-ast-responsive-background .more-settings{margin-top:6px;display:inline-block;padding:5px 0 5px 0;float:left}.customize-control-ast-responsive-background .more-settings:focus{outline:0;box-shadow:none}.customize-control-ast-responsive-background .arrow-icon{margin-right:5px}.customize-control-ast-responsive-background .background-container{display:none}.customize-control-ast-responsive-background .background-container.active{display:block}.customize-control-ast-responsive-color .customize-control-content .wp-picker-container{display:none}.customize-control-ast-responsive-color .customize-control-content .wp-picker-container.active{display:block}.ast-responsive-btns{display:inline-block;float:left;line-height:1;margin-top:6px}.ast-responsive-btns>li{margin-bottom:0;display:none}.ast-responsive-btns>li.active{display:inline-block}.ast-responsive-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0}.ast-responsive-btns button[type=button]>i{width:15px;height:15px;font-size:15px}.ast-field-settings-modal .ast-responsive-btns{margin-top:6px}.customize-control-ast-responsive .input-wrapper{overflow:hidden}.customize-control-ast-responsive .input-wrapper input{display:none;width:82%;float:none}.customize-control-ast-responsive .input-wrapper input.active{display:block}.customize-control-ast-responsive .input-wrapper .ast-responsive-select{width:50px;margin:0;display:none;padding:.1em;margin-right:2px;float:none}.customize-control-ast-responsive .input-wrapper .ast-responsive-input.active+.ast-responsive-select{display:block;width:17%;float:none}.customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input{display:inline-block}.customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input.active{display:inline-block}.customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-select{display:inline-block}#customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper{display:inline-block}#customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-select{display:none}#customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-input{width:100%}.input-wrapper.ast-responsive-wrapper{display:inline-flex;justify-content:space-between;margin-left:0;align-items:flex-start;flex:0 1;width:100%}.customize-control-ast-responsive-slider .wrapper{position:relative;height:100%}.customize-control-ast-responsive-slider .input-field-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.customize-control-ast-responsive-slider input[type=range]{-webkit-appearance:none;-webkit-transition:background .3s;-moz-transition:background .3s;transition:background .3s;background-color:rgba(0,0,0,.1);height:5px;padding:0;-webkit-box-flex:1;-ms-flex:1;flex:1}.customize-control-ast-responsive-slider input[type=range]:focus{box-shadow:none;outline:0}.customize-control-ast-responsive-slider input[type=range]:focus,.customize-control-ast-responsive-slider input[type=range]:hover{background-color:rgba(0,0,0,.25)}.customize-control-ast-responsive-slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:15px;height:15px;border-radius:50%;-webkit-border-radius:50%;background-color:#3498d9;-webkit-appearance:none;width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-responsive-slider input[type=range]::-moz-range-thumb{width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-responsive-slider input[type=range]::-ms-thumb{width:15px;height:15px;border-radius:50%;border:0;background-color:#3498d9}.customize-control-ast-responsive-slider input[type=range]::-moz-range-track{border:inherit;background:0 0}.customize-control-ast-responsive-slider input[type=range]::-ms-track{border:inherit;color:transparent;background:0 0}.customize-control-ast-responsive-slider input[type=range]::-ms-fill-lower,.customize-control-ast-responsive-slider input[type=range]::-ms-fill-upper{background:0 0}.customize-control-ast-responsive-slider input[type=range]::-ms-tooltip{display:none}.customize-control-ast-responsive-slider .astra_range_value{font-size:14px;padding:0 5px 0 0;font-weight:400;position:relative}.customize-control-ast-responsive-slider .ast-responsive-slider-reset{color:rgba(0,0,0,.2);position:absolute;top:-28px;left:1.5em;display:inline-block;-webkit-transition:color .5s ease-in;-moz-transition:color .5s ease-in;-ms-transition:color .5s ease-in;-o-transition:color .5s ease-in;transition:color .5s ease-in}.customize-control-ast-responsive-slider .ast-responsive-slider-reset span{font-size:13px;line-height:24px;transition:unset}.customize-control-ast-responsive-slider .ast-responsive-slider-reset:focus,.customize-control-ast-responsive-slider .ast-responsive-slider-reset:hover{color:red}.astra_range_value input.ast-responsive-range-value-input{width:50px;height:22px;font-size:12px;padding:3px}.astra_range_value .ast-range-unit{margin-right:5px}.customize-control-ast-responsive-slider .input-field-wrapper{display:none}.customize-control-ast-responsive-slider .input-field-wrapper.active{display:flex;justify-content:space-between;margin-left:0;flex:0 1;width:100%}.ast-responsive-slider-btns{display:inline-block;float:left;line-height:1;margin-top:5px}.ast-responsive-slider-btns>li{margin-bottom:0;display:none}.ast-responsive-slider-btns>li.active{display:inline-block}.ast-responsive-slider-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0}.ast-responsive-slider-btns button[type=button]>i{width:15px;height:15px;font-size:15px}.customize-control-ast-responsive-spacing .customize-control-title{display:inline-block}.customize-control-ast-responsive-spacing .ast-spacing-responsive-outer-wrapper{display:flex;position:relative}.customize-control-ast-responsive-spacing .ast-spacing-input-item{margin-bottom:0}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns{display:block;text-align:center;line-height:2;border:1px solid #ddd;background-color:#fff;border-radius:3px 0 0 3px}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns>li{margin-bottom:0;display:none;width:35px;height:26px}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns>li.active{display:inline-block}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0;width:100%;height:100%}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type=button]>i{font-size:15px;margin-top:1px;vertical-align:middle}.customize-control-ast-responsive-spacing .input-wrapper.ast-spacing-responsive-wrapper{display:inline-flex}.customize-control-ast-responsive-spacing .ast-spacing-responsive-units{position:absolute;transform:translateY(-100%);font-size:11px;text-transform:uppercase;top:0;left:0}.customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit{display:inline-block;margin-right:6px;width:16px;text-align:center;user-select:none;opacity:.7}.customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit.active{text-decoration:underline;opacity:1;color:#000}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper{display:none}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li{text-align:center;-webkit-box-flex:1;-ms-flex:auto;flex:auto}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li input.ast-spacing-input{text-align:center;display:block;font-size:12px;padding:4px 0;width:100%;height:28px;border:1px solid #ddd;border-left-width:0;box-shadow:none;padding-right:11px}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li .ast-spacing-connected{color:#1e8cbe}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper.active{display:flex}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper span.ast-spacing-title{text-transform:uppercase;font-size:10px;opacity:.75}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link .ast-spacing-connected{display:none}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-disconnected{display:none}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-connected{display:block}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link span{width:35px;height:26px;line-height:26px;font-size:14px;border:1px solid #ddd;background-color:#fff;border-radius:0 3px 3px 0;border-left-width:0}.ast-adv-toggle-icon{left:2px;top:-2px;position:absolute;width:18px;height:18px;font-size:18px;border:1px solid #ddd;border-radius:2px;padding:4px;color:#0073aa;background:#fff}.ast-adv-toggle-icon:hover{color:#099fd6}.ast-adv-toggle-icon:before{content:"\f464"}.ast-adv-toggle-icon.open:before{content:"\f158"}.ast-field-settings-modal{position:absolute;-webkit-box-shadow:0 2px 15px rgba(0,0,0,.3);box-shadow:0 2px 15px rgba(0,0,0,.3);-webkit-border-radius:3px;border-radius:3px;right:0;left:0;z-index:10000;background-color:#fff}.ast-field-settings-modal .customize-control-ast-divider:first-child{margin-top:15px}.ast-field-settings-wrap{width:100%}.ast-group-tabs,.ast-tab-content{position:relative}.ast-group-list{overflow:hidden;border-bottom:1px solid #ddd}.ast-group-list:after,.ast-group-list:before{content:"";display:table;border-collapse:collapse}.ui-tabs-anchor{float:right;padding:.5em .5em;color:#555d66;text-decoration:none}.ui-state-active .ui-tabs-anchor{color:#fff}.ui-tabs-anchor:hover{color:#555d66}.ui-state-active .ui-tabs-anchor:hover{color:#fff}.ast-group-tabs .ui-widget-content{overflow:hidden}.ast-group-tabs .ui-widget-content.iris-slider-offset,.ast-group-tabs .ui-widget-content.iris-slider-offset-alpha{overflow:inherit}.ast-fields-wrap{overflow:hidden}.ast-field-settings-wrap{-webkit-box-shadow:0 2px 15px rgba(0,0,0,.3);box-shadow:0 2px 15px rgba(0,0,0,.3);-webkit-border-radius:3px;background-color:#fff}.ast-field-settings-wrap .ast-field-settings-modal{border-radius:3px;margin-top:9px;margin-bottom:20px}.ast-field-settings-modal::before{content:'';position:absolute;top:-17px;left:8px;border:9px solid transparent;border-bottom-color:#fff;pointer-events:none}.ast-group-tabs .ui-tabs-nav{display:flex;padding:15px 15px 0 15px}.ast-group-tabs .ui-tabs-nav .ui-corner-top{align-items:center;flex:1 1 auto;justify-content:center;margin:0 0;padding:0;border:1px solid #ccc;transition:background-color 140ms linear}.ast-group-tabs .ui-tabs-nav .ui-corner-top:first-child{border-radius:0 3px 3px 0}.ast-group-tabs .ui-tabs-nav .ui-corner-top:last-child{border-radius:3px 0 0 3px}.ast-group-tabs .ui-tabs-nav .ui-corner-top .ui-tabs-anchor{width:100%;text-align:center;padding:2px 4px;padding-right:0;padding-left:0;outline:0}.ast-group-tabs ul.ast-group-list .ui-corner-top .ui-tabs-anchor:focus{box-shadow:none}.ast-group-tabs .ui-tabs-nav{border:none}.ast-group-tabs ul.ast-group-list .ui-corner-top.ui-state-active{background-color:#0185ba;border:1px solid rgba(0,0,0,.1)}.ast-group-tabs .ui-tabs-nav{overflow:visible}.ast-group-tabs ul.ast-group-list .ui-corner-top:not(:first-child){border-right-width:0}.wp-core-ui .ast-field-settings-modal .background-image-upload .button{font-size:11px}.ast-field-settings-modal .customize-control{padding-right:15px;padding-left:15px;box-sizing:border-box}.ast-field-settings-modal .customize-control:first-child{margin-top:15px}.ast-field-settings-modal .ui-tabs-nav .customize-control:first-child{margin-top:0}.ast-field-settings-modal .customize-control:last-child{padding-bottom:15px}.customize-control-ast-settings-group{line-height:27px}.customize-control-ast-settings-group .customize-control-title{margin-bottom:0}.customize-control-ast-settings-group .ast-field-settings-modal .customize-control-title{margin-bottom:10px;font-size:13px}.ast-field-settings-modal .customize-control{margin-top:10px}.customize-control-ast-slider .wrapper{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.customize-control-ast-slider input[type=range]{-webkit-appearance:none;-webkit-transition:background .3s;-moz-transition:background .3s;transition:background .3s;background-color:rgba(0,0,0,.1);height:5px;padding:0;-webkit-box-flex:1;-ms-flex:1;flex:1}.customize-control-ast-slider input[type=range]:focus{box-shadow:none;outline:0}.customize-control-ast-slider input[type=range]:focus,.customize-control-ast-slider input[type=range]:hover{background-color:rgba(0,0,0,.25)}.customize-control-ast-slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:15px;height:15px;border-radius:50%;-webkit-border-radius:50%;background-color:#3498d9;-webkit-appearance:none;width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-slider input[type=range]::-moz-range-thumb{width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-slider input[type=range]::-ms-thumb{width:15px;height:15px;border-radius:50%;border:0;background-color:#3498d9}.customize-control-ast-slider input[type=range]::-moz-range-track{border:inherit;background:0 0}.customize-control-ast-slider input[type=range]::-ms-track{border:inherit;color:transparent;background:0 0}.customize-control-ast-slider input[type=range]::-ms-fill-lower,.customize-control-ast-slider input[type=range]::-ms-fill-upper{background:0 0}.customize-control-ast-slider input[type=range]::-ms-tooltip{display:none}.customize-control-ast-slider .astra_range_value{font-size:14px;padding:0 5px 0 0;font-weight:400;position:relative}.customize-control-ast-slider .ast-slider-reset{color:rgba(0,0,0,.2);position:absolute;top:-28px;left:0;display:inline-block;-webkit-transition:color .5s ease-in;-moz-transition:color .5s ease-in;-ms-transition:color .5s ease-in;-o-transition:color .5s ease-in;transition:color .5s ease-in}.customize-control-ast-slider .ast-slider-reset span{font-size:16px;line-height:22px;transition:unset}.customize-control-ast-slider .ast-slider-reset:focus,.customize-control-ast-slider .ast-slider-reset:hover{color:red}.astra_range_value input.ast-range-value-input{width:50px;height:22px;font-size:12px;padding:3px}.astra_range_value .ast-range-unit{margin-right:5px}.customize-control-ast-sortable ul.ui-sortable{cursor:default}.customize-control-ast-sortable ul.ui-sortable .dashicons-visibility{cursor:pointer}.customize-control-ast-sortable ul.ui-sortable li{padding:5px 10px;border:1px solid #333;background:#fff;cursor:move}.customize-control-ast-sortable ul.ui-sortable li .dashicons.dashicons-menu{float:left}.customize-control-ast-sortable ul.ui-sortable li .dashicons.visibility{margin-left:10px}.customize-control-ast-sortable ul.ui-sortable li.invisible{color:#aaa;border:1px dashed #aaa}.customize-control-ast-sortable ul.ui-sortable li.invisible .dashicons.visibility{color:#aaa}.select2-container{width:100%!important}span.select2-container.select2-container--default.select2-container--open{z-index:999999}span.select2-container.select2-container--default.select2-container--open li.select2-results__option{margin:0}.select2-selection__rendered li{margin-bottom:0}.select2-container--default .select2-selection--single,.select2-container--default.select2-container .select2-selection--multiple{border-color:#ddd;border-radius:0}.select2-container--default .select2-selection--multiple .select2-selection__choice,.select2-dropdown{border-color:#ddd;border-radius:0}.customize-control-ast-hidden{margin-top:0}.wp-full-overlay-footer .devices-wrapper .preview-desktop,.wp-full-overlay-footer .devices-wrapper .preview-mobile,.wp-full-overlay-footer .devices-wrapper .preview-tablet{vertical-align:middle}.customize-control-ast-customizer-link .customizer-link{font-style:italic;text-decoration:none}.accordion-section-content::-webkit-scrollbar,.wp-full-overlay-sidebar-content::-webkit-scrollbar{width:6px;background-color:#f1f1f1}.accordion-section-content::-webkit-scrollbar-thumb,.wp-full-overlay-sidebar-content::-webkit-scrollbar-thumb{border-radius:10px;background-color:#d8d8d8}.accordion-section-content::-webkit-scrollbar-track,.wp-full-overlay-sidebar-content::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 0 rgba(0,0,0,.3);width:6px}.wp-full-overlay-sidebar:after{display:none}#customize-theme-controls .control-section-ast-section-separator{margin-top:15px;border-top:1px solid #ddd;display:block!important}.customize-control{position:relative;margin-bottom:0;margin-top:12px}.customize-control .customize-inside-control-row{padding-top:0;padding-bottom:0}.customize-control-title{display:inline-block;margin-bottom:12px}.customize-control-ast-font-variant .select2{margin-bottom:12px}.customize-control .ast-control-tooltip{position:absolute;top:0;left:0}.customize-control.customize-control-ast-divider .ast-control-tooltip{position:absolute;top:auto;bottom:3px;left:0}.ast-fields-wrap .customize-control .ast-control-tooltip{left:15px;top:6px}.customize-control .select2-search input[type=text].select2-search__field{min-height:17px}input[type=text].select2-search__field{line-height:1;border-radius:0}#customize-theme-controls .control-section.open{height:100%}@media not all and (min-resolution:0.001dpcm){@supports (-webkit-appearance:none){#customize-control-astra-settings-ast-header-responsive-logo-width .wrapper{display:inline-block;width:100%}.dashicons-desktop:before,.dashicons-smartphone:before,.dashicons-tablet:before{color:#000;opacity:.75}.ast-field-settings-modal .customize-control-ast-responsive .input-wrapper .ast-responsive-input.active+.ast-responsive-select{width:20%}}}@-moz-document url-prefix(){.control-section.open .customize-control:last-child{margin-bottom:20px}}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.control-section.open .customize-control:last-child{padding-bottom:20px}#customize-control-astra-settings-blog-archive-image-height .customize-control-title,#customize-control-astra-settings-blog-archive-image-width .customize-control-title,#customize-control-astra-settings-blog-single-post-image-height .customize-control-title,#customize-control-astra-settings-blog-single-post-image-width .customize-control-title{margin-right:0;margin-left:20px}}.customize-control-ast-description .ast-description{font-style:italic}.customize-control-ast-description a.button{margin-top:10px;font-style:normal}.customize-control-ast-description p{margin:0;cursor:initial}.customize-control-ast-divider hr{margin-top:12px}.customize-control-ast-divider .customize-control-title{font-size:15px;margin:1em 0 .2em}.ast-field-settings-modal .customize-control-ast-divider{background-color:#f5f5f5;display:block;padding:6px 14px;margin:0;border-width:1px 0;border-style:solid;border-color:#ddd;line-height:1;margin-top:15px}.customize-control-ast-settings-group .ast-field-settings-modal .customize-control-ast-divider .customize-control-title{font-weight:500;letter-spacing:1px;font-size:11px;margin:0;text-transform:uppercase}.ast-field-settings-wrap .customize-control-ast-heading{margin:0 0 15px 0}.accordion-section-content.open .customize-control-ast-heading:nth-child(2),.accordion-section-content.open .customize-control-ast-heading:nth-child(3){margin-top:0}.customize-control-ast-heading{margin-top:20px;margin-bottom:8px}.customize-control-ast-heading .ast-heading-wrapper{margin:0 -12px}.customize-control-ast-heading .customize-control-title{display:block;padding:13px 12px;margin:0;border-width:1px 0;border-style:solid;border-color:#ddd;background-color:#fff;font-size:11.5px;font-weight:500;letter-spacing:1px;line-height:1;text-transform:uppercase}.customize-control-ast-heading .customize-control-caption{top:50%;transform:translateY(-50%);position:absolute;left:0;font-size:11px;font-weight:500;letter-spacing:1px}.customize-control-ast-heading .customize-control-description{margin-top:10px}.ast-heading-wrapper label{cursor:default}.customize-control>label{cursor:default}.customize-control .ast-border-input-item-link,.customize-control .ast-spacing-input-item-link{cursor:pointer}.customize-control.customize-control-ast-slider label{cursor:pointer}.customize-control.customize-control-ast-slider label .wrapper input[type=range]{cursor:pointer}.ast-link-open-in-new-tab-wrapper{margin:10px 0}.customize-control-ast-radio-image label{position:relative;display:inline-block;margin-left:12px}.customize-control-ast-radio-image input{display:none}.customize-control-ast-radio-image input:checked+label svg{background:#fff;border-radius:3px;box-shadow:0 0 3px 0 rgba(0,133,186,.67)}.customize-control-ast-radio-image input+label .image-clickable{position:absolute;top:0;bottom:0;right:0;left:0;width:100%;height:100%}.customize-control-ast-radio-image .ast-radio-img-svg svg{width:73px;height:49px}#customize-control-astra-settings-above-header-menu-align .ast-radio-img-svg svg,#customize-control-astra-settings-below-header-menu-align .ast-radio-img-svg svg,#customize-control-astra-settings-header-main-menu-align .ast-radio-img-svg svg{width:37px;height:49px}#customize-control-astra-settings-footer-adv .image label{margin-bottom:12px}.customize-control-ast-responsive-background{position:relative}.customize-control-ast-responsive-background .screen-reader-text{top:initial}.customize-control-ast-responsive-background .background-container h4{font-size:14px;font-weight:600;color:#555d66}.customize-control-ast-responsive-background .background-attachment h4,.customize-control-ast-responsive-background .background-color h4,.customize-control-ast-responsive-background .background-position h4,.customize-control-ast-responsive-background .background-repeat h4,.customize-control-ast-responsive-background .background-size h4{margin-bottom:5px;margin-top:10px}.customize-control-ast-responsive-background .background-color{margin-bottom:12px}.customize-control-ast-responsive-background .background-repeat{margin:15px 0 15px 0}.customize-control-ast-responsive-background .background-attachment .buttonset,.customize-control-ast-responsive-background .background-size .buttonset{display:flex;flex-wrap:wrap}.customize-control-ast-responsive-background .background-attachment .buttonset .switch-label,.customize-control-ast-responsive-background .background-size .buttonset .switch-label{background:#fff;border:1px solid rgba(0,0,0,.1);color:#555;padding:2px 4px;margin-left:15px;text-align:center;flex-grow:1;transition:background-color 140ms linear}.customize-control-ast-responsive-background .background-attachment .buttonset .switch-label:last-child,.customize-control-ast-responsive-background .background-size .buttonset .switch-label:last-child{margin-left:0}.customize-control-ast-responsive-background .background-attachment .buttonset .switch-input:checked+.switch-label,.customize-control-ast-responsive-background .background-size .buttonset .switch-input:checked+.switch-label{background-color:#f5f5f5;color:#565e67}.customize-control-ast-responsive-background .background-attachment .buttonset .switch-input[checked=checked]+.switch-label,.customize-control-ast-responsive-background .background-size .buttonset .switch-input[checked=checked]+.switch-label{background-color:#f5f5f5;color:#565e67}.customize-control-ast-responsive-background .more-settings{margin-top:6px;display:inline-block;padding:5px 0 5px 0;float:left}.customize-control-ast-responsive-background .more-settings:focus{outline:0;box-shadow:none}.customize-control-ast-responsive-background .arrow-icon{margin-right:5px}.customize-control-ast-responsive-background .background-container{display:none}.customize-control-ast-responsive-background .background-container.active{display:block}.customize-control-ast-responsive-color .customize-control-content .wp-picker-container{display:none}.customize-control-ast-responsive-color .customize-control-content .wp-picker-container.active{display:block}.ast-responsive-btns{display:inline-block;float:left;line-height:1;margin-top:6px}.ast-responsive-btns>li{margin-bottom:0;display:none}.ast-responsive-btns>li.active{display:inline-block}.ast-responsive-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0}.ast-responsive-btns button[type=button]>i{width:15px;height:15px;font-size:15px}.ast-field-settings-modal .ast-responsive-btns{margin-top:6px}.customize-control-ast-responsive .input-wrapper{overflow:hidden}.customize-control-ast-responsive .input-wrapper input{display:none;width:82%;float:none}.customize-control-ast-responsive .input-wrapper input.active{display:block}.customize-control-ast-responsive .input-wrapper .ast-responsive-select{width:50px;margin:0;display:none;padding:.1em;margin-right:2px;float:none}.customize-control-ast-responsive .input-wrapper .ast-responsive-input.active+.ast-responsive-select{display:block;width:17%;float:none}.customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input{display:inline-block}.customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input.active{display:inline-block}.customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-select{display:inline-block}#customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper{display:inline-block}#customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-select{display:none}#customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-input{width:100%}.input-wrapper.ast-responsive-wrapper{display:inline-flex;justify-content:space-between;margin-left:0;align-items:flex-start;flex:0 1;width:100%}.customize-control-ast-responsive-slider .wrapper{position:relative;height:100%}.customize-control-ast-responsive-slider .input-field-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.customize-control-ast-responsive-slider input[type=range]{-webkit-appearance:none;-webkit-transition:background .3s;-moz-transition:background .3s;transition:background .3s;background-color:rgba(0,0,0,.1);height:5px;padding:0;-webkit-box-flex:1;-ms-flex:1;flex:1}.customize-control-ast-responsive-slider input[type=range]:focus{box-shadow:none;outline:0}.customize-control-ast-responsive-slider input[type=range]:focus,.customize-control-ast-responsive-slider input[type=range]:hover{background-color:rgba(0,0,0,.25)}.customize-control-ast-responsive-slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:15px;height:15px;border-radius:50%;-webkit-border-radius:50%;background-color:#3498d9;-webkit-appearance:none;width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-responsive-slider input[type=range]::-moz-range-thumb{width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-responsive-slider input[type=range]::-ms-thumb{width:15px;height:15px;border-radius:50%;border:0;background-color:#3498d9}.customize-control-ast-responsive-slider input[type=range]::-moz-range-track{border:inherit;background:0 0}.customize-control-ast-responsive-slider input[type=range]::-ms-track{border:inherit;color:transparent;background:0 0}.customize-control-ast-responsive-slider input[type=range]::-ms-fill-lower,.customize-control-ast-responsive-slider input[type=range]::-ms-fill-upper{background:0 0}.customize-control-ast-responsive-slider input[type=range]::-ms-tooltip{display:none}.customize-control-ast-responsive-slider .astra_range_value{font-size:14px;padding:0 5px 0 0;font-weight:400;position:relative}.customize-control-ast-responsive-slider .ast-responsive-slider-reset{color:rgba(0,0,0,.2);position:absolute;top:-28px;left:1.5em;display:inline-block;-webkit-transition:color .5s ease-in;-moz-transition:color .5s ease-in;-ms-transition:color .5s ease-in;-o-transition:color .5s ease-in;transition:color .5s ease-in}.customize-control-ast-responsive-slider .ast-responsive-slider-reset span{font-size:13px;line-height:24px;transition:unset}.customize-control-ast-responsive-slider .ast-responsive-slider-reset:focus,.customize-control-ast-responsive-slider .ast-responsive-slider-reset:hover{color:red}.astra_range_value input.ast-responsive-range-value-input{width:50px;height:22px;font-size:12px;padding:3px}.astra_range_value .ast-range-unit{margin-right:5px}.customize-control-ast-responsive-slider .input-field-wrapper{display:none}.customize-control-ast-responsive-slider .input-field-wrapper.active{display:flex;justify-content:space-between;margin-left:0;flex:0 1;width:100%}.ast-responsive-slider-btns{display:inline-block;float:left;line-height:1;margin-top:5px}.ast-responsive-slider-btns>li{margin-bottom:0;display:none}.ast-responsive-slider-btns>li.active{display:inline-block}.ast-responsive-slider-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0}.ast-responsive-slider-btns button[type=button]>i{width:15px;height:15px;font-size:15px}.customize-control-ast-responsive-spacing .customize-control-title{display:inline-block}.customize-control-ast-responsive-spacing .ast-spacing-responsive-outer-wrapper{display:flex;position:relative}.customize-control-ast-responsive-spacing .ast-spacing-input-item{margin-bottom:0}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns{display:block;text-align:center;line-height:2;border:1px solid #ddd;background-color:#fff;border-radius:3px 0 0 3px}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns>li{margin-bottom:0;display:none;width:35px;height:26px}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns>li.active{display:inline-block}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0;width:100%;height:100%}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type=button]>i{font-size:15px;margin-top:1px;vertical-align:middle}.customize-control-ast-responsive-spacing .input-wrapper.ast-spacing-responsive-wrapper{display:inline-flex}.customize-control-ast-responsive-spacing .ast-spacing-responsive-units{position:absolute;transform:translateY(-100%);font-size:11px;text-transform:uppercase;top:0;left:0}.customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit{display:inline-block;margin-right:6px;width:16px;text-align:center;user-select:none;opacity:.7}.customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit.active{text-decoration:underline;opacity:1;color:#000}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper{display:none}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li{text-align:center;-webkit-box-flex:1;-ms-flex:auto;flex:auto}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li input.ast-spacing-input{text-align:center;display:block;font-size:12px;padding:4px 0;width:100%;height:28px;border:1px solid #ddd;border-left-width:0;box-shadow:none;padding-right:11px}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li .ast-spacing-connected{color:#1e8cbe}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper.active{display:flex}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper span.ast-spacing-title{text-transform:uppercase;font-size:10px;opacity:.75}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link .ast-spacing-connected{display:none}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-disconnected{display:none}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-connected{display:block}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link span{width:35px;height:26px;line-height:26px;font-size:14px;border:1px solid #ddd;background-color:#fff;border-radius:0 3px 3px 0;border-left-width:0}.ast-adv-toggle-icon{left:2px;top:-2px;position:absolute;width:18px;height:18px;font-size:18px;border:1px solid #ddd;border-radius:2px;padding:4px;color:#0073aa;background:#fff}.ast-adv-toggle-icon:hover{color:#099fd6}.ast-adv-toggle-icon:before{content:"\f464"}.ast-adv-toggle-icon.open:before{content:"\f158"}.ast-field-settings-modal{position:absolute;-webkit-box-shadow:0 2px 15px rgba(0,0,0,.3);box-shadow:0 2px 15px rgba(0,0,0,.3);-webkit-border-radius:3px;border-radius:3px;right:0;left:0;z-index:10000;background-color:#fff}.ast-field-settings-modal .customize-control-ast-divider:first-child{margin-top:15px}.ast-field-settings-wrap{width:100%}.ast-group-tabs,.ast-tab-content{position:relative}.ast-group-list{overflow:hidden;border-bottom:1px solid #ddd}.ast-group-list:after,.ast-group-list:before{content:"";display:table;border-collapse:collapse}.ui-tabs-anchor{float:right;padding:.5em .5em;color:#555d66;text-decoration:none}.ui-state-active .ui-tabs-anchor{color:#fff}.ui-tabs-anchor:hover{color:#555d66}.ui-state-active .ui-tabs-anchor:hover{color:#fff}.ast-group-tabs .ui-widget-content{overflow:hidden}.ast-group-tabs .ui-widget-content.iris-slider-offset,.ast-group-tabs .ui-widget-content.iris-slider-offset-alpha{overflow:inherit}.ast-fields-wrap{overflow:hidden}.ast-field-settings-wrap{-webkit-box-shadow:0 2px 15px rgba(0,0,0,.3);box-shadow:0 2px 15px rgba(0,0,0,.3);-webkit-border-radius:3px;background-color:#fff}.ast-field-settings-wrap .ast-field-settings-modal{border-radius:3px;margin-top:9px;margin-bottom:20px}.ast-field-settings-modal::before{content:'';position:absolute;top:-17px;left:8px;border:9px solid transparent;border-bottom-color:#fff;pointer-events:none}.ast-group-tabs .ui-tabs-nav{display:flex;padding:15px 15px 0 15px}.ast-group-tabs .ui-tabs-nav .ui-corner-top{align-items:center;flex:1 1 auto;justify-content:center;margin:0 0;padding:0;border:1px solid #ccc;transition:background-color 140ms linear}.ast-group-tabs .ui-tabs-nav .ui-corner-top:first-child{border-radius:0 3px 3px 0}.ast-group-tabs .ui-tabs-nav .ui-corner-top:last-child{border-radius:3px 0 0 3px}.ast-group-tabs .ui-tabs-nav .ui-corner-top .ui-tabs-anchor{width:100%;text-align:center;padding:2px 4px;padding-right:0;padding-left:0;outline:0}.ast-group-tabs ul.ast-group-list .ui-corner-top .ui-tabs-anchor:focus{box-shadow:none}.ast-group-tabs .ui-tabs-nav{border:none}.ast-group-tabs ul.ast-group-list .ui-corner-top.ui-state-active{background-color:#0185ba;border:1px solid rgba(0,0,0,.1)}.ast-group-tabs .ui-tabs-nav{overflow:visible}.ast-group-tabs ul.ast-group-list .ui-corner-top:not(:first-child){border-right-width:0}.wp-core-ui .ast-field-settings-modal .background-image-upload .button{font-size:11px}.ast-field-settings-modal .customize-control{padding-right:15px;padding-left:15px;box-sizing:border-box}.ast-field-settings-modal .customize-control:first-child{margin-top:15px}.ast-field-settings-modal .ui-tabs-nav .customize-control:first-child{margin-top:0}.ast-field-settings-modal .customize-control:last-child{padding-bottom:15px}.customize-control-ast-settings-group{line-height:27px}.customize-control-ast-settings-group .customize-control-title{margin-bottom:0}.customize-control-ast-settings-group .ast-field-settings-modal .customize-control-title{margin-bottom:10px;font-size:13px}.ast-field-settings-modal .customize-control{margin-top:10px}.customize-control-ast-slider .wrapper{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.customize-control-ast-slider input[type=range]{-webkit-appearance:none;-webkit-transition:background .3s;-moz-transition:background .3s;transition:background .3s;background-color:rgba(0,0,0,.1);height:5px;padding:0;-webkit-box-flex:1;-ms-flex:1;flex:1}.customize-control-ast-slider input[type=range]:focus{box-shadow:none;outline:0}.customize-control-ast-slider input[type=range]:focus,.customize-control-ast-slider input[type=range]:hover{background-color:rgba(0,0,0,.25)}.customize-control-ast-slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:15px;height:15px;border-radius:50%;-webkit-border-radius:50%;background-color:#3498d9;-webkit-appearance:none;width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-slider input[type=range]::-moz-range-thumb{width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-slider input[type=range]::-ms-thumb{width:15px;height:15px;border-radius:50%;border:0;background-color:#3498d9}.customize-control-ast-slider input[type=range]::-moz-range-track{border:inherit;background:0 0}.customize-control-ast-slider input[type=range]::-ms-track{border:inherit;color:transparent;background:0 0}.customize-control-ast-slider input[type=range]::-ms-fill-lower,.customize-control-ast-slider input[type=range]::-ms-fill-upper{background:0 0}.customize-control-ast-slider input[type=range]::-ms-tooltip{display:none}.customize-control-ast-slider .astra_range_value{font-size:14px;padding:0 5px 0 0;font-weight:400;position:relative}.customize-control-ast-slider .ast-slider-reset{color:rgba(0,0,0,.2);position:absolute;top:-28px;left:0;display:inline-block;-webkit-transition:color .5s ease-in;-moz-transition:color .5s ease-in;-ms-transition:color .5s ease-in;-o-transition:color .5s ease-in;transition:color .5s ease-in}.customize-control-ast-slider .ast-slider-reset span{font-size:16px;line-height:22px;transition:unset}.customize-control-ast-slider .ast-slider-reset:focus,.customize-control-ast-slider .ast-slider-reset:hover{color:red}.astra_range_value input.ast-range-value-input{width:50px;height:22px;font-size:12px;padding:3px}.astra_range_value .ast-range-unit{margin-right:5px}.customize-control-ast-sortable ul.ui-sortable{cursor:default}.customize-control-ast-sortable ul.ui-sortable .dashicons-visibility{cursor:pointer}.customize-control-ast-sortable ul.ui-sortable li{padding:5px 10px;border:1px solid #333;background:#fff;cursor:move}.customize-control-ast-sortable ul.ui-sortable li .dashicons.dashicons-menu{float:left}.customize-control-ast-sortable ul.ui-sortable li .dashicons.visibility{margin-left:10px}.customize-control-ast-sortable ul.ui-sortable li.invisible{color:#aaa;border:1px dashed #aaa}.customize-control-ast-sortable ul.ui-sortable li.invisible .dashicons.visibility{color:#aaa}.select2-container{width:100%!important}span.select2-container.select2-container--default.select2-container--open{z-index:999999}span.select2-container.select2-container--default.select2-container--open li.select2-results__option{margin:0}.select2-selection__rendered li{margin-bottom:0}.select2-container--default .select2-selection--single,.select2-container--default.select2-container .select2-selection--multiple{border-color:#ddd;border-radius:0}.select2-container--default .select2-selection--multiple .select2-selection__choice,.select2-dropdown{border-color:#ddd;border-radius:0}.customize-control-ast-hidden{margin-top:0}.wp-full-overlay-footer .devices-wrapper .preview-desktop,.wp-full-overlay-footer .devices-wrapper .preview-mobile,.wp-full-overlay-footer .devices-wrapper .preview-tablet{vertical-align:middle}PK\;custom-controls/assets/css/minified/custom-controls.min.cssnuW+A#customize-controls .customize-control-notifications-container{margin:0}.customize-control-ast-background .screen-reader-text{top:initial}.customize-control-ast-background .background-container h4{font-weight:400}.customize-control-ast-background .background-attachment h4,.customize-control-ast-background .background-color h4,.customize-control-ast-background .background-position h4,.customize-control-ast-background .background-repeat h4,.customize-control-ast-background .background-size h4{margin-bottom:5px;margin-top:10px}.customize-control-ast-background .background-color{margin-bottom:12px}.customize-control-ast-background .background-repeat{margin:15px 0 8px 0}.customize-control-ast-background .background-attachment .buttonset,.customize-control-ast-background .background-size .buttonset{display:flex;flex-wrap:wrap}.customize-control-ast-background .background-attachment .buttonset .switch-label,.customize-control-ast-background .background-size .buttonset .switch-label{background:#fff;border:1px solid rgba(0,0,0,.1);color:#555;padding:2px 4px;margin-right:15px;text-align:center;flex-grow:1;transition:background-color 140ms linear}.customize-control-ast-background .background-attachment .buttonset .switch-label:last-child,.customize-control-ast-background .background-size .buttonset .switch-label:last-child{margin-right:0}.customize-control-ast-background .background-attachment .buttonset .switch-input:checked+.switch-label,.customize-control-ast-background .background-attachment .buttonset .switch-input[checked=checked]+.switch-label,.customize-control-ast-background .background-size .buttonset .switch-input:checked+.switch-label,.customize-control-ast-background .background-size .buttonset .switch-input[checked=checked]+.switch-label{background-color:#f5f5f5;color:#565e67}.customize-control-ast-background .more-settings{margin-top:12px;display:inline-block;padding:5px 0 5px 0;float:right}.customize-control-ast-background .more-settings:focus{outline:0;box-shadow:none}.customize-control-ast-background .arrow-icon{margin-left:5px}.ast-field-settings-modal .customize-control-ast-background .more-settings{margin-top:6px}.customize-control-ast-border .customize-control-title{display:inline-block}.customize-control-ast-border .ast-border-outer-wrapper{display:flex;position:relative}.customize-control-ast-border .ast-border-wrapper{display:flex}.customize-control-ast-border .ast-border-btns{display:block;text-align:center;line-height:2;border:1px solid #ddd;background-color:#fff;border-radius:0 3px 3px 0}.customize-control-ast-border .ast-border-btns>li{margin-bottom:0;display:none;width:35px;height:26px}.customize-control-ast-border .ast-border-btns>li.active{display:inline-block}.customize-control-ast-border .ast-border-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0;width:100%;height:100%}.customize-control-ast-border .ast-border-btns button[type=button]>i{width:15px;height:15px;font-size:15px;margin-top:1px}.customize-control-ast-border .input-wrapper .ast-border-wrapper{display:none}.customize-control-ast-border .input-wrapper .ast-border-wrapper li{text-align:center;-webkit-box-flex:1;-ms-flex:auto;flex:auto;margin-bottom:0}.customize-control-ast-border .input-wrapper .ast-border-wrapper li input.ast-border-input{text-align:center;display:block;font-size:12px;padding:4px 0;width:100%;height:28px;border:1px solid #ddd;border-right-width:0;box-shadow:none;padding-left:11px}.customize-control-ast-border .input-wrapper .ast-border-wrapper li .ast-border-connected{color:#fff}.customize-control-ast-border .input-wrapper .ast-border-wrapper li:last-child input.ast-border-input{border-right-width:1px;border-radius:0 3px 3px 0}.customize-control-ast-border .input-wrapper .ast-border-wrapper.active{display:flex}.customize-control-ast-border .input-wrapper .ast-border-wrapper span.ast-border-title{text-transform:uppercase;font-size:10px;opacity:.75}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected{display:none}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-disconnected{display:none}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-connected{display:block}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link span{width:35px;height:26px;line-height:26px;font-size:14px;border:1px solid #ddd;background-color:#fff;border-radius:3px 0 0 3px;border-right-width:0}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected{background-color:#1e8cbe}#customize-controls .customize-control-notifications-container{margin:0}.customize-control-ast-background .screen-reader-text{top:initial}.customize-control-ast-background .background-container h4{font-weight:400}.customize-control-ast-background .background-attachment h4,.customize-control-ast-background .background-color h4,.customize-control-ast-background .background-position h4,.customize-control-ast-background .background-repeat h4,.customize-control-ast-background .background-size h4{margin-bottom:5px;margin-top:10px}.customize-control-ast-background .background-color{margin-bottom:12px}.customize-control-ast-background .background-repeat{margin:15px 0 8px 0}.customize-control-ast-background .background-attachment .buttonset,.customize-control-ast-background .background-size .buttonset{display:flex;flex-wrap:wrap}.customize-control-ast-background .background-attachment .buttonset .switch-label,.customize-control-ast-background .background-size .buttonset .switch-label{background:#fff;border:1px solid rgba(0,0,0,.1);color:#555;padding:2px 4px;margin-right:15px;text-align:center;flex-grow:1;transition:background-color 140ms linear}.customize-control-ast-background .background-attachment .buttonset .switch-label:last-child,.customize-control-ast-background .background-size .buttonset .switch-label:last-child{margin-right:0}.customize-control-ast-background .background-attachment .buttonset .switch-input:checked+.switch-label,.customize-control-ast-background .background-attachment .buttonset .switch-input[checked=checked]+.switch-label,.customize-control-ast-background .background-size .buttonset .switch-input:checked+.switch-label,.customize-control-ast-background .background-size .buttonset .switch-input[checked=checked]+.switch-label{background-color:#f5f5f5;color:#565e67}.customize-control-ast-background .more-settings{margin-top:12px;display:inline-block;padding:5px 0 5px 0;float:right}.customize-control-ast-background .more-settings:focus{outline:0;box-shadow:none}.customize-control-ast-background .arrow-icon{margin-left:5px}.ast-field-settings-modal .customize-control-ast-background .more-settings{margin-top:6px}.customize-control-ast-border .customize-control-title{display:inline-block}.customize-control-ast-border .ast-border-outer-wrapper{display:flex;position:relative}.customize-control-ast-border .ast-border-wrapper{display:flex}.customize-control-ast-border .ast-border-btns{display:block;text-align:center;line-height:2;border:1px solid #ddd;background-color:#fff;border-radius:0 3px 3px 0}.customize-control-ast-border .ast-border-btns>li{margin-bottom:0;display:none;width:35px;height:26px}.customize-control-ast-border .ast-border-btns>li.active{display:inline-block}.customize-control-ast-border .ast-border-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0;width:100%;height:100%}.customize-control-ast-border .ast-border-btns button[type=button]>i{width:15px;height:15px;font-size:15px;margin-top:1px}.customize-control-ast-border .input-wrapper .ast-border-wrapper{display:none}.customize-control-ast-border .input-wrapper .ast-border-wrapper li{text-align:center;-webkit-box-flex:1;-ms-flex:auto;flex:auto;margin-bottom:0}.customize-control-ast-border .input-wrapper .ast-border-wrapper li input.ast-border-input{text-align:center;display:block;font-size:12px;padding:4px 0;width:100%;height:28px;border:1px solid #ddd;border-right-width:0;box-shadow:none;padding-left:11px}.customize-control-ast-border .input-wrapper .ast-border-wrapper li .ast-border-connected{color:#fff}.customize-control-ast-border .input-wrapper .ast-border-wrapper li:last-child input.ast-border-input{border-right-width:1px;border-radius:0 3px 3px 0}.customize-control-ast-border .input-wrapper .ast-border-wrapper.active{display:flex}.customize-control-ast-border .input-wrapper .ast-border-wrapper span.ast-border-title{text-transform:uppercase;font-size:10px;opacity:.75}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected{display:none}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-disconnected{display:none}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-connected{display:block}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link span{width:35px;height:26px;line-height:26px;font-size:14px;border:1px solid #ddd;background-color:#fff;border-radius:3px 0 0 3px;border-right-width:0}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected{background-color:#1e8cbe}.customize-control-ast-customizer-link .customizer-link{font-style:italic;text-decoration:none}.accordion-section-content::-webkit-scrollbar,.wp-full-overlay-sidebar-content::-webkit-scrollbar{width:6px;background-color:#f1f1f1}.accordion-section-content::-webkit-scrollbar-thumb,.wp-full-overlay-sidebar-content::-webkit-scrollbar-thumb{border-radius:10px;background-color:#d8d8d8}.accordion-section-content::-webkit-scrollbar-track,.wp-full-overlay-sidebar-content::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 0 rgba(0,0,0,.3);width:6px}.wp-full-overlay-sidebar:after{display:none}#customize-theme-controls .control-section-ast-section-separator{margin-top:15px;border-top:1px solid #ddd;display:block!important}.customize-control{position:relative;margin-bottom:0;margin-top:12px}.customize-control .customize-inside-control-row{padding-top:0;padding-bottom:0}.customize-control-title{display:inline-block;margin-bottom:12px}.customize-control-ast-font-variant .select2{margin-bottom:12px}.customize-control .ast-control-tooltip{position:absolute;top:0;right:0}.customize-control.customize-control-ast-divider .ast-control-tooltip{position:absolute;top:auto;bottom:3px;right:0}.ast-fields-wrap .customize-control .ast-control-tooltip{right:15px;top:6px}.customize-control .select2-search input[type=text].select2-search__field{min-height:17px}input[type=text].select2-search__field{line-height:1;border-radius:0}#customize-theme-controls .control-section.open{height:100%}@media not all and (min-resolution:0.001dpcm){@supports (-webkit-appearance:none){#customize-control-astra-settings-ast-header-responsive-logo-width .wrapper{display:inline-block;width:100%}.dashicons-desktop:before,.dashicons-smartphone:before,.dashicons-tablet:before{color:#000;opacity:.75}.ast-field-settings-modal .customize-control-ast-responsive .input-wrapper .ast-responsive-input.active+.ast-responsive-select{width:20%}}}@-moz-document url-prefix(){.control-section.open .customize-control:last-child{margin-bottom:20px}}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.control-section.open .customize-control:last-child{padding-bottom:20px}#customize-control-astra-settings-blog-archive-image-height .customize-control-title,#customize-control-astra-settings-blog-archive-image-width .customize-control-title,#customize-control-astra-settings-blog-single-post-image-height .customize-control-title,#customize-control-astra-settings-blog-single-post-image-width .customize-control-title{margin-left:0;margin-right:20px}}.customize-control-ast-description .ast-description{font-style:italic}.customize-control-ast-description a.button{margin-top:10px;font-style:normal}.customize-control-ast-description p{margin:0;cursor:initial}.customize-control-ast-divider hr{margin-top:12px}.customize-control-ast-divider .customize-control-title{font-size:15px;margin:1em 0 .2em}.ast-field-settings-modal .customize-control-ast-divider{background-color:#f5f5f5;display:block;padding:6px 14px;margin:0;border-width:1px 0;border-style:solid;border-color:#ddd;line-height:1;margin-top:15px}.customize-control-ast-settings-group .ast-field-settings-modal .customize-control-ast-divider .customize-control-title{font-weight:500;letter-spacing:1px;font-size:11px;margin:0;text-transform:uppercase}.ast-field-settings-wrap .customize-control-ast-heading{margin:0 0 15px 0}.accordion-section-content.open .customize-control-ast-heading:nth-child(2),.accordion-section-content.open .customize-control-ast-heading:nth-child(3){margin-top:0}.customize-control-ast-heading{margin-top:20px;margin-bottom:8px}.customize-control-ast-heading .ast-heading-wrapper{margin:0 -12px}.customize-control-ast-heading .customize-control-title{display:block;padding:13px 12px;margin:0;border-width:1px 0;border-style:solid;border-color:#ddd;background-color:#fff;font-size:11.5px;font-weight:500;letter-spacing:1px;line-height:1;text-transform:uppercase}.customize-control-ast-heading .customize-control-caption{top:50%;transform:translateY(-50%);position:absolute;right:0;font-size:11px;font-weight:500;letter-spacing:1px}.customize-control-ast-heading .customize-control-description{margin-top:10px}.ast-heading-wrapper label{cursor:default}.customize-control>label{cursor:default}.customize-control .ast-border-input-item-link,.customize-control .ast-spacing-input-item-link{cursor:pointer}.customize-control.customize-control-ast-slider label{cursor:pointer}.customize-control.customize-control-ast-slider label .wrapper input[type=range]{cursor:pointer}.ast-link-open-in-new-tab-wrapper{margin:10px 0}.customize-control-ast-radio-image label{position:relative;display:inline-block;margin-right:12px}.customize-control-ast-radio-image input{display:none}.customize-control-ast-radio-image input:checked+label svg{background:#fff;border-radius:3px;box-shadow:0 0 3px 0 rgba(0,133,186,.67)}.customize-control-ast-radio-image input+label .image-clickable{position:absolute;top:0;bottom:0;left:0;right:0;width:100%;height:100%}.customize-control-ast-radio-image .ast-radio-img-svg svg{width:73px;height:49px}#customize-control-astra-settings-above-header-menu-align .ast-radio-img-svg svg,#customize-control-astra-settings-below-header-menu-align .ast-radio-img-svg svg,#customize-control-astra-settings-header-main-menu-align .ast-radio-img-svg svg{width:37px;height:49px}#customize-control-astra-settings-footer-adv .image label{margin-bottom:12px}.customize-control-ast-responsive-background{position:relative}.customize-control-ast-responsive-background .screen-reader-text{top:initial}.customize-control-ast-responsive-background .background-container h4{font-size:14px;font-weight:600;color:#555d66}.customize-control-ast-responsive-background .background-attachment h4,.customize-control-ast-responsive-background .background-color h4,.customize-control-ast-responsive-background .background-position h4,.customize-control-ast-responsive-background .background-repeat h4,.customize-control-ast-responsive-background .background-size h4{margin-bottom:5px;margin-top:10px}.customize-control-ast-responsive-background .background-color{margin-bottom:12px}.customize-control-ast-responsive-background .background-repeat{margin:15px 0 15px 0}.customize-control-ast-responsive-background .background-attachment .buttonset,.customize-control-ast-responsive-background .background-size .buttonset{display:flex;flex-wrap:wrap}.customize-control-ast-responsive-background .background-attachment .buttonset .switch-label,.customize-control-ast-responsive-background .background-size .buttonset .switch-label{background:#fff;border:1px solid rgba(0,0,0,.1);color:#555;padding:2px 4px;margin-right:15px;text-align:center;flex-grow:1;transition:background-color 140ms linear}.customize-control-ast-responsive-background .background-attachment .buttonset .switch-label:last-child,.customize-control-ast-responsive-background .background-size .buttonset .switch-label:last-child{margin-right:0}.customize-control-ast-responsive-background .background-attachment .buttonset .switch-input:checked+.switch-label,.customize-control-ast-responsive-background .background-size .buttonset .switch-input:checked+.switch-label{background-color:#f5f5f5;color:#565e67}.customize-control-ast-responsive-background .background-attachment .buttonset .switch-input[checked=checked]+.switch-label,.customize-control-ast-responsive-background .background-size .buttonset .switch-input[checked=checked]+.switch-label{background-color:#f5f5f5;color:#565e67}.customize-control-ast-responsive-background .more-settings{margin-top:6px;display:inline-block;padding:5px 0 5px 0;float:right}.customize-control-ast-responsive-background .more-settings:focus{outline:0;box-shadow:none}.customize-control-ast-responsive-background .arrow-icon{margin-left:5px}.customize-control-ast-responsive-background .background-container{display:none}.customize-control-ast-responsive-background .background-container.active{display:block}.customize-control-ast-responsive-color .customize-control-content .wp-picker-container{display:none}.customize-control-ast-responsive-color .customize-control-content .wp-picker-container.active{display:block}.customize-control-ast-responsive-slider .wrapper{position:relative;height:100%}.customize-control-ast-responsive-slider .input-field-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.customize-control-ast-responsive-slider input[type=range]{-webkit-appearance:none;-webkit-transition:background .3s;-moz-transition:background .3s;transition:background .3s;background-color:rgba(0,0,0,.1);height:5px;padding:0;-webkit-box-flex:1;-ms-flex:1;flex:1}.customize-control-ast-responsive-slider input[type=range]:focus{box-shadow:none;outline:0}.customize-control-ast-responsive-slider input[type=range]:focus,.customize-control-ast-responsive-slider input[type=range]:hover{background-color:rgba(0,0,0,.25)}.customize-control-ast-responsive-slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:15px;height:15px;border-radius:50%;-webkit-border-radius:50%;background-color:#3498d9;-webkit-appearance:none;width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-responsive-slider input[type=range]::-moz-range-thumb{width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-responsive-slider input[type=range]::-ms-thumb{width:15px;height:15px;border-radius:50%;border:0;background-color:#3498d9}.customize-control-ast-responsive-slider input[type=range]::-moz-range-track{border:inherit;background:0 0}.customize-control-ast-responsive-slider input[type=range]::-ms-track{border:inherit;color:transparent;background:0 0}.customize-control-ast-responsive-slider input[type=range]::-ms-fill-lower,.customize-control-ast-responsive-slider input[type=range]::-ms-fill-upper{background:0 0}.customize-control-ast-responsive-slider input[type=range]::-ms-tooltip{display:none}.customize-control-ast-responsive-slider .astra_range_value{font-size:14px;padding:0 0 0 5px;font-weight:400;position:relative}.customize-control-ast-responsive-slider .ast-responsive-slider-reset{color:rgba(0,0,0,.2);position:absolute;top:-28px;right:1.5em;display:inline-block;-webkit-transition:color .5s ease-in;-moz-transition:color .5s ease-in;-ms-transition:color .5s ease-in;-o-transition:color .5s ease-in;transition:color .5s ease-in}.customize-control-ast-responsive-slider .ast-responsive-slider-reset span{font-size:13px;line-height:24px;transition:unset}.customize-control-ast-responsive-slider .ast-responsive-slider-reset:focus,.customize-control-ast-responsive-slider .ast-responsive-slider-reset:hover{color:red}.astra_range_value input.ast-responsive-range-value-input{width:50px;height:22px;font-size:12px;padding:3px}.astra_range_value .ast-range-unit{margin-left:5px}.customize-control-ast-responsive-slider .input-field-wrapper{display:none}.customize-control-ast-responsive-slider .input-field-wrapper.active{display:flex;justify-content:space-between;margin-right:0;flex:0 1;width:100%}.ast-responsive-slider-btns{display:inline-block;float:right;line-height:1;margin-top:5px}.ast-responsive-slider-btns>li{margin-bottom:0;display:none}.ast-responsive-slider-btns>li.active{display:inline-block}.ast-responsive-slider-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0}.ast-responsive-slider-btns button[type=button]>i{width:15px;height:15px;font-size:15px}.customize-control-ast-responsive-spacing .customize-control-title{display:inline-block}.customize-control-ast-responsive-spacing .ast-spacing-responsive-outer-wrapper{display:flex;position:relative}.customize-control-ast-responsive-spacing .ast-spacing-input-item{margin-bottom:0}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns{display:block;text-align:center;line-height:2;border:1px solid #ddd;background-color:#fff;border-radius:0 3px 3px 0}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns>li{margin-bottom:0;display:none;width:35px;height:26px}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns>li.active{display:inline-block}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0;width:100%;height:100%}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type=button]>i{font-size:15px;margin-top:1px;vertical-align:middle}.customize-control-ast-responsive-spacing .input-wrapper.ast-spacing-responsive-wrapper{display:inline-flex}.customize-control-ast-responsive-spacing .ast-spacing-responsive-units{position:absolute;transform:translateY(-100%);font-size:11px;text-transform:uppercase;top:0;right:0}.customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit{display:inline-block;margin-left:6px;width:16px;text-align:center;user-select:none;opacity:.7}.customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit.active{text-decoration:underline;opacity:1;color:#000}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper{display:none}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li{text-align:center;-webkit-box-flex:1;-ms-flex:auto;flex:auto}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li input.ast-spacing-input{text-align:center;display:block;font-size:12px;padding:4px 0;width:100%;height:28px;border:1px solid #ddd;border-right-width:0;box-shadow:none;padding-left:11px}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li .ast-spacing-connected{color:#1e8cbe}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper.active{display:flex}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper span.ast-spacing-title{text-transform:uppercase;font-size:10px;opacity:.75}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link .ast-spacing-connected{display:none}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-disconnected{display:none}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-connected{display:block}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link span{width:35px;height:26px;line-height:26px;font-size:14px;border:1px solid #ddd;background-color:#fff;border-radius:3px 0 0 3px;border-right-width:0}.ast-responsive-btns{display:inline-block;float:right;line-height:1;margin-top:6px}.ast-responsive-btns>li{margin-bottom:0;display:none}.ast-responsive-btns>li.active{display:inline-block}.ast-responsive-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0}.ast-responsive-btns button[type=button]>i{width:15px;height:15px;font-size:15px}.ast-field-settings-modal .ast-responsive-btns{margin-top:6px}.customize-control-ast-responsive .input-wrapper{overflow:hidden}.customize-control-ast-responsive .input-wrapper input{display:none;width:82%;float:none}.customize-control-ast-responsive .input-wrapper input.active{display:block}.customize-control-ast-responsive .input-wrapper .ast-responsive-select{width:50px;margin:0;display:none;padding:.1em;margin-left:2px;float:none}.customize-control-ast-responsive .input-wrapper .ast-responsive-input.active+.ast-responsive-select{display:block;width:17%;float:none}.customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input{display:inline-block}.customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input.active{display:inline-block}.customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-select{display:inline-block}#customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper{display:inline-block}#customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-select{display:none}#customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-input{width:100%}.input-wrapper.ast-responsive-wrapper{display:inline-flex;justify-content:space-between;margin-right:0;align-items:flex-start;flex:0 1;width:100%}.ast-adv-toggle-icon{right:2px;top:-2px;position:absolute;width:18px;height:18px;font-size:18px;border:1px solid #ddd;border-radius:2px;padding:4px;color:#0073aa;background:#fff}.ast-adv-toggle-icon:hover{color:#099fd6}.ast-adv-toggle-icon:before{content:"\f464"}.ast-adv-toggle-icon.open:before{content:"\f158"}.ast-field-settings-modal{position:absolute;-webkit-box-shadow:0 2px 15px rgba(0,0,0,.3);box-shadow:0 2px 15px rgba(0,0,0,.3);-webkit-border-radius:3px;border-radius:3px;left:0;right:0;z-index:10000;background-color:#fff}.ast-field-settings-modal .customize-control-ast-divider:first-child{margin-top:15px}.ast-field-settings-wrap{width:100%}.ast-group-tabs,.ast-tab-content{position:relative}.ast-group-list{overflow:hidden;border-bottom:1px solid #ddd}.ast-group-list:after,.ast-group-list:before{content:"";display:table;border-collapse:collapse}.ui-tabs-anchor{float:left;padding:.5em .5em;color:#555d66;text-decoration:none}.ui-state-active .ui-tabs-anchor{color:#fff}.ui-tabs-anchor:hover{color:#555d66}.ui-state-active .ui-tabs-anchor:hover{color:#fff}.ast-group-tabs .ui-widget-content{overflow:hidden}.ast-group-tabs .ui-widget-content.iris-slider-offset,.ast-group-tabs .ui-widget-content.iris-slider-offset-alpha{overflow:inherit}.ast-fields-wrap{overflow:hidden}.ast-field-settings-wrap{-webkit-box-shadow:0 2px 15px rgba(0,0,0,.3);box-shadow:0 2px 15px rgba(0,0,0,.3);-webkit-border-radius:3px;background-color:#fff}.ast-field-settings-wrap .ast-field-settings-modal{border-radius:3px;margin-top:9px;margin-bottom:20px}.ast-field-settings-modal::before{content:'';position:absolute;top:-17px;right:8px;border:9px solid transparent;border-bottom-color:#fff;pointer-events:none}.ast-group-tabs .ui-tabs-nav{display:flex;padding:15px 15px 0 15px}.ast-group-tabs .ui-tabs-nav .ui-corner-top{align-items:center;flex:1 1 auto;justify-content:center;margin:0 0;padding:0;border:1px solid #ccc;transition:background-color 140ms linear}.ast-group-tabs .ui-tabs-nav .ui-corner-top:first-child{border-radius:3px 0 0 3px}.ast-group-tabs .ui-tabs-nav .ui-corner-top:last-child{border-radius:0 3px 3px 0}.ast-group-tabs .ui-tabs-nav .ui-corner-top .ui-tabs-anchor{width:100%;text-align:center;padding:2px 4px;padding-left:0;padding-right:0;outline:0}.ast-group-tabs ul.ast-group-list .ui-corner-top .ui-tabs-anchor:focus{box-shadow:none}.ast-group-tabs .ui-tabs-nav{border:none}.ast-group-tabs ul.ast-group-list .ui-corner-top.ui-state-active{background-color:#0185ba;border:1px solid rgba(0,0,0,.1)}.ast-group-tabs .ui-tabs-nav{overflow:visible}.ast-group-tabs ul.ast-group-list .ui-corner-top:not(:first-child){border-left-width:0}.wp-core-ui .ast-field-settings-modal .background-image-upload .button{font-size:11px}.ast-field-settings-modal .customize-control{padding-left:15px;padding-right:15px;box-sizing:border-box}.ast-field-settings-modal .customize-control:first-child{margin-top:15px}.ast-field-settings-modal .ui-tabs-nav .customize-control:first-child{margin-top:0}.ast-field-settings-modal .customize-control:last-child{padding-bottom:15px}.customize-control-ast-settings-group{line-height:27px}.customize-control-ast-settings-group .customize-control-title{margin-bottom:0}.customize-control-ast-settings-group .ast-field-settings-modal .customize-control-title{margin-bottom:10px;font-size:13px}.ast-field-settings-modal .customize-control{margin-top:10px}.customize-control-ast-slider .wrapper{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.customize-control-ast-slider input[type=range]{-webkit-appearance:none;-webkit-transition:background .3s;-moz-transition:background .3s;transition:background .3s;background-color:rgba(0,0,0,.1);height:5px;padding:0;-webkit-box-flex:1;-ms-flex:1;flex:1}.customize-control-ast-slider input[type=range]:focus{box-shadow:none;outline:0}.customize-control-ast-slider input[type=range]:focus,.customize-control-ast-slider input[type=range]:hover{background-color:rgba(0,0,0,.25)}.customize-control-ast-slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:15px;height:15px;border-radius:50%;-webkit-border-radius:50%;background-color:#3498d9;-webkit-appearance:none;width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-slider input[type=range]::-moz-range-thumb{width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-slider input[type=range]::-ms-thumb{width:15px;height:15px;border-radius:50%;border:0;background-color:#3498d9}.customize-control-ast-slider input[type=range]::-moz-range-track{border:inherit;background:0 0}.customize-control-ast-slider input[type=range]::-ms-track{border:inherit;color:transparent;background:0 0}.customize-control-ast-slider input[type=range]::-ms-fill-lower,.customize-control-ast-slider input[type=range]::-ms-fill-upper{background:0 0}.customize-control-ast-slider input[type=range]::-ms-tooltip{display:none}.customize-control-ast-slider .astra_range_value{font-size:14px;padding:0 0 0 5px;font-weight:400;position:relative}.customize-control-ast-slider .ast-slider-reset{color:rgba(0,0,0,.2);position:absolute;top:-28px;right:0;display:inline-block;-webkit-transition:color .5s ease-in;-moz-transition:color .5s ease-in;-ms-transition:color .5s ease-in;-o-transition:color .5s ease-in;transition:color .5s ease-in}.customize-control-ast-slider .ast-slider-reset span{font-size:16px;line-height:22px;transition:unset}.customize-control-ast-slider .ast-slider-reset:focus,.customize-control-ast-slider .ast-slider-reset:hover{color:red}.astra_range_value input.ast-range-value-input{width:50px;height:22px;font-size:12px;padding:3px}.astra_range_value .ast-range-unit{margin-left:5px}.customize-control-ast-sortable ul.ui-sortable{cursor:default}.customize-control-ast-sortable ul.ui-sortable .dashicons-visibility{cursor:pointer}.customize-control-ast-sortable ul.ui-sortable li{padding:5px 10px;border:1px solid #333;background:#fff;cursor:move}.customize-control-ast-sortable ul.ui-sortable li .dashicons.dashicons-menu{float:right}.customize-control-ast-sortable ul.ui-sortable li .dashicons.visibility{margin-right:10px}.customize-control-ast-sortable ul.ui-sortable li.invisible{color:#aaa;border:1px dashed #aaa}.customize-control-ast-sortable ul.ui-sortable li.invisible .dashicons.visibility{color:#aaa}.select2-container{width:100%!important}span.select2-container.select2-container--default.select2-container--open{z-index:999999}span.select2-container.select2-container--default.select2-container--open li.select2-results__option{margin:0}.select2-selection__rendered li{margin-bottom:0}.select2-container--default .select2-selection--single,.select2-container--default.select2-container .select2-selection--multiple{border-color:#ddd;border-radius:0}.select2-container--default .select2-selection--multiple .select2-selection__choice,.select2-dropdown{border-color:#ddd;border-radius:0}.customize-control-ast-hidden{margin-top:0}.wp-full-overlay-footer .devices-wrapper .preview-desktop,.wp-full-overlay-footer .devices-wrapper .preview-mobile,.wp-full-overlay-footer .devices-wrapper .preview-tablet{vertical-align:middle}.customize-control-ast-customizer-link .customizer-link{font-style:italic;text-decoration:none}.accordion-section-content::-webkit-scrollbar,.wp-full-overlay-sidebar-content::-webkit-scrollbar{width:6px;background-color:#f1f1f1}.accordion-section-content::-webkit-scrollbar-thumb,.wp-full-overlay-sidebar-content::-webkit-scrollbar-thumb{border-radius:10px;background-color:#d8d8d8}.accordion-section-content::-webkit-scrollbar-track,.wp-full-overlay-sidebar-content::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 0 rgba(0,0,0,.3);width:6px}.wp-full-overlay-sidebar:after{display:none}#customize-theme-controls .control-section-ast-section-separator{margin-top:15px;border-top:1px solid #ddd;display:block!important}.customize-control{position:relative;margin-bottom:0;margin-top:12px}.customize-control .customize-inside-control-row{padding-top:0;padding-bottom:0}.customize-control-title{display:inline-block;margin-bottom:12px}.customize-control-ast-font-variant .select2{margin-bottom:12px}.customize-control .ast-control-tooltip{position:absolute;top:0;right:0}.customize-control.customize-control-ast-divider .ast-control-tooltip{position:absolute;top:auto;bottom:3px;right:0}.ast-fields-wrap .customize-control .ast-control-tooltip{right:15px;top:6px}.customize-control .select2-search input[type=text].select2-search__field{min-height:17px}input[type=text].select2-search__field{line-height:1;border-radius:0}#customize-theme-controls .control-section.open{height:100%}@media not all and (min-resolution:0.001dpcm){@supports (-webkit-appearance:none){#customize-control-astra-settings-ast-header-responsive-logo-width .wrapper{display:inline-block;width:100%}.dashicons-desktop:before,.dashicons-smartphone:before,.dashicons-tablet:before{color:#000;opacity:.75}.ast-field-settings-modal .customize-control-ast-responsive .input-wrapper .ast-responsive-input.active+.ast-responsive-select{width:20%}}}@-moz-document url-prefix(){.control-section.open .customize-control:last-child{margin-bottom:20px}}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.control-section.open .customize-control:last-child{padding-bottom:20px}#customize-control-astra-settings-blog-archive-image-height .customize-control-title,#customize-control-astra-settings-blog-archive-image-width .customize-control-title,#customize-control-astra-settings-blog-single-post-image-height .customize-control-title,#customize-control-astra-settings-blog-single-post-image-width .customize-control-title{margin-left:0;margin-right:20px}}.customize-control-ast-description .ast-description{font-style:italic}.customize-control-ast-description a.button{margin-top:10px;font-style:normal}.customize-control-ast-description p{margin:0;cursor:initial}.customize-control-ast-divider hr{margin-top:12px}.customize-control-ast-divider .customize-control-title{font-size:15px;margin:1em 0 .2em}.ast-field-settings-modal .customize-control-ast-divider{background-color:#f5f5f5;display:block;padding:6px 14px;margin:0;border-width:1px 0;border-style:solid;border-color:#ddd;line-height:1;margin-top:15px}.customize-control-ast-settings-group .ast-field-settings-modal .customize-control-ast-divider .customize-control-title{font-weight:500;letter-spacing:1px;font-size:11px;margin:0;text-transform:uppercase}.ast-field-settings-wrap .customize-control-ast-heading{margin:0 0 15px 0}.accordion-section-content.open .customize-control-ast-heading:nth-child(2),.accordion-section-content.open .customize-control-ast-heading:nth-child(3){margin-top:0}.customize-control-ast-heading{margin-top:20px;margin-bottom:8px}.customize-control-ast-heading .ast-heading-wrapper{margin:0 -12px}.customize-control-ast-heading .customize-control-title{display:block;padding:13px 12px;margin:0;border-width:1px 0;border-style:solid;border-color:#ddd;background-color:#fff;font-size:11.5px;font-weight:500;letter-spacing:1px;line-height:1;text-transform:uppercase}.customize-control-ast-heading .customize-control-caption{top:50%;transform:translateY(-50%);position:absolute;right:0;font-size:11px;font-weight:500;letter-spacing:1px}.customize-control-ast-heading .customize-control-description{margin-top:10px}.ast-heading-wrapper label{cursor:default}.customize-control>label{cursor:default}.customize-control .ast-border-input-item-link,.customize-control .ast-spacing-input-item-link{cursor:pointer}.customize-control.customize-control-ast-slider label{cursor:pointer}.customize-control.customize-control-ast-slider label .wrapper input[type=range]{cursor:pointer}.ast-link-open-in-new-tab-wrapper{margin:10px 0}.customize-control-ast-radio-image label{position:relative;display:inline-block;margin-right:12px}.customize-control-ast-radio-image input{display:none}.customize-control-ast-radio-image input:checked+label svg{background:#fff;border-radius:3px;box-shadow:0 0 3px 0 rgba(0,133,186,.67)}.customize-control-ast-radio-image input+label .image-clickable{position:absolute;top:0;bottom:0;left:0;right:0;width:100%;height:100%}.customize-control-ast-radio-image .ast-radio-img-svg svg{width:73px;height:49px}#customize-control-astra-settings-above-header-menu-align .ast-radio-img-svg svg,#customize-control-astra-settings-below-header-menu-align .ast-radio-img-svg svg,#customize-control-astra-settings-header-main-menu-align .ast-radio-img-svg svg{width:37px;height:49px}#customize-control-astra-settings-footer-adv .image label{margin-bottom:12px}.customize-control-ast-responsive-background{position:relative}.customize-control-ast-responsive-background .screen-reader-text{top:initial}.customize-control-ast-responsive-background .background-container h4{font-size:14px;font-weight:600;color:#555d66}.customize-control-ast-responsive-background .background-attachment h4,.customize-control-ast-responsive-background .background-color h4,.customize-control-ast-responsive-background .background-position h4,.customize-control-ast-responsive-background .background-repeat h4,.customize-control-ast-responsive-background .background-size h4{margin-bottom:5px;margin-top:10px}.customize-control-ast-responsive-background .background-color{margin-bottom:12px}.customize-control-ast-responsive-background .background-repeat{margin:15px 0 15px 0}.customize-control-ast-responsive-background .background-attachment .buttonset,.customize-control-ast-responsive-background .background-size .buttonset{display:flex;flex-wrap:wrap}.customize-control-ast-responsive-background .background-attachment .buttonset .switch-label,.customize-control-ast-responsive-background .background-size .buttonset .switch-label{background:#fff;border:1px solid rgba(0,0,0,.1);color:#555;padding:2px 4px;margin-right:15px;text-align:center;flex-grow:1;transition:background-color 140ms linear}.customize-control-ast-responsive-background .background-attachment .buttonset .switch-label:last-child,.customize-control-ast-responsive-background .background-size .buttonset .switch-label:last-child{margin-right:0}.customize-control-ast-responsive-background .background-attachment .buttonset .switch-input:checked+.switch-label,.customize-control-ast-responsive-background .background-size .buttonset .switch-input:checked+.switch-label{background-color:#f5f5f5;color:#565e67}.customize-control-ast-responsive-background .background-attachment .buttonset .switch-input[checked=checked]+.switch-label,.customize-control-ast-responsive-background .background-size .buttonset .switch-input[checked=checked]+.switch-label{background-color:#f5f5f5;color:#565e67}.customize-control-ast-responsive-background .more-settings{margin-top:6px;display:inline-block;padding:5px 0 5px 0;float:right}.customize-control-ast-responsive-background .more-settings:focus{outline:0;box-shadow:none}.customize-control-ast-responsive-background .arrow-icon{margin-left:5px}.customize-control-ast-responsive-background .background-container{display:none}.customize-control-ast-responsive-background .background-container.active{display:block}.customize-control-ast-responsive-color .customize-control-content .wp-picker-container{display:none}.customize-control-ast-responsive-color .customize-control-content .wp-picker-container.active{display:block}.customize-control-ast-responsive-slider .wrapper{position:relative;height:100%}.customize-control-ast-responsive-slider .input-field-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.customize-control-ast-responsive-slider input[type=range]{-webkit-appearance:none;-webkit-transition:background .3s;-moz-transition:background .3s;transition:background .3s;background-color:rgba(0,0,0,.1);height:5px;padding:0;-webkit-box-flex:1;-ms-flex:1;flex:1}.customize-control-ast-responsive-slider input[type=range]:focus{box-shadow:none;outline:0}.customize-control-ast-responsive-slider input[type=range]:focus,.customize-control-ast-responsive-slider input[type=range]:hover{background-color:rgba(0,0,0,.25)}.customize-control-ast-responsive-slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:15px;height:15px;border-radius:50%;-webkit-border-radius:50%;background-color:#3498d9;-webkit-appearance:none;width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-responsive-slider input[type=range]::-moz-range-thumb{width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-responsive-slider input[type=range]::-ms-thumb{width:15px;height:15px;border-radius:50%;border:0;background-color:#3498d9}.customize-control-ast-responsive-slider input[type=range]::-moz-range-track{border:inherit;background:0 0}.customize-control-ast-responsive-slider input[type=range]::-ms-track{border:inherit;color:transparent;background:0 0}.customize-control-ast-responsive-slider input[type=range]::-ms-fill-lower,.customize-control-ast-responsive-slider input[type=range]::-ms-fill-upper{background:0 0}.customize-control-ast-responsive-slider input[type=range]::-ms-tooltip{display:none}.customize-control-ast-responsive-slider .astra_range_value{font-size:14px;padding:0 0 0 5px;font-weight:400;position:relative}.customize-control-ast-responsive-slider .ast-responsive-slider-reset{color:rgba(0,0,0,.2);position:absolute;top:-28px;right:1.5em;display:inline-block;-webkit-transition:color .5s ease-in;-moz-transition:color .5s ease-in;-ms-transition:color .5s ease-in;-o-transition:color .5s ease-in;transition:color .5s ease-in}.customize-control-ast-responsive-slider .ast-responsive-slider-reset span{font-size:13px;line-height:24px;transition:unset}.customize-control-ast-responsive-slider .ast-responsive-slider-reset:focus,.customize-control-ast-responsive-slider .ast-responsive-slider-reset:hover{color:red}.astra_range_value input.ast-responsive-range-value-input{width:50px;height:22px;font-size:12px;padding:3px}.astra_range_value .ast-range-unit{margin-left:5px}.customize-control-ast-responsive-slider .input-field-wrapper{display:none}.customize-control-ast-responsive-slider .input-field-wrapper.active{display:flex;justify-content:space-between;margin-right:0;flex:0 1;width:100%}.ast-responsive-slider-btns{display:inline-block;float:right;line-height:1;margin-top:5px}.ast-responsive-slider-btns>li{margin-bottom:0;display:none}.ast-responsive-slider-btns>li.active{display:inline-block}.ast-responsive-slider-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0}.ast-responsive-slider-btns button[type=button]>i{width:15px;height:15px;font-size:15px}.customize-control-ast-responsive-spacing .customize-control-title{display:inline-block}.customize-control-ast-responsive-spacing .ast-spacing-responsive-outer-wrapper{display:flex;position:relative}.customize-control-ast-responsive-spacing .ast-spacing-input-item{margin-bottom:0}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns{display:block;text-align:center;line-height:2;border:1px solid #ddd;background-color:#fff;border-radius:0 3px 3px 0}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns>li{margin-bottom:0;display:none;width:35px;height:26px}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns>li.active{display:inline-block}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0;width:100%;height:100%}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type=button]>i{font-size:15px;margin-top:1px;vertical-align:middle}.customize-control-ast-responsive-spacing .input-wrapper.ast-spacing-responsive-wrapper{display:inline-flex}.customize-control-ast-responsive-spacing .ast-spacing-responsive-units{position:absolute;transform:translateY(-100%);font-size:11px;text-transform:uppercase;top:0;right:0}.customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit{display:inline-block;margin-left:6px;width:16px;text-align:center;user-select:none;opacity:.7}.customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit.active{text-decoration:underline;opacity:1;color:#000}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper{display:none}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li{text-align:center;-webkit-box-flex:1;-ms-flex:auto;flex:auto}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li input.ast-spacing-input{text-align:center;display:block;font-size:12px;padding:4px 0;width:100%;height:28px;border:1px solid #ddd;border-right-width:0;box-shadow:none;padding-left:11px}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li .ast-spacing-connected{color:#1e8cbe}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper.active{display:flex}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper span.ast-spacing-title{text-transform:uppercase;font-size:10px;opacity:.75}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link .ast-spacing-connected{display:none}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-disconnected{display:none}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-connected{display:block}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link span{width:35px;height:26px;line-height:26px;font-size:14px;border:1px solid #ddd;background-color:#fff;border-radius:3px 0 0 3px;border-right-width:0}.ast-responsive-btns{display:inline-block;float:right;line-height:1;margin-top:6px}.ast-responsive-btns>li{margin-bottom:0;display:none}.ast-responsive-btns>li.active{display:inline-block}.ast-responsive-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0}.ast-responsive-btns button[type=button]>i{width:15px;height:15px;font-size:15px}.ast-field-settings-modal .ast-responsive-btns{margin-top:6px}.customize-control-ast-responsive .input-wrapper{overflow:hidden}.customize-control-ast-responsive .input-wrapper input{display:none;width:82%;float:none}.customize-control-ast-responsive .input-wrapper input.active{display:block}.customize-control-ast-responsive .input-wrapper .ast-responsive-select{width:50px;margin:0;display:none;padding:.1em;margin-left:2px;float:none}.customize-control-ast-responsive .input-wrapper .ast-responsive-input.active+.ast-responsive-select{display:block;width:17%;float:none}.customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input{display:inline-block}.customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input.active{display:inline-block}.customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-select{display:inline-block}#customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper{display:inline-block}#customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-select{display:none}#customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-input{width:100%}.input-wrapper.ast-responsive-wrapper{display:inline-flex;justify-content:space-between;margin-right:0;align-items:flex-start;flex:0 1;width:100%}.ast-adv-toggle-icon{right:2px;top:-2px;position:absolute;width:18px;height:18px;font-size:18px;border:1px solid #ddd;border-radius:2px;padding:4px;color:#0073aa;background:#fff}.ast-adv-toggle-icon:hover{color:#099fd6}.ast-adv-toggle-icon:before{content:"\f464"}.ast-adv-toggle-icon.open:before{content:"\f158"}.ast-field-settings-modal{position:absolute;-webkit-box-shadow:0 2px 15px rgba(0,0,0,.3);box-shadow:0 2px 15px rgba(0,0,0,.3);-webkit-border-radius:3px;border-radius:3px;left:0;right:0;z-index:10000;background-color:#fff}.ast-field-settings-modal .customize-control-ast-divider:first-child{margin-top:15px}.ast-field-settings-wrap{width:100%}.ast-group-tabs,.ast-tab-content{position:relative}.ast-group-list{overflow:hidden;border-bottom:1px solid #ddd}.ast-group-list:after,.ast-group-list:before{content:"";display:table;border-collapse:collapse}.ui-tabs-anchor{float:left;padding:.5em .5em;color:#555d66;text-decoration:none}.ui-state-active .ui-tabs-anchor{color:#fff}.ui-tabs-anchor:hover{color:#555d66}.ui-state-active .ui-tabs-anchor:hover{color:#fff}.ast-group-tabs .ui-widget-content{overflow:hidden}.ast-group-tabs .ui-widget-content.iris-slider-offset,.ast-group-tabs .ui-widget-content.iris-slider-offset-alpha{overflow:inherit}.ast-fields-wrap{overflow:hidden}.ast-field-settings-wrap{-webkit-box-shadow:0 2px 15px rgba(0,0,0,.3);box-shadow:0 2px 15px rgba(0,0,0,.3);-webkit-border-radius:3px;background-color:#fff}.ast-field-settings-wrap .ast-field-settings-modal{border-radius:3px;margin-top:9px;margin-bottom:20px}.ast-field-settings-modal::before{content:'';position:absolute;top:-17px;right:8px;border:9px solid transparent;border-bottom-color:#fff;pointer-events:none}.ast-group-tabs .ui-tabs-nav{display:flex;padding:15px 15px 0 15px}.ast-group-tabs .ui-tabs-nav .ui-corner-top{align-items:center;flex:1 1 auto;justify-content:center;margin:0 0;padding:0;border:1px solid #ccc;transition:background-color 140ms linear}.ast-group-tabs .ui-tabs-nav .ui-corner-top:first-child{border-radius:3px 0 0 3px}.ast-group-tabs .ui-tabs-nav .ui-corner-top:last-child{border-radius:0 3px 3px 0}.ast-group-tabs .ui-tabs-nav .ui-corner-top .ui-tabs-anchor{width:100%;text-align:center;padding:2px 4px;padding-left:0;padding-right:0;outline:0}.ast-group-tabs ul.ast-group-list .ui-corner-top .ui-tabs-anchor:focus{box-shadow:none}.ast-group-tabs .ui-tabs-nav{border:none}.ast-group-tabs ul.ast-group-list .ui-corner-top.ui-state-active{background-color:#0185ba;border:1px solid rgba(0,0,0,.1)}.ast-group-tabs .ui-tabs-nav{overflow:visible}.ast-group-tabs ul.ast-group-list .ui-corner-top:not(:first-child){border-left-width:0}.wp-core-ui .ast-field-settings-modal .background-image-upload .button{font-size:11px}.ast-field-settings-modal .customize-control{padding-left:15px;padding-right:15px;box-sizing:border-box}.ast-field-settings-modal .customize-control:first-child{margin-top:15px}.ast-field-settings-modal .ui-tabs-nav .customize-control:first-child{margin-top:0}.ast-field-settings-modal .customize-control:last-child{padding-bottom:15px}.customize-control-ast-settings-group{line-height:27px}.customize-control-ast-settings-group .customize-control-title{margin-bottom:0}.customize-control-ast-settings-group .ast-field-settings-modal .customize-control-title{margin-bottom:10px;font-size:13px}.ast-field-settings-modal .customize-control{margin-top:10px}.customize-control-ast-slider .wrapper{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.customize-control-ast-slider input[type=range]{-webkit-appearance:none;-webkit-transition:background .3s;-moz-transition:background .3s;transition:background .3s;background-color:rgba(0,0,0,.1);height:5px;padding:0;-webkit-box-flex:1;-ms-flex:1;flex:1}.customize-control-ast-slider input[type=range]:focus{box-shadow:none;outline:0}.customize-control-ast-slider input[type=range]:focus,.customize-control-ast-slider input[type=range]:hover{background-color:rgba(0,0,0,.25)}.customize-control-ast-slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:15px;height:15px;border-radius:50%;-webkit-border-radius:50%;background-color:#3498d9;-webkit-appearance:none;width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-slider input[type=range]::-moz-range-thumb{width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-slider input[type=range]::-ms-thumb{width:15px;height:15px;border-radius:50%;border:0;background-color:#3498d9}.customize-control-ast-slider input[type=range]::-moz-range-track{border:inherit;background:0 0}.customize-control-ast-slider input[type=range]::-ms-track{border:inherit;color:transparent;background:0 0}.customize-control-ast-slider input[type=range]::-ms-fill-lower,.customize-control-ast-slider input[type=range]::-ms-fill-upper{background:0 0}.customize-control-ast-slider input[type=range]::-ms-tooltip{display:none}.customize-control-ast-slider .astra_range_value{font-size:14px;padding:0 0 0 5px;font-weight:400;position:relative}.customize-control-ast-slider .ast-slider-reset{color:rgba(0,0,0,.2);position:absolute;top:-28px;right:0;display:inline-block;-webkit-transition:color .5s ease-in;-moz-transition:color .5s ease-in;-ms-transition:color .5s ease-in;-o-transition:color .5s ease-in;transition:color .5s ease-in}.customize-control-ast-slider .ast-slider-reset span{font-size:16px;line-height:22px;transition:unset}.customize-control-ast-slider .ast-slider-reset:focus,.customize-control-ast-slider .ast-slider-reset:hover{color:red}.astra_range_value input.ast-range-value-input{width:50px;height:22px;font-size:12px;padding:3px}.astra_range_value .ast-range-unit{margin-left:5px}.customize-control-ast-sortable ul.ui-sortable{cursor:default}.customize-control-ast-sortable ul.ui-sortable .dashicons-visibility{cursor:pointer}.customize-control-ast-sortable ul.ui-sortable li{padding:5px 10px;border:1px solid #333;background:#fff;cursor:move}.customize-control-ast-sortable ul.ui-sortable li .dashicons.dashicons-menu{float:right}.customize-control-ast-sortable ul.ui-sortable li .dashicons.visibility{margin-right:10px}.customize-control-ast-sortable ul.ui-sortable li.invisible{color:#aaa;border:1px dashed #aaa}.customize-control-ast-sortable ul.ui-sortable li.invisible .dashicons.visibility{color:#aaa}.select2-container{width:100%!important}span.select2-container.select2-container--default.select2-container--open{z-index:999999}span.select2-container.select2-container--default.select2-container--open li.select2-results__option{margin:0}.select2-selection__rendered li{margin-bottom:0}.select2-container--default .select2-selection--single,.select2-container--default.select2-container .select2-selection--multiple{border-color:#ddd;border-radius:0}.select2-container--default .select2-selection--multiple .select2-selection__choice,.select2-dropdown{border-color:#ddd;border-radius:0}.customize-control-ast-hidden{margin-top:0}.wp-full-overlay-footer .devices-wrapper .preview-desktop,.wp-full-overlay-footer .devices-wrapper .preview-mobile,.wp-full-overlay-footer .devices-wrapper .preview-tablet{vertical-align:middle}PK\lSxKsisi;custom-controls/assets/minified/custom-controls.min-rtl.cssnuW+A.accordion-section-content::-webkit-scrollbar,.wp-full-overlay-sidebar-content::-webkit-scrollbar{width:5px;background-color:#f1f1f1}.accordion-section-content::-webkit-scrollbar-thumb,.wp-full-overlay-sidebar-content::-webkit-scrollbar-thumb{border-radius:0;background-color:#d8d8d8}.accordion-section-content::-webkit-scrollbar-track,.wp-full-overlay-sidebar-content::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 0 rgba(0,0,0,.3);width:20px}#customize-theme-controls .control-section-ast-section-separator{margin-top:15px;border-top:1px solid #ddd;display:block!important}.customize-control{position:relative;margin-bottom:0;margin-top:12px}.ast-field-settings-modal .customize-control{padding-right:15px;padding-left:15px;box-sizing:border-box}.ast-field-settings-modal .customize-control:first-child{margin-top:15px}.ast-field-settings-modal .ui-tabs-nav .customize-control:first-child{margin-top:0}.ast-field-settings-modal .customize-control:last-child{padding-bottom:15px}.customize-control .customize-inside-control-row{padding-top:0;padding-bottom:0}.customize-control-title{display:inline-block;margin-bottom:12px}.customize-control-ast-settings-group{line-height:27px}.customize-control-ast-settings-group .customize-control-title{margin-bottom:0}.customize-control-ast-settings-group .ast-field-settings-modal .customize-control-title{margin-bottom:10px;font-size:13px}.ast-field-settings-modal .customize-control{margin-top:10px}.customize-control-ast-font-variant .select2{margin-bottom:12px}.customize-control .ast-control-tooltip{position:absolute;top:0;left:0}.customize-control.customize-control-ast-divider .ast-control-tooltip{position:absolute;top:auto;bottom:3px;left:0}.ast-fields-wrap .customize-control .ast-control-tooltip{left:15px;top:6px}#customize-controls .customize-control-notifications-container{margin:0}.customize-control-ast-background .ast-color-control.wp-color-picker{width:65px!important;line-height:17px}.customize-control-ast-background .wp-picker-clear{margin-right:2%}.customize-control-ast-background .screen-reader-text{top:initial}.customize-control-ast-background .background-container h4{font-weight:400}.customize-control-ast-background .background-attachment h4,.customize-control-ast-background .background-color h4,.customize-control-ast-background .background-position h4,.customize-control-ast-background .background-repeat h4,.customize-control-ast-background .background-size h4{margin-bottom:5px;margin-top:10px}.customize-control-ast-background .background-color{margin-bottom:12px}.customize-control-ast-background .background-repeat{margin:15px 0 8px 0}.customize-control-ast-background .background-attachment .buttonset,.customize-control-ast-background .background-size .buttonset{display:flex;flex-wrap:wrap}.customize-control-ast-background .background-attachment .buttonset .switch-label,.customize-control-ast-background .background-size .buttonset .switch-label{background:#fff;border:1px solid rgba(0,0,0,.1);color:#555;padding:2px 4px;margin-left:15px;text-align:center;flex-grow:1;transition:background-color 140ms linear}.customize-control-ast-background .background-attachment .buttonset .switch-label:last-child,.customize-control-ast-background .background-size .buttonset .switch-label:last-child{margin-left:0}.customize-control-ast-background .background-attachment .buttonset .switch-input:checked+.switch-label,.customize-control-ast-background .background-attachment .buttonset .switch-input[checked=checked]+.switch-label,.customize-control-ast-background .background-size .buttonset .switch-input:checked+.switch-label,.customize-control-ast-background .background-size .buttonset .switch-input[checked=checked]+.switch-label{background-color:#f5f5f5;color:#565e67}.customize-control-ast-background .more-settings{margin-top:12px;display:inline-block;padding:5px 0 5px 0;float:left}.customize-control-ast-background .more-settings:focus{outline:0;box-shadow:none}.customize-control-ast-background .arrow-icon{margin-right:5px}.ast-field-settings-modal .customize-control-ast-background .more-settings{margin-top:6px}.customize-control-ast-border .customize-control-title{display:inline-block}.customize-control-ast-border .ast-border-outer-wrapper{display:flex;position:relative}.customize-control-ast-border .ast-border-btns{display:block;text-align:center;line-height:2;border:1px solid #ddd;background-color:#fff;border-radius:3px 0 0 3px}.customize-control-ast-border .ast-border-btns>li{margin-bottom:0;display:none;width:35px;height:26px}.customize-control-ast-border .ast-border-btns>li.active{display:inline-block}.customize-control-ast-border .ast-border-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0;width:100%;height:100%}.customize-control-ast-border .ast-border-btns button[type=button]>i{width:15px;height:15px;font-size:15px;margin-top:1px}.customize-control-ast-border .input-wrapper .ast-border-wrapper{display:none}.customize-control-ast-border .input-wrapper .ast-border-wrapper li{text-align:center;-webkit-box-flex:1;-ms-flex:auto;flex:auto;margin-bottom:0}.customize-control-ast-border .input-wrapper .ast-border-wrapper li input.ast-border-input{text-align:center;display:block;font-size:12px;padding:4px 0;width:100%;height:28px;border:1px solid #ddd;border-left-width:0;box-shadow:none;padding-right:11px}.customize-control-ast-border .input-wrapper .ast-border-wrapper li .ast-border-connected{color:#fff}.customize-control-ast-border .input-wrapper .ast-border-wrapper li:last-child input.ast-border-input{border-left-width:1px;border-radius:3px 0 0 3px}.customize-control-ast-border .input-wrapper .ast-border-wrapper.active{display:flex}.customize-control-ast-border .input-wrapper .ast-border-wrapper span.ast-border-title{text-transform:uppercase;font-size:10px;opacity:.75}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected{display:none}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-disconnected{display:none}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-connected{display:block}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link span{width:35px;height:26px;line-height:26px;font-size:14px;border:1px solid #ddd;background-color:#fff;border-radius:0 3px 3px 0;border-left-width:0}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected{background-color:#1e8cbe}.customize-control-ast-color .wp-color-result span{background:#f7f7f7}.customize-control-ast-color .wp-color-result span.color-alpha{height:22px!important}.customize-control-ast-color .ast-color-picker-alpha.wp-color-picker{width:65px!important;line-height:17px}.customize-control-ast-color .wp-picker-clear{margin-right:2%}.wp-picker-input-wrap label{font-size:0}@media (max-width:1755px){.iris-picker.iris-border{width:245px!important}.iris-slider.iris-strip,.iris-strip.iris-slider.iris-alpha-slider{width:13px!important}}.customize-control-ast-customizer-link .customizer-link{font-style:italic;text-decoration:none}.customize-control-ast-description .ast-description{font-style:italic}.customize-control-ast-description a.button{margin-top:10px;font-style:normal}.customize-control-ast-description p{margin:0;cursor:initial}.customize-control-ast-divider hr{margin-top:12px}.customize-control-ast-divider .customize-control-title{font-size:15px;margin:1em 0 .2em}.ast-field-settings-modal .customize-control-ast-divider{background-color:#f5f5f5;display:block;padding:6px 14px;margin:0;border-width:1px 0;border-style:solid;border-color:#ddd;line-height:1;margin-top:15px}.ast-field-settings-modal .customize-control-ast-divider .customize-control-title{font-weight:500;letter-spacing:1px;font-size:11px;margin:0;text-transform:uppercase}.ast-field-settings-wrap .customize-control-ast-heading{margin:0 0 15px 0}.accordion-section-content.open .customize-control-ast-heading:nth-child(2),.accordion-section-content.open .customize-control-ast-heading:nth-child(3){margin-top:0}.customize-control-ast-heading{margin-top:20px;margin-bottom:8px}.customize-control-ast-heading .ast-heading-wrapper{margin:0 -12px}.customize-control-ast-heading .customize-control-title{display:block;padding:13px 12px;margin:0;border-width:1px 0;border-style:solid;border-color:#ddd;background-color:#fff;font-size:11.5px;font-weight:500;letter-spacing:1px;line-height:1;text-transform:uppercase}.customize-control-ast-heading .customize-control-caption{top:50%;transform:translateY(-50%);position:absolute;left:0;font-size:11px;font-weight:500;letter-spacing:1px}.customize-control-ast-heading .customize-control-description{margin-top:10px}.ast-heading-wrapper label{cursor:default}.customize-control>label{cursor:default}.customize-control .ast-border-input-item-link,.customize-control .ast-spacing-input-item-link{cursor:pointer}.customize-control.customize-control-ast-settings-group label{cursor:pointer}.customize-control.customize-control-ast-slider label{cursor:pointer}.customize-control.customize-control-ast-slider label .wrapper input[type=range]{cursor:pointer}.customize-control-ast-radio-image label{position:relative;display:inline-block;margin-left:12px}.customize-control-ast-radio-image input{display:none}.customize-control-ast-radio-image input:checked+label svg{background:#fff;border-radius:3px;box-shadow:0 0 3px 0 rgba(0,133,186,.67)}.customize-control-ast-radio-image input+label .image-clickable{position:absolute;top:0;bottom:0;right:0;left:0;width:100%;height:100%}.customize-control-ast-radio-image .ast-radio-img-svg svg{width:73px;height:49px}#customize-control-astra-settings-above-header-menu-align .ast-radio-img-svg svg,#customize-control-astra-settings-below-header-menu-align .ast-radio-img-svg svg,#customize-control-astra-settings-header-main-menu-align .ast-radio-img-svg svg{width:37px;height:49px}#customize-control-astra-settings-footer-adv .image label{margin-bottom:12px}.ast-responsive-btns{display:inline-block;float:left;line-height:1;margin-top:6px}.ast-responsive-btns>li{margin-bottom:0;display:none}.ast-responsive-btns>li.active{display:inline-block}.ast-responsive-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0}.ast-responsive-btns button[type=button]>i{width:15px;height:15px;font-size:15px}.ast-field-settings-modal .ast-responsive-btns{margin-top:6px}.customize-control-ast-responsive .input-wrapper{overflow:hidden}.customize-control-ast-responsive .input-wrapper input{display:none;width:82%;float:none}.customize-control-ast-responsive .input-wrapper input.active{display:block}.customize-control-ast-responsive .input-wrapper .ast-responsive-select{width:50px;margin:0;display:none;padding:.1em;margin-right:2px;float:none}.customize-control-ast-responsive .input-wrapper .ast-responsive-input.active+.ast-responsive-select{display:block;width:17%;float:none}.customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input{display:inline-block}.customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input.active{display:inline-block}.customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-select{display:inline-block}#customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper{display:inline}#customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-select{display:none}#customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-input{width:92%}.input-wrapper.ast-responsive-wrapper{display:inline-flex;justify-content:space-between;margin-left:0;align-items:flex-start;flex:0 1;width:100%}.customize-control-ast-responsive-color .wp-picker-container{float:right}.customize-control-ast-responsive-color .ast-responsive-color.wp-color-picker{width:65px!important;line-height:17px}.customize-control-ast-responsive-color .wp-picker-clear{margin-right:1%}.customize-control-ast-responsive-color button.button.wp-color-result.wp-picker-open{margin:0 0 6px 3px!important}.customize-control-ast-responsive-color .customize-control-content .wp-picker-container{display:none}.customize-control-ast-responsive-color .customize-control-content .wp-picker-container.active{display:block}.wp-picker-container.wp-picker-active .wp-picker-open{margin:0 0 6px 3px}.customize-control-ast-responsive-slider .wrapper{position:relative}.customize-control-ast-responsive-slider .input-field-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.customize-control-ast-responsive-slider input[type=range]{-webkit-appearance:none;-webkit-transition:background .3s;-moz-transition:background .3s;transition:background .3s;background-color:rgba(0,0,0,.1);height:5px;padding:0;-webkit-box-flex:1;-ms-flex:1;flex:1}.customize-control-ast-responsive-slider input[type=range]:focus{box-shadow:none;outline:0}.customize-control-ast-responsive-slider input[type=range]:focus,.customize-control-ast-responsive-slider input[type=range]:hover{background-color:rgba(0,0,0,.25)}.customize-control-ast-responsive-slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:15px;height:15px;border-radius:50%;-webkit-border-radius:50%;background-color:#3498d9;-webkit-appearance:none;width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-responsive-slider input[type=range]::-moz-range-thumb{width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-responsive-slider input[type=range]::-ms-thumb{width:15px;height:15px;border-radius:50%;border:0;background-color:#3498d9}.customize-control-ast-responsive-slider input[type=range]::-moz-range-track{border:inherit;background:0 0}.customize-control-ast-responsive-slider input[type=range]::-ms-track{border:inherit;color:transparent;background:0 0}.customize-control-ast-responsive-slider input[type=range]::-ms-fill-lower,.customize-control-ast-responsive-slider input[type=range]::-ms-fill-upper{background:0 0}.customize-control-ast-responsive-slider input[type=range]::-ms-tooltip{display:none}.customize-control-ast-responsive-slider .astra_range_value{font-size:14px;padding:0 5px 0 0;font-weight:400;position:relative}.customize-control-ast-responsive-slider .ast-responsive-slider-reset{color:rgba(0,0,0,.2);position:absolute;top:-28px;left:1.5em;display:inline-block;-webkit-transition:color .5s ease-in;-moz-transition:color .5s ease-in;-ms-transition:color .5s ease-in;-o-transition:color .5s ease-in;transition:color .5s ease-in}.customize-control-ast-responsive-slider .ast-responsive-slider-reset span{font-size:13px;line-height:24px;transition:unset}.customize-control-ast-responsive-slider .ast-responsive-slider-reset:focus,.customize-control-ast-responsive-slider .ast-responsive-slider-reset:hover{color:red}.astra_range_value input.ast-responsive-range-value-input{width:50px;height:22px;font-size:12px;padding:3px}.astra_range_value .ast-range-unit{margin-right:5px}.customize-control-ast-responsive-slider .input-field-wrapper{display:none}.customize-control-ast-responsive-slider .input-field-wrapper.active{display:flex}.ast-responsive-slider-btns{display:inline-block;float:left;line-height:1;margin-top:5px}.ast-responsive-slider-btns>li{margin-bottom:0;display:none}.ast-responsive-slider-btns>li.active{display:inline-block}.ast-responsive-slider-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0}.ast-responsive-slider-btns button[type=button]>i{width:15px;height:15px;font-size:15px}.customize-control-ast-responsive-spacing .customize-control-title{display:inline-block}.customize-control-ast-responsive-spacing .ast-spacing-responsive-outer-wrapper{display:flex;position:relative}.customize-control-ast-responsive-spacing .ast-spacing-input-item{margin-bottom:0}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns{display:block;text-align:center;line-height:2;border:1px solid #ddd;background-color:#fff;border-radius:3px 0 0 3px}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns>li{margin-bottom:0;display:none;width:35px;height:26px}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns>li.active{display:inline-block}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0;width:100%;height:100%}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type=button]>i{width:15px;height:15px;font-size:15px;margin-top:1px}.customize-control-ast-responsive-spacing .ast-spacing-responsive-units{position:absolute;transform:translateY(-100%);font-size:11px;text-transform:uppercase;top:0;left:0}.customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit{display:inline-block;margin-right:6px;width:16px;text-align:center;user-select:none;opacity:.7}.customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit.active{text-decoration:underline;opacity:1;color:#000}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper{display:none}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li{text-align:center;-webkit-box-flex:1;-ms-flex:auto;flex:auto}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li input.ast-spacing-input{text-align:center;display:block;font-size:12px;padding:4px 0;width:100%;height:28px;border:1px solid #ddd;border-left-width:0;box-shadow:none;padding-right:11px}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li .ast-spacing-connected{color:#1e8cbe}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper.active{display:flex}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper span.ast-spacing-title{text-transform:uppercase;font-size:10px;opacity:.75}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link .ast-spacing-connected{display:none}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-disconnected{display:none}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-connected{display:block}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link span{width:35px;height:26px;line-height:26px;font-size:14px;border:1px solid #ddd;background-color:#fff;border-radius:0 3px 3px 0;border-left-width:0}.ast-adv-toggle-icon{left:2px;top:-2px;position:absolute;width:18px;height:18px;font-size:18px;border:1px solid #ddd;border-radius:2px;padding:4px;color:#0073aa;background:#fff}.ast-adv-toggle-icon:hover{color:#099fd6}.ast-adv-toggle-icon:before{content:"\f464"}.ast-adv-toggle-icon.open:before{content:"\f158"}.ast-field-settings-modal{position:absolute;-webkit-box-shadow:0 2px 15px rgba(0,0,0,.3);box-shadow:0 2px 15px rgba(0,0,0,.3);-webkit-border-radius:3px;border-radius:3px;right:0;left:0;z-index:10000;background-color:#fff}.ast-field-settings-modal .customize-control-ast-divider:first-child{margin-top:15px}.ast-field-settings-wrap{width:100%}.ast-group-tabs,.ast-tab-content{position:relative}.ast-group-list{overflow:hidden;border-bottom:1px solid #ddd}.ast-group-list:after,.ast-group-list:before{content:"";display:table;border-collapse:collapse}.ui-tabs-anchor{float:right;padding:.5em .5em;color:#555d66;text-decoration:none}.ui-state-active .ui-tabs-anchor{color:#fff}.ui-tabs-anchor:hover{color:#555d66}.ui-state-active .ui-tabs-anchor:hover{color:#fff}.ast-group-tabs .ui-widget-content{overflow:hidden}.ast-group-tabs .ui-widget-content.iris-slider-offset,.ast-group-tabs .ui-widget-content.iris-slider-offset-alpha{overflow:inherit}.ast-fields-wrap{overflow:hidden}.ast-field-settings-wrap{-webkit-box-shadow:0 2px 15px rgba(0,0,0,.3);box-shadow:0 2px 15px rgba(0,0,0,.3);-webkit-border-radius:3px;background-color:#fff}.ast-field-settings-wrap .ast-field-settings-modal{border-radius:3px;margin-top:9px;margin-bottom:20px}.ast-field-settings-modal::before{content:'';position:absolute;top:-17px;left:8px;border:9px solid transparent;border-bottom-color:#fff;pointer-events:none}#customize-theme-controls .control-section-ast_section.open{height:100%}.ast-group-tabs .ui-tabs-nav{display:flex;padding:15px 15px 0 15px}.ast-group-tabs .ui-tabs-nav .ui-corner-top{align-items:center;flex:1 1 auto;justify-content:center;margin:0 0;padding:0;border:1px solid #ccc;transition:background-color 140ms linear}.ast-group-tabs .ui-tabs-nav .ui-corner-top:first-child{border-radius:0 3px 3px 0}.ast-group-tabs .ui-tabs-nav .ui-corner-top:last-child{border-radius:3px 0 0 3px}.ast-group-tabs .ui-tabs-nav .ui-corner-top .ui-tabs-anchor{width:100%;text-align:center;padding:2px 4px;padding-right:0;padding-left:0;outline:0}.ast-group-tabs ul.ast-group-list .ui-corner-top .ui-tabs-anchor:focus{box-shadow:none}.ast-group-tabs .ui-tabs-nav{border:none}.ast-group-tabs ul.ast-group-list .ui-corner-top.ui-state-active{background-color:#0185ba;border:1px solid rgba(0,0,0,.1)}.ast-group-tabs .ui-tabs-nav{overflow:visible}.ast-group-tabs ul.ast-group-list .ui-corner-top:not(:first-child){border-right-width:0}.ast-field-settings-modal .customize-control-ast-responsive-background .ast-responsive-bg-color-control.wp-color-picker,.ast-field-settings-modal .customize-control-ast-responsive-color .ast-responsive-color.wp-color-picker{width:65px!important}.ast-field-settings-modal .customize-control-ast-responsive-background .wp-picker-clear,.ast-field-settings-modal .customize-control-ast-responsive-color .wp-picker-clear{margin-right:6px}.wp-core-ui .ast-field-settings-modal .background-image-upload .button{font-size:11px}.customize-control-ast-slider .wrapper{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.customize-control-ast-slider input[type=range]{-webkit-appearance:none;-webkit-transition:background .3s;-moz-transition:background .3s;transition:background .3s;background-color:rgba(0,0,0,.1);height:5px;padding:0;-webkit-box-flex:1;-ms-flex:1;flex:1}.customize-control-ast-slider input[type=range]:focus{box-shadow:none;outline:0}.customize-control-ast-slider input[type=range]:focus,.customize-control-ast-slider input[type=range]:hover{background-color:rgba(0,0,0,.25)}.customize-control-ast-slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:15px;height:15px;border-radius:50%;-webkit-border-radius:50%;background-color:#3498d9;-webkit-appearance:none;width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-slider input[type=range]::-moz-range-thumb{width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-slider input[type=range]::-ms-thumb{width:15px;height:15px;border-radius:50%;border:0;background-color:#3498d9}.customize-control-ast-slider input[type=range]::-moz-range-track{border:inherit;background:0 0}.customize-control-ast-slider input[type=range]::-ms-track{border:inherit;color:transparent;background:0 0}.customize-control-ast-slider input[type=range]::-ms-fill-lower,.customize-control-ast-slider input[type=range]::-ms-fill-upper{background:0 0}.customize-control-ast-slider input[type=range]::-ms-tooltip{display:none}.customize-control-ast-slider .astra_range_value{font-size:14px;padding:0 5px 0 0;font-weight:400;position:relative}.customize-control-ast-slider .ast-slider-reset{color:rgba(0,0,0,.2);position:absolute;top:-28px;left:0;display:inline-block;-webkit-transition:color .5s ease-in;-moz-transition:color .5s ease-in;-ms-transition:color .5s ease-in;-o-transition:color .5s ease-in;transition:color .5s ease-in}.customize-control-ast-slider .ast-slider-reset span{font-size:16px;line-height:22px;transition:unset}.customize-control-ast-slider .ast-slider-reset:focus,.customize-control-ast-slider .ast-slider-reset:hover{color:red}.astra_range_value input.ast-range-value-input{width:50px;height:22px;font-size:12px;padding:3px}.astra_range_value .ast-range-unit{margin-right:5px}.customize-control-ast-sortable ul.ui-sortable{cursor:default}.customize-control-ast-sortable ul.ui-sortable .dashicons-visibility{cursor:pointer}.customize-control-ast-sortable ul.ui-sortable li{padding:5px 10px;border:1px solid #333;background:#fff;cursor:move}.customize-control-ast-sortable ul.ui-sortable li .dashicons.dashicons-menu{float:left}.customize-control-ast-sortable ul.ui-sortable li .dashicons.visibility{margin-left:10px}.customize-control-ast-sortable ul.ui-sortable li.invisible{color:#aaa;border:1px dashed #aaa}.customize-control-ast-sortable ul.ui-sortable li.invisible .dashicons.visibility{color:#aaa}.customize-control-ast-spacing ul.ast-spacing-wrapper{position:relative;-js-display:flex;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}.customize-control-ast-spacing li.ast-spacing-input-item{display:inline-block;text-align:center;-webkit-box-flex:1;-ms-flex:auto;flex:auto}.customize-control-ast-spacing .ast-spacing-input-item{margin-bottom:0}.customize-control-ast-spacing span.ast-spacing-unit{position:absolute;top:-26px;left:0;font-size:12px;font-weight:700}.customize-control-ast-spacing span.ast-spacing-title{display:block}.customize-control-ast-spacing input.ast-spacing-input{text-align:center;border-radius:0 3px 3px 0;display:block;font-size:12px;padding:4px 0;width:100%;height:28px;border:1px solid;border-color:#a4afb7;box-shadow:none}.customize-control-ast-spacing .ast-spacing-connected{color:#1e8cbe}.select2-container{width:100%!important}span.select2-container.select2-container--default.select2-container--open{z-index:999999}span.select2-container.select2-container--default.select2-container--open li.select2-results__option{margin:0}.select2-selection__rendered li{margin-bottom:0}.select2-container--default .select2-selection--single,.select2-container--default.select2-container .select2-selection--multiple{border-color:#ddd;border-radius:0}.select2-container--default .select2-selection--multiple .select2-selection__choice,.select2-dropdown{border-color:#ddd;border-radius:0}.customize-control-ast-hidden{margin-top:0}.wp-full-overlay-footer .devices-wrapper .preview-desktop,.wp-full-overlay-footer .devices-wrapper .preview-mobile,.wp-full-overlay-footer .devices-wrapper .preview-tablet{vertical-align:middle}PK\~!}i}i7custom-controls/assets/minified/custom-controls.min.cssnuW+A.accordion-section-content::-webkit-scrollbar,.wp-full-overlay-sidebar-content::-webkit-scrollbar{width:5px;background-color:#f1f1f1}.accordion-section-content::-webkit-scrollbar-thumb,.wp-full-overlay-sidebar-content::-webkit-scrollbar-thumb{border-radius:0;background-color:#d8d8d8}.accordion-section-content::-webkit-scrollbar-track,.wp-full-overlay-sidebar-content::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 0 rgba(0,0,0,.3);width:20px}#customize-theme-controls .control-section-ast-section-separator{margin-top:15px;border-top:1px solid #ddd;display:block!important}.customize-control{position:relative;margin-bottom:0;margin-top:12px}.ast-field-settings-modal .customize-control{padding-left:15px;padding-right:15px;box-sizing:border-box}.ast-field-settings-modal .customize-control:first-child{margin-top:15px}.ast-field-settings-modal .ui-tabs-nav .customize-control:first-child{margin-top:0}.ast-field-settings-modal .customize-control:last-child{padding-bottom:15px}.customize-control .customize-inside-control-row{padding-top:0;padding-bottom:0}.customize-control-title{display:inline-block;margin-bottom:12px}.customize-control-ast-settings-group{line-height:27px}.customize-control-ast-settings-group .customize-control-title{margin-bottom:0}.customize-control-ast-settings-group .ast-field-settings-modal .customize-control-title{margin-bottom:10px;font-size:13px}.ast-field-settings-modal .customize-control{margin-top:10px}.customize-control-ast-font-variant .select2{margin-bottom:12px}.customize-control .ast-control-tooltip{position:absolute;top:0;right:0}.customize-control.customize-control-ast-divider .ast-control-tooltip{position:absolute;top:auto;bottom:3px;right:0}.ast-fields-wrap .customize-control .ast-control-tooltip{right:15px;top:6px}#customize-controls .customize-control-notifications-container{margin:0}.customize-control-ast-background .ast-color-control.wp-color-picker{width:65px!important;line-height:17px}.customize-control-ast-background .wp-picker-clear{margin-left:2%}.customize-control-ast-background .screen-reader-text{top:initial}.customize-control-ast-background .background-container h4{font-weight:400}.customize-control-ast-background .background-attachment h4,.customize-control-ast-background .background-color h4,.customize-control-ast-background .background-position h4,.customize-control-ast-background .background-repeat h4,.customize-control-ast-background .background-size h4{margin-bottom:5px;margin-top:10px}.customize-control-ast-background .background-color{margin-bottom:12px}.customize-control-ast-background .background-repeat{margin:15px 0 8px 0}.customize-control-ast-background .background-attachment .buttonset,.customize-control-ast-background .background-size .buttonset{display:flex;flex-wrap:wrap}.customize-control-ast-background .background-attachment .buttonset .switch-label,.customize-control-ast-background .background-size .buttonset .switch-label{background:#fff;border:1px solid rgba(0,0,0,.1);color:#555;padding:2px 4px;margin-right:15px;text-align:center;flex-grow:1;transition:background-color 140ms linear}.customize-control-ast-background .background-attachment .buttonset .switch-label:last-child,.customize-control-ast-background .background-size .buttonset .switch-label:last-child{margin-right:0}.customize-control-ast-background .background-attachment .buttonset .switch-input:checked+.switch-label,.customize-control-ast-background .background-attachment .buttonset .switch-input[checked=checked]+.switch-label,.customize-control-ast-background .background-size .buttonset .switch-input:checked+.switch-label,.customize-control-ast-background .background-size .buttonset .switch-input[checked=checked]+.switch-label{background-color:#f5f5f5;color:#565e67}.customize-control-ast-background .more-settings{margin-top:12px;display:inline-block;padding:5px 0 5px 0;float:right}.customize-control-ast-background .more-settings:focus{outline:0;box-shadow:none}.customize-control-ast-background .arrow-icon{margin-left:5px}.ast-field-settings-modal .customize-control-ast-background .more-settings{margin-top:6px}.customize-control-ast-border .customize-control-title{display:inline-block}.customize-control-ast-border .ast-border-outer-wrapper{display:flex;position:relative}.customize-control-ast-border .ast-border-btns{display:block;text-align:center;line-height:2;border:1px solid #ddd;background-color:#fff;border-radius:0 3px 3px 0}.customize-control-ast-border .ast-border-btns>li{margin-bottom:0;display:none;width:35px;height:26px}.customize-control-ast-border .ast-border-btns>li.active{display:inline-block}.customize-control-ast-border .ast-border-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0;width:100%;height:100%}.customize-control-ast-border .ast-border-btns button[type=button]>i{width:15px;height:15px;font-size:15px;margin-top:1px}.customize-control-ast-border .input-wrapper .ast-border-wrapper{display:none}.customize-control-ast-border .input-wrapper .ast-border-wrapper li{text-align:center;-webkit-box-flex:1;-ms-flex:auto;flex:auto;margin-bottom:0}.customize-control-ast-border .input-wrapper .ast-border-wrapper li input.ast-border-input{text-align:center;display:block;font-size:12px;padding:4px 0;width:100%;height:28px;border:1px solid #ddd;border-right-width:0;box-shadow:none;padding-left:11px}.customize-control-ast-border .input-wrapper .ast-border-wrapper li .ast-border-connected{color:#fff}.customize-control-ast-border .input-wrapper .ast-border-wrapper li:last-child input.ast-border-input{border-right-width:1px;border-radius:0 3px 3px 0}.customize-control-ast-border .input-wrapper .ast-border-wrapper.active{display:flex}.customize-control-ast-border .input-wrapper .ast-border-wrapper span.ast-border-title{text-transform:uppercase;font-size:10px;opacity:.75}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected{display:none}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-disconnected{display:none}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-connected{display:block}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link span{width:35px;height:26px;line-height:26px;font-size:14px;border:1px solid #ddd;background-color:#fff;border-radius:3px 0 0 3px;border-right-width:0}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected{background-color:#1e8cbe}.customize-control-ast-color .wp-color-result span{background:#f7f7f7}.customize-control-ast-color .wp-color-result span.color-alpha{height:22px!important}.customize-control-ast-color .ast-color-picker-alpha.wp-color-picker{width:65px!important;line-height:17px}.customize-control-ast-color .wp-picker-clear{margin-left:2%}.wp-picker-input-wrap label{font-size:0}@media (max-width:1755px){.iris-picker.iris-border{width:245px!important}.iris-slider.iris-strip,.iris-strip.iris-slider.iris-alpha-slider{width:13px!important}}.customize-control-ast-customizer-link .customizer-link{font-style:italic;text-decoration:none}.customize-control-ast-description .ast-description{font-style:italic}.customize-control-ast-description a.button{margin-top:10px;font-style:normal}.customize-control-ast-description p{margin:0;cursor:initial}.customize-control-ast-divider hr{margin-top:12px}.customize-control-ast-divider .customize-control-title{font-size:15px;margin:1em 0 .2em}.ast-field-settings-modal .customize-control-ast-divider{background-color:#f5f5f5;display:block;padding:6px 14px;margin:0;border-width:1px 0;border-style:solid;border-color:#ddd;line-height:1;margin-top:15px}.ast-field-settings-modal .customize-control-ast-divider .customize-control-title{font-weight:500;letter-spacing:1px;font-size:11px;margin:0;text-transform:uppercase}.ast-field-settings-wrap .customize-control-ast-heading{margin:0 0 15px 0}.accordion-section-content.open .customize-control-ast-heading:nth-child(2),.accordion-section-content.open .customize-control-ast-heading:nth-child(3){margin-top:0}.customize-control-ast-heading{margin-top:20px;margin-bottom:8px}.customize-control-ast-heading .ast-heading-wrapper{margin:0 -12px}.customize-control-ast-heading .customize-control-title{display:block;padding:13px 12px;margin:0;border-width:1px 0;border-style:solid;border-color:#ddd;background-color:#fff;font-size:11.5px;font-weight:500;letter-spacing:1px;line-height:1;text-transform:uppercase}.customize-control-ast-heading .customize-control-caption{top:50%;transform:translateY(-50%);position:absolute;right:0;font-size:11px;font-weight:500;letter-spacing:1px}.customize-control-ast-heading .customize-control-description{margin-top:10px}.ast-heading-wrapper label{cursor:default}.customize-control>label{cursor:default}.customize-control .ast-border-input-item-link,.customize-control .ast-spacing-input-item-link{cursor:pointer}.customize-control.customize-control-ast-settings-group label{cursor:pointer}.customize-control.customize-control-ast-slider label{cursor:pointer}.customize-control.customize-control-ast-slider label .wrapper input[type=range]{cursor:pointer}.customize-control-ast-radio-image label{position:relative;display:inline-block;margin-right:12px}.customize-control-ast-radio-image input{display:none}.customize-control-ast-radio-image input:checked+label svg{background:#fff;border-radius:3px;box-shadow:0 0 3px 0 rgba(0,133,186,.67)}.customize-control-ast-radio-image input+label .image-clickable{position:absolute;top:0;bottom:0;left:0;right:0;width:100%;height:100%}.customize-control-ast-radio-image .ast-radio-img-svg svg{width:73px;height:49px}#customize-control-astra-settings-above-header-menu-align .ast-radio-img-svg svg,#customize-control-astra-settings-below-header-menu-align .ast-radio-img-svg svg,#customize-control-astra-settings-header-main-menu-align .ast-radio-img-svg svg{width:37px;height:49px}#customize-control-astra-settings-footer-adv .image label{margin-bottom:12px}.ast-responsive-btns{display:inline-block;float:right;line-height:1;margin-top:6px}.ast-responsive-btns>li{margin-bottom:0;display:none}.ast-responsive-btns>li.active{display:inline-block}.ast-responsive-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0}.ast-responsive-btns button[type=button]>i{width:15px;height:15px;font-size:15px}.ast-field-settings-modal .ast-responsive-btns{margin-top:6px}.customize-control-ast-responsive .input-wrapper{overflow:hidden}.customize-control-ast-responsive .input-wrapper input{display:none;width:82%;float:none}.customize-control-ast-responsive .input-wrapper input.active{display:block}.customize-control-ast-responsive .input-wrapper .ast-responsive-select{width:50px;margin:0;display:none;padding:.1em;margin-left:2px;float:none}.customize-control-ast-responsive .input-wrapper .ast-responsive-input.active+.ast-responsive-select{display:block;width:17%;float:none}.customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input{display:inline-block}.customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input.active{display:inline-block}.customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-select{display:inline-block}#customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper{display:inline}#customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-select{display:none}#customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-input{width:92%}.input-wrapper.ast-responsive-wrapper{display:inline-flex;justify-content:space-between;margin-right:0;align-items:flex-start;flex:0 1;width:100%}.customize-control-ast-responsive-color .wp-picker-container{float:left}.customize-control-ast-responsive-color .ast-responsive-color.wp-color-picker{width:65px!important;line-height:17px}.customize-control-ast-responsive-color .wp-picker-clear{margin-left:1%}.customize-control-ast-responsive-color button.button.wp-color-result.wp-picker-open{margin:0 3px 6px 0!important}.customize-control-ast-responsive-color .customize-control-content .wp-picker-container{display:none}.customize-control-ast-responsive-color .customize-control-content .wp-picker-container.active{display:block}.wp-picker-container.wp-picker-active .wp-picker-open{margin:0 3px 6px 0}.customize-control-ast-responsive-slider .wrapper{position:relative}.customize-control-ast-responsive-slider .input-field-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.customize-control-ast-responsive-slider input[type=range]{-webkit-appearance:none;-webkit-transition:background .3s;-moz-transition:background .3s;transition:background .3s;background-color:rgba(0,0,0,.1);height:5px;padding:0;-webkit-box-flex:1;-ms-flex:1;flex:1}.customize-control-ast-responsive-slider input[type=range]:focus{box-shadow:none;outline:0}.customize-control-ast-responsive-slider input[type=range]:focus,.customize-control-ast-responsive-slider input[type=range]:hover{background-color:rgba(0,0,0,.25)}.customize-control-ast-responsive-slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:15px;height:15px;border-radius:50%;-webkit-border-radius:50%;background-color:#3498d9;-webkit-appearance:none;width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-responsive-slider input[type=range]::-moz-range-thumb{width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-responsive-slider input[type=range]::-ms-thumb{width:15px;height:15px;border-radius:50%;border:0;background-color:#3498d9}.customize-control-ast-responsive-slider input[type=range]::-moz-range-track{border:inherit;background:0 0}.customize-control-ast-responsive-slider input[type=range]::-ms-track{border:inherit;color:transparent;background:0 0}.customize-control-ast-responsive-slider input[type=range]::-ms-fill-lower,.customize-control-ast-responsive-slider input[type=range]::-ms-fill-upper{background:0 0}.customize-control-ast-responsive-slider input[type=range]::-ms-tooltip{display:none}.customize-control-ast-responsive-slider .astra_range_value{font-size:14px;padding:0 0 0 5px;font-weight:400;position:relative}.customize-control-ast-responsive-slider .ast-responsive-slider-reset{color:rgba(0,0,0,.2);position:absolute;top:-28px;right:1.5em;display:inline-block;-webkit-transition:color .5s ease-in;-moz-transition:color .5s ease-in;-ms-transition:color .5s ease-in;-o-transition:color .5s ease-in;transition:color .5s ease-in}.customize-control-ast-responsive-slider .ast-responsive-slider-reset span{font-size:13px;line-height:24px;transition:unset}.customize-control-ast-responsive-slider .ast-responsive-slider-reset:focus,.customize-control-ast-responsive-slider .ast-responsive-slider-reset:hover{color:red}.astra_range_value input.ast-responsive-range-value-input{width:50px;height:22px;font-size:12px;padding:3px}.astra_range_value .ast-range-unit{margin-left:5px}.customize-control-ast-responsive-slider .input-field-wrapper{display:none}.customize-control-ast-responsive-slider .input-field-wrapper.active{display:flex}.ast-responsive-slider-btns{display:inline-block;float:right;line-height:1;margin-top:5px}.ast-responsive-slider-btns>li{margin-bottom:0;display:none}.ast-responsive-slider-btns>li.active{display:inline-block}.ast-responsive-slider-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0}.ast-responsive-slider-btns button[type=button]>i{width:15px;height:15px;font-size:15px}.customize-control-ast-responsive-spacing .customize-control-title{display:inline-block}.customize-control-ast-responsive-spacing .ast-spacing-responsive-outer-wrapper{display:flex;position:relative}.customize-control-ast-responsive-spacing .ast-spacing-input-item{margin-bottom:0}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns{display:block;text-align:center;line-height:2;border:1px solid #ddd;background-color:#fff;border-radius:0 3px 3px 0}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns>li{margin-bottom:0;display:none;width:35px;height:26px}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns>li.active{display:inline-block}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0;width:100%;height:100%}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type=button]>i{width:15px;height:15px;font-size:15px;margin-top:1px}.customize-control-ast-responsive-spacing .ast-spacing-responsive-units{position:absolute;transform:translateY(-100%);font-size:11px;text-transform:uppercase;top:0;right:0}.customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit{display:inline-block;margin-left:6px;width:16px;text-align:center;user-select:none;opacity:.7}.customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit.active{text-decoration:underline;opacity:1;color:#000}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper{display:none}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li{text-align:center;-webkit-box-flex:1;-ms-flex:auto;flex:auto}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li input.ast-spacing-input{text-align:center;display:block;font-size:12px;padding:4px 0;width:100%;height:28px;border:1px solid #ddd;border-right-width:0;box-shadow:none;padding-left:11px}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li .ast-spacing-connected{color:#1e8cbe}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper.active{display:flex}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper span.ast-spacing-title{text-transform:uppercase;font-size:10px;opacity:.75}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link .ast-spacing-connected{display:none}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-disconnected{display:none}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-connected{display:block}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link span{width:35px;height:26px;line-height:26px;font-size:14px;border:1px solid #ddd;background-color:#fff;border-radius:3px 0 0 3px;border-right-width:0}.ast-adv-toggle-icon{right:2px;top:-2px;position:absolute;width:18px;height:18px;font-size:18px;border:1px solid #ddd;border-radius:2px;padding:4px;color:#0073aa;background:#fff}.ast-adv-toggle-icon:hover{color:#099fd6}.ast-adv-toggle-icon:before{content:"\f464"}.ast-adv-toggle-icon.open:before{content:"\f158"}.ast-field-settings-modal{position:absolute;-webkit-box-shadow:0 2px 15px rgba(0,0,0,.3);box-shadow:0 2px 15px rgba(0,0,0,.3);-webkit-border-radius:3px;border-radius:3px;left:0;right:0;z-index:10000;background-color:#fff}.ast-field-settings-modal .customize-control-ast-divider:first-child{margin-top:15px}.ast-field-settings-wrap{width:100%}.ast-group-tabs,.ast-tab-content{position:relative}.ast-group-list{overflow:hidden;border-bottom:1px solid #ddd}.ast-group-list:after,.ast-group-list:before{content:"";display:table;border-collapse:collapse}.ui-tabs-anchor{float:left;padding:.5em .5em;color:#555d66;text-decoration:none}.ui-state-active .ui-tabs-anchor{color:#fff}.ui-tabs-anchor:hover{color:#555d66}.ui-state-active .ui-tabs-anchor:hover{color:#fff}.ast-group-tabs .ui-widget-content{overflow:hidden}.ast-group-tabs .ui-widget-content.iris-slider-offset,.ast-group-tabs .ui-widget-content.iris-slider-offset-alpha{overflow:inherit}.ast-fields-wrap{overflow:hidden}.ast-field-settings-wrap{-webkit-box-shadow:0 2px 15px rgba(0,0,0,.3);box-shadow:0 2px 15px rgba(0,0,0,.3);-webkit-border-radius:3px;background-color:#fff}.ast-field-settings-wrap .ast-field-settings-modal{border-radius:3px;margin-top:9px;margin-bottom:20px}.ast-field-settings-modal::before{content:'';position:absolute;top:-17px;right:8px;border:9px solid transparent;border-bottom-color:#fff;pointer-events:none}#customize-theme-controls .control-section-ast_section.open{height:100%}.ast-group-tabs .ui-tabs-nav{display:flex;padding:15px 15px 0 15px}.ast-group-tabs .ui-tabs-nav .ui-corner-top{align-items:center;flex:1 1 auto;justify-content:center;margin:0 0;padding:0;border:1px solid #ccc;transition:background-color 140ms linear}.ast-group-tabs .ui-tabs-nav .ui-corner-top:first-child{border-radius:3px 0 0 3px}.ast-group-tabs .ui-tabs-nav .ui-corner-top:last-child{border-radius:0 3px 3px 0}.ast-group-tabs .ui-tabs-nav .ui-corner-top .ui-tabs-anchor{width:100%;text-align:center;padding:2px 4px;padding-left:0;padding-right:0;outline:0}.ast-group-tabs ul.ast-group-list .ui-corner-top .ui-tabs-anchor:focus{box-shadow:none}.ast-group-tabs .ui-tabs-nav{border:none}.ast-group-tabs ul.ast-group-list .ui-corner-top.ui-state-active{background-color:#0185ba;border:1px solid rgba(0,0,0,.1)}.ast-group-tabs .ui-tabs-nav{overflow:visible}.ast-group-tabs ul.ast-group-list .ui-corner-top:not(:first-child){border-left-width:0}.ast-field-settings-modal .customize-control-ast-responsive-background .ast-responsive-bg-color-control.wp-color-picker,.ast-field-settings-modal .customize-control-ast-responsive-color .ast-responsive-color.wp-color-picker{width:65px!important}.ast-field-settings-modal .customize-control-ast-responsive-background .wp-picker-clear,.ast-field-settings-modal .customize-control-ast-responsive-color .wp-picker-clear{margin-left:6px}.wp-core-ui .ast-field-settings-modal .background-image-upload .button{font-size:11px}.customize-control-ast-slider .wrapper{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.customize-control-ast-slider input[type=range]{-webkit-appearance:none;-webkit-transition:background .3s;-moz-transition:background .3s;transition:background .3s;background-color:rgba(0,0,0,.1);height:5px;padding:0;-webkit-box-flex:1;-ms-flex:1;flex:1}.customize-control-ast-slider input[type=range]:focus{box-shadow:none;outline:0}.customize-control-ast-slider input[type=range]:focus,.customize-control-ast-slider input[type=range]:hover{background-color:rgba(0,0,0,.25)}.customize-control-ast-slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:15px;height:15px;border-radius:50%;-webkit-border-radius:50%;background-color:#3498d9;-webkit-appearance:none;width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-slider input[type=range]::-moz-range-thumb{width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-slider input[type=range]::-ms-thumb{width:15px;height:15px;border-radius:50%;border:0;background-color:#3498d9}.customize-control-ast-slider input[type=range]::-moz-range-track{border:inherit;background:0 0}.customize-control-ast-slider input[type=range]::-ms-track{border:inherit;color:transparent;background:0 0}.customize-control-ast-slider input[type=range]::-ms-fill-lower,.customize-control-ast-slider input[type=range]::-ms-fill-upper{background:0 0}.customize-control-ast-slider input[type=range]::-ms-tooltip{display:none}.customize-control-ast-slider .astra_range_value{font-size:14px;padding:0 0 0 5px;font-weight:400;position:relative}.customize-control-ast-slider .ast-slider-reset{color:rgba(0,0,0,.2);position:absolute;top:-28px;right:0;display:inline-block;-webkit-transition:color .5s ease-in;-moz-transition:color .5s ease-in;-ms-transition:color .5s ease-in;-o-transition:color .5s ease-in;transition:color .5s ease-in}.customize-control-ast-slider .ast-slider-reset span{font-size:16px;line-height:22px;transition:unset}.customize-control-ast-slider .ast-slider-reset:focus,.customize-control-ast-slider .ast-slider-reset:hover{color:red}.astra_range_value input.ast-range-value-input{width:50px;height:22px;font-size:12px;padding:3px}.astra_range_value .ast-range-unit{margin-left:5px}.customize-control-ast-sortable ul.ui-sortable{cursor:default}.customize-control-ast-sortable ul.ui-sortable .dashicons-visibility{cursor:pointer}.customize-control-ast-sortable ul.ui-sortable li{padding:5px 10px;border:1px solid #333;background:#fff;cursor:move}.customize-control-ast-sortable ul.ui-sortable li .dashicons.dashicons-menu{float:right}.customize-control-ast-sortable ul.ui-sortable li .dashicons.visibility{margin-right:10px}.customize-control-ast-sortable ul.ui-sortable li.invisible{color:#aaa;border:1px dashed #aaa}.customize-control-ast-sortable ul.ui-sortable li.invisible .dashicons.visibility{color:#aaa}.customize-control-ast-spacing ul.ast-spacing-wrapper{position:relative;-js-display:flex;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}.customize-control-ast-spacing li.ast-spacing-input-item{display:inline-block;text-align:center;-webkit-box-flex:1;-ms-flex:auto;flex:auto}.customize-control-ast-spacing .ast-spacing-input-item{margin-bottom:0}.customize-control-ast-spacing span.ast-spacing-unit{position:absolute;top:-26px;right:0;font-size:12px;font-weight:700}.customize-control-ast-spacing span.ast-spacing-title{display:block}.customize-control-ast-spacing input.ast-spacing-input{text-align:center;border-radius:3px 0 0 3px;display:block;font-size:12px;padding:4px 0;width:100%;height:28px;border:1px solid;border-color:#a4afb7;box-shadow:none}.customize-control-ast-spacing .ast-spacing-connected{color:#1e8cbe}.select2-container{width:100%!important}span.select2-container.select2-container--default.select2-container--open{z-index:999999}span.select2-container.select2-container--default.select2-container--open li.select2-results__option{margin:0}.select2-selection__rendered li{margin-bottom:0}.select2-container--default .select2-selection--single,.select2-container--default.select2-container .select2-selection--multiple{border-color:#ddd;border-radius:0}.select2-container--default .select2-selection--multiple .select2-selection__choice,.select2-dropdown{border-color:#ddd;border-radius:0}.customize-control-ast-hidden{margin-top:0}.wp-full-overlay-footer .devices-wrapper .preview-desktop,.wp-full-overlay-footer .devices-wrapper .preview-mobile,.wp-full-overlay-footer .devices-wrapper .preview-tablet{vertical-align:middle}PK\@ya 5custom-controls/slider/class-astra-control-slider.phpnuW+Ajson['default'] = $this->setting->default; if ( isset( $this->default ) ) { $this->json['default'] = $this->default; } $this->json['value'] = $this->value(); $this->json['link'] = $this->get_link(); $this->json['id'] = $this->id; $this->json['label'] = esc_html( $this->label ); $this->json['suffix'] = $this->suffix; $this->json['inputAttrs'] = ''; foreach ( $this->input_attrs as $attr => $value ) { $this->json['inputAttrs'] .= $attr . '="' . esc_attr( $value ) . '" '; } } /** * An Underscore (JS) template for this control's content (but not its container). * * Class variables for this control class are available in the `data` JS object; * export custom variables by overriding {@see WP_Customize_Control::to_json()}. * * @see WP_Customize_Control::print_template() * * @access protected */ protected function content_template() { $reset = __( 'Back to default', 'astra' ); ?> json['default'] = $this->setting->default; if ( isset( $this->default ) ) { $this->json['default'] = $this->default; } $this->json['value'] = $this->value(); $this->json['link'] = $this->get_link(); $this->json['id'] = $this->id; $this->json['label'] = esc_html( $this->label ); $this->json['inputAttrs'] = ''; foreach ( $this->input_attrs as $attr => $value ) { $this->json['inputAttrs'] .= $attr . '="' . esc_attr( $value ) . '" '; } } /** * Enqueue control related scripts/styles. * * @access public */ public function enqueue() { $js_uri = ASTRA_THEME_URI . 'inc/customizer/custom-controls/background/'; wp_enqueue_script( 'astra-background', $js_uri . 'background.js', array(), ASTRA_THEME_VERSION, true ); wp_localize_script( 'astra-background', 'astraCustomizerControlBackground', array( 'placeholder' => __( 'No file selected', 'astra' ), 'lessSettings' => __( 'Less Settings', 'astra' ), 'moreSettings' => __( 'More Settings', 'astra' ), ) ); } /** * An Underscore (JS) template for this control's content (but not its container). * * Class variables for this control class are available in the `data` JS object; * export custom variables by overriding {@see WP_Customize_Control::to_json()}. * * @see WP_Customize_Control::print_template() * * @access protected */ protected function content_template() { ?> <# if ( data.label || data.description ) { #> <# } #>
    <# if ( data.value['background-image'] ) { #>
    <# } else { #>
    <# } #>

    checked="checked" <# } #>> checked="checked" <# } #>> checked="checked" <# } #>>

    checked="checked" <# } #>> checked="checked" <# } #>> checked="checked" <# } #>>
    .background-repeat' ).hide(); control.container.find( '.background-wrapper > .background-position' ).hide(); control.container.find( '.background-wrapper > .background-size' ).hide(); control.container.find( '.background-wrapper > .background-attachment' ).hide(); // Hide More Settings control only when image is not selected. if ( _.isUndefined( value['background-image']) || '' === value['background-image']) { control.container.find( '.more-settings' ).hide(); } // Color. picker.wpColorPicker({ change: function() { if ( jQuery('html').hasClass('background-colorpicker-ready') ) { setTimeout( function() { control.saveValue( 'background-color', picker.val() ); }, 100 ); } }, /** * @param {Event} event - standard jQuery event, produced by "Clear" * button. */ clear: function (event) { var element = jQuery(event.target).closest('.wp-picker-input-wrap').find('.wp-color-picker')[0]; if (element) { control.saveValue( 'background-color', '' ); } } }); // Background-Repeat. control.container.on( 'change', '.background-repeat select', function() { control.saveValue( 'background-repeat', jQuery( this ).val() ); }); // Background-Size. control.container.on( 'change click', '.background-size input', function() { jQuery( this ).parent( '.buttonset' ).find( '.switch-input' ).removeAttr('checked'); jQuery( this ).attr( 'checked', 'checked' ); control.saveValue( 'background-size', jQuery( this ).val() ); }); // Background-Position. control.container.on( 'change', '.background-position select', function() { control.saveValue( 'background-position', jQuery( this ).val() ); }); // Background-Attachment. control.container.on( 'change click', '.background-attachment input', function() { jQuery( this ).parent( '.buttonset' ).find( '.switch-input' ).removeAttr('checked'); jQuery( this ).attr( 'checked', 'checked' ); control.saveValue( 'background-attachment', jQuery( this ).val() ); }); // Background-Image. control.container.on( 'click', '.background-image-upload-button, .thumbnail-image img', function( e ) { var image = wp.media({ multiple: false }).open().on( 'select', function() { // This will return the selected image from the Media Uploader, the result is an object. var uploadedImage = image.state().get( 'selection' ).first(), previewImage = uploadedImage.toJSON().sizes.full.url, imageUrl, imageID, imageWidth, imageHeight, preview, removeButton; if ( ! _.isUndefined( uploadedImage.toJSON().sizes.medium ) ) { previewImage = uploadedImage.toJSON().sizes.medium.url; } else if ( ! _.isUndefined( uploadedImage.toJSON().sizes.thumbnail ) ) { previewImage = uploadedImage.toJSON().sizes.thumbnail.url; } imageUrl = uploadedImage.toJSON().sizes.full.url; imageID = uploadedImage.toJSON().id; imageWidth = uploadedImage.toJSON().width; imageHeight = uploadedImage.toJSON().height; // Show extra controls if the value has an image. if ( '' !== imageUrl ) { control.container.find( '.more-settings' ).show(); } control.saveValue( 'background-image', imageUrl ); preview = control.container.find( '.placeholder, .thumbnail' ); removeButton = control.container.find( '.background-image-upload-remove-button' ); if ( preview.length ) { preview.removeClass().addClass( 'thumbnail thumbnail-image' ).html( '' ); } if ( removeButton.length ) { removeButton.show(); } }); e.preventDefault(); }); control.container.on( 'click', '.background-image-upload-remove-button', function( e ) { var preview, removeButton; e.preventDefault(); control.saveValue( 'background-image', '' ); preview = control.container.find( '.placeholder, .thumbnail' ); removeButton = control.container.find( '.background-image-upload-remove-button' ); // Hide unnecessary controls. control.container.find( '.background-wrapper > .background-repeat' ).hide(); control.container.find( '.background-wrapper > .background-position' ).hide(); control.container.find( '.background-wrapper > .background-size' ).hide(); control.container.find( '.background-wrapper > .background-attachment' ).hide(); control.container.find( '.more-settings' ).attr('data-direction', 'down'); control.container.find( '.more-settings' ).find('.message').html( astraCustomizerControlBackground.moreSettings ); control.container.find( '.more-settings' ).find('.icon').html( '↓' ); if ( preview.length ) { preview.removeClass().addClass( 'placeholder' ).html( astraCustomizerControlBackground.placeholder ); } if ( removeButton.length ) { removeButton.hide(); } }); control.container.on( 'click', '.more-settings', function( e ) { // Hide unnecessary controls. control.container.find( '.background-wrapper > .background-repeat' ).toggle(); control.container.find( '.background-wrapper > .background-position' ).toggle(); control.container.find( '.background-wrapper > .background-size' ).toggle(); control.container.find( '.background-wrapper > .background-attachment' ).toggle(); if( 'down' === $(this).attr( 'data-direction' ) ) { $(this).attr('data-direction', 'up'); $(this).find('.message').html( astraCustomizerControlBackground.lessSettings ); $(this).find('.icon').html( '↑' ); } else { $(this).attr('data-direction', 'down'); $(this).find('.message').html( astraCustomizerControlBackground.moreSettings ); $(this).find('.icon').html( '↓' ); } }); }, /** * Saves the value. */ saveValue: function( property, value ) { var control = this, input = jQuery( '#customize-control-' + control.id.replace( '[', '-' ).replace( ']', '' ) + ' .background-hidden-value' ), val = control.setting._value; val[ property ] = value; jQuery( input ).attr( 'value', JSON.stringify( val ) ).trigger( 'change' ); control.setting.set( val ); } }); })(jQuery); PK\d@*custom-controls/background/background.scssnuW+A#customize-controls .customize-control-notifications-container { margin: 0; } .customize-control-ast-background { .screen-reader-text { top: initial; } .background-container h4 { font-weight: normal; } .background-attachment h4, .background-color h4, .background-position h4, .background-repeat h4, .background-size h4 { margin-bottom: 5px; margin-top: 10px; } .background-color { margin-bottom: 12px; } .background-repeat { margin: 15px 0 8px 0; } .background-attachment .buttonset, .background-size .buttonset { display: flex; flex-wrap: wrap; } .background-attachment .buttonset .switch-label, .background-size .buttonset .switch-label { background: #ffffff; border: 1px solid rgba(0, 0, 0, 0.1); color: #555; padding: 2px 4px; margin-right: 15px; text-align: center; flex-grow: 1; transition: background-color 140ms linear; } .background-attachment .buttonset .switch-label:last-child, .background-size .buttonset .switch-label:last-child { margin-right: 0; } .background-attachment .buttonset .switch-input:checked + .switch-label, .background-size .buttonset .switch-input:checked + .switch-label, .background-attachment .buttonset .switch-input[checked="checked"] + .switch-label, .background-size .buttonset .switch-input[checked="checked"] + .switch-label { background-color: #f5f5f5; color: #565e67; } .more-settings { margin-top: 12px; display: inline-block; padding: 5px 0 5px 0; float: right; &:focus { outline: 0; box-shadow: none; } } .arrow-icon { margin-left: 5px; } } .ast-field-settings-modal .customize-control-ast-background .more-settings { margin-top: 6px; }PK\