first commit

This commit is contained in:
User A0264400
2026-04-01 23:20:16 +03:00
commit a766acdc90
23071 changed files with 4933189 additions and 0 deletions

View File

@@ -0,0 +1,114 @@
<?php
/**
* Uag Admin.
*
* @package Uag
*/
namespace UagAdmin;
use UagAdmin\Api\Api_Init;
use UagAdmin\Ajax\Ajax_Init;
use UagAdmin\Inc\Admin_Menu;
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* Class Admin_Loader.
*/
class Admin_Loader {
/**
* Instance
*
* @access private
* @var object Class object.
* @since 2.0.0
*/
private static $instance;
/**
* Initiator
*
* @since 2.0.0
* @return object initialized object of class.
*/
public static function get_instance() {
if ( ! isset( self::$instance ) ) {
self::$instance = new self();
}
return self::$instance;
}
/**
* Autoload classes.
*
* @param string $class class name.
*/
public function autoload( $class ) {
if ( 0 !== strpos( $class, __NAMESPACE__ ) ) {
return;
}
$class_to_load = $class;
if ( ! class_exists( $class_to_load ) ) {
$filename = strtolower(
preg_replace(
array( '/^' . __NAMESPACE__ . '\\\/', '/([a-z])([A-Z])/', '/_/', '/\\\/' ),
array( '', '$1-$2', '-', DIRECTORY_SEPARATOR ),
$class_to_load
)
);
$file = UAG_ADMIN_DIR . $filename . '.php';
// if the file redable, include it.
if ( is_readable( $file ) ) {
include $file;
}
}
}
/**
* Constructor
*
* @since 2.0.0
*/
public function __construct() {
spl_autoload_register( array( $this, 'autoload' ) );
$this->define_constants();
$this->setup_classes();
}
/**
* Include required classes.
*/
public function define_constants() {
define( 'UAG_ADMIN_DIR', UAGB_DIR . 'admin-core/' );
define( 'UAG_ADMIN_URL', UAGB_URL . 'admin-core/' );
}
/**
* Include required classes.
*/
public function setup_classes() {
/* Init API */
Api_Init::get_instance();
if ( is_admin() ) {
/* Setup Menu */
Admin_Menu::get_instance();
/* Ajax init */
Ajax_Init::get_instance();
}
}
}
Admin_Loader::get_instance();

View File

@@ -0,0 +1,96 @@
<?php
/**
* Ajax Base.
*
* @package uag
*/
namespace UagAdmin\Ajax;
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
use UagAdmin\Ajax\Ajax_Errors;
/**
* Class Ajax_Base.
*/
abstract class Ajax_Base {
/**
* Ajax action prefix.
*
* @var string
*/
private $prefix = 'uag';
/**
* Erros class instance.
*
* @var object
*/
public $errors = null;
/**
* Constructor
*
* @since 2.0.0
*/
public function __construct() {
$this->errors = Ajax_Errors::get_instance();
}
/**
* Register ajax events.
*
* @param array $ajax_events Ajax events.
*/
public function init_ajax_events( $ajax_events ) {
if ( ! empty( $ajax_events ) ) {
foreach ( $ajax_events as $ajax_event ) {
add_action( 'wp_ajax_' . $this->prefix . '_' . $ajax_event, array( $this, $ajax_event ) );
$this->localize_ajax_action_nonce( $ajax_event );
}
}
}
/**
* Localize nonce for ajax call.
*
* @param string $action Action name.
* @return void
*/
public function localize_ajax_action_nonce( $action ) {
if ( current_user_can( 'manage_options' ) ) {
add_filter(
'uag_react_admin_localize',
function( $localize ) use ( $action ) {
$localize[ $action . '_nonce' ] = wp_create_nonce( $this->prefix . '_' . $action );
return $localize;
}
);
}
}
/**
* Get ajax error message.
*
* @param string $type Message type.
* @return string
*/
public function get_error_msg( $type ) {
return $this->errors->get_error_msg( $type );
}
}

View File

@@ -0,0 +1,104 @@
<?php
/**
* Ajax Errors.
*
* @package uag
*/
namespace UagAdmin\Ajax;
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* Class Ajax_Errors
*/
class Ajax_Errors {
/**
* Instance
*
* @access private
* @var object Class object.
* @since 2.0.0
*/
private static $instance;
/**
* Errors
*
* @access private
* @var array Errors strings.
* @since 2.0.0
*/
private static $errors = array();
/**
* Initiator
*
* @since 2.0.0
* @return object initialized object of class.
*/
public static function get_instance() {
if ( ! isset( self::$instance ) ) {
self::$instance = new self();
}
return self::$instance;
}
/**
* Constructor
*
* @since 2.0.0
*/
public function __construct() {
/**
* Hooks the method to initialize error messages.
*
* @uses add_action()
* @uses self::initialize_errors()
* @since 2.17.0
*/
add_action(
'init',
array( $this, 'initialize_errors' ),
10, // priority - run after WordPress has finished loading but before any output is sent.
0 // number of arguments - default is 1.
);
}
/**
* Initializes error messages.
*
* @since 2.17.0
* @access public
* @return void
*/
public function initialize_errors() {
self::$errors = array(
'permission' => __( 'Sorry, you are not allowed to do this operation.', 'ultimate-addons-for-gutenberg' ),
'nonce' => __( 'Nonce validation failed', 'ultimate-addons-for-gutenberg' ),
'default' => __( 'Sorry, something went wrong.', 'ultimate-addons-for-gutenberg' ),
);
}
/**
* Get error message.
*
* @param string $type Message type.
* @return string
*/
public function get_error_msg( $type ) {
if ( ! isset( self::$errors[ $type ] ) ) {
$type = 'default';
}
return self::$errors[ $type ];
}
}
Ajax_Errors::get_instance();

View File

@@ -0,0 +1,111 @@
<?php
/**
* Ajax Initialize.
*
* @package uag
*/
namespace UagAdmin\Ajax;
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* Class Ajax_Init.
*/
class Ajax_Init {
/**
* Instance
*
* @access private
* @var object Class object.
* @since 2.0.0
*/
private static $instance;
/**
* Dynamic properties container
*
* @var array
* @since 2.7.10
*/
private $dynamic_properties = array();
/**
* Initiator
*
* @since 2.0.0
* @return object initialized object of class.
*/
public static function get_instance() {
if ( ! isset( self::$instance ) ) {
self::$instance = new self();
}
return self::$instance;
}
/**
* Constructor
*
* @since 2.0.0
*/
public function __construct() {
$this->initialize_hooks();
}
/**
* Init Hooks.
*
* @since 2.0.0
* @return void
*/
public function initialize_hooks() {
$this->register_all_ajax_events();
}
/**
* Init dynamic property setter
*
* @param string $name Property name.
* @param mixed $value Property value.
*
* @since 2.7.10
* @return void
*/
public function __set( $name, $value ) {
$this->dynamic_properties[ $name ] = $value;
}
/**
* Init dynamic property getter
*
* @param string $name Property name.
*
* @since 2.7.10
* @return mixed Property value if set, null otherwise.
*/
public function __get( $name ) {
return $this->dynamic_properties[ $name ] ? $this->dynamic_properties[ $name ] : null;
}
/**
* Register Ajax actions.
*/
public function register_all_ajax_events() {
$controllers = array(
'UagAdmin\Ajax\Common_Settings',
);
foreach ( $controllers as $controller ) {
$this->$controller = $controller::get_instance();
$this->{$controller}->register_ajax_events();
}
}
}
Ajax_Init::get_instance();

View File

@@ -0,0 +1,34 @@
<?php
/**
* Api Base.
*
* @package uag
*/
namespace UagAdmin\Api;
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* Class Api_Base.
*/
abstract class Api_Base extends \WP_REST_Controller {
/**
* Endpoint namespace.
*
* @var string
*/
protected $namespace = 'uag/v1';
/**
* Register API routes.
*/
public function get_api_namespace() {
return $this->namespace;
}
}

View File

@@ -0,0 +1,112 @@
<?php
/**
* Api Init.
*
* @package uag
*/
namespace UagAdmin\Api;
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* Class Api_Init.
*/
class Api_Init {
/**
* Instance
*
* @access private
* @var object Class object.
* @since 1.0.0
*/
private static $instance;
/**
* Dynamic properties container
*
* @since 2.7.10
* @var array
*/
private $dynamic_properties = array();
/**
* Initiator
*
* @since 1.0.0
* @return object initialized object of class.
*/
public static function get_instance() {
if ( ! isset( self::$instance ) ) {
self::$instance = new self();
}
return self::$instance;
}
/**
* Constructor
*
* @since 1.0.0
*/
public function __construct() {
$this->initialize_hooks();
}
/**
* Init Hooks.
*
* @since 1.0.0
* @return void
*/
public function initialize_hooks() {
// REST API extensions init.
add_action( 'rest_api_init', array( $this, 'register_routes' ) );
}
/**
* Init dynamic property setter
*
* @param string $name Property name.
* @param mixed $value Property value.
*
* @since 2.7.10
* @return void
*/
public function __set( $name, $value ) {
$this->dynamic_properties[ $name ] = $value;
}
/**
* Init dynamic property getter
*
* @param string $name Property name.
*
* @since 2.7.10
* @return mixed Property value if set, null otherwise.
*/
public function __get( $name ) {
return $this->dynamic_properties[ $name ] ? $this->dynamic_properties[ $name ] : null;
}
/**
* Register API routes.
*/
public function register_routes() {
$controllers = array(
'UagAdmin\Api\Common_Settings',
);
foreach ( $controllers as $controller ) {
$this->$controller = $controller::get_instance();
$this->{$controller}->register_routes();
}
}
}
Api_Init::get_instance();

View File

