.elementor-widget-n-tabs{--n-tabs-color-accent-fallback:#61ce70;--n-tabs-color-secondary-fallback:#54595f;--n-tabs-default-padding-block:15px;--n-tabs-default-padding-inline:35px;--n-tabs-background-color:transparent;--n-tabs-display:flex;--n-tabs-direction:column;--n-tabs-gap:10px;--n-tabs-heading-display:flex;--n-tabs-heading-direction:row;--n-tabs-heading-grow:initial;--n-tabs-heading-justify-content:center;--n-tabs-heading-width:initial;--n-tabs-heading-overflow-x:initial;--n-tabs-heading-wrap:nowrap;--n-tabs-border-width:1px;--n-tabs-border-color:#d5d8dc;--n-tabs-content-display:flex;--n-tabs-title-color:var(--e-global-color-secondary,var(--n-tabs-color-secondary-fallback));--n-tabs-title-color-hover:#fff;--n-tabs-title-color-active:#fff;--n-tabs-title-background-color:#f1f2f3;--n-tabs-title-background-color-hover:var(--e-global-color-accent,var(--n-tabs-color-accent-fallback));--n-tabs-title-background-color-active:var(--e-global-color-accent,var(--n-tabs-color-accent-fallback));--n-tabs-title-width:initial;--n-tabs-title-height:initial;--n-tabs-title-font-size:1rem;--n-tabs-title-white-space:initial;--n-tabs-title-justify-content-toggle:initial;--n-tabs-title-align-items-toggle:center;--n-tabs-title-justify-content:center;--n-tabs-title-align-items:center;--n-tabs-title-text-align:center;--n-tabs-title-direction:row;--n-tabs-title-gap:10px;--n-tabs-title-flex-grow:0;--n-tabs-title-flex-basis:content;--n-tabs-title-flex-shrink:initial;--n-tabs-title-order:initial;--n-tabs-title-padding-top:var(--n-tabs-default-padding-block);--n-tabs-title-padding-bottom:var(--n-tabs-default-padding-block);--n-tabs-title-padding-left:var(--n-tabs-default-padding-inline);--n-tabs-title-padding-right:var(--n-tabs-default-padding-inline);--n-tabs-title-border-radius:initial;--n-tabs-title-transition:0.3s;--n-tabs-icon-color:var(--e-global-color-secondary,var(--n-tabs-color-secondary-fallback));--n-tabs-icon-color-hover:var(--n-tabs-title-color-hover);--n-tabs-icon-color-active:#fff;--n-tabs-icon-gap:5px;width:100%;max-width:100%;--n-tabs-title-padding-inline-start:var(--n-tabs-title-padding-left);--n-tabs-title-padding-inline-end:var(--n-tabs-title-padding-right);--n-tabs-title-padding-block-start:var(--n-tabs-title-padding-top);--n-tabs-title-padding-block-end:var(--n-tabs-title-padding-bottom)}body.rtl .elementor-widget-n-tabs{--n-tabs-title-padding-inline-start:var(--n-tabs-title-padding-right);--n-tabs-title-padding-inline-end:var(--n-tabs-title-padding-left)}.elementor-widget-n-tabs .e-n-tabs{display:var(--n-tabs-display);flex-direction:var(--n-tabs-direction);gap:var(--n-tabs-gap);text-align:start;min-width:0}.elementor-widget-n-tabs .e-n-tabs-heading{display:var(--n-tabs-heading-display);flex-basis:var(--n-tabs-heading-width);flex-direction:var(--n-tabs-heading-direction);flex-shrink:0;justify-content:var(--n-tabs-heading-justify-content);gap:var(--n-tabs-title-gap);overflow-x:var(--n-tabs-heading-overflow-x);flex-wrap:var(--n-tabs-heading-wrap);-ms-overflow-style:none;scrollbar-width:none}.elementor-widget-n-tabs .e-n-tabs-heading::-webkit-scrollbar{display:none}.elementor-widget-n-tabs .e-n-tabs-heading.e-scroll{cursor:grabbing;cursor:-webkit-grabbing}.elementor-widget-n-tabs .e-n-tabs-heading.e-scroll-active{position:relative}.elementor-widget-n-tabs .e-n-tabs-heading.e-scroll-active:before{content:"";position:absolute;inset-block:0;inset-inline:-1000vw;z-index:2}.elementor-widget-n-tabs .e-n-tabs-content{display:var(--n-tabs-content-display);flex-grow:1;min-width:0}.elementor-widget-n-tabs .e-n-tabs-content>.e-con:not(.e-active){display:none}.elementor-widget-n-tabs .e-n-tabs:not(.e-activated)>.e-n-tabs-content>.e-con:first-child{display:flex}.elementor-widget-n-tabs .e-n-tab-title{background-color:initial;border-style:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;display:flex;align-items:var(--n-tabs-title-align-items-toggle,var(--n-tabs-title-align-items));flex-direction:var(--n-tabs-title-direction);justify-content:var(--n-tabs-title-justify-content-toggle,var(--n-tabs-title-justify-content));gap:var(--n-tabs-icon-gap);border-width:var(--n-tabs-border-width);position:relative;flex-grow:var(--n-tabs-title-flex-grow);flex-basis:var(--n-tabs-title-flex-basis);flex-shrink:var(--n-tabs-title-flex-shrink);padding-block-start:var(--n-tabs-title-padding-block-start);padding-inline-end:var(--n-tabs-title-padding-inline-end);padding-block-end:var(--n-tabs-title-padding-block-end);padding-inline-start:var(--n-tabs-title-padding-inline-start);border-radius:var(--n-tabs-title-border-radius);height:var(--n-tabs-title-height);width:var(--n-tabs-title-width);white-space:var(--n-tabs-title-white-space);transition:background var(--n-tabs-title-transition),color var(--n-tabs-title-transition),border var(--n-tabs-title-transition),box-shadow var(--n-tabs-title-transition),text-shadow var(--n-tabs-title-transition),stroke var(--n-tabs-title-transition),stroke-width var(--n-tabs-title-transition),-webkit-text-stroke-width var(--n-tabs-title-transition),-webkit-text-stroke-color var(--n-tabs-title-transition),transform var(--n-tabs-title-transition)}.elementor-widget-n-tabs .e-n-tab-title:focus:not(:focus-visible){outline:none}.elementor-widget-n-tabs .e-n-tab-title span i,.elementor-widget-n-tabs .e-n-tab-title span svg{transition:color var(--n-tabs-title-transition),fill var(--n-tabs-title-transition)}.elementor-widget-n-tabs .e-n-tab-title-text{display:flex;align-items:center;font-size:var(--n-tabs-title-font-size);text-align:var(--n-tabs-title-text-align)}.elementor-widget-n-tabs .e-n-tab-title .e-n-tab-icon{display:flex;align-items:center;flex-direction:column;flex-shrink:0;order:var(--n-tabs-icon-order);overflow:hidden}.elementor-widget-n-tabs .e-n-tab-title .e-n-tab-icon i{font-size:var(--n-tabs-icon-size,var(--n-tabs-title-font-size))}.elementor-widget-n-tabs .e-n-tab-title .e-n-tab-icon svg{width:var(--n-tabs-icon-size,var(--n-tabs-title-font-size));height:var(--n-tabs-icon-size,var(--n-tabs-title-font-size))}.elementor-widget-n-tabs .e-n-tab-title .e-n-tab-icon:empty{display:none}.elementor-widget-n-tabs .e-n-tab-title[aria-selected=false]{background-color:var(--n-tabs-title-background-color)uccessfully.', 'elementor' ) ] ); } /** * Add Update Needed Flag * @param array $settings * * @return array; */ public function add_update_needed_flag( $settings ) { $settings['icons_update_needed'] = true; return $settings; } public function enqueue_fontawesome_css() { if ( ! self::is_migration_allowed() ) { wp_enqueue_style( 'font-awesome' ); } else { $current_filter = current_filter(); $load_shim = get_option( self::LOAD_FA4_SHIM_OPTION_KEY, false ); if ( 'elementor/editor/after_enqueue_styles' === $current_filter ) { self::enqueue_shim(); } elseif ( 'yes' === $load_shim ) { self::enqueue_shim(); } } } /** * @deprecated 3.1.0 */ public function add_admin_strings() { Plugin::$instance->modules_manager->get_modules( 'dev-tools' )->deprecation->deprecated_function( __METHOD__, '3.1.0' ); return []; } /** * Icons Manager constructor */ public function __construct() { if ( is_admin() ) { // @todo: remove once we deprecate fa4 add_action( 'elementor/admin/after_create_settings/' . Settings::PAGE_ID, [ $this, 'register_admin_settings' ], 100 ); } if ( self::is_font_icon_inline_svg() ) { self::$data_manager = new Font_Icon_Svg_Data_Manager(); } add_action( 'elementor/frontend/after_enqueue_styles', [ $this, 'enqueue_fontawesome_css' ] ); add_action( 'elementor/frontend/after_register_styles', [ $this, 'register_styles' ] ); if ( ! self::is_migration_allowed() ) { add_filter( 'elementor/editor/localize_settings', [ $this, 'add_update_needed_flag' ] ); add_action( 'elementor/admin/after_create_settings/' . Tools::PAGE_ID, [ $this, 'register_admin_tools_settings' ], 100 ); if ( ! empty( $_POST ) ) { // phpcs:ignore -- nonce validation done in callback add_action( 'wp_ajax_' . self::NEEDS_UPDATE_OPTION . '_upgrade', [ $this, 'ajax_upgrade_to_fa5' ] ); } } } } /* * Spin */ .hamburger--spin .hamburger-inner { -webkit-transition-duration: 0.22s; transition-duration: 0.22s; -webkit-transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); } .hamburger--spin .hamburger-inner::before { -webkit-transition: top 0.1s 0.25s ease-in, opacity 0.1s ease-in; transition: top 0.1s 0.25s ease-in, opacity 0.1s ease-in; } .hamburger--spin .hamburger-inner::after { -webkit-transition: bottom 0.1s 0.25s ease-in, -webkit-transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19); transition: bottom 0.1s 0.25s ease-in, transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19); } .hamburger--spin.is-active .hamburger-inner { -webkit-transform: rotate(225deg); -ms-transform: rotate(225deg); transform: rotate(225deg); -webkit-transition-delay: 0.12s; transition-delay: 0.12s; -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); } .hamburger--spin.is-active .hamburger-inner::before { top: 0; opacity: 0; -webkit-transition: top 0.1s ease-out, opacity 0.1s 0.12s ease-out; transition: top 0.1s ease-out, opacity 0.1s 0.12s ease-out; } .hamburger--spin.is-active .hamburger-inner::after { bottom: 0; -webkit-transform: rotate(-90deg); -ms-transform: rotate(-90deg); transform: rotate(-90deg); -webkit-transition: bottom 0.1s ease-out, -webkit-transform 0.22s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1); transition: bottom 0.1s ease-out, transform 0.22s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1); }/* * Spring Reverse */ .hamburger--spring-r .hamburger-inner { top: auto; bottom: -3px; -webkit-transition-duration: 0.13s; transition-duration: 0.13s; -webkit-transition-delay: 0s; transition-delay: 0s; -webkit-transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); } .hamburger--spring-r .hamburger-inner::after { top: -14px; -webkit-transition: top 0.2s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), opacity 0s linear; transition: top 0.2s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), opacity 0s linear; } .hamburger--spring-r .hamburger-inner::before { -webkit-transition: top 0.1s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), -webkit-transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19); transition: top 0.1s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19); } .hamburger--spring-r.is-active .hamburger-inner { -webkit-transform: translate3d(0, -7px, 0) rotate(-45deg); transform: translate3d(0, -7px, 0) rotate(-45deg); -webkit-transition-delay: 0.22s; transition-delay: 0.22s; -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); } .hamburger--spring-r.is-active .hamburger-inner::after { top: 0; opacity: 0; -webkit-transition: top 0.2s cubic-bezier(0.33333, 0, 0.66667, 0.33333), opacity 0s 0.22s linear; transition: top 0.2s cubic-bezier(0.33333, 0, 0.66667, 0.33333), opacity 0s 0.22s linear; } .hamburger--spring-r.is-active .hamburger-inner::before { top: 0; -webkit-transform: rotate(90deg); -ms-transform: rotate(90deg); transform: rotate(90deg); -webkit-transition: top 0.1s 0.15s cubic-bezier(0.33333, 0, 0.66667, 0.33333), -webkit-transform 0.13s 0.22s cubic-bezier(0.215, 0.61, 0.355, 1); transition: top 0.1s 0.15s cubic-bezier(0.33333, 0, 0.66667, 0.33333), transform 0.13s 0.22s cubic-bezier(0.215, 0.61, 0.355, 1); }