@@ -0,0 +1,103 @@
<?php
/**
* Common Settings Data Query.
*
* @package uag
*/
namespace UagAdmin\Api;
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
use UagAdmin\Api\Api_Base;
use UagAdmin\Inc\Admin_Helper;
/**
* Class Admin_Query.
*/
class Common_Settings extends Api_Base {
/**
* Route base.
*
* @var string
*/
protected $rest_base = '/admin/commonsettings/';
/**
* Instance
*
* @access private
* @var object Class object.
* @since 1.0.0
*/
private static $instance;
/**
* Initiator
*
* @since 1.0.0
* @return object initialized object of class.
*/
public static function get_instance() {
if ( ! isset( self::$instance ) ) {
self::$instance = new self();
}
return self::$instance;
}
/**
* Init Hooks.
*
* @since 1.0.0
* @return void
*/
public function register_routes() {
$namespace = $this->get_api_namespace();
register_rest_route(
$namespace,
$this->rest_base,
array(
array(
'methods' => \WP_REST_Server::READABLE,
'callback' => array( $this, 'get_common_settings' ),
'permission_callback' => array( $this, 'get_items_permissions_check' ),
'args' => array(),
),
'schema' => array( $this, 'get_public_item_schema' ),
)
);
}
/**
* Get common settings.
*
* @param WP_REST_Request $request Full details about the request.
*/
public function get_common_settings( $request ) {
$options = Admin_Helper::get_options();
return $options;
}
/**
* Check whether a given request has permission to read notes.
*
* @param WP_REST_Request $request Full details about the request.
* @return WP_Error|boolean
*/
public function get_items_permissions_check( $request ) {
if ( ! current_user_can( 'manage_options' ) ) {
return new \WP_Error( 'uag_rest_cannot_view', __( 'Sorry, you cannot list resources.', 'ultimate-addons-for-gutenberg' ), array( 'status' => rest_authorization_required_code() ) );
}
return true;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<?php return array('dependencies' => array('react', 'react-dom', 'wp-api-fetch', 'wp-element', 'wp-escape-html', 'wp-i18n', 'wp-url'), 'version' => 'e01bf53da588432b7e45');

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,3 @@
<svg width="71" height="71" viewBox="0 0 71 71" fill="#000000" xmlns="http://www.w3.org/2000/svg">
<path d="M35.292 0C28.3119 0 21.4885 2.08204 15.6848 5.98283C9.88107 9.88362 5.35762 15.428 2.68645 21.9147C0.0152817 28.4015 -0.683625 35.5394 0.678124 42.4257C2.03987 49.312 5.40111 55.6375 10.3368 60.6023C15.2725 65.5671 21.5609 68.9481 28.4068 70.3179C35.2528 71.6876 42.3489 70.9846 48.7976 68.2977C55.2464 65.6108 60.7583 61.0607 64.6362 55.2227C68.5141 49.3848 70.584 42.5212 70.584 35.5C70.58 26.0861 66.8604 17.0588 60.2428 10.4021C53.6251 3.74548 44.6508 0.00401876 35.292 0V0ZM48.5887 40.944C48.5887 41.035 48.5887 41.126 48.5887 41.217V41.4748V41.6416C48.4098 42.6715 48.0307 43.6558 47.4731 44.538L47.1414 45.0081L46.659 45.5692C46.4943 45.781 46.3073 45.9742 46.1012 46.1454V46.2213L45.9957 46.2971L45.7846 46.4639C45.7145 46.5265 45.6388 46.5823 45.5585 46.6307L45.3323 46.7824L28.9753 57.6856C28.8417 57.7759 28.684 57.8235 28.523 57.8221H28.3572C28.2497 57.7996 28.1477 57.7558 28.0571 57.6933C27.9665 57.6309 27.8892 57.5509 27.8296 57.4582C27.8296 57.4582 27.4527 56.7909 27.4225 56.7454V56.5938V56.5179V56.4269V56.3208V56.1995C26.7754 54.513 26.7216 52.6545 27.2701 50.933C27.8187 49.2115 28.9365 47.7307 30.4376 46.7369L38.0659 41.6568C38.1849 41.5771 38.2779 41.4638 38.3329 41.3311C38.388 41.1984 38.4027 41.0522 38.3753 40.9111C38.3479 40.77 38.2796 40.6402 38.1789 40.5381C38.0782 40.436 37.9497 40.3662 37.8096 40.3375L28.8547 38.5177H28.5984H28.523H28.2818H28.0255H27.92H27.7843H27.709L27.4678 38.4267H27.3924H27.2416L27.0004 38.3054L26.7592 38.1841L26.533 38.0476L26.3069 37.9111C25.5952 37.4647 24.959 36.9067 24.4225 36.2582L24.2265 35.9853L24.0004 35.6365C23.421 34.7714 23.0198 33.7984 22.8205 32.7748C22.6211 31.7512 22.6276 30.6979 22.8395 29.6769C22.9971 28.975 23.2455 28.2969 23.5782 27.66C23.6687 27.4932 23.7441 27.3415 23.8345 27.205L23.9702 26.9927C24.067 26.8303 24.1727 26.6733 24.2868 26.5226L24.4225 26.3558L24.5883 26.1587L24.7541 25.9767L24.8597 25.8706L25.0406 25.6886L25.1913 25.5521L25.3572 25.4156L25.5381 25.264H25.6134L25.734 25.1578H25.8094L26.0054 25.0214L42.272 14.1788C42.3763 14.1091 42.4935 14.0612 42.6166 14.038C42.7396 14.0147 42.8661 14.0166 42.9884 14.0435C43.1108 14.0704 43.2265 14.1217 43.3287 14.1944C43.431 14.2672 43.5176 14.3598 43.5836 14.4669L43.7192 14.6944L43.8248 14.9067C43.8248 14.9825 43.9002 15.0432 43.9303 15.1038C43.9303 15.1038 43.9303 15.1038 43.9303 15.1948C43.94 15.2295 43.94 15.2662 43.9303 15.3009V15.3009L44.0208 15.5284C44.0289 15.5684 44.0289 15.6097 44.0208 15.6497C44.0208 15.6497 44.0208 15.6497 44.0208 15.7407C44.6198 17.3996 44.6483 19.2127 44.1017 20.8897C43.555 22.5668 42.4648 24.011 41.0056 24.991L33.4678 30.0256C33.3488 30.1053 33.2559 30.2186 33.2008 30.3513C33.1457 30.484 33.131 30.6302 33.1584 30.7713C33.1858 30.9124 33.2542 31.0422 33.3549 31.1443C33.4555 31.2464 33.584 31.3162 33.7241 31.3449L42.6036 33.1495C44.3808 33.5188 45.9773 34.4922 47.1249 35.9061C48.2726 37.3201 48.9012 39.0884 48.9053 40.9137C48.6188 40.4285 48.5887 40.9137 48.5887 40.9137V40.944Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

@@ -0,0 +1,10 @@
<svg width="316" height="70" viewBox="0 0 316 70" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M35 70C54.33 70 70 54.33 70 35C70 15.67 54.33 0 35 0C15.67 0 0 15.67 0 35C0 54.33 15.67 70 35 70ZM45.763 45.255C47.7866 43.9757 48.9999 41.8352 49 39.5446C49.0001 36.3616 46.6761 33.5935 43.3799 32.8506L33.504 30.3992C32.573 30.1894 32.3499 29.0415 33.1419 28.5363L40.8361 23.6287C44.4175 21.3443 45.3487 16.7662 42.9159 13.4032C42.6119 12.9828 42.0024 12.8735 41.5547 13.1591L24.1734 24.8834C22.1884 26.1495 21 28.2566 21 30.5098C21 33.6548 23.2961 36.3896 26.5529 37.1236L36.5897 39.6113C37.5228 39.8216 37.744 40.9733 36.948 41.4765L29.1973 46.3764C25.6058 48.6468 24.6544 53.2212 27.0723 56.5936C27.3746 57.0152 27.9835 57.1269 28.4325 56.843L45.763 45.255Z" fill="#5733FF"/>
<path d="M100.898 51.964C97.6317 51.964 94.7238 51.4295 92.1738 50.3605C89.6237 49.2915 87.5658 47.7772 86 45.8174L91.7711 40.9401C93.1132 42.41 94.6343 43.479 96.3343 44.1471C98.0344 44.7707 99.7567 45.0824 101.502 45.0824C102.888 45.0824 104.007 44.7707 104.857 44.1471C105.707 43.5235 106.132 42.655 106.132 41.5414C106.132 40.5615 105.729 39.7821 104.924 39.203C104.119 38.6686 102.195 38.0004 99.1528 37.1987C94.6343 36.0406 91.4356 34.4594 89.5566 32.4551C87.9013 30.6735 87.0737 28.4687 87.0737 25.8408C87.0737 23.7474 87.7 21.9212 88.9527 20.3623C90.2053 18.7588 91.8606 17.5116 93.9185 16.6208C95.9764 15.73 98.2133 15.2846 100.629 15.2846C103.403 15.2846 106.02 15.7746 108.481 16.7545C110.941 17.7343 112.999 19.0706 114.654 20.7631L109.688 26.1748C108.436 25.0168 106.982 24.0591 105.327 23.302C103.716 22.5002 102.217 22.0994 100.83 22.0994C97.6094 22.0994 95.9988 23.2129 95.9988 25.4399C96.0435 26.5089 96.5357 27.3552 97.4751 27.9787C98.3699 28.6023 100.405 29.3372 103.582 30.1835C107.832 31.297 110.829 32.7669 112.574 34.5931C114.095 36.152 114.856 38.2231 114.856 40.8065C114.856 42.9445 114.229 44.8597 112.977 46.5523C111.769 48.2448 110.113 49.5811 108.011 50.561C105.908 51.4963 103.537 51.964 100.898 51.964Z" fill="black"/>
<path d="M119.377 63V16.0195H127.234L128.369 20.2954C129.533 18.8701 131.121 17.6898 133.134 16.7545C135.147 15.8191 137.272 15.3514 139.509 15.3514C142.596 15.3514 145.347 16.1309 147.763 17.6898C150.179 19.2487 152.08 21.409 153.467 24.1705C154.854 26.932 155.547 30.0722 155.547 33.5909C155.547 37.1096 154.854 40.2498 153.467 43.0113C152.08 45.7728 150.179 47.9553 147.763 49.5588C145.347 51.1177 142.596 51.8972 139.509 51.8972C137.406 51.8972 135.371 51.474 133.402 50.6278C131.434 49.737 129.846 48.6234 128.638 47.2872V59.0113L119.377 63ZM137.496 44.0135C140.225 44.0135 142.439 43.0558 144.139 41.1406C145.839 39.1808 146.689 36.6642 146.689 33.5909C146.689 30.5621 145.839 28.0901 144.139 26.1748C142.439 24.215 140.225 23.2351 137.496 23.2351C134.767 23.2351 132.552 24.1928 130.852 26.108C129.152 28.0233 128.302 30.5176 128.302 33.5909C128.302 36.6642 129.152 39.1808 130.852 41.1406C132.552 43.0558 134.767 44.0135 137.496 44.0135Z" fill="black"/>
<path d="M178.26 51.964C174.457 51.964 171.125 51.1845 168.261 49.6256C165.398 48.0667 163.161 45.9287 161.551 43.2117C159.985 40.4947 159.202 37.3769 159.202 33.8581C159.202 30.2058 159.963 26.9988 161.484 24.2373C163.049 21.4312 165.174 19.2265 167.859 17.623C170.588 16.0195 173.719 15.2178 177.254 15.2178C180.43 15.2178 183.271 15.9973 185.776 17.5562C188.326 19.0706 190.295 21.1417 191.681 23.7696C193.113 26.3975 193.784 29.4041 193.695 32.7892L193.627 35.662H168.127C168.619 38.2009 169.827 40.2052 171.751 41.6751C173.719 43.1449 176.202 43.8798 179.2 43.8798C180.81 43.8798 182.264 43.6349 183.562 43.1449C184.904 42.655 186.335 41.7864 187.856 40.5393L192.285 46.6859C190.362 48.3785 188.147 49.6924 185.642 50.6278C183.181 51.5186 180.721 51.964 178.26 51.964ZM177.321 23.1015C172.265 23.1015 169.223 25.3731 168.194 29.9163H184.971V29.649C184.837 27.7338 184.031 26.1748 182.555 24.9722C181.123 23.7251 179.379 23.1015 177.321 23.1015Z" fill="black"/>
<path d="M214.829 51.964C211.473 51.964 208.454 51.1623 205.769 49.5588C203.13 47.9553 201.027 45.7728 199.461 43.0113C197.94 40.2498 197.18 37.1096 197.18 33.5909C197.18 30.1167 197.94 26.9988 199.461 24.2373C201.027 21.4758 203.13 19.2933 205.769 17.6898C208.454 16.0863 211.473 15.2846 214.829 15.2846C218.005 15.2846 220.891 15.8636 223.485 17.0217C226.125 18.1798 228.183 19.8055 229.659 21.8989L224.626 27.9119C223.687 26.6203 222.389 25.529 220.734 24.6382C219.079 23.7028 217.401 23.2351 215.701 23.2351C213.822 23.2351 212.145 23.7028 210.668 24.6382C209.237 25.529 208.096 26.7539 207.246 28.3128C206.441 29.8717 206.038 31.6311 206.038 33.5909C206.038 35.5507 206.463 37.3101 207.313 38.869C208.163 40.4279 209.326 41.6751 210.802 42.6104C212.279 43.5012 213.934 43.9466 215.768 43.9466C217.513 43.9466 219.124 43.568 220.6 42.8108C222.076 42.0091 223.418 40.8956 224.626 39.4703L229.659 45.4833C228.138 47.4431 226.035 49.0243 223.351 50.2269C220.667 51.385 217.826 51.964 214.829 51.964Z" fill="black"/>
<path d="M241.975 51.2959C237.557 51.2959 233.975 47.7142 233.975 43.2959V24.2373V16.0195V10.9887L243.102 7V16.0195H250V24.2373H243.102V41C243.102 42.1046 243.997 43 245.102 43H250V51.2959H241.975Z" fill="black"/>
<path d="M255.355 51.2959V16.0195H263.212L264.347 21.8321C265.511 19.9169 267.032 18.3579 268.911 17.1553C270.834 15.9082 272.848 15.2846 274.95 15.2846C275.755 15.2846 276.494 15.3514 277.165 15.485C277.88 15.5741 278.484 15.7077 278.977 15.8859L276.494 25.9076C276.001 25.6403 275.375 25.4176 274.615 25.2395C273.854 25.0613 273.094 24.9722 272.333 24.9722C270.141 24.9722 268.284 25.7294 266.763 27.2438C265.287 28.7137 264.549 30.5844 264.549 32.856V51.2959H255.355Z" fill="black"/>
<path d="M295.398 51.964C292.446 51.964 289.784 51.1623 287.413 49.5588C285.042 47.9553 283.14 45.7728 281.709 43.0113C280.322 40.2498 279.628 37.1096 279.628 33.5909C279.628 29.9831 280.322 26.8207 281.709 24.1037C283.14 21.3422 285.064 19.1819 287.48 17.623C289.94 16.0641 292.714 15.2846 295.801 15.2846C298.306 15.2846 300.498 15.7968 302.377 16.8213C304.256 17.8012 305.755 19.0928 306.874 20.6963V16.0195H316V51.2959H307.808L306.806 46.5523C305.554 48.1112 303.921 49.4029 301.908 50.4273C299.939 51.4518 297.77 51.964 295.398 51.964ZM297.881 44.0135C300.61 44.0135 302.825 43.0558 304.525 41.1406C306.225 39.2253 307.075 36.7088 307.075 33.5909C307.075 30.473 306.225 27.9565 304.525 26.0412C302.825 24.126 300.61 23.1683 297.881 23.1683C295.197 23.1683 293.005 24.126 291.305 26.0412C289.65 27.9565 288.822 30.473 288.822 33.5909C288.822 36.7088 289.65 39.2253 291.305 41.1406C293.005 43.0558 295.197 44.0135 297.881 44.0135Z" fill="black"/>
</svg>

After

Width:  |  Height:  |  Size: 6.5 KiB

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 26.0.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 82 82" style="enable-background:new 0 0 82 82;" xml:space="preserve">
<g>
<path class="st0" d="M41,1C18.9,1,1,18.9,1,41s17.9,40,40,40c22.1,0,40-17.9,40-40S63.1,1,41,1z M56.1,47.1c0,0.1,0,0.2,0,0.3
c0,0.1,0,0.2,0,0.3l0,0.2c-0.2,1.2-0.6,2.3-1.3,3.3c-0.1,0.2-0.2,0.4-0.4,0.5c0,0,0,0.1-0.5,0.6c-0.4,0.5-0.5,0.6-0.6,0.7
c0,0-0.1,0.1-0.1,0.1c0,0-0.1,0.1-0.1,0.1l-0.1,0c-0.1,0.1-0.2,0.1-0.2,0.2c-0.1,0.1-0.2,0.1-0.3,0.2l-0.1,0
c-0.1,0.1-0.2,0.1-0.3,0.2L33.6,66.1c-0.2,0.1-0.3,0.2-0.5,0.2c-0.1,0-0.1,0-0.2,0c-0.2-0.1-0.5-0.2-0.6-0.4c0,0-0.4-0.8-0.5-0.8
c0-0.1-0.1-0.1-0.1-0.2l0-0.1c0,0,0-0.1,0-0.1l0-0.1c0,0,0-0.1-0.1-0.1l0-0.1c0,0,0-0.1-0.1-0.1l0,0c-0.7-1.9-0.8-4-0.2-5.9
c0.6-2,1.9-3.7,3.6-4.8l8.6-5.7c0.3-0.2,0.4-0.6,0.4-0.8c-0.1-0.3-0.2-0.6-0.6-0.6L33,44.3c-0.1,0-0.2,0-0.3-0.1l-0.1,0
c-0.1,0-0.2,0-0.3-0.1l0,0c-0.1,0-0.2-0.1-0.3-0.1L32,44c-0.1,0-0.1,0-0.2-0.1l-0.1,0c-0.1,0-0.2-0.1-0.3-0.1l-0.1,0
c-0.1,0-0.1,0-0.2-0.1l-0.1,0c-0.1,0-0.2-0.1-0.3-0.1l0,0c-0.1,0-0.2-0.1-0.3-0.1c-0.1,0-0.2-0.1-0.3-0.1l0,0
c-0.1-0.1-0.2-0.1-0.3-0.2c-0.8-0.5-1.5-1.1-2.1-1.9l-0.2-0.3l-0.3-0.4c-1.3-2-1.8-4.4-1.3-6.7c0.2-0.7,0.4-1.5,0.8-2.3
c0.1-0.2,0.2-0.4,0.3-0.5c0.1-0.1,0.1-0.2,0.1-0.2c0.1-0.2,0.2-0.4,0.4-0.5c0-0.1,0.1-0.1,0.1-0.2l0,0c0.1-0.1,0.1-0.2,0.2-0.2
c0.1-0.1,0.1-0.1,0.2-0.2l0.1-0.1c0,0,0.1-0.1,0.1-0.1l0,0c0.1-0.1,0.1-0.1,0.2-0.2l0,0c0.1-0.1,0.1-0.1,0.2-0.2l0.1-0.1
c0.1-0.1,0.1-0.1,0.2-0.2l0,0c0.1-0.1,0.1-0.1,0.2-0.2l0.1-0.1c0,0,0.1-0.1,0.1-0.1l0.1-0.1c0.1-0.1,0.2-0.1,0.2-0.2L48.4,16
c0.2-0.2,0.5-0.2,0.8-0.2c0.3,0.1,0.5,0.2,0.7,0.5c0,0,0.1,0.2,0.2,0.3l0,0.1c0,0.1,0.1,0.2,0.1,0.2l0,0c0,0.1,0.1,0.1,0.1,0.2
l0,0.1c0,0,0,0.1,0,0.1c0,0,0,0.1,0.1,0.1l0,0c0,0.1,0.1,0.2,0.1,0.3c0,0,0,0.1,0.1,0.2c0,0,0,0.1,0,0.1l0,0.1
c0.7,1.8,0.7,3.9,0.1,5.8c-0.6,1.9-1.9,3.5-3.5,4.7l-8.6,5.7c-0.3,0.2-0.4,0.6-0.4,0.8c0.1,0.3,0.2,0.6,0.6,0.6l10.1,2
c4.2,0.8,7.1,4.5,7.1,8.7C56.1,46.5,56.1,47.1,56.1,47.1z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@@ -0,0 +1,9 @@
<svg width="60" height="60" viewBox="0 0 84 85" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M41.7849 0C33.5206 0 25.4419 2.49258 18.5705 7.16254C11.699 11.8325 6.34331 18.4701 3.18071 26.236C0.0181112 34.0018 -0.809377 42.5471 0.802901 50.7913C2.41518 59.0355 6.3948 66.6083 12.2385 72.552C18.0822 78.4958 25.5276 82.5435 33.633 84.1834C41.7385 85.8232 50.1401 84.9816 57.7753 81.7649C65.4105 78.5482 71.9363 73.1008 76.5277 66.1117C81.1191 59.1226 83.5697 50.9057 83.5697 42.5C83.565 31.2298 79.1612 20.4225 71.326 12.4533C63.4908 4.48402 52.8655 0.0048112 41.7849 0ZM57.5278 49.0175C57.5278 49.1264 57.5278 49.2354 57.5278 49.3443V49.6529V49.8526C57.3161 51.0856 56.8673 52.2639 56.207 53.3201L55.8143 53.8829L55.2431 54.5546C55.0482 54.8082 54.8268 55.0396 54.5827 55.2445V55.3353L54.4578 55.4261L54.2079 55.6258C54.1249 55.7007 54.0353 55.7675 53.9402 55.8255L53.6724 56.0071L34.3061 69.0602C34.1479 69.1683 33.9612 69.2253 33.7706 69.2236H33.5743C33.447 69.1967 33.3262 69.1443 33.2189 69.0695C33.1117 68.9947 33.0201 68.899 32.9495 68.7879C32.9495 68.7879 32.5033 67.9891 32.4676 67.9347V67.7531V67.6623V67.5534V67.4263V67.2811C31.7014 65.262 31.6378 63.0371 32.2872 60.9761C32.9366 58.9152 34.2601 57.1424 36.0375 55.9526L45.0691 49.8708C45.2101 49.7754 45.3201 49.6398 45.3853 49.4809C45.4505 49.322 45.4679 49.147 45.4355 48.9781C45.403 48.8091 45.3221 48.6537 45.2029 48.5315C45.0837 48.4093 44.9316 48.3257 44.7657 48.2913L34.1633 46.1128H33.8599H33.7706H33.485H33.1816H33.0567H32.896H32.8068L32.5212 46.0038H32.4319H32.2534L31.9679 45.8586L31.6823 45.7134L31.4145 45.55L31.1468 45.3866C30.3041 44.8521 29.5509 44.1841 28.9156 43.4077L28.6836 43.0809L28.4159 42.6634C27.73 41.6278 27.255 40.4629 27.0189 39.2375C26.7828 38.012 26.7905 36.751 27.0415 35.5286C27.228 34.6884 27.5221 33.8766 27.9161 33.1141C28.0232 32.9144 28.1124 32.7328 28.2195 32.5694L28.3802 32.3153C28.4948 32.1207 28.6199 31.9329 28.755 31.7525L28.9156 31.5528L29.112 31.3167L29.3083 31.0989L29.4333 30.9718L29.6475 30.754L29.8259 30.5906L30.0223 30.4272L30.2365 30.2456H30.3257L30.4685 30.1185H30.5578L30.7898 29.9551L50.049 16.9746C50.1725 16.8912 50.3113 16.8338 50.457 16.806C50.6027 16.7782 50.7524 16.7804 50.8973 16.8126C51.0421 16.8448 51.1791 16.9062 51.3002 16.9933C51.4212 17.0804 51.5238 17.1913 51.6019 17.3195L51.7626 17.5918L51.8875 17.846C51.8875 17.9368 51.9768 18.0094 52.0125 18.082C52.0125 18.082 52.0125 18.082 52.0125 18.191C52.0239 18.2325 52.0239 18.2765 52.0125 18.318L52.1195 18.5904C52.1292 18.6383 52.1292 18.6877 52.1195 18.7356C52.1195 18.7356 52.1195 18.7356 52.1195 18.8445C52.8288 20.8305 52.8625 23.0011 52.2153 25.0089C51.5681 27.0166 50.2774 28.7455 48.5497 29.9188L39.6251 35.9462C39.4842 36.0415 39.3742 36.1772 39.309 36.3361C39.2438 36.495 39.2263 36.6699 39.2588 36.8389C39.2912 37.0078 39.3722 37.1632 39.4914 37.2854C39.6106 37.4077 39.7627 37.4912 39.9286 37.5256L50.4417 39.686C52.5458 40.1281 54.4361 41.2935 55.7948 42.9862C57.1536 44.679 57.8979 46.796 57.9027 48.9812C57.5635 48.4003 57.5278 48.9812 57.5278 48.9812V49.0175Z" fill="url(#paint0_linear_619_170)"/>
<defs>
<linearGradient id="paint0_linear_619_170" x1="1.17098e-05" y1="1.49716e-06" x2="84.02" y2="71.3596" gradientUnits="userSpaceOnUse">
<stop stop-color="#6104FF"/>
<stop offset="1" stop-color="#6104FF"/>
</linearGradient>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

@@ -0,0 +1,211 @@
<?php
/**
* Uag Admin Helper.
*
* @package Uag
*/
namespace UagAdmin\Inc;
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
use \ZipAI\Classes\Module as Zip_Ai_Module;
/**
* Class Admin_Helper.
*/
class Admin_Helper {
/**
* Common.
*
* @var object instance
*/
public static $common = null;
/**
* Options.
*
* @var object instance
*/
public static $options = null;
/**
* Get Common settings.
*
* @return array.
*/
public static function get_common_settings() {
$uag_versions = self::get_rollback_versions_options();
$theme_data = \WP_Theme_JSON_Resolver::get_theme_data();
$theme_settings = $theme_data->get_settings();
$theme_font_families = isset( $theme_settings['typography']['fontFamilies']['theme'] ) && is_array( $theme_settings['typography']['fontFamilies']['theme'] ) ? $theme_settings['typography']['fontFamilies']['theme'] : array();
// Prepare to get the Zip AI Co-pilot modules.
$zip_ai_modules = array();
// If the Zip AI Helper is available, get the required modules and their states.
if ( class_exists( '\ZipAI\Classes\Module' ) ) {
$zip_ai_modules = Zip_Ai_Module::get_all_modules();
}
$inherit_from_theme = false !== get_option( 'uag_btn_inherit_from_theme_fallback' ) ? 'disabled' : \UAGB_Admin_Helper::get_admin_settings_option( 'uag_btn_inherit_from_theme', 'disabled' );
$options = array(
'rollback_to_previous_version' => isset( $uag_versions[0]['value'] ) ? $uag_versions[0]['value'] : '',
'enable_beta_updates' => \UAGB_Admin_Helper::get_admin_settings_option( 'uagb_beta', 'no' ),
'enable_file_generation' => \UAGB_Admin_Helper::get_admin_settings_option( '_uagb_allow_file_generation', 'enabled' ),
'blocks_activation_and_deactivation' => self::get_blocks(),
'enable_templates_button' => \UAGB_Admin_Helper::get_admin_settings_option( 'uag_enable_templates_button', 'yes' ),
'enable_on_page_css_button' => \UAGB_Admin_Helper::get_admin_settings_option( 'uag_enable_on_page_css_button', 'yes' ),
'enable_block_condition' => \UAGB_Admin_Helper::get_admin_settings_option( 'uag_enable_block_condition', 'disabled' ),
'enable_masonry_gallery' => \UAGB_Admin_Helper::get_admin_settings_option( 'uag_enable_masonry_gallery', 'enabled' ),
'enable_quick_action_sidebar' => \UAGB_Admin_Helper::get_admin_settings_option( 'uag_enable_quick_action_sidebar', 'enabled' ),
'enable_block_responsive' => \UAGB_Admin_Helper::get_admin_settings_option( 'uag_enable_block_responsive', 'enabled' ),
'enable_dynamic_content' => \UAGB_Admin_Helper::get_admin_settings_option( 'uag_enable_dynamic_content', 'enabled' ),
'enable_animations_extension' => \UAGB_Admin_Helper::get_admin_settings_option( 'uag_enable_animations_extension', 'enabled' ),
'enable_gbs_extension' => \UAGB_Admin_Helper::get_admin_settings_option( 'uag_enable_gbs_extension', 'enabled' ),
'select_font_globally' => \UAGB_Admin_Helper::get_admin_settings_option( 'uag_select_font_globally', array() ),
'load_select_font_globally' => \UAGB_Admin_Helper::get_admin_settings_option( 'uag_load_select_font_globally', 'disabled' ),
'load_fse_font_globally' => \UAGB_Admin_Helper::get_admin_settings_option( 'uag_load_fse_font_globally', 'disabled' ),
'load_gfonts_locally' => \UAGB_Admin_Helper::get_admin_settings_option( 'uag_load_gfonts_locally', 'disabled' ),
'collapse_panels' => \UAGB_Admin_Helper::get_admin_settings_option( 'uag_collapse_panels', 'enabled' ),
'copy_paste' => \UAGB_Admin_Helper::get_admin_settings_option( 'uag_copy_paste', 'enabled' ),
'preload_local_fonts' => \UAGB_Admin_Helper::get_admin_settings_option( 'uag_preload_local_fonts', 'disabled' ),
'btn_inherit_from_theme' => \UAGB_Admin_Helper::get_admin_settings_option( 'uag_btn_inherit_from_theme', 'disabled' ),
'btn_inherit_from_theme_fallback' => $inherit_from_theme,
'social' => \UAGB_Admin_Helper::get_admin_settings_option(
'uag_social',
array(
'socialRegister' => false,
'googleClientId' => '',
'facebookAppId' => '',
'facebookAppSecret' => '',
)
),
'dynamic_content_mode' => \UAGB_Admin_Helper::get_admin_settings_option( 'uag_dynamic_content_mode', 'popup' ),
'preload_local_fonts' => \UAGB_Admin_Helper::get_admin_settings_option( 'uag_preload_local_fonts', 'disabled' ),
'visibility_mode' => \UAGB_Admin_Helper::get_admin_settings_option( 'uag_visibility_mode', 'disabled' ),
'visibility_page' => self::get_visibility_page(),
'uag_previous_versions' => $uag_versions,
'uagb_old_user_less_than_2' => get_option( 'uagb-old-user-less-than-2' ),
'recaptcha_site_key_v2' => \UAGB_Admin_Helper::get_admin_settings_option( 'uag_recaptcha_site_key_v2', '' ),
'recaptcha_secret_key_v2' => \UAGB_Admin_Helper::get_admin_settings_option( 'uag_recaptcha_secret_key_v2', '' ),
'recaptcha_site_key_v3' => \UAGB_Admin_Helper::get_admin_settings_option( 'uag_recaptcha_site_key_v3', '' ),
'recaptcha_secret_key_v3' => \UAGB_Admin_Helper::get_admin_settings_option( 'uag_recaptcha_secret_key_v3', '' ),
'insta_linked_accounts' => \UAGB_Admin_Helper::get_admin_settings_option( 'uag_insta_linked_accounts', array() ),
'spectra_global_fse_fonts' => \UAGB_Admin_Helper::get_admin_settings_option( 'spectra_global_fse_fonts', array() ),
'theme_fonts' => $theme_font_families,
'zip_ai_modules' => $zip_ai_modules,
'enable_bsf_analytics_option' => \UAGB_Admin_Helper::get_admin_settings_option( 'spectra_analytics_optin', 'no' ),
);
return $options;
}
/**
* Get Visibility Page
*
* @since 2.8.0
* @return boolean|array
*/
public static function get_visibility_page() {
$page_id = \UAGB_Admin_Helper::get_admin_settings_option( 'uag_visibility_page', '' );
if ( $page_id ) {
return array(
'value' => $page_id,
'label' => \get_the_title( $page_id ),
);
}
return false;
}
/**
* Get blocks.
*/
public static function get_blocks() {
// Get all blocks.
$list_blocks = \UAGB_Helper::$block_list;
$default_blocks = array();
// Set all extension to enabled.
foreach ( $list_blocks as $slug => $value ) {
$_slug = str_replace( 'uagb/', '', $slug );
$default_blocks[ $_slug ] = $_slug;
}
// Escape attrs.
$default_blocks = array_map( 'esc_attr', $default_blocks );
$saved_blocks = \UAGB_Admin_Helper::get_admin_settings_option( '_uagb_blocks', array() );
return wp_parse_args( $saved_blocks, $default_blocks );
}
/**
* Get options.
*/
public static function get_options() {
$general_settings = self::get_common_settings();
$shareable_common_settings = \UAGB_Admin_Helper::get_admin_settings_shareable_data();
$options = array_merge( $general_settings, $shareable_common_settings );
$options = apply_filters( 'uag_global_data_options', $options );
return $options;
}
/**
* Get Rollback versions.
*
* @since 1.23.0
* @return array
* @access public
*/
public static function get_rollback_versions_options() {
$rollback_versions = \UAGB_Admin_Helper::get_instance()->get_rollback_versions();
$rollback_versions_options = array();
foreach ( $rollback_versions as $version ) {
$version = array(
'label' => $version,
'value' => $version,
);
$rollback_versions_options[] = $version;
}
return $rollback_versions_options;
}
/**
* Sort Rollback versions.
*
* @param string $prev Previous Version.
* @param string $next Next Version.
*
* @since 1.23.0
* @return array
* @access public
*/
public static function sort_rollback_versions( $prev, $next ) {
if ( version_compare( $prev, $next, '==' ) ) {
return 0;
}
if ( version_compare( $prev, $next, '>' ) ) {
return -1;
}
return 1;
}
}

View File

@@ -0,0 +1,784 @@
<?php
/**
* Uag Admin Menu.
*
* @package Uag
*/
namespace UagAdmin\Inc;
use UagAdmin\Inc\Admin_Helper;
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
use \ZipAI\Classes\Helper as Zip_Ai_Helper;
use \ZipAI\Classes\Module as Zip_Ai_Module;
/**
* Class Admin_Menu.
*/
class Admin_Menu {
/**
* Instance
*
* @access private
* @var object Class object.
* @since 1.0.0
*/
private static $instance;
/**
* Initiator
*
* @since 1.0.0
* @return object initialized object of class.
*/
public static function get_instance() {
if ( ! isset( self::$instance ) ) {
self::$instance = new self();
}
return self::$instance;
}
/**
* Instance
*
* @access private
* @var string Class object.
* @since 1.0.0
*/
private $menu_slug = 'spectra';
/**
* Constructor
*
* @since 1.0.0
*/
public function __construct() {
$this->initialize_hooks();
}
/**
* Init Hooks.
*
* @since 1.0.0
* @return void
*/
public function initialize_hooks() {
/* Setup the Admin Menu */
add_action( 'admin_menu', array( $this, 'setup_menu' ) );
add_action( 'admin_init', array( $this, 'settings_admin_scripts' ) );
add_filter(
'admin_footer_text',
function () {
return ''; // Return an empty string to remove the text.
}
);
/* Add the Action Links */
add_filter( 'plugin_action_links_' . UAGB_BASE, array( $this, 'add_action_links' ) );
/* Render admin content view */
add_action( 'uag_render_admin_page_content', array( $this, 'render_content' ), 10, 2 );
add_action( 'wp_ajax_uagb_recommended_plugin_activate', array( $this, 'uagb_activate_addon' ) );
add_action( 'wp_ajax_uagb_recommended_plugin_install', 'wp_ajax_install_plugin' );
add_action( 'wp_ajax_uagb_recommended_theme_install', 'wp_ajax_install_theme' );
}
/**
* List of plugins that we propose to install.
*
* @since 2.19.0
*
* @return array
*/
public static function get_bsf_plugins() {
$plugins = array(
'astra' => array(
'type' => 'theme',
'name' => esc_html__( 'Astra', 'ultimate-addons-for-gutenberg' ),
'desc' => esc_html__( 'Fast and customizable theme for your website.', 'ultimate-addons-for-gutenberg' ),
'wporg' => 'https://wordpress.org/themes/astra/',
'url' => 'https://downloads.wordpress.org/theme/astra.zip',
'siteurl' => 'https://wpastra.com/',
'slug' => 'astra',
'isFree' => true,
'status' => self::get_theme_status( 'astra' ),
'settings_url' => admin_url( 'admin.php?page=astra' ),
),
'astra-sites/astra-sites.php' => array(
'type' => 'plugin',
'name' => esc_html__( 'Starter Templates', 'ultimate-addons-for-gutenberg' ),
'desc' => esc_html__( 'Launch websites with AI or ready-made templates.', 'ultimate-addons-for-gutenberg' ),
'wporg' => 'https://wordpress.org/plugins/astra-sites/',
'url' => 'https://downloads.wordpress.org/plugin/astra-sites.zip',
'siteurl' => 'https://startertemplates.com/',
'slug' => 'astra-sites',
'isFree' => true,
'status' => self::get_plugin_status( 'astra-sites/astra-sites.php' ),
'settings_url' => admin_url( 'admin.php?page=starter-templates' ),
),
'surecart/surecart.php' => array(
'type' => 'plugin',
'name' => esc_html__( 'SureCart', 'ultimate-addons-for-gutenberg' ),
'desc' => esc_html__( 'Sell your products easily on WordPress.', 'ultimate-addons-for-gutenberg' ),
'wporg' => 'https://wordpress.org/plugins/surecart/',
'url' => 'https://downloads.wordpress.org/plugin/surecart.zip',
'siteurl' => 'https://surecart.com/',
'isFree' => true,
'slug' => 'surecart',
'status' => self::get_plugin_status( 'surecart/surecart.php' ),
'settings_url' => admin_url( 'admin.php?page=sc-getting-started' ),
),
'presto-player/presto-player.php' => array(
'type' => 'plugin',
'name' => esc_html__( 'Presto Player', 'ultimate-addons-for-gutenberg' ),
'desc' => html_entity_decode( esc_html__( 'Display seamless & interactive videos.', 'ultimate-addons-for-gutenberg' ) ),
'wporg' => 'https://wordpress.org/plugins/presto-player/',
'url' => 'https://downloads.wordpress.org/plugin/presto-player.zip',
'siteurl' => 'https://prestoplayer.com/',
'slug' => 'presto-player',
'isFree' => true,
'status' => self::get_plugin_status( 'presto-player/presto-player.php' ),
'settings_url' => admin_url( 'edit.php?post_type=pp_video_block' ),
),
);
return $plugins;
}
/**
* Activate addon.
*
* @since 2.19.0
* @return void
*/
public function uagb_activate_addon() {
// Run a security check.
check_ajax_referer( 'updates', 'nonce' );
if ( isset( $_POST['plugin'] ) ) {
$type = '';
if ( ! empty( $_POST['type'] ) ) {
$type = sanitize_key( wp_unslash( $_POST['type'] ) );
}
$plugin = sanitize_text_field( wp_unslash( $_POST['plugin'] ) );
if ( 'plugin' === $type ) {
// Check for permissions.
if ( ! current_user_can( 'activate_plugins' ) ) {
wp_send_json_error( esc_html__( 'Plugin activation is disabled for you on this site.', 'ultimate-addons-for-gutenberg' ) );
}
if ( isset( $_POST['slug'] ) ) {
$slug = sanitize_key( wp_unslash( $_POST['slug'] ) );
if ( class_exists( '\BSF_UTM_Analytics\Inc\Utils' ) && is_callable( '\BSF_UTM_Analytics\Inc\Utils::update_referer' ) ) {
// If the plugin is found and the update_referer function is callable, update the referer with the corresponding product slug.
\BSF_UTM_Analytics\Inc\Utils::update_referer( 'ultimate-addons-for-gutenberg', $slug );
}
}
$activate = activate_plugins( $plugin );
if ( ! is_wp_error( $activate ) ) {
do_action( 'uagb_plugin_activated', $plugin );
wp_send_json_success( esc_html__( 'Plugin Activated.', 'ultimate-addons-for-gutenberg' ) );
}
}
if ( 'theme' === $type ) {
if ( isset( $_POST['slug'] ) ) {
$slug = sanitize_key( wp_unslash( $_POST['slug'] ) );
// Check for permissions.
if ( ! ( current_user_can( 'switch_themes' ) ) ) {
wp_send_json_error( esc_html__( 'Theme activation is disabled for you on this site.', 'ultimate-addons-for-gutenberg' ) );
}
if ( class_exists( '\BSF_UTM_Analytics\Inc\Utils' ) && is_callable( '\BSF_UTM_Analytics\Inc\Utils::update_referer' ) ) {
// If the theme is found and the update_referer function is callable, update the referer with the corresponding product slug.
\BSF_UTM_Analytics\Inc\Utils::update_referer( 'ultimate-addons-for-gutenberg', $slug );
}
$activate = switch_theme( $slug );
if ( ! is_wp_error( $activate ) ) {
do_action( 'uagb_theme_activated', $plugin );
wp_send_json_success( esc_html__( 'Theme Activated.', 'ultimate-addons-for-gutenberg' ) );
}
}
}
}
if ( isset( $type ) ) {
if ( 'plugin' === $type ) {
wp_send_json_error( esc_html__( 'Could not activate plugin. Please activate from the Plugins page.', 'ultimate-addons-for-gutenberg' ) );
} elseif ( 'theme' === $type ) {
wp_send_json_error( esc_html__( 'Could not activate theme. Please activate from the Themes page.', 'ultimate-addons-for-gutenberg' ) );
}
}
}
/**
* Get the status of a plugin.
*
* @since 2.19.0
*
* @param string $plugin_init_file Plugin init file.
* @return string
*/
public static function get_plugin_status( $plugin_init_file ) {
$installed_plugins = get_plugins();
if ( ! isset( $installed_plugins[ $plugin_init_file ] ) ) {
return 'Install';
} elseif ( is_plugin_active( $plugin_init_file ) ) {
return 'Activated';
} else {
return 'Installed';
}
}
/**
* Get the status of a theme.
*
* @param string $theme_slug The slug of the theme.
* @return string The theme status: 'Activated', 'Installed', or 'Install'.
*
* @since 2.19.0
*/
public static function get_theme_status( $theme_slug ) {
$installed_themes = wp_get_themes();
// Check if the theme is installed.
if ( isset( $installed_themes[ $theme_slug ] ) ) {
$current_theme = wp_get_theme();
// Check if the current theme slug matches the provided theme slug.
if ( $current_theme->get_stylesheet() === $theme_slug ) {
return 'Activated'; // Theme is active.
} else {
return 'Installed'; // Theme is installed but not active.
}
} else {
return 'Install'; // Theme is not installed at all.
}
}
/**
* Show action on plugin page.
*
* @param array $links links.
* @return array
*/
public function add_action_links( $links ) {
$default_url = admin_url( 'admin.php?page=' . $this->menu_slug );
$rollback = admin_url( 'admin.php?page=spectra&path=settings&settings=version-control' );
$spectra_pro = \UAGB_Admin_Helper::get_spectra_pro_url( '/pricing/', 'free-plugin', 'plugin-list', 'plugin-list' );
$free_links = array(
'<a href="' . $default_url . '">' . __( 'Settings', 'ultimate-addons-for-gutenberg' ) . '</a>',
'<a href="' . $rollback . '">' . __( 'Rollback', 'ultimate-addons-for-gutenberg' ) . '</a>',
);
// Check if Spectra Pro plugin is not active.
if ( ! is_plugin_active( 'spectra-pro/spectra-pro.php' ) && ! file_exists( UAGB_DIR . '../spectra-pro/spectra-pro.php' ) ) {
$free_links[] = '<a href="' . $spectra_pro . '" target="_blank" rel="noreferrer" class="spectra-plugins-go-pro">' . __( 'Get Spectra Pro', 'ultimate-addons-for-gutenberg' ) . '</a>';
}
// Merge with $links array if it exists (assuming $links is defined elsewhere).
if ( isset( $links ) && is_array( $links ) ) {
return array_merge( $free_links, $links );
}
return $free_links;
}
/**
* Initialize after Spectra gets loaded.
*/
public function settings_admin_scripts() {
// Enqueue admin scripts.
if ( ! empty( $_GET['page'] ) && ( $this->menu_slug === $_GET['page'] || false !== strpos( sanitize_text_field( $_GET['page'] ), $this->menu_slug . '_' ) ) || ( array_key_exists( 'post_type', $_GET ) && 'spectra-popup' === $_GET['post_type'] ) ) { //phpcs:ignore WordPress.Security.NonceVerification.Recommended -- $_GET['page'] does not provide nonce.
add_action( 'admin_enqueue_scripts', array( $this, 'styles_scripts' ) );
}
}
/**
* Add submenu to admin menu.
*
* @since 1.0.0
*/
public function setup_menu() {
if ( ! current_user_can( 'manage_options' ) ) {
return;
}
$menu_slug = $this->menu_slug;
$capability = 'manage_options';
$icon = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDcwIDcwIiBmaWxsPSJub25lIiBjbGFzcz0ic3BlY3RyYS1wYWdlLXNldHRpbmdzLWJ1dHRvbiIgYXJpYS1oaWRkZW49InRydWUiIGZvY3VzYWJsZT0iZmFsc2UiPiA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTM1IDcwQzU0LjMzIDcwIDcwIDU0LjMzIDcwIDM1QzcwIDE1LjY3IDU0LjMzIDAgMzUgMEMxNS42NyAwIDAgMTUuNjcgMCAzNUMwIDU0LjMzIDE1LjY3IDcwIDM1IDcwWk0yNC40NDcxIDIzLjUxMTJDMTguOTcyMiAyNi43NDAzIDIwLjI4NTIgMzUuMzc1OSAyNi41MDMyIDM3LjAzNTFMMzYuODg3NSAzOS44MDZDMzcuNzUzMyA0MC4wMzcgMzcuOTEgNDEuMjI0IDM3LjEzNSA0MS42ODExTDI3LjA5NzIgNDcuNTc5OUwyNi4wMzYgNThMNDUuNTUyOSA0Ni40ODg4QzUxLjAyNzggNDMuMjU5NyA0OS43MTQ4IDM0LjYyNDEgNDMuNDk2OCAzMi45NjQ5TDMzLjExMjUgMzAuMTk0MUMzMi4yNDY3IDI5Ljk2MyAzMi4wOSAyOC43NzYgMzIuODY1IDI4LjMxODlMNDIuOTAyOCAyMi40MjAyTDQzLjk2NCAxMkwyNC40NDcxIDIzLjUxMTJaIj48L3BhdGg+IDwvc3ZnPg==';
// Add the Spectra Menu.
add_menu_page(
__( 'Spectra', 'ultimate-addons-for-gutenberg' ),
__( 'Spectra', 'ultimate-addons-for-gutenberg' ),
$capability,
$menu_slug,
array( $this, 'render' ),
$icon,
30
);
// Add the Dashboard Submenu.
add_submenu_page(
$menu_slug,
__( 'Spectra', 'ultimate-addons-for-gutenberg' ),
__( 'Dashboard', 'ultimate-addons-for-gutenberg' ),
$capability,
$menu_slug,
array( $this, 'render' )
);
// Add the Blocks / Extensions Submenu.
add_submenu_page(
$menu_slug,
__( 'Spectra', 'ultimate-addons-for-gutenberg' ),
__( 'Blocks', 'ultimate-addons-for-gutenberg' ),
$capability,
$menu_slug . '&path=blocks',
array( $this, 'render' )
);
// Use this action hook to add sub menu to above menu.
do_action( 'spectra_after_menu_register' );
// Add the AI Features Submenu if Zip AI Library is loaded.
if ( defined( 'ZIP_AI_VERSION' ) ) {
add_submenu_page(
$menu_slug,
__( 'Spectra', 'ultimate-addons-for-gutenberg' ),
__( 'AI Features', 'ultimate-addons-for-gutenberg' ),
$capability,
$menu_slug . '&path=ai-features',
array( $this, 'render' )
);
}
// Finally, add the Settings Submenu.
add_submenu_page(
$menu_slug,
__( 'Spectra', 'ultimate-addons-for-gutenberg' ),
__( 'Settings', 'ultimate-addons-for-gutenberg' ),
$capability,
$menu_slug . '&path=settings',
array( $this, 'render' )
);
// Add the Free vs Pro Submenu.
if ( ! file_exists( UAGB_DIR . '../spectra-pro/spectra-pro.php' ) ) {
add_submenu_page(
$menu_slug,
__( 'Free vs Pro', 'ultimate-addons-for-gutenberg' ),
__( 'Get Spectra Pro', 'ultimate-addons-for-gutenberg' ),
$capability,
$menu_slug . '&path=free-vs-pro',
array( $this, 'render' )
);
}
}
/**
* Renders the admin settings.
*
* @since 1.0.0
* @return void
*/
public function render() {
$menu_page_slug = ( ! empty( $_GET['page'] ) ) ? sanitize_text_field( wp_unslash( $_GET['page'] ) ) : $this->menu_slug; //phpcs:ignore WordPress.Security.NonceVerification.Recommended -- $_GET['page'] does not provide nonce.
$page_action = '';
if ( isset( $_GET['action'] ) ) { //phpcs:ignore WordPress.Security.NonceVerification.Recommended -- $_GET['page'] does not provide nonce.
$page_action = sanitize_text_field( wp_unslash( $_GET['action'] ) ); //phpcs:ignore WordPress.Security.NonceVerification.Recommended -- $_GET['page'] does not provide nonce.
$page_action = str_replace( '_', '-', $page_action );
}
include_once UAG_ADMIN_DIR . 'views/admin-base.php';
}
/**
* Render the Free vs Pro page.
*
* @since 2.19.0
* @return void
*/
public function render_free_vs_pro() {
echo '<div style="background-color: green; color: white; padding: 20px;">';
echo '<h1>' . esc_html__( 'Free vs Pro Features', 'ultimate-addons-for-gutenberg' ) . '</h1>';
echo '<p>' . esc_html__( 'Here you can compare the features of Free and Pro versions.', 'ultimate-addons-for-gutenberg' ) . '</p>';
// Add more content as needed.
echo '</div>';
}
/**
* Renders the admin settings content.
*
* @since 1.0.0
* @param sting $menu_page_slug current page name.
* @param sting $page_action current page action.
*
* @return void
*/
public function render_content( $menu_page_slug, $page_action ) {
if ( $this->menu_slug === $menu_page_slug ) {
include_once UAG_ADMIN_DIR . 'views/dashboard-app.php';
}
}
/**
* Enqueues the needed CSS/JS for the builder's admin settings page.
*
* @since 1.0.0
*/
public function styles_scripts() {
$admin_slug = 'uag-admin';
$blocks_info = $this->get_blocks_info_for_activation_deactivation();
wp_enqueue_style( $admin_slug . '-font', 'https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap', array(), UAGB_VER );
// Styles.
wp_enqueue_style( $admin_slug . '-menu-style', UAGB_URL . 'admin/assets/spectra-submenu.css', array(), UAGB_VER );
wp_enqueue_style( 'wp-components' );
$theme = wp_get_theme();
$theme_data = \WP_Theme_JSON_Resolver::get_theme_data();
$theme_settings = $theme_data->get_settings();
$theme_font_families = isset( $theme_settings['typography']['fontFamilies']['theme'] ) && is_array( $theme_settings['typography']['fontFamilies']['theme'] ) ? $theme_settings['typography']['fontFamilies']['theme'] : array();
if ( ! defined( 'UAGB_URI' ) ) {
define( 'UAGB_URI', trailingslashit( 'https://wpspectra.com/' ) );
}
$localize = apply_filters(
'uag_react_admin_localize',
array(
'current_user' => ! empty( wp_get_current_user()->user_firstname ) ? wp_get_current_user()->user_firstname : wp_get_current_user()->display_name,
'admin_base_url' => admin_url(),
'uag_base_url' => admin_url( 'admin.php?page=' . $this->menu_slug ),
'plugin_dir' => UAGB_URL,
'plugin_ver' => UAGB_VER,
'admin_url' => admin_url( 'admin.php' ),
'ajax_url' => admin_url( 'admin-ajax.php' ),
'wp_pages_url' => admin_url( 'post-new.php?post_type=page' ),
'home_slug' => $this->menu_slug,
'rollback_url' => esc_url( add_query_arg( 'version', 'VERSION', wp_nonce_url( admin_url( 'admin-post.php?action=uag_rollback' ), 'uag_rollback' ) ) ),
'blocks_info' => $blocks_info,
'reusable_url' => esc_url( admin_url( 'edit.php?post_type=wp_block' ) ),
'global_data' => Admin_Helper::get_options(),
'uag_content_width_set_by' => \UAGB_Admin_Helper::get_admin_settings_option( 'uag_content_width_set_by', __( 'Spectra', 'ultimate-addons-for-gutenberg' ) ),
'spectra_pro_installed' => file_exists( UAGB_DIR . '../spectra-pro/spectra-pro.php' ),
'spectra_pro_licensing' => file_exists( UAGB_DIR . '../spectra-pro/admin/license-handler.php' ),
'spectra_pro_status' => is_plugin_active( 'spectra-pro/spectra-pro.php' ),
'spectra_pro_ver' => defined( 'SPECTRA_PRO_VER' ) ? SPECTRA_PRO_VER : null,
'spectra_custom_fonts' => apply_filters( 'spectra_system_fonts', array() ),
'spectra_admin_video' => apply_filters( 'spectra_display_admin_video', true ),
'is_allow_registration' => (bool) get_option( 'users_can_register' ),
'theme_fonts' => $theme_font_families,
'is_block_theme' => \UAGB_Admin_Helper::is_block_theme(),
'uagb_site_url' => UAGB_URI,
'spectra_website' => array(
'baseUrl' => UAGB_URI,
'docsUrl' => \UAGB_Admin_Helper::get_spectra_pro_url( '/docs/', 'free-plugin', 'spectra-dashboard', 'documentation' ),
'docsCategoryDynamicUrl' => \UAGB_Admin_Helper::get_spectra_pro_url( '/docs-category/{{category}}', 'free-plugin', 'spectra-dashboard', 'documentation' ),
'vipPrioritySupportUrl' => \UAGB_Admin_Helper::get_spectra_pro_url( '/vip-priority-support/', 'free-plugin', 'spectra-dashboard', 'vip-priority-support' ),
'templatesUrl' => \UAGB_Admin_Helper::get_spectra_pro_url( '/pricing/', 'free-plugin', 'spectra-dashboard', 'starter-templates' ),
'banner' => \UAGB_Admin_Helper::get_spectra_pro_url( '/pricing/', 'free-plugin', 'spectra-dashboard', 'banner' ),
'topBar' => \UAGB_Admin_Helper::get_spectra_pro_url( '/pricing/', 'free-plugin', 'spectra-dashboard', 'top-bar' ),
'freeVsPro' => \UAGB_Admin_Helper::get_spectra_pro_url( '/pricing/', 'free-plugin', 'spectra-dashboard', 'free-vs-pro' ),
'setting' => \UAGB_Admin_Helper::get_spectra_pro_url( '/pricing/', 'free-plugin', 'spectra-dashboard', 'setting' ),
'uagDashboard' => \UAGB_Admin_Helper::get_spectra_pro_url( '/pricing/', 'free-plugin', 'spectra-dashboard', 'uag-dashboard' ),
'whatsNewFeedUrl' => esc_url( UAGB_URI . '/whats-new/feed/' ),
'upsellModalAdmin' => \UAGB_Admin_Helper::get_spectra_pro_url( '/pricing/', 'free-plugin', 'spectra-dashboard', 'upsell-popup-view-plan' ),
),
'plugin_installing_text' => esc_html__( 'Installing', 'ultimate-addons-for-gutenberg' ),
'plugin_installed_text' => esc_html__( 'Installed', 'ultimate-addons-for-gutenberg' ),
'plugin_activating_text' => esc_html__( 'Activating', 'ultimate-addons-for-gutenberg' ),
'plugin_activated_text' => esc_html__( 'Activated', 'ultimate-addons-for-gutenberg' ),
'plugin_activate_text' => esc_html__( 'Activate', 'ultimate-addons-for-gutenberg' ),
'plugin_manager_nonce' => wp_create_nonce( 'spectra_plugin_manager_nonce' ),
'installer_nonce' => wp_create_nonce( 'updates' ),
'enable_beta_updates_nonce' => wp_create_nonce( 'uag_enable_beta_updates' ),
'check_beta_update_available_nonce' => wp_create_nonce( 'uag_check_beta_update_available' ),
'force_check_plugin_updates_nonce' => wp_create_nonce( 'uag_force_check_plugin_updates' ),
'update_beta_plugin_nonce' => wp_create_nonce( 'uag_update_beta_plugin' ),
'pro_installed_status' => 'inactive' === self::get_plugin_status( 'spectra-pro/spectra-pro.php' ) ? true : false,
'pro_plugin_status' => self::get_plugin_status( 'spectra-pro/spectra-pro.php' ),
'contry_code' => \UAGB_Admin_Helper::get_user_country_code(),
)
);
// If the Zip AI Assets is available, add the Zip AI localizations.
if ( is_array( $localize )
&& class_exists( '\ZipAI\Classes\Helper' )
&& class_exists( '\ZipAI\Classes\Module' )
&& defined( 'ZIP_AI_CREDIT_TOPUP_URL' )
&& is_string( ZIP_AI_CREDIT_TOPUP_URL )
) {
$localize = array_merge(
$localize,
array(
'zip_ai_auth_middleware' => Zip_Ai_Helper::get_auth_middleware_url(
array(
'plugin' => 'spectra',
'source' => 'spectra',
)
),
'zip_ai_auth_revoke_url' => Zip_Ai_Helper::get_auth_revoke_url(),
'zip_ai_credit_topup_url' => esc_url( add_query_arg( 'source', 'spectra', ZIP_AI_CREDIT_TOPUP_URL ) ),
'zip_ai_is_authorized' => Zip_Ai_Helper::is_authorized(),
'zip_ai_is_chat_enabled' => Zip_Ai_Module::is_enabled( 'ai_assistant' ),
'zip_ai_admin_nonce' => wp_create_nonce( 'zip_ai_admin_nonce' ),
'zip_ai_credit_details' => Zip_Ai_Helper::get_credit_details(),
'zip_ai_status' => Zip_AI_Helper::get_setting( 'status' ),
)
);
// In Zip AI version 1.1.2, the ZIPWP API constant was added - if this is available, get the current plan details.
if ( defined( 'ZIP_AI_ZIPWP_API' ) ) {
$response_zipwp_plan = Zip_Ai_Helper::get_current_plan_details();
// If the response is not an error, then proceed to localize the required details.
if ( is_array( $response_zipwp_plan ) && 'error' !== $response_zipwp_plan['status'] ) {
// Create the base array to be localized.
$current_zipwp_plan = array();
// Add the team name if it exists.
if ( ! empty( $response_zipwp_plan['team']['name'] ) ) {
$current_zipwp_plan['team_name'] = $response_zipwp_plan['team']['name'];
}
// If the final array is not empty, localize it.
if ( ! empty( $current_zipwp_plan ) ) {
$localize['zip_ai_current_plan'] = $current_zipwp_plan;
}
}
}
}
$this->settings_app_scripts( $localize );
}
/**
* Create an Array of Blocks info which we need to show in Admin dashboard.
*/
public function get_blocks_info_for_activation_deactivation() {
$blocks = \UAGB_Admin_Helper::get_block_options();
array_multisort(
array_map(
function( $element ) {
if ( isset( $element['priority'] ) ) {
return $element['priority'];
}
},
$blocks
),
SORT_ASC,
$blocks
);
$cf7_status = $this->get_plugin_status( 'contact-form-7/wp-contact-form-7.php' );
$gf_status = $this->get_plugin_status( 'gravityforms/gravityforms.php' );
if ( is_array( $blocks ) && ! empty( $blocks ) ) {
$blocks_names = array();
foreach ( $blocks as $addon => $info ) {
$addon = str_replace( 'uagb/', '', $addon );
$exclude_blocks = array(
'column',
'icon-list-child',
'social-share-child',
'buttons-child',
'faq-child',
'forms-name',
'forms-email',
'forms-hidden',
'forms-phone',
'forms-textarea',
'forms-url',
'forms-select',
'forms-radio',
'forms-checkbox',
'forms-upload',
'forms-toggle',
'forms-date',
'forms-accept',
'post-title',
'post-image',
'post-button',
'post-excerpt',
'post-taxonomy',
'post-meta',
'restaurant-menu-child',
'content-timeline-child',
'tabs-child',
'how-to-step',
'slider-child',
'slider-pro',
'image-gallery-pro',
'loop-wrapper',
'loop-search',
'loop-sort',
'loop-reset',
'loop-pagination',
'loop-category',
'modal-pro',
'countdown-pro',
);
if ( ( 'cf7-styler' === $addon && 'active' !== $cf7_status ) || ( 'gf-styler' === $addon && 'active' !== $gf_status ) ) {
$exclude_blocks[] = $addon;
}
$enable_legacy_blocks = \UAGB_Admin_Helper::get_admin_settings_option( 'uag_enable_legacy_blocks' );
if ( 'yes' !== $enable_legacy_blocks ) {
$exclude_blocks[] = 'wp-search';
$exclude_blocks[] = 'columns';
$exclude_blocks[] = 'section';
$exclude_blocks[] = 'cf7-styler';
$exclude_blocks[] = 'gf-styler';
$exclude_blocks[] = 'post-masonry';
}
if ( array_key_exists( 'extension', $info ) && $info['extension'] ) {
continue;
}
if ( in_array( $addon, $exclude_blocks, true ) ) {
continue;
}
$info['slug'] = $addon;
$blocks_names[] = $info;
}
return $blocks_names;
}
return array();
}
/**
* Settings app scripts
*
* @param array $localize Variable names.
*/
public function settings_app_scripts( $localize ) {
// Check if we're on the popup builder page.
$current_screen = get_current_screen();
if ( isset( $current_screen ) && 'spectra-popup' === $current_screen->post_type ) {
return; // Don't load dashboard scripts on popup builder page.
}
$handle = 'uag-admin-settings';
$build_path = UAG_ADMIN_DIR . 'assets/build/';
$build_url = UAG_ADMIN_URL . 'assets/build/';
$script_asset_path = $build_path . 'dashboard-app.asset.php';
$script_info = file_exists( $script_asset_path )
? include $script_asset_path
: array(
'dependencies' => array(),
'version' => UAGB_VER,
);
$script_dep = array_merge( $script_info['dependencies'], array( 'updates' ) );
wp_register_script(
$handle,
$build_url . 'dashboard-app.js',
$script_dep,
$script_info['version'],
true
);
wp_register_style(
$handle,
$build_url . 'dashboard-app.css',
array(),
UAGB_VER
);
wp_register_style(
'uag-admin-google-fonts',
'https://fonts.googleapis.com/css2?family=Inter:wght@200&display=swap',
array(),
UAGB_VER
);
wp_enqueue_script( $handle );
wp_set_script_translations( $handle, 'ultimate-addons-for-gutenberg' );
wp_enqueue_style( 'uag-admin-google-fonts' );
if ( isset( $_GET['page'] ) && 'spectra' === $_GET['page'] ) { //phpcs:ignore WordPress.Security.NonceVerification.Recommended -- $_GET['page'] does not provide nonce.
wp_enqueue_style( $handle );
}
wp_style_add_data( $handle, 'rtl', 'replace' );
wp_localize_script( $handle, 'uag_admin_react', $localize );
wp_localize_script( $handle, 'uag_react', $localize );
$current_user = wp_get_current_user();
$user_data = array(
'isLoggedIn' => is_user_logged_in(),
'username' => $current_user->user_login,
'firstName' => $current_user->first_name,
'lastName' => $current_user->last_name,
'email' => $current_user->user_email,
'displayName' => $current_user->display_name,
);
wp_localize_script( $handle, 'uagb_user_data', $user_data );
$plugins_data = self::get_bsf_plugins();
$json_plugins_data = wp_json_encode( $plugins_data );
wp_localize_script( $handle, 'uagb_plugins_data', $plugins_data );
}
}
Admin_Menu::get_instance();

View File

@@ -0,0 +1,6 @@
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: { grid:true },
},
}

View File

@@ -0,0 +1,247 @@
const withTW = require( '@bsf/force-ui/withTW' );
module.exports = withTW( {
content: [
'./src/**/*.{js, jsx}',
'./assets/src/dashboard-app/**/*.{html,js}',
'./assets/src/common/components/**/*.{html,js}',
'./assets/src/**/*.{js, jsx}',
'./assets/src/editor/**/*.{js, jsx}',
],
theme: {
extend: {
colors: {
// brand
'brand-background-50': '#EFF6FF',
'brand-background-hover-100': '#DBEAFE',
'brand-200': '#BFDBFE',
'brand-border-300': '#93C5FD',
'brand-400': '#60A5FA',
'brand-500': '#3B82F6',
'brand-primary-600': '#6005FF',
'brand-hover-700': '#1D4ED8',
'brand-800': '#1E40AF',
'brand-900': '#1E3A8A',
'brand-text-950': '#172554',
// background
'background-primary': '#FFFFFF',
'background-secondary': '#F9FAFB',
'background-inverse': '#111827',
'background-brand': '#6005FF',
'background-brand-light': '#F3F0FF',
'background-important': '#DC2626',
// field
'field-primary-background': '#F9FAFB',
'field-secondary-background': '#FFFFFF',
'field-primary-hover': '#F3F4F6',
'field-secondary-hover': '#F3F4F6',
'field-dropzone-background': '#FFFFFF',
'field-border': '#E5E7EB',
'field-dropzone-background-hover': '#F9FAFB',
'field-dropzone-color': '#6005FF',
'field-label': '#111827',
'field-input': '#111827',
'field-helper': '#9CA3AF',
'field-background-disabled': '#F9FAFB',
'field-color-disabled': '#D1D5DB',
'field-placeholder': '#6B7280',
'field-border-disabled': '#F3F4F6',
'field-color-error': '#DC2626',
'field-border-error': '#FECACA',
'field-background-error': '#FEF2F2',
'field-required': '#DC2626',
// border
'border-interactive': '#6005FF',
'border-subtle': '#E5E7EB',
'border-strong': '#6B7280',
'border-inverse': '#374151',
'border-disabled': '#E5E7EB',
'border-muted': '#E5E7EB',
'border-error': '#DC2626',
'border-transparent-subtle': '#37415114',
'border-white': '#FFFFFF',
// text
'text-primary': '#111827',
'text-secondary': '#4B5563',
'text-tertiary': '#9CA3AF',
'text-on-color': '#FFFFFF',
'text-error': '#DC2626',
'text-error-inverse': '#F87171',
'text-inverse': '#FFFFFF',
'text-disabled': '#D1D5DB',
'text-on-button-disabled': '#9CA3AF',
// link
'link-primary': '#6005FF',
'link-primary-hover': '#1D4ED8',
'link-inverse': '#38BDF8',
'link-visited': '#7C3AED',
'link-visited-inverse': '#A78BFA',
'link-inverse-hover': '#7DD3FC',
// icon
'icon-primary': '#111827',
'icon-secondary': '#4B5563',
'icon-on-color': '#FFFFFF',
'icon-inverse': '#FFFFFF',
'icon-interactive': '#6005FF',
'icon-on-color-disabled': '#9CA3AF',
'icon-disabled': '#D1D5DB',
// support
'support-error': '#DC2626',
'support-success': '#16A34A',
'support-warning': '#EAB308',
'support-info': '#0284C7',
'support-error-inverse': '#F87171',
'support-success-inverse': '#4ADE80',
'support-warning-inverse': '#FDE047',
'support-info-inverse': '#38BDF8',
// button
'button-primary': '#6005FF',
'button-primary-hover': '#5104D6',
'button-secondary': '#1F2937',
'button-secondary-hover': '#374151',
'button-tertiary': '#FFFFFF',
'button-tertiary-hover': '#F9FAFB',
'button-danger': '#DC2626',
'button-danger-secondary': '#DC2626',
'button-danger-hover': '#B91C1C',
'button-disabled': '#F3F4F6',
'button-tertiary-border': '#E5E7EB',
'button-tertiary-color': '#111827',
// focus
'focus': '#6005FF',
'focus-inset': '#FFFFFF',
'focus-inverse': '#38BDF8',
'focus-inverse-inset': '#111827',
'focus-error': '#DC2626',
'focus-border': '#BFDBFE',
'focus-error-border': '#FECACA',
// misc
'misc-highlight': '#BFDBFE',
'misc-overlay': '#11182780',
'misc-skeleton-background': '#F3F4F6',
'misc-skeleton-element': '#D1D5DB',
'misc-popup-button-hover': '#1118270D',
'misc-tab-item-hover': '#E5E7EB',
'misc-dropdown-hover': '#F3F4F6',
'misc-loader-base': '#1118270D',
'misc-loader-color': '#6005FF',
'misc-progress-background': '#E5E7EB',
// badge
'badge-background-gray': '#F9FAFB',
'badge-color-gray': '#1F2937',
'badge-hover-gray': '#F3F4F6',
'badge-border-gray': '#E5E7EB',
'badge-background-red': '#FEF2F2',
'badge-color-red': '#B91C1C',
'badge-hover-red': '#FEE2E2',
'badge-border-red': '#FECACA',
'badge-background-yellow': '#FEFCE8',
'badge-color-yellow': '#A16207',
'badge-hover-yellow': '#FEF9C3',
'badge-border-yellow': '#FEF08A',
'badge-hover-green': '#DCFCE7',
'badge-border-green': '#BBF7D0',
'badge-background-green': '#F0FDF4',
'badge-color-green': '#15803D',
'badge-background-sky': '#F0F9FF',
'badge-color-sky': '#0369A1',
'badge-hover-sky': '#E0F2FE',
'badge-border-sky': '#BAE6FD',
'badge-background-disabled': '#F3F4F6',
'badge-color-disabled': '#D1D5DB',
'badge-hover-disabled': '#F3F4F6',
'badge-border-disabled': '#E5E7EB',
'badge-background-important': '#DC2626',
// alert
'alert-background-neutral': '#FFFFFF',
'alert-border-neutral': '#E5E7EB',
'alert-background-danger': '#FEF2F2',
'alert-border-danger': '#FECACA',
'alert-background-warning': '#FEFCE8',
'alert-border-warning': '#FEF08A',
'alert-background-green': '#F0FDF4',
'alert-border-green': '#BBF7D0',
'alert-background-info': '#F0F9FF',
'alert-border-info': '#BAE6FD',
// tab
'tab-background': '#F3F4F6',
'tab-border': '#E5E7EB',
// tooltip
'tooltip-background-light': '#FFFFFF',
'tooltip-background-dark': '#111827',
// toggle
'toggle-off': '#E5E7EB',
'toggle-on': '#6005FF',
'toggle-dial-background': '#FFFFFF',
'toggle-off-hover': '#D1D5DB',
'toggle-off-border': '#D1D5DB',
'toggle-on-hover': '#3B82F6',
'toggle-on-border': '#60A5FA',
'toggle-off-disabled': '#F3F4F6',
'spectra': {
DEFAULT: '#6104ff',
hover: '#5300e0',
light: '#ece1fe',
verylight: '#f5f0ff'
},
},
width: {
'1/7': '14.2857143%',
'1/8': '12.5%',
'1/9': '11.1111111%',
'1/10': '10%',
'1/11': '9.0909091%',
'1/12': '8.3333333%',
},
fontFamily: {
inter: ['"Inter"', 'sans-serif'],
},
fontSize: {
xxs: '0.6875rem', // 11px
},
lineHeight: {
2.6: '0.6875rem', // 11px
},
boxShadow: {
'soft-shadow-sm':
'0px 6px 32px -12px rgba(149, 160, 178, 0.12)',
'soft-shadow': '0px 8px 32px -12px rgba(149, 160, 178, 0.16)',
'soft-shadow-md':
'0px 10px 32px -12px rgba(149, 160, 178, 0.2)',
'soft-shadow-lg':
'0px 12px 32px -12px rgba(149, 160, 178, 0.24)',
'soft-shadow-xl':
'0px 16px 32px -12px rgba(149, 160, 178, 0.32)',
'soft-shadow-2xl':
'0px 24px 64px -12px rgba(149, 160, 178, 0.32)',
'soft-shadow-inner': '0px 1px 1px 0px rgba(0, 0, 0, 0.05)',
'content-wrapper': '0px 1px 1px 0px #0000000F, 0px 1px 2px 0px #0000001A',
'overlay-left': '-16px 0px 80px -24px rgba(0, 0, 0, 0.16)',
'overlay-right': '16px 0px 80px -24px rgba(0, 0, 0, 0.16)',
'hover': '0px 12px 24px -12px rgba(0, 0, 0, 0.12)',
},
spacing: {
120: '30rem', // 480px
95: '23.75rem', // 380px
141.5: '35.375rem', // 566px
188: '47rem', // 752px
},
zIndex: {
999999: '999999',
},
screens: {
custom: { min: '1024px', max: '1400px' },
},
},
},
variants: {
extend: {},
},
plugins: [
require( '@tailwindcss/forms' ),
],
corePlugins: {
preflight: false,
},
important: ':is(.uag-dashboard-app,.toplevel_page_spectra,#spectra-pro-banner,.components-modal__frame)',
} );

View File

@@ -0,0 +1,22 @@
<?php
/**
* Admin Base HTML.
*
* @package uag
*/
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
?>
<div class="uag-menu-page-wrapper">
<div id="uag-menu-page">
<div class="uag-menu-page-content uag-clear">
<?php
do_action( 'uag_render_admin_page_content', $menu_page_slug, $page_action );
?>
</div>
</div>
</div>

View File

@@ -0,0 +1,16 @@
<?php
/**
* Single page settings page
*
* @package uag
*/
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
?>
<div id="uag-dashboard-app" class="uag-dashboard-app">
</div>

View File

@@ -0,0 +1,41 @@
#uagb-spectra-pro-popup-note .astra-notice-container {
align-items: flex-start;
}
#uagb-spectra-pro-popup-note.notice {
display: block;
border: 1px solid #6105ff;
border-top-color: #fff;
border-bottom-color: #fff;
border-right-color: #fff;
border-left-width: 4px;
box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.32);
}
#uagb-spectra-pro-popup-note a.uagb-review-notice.button-primary {
background: #6105ff;
border-color: #6105ff;
}
#uagb-spectra-pro-popup-note a.uagb-review-notice.button-primary:hover {
background: #5300e0;
}
.post-type-spectra-popup .notice-dismiss {
color: #fff;
}
a.spectra-plugins-go-pro {
color: #6104ff;
text-shadow: 1px 1px 1px #eee;
font-weight: bold;
}
a.spectra-plugins-go-pro:hover {
color: #5300e0;
}
.post-type-spectra-popup .astra-notice-wrapper:not( .spectra-upsell ),
.post-type-spectra-popup .notice:not( .spectra-upsell ) { /* Hide all other notices apart from upsell. */
display: none;
}

View File

@@ -0,0 +1,39 @@
.astra-notice .notice-container {
padding-top: 10px;
padding-bottom: 10px;
display: block;
justify-content: left;
align-items: center;
}
#uagb-admin-rating .notice-container {
display: flex;
}
.astra-notice .notice-content {
margin-left: 15px;
}
.astra-notice .notice-image img {
max-width: 70px;
}
.uagb-review-notice-container {
display: flex;
align-items: center;
padding-top: 10px;
}
.uagb-review-notice-container .dashicons {
font-size: 1.4em;
padding-left: 10px;
}
.uagb-review-notice-container a {
padding-left: 5px;
text-decoration: none;
}
.uagb-review-notice-container .dashicons:first-child {
padding-left: 0;
}

View File

@@ -0,0 +1,17 @@
const uagb_deactivated_blocks = uagb_deactivate_blocks.deactivated_blocks;
// If we are recieving an object, let's convert it into an array.
if ( uagb_deactivated_blocks.length ) {
if ( typeof wp.blocks.unregisterBlockType !== 'undefined' ) {
for ( const block_index in uagb_deactivated_blocks ) {
const blockName = uagb_deactivated_blocks[block_index];
if ( 'uagb/masonry-gallery' === blockName ) {
continue;
}
// Check if the block is registered before attempting to unregister it
if ( wp.blocks.getBlockType( blockName ) ) {
wp.blocks.unregisterBlockType( blockName );
}
}
}
}

View File

@@ -0,0 +1,36 @@
.uagb-plugin-update-notification {
margin-bottom: 10px;
max-width: 1000px;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
}
.uagb-plugin-update-notification__separator {
margin: 15px -12px;
}
.uagb-plugin-update-notification__icon {
font-size: 17px;
margin-right: 9px;
margin-left: 2px;
}
.uagb-plugin-update-notification__title {
font-weight: 600;
margin-bottom: 10px;
}
.uagb-plugin-update-notification + p {
display: none;
}
.notice-success .uagb-plugin-update-notification__separator {
border: 1px solid #46b450;
}
.notice-success .uagb-plugin-update-notification__icon {
color: #79ba49;
}
.notice-warning .uagb-plugin-update-notification__separator {
border: 1px solid #ffb900;
}
.notice-warning .uagb-plugin-update-notification__icon {
color: #f56e28;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@@ -0,0 +1,5 @@
<svg width="250" height="250" viewBox="0 0 250 250" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="250" height="250" fill="#EBECEF"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M61 78H187C188.105 78 189 78.8954 189 80V150.24C188.946 150.191 188.889 150.144 188.831 150.099L161.588 129.109C160.394 128.189 158.702 128.298 157.636 129.364L138.121 148.879C136.95 150.05 135.05 150.05 133.879 148.879L99.6079 114.608C98.4416 113.442 96.5525 113.436 95.3788 114.594L59 150.513V80C59 78.8954 59.8954 78 61 78ZM57 80C57 77.7909 58.7909 76 61 76H187C189.209 76 191 77.7909 191 80V168C191 170.209 189.209 172 187 172H61C58.7909 172 57 170.209 57 168V80Z" fill="#6F7B81"/>
<path d="M148 110C148 114.418 144.418 118 140 118C135.582 118 132 114.418 132 110C132 105.582 135.582 102 140 102C144.418 102 148 105.582 148 110Z" fill="#6F7B81"/>
</svg>

After

Width:  |  Height:  |  Size: 855 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -0,0 +1,70 @@
/* stylelint-disable selector-id-pattern */
/* Clear to evenly position the next list items after the separator */
#toplevel_page_spectra .wp-submenu li {
clear: both;
}
/* Add the separator after the first item in the Spectra Settings Submenu */
#toplevel_page_spectra .wp-submenu li.wp-first-item::after {
content: "";
border-bottom: 1px solid rgb(255 255 255 / 0.2);
display: block;
float: left;
margin: 8px 0;
width: 100%;
}
/* Add the separator after the second last item in the Spectra Settings Submenu */
#toplevel_page_spectra .wp-submenu li:nth-child(5)::after {
content: "";
border-bottom: 1px solid rgb(255 255 255 / 0.2);
display: block;
float: left;
margin: 8px 0;
width: 100%;
}
.wp-submenu li:has( > a[href*="path=free-vs-pro"]) {
background-color: #00a32a !important;
}
.wp-submenu li a[href*="path=free-vs-pro"] {
color: #fff !important;
font-weight: 500;
}
.wp-submenu li:has( > a[href*="path=free-vs-pro"]):hover {
background-color: #008000 !important;
}
/* Add negative margins to the top separator if this is not the current submenu */
#toplevel_page_spectra.wp-not-current-submenu .wp-submenu li.wp-first-item::after {
margin: 8px -3px;
}
/* Add negative margins to the bottom separator if this is not the current submenu */
#toplevel_page_spectra.wp-not-current-submenu .wp-submenu li:nth-last-child(2)::after {
margin: 8px -3px;
}
/* Upgrade now button in sub-menu */
#toplevel_page_spectra .wp-submenu a[href="admin.php?page=spectra&path=upgrade-now"] {
background-color: #6104ff;
color: #fff;
padding: 6px 12px 6px 12px;
border-radius: 4px;
text-align: center;
display: block;
margin: 8px 12px 8px 12px;
text-decoration: none;
font-size: 12px;
font-weight: 500;
line-height: 18px;
}
#toplevel_page_spectra .wp-submenu a[href="admin.php?page=spectra&path=upgrade-now"]:focus,
#toplevel_page_spectra .wp-submenu a[href="admin.php?page=spectra&path=upgrade-now"]:hover {
box-shadow: unset;
background-color: #5300e0;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
.wp-block-uagb-advanced-heading h1,.wp-block-uagb-advanced-heading h2,.wp-block-uagb-advanced-heading h3,.wp-block-uagb-advanced-heading h4,.wp-block-uagb-advanced-heading h5,.wp-block-uagb-advanced-heading h6,.wp-block-uagb-advanced-heading p,.wp-block-uagb-advanced-heading div{word-break:break-word}.wp-block-uagb-advanced-heading .uagb-heading-text{margin:0}.wp-block-uagb-advanced-heading .uagb-desc-text{margin:0}.wp-block-uagb-advanced-heading .uagb-separator{font-size:0;border-top-style:solid;display:inline-block;margin:0 0 10px 0}.wp-block-uagb-advanced-heading .uagb-highlight{color:#f78a0c;border:0;transition:all 0.3s ease}.uag-highlight-toolbar{border-left:0;border-top:0;border-bottom:0;border-radius:0;border-right-color:#1e1e1e}.uag-highlight-toolbar .components-button{border-radius:0;outline:none}.uag-highlight-toolbar .components-button.is-primary{color:#fff}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
.uagb-buttons__outer-wrap .uagb-buttons-repeater{display:flex;justify-content:center;align-items:center;transition:box-shadow 0.2s ease}.uagb-buttons__outer-wrap .uagb-buttons-repeater a.uagb-button__link{display:flex;justify-content:center}.uagb-buttons__outer-wrap .uagb-buttons-repeater .uagb-button__icon{font-size:inherit;display:flex;align-items:center}.uagb-buttons__outer-wrap .uagb-buttons-repeater .uagb-button__icon svg{fill:currentColor;width:inherit;height:inherit}

View File

@@ -0,0 +1 @@
.uagb-buttons__outer-wrap .uagb-buttons__wrap{display:inline-flex;width:100%}.uagb-buttons__outer-wrap.uagb-btn__small-btn .uagb-buttons-repeater.wp-block-button__link:not(.is-style-outline),.uagb-buttons__outer-wrap.uagb-btn__small-btn .uagb-buttons-repeater.ast-outline-button{padding:5px 10px}.uagb-buttons__outer-wrap.uagb-btn__medium-btn .uagb-buttons-repeater.wp-block-button__link:not(.is-style-outline),.uagb-buttons__outer-wrap.uagb-btn__medium-btn .uagb-buttons-repeater.ast-outline-button{padding:12px 24px}.uagb-buttons__outer-wrap.uagb-btn__large-btn .uagb-buttons-repeater.wp-block-button__link:not(.is-style-outline),.uagb-buttons__outer-wrap.uagb-btn__large-btn .uagb-buttons-repeater.ast-outline-button{padding:20px 30px}.uagb-buttons__outer-wrap.uagb-btn__extralarge-btn .uagb-buttons-repeater.wp-block-button__link:not(.is-style-outline),.uagb-buttons__outer-wrap.uagb-btn__extralarge-btn .uagb-buttons-repeater.ast-outline-button{padding:30px 65px}@media (max-width: 976px){.uagb-buttons__outer-wrap.uagb-btn-tablet__small-btn .uagb-buttons-repeater.wp-block-button__link:not(.is-style-outline),.uagb-buttons__outer-wrap.uagb-btn-tablet__small-btn .uagb-buttons-repeater.ast-outline-button{padding:5px 10px}.uagb-buttons__outer-wrap.uagb-btn-tablet__medium-btn .uagb-buttons-repeater.wp-block-button__link:not(.is-style-outline),.uagb-buttons__outer-wrap.uagb-btn-tablet__medium-btn .uagb-buttons-repeater.ast-outline-button{padding:12px 24px}.uagb-buttons__outer-wrap.uagb-btn-tablet__large-btn .uagb-buttons-repeater.wp-block-button__link:not(.is-style-outline),.uagb-buttons__outer-wrap.uagb-btn-tablet__large-btn .uagb-buttons-repeater.ast-outline-button{padding:20px 30px}.uagb-buttons__outer-wrap.uagb-btn-tablet__extralarge-btn .uagb-buttons-repeater.wp-block-button__link:not(.is-style-outline),.uagb-buttons__outer-wrap.uagb-btn-tablet__extralarge-btn .uagb-buttons-repeater.ast-outline-button{padding:30px 65px}}@media (max-width: 767px){.uagb-buttons__outer-wrap.uagb-btn-mobile__small-btn .uagb-buttons-repeater.wp-block-button__link:not(.is-style-outline),.uagb-buttons__outer-wrap.uagb-btn-mobile__small-btn .uagb-buttons-repeater.ast-outline-button{padding:5px 10px}.uagb-buttons__outer-wrap.uagb-btn-mobile__medium-btn .uagb-buttons-repeater.wp-block-button__link:not(.is-style-outline),.uagb-buttons__outer-wrap.uagb-btn-mobile__medium-btn .uagb-buttons-repeater.ast-outline-button{padding:12px 24px}.uagb-buttons__outer-wrap.uagb-btn-mobile__large-btn .uagb-buttons-repeater.wp-block-button__link:not(.is-style-outline),.uagb-buttons__outer-wrap.uagb-btn-mobile__large-btn .uagb-buttons-repeater.ast-outline-button{padding:20px 30px}.uagb-buttons__outer-wrap.uagb-btn-mobile__extralarge-btn .uagb-buttons-repeater.wp-block-button__link:not(.is-style-outline),.uagb-buttons__outer-wrap.uagb-btn-mobile__extralarge-btn .uagb-buttons-repeater.ast-outline-button{padding:30px 65px}}

View File

@@ -0,0 +1 @@
.uagb-cta__outer-wrap .uagb-cta__content,.uagb-cta__outer-wrap a.uagb-cta__block-link span,.uagb-cta__outer-wrap .uagb-cta__content-right .uagb-cta__button-wrapper,.uagb-cta__outer-wrap .uagb-cta-typeof-button,.uagb-cta__outer-wrap .uagb-cta__content-right .uagb-cta__block-link,.uagb-cta__outer-wrap .uagb-cta-with-svg{display:inline-block}.uagb-cta__outer-wrap{display:flex;justify-content:space-between}.wp-block-uagb-call-to-action .uagb-cta__buttons{display:inline-flex}.wp-block-uagb-call-to-action .wp-block-button__link,.wp-block-uagb-call-to-action .ast-outline-button{fill:currentColor;justify-content:center}.uagb-cta__button-link-wrapper,.uagb-cta-second__button{display:inline-flex;align-items:center;word-break:keep-all;width:100%}.uagb-cta__title{padding:0;margin:0;display:block}.uagb-cta__content-right .uagb-cta__button-wrapper{float:right}.uagb-cta__link-wrapper.uagb-cta__block-link-style:empty{display:none}a.uagb-cta__block-link,.entry .entry-content a.uagb-cta__block-link,a.uagb-cta__block-link-wrap,.entry .entry-content a.uagb-cta__block-link-wrap{text-decoration:none}a.uagb-cta__block-link:hover,.entry .entry-content a.uagb-cta__block-link:hover,a.uagb-cta__block-link-wrap:hover,.entry .entry-content a.uagb-cta__block-link-wrap:hover .entry .entry-content a.uagb-cta__block-link:hover{color:inherit}.uagb-cta__content-right{text-align:right;justify-content:flex-end}.uagb-cta__left-right-wrap{width:100%;word-break:break-word}.uagb-cta__icon-position-below-title .uagb-cta__left-right-wrap{display:block;min-width:100%;width:100%}.uagb-cta__icon-position-left .uagb-cta__left-right-wrap,.uagb-cta__icon-position-right .uagb-cta__left-right-wrap{display:flex}.uagb-cta__icon-position-right .uagb-cta__left-right-wrap{justify-content:flex-end}.uagb-cta__block-link-icon-after{margin-left:5px;margin-right:0}.uagb-cta__block-link-icon-before{margin-left:0;margin-right:5px}.uagb-cta__block-link-icon,.uagb-cta__block svg{transition:all 200ms linear}.uagb-cta__block{position:relative}.uagb-cta-typeof-button{line-height:1;text-align:center}.uagb-cta__content-right .uagb-cta__button-link-wrapper,.uagb-cta__content-right .uagb-cta-second__button .uagb-cta__content-right .uagb-cta__block-link,.uagb-cta__content-right.uagb-cta__button-valign-middle .uagb-cta__left-right-wrap{display:flex;align-items:center}.uagb-cta__content-right .uagb-cta__button-link-wrapper,.uagb-cta__content-right .uagb-cta-second__button .uagb-cta__content-right .uagb-cta__block-link{justify-content:center}.uagb-cta__link-wrapper a{box-shadow:none;text-decoration:none}.uagb-cta__block,.uagb-cta__content,.uagb-cta__left-right-wrap{z-index:1}.uagb-cta__block-link{cursor:pointer}.uagb-cta__content-right .uagb-cta__block-link{float:right;padding:10px 14px}a.uagb-cta__block-link-wrap{color:inherit}.uagb-cta__content p:empty{display:none}.uagb-cta__button-type-none .uagb-cta__content{width:100%}.uagb-cta-with-svg{height:14px;width:14px;line-height:14px;vertical-align:middle}.uagb-cta__block svg{display:block;height:inherit;width:inherit}.uagb-cta__button-link-wrapper svg{width:20px;height:20px}.uagb-cta__align-button-after{margin-left:5px}.uagb-cta__align-button-before{margin-right:5px}.uagb-cta__block-link i{font-style:normal}a.uagb-cta__link-to-all{position:absolute;top:0;left:0;width:100%;height:100%;z-index:11}.wp-block-uagb-call-to-action{position:relative}.wp-block-uagb-call-to-action a.uagb-cta__link-to-all{position:absolute;top:0;left:0;width:100%;height:100%;z-index:11}@media only screen and (max-width: 976px){.uagb-cta__content-stacked-tablet,.uagb-cta__content-stacked-tablet .uagb-cta__left-right-wrap{flex-direction:column;text-align:center}.uagb-cta__content-stacked-tablet.uagb-cta__content-right .uagb-cta__button-wrapper{float:none;margin:0 auto}.uagb-cta__content-stacked-tablet .uagb-cta__left-right-wrap .uagb-cta__content{margin-left:0;margin-right:0}.uagb-cta__content-stacked-tablet.uagb-cta__content-right .uagb-cta__left-right-wrap .uagb-cta__content,.uagb-cta__content-stacked-tablet.uagb-cta__content-right .uagb-cta__left-right-wrap .uagb-cta__link-wrapper{width:100% !important}}@media screen and (max-width: 767px){.uagb-cta__content-stacked-mobile,.uagb-cta__content-stacked-mobile .uagb-cta__left-right-wrap{flex-direction:column;text-align:center}.uagb-cta__content-stacked-mobile.uagb-cta__content-right .uagb-cta__button-wrapper{float:none;margin:0 auto}.uagb-cta__content-stacked-mobile .uagb-cta__left-right-wrap .uagb-cta__content{margin-left:0;margin-right:0}.uagb-cta__content-stacked-mobile.uagb-cta__content-right .uagb-cta__left-right-wrap .uagb-cta__content,.uagb-cta__content-stacked-mobile.uagb-cta__content-right .uagb-cta__left-right-wrap .uagb-cta__link-wrapper{width:100% !important}}.uagb-cta__desc p:last-child{margin-bottom:0}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
.uagb-column__wrap,.uagb-column__inner-wrap{margin-left:auto;margin-right:auto;position:relative;width:100%;z-index:2}.uagb-column__wrap{position:relative;overflow:visible}.uagb-column__wrap>*{z-index:1;width:100%;position:relative}.uagb-column__wrap .aligncenter{display:block;text-align:center}.uagb-column__wrap .aligncenter figcaption{display:block;text-align:center}.uagb-column__wrap .alignright{display:block;text-align:right}.uagb-column__wrap .alignright figcaption{display:block;text-align:right}.uagb-column__wrap .wp-block-image{width:100%}.uagb-column__wrap.uagb-column__align-left{margin-left:0;margin-right:auto}.uagb-column__wrap.uagb-column__align-right{margin-left:auto;margin-right:0}.uagb-column__wrap .uagb-column__video-wrap,.uagb-column__wrap .uagb-column__overlay{height:100%;width:100%;top:0;left:0;position:absolute;border-radius:inherit}.uagb-column__wrap .uagb-column__video-wrap{overflow:hidden;z-index:0;-webkit-transition:opacity 1s;-o-transition:opacity 1s;transition:opacity 1s}.uagb-column__wrap .uagb-column__video-wrap video{max-width:100%;width:100%;height:100%;margin:0;line-height:1;border:none;display:inline-block;vertical-align:baseline;-o-object-fit:cover;object-fit:cover;background-size:cover}.wp-block-uagb-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="uagb/column"]{display:flex;flex-direction:column;flex:1;padding-left:0;padding-right:0;margin-left:-14px;margin-right:-14px;min-width:0;word-break:break-word;overflow-wrap:break-word;flex-basis:100%}@media (max-width: 976px){.uagb-column__align-tablet-left{margin-left:0;margin-right:auto}.uagb-column__align-tablet-right{margin-left:auto;margin-right:0}}@media (max-width: 767px){.uagb-column__align-mobile-left{margin-left:0;margin-right:auto}.uagb-column__align-mobile-right{margin-left:auto;margin-right:0}}@media (max-width: 449px){.uagb-columns__wrap.uagb-columns__background-image{background-attachment:scroll !important}}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
.wp-block-uagb-countdown{display:flex;justify-content:center;text-align:center}.wp-block-uagb-countdown .wp-block-uagb-countdown__box{transition:box-shadow 0.2s ease}.wp-block-uagb-countdown__box{position:relative;display:flex;flex-direction:column;width:155px;height:155px;aspect-ratio:1;justify-content:center}@media (max-width: 976px){.wp-block-uagb-countdown__box{width:100px;height:100px}}@media (max-width: 767px){.wp-block-uagb-countdown__box{width:65px;height:65px}}.wp-block-uagb-countdown__time{font-size:52px}@media (max-width: 976px){.wp-block-uagb-countdown__time{font-size:32px}}.wp-block-uagb-countdown__label{font-size:14px}@media (max-width: 976px){.wp-block-uagb-countdown__label{font-size:12px}}.wp-block-uagb-countdown .wp-block-uagb-countdown-innerblocks{text-align:initial}html:not([dir="rtl"]) .wp-block-uagb-countdown__box:not(:last-child){margin-right:38px}html:not([dir="rtl"]) .wp-block-uagb-countdown__box:not(:last-child) .wp-block-uagb-countdown__time::after{position:absolute;right:0}html:not([dir="rtl"]) .wp-block-uagb-countdown__box.wp-block-uagb-countdown__box-seconds .wp-block-uagb-countdown__time-seconds::after{display:none}html:not([dir="rtl"]) .wp-block-uagb-countdown>.wp-block-uagb-countdown__box.wp-block-uagb-countdown__box-seconds:not(:last-child){margin-right:unset}.wp-block-uagb-countdown-innerblocks{display:none}html[dir="rtl"] .wp-block-uagb-countdown__box:not(:first-child){margin-right:38px}html[dir="rtl"] .wp-block-uagb-countdown__box:not(:first-child) .wp-block-uagb-countdown__time::before{position:absolute;right:0}body[class*="astra"] .wp-block-uagb-countdown{line-height:normal}

View File

@@ -0,0 +1 @@
.wp-block-uagb-counter .wp-block-uagb-counter__icon,.wp-block-uagb-counter .wp-block-uagb-counter__image-wrap{display:inline-block;line-height:0}.wp-block-uagb-counter--number .wp-block-uagb-counter__number{font-size:52px;color:#3a3a3a}.wp-block-uagb-counter--number .wp-block-uagb-counter__icon{margin-bottom:10px}.wp-block-uagb-counter--bars{display:flex;flex-direction:column}.wp-block-uagb-counter--bars .wp-block-uagb-counter-bars-container{width:100%;background-color:#eaeaea}.wp-block-uagb-counter--bars .wp-block-uagb-counter-bars-container .wp-block-uagb-counter__number{width:0%;min-height:5px;text-align:right;line-height:1;white-space:nowrap;overflow:hidden;background:#007cba;display:flex;justify-content:flex-end;align-items:center}.rtl .wp-block-uagb-counter--bars .wp-block-uagb-counter-bars-container .wp-block-uagb-counter__number{flex-direction:row-reverse;justify-content:flex-start}.wp-block-uagb-counter--bars .wp-block-uagb-counter-bars-container .wp-block-uagb-counter__number>:last-child{margin-right:5px}.wp-block-uagb-counter--bars .wp-block-uagb-counter__title{margin-top:15px}.wp-block-uagb-counter--bars .wp-block-uagb-counter__number{color:#fff;padding-top:5px;padding-bottom:5px}.wp-block-uagb-counter--circle .wp-block-uagb-counter-circle-container{position:relative;display:inline-block;width:100%}.wp-block-uagb-counter--circle .wp-block-uagb-counter-circle-container .wp-block-uagb-counter__icon svg{width:30px}.wp-block-uagb-counter--circle .wp-block-uagb-counter-circle-container svg{pointer-events:none}.wp-block-uagb-counter--circle .wp-block-uagb-counter-circle-container>svg{transform:rotate(-90deg);width:100%;height:100%}.wp-block-uagb-counter--circle .wp-block-uagb-counter-circle-container>svg circle{stroke:#eaeaea;stroke-width:1em;fill:transparent}.wp-block-uagb-counter--circle .wp-block-uagb-counter-circle-container>svg .uagb-counter-circle__progress{stroke:#007cba}.wp-block-uagb-counter--circle .wp-block-uagb-counter-circle-container__content{position:absolute;left:0;right:0;top:0;bottom:0;display:flex;justify-content:center;align-items:center;flex-direction:column;z-index:1}.wp-block-uagb-counter--circle .wp-block-uagb-counter__number{margin-top:5px;font-size:52px;color:#3a3a3a}.wp-block-uagb-counter--circle .wp-block-uagb-counter__title{margin-top:5px}.wp-block-uagb-counter__icon svg{width:30px}.wp-block-uagb-counter__title{margin-top:10px;margin-bottom:17px;font-size:16px}body[class*="astra"] .wp-block-uagb-counter__title,body[class*="astra"] .wp-block-uagb-counter__number{line-height:normal}

View File

@@ -0,0 +1 @@
.uag-blocks-common-selector{z-index:var(--z-index-desktop) !important}@media (max-width: 976px){.uag-blocks-common-selector{z-index:var(--z-index-tablet) !important}}@media (max-width: 767px){.uag-blocks-common-selector{z-index:var(--z-index-mobile) !important}}

View File

@@ -0,0 +1 @@
.wp-block-uagb-faq-child .uagb-faq-questions-button{display:flex;align-items:center}.wp-block-uagb-faq-child .uagb-faq-questions-button .uagb-faq-icon-wrap{display:flex;align-items:center}.wp-block-uagb-faq-child .uagb-faq-questions-button .uagb-question{width:100%;margin-top:0;margin-bottom:0}.wp-block-uagb-faq-child .uagb-icon svg,.wp-block-uagb-faq-child .uagb-icon-active svg{width:15px;height:15px;font-size:15px}.wp-block-uagb-faq-child.uagb-faq-child__outer-wrap.uagb-faq-item .uagb-icon-active,.wp-block-uagb-faq-child.uagb-faq-child__outer-wrap.uagb-faq-item.uagb-faq-item-active .uagb-icon,.wp-block-uagb-faq-child.uagb-faq-child__outer-wrap .uagb-faq-item .uagb-icon-active,.wp-block-uagb-faq-child.uagb-faq-child__outer-wrap .uagb-faq-item.uagb-faq-item-active .uagb-icon{display:none;width:0;padding:0;height:0;margin:0}.wp-block-uagb-faq-child.uagb-faq-child__outer-wrap.uagb-faq-item .uagb-icon,.wp-block-uagb-faq-child.uagb-faq-child__outer-wrap.uagb-faq-item.uagb-faq-item-active .uagb-icon-active,.wp-block-uagb-faq-child.uagb-faq-child__outer-wrap .uagb-faq-item .uagb-icon,.wp-block-uagb-faq-child.uagb-faq-child__outer-wrap .uagb-faq-item.uagb-faq-item-active .uagb-icon-active{display:flex;width:auto;height:auto}.uagb-faq-layout-grid .uagb-faq-child__outer-wrap.uagb-faq-item .uagb-icon,.uagb-faq-layout-grid .uagb-faq-child__outer-wrap.uagb-faq-item.uagb-faq-item-active .uagb-icon-active,.uagb-faq-layout-grid .uagb-faq-child__outer-wrap .uagb-faq-item .uagb-icon,.uagb-faq-layout-grid .uagb-faq-child__outer-wrap .uagb-faq-item.uagb-faq-item-active .uagb-icon-active{display:none}.uagb-faq-layout-grid .uagb-faq-child__outer-wrap.uagb-faq-item span.uagb-icon-active.uagb-faq-icon-wrap,.uagb-faq-layout-grid .uagb-faq-child__outer-wrap.uagb-faq-item.uagb-faq-item-active .uagb-icon-active,.uagb-faq-layout-grid .uagb-faq-child__outer-wrap .uagb-faq-item span.uagb-icon-active.uagb-faq-icon-wrap,.uagb-faq-layout-grid .uagb-faq-child__outer-wrap .uagb-faq-item.uagb-faq-item-active .uagb-icon-active{display:none}

View File

@@ -0,0 +1 @@
.wp-block-uagb-faq{width:100%}.wp-block-uagb-faq.uagb-faq-layout-accordion .uagb-faq-child__outer-wrap .uagb-faq-questions-button{cursor:pointer}.wp-block-uagb-faq .uagb-faq-content{margin-bottom:0}.wp-block-uagb-faq .uagb-faq-content p{margin:auto}.uagb-faq-layout-grid.uagb-faq-equal-height.uagb-faq__wrap .uagb-faq-child__outer-wrap,.uagb-faq-layout-grid.uagb-faq-equal-height.uagb-faq__wrap .uagb-faq-item{height:100%}body[class*="astra"] .uagb-faq-questions{line-height:normal}.uagb-faq-item{overflow:hidden}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
.uagb-google-map__wrap{display:flex}.uagb-google-map__wrap .uagb-google-map__iframe{width:100%;box-shadow:none;border:none;padding:0;margin:0}

View File

@@ -0,0 +1 @@
.uagb-howto__cost-wrap{display:flex;align-items:center}.uagb-howto__cost-wrap .uagb-howto-estcost-text,.uagb-howto__cost-wrap .uagb-howto-estcost-value,.uagb-howto__cost-wrap .uagb-howto-estcost-type{display:inline-flex}.uagb-howto__time-wrap{display:flex;align-items:center}.uagb-howto__time-wrap .uagb-howto-timeNeeded-text,.uagb-howto__time-wrap .uagb-howto-timeNeeded-value,.uagb-howto__time-wrap .uagb-howto-timeINmin-text{display:inline-flex}.uagb-howto__time-wrap .uagb-howto-timeINmin-text{margin-left:5px}.uagb-step-link-all{height:100%;width:100%;top:0;left:0;position:absolute;z-index:3;box-shadow:none;text-decoration:none;color:inherit}.uagb-how-to-step-wrap{position:relative;margin-top:25px}.uagb-step-image-content-wrap.uag-image-position-left-title{display:flex}.uagb-step-image-content-wrap.uag-image-position-left-title .uagb-how-to-step-image{margin-right:20px}.uagb-step-image-content-wrap.uag-image-position-right-title{display:flex;flex-direction:row-reverse}.uagb-step-image-content-wrap.uag-image-position-right-title .uagb-how-to-step-image{margin-left:20px}.uagb-step-image-content-wrap.uag-image-position-above-title{display:block}.uagb-step-image-content-wrap.uag-image-position-above-title .uagb-how-to-step-image{margin-bottom:20px}.uagb-step-image-content-wrap .uagb-step-link{text-decoration:none !important}.uagb-step-image-content-wrap .uagb-step-link:hover{text-decoration:none !important}.uagb-howto-req-steps-text,.uagb-howto-req-tools-text,.uagb-howto-req-materials-text{margin-block-start:1.33em;margin-block-end:1.33em}.uagb-how-to-main-wrap{width:100%}.uagb-how-to-main-wrap .uagb-howto__source-image{height:auto;max-width:100%}

View File

@@ -0,0 +1 @@
.wp-block-uagb-icon-list-child{position:relative}.wp-block-uagb-icon-list-child>a{position:absolute;top:0;left:0;width:100%;height:100%}img.uagb-icon-list__source-image{max-width:unset}.wp-block-uagb-icon-list-child .uagb-icon-list__label{word-break:break-word}

View File

@@ -0,0 +1 @@
.uagb-icon-list__wrap{display:flex;align-items:flex-start;justify-content:flex-start}.wp-block-uagb-icon-list-child{padding:0;transition:all 0.2s;display:inline-flex;color:#3a3a3a;align-items:center;text-decoration:none;box-shadow:none}.wp-block-uagb-icon-list-child span.uagb-icon-list__source-wrap{display:block;align-items:center}.uagb-icon-list__source-wrap svg{display:block}.uagb-icon-list__source-image{width:40px}.uagb-icon-list__outer-wrap .uagb-icon-list__content-wrap{color:#3a3a3a;display:flex;align-items:center}

View File

@@ -0,0 +1 @@
.wp-block-uagb-icon svg{width:30px}.uagb-icon-wrapper .uagb-svg-wrapper{transition:box-shadow 0.2s ease}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
.wp-block-uagb-image{display:flex}.wp-block-uagb-image__figure{position:relative;display:flex;flex-direction:column;max-width:100%;height:auto;margin:0}.wp-block-uagb-image__figure img{height:auto;display:flex;max-width:100%;transition:box-shadow 0.2s ease}.wp-block-uagb-image__figure>a{display:inline-block}.wp-block-uagb-image__figure figcaption{text-align:center;margin-top:0.5em;margin-bottom:1em}.wp-block-uagb-image .components-placeholder.block-editor-media-placeholder .components-placeholder__instructions{align-self:center}.wp-block-uagb-image--align-left{text-align:left}.wp-block-uagb-image--align-right{text-align:right}.wp-block-uagb-image--align-center{text-align:center}.wp-block-uagb-image--align-full .wp-block-uagb-image__figure{margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);max-width:100vw;width:100vw;height:auto}.wp-block-uagb-image--align-full .wp-block-uagb-image__figure img{height:auto;width:100% !important}.wp-block-uagb-image--align-wide .wp-block-uagb-image__figure img{height:auto;width:100%}.wp-block-uagb-image--layout-overlay__color-wrapper{position:absolute;left:0;top:0;right:0;bottom:0;opacity:0.2;background:rgba(0,0,0,0.5);transition:opacity 0.35s ease-in-out}.wp-block-uagb-image--layout-overlay-link{position:absolute;left:0;right:0;bottom:0;top:0}.wp-block-uagb-image--layout-overlay .wp-block-uagb-image__figure:hover .wp-block-uagb-image--layout-overlay__color-wrapper{opacity:1}.wp-block-uagb-image--layout-overlay__inner{position:absolute;left:15px;right:15px;bottom:15px;top:15px;display:flex;align-items:center;justify-content:center;flex-direction:column;border-color:#fff;transition:0.35s ease-in-out}.wp-block-uagb-image--layout-overlay__inner.top-left,.wp-block-uagb-image--layout-overlay__inner.top-center,.wp-block-uagb-image--layout-overlay__inner.top-right{justify-content:flex-start}.wp-block-uagb-image--layout-overlay__inner.bottom-left,.wp-block-uagb-image--layout-overlay__inner.bottom-center,.wp-block-uagb-image--layout-overlay__inner.bottom-right{justify-content:flex-end}.wp-block-uagb-image--layout-overlay__inner.top-left,.wp-block-uagb-image--layout-overlay__inner.center-left,.wp-block-uagb-image--layout-overlay__inner.bottom-left{align-items:flex-start}.wp-block-uagb-image--layout-overlay__inner.top-right,.wp-block-uagb-image--layout-overlay__inner.center-right,.wp-block-uagb-image--layout-overlay__inner.bottom-right{align-items:flex-end}.wp-block-uagb-image--layout-overlay__inner .uagb-image-heading{color:#fff;transition:transform 0.35s, opacity 0.35s ease-in-out;transform:translate3d(0, 24px, 0);margin:0;line-height:1em}.wp-block-uagb-image--layout-overlay__inner .uagb-image-separator{width:30%;border-top-width:2px;border-top-color:#fff;border-top-style:solid;margin-bottom:10px;opacity:0;transition:transform 0.4s, opacity 0.4s ease-in-out;transform:translate3d(0, 30px, 0)}.wp-block-uagb-image--layout-overlay__inner .uagb-image-caption{opacity:0;overflow:visible;color:#fff;transition:transform 0.45s, opacity 0.45s ease-in-out;transform:translate3d(0, 35px, 0)}.wp-block-uagb-image--layout-overlay__inner:hover .uagb-image-heading,.wp-block-uagb-image--layout-overlay__inner:hover .uagb-image-separator,.wp-block-uagb-image--layout-overlay__inner:hover .uagb-image-caption{opacity:1;transform:translate3d(0, 0, 0)}.wp-block-uagb-image--effect-zoomin .wp-block-uagb-image__figure img,.wp-block-uagb-image--effect-zoomin .wp-block-uagb-image__figure .wp-block-uagb-image--layout-overlay__color-wrapper{transform:scale(1);transition:transform 0.35s ease-in-out}.wp-block-uagb-image--effect-zoomin .wp-block-uagb-image__figure:hover img,.wp-block-uagb-image--effect-zoomin .wp-block-uagb-image__figure:hover .wp-block-uagb-image--layout-overlay__color-wrapper{transform:scale(1.05)}.wp-block-uagb-image--effect-slide .wp-block-uagb-image__figure img,.wp-block-uagb-image--effect-slide .wp-block-uagb-image__figure .wp-block-uagb-image--layout-overlay__color-wrapper{width:calc(100% + 40px) !important;max-width:none !important;transform:translate3d(-40px, 0, 0);transition:transform 0.35s ease-in-out}.wp-block-uagb-image--effect-slide .wp-block-uagb-image__figure:hover img,.wp-block-uagb-image--effect-slide .wp-block-uagb-image__figure:hover .wp-block-uagb-image--layout-overlay__color-wrapper{transform:translate3d(0, 0, 0)}.wp-block-uagb-image--effect-grayscale img{filter:grayscale(0%);transition:0.35s ease-in-out}.wp-block-uagb-image--effect-grayscale:hover img{filter:grayscale(100%)}.wp-block-uagb-image--effect-blur img{filter:blur(0);transition:0.35s ease-in-out}.wp-block-uagb-image--effect-blur:hover img{filter:blur(3px)}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
.uagb-inline_notice__align-right{text-align:right}.uagb-inline_notice__align-right span.uagb-notice-dismiss{left:13px}.uagb-inline_notice__align-center{text-align:center}.uagb-inline_notice__align-center span.uagb-notice-dismiss{right:13px}.uagb-inline_notice__align-left{text-align:left}.uagb-inline_notice__align-left span.uagb-notice-dismiss{right:13px}.wp-block-uagb-inline-notice{width:100%;position:relative}.wp-block-uagb-inline-notice.uagb-notice__active{display:none}.wp-block-uagb-inline-notice .uagb-notice-title{margin:0;width:-moz-available;width:-webkit-fill-available;width:fill-available;display:inline-block}.wp-block-uagb-inline-notice .uagb-notice-text{margin-top:-3px;margin-bottom:0}.wp-block-uagb-inline-notice .uagb-notice-text p:last-child{margin-bottom:0}.wp-block-uagb-inline-notice .uagb-notice-text p:first-child{margin-top:0 !important}.wp-block-uagb-inline-notice span.uagb-notice-dismiss svg{width:16px;height:16px}.wp-block-uagb-inline-notice span.uagb-notice-dismiss{position:absolute;cursor:pointer;top:13px;opacity:0.8;padding:0;background:none;transition:0.3s ease}.wp-block-uagb-inline-notice.uagb-dismissable>svg{position:absolute;cursor:pointer;opacity:0.8;padding:0;background:none;transition:0.3s ease}.wp-block-uagb-inline-notice.uagb-dismissable button[type="button"]{position:absolute;cursor:pointer;opacity:0.8;padding:0;background:none;transition:0.3s ease}.wp-block-uagb-inline-notice.uagb-inline_notice__align-right{text-align:right}.wp-block-uagb-inline-notice.uagb-inline_notice__align-right svg{left:13px}.wp-block-uagb-inline-notice.uagb-inline_notice__align-right button[type="button"]{left:13px;top:13px;border:none;padding-inline:0;padding-block:0;line-height:0px}.wp-block-uagb-inline-notice.uagb-inline_notice__align-center{text-align:center}.wp-block-uagb-inline-notice.uagb-inline_notice__align-center svg{right:13px}.wp-block-uagb-inline-notice.uagb-inline_notice__align-center button[type="button"]{right:13px;top:13px;border:none;padding-inline:0;padding-block:0;line-height:0px}.wp-block-uagb-inline-notice.uagb-inline_notice__align-left{text-align:left}.wp-block-uagb-inline-notice.uagb-inline_notice__align-left svg{right:13px}.wp-block-uagb-inline-notice.uagb-inline_notice__align-left button[type="button"]{right:13px;top:13px;border:none;padding-inline:0;padding-block:0;line-height:0px}

View File

@@ -0,0 +1 @@
.wp-block-uagb-marketing-button{display:-webkit-box;display:-ms-flexbox;display:flex}.wp-block-uagb-marketing-button p:empty{display:none}.wp-block-uagb-marketing-button .uagb-marketing-btn__title,.wp-block-uagb-marketing-button p.uagb-marketing-btn__prefix{margin-bottom:0}.wp-block-uagb-marketing-button .uagb-marketing-btn__link{z-index:1;display:inline-block;position:relative;-webkit-transition:all 0.2s;-o-transition:all 0.2s;transition:all 0.2s}.wp-block-uagb-marketing-button .uagb-marketing-btn__link.wp-block-button__link{width:auto}.wp-block-uagb-marketing-button svg{fill:currentColor;width:20px;height:20px;z-index:1;vertical-align:middle}.wp-block-uagb-marketing-button .uagb-marketing-btn__title,.wp-block-uagb-marketing-button svg{display:inline;vertical-align:middle}.wp-block-uagb-marketing-button.uagb-marketing-btn__align-center,.wp-block-uagb-marketing-button.uagb-marketing-btn__align-text-center .uagb-marketing-btn__title-wrap,.wp-block-uagb-marketing-button.uagb-marketing-btn__align-text-center .uagb-marketing-btn__link{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;text-align:center}.wp-block-uagb-marketing-button.uagb-marketing-btn__align-left,.wp-block-uagb-marketing-button.uagb-marketing-btn__align-text-left .uagb-marketing-btn__title-wrap,.wp-block-uagb-marketing-button.uagb-marketing-btn__align-text-left .uagb-marketing-btn__link{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;text-align:left}.wp-block-uagb-marketing-button.uagb-marketing-btn__align-right,.wp-block-uagb-marketing-button.uagb-marketing-btn__align-text-right .uagb-marketing-btn__title-wrap,.wp-block-uagb-marketing-button.uagb-marketing-btn__align-text-right .uagb-marketing-btn__link{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;text-align:right}.wp-block-uagb-marketing-button.uagb-marketing-btn__align-full .uagb-marketing-btn__link{width:100%}.wp-block-uagb-marketing-button.uagb-marketing-btn__align-text-center .uagb-marketing-btn__prefix{text-align:center}.wp-block-uagb-marketing-button.uagb-marketing-btn__align-text-left .uagb-marketing-btn__prefix{text-align:left}.wp-block-uagb-marketing-button.uagb-marketing-btn__align-text-right .uagb-marketing-btn__prefix{text-align:right}.wp-block-uagb-marketing-button.uagb-marketing-btn__icon-after svg{order:2}.wp-block-uagb-marketing-button.uagb-marketing-btn__align-full .uagb-marketing-btn__wrap{width:100%}.wp-block-uagb-marketing-button.uagb-marketing-btn__align-center .uagb-marketing-btn__wrap,.wp-block-uagb-marketing-button.uagb-marketing-btn__align-text-center .uagb-marketing-btn__title-wrap{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.wp-block-uagb-marketing-button .uagb-marketing-btn__title-wrap{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:self-end;-ms-flex-align:self-end;align-items:self-end}.wp-block-uagb-marketing-button.uagb-marketing-btn__icon-after .uagb-marketing-btn__icon-wrap{order:2}.entry-content .wp-block-uagb-marketing-button .uagb-marketing-btn__link{text-decoration:none;display:inline-block}

View File

@@ -0,0 +1 @@
body.hide-scroll{overflow:hidden}body .uagb-modal-popup-wrap .wp-block{max-width:none !important;margin:0 !important}.uagb-modal-popup{visibility:hidden;position:fixed}.uagb-modal-popup.active{top:0;bottom:0;justify-content:center;align-items:center;background:rgba(0,0,0,0.7);left:0;right:0;display:flex;visibility:visible}.uagb-modal-popup.active .uagb-modal-popup-close{opacity:1;display:flex;align-items:center;position:absolute;text-align:center;cursor:pointer;fill:#fff}.uagb-modal-popup.active .uagb-modal-popup-close svg{-webkit-transition-property:filter, transform;-moz-transition-property:filter, transform;-o-transition-property:filter, transform;transition-property:filter, transform;-webkit-transition-duration:250ms;-moz-transition-duration:250ms;-o-transition-duration:250ms;transition-duration:250ms}.uagb-modal-popup.active .uagb-modal-popup-close:focus svg{transform:scale(1.2)}.uagb-modal-popup .uagb-modal-popup-close{display:none;border:none;background:transparent;padding:0}.uagb-modal-popup .uagb-modal-popup-content{padding:35px 35px;overflow-x:hidden;overflow-y:overlay;height:100%}.uagb-modal-popup .uagb-modal-popup-wrap{display:flex;flex-direction:column;justify-content:flex-start;width:700px;height:450px;max-width:100%;box-sizing:border-box;background:#fff;color:#333;position:relative}.uagb-modal-popup .uagb-modal-popup-wrap .uagb-modal-popup-content::-webkit-scrollbar{width:5px}.uagb-modal-popup .uagb-modal-popup-wrap .uagb-modal-popup-content::-webkit-scrollbar-thumb{box-shadow:inset 0 0 6px rgba(0,0,0,0.3);border-radius:100px}.wp-block-uagb-modal{width:100%}.entry .entry-content a.uagb-modal-button-link{text-decoration:inherit;align-items:center}.entry .entry-content a.uagb-modal-button-link:hover{color:inherit}.uagb-modal-trigger:not(img){display:flex}.uagb-modal-trigger:not(img) svg{font-size:30px;width:30px;height:30px;line-height:30px;cursor:pointer}img.uagb-modal-trigger{cursor:pointer;height:auto;max-width:100%}div.uagb-spectra-button-wrapper{line-height:1}div.uagb-spectra-button-wrapper .uagb-modal-button-link.uagb-modal-trigger{display:inline-flex;align-items:center;cursor:pointer}div.uagb-spectra-button-wrapper .uagb-modal-button-link.uagb-modal-trigger svg{fill:currentColor;font-style:normal;vertical-align:top;width:15px;height:15px;font-size:15px}.block-editor-block-popover.components-popover{z-index:99999999}.uagb-effect-default .uagb-modal-popup-wrap{opacity:0}.uagb-effect-default.active .uagb-modal-popup-wrap{opacity:1;-webkit-transition:all 0.3s;transition:all 0.3s}

View File

@@ -0,0 +1 @@
.uagb-popup-builder{display:none;opacity:0;position:fixed;top:0;left:0;width:100vw;height:100vh;max-width:100vw;max-height:100vh;z-index:999999999;overflow:hidden;-webkit-transition-property:opacity;-moz-transition-property:opacity;-o-transition-property:opacity;transition-property:opacity;-webkit-transition-duration:250ms;-moz-transition-duration:250ms;-o-transition-duration:250ms;transition-duration:250ms}.uagb-popup-builder__banner--pusher{position:relative}.uagb-popup-builder__wrapper{position:relative;box-sizing:border-box}.uagb-popup-builder__wrapper--banner{width:100%}.uagb-popup-builder__container{display:flex;box-sizing:border-box;width:100%;height:100%;flex-direction:column;overflow-x:hidden;overflow-y:auto;-webkit-transition-property:box-shadow, border-color;-moz-transition-property:box-shadow, border-color;-o-transition-property:box-shadow, border-color;transition-property:box-shadow, border-color;-webkit-transition-duration:250ms;-moz-transition-duration:250ms;-o-transition-duration:250ms;transition-duration:250ms}.uagb-popup-builder__container .uagb-is-root-container{width:100%}.uagb-popup-builder__close{position:absolute;top:0;z-index:999999999}.uagb-popup-builder button.uagb-popup-builder__close{border:none;background:transparent;background-color:transparent;padding:0}.uagb-popup-builder button.uagb-popup-builder__close svg{-webkit-transition-property:fill;-moz-transition-property:fill;-o-transition-property:fill;transition-property:fill;-webkit-transition-duration:250ms;-moz-transition-duration:250ms;-o-transition-duration:250ms;transition-duration:250ms}.uagb-popup-builder__body--overflow-hidden{overflow:hidden}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
.uagb_review_block{padding:25px 40px 35px 40px;margin:30px auto}.uagb_review_block a.uagb-rating-link-wrapper{color:inherit;text-decoration:none}.uagb_review_block .uagb-rating__source-wrap{padding-top:10px;padding-bottom:10px}.uagb_review_block .uagb_review_entry{display:flex;padding:10px 0 10px 0;border-bottom:1px solid #e9e9e9}.uagb_review_block .uagb_review_summary_title{margin:23px 0 13px 0;font-size:24px;font-weight:600}.uagb_review_block .uagb_review_summary .uagb_review_overall_value{flex-basis:75%}.uagb_review_block .uagb_review_average{display:inline-flex}.uagb_review_block .uagb_review_rating{text-align:right;font-size:40px}.uagb_review_block .uagb_review_average_stars{display:flex;grid-area:auto;justify-self:self-end;height:50px;line-height:60px;margin-left:10px;margin-top:25px}

View File

@@ -0,0 +1 @@
.uagb-section__wrap{position:relative}.uagb-section__wrap .uagb-section__inner-wrap{position:relative;z-index:2;margin-right:auto;margin-left:auto}.uagb-section__wrap .uagb-section__overlay{position:absolute;top:0;left:0;width:100%;height:100%}.uagb-section__wrap .uagb-section__video-wrap{position:absolute;top:0;left:0;z-index:0;width:100%;height:100%;transition:opacity 1s;overflow:hidden;-webkit-transition:opacity 1s;-o-transition:opacity 1s}.uagb-section__wrap .uagb-section__video-wrap video{display:inline-block;vertical-align:baseline;width:100%;height:100%;max-width:100%;margin:0;background-size:cover;border:none;object-fit:cover;line-height:1;-o-object-fit:cover}@media (min-width: 768px) and (max-width: 1024px){.wp-block-uagb-section.uagb-section__wrap.uagb-section__background-image{background-attachment:scroll}}

View File

@@ -0,0 +1 @@
.wp-block-uagb-separator{text-align:center;box-sizing:border-box;line-height:0}.wp-block-uagb-separator__inner{display:inline-block}.wp-block-uagb-separator:not(.wp-block-uagb-separator--text):not(.wp-block-uagb-separator--icon) .wp-block-uagb-separator__inner{border-top-style:solid;-webkit-mask:var(--my-background-image);-webkit-mask-size:38px 100%;-webkit-mask-repeat:repeat-x}.wp-block-uagb-separator--text .wp-block-uagb-separator__inner,.wp-block-uagb-separator--icon .wp-block-uagb-separator__inner{display:flex;justify-content:center;align-items:center;margin:0 auto}.wp-block-uagb-separator--text .wp-block-uagb-separator__inner::before,.wp-block-uagb-separator--icon .wp-block-uagb-separator__inner::before{display:block;content:"";border-bottom:0;flex-grow:1;border-top-color:#333;border-top-style:solid;-webkit-mask:var(--my-background-image);-webkit-mask-size:38px 100%;-webkit-mask-repeat:repeat-x}.wp-block-uagb-separator--text .wp-block-uagb-separator__inner::after,.wp-block-uagb-separator--icon .wp-block-uagb-separator__inner::after{display:block;content:"";border-bottom:0;flex-grow:1;border-top-color:#333;border-top-style:solid;-webkit-mask:var(--my-background-image);-webkit-mask-size:38px 100%;-webkit-mask-repeat:repeat-x}.wp-block-uagb-separator--icon .wp-block-uagb-separator-element svg{font-size:30px;color:#333;fill:#333;width:30px;height:30px;line-height:30px;max-width:none}.wp-block-uagb-separator--text .wp-block-uagb-separator-element .uagb-html-tag{word-break:initial;margin:0}

View File

@@ -0,0 +1 @@
.uagb-swiper{position:relative;overflow:hidden}.uagb-slider-container{position:relative;width:100%;min-width:0;transition:box-shadow 0.2s ease}.uagb-slider-container .swiper-notification{left:0;opacity:0;pointer-events:none;position:absolute;top:0;z-index:-1000}.uagb-slider-container .swiper-button-next.swiper-button-disabled,.uagb-slider-container .swiper-button-prev.swiper-button-disabled{pointer-events:all}.uagb-slider-container .swiper-pagination.swiper-pagination-bullets{max-width:100%}.uagb-slider-container .swiper-button-prev,.uagb-slider-container .swiper-button-next{border-style:none;background:#efefef}

View File

@@ -0,0 +1 @@
.wp-block-uagb-social-share .uagb-social-share__wrapper{text-decoration:none}.uagb-social-share__wrapper{box-shadow:none}.uagb-social-share__outer-wrap:not(.uagb-social-share__no-label) .uagb-social-share__source-wrap{margin-right:15px}.uagb-social-share__outer-wrap.uagb-social-share__icon-at-top .uagb-social-share__source-wrap{-ms-flex-item-align:flex-start;align-self:flex-start;margin-top:5px}

View File

@@ -0,0 +1 @@
.uagb-social-share__outer-wrap,.uagb-social-share__wrap{display:flex;align-items:center;justify-content:center}.uagb-social-share__layout-vertical.uagb-social-share__outer-wrap,.uagb-social-share__layout-vertical .uagb-social-share__wrap{flex-direction:column}.uagb-social-share__layout-vertical .wp-block-uagb-social-share-child.uagb-ss-repeater.uagb-ss__wrapper:first-child{margin-top:0 !important}.uagb-social-share__layout-vertical .wp-block-uagb-social-share-child.uagb-ss-repeater.uagb-ss__wrapper:last-child{margin-bottom:0 !important}.uagb-social-share__outer-wrap a.uagb-button__link:focus{box-shadow:none}.uagb-social-share__outer-wrap .uagb-ss__wrapper{padding:0;margin-left:5px;margin-right:5px;transition:all 0.2s;display:inline-flex;text-align:center}.uagb-social-share__outer-wrap .uagb-ss__source-wrap{display:inline-block}.uagb-social-share__outer-wrap .uagb-ss__link{color:#3a3a3a;display:inline-table;line-height:0;cursor:pointer}.uagb-social-share__outer-wrap .uagb-ss__source-icon{font-size:40px;width:40px;height:40px}.uagb-social-share__outer-wrap .uagb-ss__source-image{width:40px}@media (max-width: 976px){.uagb-social-share__layout-horizontal .uagb-ss__wrapper{margin-left:0;margin-right:0}}.uagb-social-share__layout-horizontal .wp-block-uagb-social-share-child.uagb-ss-repeater.uagb-ss__wrapper:first-child{margin-left:0 !important}.uagb-social-share__layout-horizontal .wp-block-uagb-social-share-child.uagb-ss-repeater.uagb-ss__wrapper:last-child{margin-right:0 !important}

View File

@@ -0,0 +1 @@
.wp-block-uagb-star-rating{display:flex}.wp-block-uagb-star-rating .uag-star-rating__title{margin:0}.wp-block-uagb-star-rating .uag-star-rating{display:flex;align-items:center}.wp-block-uagb-star-rating .uag-star{color:#ccd6df;display:inline-block;line-height:0.75em}

View File

@@ -0,0 +1 @@
.wp-block-uagb-table-of-contents .uagb-toc__wrap{display:inline-block;max-width:-moz-available;max-width:-webkit-fill-available;max-width:fill-available}.wp-block-uagb-table-of-contents li.uagb-toc__list{padding-top:10px}.wp-block-uagb-table-of-contents ul.uagb-toc__list,.wp-block-uagb-table-of-contents ol.uagb-toc__list{list-style-position:inside;padding-left:0;margin-bottom:0;margin-left:2.2em}.wp-block-uagb-table-of-contents ul.uagb-toc__list li,.wp-block-uagb-table-of-contents ol.uagb-toc__list li{margin:0}.wp-block-uagb-table-of-contents ul li:empty{display:none}.wp-block-uagb-table-of-contents .uagb-toc__title-wrap{display:flex;align-items:center}.wp-block-uagb-table-of-contents .uagb-toc__title{display:flex;align-items:center}.wp-block-uagb-table-of-contents .uagb-toc__is-collapsible.uagb-toc__title-wrap{cursor:pointer}.wp-block-uagb-table-of-contents .uag-toc__collapsible-wrap svg{width:20px;height:20px}.wp-block-uagb-table-of-contents svg{width:20px;height:20px;display:inline-block;margin-left:10px;cursor:pointer}.wp-block-uagb-table-of-contents .uag-toc__collapsible-wrap{display:flex;margin-left:10px;cursor:pointer}.wp-block-uagb-table-of-contents.uagb-toc__collapse .uagb-toc__list-wrap{display:none}.wp-block-uagb-table-of-contents.uagb-toc__collapse--list ul.uagb-toc__list,.wp-block-uagb-table-of-contents.uagb-toc__collapse--list ol.uagb-toc__list{padding-left:2px}ol.uagb-toc__list li.uagb-toc__list ul,ol.uagb-toc__list ul.uagb-toc__list ul{list-style-type:circle}ol.uagb-toc__list>ul,ol.uagb-toc__list>li{list-style-type:disc}.uagb-toc__scroll-top{position:fixed;right:50px;bottom:50px;display:none;padding:10px;background:#ccd0d4;cursor:pointer;font-size:1rem;line-height:1.85714285714286}.uagb-toc__scroll-top svg{width:1.6em;height:0.6em;margin-left:0;transform:translate(0, -20%) rotate(180deg);fill:currentColor}.uagb-toc__scroll-top.uagb-toc__show-scroll{display:inline-table}body[class*="astra"] .uagb-toc__list{line-height:normal}.uagb-toc__list{margin-top:0}.wp-block-uagb-table-of-contents ol.uagb-toc__list li.uagb-toc__list.uagb-toc__list--expandable{list-style-type:none !important}ul.uagb-toc__list--child-of-closed-list{padding-top:0 !important}ul.uagb-toc__list--hidden-child{display:none !important}.list-open::before,.list-collapsed::before{content:"\25BC" / "";transition:transform 0.3s ease;transform:scale(0.7) translateX(-50%);display:inline-block}.list-collapsed::before{transform:scale(0.7) rotate(-90deg) translate(-84%, 6%)}span.list-open,span.list-collapsed{cursor:pointer;outline:none !important}.uagb-toc__list.transition{transition:max-height 300ms ease-in-out, padding-top 300ms ease-in-out}.uagb-toc__loader{border:2px solid #f3f3f3;border-top:2px solid #0073aa;border-radius:50%;width:20px;height:20px;animation:spin 1.1s linear infinite;display:block;position:absolute;margin-top:5px}.uagb-toc__list-hidden{opacity:0}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}[dir="rtl"] .list-open::before{transform:scale(0.7) translateX(50%)}[dir="rtl"] .list-collapsed::before{transform:scale(0.7) rotate(90deg) translate(84%, 6%)}[dir="rtl"] .wp-block-uagb-table-of-contents.uagb-toc__collapse--list ul.uagb-toc__list,[dir="rtl"] .wp-block-uagb-table-of-contents.uagb-toc__collapse--list ol.uagb-toc__list{padding-left:0;padding-right:2px;margin-left:0;margin-right:2.2em}

View File

@@ -0,0 +1 @@
.uagb-tabs__wrap .uagb-tabs__body-container{padding:10px 15px;display:none}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
.uagb-tax-not-available{padding:10px;border:1px solid;text-align:center}.uagb-layout-list .uagb-list-wrap{margin-left:10px}.uagb-taxonomy__outer-wrap{margin-bottom:20px}ul.uagb-taxonomy-list-children{margin-bottom:0}.uagb-tax-link h1,.uagb-tax-link h2,.uagb-tax-link h3,.uagb-tax-link h4,.uagb-tax-link h5,.uagb-tax-link h6{margin-top:unset}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
.wp-block-uagb-testimonial.uagb-slick-carousel ul.slick-dots{margin-bottom:20px}.uagb-testimonial__wrap{box-sizing:border-box}.uagb-testimonial__wrap,.uagb-testimonial__wrap *{transition:all 0.2s}.uagb-icon-wrap .uagb-icon{display:inline-block}.uagb-tm__image-content img{height:auto !important}.uagb-tm__image,.uagb-testimonial__wrap,.uagb-tm__content,.uagb-tm__text-wrap{position:relative}.uagb-tm__imgicon-style-circle .uagb-tm__image img{border-radius:100%}.uagb-tm__imgicon-style-square .uagb-tm__image img{border-radius:0%}.uagb-tm__image img,.slick-slide .uagb-tm__image img{display:inline-block;box-sizing:content-box}.uagb-tm__content{overflow:hidden;text-align:center;word-break:break-word;border-radius:inherit;display:grid}.uagb-tm__image-position-left .uagb-tm__content,.uagb-tm__image-position-right .uagb-tm__content{display:flex}.uagb-tm__meta-inner{display:inline;width:100%;line-height:1}.uagb-tm__image-position-bottom .uagb-tm__image-content,.uagb-tm__image-position-bottom .uagb-testimonial-details{display:table-cell;vertical-align:middle}.uagb-tm__image-position-bottom .uagb-tm__image-content{padding-right:10px}.uagb-tm__author-name,.uagb-tm__company{display:block}.uagb-tm__image-aligned-middle .uagb-tm__image-content{align-self:center}.uagb-tm__author-name{font-size:30px;line-height:16px}.uagb-tm__company{font-size:15px;font-style:normal;line-height:16px;color:#888}.uagb-tm__overlay{height:100%;width:100%;top:0;left:0;position:absolute;background:transparent}.uagb-tm__items{visibility:hidden}.uagb-tm__items.slick-initialized{visibility:visible}.uagb-tm__image-position-top .uagb-tm__image-content{display:flex;justify-content:center}.uagb-slick-carousel.uagb-tm__arrow-outside .slick-next{right:-45px}.uagb-slick-carousel.uagb-tm__arrow-inside .slick-prev{left:25px;z-index:1}.uagb-slick-carousel.uagb-tm__arrow-inside .slick-next{right:25px}[dir="rtl"] .uagb-tm__arrow-inside.uagb-slick-carousel .slick-prev{left:auto;right:25px}[dir="rtl"] .uagb-tm__arrow-inside.uagb-slick-carousel .slick-next{left:25px;right:auto}[dir="rtl"] .uagb-tm__arrow-outside.uagb-slick-carousel .slick-prev{right:auto;left:-45px}[dir="rtl"] .uagb-tm__arrow-outside.uagb-slick-carousel .slick-next{left:auto;right:-45px}@media (min-width: 1025px){.wp-block-uagb-testimonial.uagb-post__carousel_notset .slick-slide:last-child .uagb-testimonial__wrap{padding-right:0}.wp-block-uagb-testimonial.uagb-post__carousel_notset .slick-slide:first-child .uagb-testimonial__wrap{padding-left:0}.wp-block-uagb-testimonial.uagb-post__carousel_notset .uagb-testimonial__wrap{margin-bottom:0}}@media (max-width: 976px){.wp-block-uagb-testimonial.uagb-post__carousel_notset-tablet .uagb-testimonial__wrap{margin-bottom:0}.wp-block-uagb-testimonial.uagb-post__carousel_notset-tablet .slick-slide:last-child .uagb-testimonial__wrap{padding-right:0}.wp-block-uagb-testimonial.uagb-post__carousel_notset-tablet .slick-slide:first-child .uagb-testimonial__wrap{padding-left:0}.uagb-tm-stacked-tablet.uagb-tm__image-position-bottom .uagb-tm__image-content,.uagb-tm-stacked-tablet.uagb-tm__image-position-bottom .uagb-testimonial-details{display:block;vertical-align:middle}.uagb-tm-stacked-tablet.uagb-tm__image-position-left .uagb-tm__content,.uagb-tm-stacked-tablet.uagb-tm__image-position-right .uagb-tm__content{display:block}.uagb-tm-stacked-tablet.uagb-tm__image-position-right.uagb-tm-reverse-order-tablet .uagb-tm__content{display:inline-flex;flex-direction:column-reverse}.uagb-tm-stacked-tablet.uagb-tm__image-aligned-top .uagb-tm__image-content{display:inline-flex;align-self:center}.uagb-slick-carousel.uagb-tm__arrow-outside .slick-prev{left:-10px;z-index:1}.uagb-slick-carousel.uagb-tm__arrow-outside .slick-next{right:-10px}[dir="rtl"] .uagb-slick-carousel.uagb-tm__arrow-outside .slick-prev{left:auto;right:15px}[dir="rtl"] .uagb-slick-carousel.uagb-tm__arrow-outside .slick-next{left:15px;right:auto}}@media (max-width: 768px){.wp-block-uagb-testimonial.uagb-post__carousel_notset-mobile .uagb-testimonial__wrap{margin-bottom:0}.wp-block-uagb-testimonial.uagb-post__carousel_notset-mobile .slick-slide:last-child .uagb-testimonial__wrap{padding-right:0}.wp-block-uagb-testimonial.uagb-post__carousel_notset-mobile .slick-slide:first-child .uagb-testimonial__wrap{padding-left:0}.uagb-tm-stacked-mobile.uagb-tm__image-position-bottom .uagb-tm__image-content,.uagb-tm-stacked-mobile.uagb-tm__image-position-bottom .uagb-testimonial-details{display:block;vertical-align:middle}.uagb-tm-stacked-mobile.uagb-tm__image-position-left .uagb-tm__content,.uagb-tm-stacked-mobile.uagb-tm__image-position-right .uagb-tm__content{display:block}.uagb-tm-stacked-mobile.uagb-tm__image-position-right.uagb-tm-reverse-order-mobile .uagb-tm__content{display:inline-flex;flex-direction:column-reverse}.uagb-tm-stacked-mobile.uagb-tm__image-aligned-top .uagb-tm__image-content{display:inline-flex;align-self:center}}.entry-content .wp-block-uagb-testimonial .is-carousel ul.slick-dots{padding:unset}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
.wp-block-uagb-wp-search.uagb-wp-search__outer-wrap{width:100%;min-height:20px}.wp-block-uagb-wp-search.uagb-wp-search__outer-wrap.uagb-layout-input-button .uagb-search-submit{border:none;border-radius:0;color:#fff}.wp-block-uagb-wp-search.uagb-wp-search__outer-wrap.uagb-layout-input-button svg{fill:currentColor}.wp-block-uagb-wp-search.uagb-wp-search__outer-wrap.uagb-layout-input .uagb-wp-search-icon-wrap{display:flex;align-items:center}.wp-block-uagb-wp-search.uagb-wp-search__outer-wrap.uagb-layout-input svg{fill:currentColor;opacity:0.6}.wp-block-uagb-wp-search.uagb-wp-search__outer-wrap .uagb-search-wrapper .uagb-search-form__container{display:flex;overflow:hidden;max-width:100%}.wp-block-uagb-wp-search.uagb-wp-search__outer-wrap .uagb-search-wrapper .uagb-search-form__container .uagb-search-form__input{width:100%}.wp-block-uagb-wp-search.uagb-wp-search__outer-wrap .uagb-search-wrapper .uagb-search-form__container .uagb-search-form__input::-webkit-input-placeholder{overflow:unset}

View File

@@ -0,0 +1,238 @@
.uagb-slick-carousel .slick-list,
.uagb-slick-carousel .slick-slider,
.uagb-slick-carousel.slick-slider,
.uagb-slick-carousel .slick-track {
position: relative;
display: block;
}
.uagb-slick-carousel .slick-loading .slick-slide,
.uagb-slick-carousel .slick-loading .slick-track {
visibility: hidden;
}
.uagb-slick-carousel.slick-slider {
box-sizing: border-box;
-webkit-tap-highlight-color: transparent;
}
.uagb-slick-carousel .slick-list {
overflow: hidden;
margin: 0;
padding: 0;
}
.uagb-slick-carousel .slick-list:focus {
outline: 0;
}
.uagb-slick-carousel .slick-list.dragging {
cursor: pointer;
cursor: hand;
}
.uagb-slick-carousel.slick-slider .slick-list,
.uagb-slick-carousel.slick-slider .slick-track {
-webkit-transform: translate3d(0, 0, 0);
-moz-transform: translate3d(0, 0, 0);
-ms-transform: translate3d(0, 0, 0);
-o-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
.uagb-slick-carousel .slick-track {
top: 0;
left: 0;
}
.uagb-slick-carousel .slick-track::after,
.uagb-slick-carousel .slick-track::before {
display: table;
content: "";
}
.uagb-slick-carousel .slick-track::after {
clear: both;
}
/* For testimonial */
.uagb-slick-carousel .slick-initialized .slick-slide {
display: block;
}
.uagb-slick-carousel .slick-slide {
display: none;
float: left;
height: 100%;
min-height: 1px;
}
[dir="rtl"] .uagb-slick-carousel .slick-slide {
float: right;
}
.uagb-slick-carousel .slick-slide img {
display: block;
}
.uagb-slick-carousel .slick-slide.slick-loading img {
display: none;
}
.uagb-slick-carousel .slick-slide.dragging img {
pointer-events: none;
}
.uagb-slick-carousel.slick-initialized .slick-slide {
display: block;
}
.uagb-slick-carousel .slick-vertical .slick-slide {
display: block;
height: auto;
border: 1px solid transparent;
}
.uagb-slick-carousel .slick-arrow.slick-hidden {
display: none;
}
.uagb-slick-carousel {
padding: 30px;
}
.uagb-slick-carousel .slick-prev,
.uagb-slick-carousel .slick-next {
font-size: 0;
line-height: 0;
position: absolute;
top: 50%;
display: block;
width: auto;
padding: 0;
-webkit-transform: translate(0, -50%);
-ms-transform: translate(0, -50%);
transform: translate(0, -50%);
cursor: pointer;
color: #aaa;
border-color: #aaa;
outline: none;
background: transparent;
}
.uagb-slick-carousel .slick-prev::before,
.uagb-slick-carousel .slick-next::before {
font-size: 35px;
line-height: 1;
opacity: 0.75;
color: #000;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.uagb-slick-carousel .slick-prev::before,
[dir="rtl"] .uagb-slick-carousel .slick-prev::before,
.uagb-slick-carousel .slick-next::before,
[dir="rtl"] .uagb-slick-carousel .slick-next::before {
content: "";
font-size: 0;
line-height: 0;
}
.uagb-slick-carousel .slick-prev {
left: -45px;
z-index: 1;
border-radius: 0;
}
[dir="rtl"] .uagb-tm__arrow-outside.uagb-slick-carousel .slick-prev {
left: auto;
right: -45px;
}
.uagb-slick-carousel button.slick-arrow {
padding: 7px;
}
.uagb-slick-carousel .slick-prev i,
.uagb-slick-carousel .slick-next i,
.uagb-slick-carousel .slick-prev i:hover,
.uagb-slick-carousel .slick-next i:hover,
.uagb-slick-carousel .slick-prev i:focus,
.uagb-slick-carousel .slick-next i:focus {
font-size: 20px;
width: 1.5em;
height: 1.5em;
line-height: 26px;
text-align: center;
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
box-sizing: content-box;
}
.uagb-slick-carousel ul.slick-dots {
padding-top: 0;
display: block;
position: absolute;
margin: 0;
left: 0;
width: 100%;
bottom: 0;
-webkit-transform: translateY(100%);
-ms-transform: translateY(100%);
transform: translateY(100%);
text-align: center;
}
.uagb-slick-carousel ul.slick-dots li {
position: relative;
display: inline-block;
width: 20px;
height: 20px;
margin: 0;
padding: 0;
cursor: pointer;
}
.uagb-slick-carousel ul.slick-dots li.slick-active button::before {
opacity: 0.75;
color: #000f;
}
.uagb-slick-carousel ul.slick-dots li button {
font-size: 0;
line-height: 0;
display: block;
width: 20px;
height: 20px;
padding: 5px;
cursor: pointer;
color: transparent;
border: 0;
outline: none;
background: transparent;
}
.uagb-slick-carousel ul.slick-dots li button::before {
font-family: none;
font-size: 30px;
line-height: 20px;
position: absolute;
top: 0;
left: 0;
width: 20px;
height: 20px;
content: "•";
text-align: center;
opacity: 0.25;
color: #000;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
@media only screen and (max-width: 976px) {
.uagb-slick-carousel {
padding: 0;
}
}

View File

@@ -0,0 +1 @@
.uagb-slick-carousel .slick-list,.uagb-slick-carousel .slick-slider,.uagb-slick-carousel .slick-track,.uagb-slick-carousel.slick-slider{position:relative;display:block}.uagb-slick-carousel .slick-loading .slick-slide,.uagb-slick-carousel .slick-loading .slick-track{visibility:hidden}.uagb-slick-carousel.slick-slider{box-sizing:border-box;-webkit-tap-highlight-color:transparent}.uagb-slick-carousel .slick-list{overflow:hidden;margin:0;padding:0}.uagb-slick-carousel .slick-list:focus{outline:0}.uagb-slick-carousel .slick-list.dragging{cursor:pointer;cursor:hand}.uagb-slick-carousel.slick-slider .slick-list,.uagb-slick-carousel.slick-slider .slick-track{-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.uagb-slick-carousel .slick-track{top:0;left:0}.uagb-slick-carousel .slick-track::after,.uagb-slick-carousel .slick-track::before{display:table;content:""}.uagb-slick-carousel .slick-track::after{clear:both}.uagb-slick-carousel .slick-initialized .slick-slide{display:block}.uagb-slick-carousel .slick-slide{display:none;float:left;height:100%;min-height:1px}[dir=rtl] .uagb-slick-carousel .slick-slide{float:right}.uagb-slick-carousel .slick-slide img{display:block}.uagb-slick-carousel .slick-slide.slick-loading img{display:none}.uagb-slick-carousel .slick-slide.dragging img{pointer-events:none}.uagb-slick-carousel.slick-initialized .slick-slide{display:block}.uagb-slick-carousel .slick-vertical .slick-slide{display:block;height:auto;border:1px solid transparent}.uagb-slick-carousel .slick-arrow.slick-hidden{display:none}.uagb-slick-carousel{padding:30px}.uagb-slick-carousel .slick-next,.uagb-slick-carousel .slick-prev{font-size:0;line-height:0;position:absolute;top:50%;display:block;width:auto;padding:0;-webkit-transform:translate(0,-50%);-ms-transform:translate(0,-50%);transform:translate(0,-50%);cursor:pointer;color:#aaa;border-color:#aaa;outline:0;background:0 0}.uagb-slick-carousel .slick-next::before,.uagb-slick-carousel .slick-prev::before{font-size:35px;line-height:1;opacity:.75;color:#000;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.uagb-slick-carousel .slick-next::before,.uagb-slick-carousel .slick-prev::before,[dir=rtl] .uagb-slick-carousel .slick-next::before,[dir=rtl] .uagb-slick-carousel .slick-prev::before{content:"";font-size:0;line-height:0}.uagb-slick-carousel .slick-prev{left:-45px;z-index:1;border-radius:0}[dir=rtl] .uagb-tm__arrow-outside.uagb-slick-carousel .slick-prev{left:auto;right:-45px}.uagb-slick-carousel button.slick-arrow{padding:7px}.uagb-slick-carousel .slick-next i,.uagb-slick-carousel .slick-next i:focus,.uagb-slick-carousel .slick-next i:hover,.uagb-slick-carousel .slick-prev i,.uagb-slick-carousel .slick-prev i:focus,.uagb-slick-carousel .slick-prev i:hover{font-size:20px;width:1.5em;height:1.5em;line-height:26px;text-align:center;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.uagb-slick-carousel ul.slick-dots{padding-top:0;display:block;position:absolute;margin:0;left:0;width:100%;bottom:0;-webkit-transform:translateY(100%);-ms-transform:translateY(100%);transform:translateY(100%);text-align:center}.uagb-slick-carousel ul.slick-dots li{position:relative;display:inline-block;width:20px;height:20px;margin:0;padding:0;cursor:pointer}.uagb-slick-carousel ul.slick-dots li.slick-active button::before{opacity:.75;color:#000f}.uagb-slick-carousel ul.slick-dots li button{font-size:0;line-height:0;display:block;width:20px;height:20px;padding:5px;cursor:pointer;color:transparent;border:0;outline:0;background:0 0}.uagb-slick-carousel ul.slick-dots li button::before{font-family:none;font-size:30px;line-height:20px;position:absolute;top:0;left:0;width:20px;height:20px;content:"•";text-align:center;opacity:.25;color:#000;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media only screen and (max-width:976px){.uagb-slick-carousel{padding:0}}

View File

@@ -0,0 +1,18 @@
/* The Sticky Position Class. */
body .wp-block-uagb-container.uagb-position__sticky {
transition-property: top, bottom;
transition-duration: 250ms;
transition-timing-function: ease;
}
/* The Sticky Position Stuck Class. */
body .wp-block-uagb-container.uagb-position__sticky--stuck {
position: fixed;
margin: 0 !important; /* Margins should not exist on the sticky element. They are applied to the filler element. */
}
/* The Sticky Position Restricted Class. */
body .wp-block-uagb-container.uagb-position__sticky--restricted {
position: absolute;
margin: 0 !important; /* Margins should not exist on the sticky element. They are applied to the filler element. */
}

View File

@@ -0,0 +1 @@
body .wp-block-uagb-container.uagb-position__sticky{transition-property:top,bottom;transition-duration:250ms;transition-timing-function:ease}body .wp-block-uagb-container.uagb-position__sticky--stuck{position:fixed;margin:0!important}body .wp-block-uagb-container.uagb-position__sticky--restricted{position:absolute;margin:0!important}

View File

@@ -0,0 +1,102 @@
/* This file contains the styles used in the Popup Builder Admin Page */
/* Page Styling ---------------------- Start */
/* Background of the Popup Builder Admin Page */
#wpwrap,
.striped > tbody > :nth-child(odd) {
background-color: #f8fafc;
}
/* Page Styling ------------------------ End */
/* Toggle Styling -------------------- Start */
/* Toggle Styling */
.spectra-popup-builder__switch {
position: relative;
width: 42px;
height: 22px;
padding: 2px;
margin: inherit;
cursor: pointer;
border: none;
border-radius: 100px;
box-sizing: border-box;
background: #64748b;
opacity: 0.7;
transition: background 0.15s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Toggle Disabled Styling */
.spectra-popup-builder__switch.spectra-popup-builder__switch--disabled {
pointer-events: none;
cursor: not-allowed;
background: #e2e8f0;
}
/* Toggle Dot Styling */
.spectra-popup-builder__switch > span {
pointer-events: none;
-js-display: flex;
display: flex;
width: 16px;
height: 16px;
background: #fff;
box-shadow: 0 1px 2px 0 #0000000f, 0 1px 3px 0 #0000001a;
border-radius: inherit;
transform: translate(2px, 1px);
transition: background 0.15s cubic-bezier(0.4, 0, 0.2, 1), transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Toggle Dot Styling - RTL */
.spectra-popup-builder__switch.is-rtl-toggle > span {
transform: translate(-2px, 1px);
}
/* Toggle Active Styling */
.spectra-popup-builder__switch.spectra-popup-builder__switch--active {
background: #007cba;
opacity: 1;
}
/* Toggle Active Dot Styling */
.spectra-popup-builder__switch.spectra-popup-builder__switch--active span {
transform: translate(20px, 1px);
}
/* Toggle Active Dot Styling - RTL */
.spectra-popup-builder__switch.spectra-popup-builder__switch--active.is-rtl-toggle span {
transform: translate(-20px, 1px);
}
/* Toggle Styling ---------------------- End */
/* Columns Styling ------------------- Start */
/* Style for all the Headings in the Admin Table */
/* stylelint-disable selector-id-pattern */
.post-type-spectra-popup .wp-list-table #spectra_popup_type,
.post-type-spectra-popup .wp-list-table #author,
.post-type-spectra-popup .wp-list-table #spectra_popup_toggle {
width: 150px;
}
.post-type-spectra-popup .wp-list-table #spectra_popup_trigger {
width: 200px;
}
/* stylelint-enable selector-id-pattern */
/* Style for the Switch Column and Row in the Admin Table */
th.column-spectra_popup_toggle,
td.column-spectra_popup_toggle {
text-align: center;
}
/* Style for the Switch Element in the Admin Table */
td.spectra_popup_toggle.column-spectra_popup_toggle .spectra-popup-builder__switch {
margin: 0 auto;
}
/* Columns Styling --------------------- End */

View File

@@ -0,0 +1 @@
#wpwrap,.striped>tbody>:nth-child(odd){background-color:#f8fafc}.spectra-popup-builder__switch{position:relative;width:42px;height:22px;padding:2px;margin:inherit;cursor:pointer;border:none;border-radius:100px;box-sizing:border-box;background:#64748b;opacity:.7;transition:background .15s cubic-bezier(.4, 0, .2, 1),border-color .15s cubic-bezier(.4, 0, .2, 1)}.spectra-popup-builder__switch.spectra-popup-builder__switch--disabled{pointer-events:none;cursor:not-allowed;background:#e2e8f0}.spectra-popup-builder__switch>span{pointer-events:none;-js-display:flex;display:flex;width:16px;height:16px;background:#fff;box-shadow:0 1px 2px 0 #0000000f,0 1px 3px 0 #0000001a;border-radius:inherit;transform:translate(2px,1px);transition:background .15s cubic-bezier(.4, 0, .2, 1),transform .15s cubic-bezier(.4, 0, .2, 1)}.spectra-popup-builder__switch.is-rtl-toggle>span{transform:translate(-2px,1px)}.spectra-popup-builder__switch.spectra-popup-builder__switch--active{background:#007cba;opacity:1}.spectra-popup-builder__switch.spectra-popup-builder__switch--active span{transform:translate(20px,1px)}.spectra-popup-builder__switch.spectra-popup-builder__switch--active.is-rtl-toggle span{transform:translate(-20px,1px)}.post-type-spectra-popup .wp-list-table #author,.post-type-spectra-popup .wp-list-table #spectra_popup_toggle,.post-type-spectra-popup .wp-list-table #spectra_popup_type{width:150px}.post-type-spectra-popup .wp-list-table #spectra_popup_trigger{width:200px}td.column-spectra_popup_toggle,th.column-spectra_popup_toggle{text-align:center}td.spectra_popup_toggle.column-spectra_popup_toggle .spectra-popup-builder__switch{margin:0 auto}

View File

@@ -0,0 +1,179 @@
.rtl.block-editor-page #wpwrap .wp-block-uagb-blockquote .uagb-blockquote__skin-border blockquote.uagb-blockquote,
.rtl .wp-block-uagb-blockquote .uagb-blockquote__skin-border blockquote.uagb-blockquote {
border-left-style: none;
border-left-width: 0;
padding-right: 15px;
}
.rtl.block-editor-page #wpwrap .wp-block-uagb-blockquote .uagb-blockquote__content.block-editor-rich-text__editable,
.rtl .wp-block-uagb-blockquote .uagb-blockquote__content.block-editor-rich-text__editable {
text-align: right;
}
.rtl .uagb_review_block .uagb_review_entry {
display: unset;
}
.rtl .uagb-timeline__left-block .uagb-timeline__day-left .uagb-timeline__arrow::after {
border-left: 13px solid #eee;
border-right: none;
}
.rtl .uagb-timeline__right-block .uagb-timeline__line {
left: calc(2em / 2);
right: auto;
}
.uagb-timeline__day-right .uagb-timeline__arrow::after {
right: 970px;
}
.uagb-timeline__day-left .uagb-timeline__arrow::after {
right: -970px;
}
.rtl .uagb-timeline__right-block .uagb-timeline__day-left .uagb-timeline__arrow::after {
border-left: none;
border-right: 13px solid #eee;
}
.uagb-timeline__left-block .uagb-timeline__day-left .uagb-timeline__arrow::after {
right: -970px;
}
.rtl .uagb-timeline__center-block .uagb-timeline__line {
right: 50% !important;
left: auto;
}
.uagb-timeline__center-block .uagb-timeline__day-left .uagb-timeline__arrow::after {
border-left: 13px solid #eee;
border-right: none;
}
.rtl .uagb-post-grid .uagb-post__text {
text-align: right;
}
.rtl .uagb-icon-list__outer-wrap:not(.uagb-icon-list__no-label) .uagb-icon-list__source-wrap {
margin-left: 15px;
}
.rtl .uagb-faq__outer-wrap.uagb-faq-icon-row .uagb-faq-item .uagb-faq-icon-wrap {
margin-left: 10px;
}
.rtl .uagb-rm__content {
text-align: right;
}
/* Spectra blocks */
.rtl .wp-block-uagb-team.uagb-team__image-position-above.uagb-team__align-center .uagb-team__content,
.rtl .wp-block-uagb-team.uagb-team__image-position-above.uagb-team__align-left .uagb-team__content,
.rtl .wp-block-uagb-team.uagb-team__image-position-above.uagb-team__align-right .uagb-team__content {
text-align: right;
}
.rtl .wp-block-uagb-inline-notice.uagb-inline_notice__align-left,
.rtl .wp-block-uagb-inline-notice.uagb-inline_notice__align-right,
.rtl .wp-block-uagb-inline-notice.uagb-inline_notice__align-center {
text-align: right;
}
.rtl .uagb-tm__content {
text-align: right;
}
.rtl .uagb-social-share__outer-wrap,
.uagb-social-share__wrap {
justify-content: right;
}
.rtl .uagb-post-grid .uagb-post__inner-wrap {
text-align: right;
}
.rtl .uagb-timeline__left,
.rtl .uagb-timeline__right,
.rtl .uagb-timeline__center {
text-align: right;
}
.rtl .wp-block-uagb-marketing-button.uagb-marketing-btn__align-center,
.wp-block-uagb-marketing-button.uagb-marketing-btn__align-text-center .uagb-marketing-btn__title-wrap,
.rtl .wp-block-uagb-marketing-button.uagb-marketing-btn__align-text-center .uagb-marketing-btn__link {
text-align: right;
}
.rtl .wp-block-uagb-marketing-button.uagb-marketing-btn__align-center,
.rtl .wp-block-uagb-marketing-button.uagb-marketing-btn__align-text-center .uagb-marketing-btn__title-wrap,
.rtl .wp-block-uagb-marketing-button.uagb-marketing-btn__align-text-center .uagb-marketing-btn__link {
justify-content: right;
}
.rtl .uagb-infobox-icon-left.uagb-infobox__content-wrap,
.uagb-infobox-icon-right.uagb-infobox__content-wrap,
.rtl .uagb-infobox-icon-left-title .uagb-ifb-left-title-image,
.rtl .uagb-infobox-icon-right-title .uagb-ifb-right-title-image {
flex-direction: row;
}
.rtl .wp-block-uagb-restaurant-menu .uagb-rest_menu__wrap .uagb-rm__content,
.rtl .uagb-rest_menu__wrap .uagb-rest_menu__wrap .uagb-rm__content { /* without image */
text-align: right;
}
.rtl .wp-block-uagb-restaurant-menu .uagb-rm__image-position-left.uagb-rm__align-left .uagb-rm__price,
.rtl .wp-block-uagb-restaurant-menu .uagb-rm__image-position-left.uagb-rm__align-right .uagb-rm__price,
.rtl .wp-block-uagb-restaurant-menu .uagb-rm__image-position-left.uagb-rm__align-center .uagb-rm__price,
.rtl .uagb-rest_menu__wrap .uagb-rm__image-position-left.uagb-rm__align-left .uagb-rm__price,
.rtl .uagb-rest_menu__wrap .uagb-rm__image-position-left.uagb-rm__align-right .uagb-rm__price,
.rtl .uagb-rest_menu__wrap .uagb-rm__image-position-left.uagb-rm__align-center .uagb-rm__price {
text-align: left;
}
.rtl .wp-block-uagb-restaurant-menu .uagb-rm__image-position-left img,
.rtl .uagb-rest_menu__wrap .uagb-rm__image-position-left img {
margin-left: 10px;
}
.rtl .wp-block-uagb-restaurant-menu .uagb-rest_menu__wrap.uagb-rm__align-center .uagb-rm__separator,
.rtl .uagb-rest_menu__wrap .uagb-rest_menu__wrap.uagb-rm__align-center .uagb-rm__separator {
align-self: flex-start;
}
.rtl .wp-block-uagb-blockquote blockquote.uagb-blockquote {
border-right-style: none;
}
.rtl .uagb-forms-radio-wrap input[type="radio"] + label::before {
margin-left: 10px;
}
.rtl .uagb-forms-checkbox-wrap input[type="checkbox"] + label::before,
.rtl .uagb-forms-accept-wrap input[type="checkbox"] + label::before {
margin-left: 10px;
}
.rtl .wp-block-uagb-restaurant-menu .uagb-rest_menu__wrap.uagb-rm__align-right .uagb-rm__content {
text-align: left;
}
.rtl .uagb-blockquote__tweet-icon_text a.uagb-blockquote__tweet-button svg {
margin-left: 10px;
margin-right: 0;
}
.rtl .uag-star-rating__title {
margin-left: 10px;
}
.rtl .uagb-timeline__center-block .uagb-timeline__day-right .uagb-timeline__arrow::after {
border-right: 13px solid #eee;
border-left: none;
right: 581px;
}
.rtl .uagb-timeline__center-block .uagb-timeline__day-left .uagb-timeline__arrow::after {
right: -585px;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,4 @@
header.site-header,
footer.site-footer {
display: none;
}

View File

@@ -0,0 +1 @@
footer.site-footer,header.site-header{display:none}

View File

@@ -0,0 +1,6 @@
<svg width="126" height="111" viewBox="0 0 126 111" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="0.5" y="0.5" width="124.157" height="109.336" rx="4.5" stroke="#E4EBF0"/>
<rect x="13" y="48" width="31.8462" height="13" fill="#C8D0D7"/>
<rect x="46.9231" y="48" width="31.8462" height="13" fill="#C8D0D7"/>
<path d="M81 48H113V61H81V48Z" fill="#C8D0D7"/>
</svg>

After

Width:  |  Height:  |  Size: 377 B

View File

@@ -0,0 +1,7 @@
<svg width="126" height="111" viewBox="0 0 126 111" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="0.5" y="0.5" width="124.157" height="109.336" rx="4.5" stroke="#E4EBF0"/>
<rect x="15" y="38" width="96" height="8" fill="#C8D0D7"/>
<rect x="15" y="54" width="96" height="3" fill="#E4EBF0"/>
<rect x="15" y="62" width="96" height="3" fill="#E4EBF0"/>
<rect x="28" y="70" width="68" height="3" fill="#E4EBF0"/>
</svg>

After

Width:  |  Height:  |  Size: 431 B

View File

@@ -0,0 +1,4 @@
<svg width="126" height="111" viewBox="0 0 126 111" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="0.5" y="0.5" width="124.157" height="109.336" rx="4.5" stroke="#E4EBF0"/>
<rect x="22.5" y="48.5" width="80" height="12" rx="0.5" stroke="#C8D0D7"/>
</svg>

After

Width:  |  Height:  |  Size: 267 B

View File

@@ -0,0 +1,8 @@
<svg width="126" height="111" viewBox="0 0 126 111" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="0.5" y="0.5" width="124.157" height="109.336" rx="4.5" stroke="#E4EBF0"/>
<rect x="88" y="59" width="22" height="8" rx="4" fill="#C8D0D7"/>
<rect x="22" y="45" width="88" height="3" fill="#E4EBF0"/>
<rect x="22" y="51" width="54" height="3" fill="#E4EBF0"/>
<rect x="22" y="64" width="28" height="2" fill="#E4EBF0"/>
<rect x="16" y="41" width="1" height="28" fill="#E4EBF0"/>
</svg>

After

Width:  |  Height:  |  Size: 498 B

View File

@@ -0,0 +1,7 @@
<svg width="126" height="111" viewBox="0 0 126 111" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="0.5" y="0.5" width="124.157" height="109.336" rx="4.5" stroke="#E4EBF0"/>
<rect x="18" y="49" width="43" height="12" rx="2.50705" fill="#C8D0D7"/>
<rect x="65" y="49" width="43" height="12" rx="2.50705" fill="#C8D0D7"/>
<rect x="26" y="55" width="27" height="1" fill="#E4EBF0"/>
<rect x="73" y="55" width="27" height="1" fill="#E4EBF0"/>
</svg>

After

Width:  |  Height:  |  Size: 459 B

View File

@@ -0,0 +1,8 @@
<svg width="126" height="111" viewBox="0 0 126 111" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="0.5" y="0.5" width="124.157" height="109.336" rx="4.5" stroke="#E4EBF0"/>
<rect x="85" y="55" width="27" height="10" rx="2.50705" fill="#C8D0D7"/>
<rect x="14" y="44" width="38" height="6" fill="#E4EBF0"/>
<rect x="14" y="56" width="52" height="3" fill="#E4EBF0"/>
<rect x="14" y="62" width="63" height="3" fill="#E4EBF0"/>
<rect x="14" y="68" width="41" height="3" fill="#E4EBF0"/>
</svg>

After

Width:  |  Height:  |  Size: 505 B

View File

@@ -0,0 +1,14 @@
<svg width="125" height="110" viewBox="0 0 125 110" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="0.5" y="0.5" width="124" height="109" rx="4.5" stroke="#E4EBF0"/>
<rect x="13" y="86" width="98" height="10" rx="1.94628" fill="#C8D0D7"/>
<rect x="13" y="13" width="17.8571" height="3.125" rx="0.389256" fill="#C8D0D7"/>
<rect x="13" y="17.9107" width="98" height="10.7143" rx="1.94628" fill="#E4EBF0"/>
<rect x="13" y="34" width="17.8571" height="3.125" rx="0.389256" fill="#C8D0D7"/>
<rect x="13" y="38.9107" width="98" height="10.7143" rx="1.94628" fill="#E4EBF0"/>
<rect x="30.5284" y="58.125" width="15.935" height="3.125" rx="0.389256" fill="#E4EBF0"/>
<rect x="95.0651" y="58.125" width="15.935" height="3.125" rx="0.389256" fill="#E4EBF0"/>
<rect x="13" y="54.5536" width="14.3415" height="10.7143" rx="1.94628" fill="#E4EBF0"/>
<rect x="30.5284" y="72.4107" width="15.935" height="3.125" rx="0.389256" fill="#E4EBF0"/>
<rect x="95.065" y="72.4107" width="15.935" height="3.125" rx="0.389256" fill="#E4EBF0"/>
<rect x="13" y="68.8393" width="14.3415" height="10.7143" rx="1.94628" fill="#E4EBF0"/>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -0,0 +1,6 @@
<svg width="126" height="111" viewBox="0 0 126 111" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="0.5" y="0.5" width="124.157" height="109.336" rx="4.5" stroke="#E4EBF0"/>
<rect x="13" y="48" width="31.8462" height="13" fill="#C8D0D7"/>
<rect x="46.9231" y="48" width="31.8462" height="13" fill="#E4EBF0"/>
<path d="M81 48H113V61H81V48Z" fill="#E4EBF0"/>
</svg>

After

Width:  |  Height:  |  Size: 377 B

View File

@@ -0,0 +1,5 @@
<svg width="126" height="111" viewBox="0 0 126 111" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="0.5" y="0.5" width="124.157" height="109.336" rx="4.5" stroke="#E4EBF0"/>
<rect x="25" y="44" width="77" height="22" rx="11" fill="#C8D0D7"/>
<rect x="41" y="54" width="45" height="2" fill="#E4EBF0"/>
</svg>

After

Width:  |  Height:  |  Size: 320 B

View File

@@ -0,0 +1,8 @@
<svg width="126" height="111" viewBox="0 0 126 111" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="0.5" y="0.5" width="124.157" height="109.336" rx="4.5" stroke="#E4EBF0"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M42 41C40.8954 41 40 41.8954 40 43V66C40 67.1046 40.8954 68 42 68H78C79.1046 68 80 67.1046 80 66V57.3868L85 54.5L80 51.6132V43C80 41.8954 79.1046 41 78 41H42Z" fill="#C8D0D7"/>
<rect x="46" y="48" width="20" height="3" fill="#E4EBF0"/>
<rect x="46" y="61" width="21" height="1" fill="#E4EBF0"/>
<rect x="46" y="59" width="27" height="1" fill="#E4EBF0"/>
<rect x="46" y="57" width="27" height="1" fill="#E4EBF0"/>
</svg>

After

Width:  |  Height:  |  Size: 658 B

View File

@@ -0,0 +1,9 @@
<svg width="126" height="111" viewBox="0 0 126 111" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="0.5" y="0.5" width="124.157" height="109.336" rx="4.5" stroke="#E4EBF0"/>
<rect x="14" y="37" width="98" height="35" rx="1" fill="#C8D0D7"/>
<path d="M23.8182 45V45.9375H20V45H23.8182Z" fill="#E4EBF0"/>
<rect x="28" y="44" width="46" height="4" fill="#E4EBF0"/>
<rect x="28" y="65" width="56" height="2" fill="#E4EBF0"/>
<rect x="28" y="60" width="71" height="2" fill="#E4EBF0"/>
<rect x="28" y="55" width="71" height="2" fill="#E4EBF0"/>
</svg>

After

Width:  |  Height:  |  Size: 562 B

View File

@@ -0,0 +1,6 @@
<svg width="126" height="111" viewBox="0 0 126 111" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="0.5" y="0.5" width="124.157" height="109.336" rx="4.5" stroke="#E4EBF0"/>
<rect x="49.4" y="54.2" width="41.6" height="2" fill="#E4EBF0"/>
<rect x="35.5" y="51.5" width="7" height="7" rx="0.5" stroke="#C8D0D7"/>
<path d="M40.8445 53.0536C41.0024 53.1537 41.0475 53.3601 40.9452 53.5146L38.7382 56.8479C38.6801 56.9355 38.5836 56.9915 38.4772 56.9991C38.4689 56.9997 38.4604 57 38.4522 57C38.3546 57 38.2613 56.9591 38.1964 56.8868L37.0849 55.6506C36.9607 55.5123 36.9744 55.3018 37.1156 55.1801C37.2571 55.0584 37.4722 55.0721 37.5964 55.2102L38.4109 56.116L40.3733 53.1521C40.4758 52.9976 40.6868 52.9535 40.8445 53.0536Z" fill="#C8D0D7"/>
</svg>

After

Width:  |  Height:  |  Size: 761 B

Some files were not shown because too many files have changed in this diff Show More