upgraded to 4.14
This commit is contained in:
@ -276,7 +276,16 @@ class ET_Builder_Ajax_Cache {
|
||||
self::$_instance = new self();
|
||||
}
|
||||
|
||||
return self::$_instance;
|
||||
/**
|
||||
* Filters the cache class instance that for caches AJAX requests.
|
||||
*
|
||||
* @param ET_Builder_Ajax_Cache Cache Instance
|
||||
*
|
||||
* @see GlobalHistoryMigrationTest
|
||||
*
|
||||
* @since 4.14.0
|
||||
*/
|
||||
return apply_filters( 'et_builder_ajax_cache_instance', self::$_instance );
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -34,13 +34,14 @@ class ET_Builder_Ajax_Data {
|
||||
* Registers the AJAX actions when class is constructed.
|
||||
*/
|
||||
public function __construct() {
|
||||
add_action( 'wp_ajax_et_builder_ajax_get_post_types', array( $this, 'et_builder_ajax_get_post_types' ) );
|
||||
add_action( 'wp_ajax_et_builder_ajax_get_authors', array( $this, 'et_builder_ajax_get_authors' ) );
|
||||
add_action( 'wp_ajax_et_builder_ajax_get_user_roles', array( $this, 'et_builder_ajax_get_user_roles' ) );
|
||||
add_action( 'wp_ajax_et_builder_ajax_get_categories', array( $this, 'et_builder_ajax_get_categories' ) );
|
||||
add_action( 'wp_ajax_et_builder_ajax_get_tags', array( $this, 'et_builder_ajax_get_tags' ) );
|
||||
add_action( 'wp_ajax_et_builder_ajax_search_products', array( $this, 'et_builder_ajax_search_products' ) );
|
||||
add_action( 'wp_ajax_et_builder_ajax_get_display_conditions_status', array( $this, 'et_builder_ajax_get_display_conditions_status' ) );
|
||||
add_action( 'wp_ajax_et_builder_ajax_get_post_types', array( $this, 'get_post_types' ) );
|
||||
add_action( 'wp_ajax_et_builder_ajax_get_authors', array( $this, 'get_authors' ) );
|
||||
add_action( 'wp_ajax_et_builder_ajax_get_user_roles', array( $this, 'get_user_roles' ) );
|
||||
add_action( 'wp_ajax_et_builder_ajax_get_categories', array( $this, 'get_categories' ) );
|
||||
add_action( 'wp_ajax_et_builder_ajax_get_tags', array( $this, 'get_tags' ) );
|
||||
add_action( 'wp_ajax_et_builder_ajax_search_products', array( $this, 'search_products' ) );
|
||||
add_action( 'wp_ajax_et_builder_ajax_get_display_conditions_status', array( $this, 'get_display_conditions_status' ) );
|
||||
add_action( 'wp_ajax_et_builder_ajax_get_post_meta_fields', array( $this, 'get_post_meta_fields' ) );
|
||||
}
|
||||
|
||||
/**
|
||||
@ -60,9 +61,24 @@ class ET_Builder_Ajax_Data {
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function et_builder_ajax_get_display_conditions_status() {
|
||||
public function get_display_conditions_status() {
|
||||
et_core_security_check( 'edit_posts', 'et_builder_ajax_get_display_conditions_status', 'nonce', '_POST' );
|
||||
|
||||
/**
|
||||
* Filters "Display Conditions" functionality to determine whether to enable or disable the functionality or not.
|
||||
*
|
||||
* Useful for disabling/enabling "Display Condition" feature site-wide.
|
||||
*
|
||||
* @since 4.13.1
|
||||
*
|
||||
* @param boolean True to enable the functionality, False to disable it.
|
||||
*/
|
||||
$is_display_conditions_enabled = apply_filters( 'et_is_display_conditions_functionality_enabled', true );
|
||||
|
||||
if ( ! $is_display_conditions_enabled ) {
|
||||
wp_send_json_error();
|
||||
}
|
||||
|
||||
// $_POST['conditions'] is a JSON so there is no effective way to sanitize it at this level.
|
||||
// phpcs:ignore ET.Sniffs.ValidatedSanitizedInput -- Conditions is not stored or displayed therefore XSS safe.
|
||||
$conditions = isset( $_POST['conditions'] ) ? $_POST['conditions'] : '';
|
||||
@ -82,7 +98,7 @@ class ET_Builder_Ajax_Data {
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function et_builder_ajax_search_products() {
|
||||
public function search_products() {
|
||||
et_core_security_check( 'edit_posts', 'et_builder_ajax_search_products', 'nonce', '_GET' );
|
||||
|
||||
$current_page = isset( $_GET['page'] ) ? (int) $_GET['page'] : 0;
|
||||
@ -139,7 +155,7 @@ class ET_Builder_Ajax_Data {
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function et_builder_ajax_get_categories() {
|
||||
public function get_categories() {
|
||||
et_core_security_check( 'edit_posts', 'et_builder_ajax_get_categories', 'nonce', '_GET' );
|
||||
|
||||
$data = [];
|
||||
@ -191,7 +207,7 @@ class ET_Builder_Ajax_Data {
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function et_builder_ajax_get_tags() {
|
||||
public function get_tags() {
|
||||
et_core_security_check( 'edit_posts', 'et_builder_ajax_get_tags', 'nonce', '_GET' );
|
||||
|
||||
$data = [];
|
||||
@ -249,7 +265,7 @@ class ET_Builder_Ajax_Data {
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function et_builder_ajax_get_post_types() {
|
||||
public function get_post_types() {
|
||||
et_core_security_check( 'edit_posts', 'et_builder_ajax_get_post_types', 'nonce', '_GET' );
|
||||
|
||||
$current_page = isset( $_GET['page'] ) ? (int) $_GET['page'] : 0;
|
||||
@ -303,7 +319,7 @@ class ET_Builder_Ajax_Data {
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function et_builder_ajax_get_authors() {
|
||||
public function get_authors() {
|
||||
et_core_security_check( 'edit_posts', 'et_builder_ajax_get_authors', 'nonce', '_GET' );
|
||||
|
||||
$current_page = isset( $_GET['page'] ) ? (int) $_GET['page'] : 0;
|
||||
@ -375,7 +391,7 @@ class ET_Builder_Ajax_Data {
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function et_builder_ajax_get_user_roles() {
|
||||
public function get_user_roles() {
|
||||
et_core_security_check( 'edit_posts', 'et_builder_ajax_get_user_roles', 'nonce', '_GET' );
|
||||
|
||||
$user_roles = [];
|
||||
@ -403,6 +419,36 @@ class ET_Builder_Ajax_Data {
|
||||
wp_send_json_success( $results );
|
||||
}
|
||||
|
||||
/**
|
||||
* AJAX Action for getting a list of all meta fields assigned to a post.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function get_post_meta_fields() {
|
||||
et_core_security_check( 'edit_posts', 'et_builder_ajax_get_post_meta_fields', 'nonce', '_GET' );
|
||||
|
||||
$data = [];
|
||||
$post_id = isset( $_GET['postId'] ) ? sanitize_text_field( $_GET['postId'] ) : '';
|
||||
$meta_fields = get_post_meta( (int) $post_id );
|
||||
|
||||
/**
|
||||
* Filters included meta fields for `et_builder_ajax_get_post_meta_fields` ajax action.
|
||||
*
|
||||
* @since 4.14.3
|
||||
*
|
||||
* @param array $meta_fields
|
||||
*/
|
||||
$meta_fields = apply_filters( 'et_builder_ajax_get_post_meta_fields', $meta_fields );
|
||||
|
||||
$data = is_array( $meta_fields ) ? $meta_fields : [];
|
||||
|
||||
$results = [
|
||||
'results' => $data,
|
||||
];
|
||||
|
||||
wp_send_json_success( $results );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
ET_Builder_Ajax_Data::get_instance();
|
||||
|
@ -42,13 +42,98 @@ class ET_Builder_Display_Conditions {
|
||||
* Init actions and filters needed for Display Condition's functionality
|
||||
*/
|
||||
public function __construct() {
|
||||
// No Display Conditions related Hooks if below WordPress 5.3.
|
||||
if ( version_compare( get_bloginfo( 'version' ), '5.3', '>=' ) ) {
|
||||
add_action( 'wp', array( $this, 'et_display_conditions_post_visit_set_cookie' ) );
|
||||
add_action( 'template_redirect', array( $this, 'et_display_conditions_number_of_views_set_cookie' ) );
|
||||
add_action( 'save_post', array( $this, 'et_display_conditions_save_tracking_post_ids' ), 10, 3 );
|
||||
add_action( 'delete_post', array( $this, 'et_display_conditions_delete_tracking_post_ids' ), 10, 1 );
|
||||
add_filter( 'et_module_process_display_conditions', array( $this, 'process_display_conditions' ), 10, 3 );
|
||||
add_filter( 'et_is_display_conditions_functionality_enabled', array( $this, 'check_if_wp_version_is_sufficient' ) );
|
||||
add_action( 'wp', array( $this, 'post_visit_set_cookie' ) );
|
||||
add_action( 'template_redirect', array( $this, 'number_of_views_set_cookie' ) );
|
||||
add_action( 'save_post', array( $this, 'save_tracking_post_ids' ), 10, 3 );
|
||||
add_action( 'delete_post', array( $this, 'delete_tracking_post_ids' ), 10, 1 );
|
||||
}
|
||||
|
||||
/**
|
||||
* Processes "Display Conditions" of a module and decides whether to display a module or not.
|
||||
*
|
||||
* We do need to render the module first and then decide to keep it or not, This is because we want the styles of
|
||||
* the module (shortcode) and any nested modules inside it to get registered so "Dynamic Assets" would include the
|
||||
* styles of all modules used on the page. Ref: https://github.com/elegantthemes/Divi/issues/24965
|
||||
*
|
||||
* @since 4.13.1
|
||||
*
|
||||
* @param string $output HTML output of the rendered module.
|
||||
* @param string $render_method The render method used to render the module, Typically it's either
|
||||
* 'render' or 'render_as_builder_data` @see ET_Builder_Element::_render().
|
||||
*
|
||||
* @param ET_Builder_Element $element_instance The current instance of ET_Builder_Element.
|
||||
*
|
||||
* @return string HTML output of the rendered module if conditions are met, Empty otherwise.
|
||||
*/
|
||||
public function process_display_conditions( $output, $render_method, $element_instance ) {
|
||||
/**
|
||||
* Filters "Display Conditions" functionality to determine whether to enable or disable the functionality or not.
|
||||
*
|
||||
* Useful for disabling/enabling "Display Condition" feature site-wide.
|
||||
*
|
||||
* @since 4.13.1
|
||||
*
|
||||
* @param boolean True to enable the functionality, False to disable it.
|
||||
*/
|
||||
$is_display_conditions_enabled = apply_filters( 'et_is_display_conditions_functionality_enabled', true );
|
||||
|
||||
if ( ! $is_display_conditions_enabled ) {
|
||||
return $output;
|
||||
}
|
||||
|
||||
// Setup variables.
|
||||
$is_displayable = true;
|
||||
$is_display_conditions_set = isset( $element_instance->props['display_conditions'] ) && ! empty( $element_instance->props['display_conditions'] );
|
||||
$is_display_conditions_as_base64_empty = 'W10=' === $element_instance->props['display_conditions'];
|
||||
$has_display_conditions = $is_display_conditions_set && ! $is_display_conditions_as_base64_empty;
|
||||
|
||||
// Check if display_conditions attribute is defined, Decode the data and check if it is displayable.
|
||||
if ( $has_display_conditions ) {
|
||||
$display_conditions_json = base64_decode( $element_instance->props['display_conditions'] ); // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.obfuscation_base64_decode -- The returned data is an array and necessary validation checks are performed.
|
||||
}
|
||||
if ( $has_display_conditions && false !== $display_conditions_json ) {
|
||||
$display_conditions = json_decode( $display_conditions_json, true );
|
||||
$is_displayable = \ET_Builder_Module_Fields_Factory::get( 'DisplayConditions' )->is_displayable( $display_conditions );
|
||||
}
|
||||
|
||||
$is_vb_ajax_nonce_valid = isset( $_POST['et_pb_process_computed_property_nonce'] ) && wp_verify_nonce( sanitize_text_field( $_POST['et_pb_process_computed_property_nonce'] ), 'et_pb_process_computed_property_nonce' );
|
||||
|
||||
// Check if we're rendering on frontend, Then decide whether to keep the output or erase it.
|
||||
if ( 'render' === $render_method ) {
|
||||
if ( wp_doing_ajax() && $is_vb_ajax_nonce_valid && et_pb_is_pagebuilder_used( get_the_ID() ) ) {
|
||||
// "Blog Module" in VB will be rendered like a normal frontend request not as builder data, Here we retain the output
|
||||
// so it will always be visible in VB ignoring Display Conditions Ref: https://github.com/elegantthemes/Divi/issues/23309, https://github.com/elegantthemes/Divi/issues/25463.
|
||||
$output = $output;
|
||||
} elseif ( 'et_pb_post_content' === $element_instance->slug && ! $is_displayable && et_core_is_fb_enabled() ) {
|
||||
// When VB is loaded and "Post Content" Module is used in TB and it's not displayable, set the correct
|
||||
// output so it'd be displayed in VB and TB respectively Ref: https://github.com/elegantthemes/Divi/issues/23479.
|
||||
$output = $output;
|
||||
} else {
|
||||
// All other scenarios will fall here, Normal frontend request, AJAX frontend request, etc.
|
||||
$output = ( $is_displayable ) ? $output : '';
|
||||
}
|
||||
}
|
||||
|
||||
return $output;
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if WordPress version is sufficient for "Display Conditions" feature.
|
||||
*
|
||||
* @since 4.13.1
|
||||
*
|
||||
* @param boolean $is_display_conditions_enabled True if "Display Conditions" functionality is enabled, False if it's disabled.
|
||||
*
|
||||
* @return boolean True if WordPress version is sufficient & "Display Condition" functionality is enabled, False otherwise.
|
||||
*/
|
||||
public function check_if_wp_version_is_sufficient( $is_display_conditions_enabled ) {
|
||||
/**
|
||||
* We intentionally check `$is_display_conditions_enabled` to avoid enabling the functionality if it has been
|
||||
* disabled via `add_filter()` with lower priority sooner.
|
||||
*/
|
||||
return version_compare( get_bloginfo( 'version' ), '5.3', '>=' ) && $is_display_conditions_enabled ? true : false;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -65,7 +150,21 @@ class ET_Builder_Display_Conditions {
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function et_display_conditions_save_tracking_post_ids( $post_id, $post, $update ) {
|
||||
public function save_tracking_post_ids( $post_id, $post, $update ) {
|
||||
/**
|
||||
* Filters "Display Conditions" functionality to determine whether to enable or disable the functionality or not.
|
||||
*
|
||||
* Useful for disabling/enabling "Display Condition" feature site-wide.
|
||||
*
|
||||
* @since 4.13.1
|
||||
*
|
||||
* @param boolean True to enable the functionality, False to disable it.
|
||||
*/
|
||||
$is_display_conditions_enabled = apply_filters( 'et_is_display_conditions_functionality_enabled', true );
|
||||
|
||||
if ( ! $is_display_conditions_enabled ) {
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Validation and Security Checks.
|
||||
@ -174,7 +273,22 @@ class ET_Builder_Display_Conditions {
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function et_display_conditions_delete_tracking_post_ids( $post_id ) {
|
||||
public function delete_tracking_post_ids( $post_id ) {
|
||||
/**
|
||||
* Filters "Display Conditions" functionality to determine whether to enable or disable the functionality or not.
|
||||
*
|
||||
* Useful for disabling/enabling "Display Condition" feature site-wide.
|
||||
*
|
||||
* @since 4.13.1
|
||||
*
|
||||
* @param boolean True to enable the functionality, False to disable it.
|
||||
*/
|
||||
$is_display_conditions_enabled = apply_filters( 'et_is_display_conditions_functionality_enabled', true );
|
||||
|
||||
if ( ! $is_display_conditions_enabled ) {
|
||||
return;
|
||||
}
|
||||
|
||||
$post = get_post( $post_id );
|
||||
$wp_option = get_option( 'et_display_conditions_tracking_post_ids', null );
|
||||
$is_wp_option_exist = is_array( $wp_option ) && ! empty( $wp_option );
|
||||
@ -220,7 +334,22 @@ class ET_Builder_Display_Conditions {
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function et_display_conditions_post_visit_set_cookie() {
|
||||
public function post_visit_set_cookie() {
|
||||
/**
|
||||
* Filters "Display Conditions" functionality to determine whether to enable or disable the functionality or not.
|
||||
*
|
||||
* Useful for disabling/enabling "Display Condition" feature site-wide.
|
||||
*
|
||||
* @since 4.13.1
|
||||
*
|
||||
* @param boolean True to enable the functionality, False to disable it.
|
||||
*/
|
||||
$is_display_conditions_enabled = apply_filters( 'et_is_display_conditions_functionality_enabled', true );
|
||||
|
||||
if ( ! $is_display_conditions_enabled ) {
|
||||
return;
|
||||
}
|
||||
|
||||
if ( ! is_singular() ) {
|
||||
return;
|
||||
}
|
||||
@ -238,7 +367,10 @@ class ET_Builder_Display_Conditions {
|
||||
}
|
||||
|
||||
if ( isset( $_COOKIE['divi_post_visit'] ) ) {
|
||||
$new_cookie = json_decode( base64_decode( $_COOKIE['divi_post_visit'] ), true ); // phpcs:ignore ET.Sniffs.ValidatedSanitizedInput, WordPress.PHP.DiscouragedPHPFunctions.obfuscation_base64_decode -- Cookie is not stored or displayed therefore XSS safe, base64_decode returned data is an array and necessary validation checks are performed.
|
||||
$new_cookie = json_decode( base64_decode( $_COOKIE['divi_post_visit'] ), true ); // phpcs:ignore ET.Sniffs.ValidatedSanitizedInput, WordPress.PHP.DiscouragedPHPFunctions.obfuscation_base64_decode -- Cookie is not stored or displayed therefore XSS safe, base64_decode returned data is an array and necessary validation checks are performed.
|
||||
}
|
||||
|
||||
if ( $new_cookie && is_array( $new_cookie ) ) {
|
||||
$has_visited_page_before = array_search( $current_post_id, array_column( $new_cookie, 'id' ), true );
|
||||
}
|
||||
|
||||
@ -258,7 +390,21 @@ class ET_Builder_Display_Conditions {
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function et_display_conditions_number_of_views_set_cookie() {
|
||||
public function number_of_views_set_cookie() {
|
||||
/**
|
||||
* Filters "Display Conditions" functionality to determine whether to enable or disable the functionality or not.
|
||||
*
|
||||
* Useful for disabling/enabling "Display Condition" feature site-wide.
|
||||
*
|
||||
* @since 4.13.1
|
||||
*
|
||||
* @param boolean True to enable the functionality, False to disable it.
|
||||
*/
|
||||
$is_display_conditions_enabled = apply_filters( 'et_is_display_conditions_functionality_enabled', true );
|
||||
|
||||
if ( ! $is_display_conditions_enabled ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Do not run on VB itself.
|
||||
if ( et_core_is_fb_enabled() ) {
|
||||
@ -306,14 +452,15 @@ class ET_Builder_Display_Conditions {
|
||||
*
|
||||
* @since 4.11.0
|
||||
*
|
||||
* @param array $display_conditions_attrs Array of conditions as base64 encoded data.
|
||||
* @param array $display_conditions_attrs Array of base64 encoded conditions.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function number_of_views_process_conditions( $display_conditions_attrs ) {
|
||||
$is_cookie_set = isset( $_COOKIE['divi_module_views'] ) ? true : false;
|
||||
$is_cookie_set = isset( $_COOKIE['divi_module_views'] );
|
||||
$current_datetime = current_datetime();
|
||||
$cookie = $is_cookie_set ? json_decode( base64_decode( $_COOKIE['divi_module_views'] ), true ) : []; // phpcs:ignore ET.Sniffs.ValidatedSanitizedInput, WordPress.PHP.DiscouragedPHPFunctions.obfuscation_base64_decode -- Cookie is not stored or displayed therefore XSS safe, The returned data is an array and necessary validation checks are performed.
|
||||
$decoded_cookie = $is_cookie_set ? json_decode( base64_decode( $_COOKIE['divi_module_views'] ), true ) : []; // phpcs:ignore ET.Sniffs.ValidatedSanitizedInput, WordPress.PHP.DiscouragedPHPFunctions.obfuscation_base64_decode -- Cookie is not stored or displayed therefore XSS safe, The returned data is an array and necessary validation checks are performed.
|
||||
$cookie = is_array( $decoded_cookie ) ? $decoded_cookie : [];
|
||||
|
||||
// Decode NumberOfViews conditions one by one then set or update cookie.
|
||||
foreach ( $display_conditions_attrs as $condition_base64 ) {
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
.et_pb_with_border.et_pb_comments_module .commentlist li img.avatar,.et_pb_with_border.et_pb_comments_module input,.et_pb_with_border.et_pb_comments_module textarea{border:0 solid #333}.et_pb_comments_module #comment-wrap{padding-top:0;position:relative}.et_pb_comments_module.et_pb_no_avatar .comment_avatar{display:none}.et_pb_comments_module.et_pb_no_avatar .comment-body{padding-left:0!important;min-height:0!important}.et_pb_comments_module.et_pb_no_avatar.et_pb_no_reply_button .comment-body{margin-bottom:15px!important}.et_pb_comments_module.et_pb_no_reply_button span.reply-container{display:none}.et_pb_comments_module.et_pb_no_reply_button .comment-body{padding-right:0!important}.et_pb_comments_module.et_pb_no_comments_count #comments{display:none}.et_pb_bg_layout_dark .comment_postinfo a,.et_pb_bg_layout_dark .comment_postinfo span{color:#fff}@media (min-width:480px){.et_pb_column_1_4 .et_pb_comments_module .comment_avatar img,.et_pb_column_1_5 .et_pb_comments_module .comment_avatar img,.et_pb_column_1_6 .et_pb_comments_module .comment_avatar img{max-width:50%}.et_pb_column_1_4 .et_pb_comments_module .comment-body,.et_pb_column_1_5 .et_pb_comments_module .comment-body,.et_pb_column_1_6 .et_pb_comments_module .comment-body{padding:0 0 0 50px}.et_pb_column_1_4 .et_pb_comments_module .comment .children,.et_pb_column_1_5 .et_pb_comments_module .comment .children,.et_pb_column_1_6 .et_pb_comments_module .comment .children{margin-left:0}.et_pb_column_1_4 .et_pb_comments_module .comment-reply-link,.et_pb_column_1_5 .et_pb_comments_module .comment-reply-link,.et_pb_column_1_6 .et_pb_comments_module .comment-reply-link{position:relative!important;float:right;bottom:-10px;top:auto!important}}@media (min-width:981px){.et_pb_column_1_2 .et_pb_comments_module .comment_avatar img,.et_pb_column_1_3 .et_pb_comments_module .comment_avatar img,.et_pb_column_1_4 .et_pb_comments_module .comment_avatar img,.et_pb_column_1_5 .et_pb_comments_module .comment_avatar img,.et_pb_column_1_6 .et_pb_comments_module .comment_avatar img,.et_pb_column_2_5 .et_pb_comments_module .comment_avatar img,.et_pb_column_3_5 .et_pb_comments_module .comment_avatar img{max-width:50%}.et_pb_column_1_2 .et_pb_comments_module .comment-body,.et_pb_column_1_3 .et_pb_comments_module .comment-body,.et_pb_column_1_4 .et_pb_comments_module .comment-body,.et_pb_column_1_5 .et_pb_comments_module .comment-body,.et_pb_column_1_6 .et_pb_comments_module .comment-body,.et_pb_column_2_5 .et_pb_comments_module .comment-body,.et_pb_column_3_5 .et_pb_comments_module .comment-body{padding:0 0 0 50px}.et_pb_column_1_2 .et_pb_comments_module .comment .children,.et_pb_column_1_3 .et_pb_comments_module .comment .children,.et_pb_column_1_4 .et_pb_comments_module .comment .children,.et_pb_column_1_5 .et_pb_comments_module .comment .children,.et_pb_column_1_6 .et_pb_comments_module .comment .children,.et_pb_column_2_5 .et_pb_comments_module .comment .children,.et_pb_column_3_5 .et_pb_comments_module .comment .children{margin-left:25px}.et_pb_column_1_2 .et_pb_comments_module .comment-reply-link,.et_pb_column_1_3 .et_pb_comments_module .comment-reply-link,.et_pb_column_1_4 .et_pb_comments_module .comment-reply-link,.et_pb_column_1_5 .et_pb_comments_module .comment-reply-link,.et_pb_column_1_6 .et_pb_comments_module .comment-reply-link,.et_pb_column_2_5 .et_pb_comments_module .comment-reply-link,.et_pb_column_3_5 .et_pb_comments_module .comment-reply-link{position:relative!important;float:right;bottom:-10px;top:auto!important}.et_pb_column_1_2 .et_pb_comments_module #commentform [class*=comment-form-] input,.et_pb_column_1_3 .et_pb_comments_module #commentform [class*=comment-form-] input,.et_pb_column_1_4 .et_pb_comments_module #commentform [class*=comment-form-] input,.et_pb_column_1_5 .et_pb_comments_module #commentform [class*=comment-form-] input,.et_pb_column_1_6 .et_pb_comments_module #commentform [class*=comment-form-] input,.et_pb_column_2_5 .et_pb_comments_module #commentform [class*=comment-form-] input,.et_pb_column_3_5 .et_pb_comments_module #commentform [class*=comment-form-] input{box-sizing:border-box;width:100%}}.single-project #comment-wrap{padding-top:0}
|
||||
.et_pb_with_border.et_pb_comments_module .commentlist li img.avatar,.et_pb_with_border.et_pb_comments_module input,.et_pb_with_border.et_pb_comments_module textarea{border:0 solid #333}.et_pb_comments_module #comment-wrap{padding-top:0;position:relative}.et_pb_comments_module.et_pb_no_avatar .comment_avatar{display:none}.et_pb_comments_module.et_pb_no_avatar .comment-body{padding-left:0!important;min-height:0!important}.et_pb_comments_module.et_pb_no_avatar.et_pb_no_reply_button .comment-body{margin-bottom:15px!important}.et_pb_comments_module.et_pb_no_reply_button span.reply-container{display:none}.et_pb_comments_module.et_pb_no_reply_button .comment-body{padding-right:0!important}.et_pb_comments_module.et_pb_no_comments_count #comments,.et_pb_comments_module.et_pb_no_comments_meta .comment_postinfo{display:none}.et_pb_bg_layout_dark .comment_postinfo a,.et_pb_bg_layout_dark .comment_postinfo span{color:#fff}@media (min-width:480px){.et_pb_column_1_4 .et_pb_comments_module .comment_avatar img,.et_pb_column_1_5 .et_pb_comments_module .comment_avatar img,.et_pb_column_1_6 .et_pb_comments_module .comment_avatar img{max-width:50%}.et_pb_column_1_4 .et_pb_comments_module .comment-body,.et_pb_column_1_5 .et_pb_comments_module .comment-body,.et_pb_column_1_6 .et_pb_comments_module .comment-body{padding:0 0 0 50px}.et_pb_column_1_4 .et_pb_comments_module .comment .children,.et_pb_column_1_5 .et_pb_comments_module .comment .children,.et_pb_column_1_6 .et_pb_comments_module .comment .children{margin-left:0}.et_pb_column_1_4 .et_pb_comments_module .comment-reply-link,.et_pb_column_1_5 .et_pb_comments_module .comment-reply-link,.et_pb_column_1_6 .et_pb_comments_module .comment-reply-link{position:relative!important;float:right;bottom:-10px;top:auto!important}}@media (min-width:981px){.et_pb_column_1_2 .et_pb_comments_module .comment_avatar img,.et_pb_column_1_3 .et_pb_comments_module .comment_avatar img,.et_pb_column_1_4 .et_pb_comments_module .comment_avatar img,.et_pb_column_1_5 .et_pb_comments_module .comment_avatar img,.et_pb_column_1_6 .et_pb_comments_module .comment_avatar img,.et_pb_column_2_5 .et_pb_comments_module .comment_avatar img,.et_pb_column_3_5 .et_pb_comments_module .comment_avatar img{max-width:50%}.et_pb_column_1_2 .et_pb_comments_module .comment-body,.et_pb_column_1_3 .et_pb_comments_module .comment-body,.et_pb_column_1_4 .et_pb_comments_module .comment-body,.et_pb_column_1_5 .et_pb_comments_module .comment-body,.et_pb_column_1_6 .et_pb_comments_module .comment-body,.et_pb_column_2_5 .et_pb_comments_module .comment-body,.et_pb_column_3_5 .et_pb_comments_module .comment-body{padding:0 0 0 50px}.et_pb_column_1_2 .et_pb_comments_module .comment .children,.et_pb_column_1_3 .et_pb_comments_module .comment .children,.et_pb_column_1_4 .et_pb_comments_module .comment .children,.et_pb_column_1_5 .et_pb_comments_module .comment .children,.et_pb_column_1_6 .et_pb_comments_module .comment .children,.et_pb_column_2_5 .et_pb_comments_module .comment .children,.et_pb_column_3_5 .et_pb_comments_module .comment .children{margin-left:25px}.et_pb_column_1_2 .et_pb_comments_module .comment-reply-link,.et_pb_column_1_3 .et_pb_comments_module .comment-reply-link,.et_pb_column_1_4 .et_pb_comments_module .comment-reply-link,.et_pb_column_1_5 .et_pb_comments_module .comment-reply-link,.et_pb_column_1_6 .et_pb_comments_module .comment-reply-link,.et_pb_column_2_5 .et_pb_comments_module .comment-reply-link,.et_pb_column_3_5 .et_pb_comments_module .comment-reply-link{position:relative!important;float:right;bottom:-10px;top:auto!important}.et_pb_column_1_2 .et_pb_comments_module #commentform [class*=comment-form-] input,.et_pb_column_1_3 .et_pb_comments_module #commentform [class*=comment-form-] input,.et_pb_column_1_4 .et_pb_comments_module #commentform [class*=comment-form-] input,.et_pb_column_1_5 .et_pb_comments_module #commentform [class*=comment-form-] input,.et_pb_column_1_6 .et_pb_comments_module #commentform [class*=comment-form-] input,.et_pb_column_2_5 .et_pb_comments_module #commentform [class*=comment-form-] input,.et_pb_column_3_5 .et_pb_comments_module #commentform [class*=comment-form-] input{box-sizing:border-box;width:100%}}.single-project #comment-wrap{padding-top:0}
|
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
.et_pb_grid_item.first_in_row{clear:both}.et_pb_grid_item:not(.first_in_row){clear:none}@media (min-width:981px){.et_pb_grid_item{float:left;position:relative}}@media (max-width:980px){.et_pb_column .et_pb_grid_item{margin:0 5.5% 7.5% 0;width:29.666%;clear:none;float:left}.et_pb_column .et_pb_grid_item.last_in_row{margin-right:0}.et_pb_row_1-2_1-4_1-4>.et_pb_column.et_pb_column_1_4 .et_pb_grid_item,.et_pb_row_1-2_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6 .et_pb_grid_item,.et_pb_row_1-4_1-4>.et_pb_column.et_pb_column_1_4 .et_pb_grid_item,.et_pb_row_1-4_1-4_1-2>.et_pb_column.et_pb_column_1_4 .et_pb_grid_item,.et_pb_row_1-5_1-5_3-5>.et_pb_column.et_pb_column_1_5 .et_pb_grid_item,.et_pb_row_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6 .et_pb_grid_item,.et_pb_row_1-6_1-6_1-6_1-2>.et_pb_column.et_pb_column_1_6 .et_pb_grid_item,.et_pb_row_1-6_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6 .et_pb_grid_item,.et_pb_row_3-5_1-5_1-5>.et_pb_column.et_pb_column_1_5 .et_pb_grid_item,.et_pb_row_4col>.et_pb_column.et_pb_column_1_4 .et_pb_grid_item,.et_pb_row_5col>.et_pb_column.et_pb_column_1_5 .et_pb_grid_item,.et_pb_row_6col>.et_pb_column.et_pb_column_1_6 .et_pb_grid_item{margin:0 0 11.5%;width:100%}}@media (max-width:767px){.et_pb_column .et_pb_grid_item{margin:0 5.5% 9.5% 0;width:47.25%;clear:none;float:left}.et_pb_column .et_pb_grid_item:nth-child(3n){margin-right:5.5%}.et_pb_column .et_pb_grid_item:nth-child(3n+1){clear:none}.et_pb_column .et_pb_grid_item .last_in_row,.et_pb_column .et_pb_grid_item:nth-child(2n){margin-right:0}.et_pb_column .et_pb_grid_item .first_in_row,.et_pb_column .et_pb_grid_item:nth-child(odd){clear:both}}@media (max-width:479px){.et_pb_column .et_pb_grid_item{margin:0 0 11.5%;width:100%}.et_pb_column .et_pb_grid_item .on_last_row{margin-bottom:0}.et_pb_row_1-2_1-4_1-4>.et_pb_column.et_pb_column_1_4 .et_pb_grid_item,.et_pb_row_1-2_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6 .et_pb_grid_item,.et_pb_row_1-4_1-4>.et_pb_column.et_pb_column_1_4 .et_pb_grid_item,.et_pb_row_1-4_1-4_1-2>.et_pb_column.et_pb_column_1_4 .et_pb_grid_item,.et_pb_row_1-5_1-5_3-5>.et_pb_column.et_pb_column_1_5 .et_pb_grid_item,.et_pb_row_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6 .et_pb_grid_item,.et_pb_row_1-6_1-6_1-6_1-2>.et_pb_column.et_pb_column_1_6 .et_pb_grid_item,.et_pb_row_1-6_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6 .et_pb_grid_item,.et_pb_row_3-5_1-5_1-5>.et_pb_column.et_pb_column_1_5 .et_pb_grid_item,.et_pb_row_4col>.et_pb_column.et_pb_column_1_4 .et_pb_grid_item,.et_pb_row_5col>.et_pb_column.et_pb_column_1_5 .et_pb_grid_item,.et_pb_row_6col>.et_pb_column.et_pb_column_1_6 .et_pb_grid_item{margin:0 0 11.5%;width:100%}}
|
||||
.et_pb_grid_item.first_in_row{clear:both}.et_pb_grid_item:not(.first_in_row){clear:none}.et_pb_grid_item.et_pb_gallery_item.first_in_row{clear:both}@media (min-width:981px){.et_pb_grid_item{float:left;position:relative}}@media (max-width:980px){.et_pb_column .et_pb_grid_item{margin:0 5.5% 7.5% 0;width:29.666%;clear:none;float:left}.et_pb_column .et_pb_grid_item.last_in_row{margin-right:0}.et_pb_row_1-2_1-4_1-4>.et_pb_column.et_pb_column_1_4 .et_pb_grid_item,.et_pb_row_1-2_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6 .et_pb_grid_item,.et_pb_row_1-4_1-4>.et_pb_column.et_pb_column_1_4 .et_pb_grid_item,.et_pb_row_1-4_1-4_1-2>.et_pb_column.et_pb_column_1_4 .et_pb_grid_item,.et_pb_row_1-5_1-5_3-5>.et_pb_column.et_pb_column_1_5 .et_pb_grid_item,.et_pb_row_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6 .et_pb_grid_item,.et_pb_row_1-6_1-6_1-6_1-2>.et_pb_column.et_pb_column_1_6 .et_pb_grid_item,.et_pb_row_1-6_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6 .et_pb_grid_item,.et_pb_row_3-5_1-5_1-5>.et_pb_column.et_pb_column_1_5 .et_pb_grid_item,.et_pb_row_4col>.et_pb_column.et_pb_column_1_4 .et_pb_grid_item,.et_pb_row_5col>.et_pb_column.et_pb_column_1_5 .et_pb_grid_item,.et_pb_row_6col>.et_pb_column.et_pb_column_1_6 .et_pb_grid_item{margin:0 0 11.5%;width:100%}}@media (max-width:767px){.et_pb_column .et_pb_grid_item{margin:0 5.5% 9.5% 0;width:47.25%;clear:none;float:left}.et_pb_column .et_pb_grid_item:nth-child(3n){margin-right:5.5%}.et_pb_column .et_pb_grid_item:nth-child(3n+1){clear:none}.et_pb_column .et_pb_grid_item .last_in_row,.et_pb_column .et_pb_grid_item:nth-child(2n){margin-right:0}.et_pb_column .et_pb_grid_item .first_in_row,.et_pb_column .et_pb_grid_item:nth-child(odd){clear:both}}@media (max-width:479px){.et_pb_column .et_pb_grid_item{margin:0 0 11.5%;width:100%}.et_pb_column .et_pb_grid_item .on_last_row{margin-bottom:0}.et_pb_row_1-2_1-4_1-4>.et_pb_column.et_pb_column_1_4 .et_pb_grid_item,.et_pb_row_1-2_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6 .et_pb_grid_item,.et_pb_row_1-4_1-4>.et_pb_column.et_pb_column_1_4 .et_pb_grid_item,.et_pb_row_1-4_1-4_1-2>.et_pb_column.et_pb_column_1_4 .et_pb_grid_item,.et_pb_row_1-5_1-5_3-5>.et_pb_column.et_pb_column_1_5 .et_pb_grid_item,.et_pb_row_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6 .et_pb_grid_item,.et_pb_row_1-6_1-6_1-6_1-2>.et_pb_column.et_pb_column_1_6 .et_pb_grid_item,.et_pb_row_1-6_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6 .et_pb_grid_item,.et_pb_row_3-5_1-5_1-5>.et_pb_column.et_pb_column_1_5 .et_pb_grid_item,.et_pb_row_4col>.et_pb_column.et_pb_column_1_4 .et_pb_grid_item,.et_pb_row_5col>.et_pb_column.et_pb_column_1_5 .et_pb_grid_item,.et_pb_row_6col>.et_pb_column.et_pb_column_1_6 .et_pb_grid_item{margin:0 0 11.5%;width:100%}}
|
@ -1 +1 @@
|
||||
.et-db #et-boc .et-l .et_pb_grid_item.first_in_row{clear:both}.et-db #et-boc .et-l .et_pb_grid_item:not(.first_in_row){clear:none}@media (min-width:981px){.et-db #et-boc .et-l .et_pb_grid_item{float:left;position:relative}}@media (max-width:980px){.et-db #et-boc .et-l .et_pb_column .et_pb_grid_item{margin:0 5.5% 7.5% 0;width:29.666%;clear:none;float:left}.et-db #et-boc .et-l .et_pb_column .et_pb_grid_item.last_in_row{margin-right:0}.et-db #et-boc .et-l .et_pb_row_1-2_1-4_1-4>.et_pb_column.et_pb_column_1_4 .et_pb_grid_item,.et-db #et-boc .et-l .et_pb_row_1-2_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6 .et_pb_grid_item,.et-db #et-boc .et-l .et_pb_row_1-4_1-4>.et_pb_column.et_pb_column_1_4 .et_pb_grid_item,.et-db #et-boc .et-l .et_pb_row_1-4_1-4_1-2>.et_pb_column.et_pb_column_1_4 .et_pb_grid_item,.et-db #et-boc .et-l .et_pb_row_1-5_1-5_3-5>.et_pb_column.et_pb_column_1_5 .et_pb_grid_item,.et-db #et-boc .et-l .et_pb_row_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6 .et_pb_grid_item,.et-db #et-boc .et-l .et_pb_row_1-6_1-6_1-6_1-2>.et_pb_column.et_pb_column_1_6 .et_pb_grid_item,.et-db #et-boc .et-l .et_pb_row_1-6_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6 .et_pb_grid_item,.et-db #et-boc .et-l .et_pb_row_3-5_1-5_1-5>.et_pb_column.et_pb_column_1_5 .et_pb_grid_item,.et-db #et-boc .et-l .et_pb_row_4col>.et_pb_column.et_pb_column_1_4 .et_pb_grid_item,.et-db #et-boc .et-l .et_pb_row_5col>.et_pb_column.et_pb_column_1_5 .et_pb_grid_item,.et-db #et-boc .et-l .et_pb_row_6col>.et_pb_column.et_pb_column_1_6 .et_pb_grid_item{margin:0 0 11.5%;width:100%}}@media (max-width:767px){.et-db #et-boc .et-l .et_pb_column .et_pb_grid_item{margin:0 5.5% 9.5% 0;width:47.25%;clear:none;float:left}.et-db #et-boc .et-l .et_pb_column .et_pb_grid_item:nth-child(3n){margin-right:5.5%}.et-db #et-boc .et-l .et_pb_column .et_pb_grid_item:nth-child(3n+1){clear:none}.et-db #et-boc .et-l .et_pb_column .et_pb_grid_item .last_in_row,.et-db #et-boc .et-l .et_pb_column .et_pb_grid_item:nth-child(2n){margin-right:0}.et-db #et-boc .et-l .et_pb_column .et_pb_grid_item .first_in_row,.et-db #et-boc .et-l .et_pb_column .et_pb_grid_item:nth-child(odd){clear:both}}@media (max-width:479px){.et-db #et-boc .et-l .et_pb_column .et_pb_grid_item{margin:0 0 11.5%;width:100%}.et-db #et-boc .et-l .et_pb_column .et_pb_grid_item .on_last_row{margin-bottom:0}.et-db #et-boc .et-l .et_pb_row_1-2_1-4_1-4>.et_pb_column.et_pb_column_1_4 .et_pb_grid_item,.et-db #et-boc .et-l .et_pb_row_1-2_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6 .et_pb_grid_item,.et-db #et-boc .et-l .et_pb_row_1-4_1-4>.et_pb_column.et_pb_column_1_4 .et_pb_grid_item,.et-db #et-boc .et-l .et_pb_row_1-4_1-4_1-2>.et_pb_column.et_pb_column_1_4 .et_pb_grid_item,.et-db #et-boc .et-l .et_pb_row_1-5_1-5_3-5>.et_pb_column.et_pb_column_1_5 .et_pb_grid_item,.et-db #et-boc .et-l .et_pb_row_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6 .et_pb_grid_item,.et-db #et-boc .et-l .et_pb_row_1-6_1-6_1-6_1-2>.et_pb_column.et_pb_column_1_6 .et_pb_grid_item,.et-db #et-boc .et-l .et_pb_row_1-6_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6 .et_pb_grid_item,.et-db #et-boc .et-l .et_pb_row_3-5_1-5_1-5>.et_pb_column.et_pb_column_1_5 .et_pb_grid_item,.et-db #et-boc .et-l .et_pb_row_4col>.et_pb_column.et_pb_column_1_4 .et_pb_grid_item,.et-db #et-boc .et-l .et_pb_row_5col>.et_pb_column.et_pb_column_1_5 .et_pb_grid_item,.et-db #et-boc .et-l .et_pb_row_6col>.et_pb_column.et_pb_column_1_6 .et_pb_grid_item{margin:0 0 11.5%;width:100%}}
|
||||
.et-db #et-boc .et-l .et_pb_grid_item.first_in_row{clear:both}.et-db #et-boc .et-l .et_pb_grid_item:not(.first_in_row){clear:none}.et-db #et-boc .et-l .et_pb_grid_item.et_pb_gallery_item.first_in_row{clear:both}@media (min-width:981px){.et-db #et-boc .et-l .et_pb_grid_item{float:left;position:relative}}@media (max-width:980px){.et-db #et-boc .et-l .et_pb_column .et_pb_grid_item{margin:0 5.5% 7.5% 0;width:29.666%;clear:none;float:left}.et-db #et-boc .et-l .et_pb_column .et_pb_grid_item.last_in_row{margin-right:0}.et-db #et-boc .et-l .et_pb_row_1-2_1-4_1-4>.et_pb_column.et_pb_column_1_4 .et_pb_grid_item,.et-db #et-boc .et-l .et_pb_row_1-2_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6 .et_pb_grid_item,.et-db #et-boc .et-l .et_pb_row_1-4_1-4>.et_pb_column.et_pb_column_1_4 .et_pb_grid_item,.et-db #et-boc .et-l .et_pb_row_1-4_1-4_1-2>.et_pb_column.et_pb_column_1_4 .et_pb_grid_item,.et-db #et-boc .et-l .et_pb_row_1-5_1-5_3-5>.et_pb_column.et_pb_column_1_5 .et_pb_grid_item,.et-db #et-boc .et-l .et_pb_row_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6 .et_pb_grid_item,.et-db #et-boc .et-l .et_pb_row_1-6_1-6_1-6_1-2>.et_pb_column.et_pb_column_1_6 .et_pb_grid_item,.et-db #et-boc .et-l .et_pb_row_1-6_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6 .et_pb_grid_item,.et-db #et-boc .et-l .et_pb_row_3-5_1-5_1-5>.et_pb_column.et_pb_column_1_5 .et_pb_grid_item,.et-db #et-boc .et-l .et_pb_row_4col>.et_pb_column.et_pb_column_1_4 .et_pb_grid_item,.et-db #et-boc .et-l .et_pb_row_5col>.et_pb_column.et_pb_column_1_5 .et_pb_grid_item,.et-db #et-boc .et-l .et_pb_row_6col>.et_pb_column.et_pb_column_1_6 .et_pb_grid_item{margin:0 0 11.5%;width:100%}}@media (max-width:767px){.et-db #et-boc .et-l .et_pb_column .et_pb_grid_item{margin:0 5.5% 9.5% 0;width:47.25%;clear:none;float:left}.et-db #et-boc .et-l .et_pb_column .et_pb_grid_item:nth-child(3n){margin-right:5.5%}.et-db #et-boc .et-l .et_pb_column .et_pb_grid_item:nth-child(3n+1){clear:none}.et-db #et-boc .et-l .et_pb_column .et_pb_grid_item .last_in_row,.et-db #et-boc .et-l .et_pb_column .et_pb_grid_item:nth-child(2n){margin-right:0}.et-db #et-boc .et-l .et_pb_column .et_pb_grid_item .first_in_row,.et-db #et-boc .et-l .et_pb_column .et_pb_grid_item:nth-child(odd){clear:both}}@media (max-width:479px){.et-db #et-boc .et-l .et_pb_column .et_pb_grid_item{margin:0 0 11.5%;width:100%}.et-db #et-boc .et-l .et_pb_column .et_pb_grid_item .on_last_row{margin-bottom:0}.et-db #et-boc .et-l .et_pb_row_1-2_1-4_1-4>.et_pb_column.et_pb_column_1_4 .et_pb_grid_item,.et-db #et-boc .et-l .et_pb_row_1-2_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6 .et_pb_grid_item,.et-db #et-boc .et-l .et_pb_row_1-4_1-4>.et_pb_column.et_pb_column_1_4 .et_pb_grid_item,.et-db #et-boc .et-l .et_pb_row_1-4_1-4_1-2>.et_pb_column.et_pb_column_1_4 .et_pb_grid_item,.et-db #et-boc .et-l .et_pb_row_1-5_1-5_3-5>.et_pb_column.et_pb_column_1_5 .et_pb_grid_item,.et-db #et-boc .et-l .et_pb_row_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6 .et_pb_grid_item,.et-db #et-boc .et-l .et_pb_row_1-6_1-6_1-6_1-2>.et_pb_column.et_pb_column_1_6 .et_pb_grid_item,.et-db #et-boc .et-l .et_pb_row_1-6_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6 .et_pb_grid_item,.et-db #et-boc .et-l .et_pb_row_3-5_1-5_1-5>.et_pb_column.et_pb_column_1_5 .et_pb_grid_item,.et-db #et-boc .et-l .et_pb_row_4col>.et_pb_column.et_pb_column_1_4 .et_pb_grid_item,.et-db #et-boc .et-l .et_pb_row_5col>.et_pb_column.et_pb_column_1_5 .et_pb_grid_item,.et-db #et-boc .et-l .et_pb_row_6col>.et_pb_column.et_pb_column_1_6 .et_pb_grid_item{margin:0 0 11.5%;width:100%}}
|
@ -1 +1 @@
|
||||
.et_pb_with_border.et_pb_shop .et_shop_image>img,.et_pb_with_border.et_pb_shop .products li{border:0 solid #333}.et_pb_shop.et_pb_text_align_center .star-rating,.et_pb_shop.et_pb_text_align_justified .star-rating,.et_pb_shop.et_pb_text_align_right .star-rating{display:inline-block}@media (max-width:980px){.et_pb_shop ul.products.columns-1 li.product,.et_pb_shop ul.products.columns-2 li.product,.et_pb_shop ul.products.columns-3 li.product,.et_pb_shop ul.products.columns-4 li.product,.et_pb_shop ul.products.columns-5 li.product,.et_pb_shop ul.products.columns-6 li.product{width:48%!important;margin-right:4%!important}.et_pb_shop ul.products.columns-1 li:nth-child(2n+2),.et_pb_shop ul.products.columns-2 li:nth-child(2n+2),.et_pb_shop ul.products.columns-3 li:nth-child(2n+2),.et_pb_shop ul.products.columns-4 li:nth-child(2n+2),.et_pb_shop ul.products.columns-5 li:nth-child(2n+2),.et_pb_shop ul.products.columns-6 li:nth-child(2n+2){margin-right:0!important}.et_pb_shop ul.products.columns-1 li:nth-child(3n+1),.et_pb_shop ul.products.columns-2 li:nth-child(3n+1),.et_pb_shop ul.products.columns-3 li:nth-child(3n+1),.et_pb_shop ul.products.columns-4 li:nth-child(3n+1),.et_pb_shop ul.products.columns-5 li:nth-child(3n+1),.et_pb_shop ul.products.columns-6 li:nth-child(3n+1){clear:none}.et_pb_row_1-2_1-4_1-4>.et_pb_column.et_pb_column_1_4 .et_pb_shop_grid .woocommerce ul.products li.product,.et_pb_row_1-2_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6 .et_pb_shop_grid .woocommerce ul.products li.product,.et_pb_row_1-4_1-4>.et_pb_column.et_pb_column_1_4 .et_pb_shop_grid .woocommerce ul.products li.product,.et_pb_row_1-4_1-4_1-2>.et_pb_column.et_pb_column_1_4 .et_pb_shop_grid .woocommerce ul.products li.product,.et_pb_row_1-5_1-5_3-5>.et_pb_column.et_pb_column_1_5 .et_pb_shop_grid .woocommerce ul.products li.product,.et_pb_row_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6 .et_pb_shop_grid .woocommerce ul.products li.product,.et_pb_row_1-6_1-6_1-6_1-2>.et_pb_column.et_pb_column_1_6 .et_pb_shop_grid .woocommerce ul.products li.product,.et_pb_row_1-6_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6 .et_pb_shop_grid .woocommerce ul.products li.product,.et_pb_row_3-5_1-5_1-5>.et_pb_column.et_pb_column_1_5 .et_pb_shop_grid .woocommerce ul.products li.product,.et_pb_row_4col>.et_pb_column.et_pb_column_1_4 .et_pb_shop_grid .woocommerce ul.products li.product,.et_pb_row_5col>.et_pb_column.et_pb_column_1_5 .et_pb_shop_grid .woocommerce ul.products li.product,.et_pb_row_6col>.et_pb_column.et_pb_column_1_6 .et_pb_shop_grid .woocommerce ul.products li.product{margin:0 0 11.5%;width:100%}}@media (min-width:981px){.et_pb_shop_grid .woocommerce ul.products li.product{clear:none}.et_pb_shop.et_pb_text_align_center-tablet .star-rating,.et_pb_shop.et_pb_text_align_justified-tablet .star-rating,.et_pb_shop.et_pb_text_align_right-tablet .star-rating{display:inline-block}}@media (max-width:767px){.et_pb_shop.et_pb_text_align_center-phone .star-rating,.et_pb_shop.et_pb_text_align_justified-phone .star-rating,.et_pb_shop.et_pb_text_align_right-phone .star-rating{display:inline-block}}@media (max-width:479px){.et_pb_row_1-2_1-4_1-4>.et_pb_column.et_pb_column_1_4 .et_pb_shop_grid .woocommerce ul.products li.product,.et_pb_row_1-2_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6 .et_pb_shop_grid .woocommerce ul.products li.product,.et_pb_row_1-4_1-4>.et_pb_column.et_pb_column_1_4 .et_pb_shop_grid .woocommerce ul.products li.product,.et_pb_row_1-4_1-4_1-2>.et_pb_column.et_pb_column_1_4 .et_pb_shop_grid .woocommerce ul.products li.product,.et_pb_row_1-5_1-5_3-5>.et_pb_column.et_pb_column_1_5 .et_pb_shop_grid .woocommerce ul.products li.product,.et_pb_row_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6 .et_pb_shop_grid .woocommerce ul.products li.product,.et_pb_row_1-6_1-6_1-6_1-2>.et_pb_column.et_pb_column_1_6 .et_pb_shop_grid .woocommerce ul.products li.product,.et_pb_row_1-6_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6 .et_pb_shop_grid .woocommerce ul.products li.product,.et_pb_row_3-5_1-5_1-5>.et_pb_column.et_pb_column_1_5 .et_pb_shop_grid .woocommerce ul.products li.product,.et_pb_row_4col>.et_pb_column.et_pb_column_1_4 .et_pb_shop_grid .woocommerce ul.products li.product,.et_pb_row_5col>.et_pb_column.et_pb_column_1_5 .et_pb_shop_grid .woocommerce ul.products li.product,.et_pb_row_6col>.et_pb_column.et_pb_column_1_6 .et_pb_shop_grid .woocommerce ul.products li.product{margin:0 0 11.5%;width:100%}}
|
||||
.et_pb_with_border.et_pb_shop .et_shop_image>img,.et_pb_with_border.et_pb_shop .products li{border:0 solid #333}.et_pb_shop.et_pb_text_align_center .star-rating,.et_pb_shop.et_pb_text_align_justified .star-rating,.et_pb_shop.et_pb_text_align_right .star-rating{display:inline-block}@media (max-width:980px){.et_pb_shop ul.products.columns-1 li.product,.et_pb_shop ul.products.columns-2 li.product,.et_pb_shop ul.products.columns-3 li.product,.et_pb_shop ul.products.columns-4 li.product,.et_pb_shop ul.products.columns-5 li.product,.et_pb_shop ul.products.columns-6 li.product{width:48%!important;margin-right:4%!important}.et_pb_shop ul.products.columns-1 li:nth-child(2n+2),.et_pb_shop ul.products.columns-2 li:nth-child(2n+2),.et_pb_shop ul.products.columns-3 li:nth-child(2n+2),.et_pb_shop ul.products.columns-4 li:nth-child(2n+2),.et_pb_shop ul.products.columns-5 li:nth-child(2n+2),.et_pb_shop ul.products.columns-6 li:nth-child(2n+2){margin-right:0!important}.et_pb_shop ul.products.columns-1 li:nth-child(3n+1),.et_pb_shop ul.products.columns-2 li:nth-child(3n+1),.et_pb_shop ul.products.columns-3 li:nth-child(3n+1),.et_pb_shop ul.products.columns-4 li:nth-child(3n+1),.et_pb_shop ul.products.columns-5 li:nth-child(3n+1),.et_pb_shop ul.products.columns-6 li:nth-child(3n+1){clear:none}.et_pb_row_1-2_1-4_1-4>.et_pb_column.et_pb_column_1_4 .et_pb_shop_grid .woocommerce ul.products li.product,.et_pb_row_1-2_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6 .et_pb_shop_grid .woocommerce ul.products li.product,.et_pb_row_1-4_1-4>.et_pb_column.et_pb_column_1_4 .et_pb_shop_grid .woocommerce ul.products li.product,.et_pb_row_1-4_1-4_1-2>.et_pb_column.et_pb_column_1_4 .et_pb_shop_grid .woocommerce ul.products li.product,.et_pb_row_1-5_1-5_3-5>.et_pb_column.et_pb_column_1_5 .et_pb_shop_grid .woocommerce ul.products li.product,.et_pb_row_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6 .et_pb_shop_grid .woocommerce ul.products li.product,.et_pb_row_1-6_1-6_1-6_1-2>.et_pb_column.et_pb_column_1_6 .et_pb_shop_grid .woocommerce ul.products li.product,.et_pb_row_1-6_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6 .et_pb_shop_grid .woocommerce ul.products li.product,.et_pb_row_3-5_1-5_1-5>.et_pb_column.et_pb_column_1_5 .et_pb_shop_grid .woocommerce ul.products li.product,.et_pb_row_4col>.et_pb_column.et_pb_column_1_4 .et_pb_shop_grid .woocommerce ul.products li.product,.et_pb_row_5col>.et_pb_column.et_pb_column_1_5 .et_pb_shop_grid .woocommerce ul.products li.product,.et_pb_row_6col>.et_pb_column.et_pb_column_1_6 .et_pb_shop_grid .woocommerce ul.products li.product{margin:0 0 11.5%;width:100%}}@media (min-width:981px){.et_pb_shop_grid .woocommerce ul.products li.product{clear:none}.et_pb_shop.et_pb_text_align_center-tablet .star-rating,.et_pb_shop.et_pb_text_align_justified-tablet .star-rating,.et_pb_shop.et_pb_text_align_right-tablet .star-rating{display:inline-block}}@media (max-width:767px){.et_pb_shop.et_pb_text_align_center-phone .star-rating,.et_pb_shop.et_pb_text_align_justified-phone .star-rating,.et_pb_shop.et_pb_text_align_right-phone .star-rating{display:inline-block}}@media (max-width:479px){.et_pb_row_1-2_1-4_1-4>.et_pb_column.et_pb_column_1_4 .et_pb_shop_grid .woocommerce ul.products li.product,.et_pb_row_1-2_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6 .et_pb_shop_grid .woocommerce ul.products li.product,.et_pb_row_1-4_1-4>.et_pb_column.et_pb_column_1_4 .et_pb_shop_grid .woocommerce ul.products li.product,.et_pb_row_1-4_1-4_1-2>.et_pb_column.et_pb_column_1_4 .et_pb_shop_grid .woocommerce ul.products li.product,.et_pb_row_1-5_1-5_3-5>.et_pb_column.et_pb_column_1_5 .et_pb_shop_grid .woocommerce ul.products li.product,.et_pb_row_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6 .et_pb_shop_grid .woocommerce ul.products li.product,.et_pb_row_1-6_1-6_1-6_1-2>.et_pb_column.et_pb_column_1_6 .et_pb_shop_grid .woocommerce ul.products li.product,.et_pb_row_1-6_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6 .et_pb_shop_grid .woocommerce ul.products li.product,.et_pb_row_3-5_1-5_1-5>.et_pb_column.et_pb_column_1_5 .et_pb_shop_grid .woocommerce ul.products li.product,.et_pb_row_4col>.et_pb_column.et_pb_column_1_4 .et_pb_shop_grid .woocommerce ul.products li.product,.et_pb_row_5col>.et_pb_column.et_pb_column_1_5 .et_pb_shop_grid .woocommerce ul.products li.product,.et_pb_row_6col>.et_pb_column.et_pb_column_1_6 .et_pb_shop_grid .woocommerce ul.products li.product{margin:0 0 11.5%;width:100%}}.et_pb_shop_no_image .et_shop_image,.et_pb_shop_no_name .woocommerce-loop-product__title,.et_pb_shop_no_price .price,.et_pb_shop_no_rating .star-rating,.et_pb_shop_no_sale_badge .onsale{display:none}.et_pb_shop span.onsale{border-style:solid}.et_pb_shop_no_price ul.products li.product .price,.et_pb_shop_no_rating .products .star-rating{display:none}
|
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
.et_pb_member_social_links a:hover{color:#2ea3f2}.et_pb_team_member{word-wrap:break-word}.et_pb_with_border .et_pb_team_member_image{border:0 solid #333}.et_pb_team_member_image{float:left;max-width:320px;margin-right:30px;display:table-cell;line-height:0!important;position:relative}.et_pb_column .et_pb_team_member_image.et-svg{width:320px;max-width:100%}.et_pb_team_member_description{display:table-cell;vertical-align:top;position:relative}.et_pb_team_member_no_image .et_pb_team_member_description{display:block!important}.et_pb_member_position{color:#aaa;padding-bottom:7px}.et_pb_column_1_2 .et_pb_team_member_image,.et_pb_column_1_3 .et_pb_team_member_image,.et_pb_column_1_4 .et_pb_team_member_image,.et_pb_column_1_5 .et_pb_team_member_image,.et_pb_column_1_6 .et_pb_team_member_image,.et_pb_column_2_5 .et_pb_team_member_image,.et_pb_column_3_5 .et_pb_team_member_image,.et_pb_column_3_8 .et_pb_team_member_image{float:none;display:block;width:auto;margin:0 0 12px;text-align:center}.et_pb_column_1_2 .et_pb_team_member_description,.et_pb_column_1_3 .et_pb_team_member_description,.et_pb_column_1_4 .et_pb_team_member_description,.et_pb_column_1_5 .et_pb_team_member_description,.et_pb_column_1_6 .et_pb_team_member_description,.et_pb_column_2_5 .et_pb_team_member_description,.et_pb_column_3_4 .et_pb_team_member_description,.et_pb_column_3_5 .et_pb_team_member_description,.et_pb_column_3_8 .et_pb_team_member_description{display:block}.entry-content .et_pb_member_social_links{list-style-type:none!important;margin-top:20px;padding:0}.et_pb_member_social_links li{display:inline-block;margin-right:15px}.et_pb_member_social_links a{display:inline-block;font-size:16px;position:relative;text-align:center;transition:color .3s ease 0s;color:#b2b2b2;text-decoration:none}.et_pb_facebook_icon:before{content:"\E093"}.et_pb_twitter_icon:before{content:"\E094"}.et_pb_google_icon:before{content:"\E096"}.et_pb_linkedin_icon:before{content:"\E09D"}.et_pb_member_social_links span{display:none}@media (min-width:768px) and (max-width:980px){.et_pb_column .et_pb_team_member_image{float:left;width:auto;margin:0 30px 12px 0;text-align:left}.et_pb_row_4col .et_pb_column.et_pb_column_1_4 .et_pb_team_member_image{float:none;width:auto;max-width:none;margin:0 0 12px;text-align:center}.et_pb_column .et_pb_team_member_description{display:table-cell}}@media (min-width:768px) and (max-width:980px){.et_pb_row_4col .et_pb_column.et_pb_column_1_4 .et_pb_team_member_image{float:none;width:auto;max-width:none;margin:0 0 12px;text-align:center}.et_pb_column .et_pb_team_member_description{display:table-cell}}@media (max-width:767px){.et_pb_team_member_image{float:none;width:auto;margin:0 0 12px;display:block;text-align:center}.et_pb_team_member_description{display:block}}
|
||||
.et_pb_member_social_links a:hover{color:#2ea3f2}.et_pb_team_member{word-wrap:break-word}.et_pb_with_border .et_pb_team_member_image{border:0 solid #333}.et_pb_team_member_image{max-width:320px;margin-right:30px;line-height:0!important;position:relative}.et_pb_column .et_pb_team_member_image.et-svg{width:320px;max-width:100%}.et_pb_team_member_no_image .et_pb_team_member_description{display:block!important}.et_pb_member_position{color:#aaa;padding-bottom:7px}.et_pb_column_1_2 .et_pb_team_member_image,.et_pb_column_1_3 .et_pb_team_member_image,.et_pb_column_1_4 .et_pb_team_member_image,.et_pb_column_1_5 .et_pb_team_member_image,.et_pb_column_1_6 .et_pb_team_member_image,.et_pb_column_2_5 .et_pb_team_member_image,.et_pb_column_3_5 .et_pb_team_member_image,.et_pb_column_3_8 .et_pb_team_member_image{display:block;width:auto;margin:0 0 12px;text-align:center}.et_pb_column_1_2 .et_pb_team_member,.et_pb_column_1_2 .et_pb_team_member_description,.et_pb_column_1_3 .et_pb_team_member,.et_pb_column_1_3 .et_pb_team_member_description,.et_pb_column_1_4 .et_pb_team_member,.et_pb_column_1_4 .et_pb_team_member_description,.et_pb_column_1_5 .et_pb_team_member,.et_pb_column_1_5 .et_pb_team_member_description,.et_pb_column_1_6 .et_pb_team_member,.et_pb_column_1_6 .et_pb_team_member_description,.et_pb_column_2_5 .et_pb_team_member,.et_pb_column_2_5 .et_pb_team_member_description,.et_pb_column_3_4 .et_pb_team_member,.et_pb_column_3_4 .et_pb_team_member_description,.et_pb_column_3_5 .et_pb_team_member,.et_pb_column_3_5 .et_pb_team_member_description,.et_pb_column_3_8 .et_pb_team_member,.et_pb_column_3_8 .et_pb_team_member_description{display:block}.entry-content .et_pb_member_social_links{list-style-type:none!important;margin-top:20px;padding:0}.et_pb_member_social_links li{display:inline-block;margin-right:15px}.et_pb_member_social_links a{display:inline-block;font-size:16px;position:relative;text-align:center;transition:color .3s ease 0s;color:#b2b2b2;text-decoration:none}.et_pb_facebook_icon:before{content:"\E093"}.et_pb_twitter_icon:before{content:"\E094"}.et_pb_google_icon:before{content:"\E096"}.et_pb_linkedin_icon:before{content:"\E09D"}.et_pb_member_social_links span{display:none}@media (min-width:768px) and (max-width:980px){.et_pb_column .et_pb_team_member_image{width:auto;margin:0 30px 12px 0;text-align:left}}@media (min-width:768px) and (max-width:980px){.et_pb_row_4col .et_pb_column.et_pb_column_1_4 .et_pb_team_member_image{width:auto;max-width:none;margin:0 0 12px;text-align:center}}@media (max-width:767px){.et_pb_team_member_image{width:auto;margin:0 0 12px;display:block;text-align:center}.et_pb_team_member_description{display:block}}@media (min-width:768px){.et_pb_team_member_description{-ms-flex:1;flex:1}.et_pb_team_member{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}}
|
@ -1 +1 @@
|
||||
.et-db #et-boc .et-l .et_pb_member_social_links a:hover{color:#2ea3f2}.et-db #et-boc .et-l .et_pb_team_member{word-wrap:break-word}.et-db #et-boc .et-l .et_pb_with_border .et_pb_team_member_image{border:0 solid #333}.et-db #et-boc .et-l .et_pb_team_member_image{float:left;max-width:320px;margin-right:30px;display:table-cell;line-height:0!important;position:relative}.et-db #et-boc .et-l .et_pb_column .et_pb_team_member_image.et-svg{width:320px;max-width:100%}.et-db #et-boc .et-l .et_pb_team_member_description{display:table-cell;vertical-align:top;position:relative}.et-db #et-boc .et-l .et_pb_team_member_no_image .et_pb_team_member_description{display:block!important}.et-db #et-boc .et-l .et_pb_member_position{color:#aaa;padding-bottom:7px}.et-db #et-boc .et-l .et_pb_column_1_2 .et_pb_team_member_image,.et-db #et-boc .et-l .et_pb_column_1_3 .et_pb_team_member_image,.et-db #et-boc .et-l .et_pb_column_1_4 .et_pb_team_member_image,.et-db #et-boc .et-l .et_pb_column_1_5 .et_pb_team_member_image,.et-db #et-boc .et-l .et_pb_column_1_6 .et_pb_team_member_image,.et-db #et-boc .et-l .et_pb_column_2_5 .et_pb_team_member_image,.et-db #et-boc .et-l .et_pb_column_3_5 .et_pb_team_member_image,.et-db #et-boc .et-l .et_pb_column_3_8 .et_pb_team_member_image{float:none;display:block;width:auto;margin:0 0 12px;text-align:center}.et-db #et-boc .et-l .et_pb_column_1_2 .et_pb_team_member_description,.et-db #et-boc .et-l .et_pb_column_1_3 .et_pb_team_member_description,.et-db #et-boc .et-l .et_pb_column_1_4 .et_pb_team_member_description,.et-db #et-boc .et-l .et_pb_column_1_5 .et_pb_team_member_description,.et-db #et-boc .et-l .et_pb_column_1_6 .et_pb_team_member_description,.et-db #et-boc .et-l .et_pb_column_2_5 .et_pb_team_member_description,.et-db #et-boc .et-l .et_pb_column_3_4 .et_pb_team_member_description,.et-db #et-boc .et-l .et_pb_column_3_5 .et_pb_team_member_description,.et-db #et-boc .et-l .et_pb_column_3_8 .et_pb_team_member_description{display:block}.et-db #et-boc .et-l .entry-content .et_pb_member_social_links{list-style-type:none!important;margin-top:20px;padding:0}.et-db #et-boc .et-l .et_pb_member_social_links li{display:inline-block;margin-right:15px}.et-db #et-boc .et-l .et_pb_member_social_links a{display:inline-block;font-size:16px;position:relative;text-align:center;transition:color .3s ease 0s;color:#b2b2b2;text-decoration:none}.et-db #et-boc .et-l .et_pb_facebook_icon:before{content:"\E093"}.et-db #et-boc .et-l .et_pb_twitter_icon:before{content:"\E094"}.et-db #et-boc .et-l .et_pb_google_icon:before{content:"\E096"}.et-db #et-boc .et-l .et_pb_linkedin_icon:before{content:"\E09D"}.et-db #et-boc .et-l .et_pb_member_social_links span{display:none}@media (min-width:768px) and (max-width:980px){.et-db #et-boc .et-l .et_pb_column .et_pb_team_member_image{float:left;width:auto;margin:0 30px 12px 0;text-align:left}.et-db #et-boc .et-l .et_pb_row_4col .et_pb_column.et_pb_column_1_4 .et_pb_team_member_image{float:none;width:auto;max-width:none;margin:0 0 12px;text-align:center}.et-db #et-boc .et-l .et_pb_column .et_pb_team_member_description{display:table-cell}}@media (min-width:768px) and (max-width:980px){.et-db #et-boc .et-l .et_pb_row_4col .et_pb_column.et_pb_column_1_4 .et_pb_team_member_image{float:none;width:auto;max-width:none;margin:0 0 12px;text-align:center}.et-db #et-boc .et-l .et_pb_column .et_pb_team_member_description{display:table-cell}}@media (max-width:767px){.et-db #et-boc .et-l .et_pb_team_member_image{float:none;width:auto;margin:0 0 12px;display:block;text-align:center}.et-db #et-boc .et-l .et_pb_team_member_description{display:block}}
|
||||
.et-db #et-boc .et-l .et_pb_member_social_links a:hover{color:#2ea3f2}.et-db #et-boc .et-l .et_pb_team_member{word-wrap:break-word}.et-db #et-boc .et-l .et_pb_with_border .et_pb_team_member_image{border:0 solid #333}.et-db #et-boc .et-l .et_pb_team_member_image{max-width:320px;margin-right:30px;line-height:0!important;position:relative}.et-db #et-boc .et-l .et_pb_column .et_pb_team_member_image.et-svg{width:320px;max-width:100%}.et-db #et-boc .et-l .et_pb_team_member_no_image .et_pb_team_member_description{display:block!important}.et-db #et-boc .et-l .et_pb_member_position{color:#aaa;padding-bottom:7px}.et-db #et-boc .et-l .et_pb_column_1_2 .et_pb_team_member_image,.et-db #et-boc .et-l .et_pb_column_1_3 .et_pb_team_member_image,.et-db #et-boc .et-l .et_pb_column_1_4 .et_pb_team_member_image,.et-db #et-boc .et-l .et_pb_column_1_5 .et_pb_team_member_image,.et-db #et-boc .et-l .et_pb_column_1_6 .et_pb_team_member_image,.et-db #et-boc .et-l .et_pb_column_2_5 .et_pb_team_member_image,.et-db #et-boc .et-l .et_pb_column_3_5 .et_pb_team_member_image,.et-db #et-boc .et-l .et_pb_column_3_8 .et_pb_team_member_image{display:block;width:auto;margin:0 0 12px;text-align:center}.et-db #et-boc .et-l .et_pb_column_1_2 .et_pb_team_member,.et-db #et-boc .et-l .et_pb_column_1_2 .et_pb_team_member_description,.et-db #et-boc .et-l .et_pb_column_1_3 .et_pb_team_member,.et-db #et-boc .et-l .et_pb_column_1_3 .et_pb_team_member_description,.et-db #et-boc .et-l .et_pb_column_1_4 .et_pb_team_member,.et-db #et-boc .et-l .et_pb_column_1_4 .et_pb_team_member_description,.et-db #et-boc .et-l .et_pb_column_1_5 .et_pb_team_member,.et-db #et-boc .et-l .et_pb_column_1_5 .et_pb_team_member_description,.et-db #et-boc .et-l .et_pb_column_1_6 .et_pb_team_member,.et-db #et-boc .et-l .et_pb_column_1_6 .et_pb_team_member_description,.et-db #et-boc .et-l .et_pb_column_2_5 .et_pb_team_member,.et-db #et-boc .et-l .et_pb_column_2_5 .et_pb_team_member_description,.et-db #et-boc .et-l .et_pb_column_3_4 .et_pb_team_member,.et-db #et-boc .et-l .et_pb_column_3_4 .et_pb_team_member_description,.et-db #et-boc .et-l .et_pb_column_3_5 .et_pb_team_member,.et-db #et-boc .et-l .et_pb_column_3_5 .et_pb_team_member_description,.et-db #et-boc .et-l .et_pb_column_3_8 .et_pb_team_member,.et-db #et-boc .et-l .et_pb_column_3_8 .et_pb_team_member_description{display:block}.et-db #et-boc .et-l .entry-content .et_pb_member_social_links{list-style-type:none!important;margin-top:20px;padding:0}.et-db #et-boc .et-l .et_pb_member_social_links li{display:inline-block;margin-right:15px}.et-db #et-boc .et-l .et_pb_member_social_links a{display:inline-block;font-size:16px;position:relative;text-align:center;transition:color .3s ease 0s;color:#b2b2b2;text-decoration:none}.et-db #et-boc .et-l .et_pb_facebook_icon:before{content:"\E093"}.et-db #et-boc .et-l .et_pb_twitter_icon:before{content:"\E094"}.et-db #et-boc .et-l .et_pb_google_icon:before{content:"\E096"}.et-db #et-boc .et-l .et_pb_linkedin_icon:before{content:"\E09D"}.et-db #et-boc .et-l .et_pb_member_social_links span{display:none}@media (min-width:768px) and (max-width:980px){.et-db #et-boc .et-l .et_pb_column .et_pb_team_member_image{width:auto;margin:0 30px 12px 0;text-align:left}}@media (min-width:768px) and (max-width:980px){.et-db #et-boc .et-l .et_pb_row_4col .et_pb_column.et_pb_column_1_4 .et_pb_team_member_image{width:auto;max-width:none;margin:0 0 12px;text-align:center}}@media (max-width:767px){.et-db #et-boc .et-l .et_pb_team_member_image{width:auto;margin:0 0 12px;display:block;text-align:center}.et-db #et-boc .et-l .et_pb_team_member_description{display:block}}@media (min-width:768px){.et-db #et-boc .et-l .et_pb_team_member_description{-ms-flex:1;flex:1}.et-db #et-boc .et-l .et_pb_team_member{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}}
|
@ -1 +1 @@
|
||||
.et_pb_wc_add_to_cart form.cart .button,.et_pb_wc_add_to_cart form.cart div.quantity{float:none!important;display:inline-block;vertical-align:middle}.et_pb_wc_add_to_cart form.cart{margin-top:0!important;margin-bottom:0!important}.et_pb_wc_add_to_cart form.cart .variations td .label{font-weight:700}.et_pb_wc_add_to_cart form.cart .variations td select{border-style:solid!important;border-width:0;-moz-appearance:none;-webkit-appearance:none;width:100%}.et_pb_wc_add_to_cart form.cart .variations td.value{position:relative}.et_pb_wc_add_to_cart form.cart .variations td.value span:after{border:6px solid;border-color:#666 transparent transparent;content:"";display:block;height:0;margin-top:3px;pointer-events:none;position:absolute;right:10px;transform:translateY(-145%);width:0}.et_pb_wc_add_to_cart form.cart .variations td.value .reset_variations{float:right;margin-top:1em}.et_pb_wc_add_to_cart.et_pb_hide_input_quantity .quantity,.et_pb_wc_add_to_cart.et_pb_hide_input_quantity .woocommerce-grouped-product-list-item__quantity{display:none!important}.et_pb_wc_add_to_cart.et_pb_hide_stock .stock{display:none}.et_pb_wc_add_to_cart .quantity input.qty{border:0 solid #333!important;width:auto;max-width:3.631em}.et_pb_wc_add_to_cart{word-wrap:break-word}.et-dynamic-content-woo--product_additional_information.woocommerce h2{color:inherit!important;font-family:inherit;font-weight:inherit;font-style:inherit;font-size:inherit;letter-spacing:inherit;line-height:inherit;text-align:inherit;text-shadow:inherit}
|
||||
.et_pb_wc_add_to_cart form.cart .button,.et_pb_wc_add_to_cart form.cart div.quantity{float:none!important;display:inline-block;vertical-align:middle}.et_pb_wc_add_to_cart form.cart{margin-top:0!important;margin-bottom:0!important}.et_pb_wc_add_to_cart form.cart .variations td .label{font-weight:700}.et_pb_wc_add_to_cart form.cart .variations td select{border-style:solid!important;border-width:0;-moz-appearance:none;-webkit-appearance:none;width:100%}.et_pb_wc_add_to_cart form.cart .variations td.value{position:relative}.et_pb_wc_add_to_cart form.cart .variations td.value span:after{border:6px solid;border-color:#666 transparent transparent;content:"";display:block;height:0;margin-top:3px;pointer-events:none;position:absolute;right:10px;transform:translateY(-145%);width:0}.et_pb_wc_add_to_cart form.cart .variations td.value .reset_variations{float:right;margin-top:1em}.et_pb_wc_add_to_cart.et_pb_hide_input_quantity .quantity,.et_pb_wc_add_to_cart.et_pb_hide_input_quantity .woocommerce-grouped-product-list-item__quantity{display:none!important}.et_pb_wc_add_to_cart.et_pb_hide_stock .stock{display:none}.et_pb_wc_add_to_cart .quantity input.qty{border:0 solid #333!important;width:auto;max-width:4.3em}.et_pb_wc_add_to_cart.et_pb_fields_label_position_stacked form.cart .variations td{display:block}.et_pb_wc_add_to_cart.et_pb_fields_label_position_stacked form.cart .variations td.label{padding-bottom:.6em!important}.et_pb_wc_add_to_cart.et_pb_fields_label_position_stacked form.cart div.quantity{display:block;margin:0 0 20px!important}.et_pb_wc_add_to_cart{word-wrap:break-word}.et-dynamic-content-woo--product_additional_information.woocommerce h2{color:inherit!important;font-family:inherit;font-weight:inherit;font-style:inherit;font-size:inherit;letter-spacing:inherit;line-height:inherit;text-align:inherit;text-shadow:inherit}
|
@ -1 +1 @@
|
||||
.et-db #et-boc .et-l .et_pb_wc_add_to_cart form.cart .button,.et-db #et-boc .et-l .et_pb_wc_add_to_cart form.cart div.quantity{float:none!important;display:inline-block;vertical-align:middle}.et-db #et-boc .et-l .et_pb_wc_add_to_cart form.cart{margin-top:0!important;margin-bottom:0!important}.et-db #et-boc .et-l .et_pb_wc_add_to_cart form.cart .variations td .label{font-weight:700}.et-db #et-boc .et-l .et_pb_wc_add_to_cart form.cart .variations td select{border-style:solid!important;border-width:0;-moz-appearance:none;-webkit-appearance:none;width:100%}.et-db #et-boc .et-l .et_pb_wc_add_to_cart form.cart .variations td.value{position:relative}.et-db #et-boc .et-l .et_pb_wc_add_to_cart form.cart .variations td.value span:after{border:6px solid;border-color:#666 transparent transparent;content:"";display:block;height:0;margin-top:3px;pointer-events:none;position:absolute;right:10px;transform:translateY(-145%);width:0}.et-db #et-boc .et-l .et_pb_wc_add_to_cart form.cart .variations td.value .reset_variations{float:right;margin-top:1em}.et-db #et-boc .et-l .et_pb_wc_add_to_cart.et_pb_hide_input_quantity .quantity,.et-db #et-boc .et-l .et_pb_wc_add_to_cart.et_pb_hide_input_quantity .woocommerce-grouped-product-list-item__quantity{display:none!important}.et-db #et-boc .et-l .et_pb_wc_add_to_cart.et_pb_hide_stock .stock{display:none}.et-db #et-boc .et-l .et_pb_wc_add_to_cart .quantity input.qty{border:0 solid #333!important;width:auto;max-width:3.631em}.et-db #et-boc .et-l .et_pb_wc_add_to_cart{word-wrap:break-word}.et-db #et-boc .et-l .et-dynamic-content-woo--product_additional_information.woocommerce h2{color:inherit!important;font-family:inherit;font-weight:inherit;font-style:inherit;font-size:inherit;letter-spacing:inherit;line-height:inherit;text-align:inherit;text-shadow:inherit}
|
||||
.et-db #et-boc .et-l .et_pb_wc_add_to_cart form.cart .button,.et-db #et-boc .et-l .et_pb_wc_add_to_cart form.cart div.quantity{float:none!important;display:inline-block;vertical-align:middle}.et-db #et-boc .et-l .et_pb_wc_add_to_cart form.cart{margin-top:0!important;margin-bottom:0!important}.et-db #et-boc .et-l .et_pb_wc_add_to_cart form.cart .variations td .label{font-weight:700}.et-db #et-boc .et-l .et_pb_wc_add_to_cart form.cart .variations td select{border-style:solid!important;border-width:0;-moz-appearance:none;-webkit-appearance:none;width:100%}.et-db #et-boc .et-l .et_pb_wc_add_to_cart form.cart .variations td.value{position:relative}.et-db #et-boc .et-l .et_pb_wc_add_to_cart form.cart .variations td.value span:after{border:6px solid;border-color:#666 transparent transparent;content:"";display:block;height:0;margin-top:3px;pointer-events:none;position:absolute;right:10px;transform:translateY(-145%);width:0}.et-db #et-boc .et-l .et_pb_wc_add_to_cart form.cart .variations td.value .reset_variations{float:right;margin-top:1em}.et-db #et-boc .et-l .et_pb_wc_add_to_cart.et_pb_hide_input_quantity .quantity,.et-db #et-boc .et-l .et_pb_wc_add_to_cart.et_pb_hide_input_quantity .woocommerce-grouped-product-list-item__quantity{display:none!important}.et-db #et-boc .et-l .et_pb_wc_add_to_cart.et_pb_hide_stock .stock{display:none}.et-db #et-boc .et-l .et_pb_wc_add_to_cart .quantity input.qty{border:0 solid #333!important;width:auto;max-width:4.3em}.et-db #et-boc .et-l .et_pb_wc_add_to_cart.et_pb_fields_label_position_stacked form.cart .variations td{display:block}.et-db #et-boc .et-l .et_pb_wc_add_to_cart.et_pb_fields_label_position_stacked form.cart .variations td.label{padding-bottom:.6em!important}.et-db #et-boc .et-l .et_pb_wc_add_to_cart.et_pb_fields_label_position_stacked form.cart div.quantity{display:block;margin:0 0 20px!important}.et-db #et-boc .et-l .et_pb_wc_add_to_cart{word-wrap:break-word}.et-db #et-boc .et-l .et-dynamic-content-woo--product_additional_information.woocommerce h2{color:inherit!important;font-family:inherit;font-weight:inherit;font-style:inherit;font-size:inherit;letter-spacing:inherit;line-height:inherit;text-align:inherit;text-shadow:inherit}
|
@ -1 +1 @@
|
||||
.et_pb_wc_additional_info.et_pb_hide_title h2{display:none}.et_pb_wc_additional_info{word-wrap:break-word}.et-dynamic-content-woo--product_additional_information.woocommerce h2{color:inherit!important;font-family:inherit;font-weight:inherit;font-style:inherit;font-size:inherit;letter-spacing:inherit;line-height:inherit;text-align:inherit;text-shadow:inherit}
|
||||
.et_pb_wc_additional_info.et_pb_hide_title h2{display:none}.et_pb_wc_additional_info table.shop_attributes{border-style:dotted;border-color:rgba(0,0,0,.1);border-collapse:separate}.et_pb_wc_additional_info{word-wrap:break-word}.et-dynamic-content-woo--product_additional_information.woocommerce h2{color:inherit!important;font-family:inherit;font-weight:inherit;font-style:inherit;font-size:inherit;letter-spacing:inherit;line-height:inherit;text-align:inherit;text-shadow:inherit}
|
@ -1 +1 @@
|
||||
.et-db #et-boc .et-l .et_pb_wc_additional_info.et_pb_hide_title h2{display:none}.et-db #et-boc .et-l .et_pb_wc_additional_info{word-wrap:break-word}.et-db #et-boc .et-l .et-dynamic-content-woo--product_additional_information.woocommerce h2{color:inherit!important;font-family:inherit;font-weight:inherit;font-style:inherit;font-size:inherit;letter-spacing:inherit;line-height:inherit;text-align:inherit;text-shadow:inherit}
|
||||
.et-db #et-boc .et-l .et_pb_wc_additional_info.et_pb_hide_title h2{display:none}.et-db #et-boc .et-l .et_pb_wc_additional_info table.shop_attributes{border-style:dotted;border-color:rgba(0,0,0,.1);border-collapse:separate}.et-db #et-boc .et-l .et_pb_wc_additional_info{word-wrap:break-word}.et-db #et-boc .et-l .et-dynamic-content-woo--product_additional_information.woocommerce h2{color:inherit!important;font-family:inherit;font-weight:inherit;font-style:inherit;font-size:inherit;letter-spacing:inherit;line-height:inherit;text-align:inherit;text-shadow:inherit}
|
@ -1 +1 @@
|
||||
.et_pb_wc_cart_notice .woocommerce-error{background-color:transparent;margin:0}.et_pb_wc_cart_notice .wc-forward{border-width:0;border-style:solid}.et_pb_wc_cart_notice .woocommerce-message{margin:0;border:0 solid #333!important}
|
||||
.et_pb_wc_cart_notice .wc-forward{border-width:0;border-style:solid}.et_pb_wc_cart_notice .woocommerce-message{margin:0}.et_pb_wc_cart_notice .woocommerce-message .showlogin{color:#fff}.et_pb_wc_cart_notice .woocommerce-error,.et_pb_wc_cart_notice .woocommerce-info,.et_pb_wc_cart_notice .woocommerce-message{border:0 solid #333!important}.et_pb_wc_cart_notice.et_pb_bg_layout_dark{color:inherit!important}.et-fb.et_pb_wc_cart_notice .woocommerce-form-coupon,.et-fb .et_pb_wc_cart_notice .woocommerce-form-coupon,.et-fb.et_pb_wc_cart_notice .woocommerce-form-login,.et-fb .et_pb_wc_cart_notice .woocommerce-form-login,.et-tb.et_pb_wc_cart_notice .woocommerce-form-coupon,.et-tb .et_pb_wc_cart_notice .woocommerce-form-coupon,.et-tb.et_pb_wc_cart_notice .woocommerce-form-login,.et-tb .et_pb_wc_cart_notice .woocommerce-form-login{display:block!important}.et_pb_wc_cart_notice.et_pb_fields_layout_fullwidth form .form-row{width:100%;float:none}.woocommerce-order-received .et_pb_wc_cart_notice{display:none}.et_pb_wc_cart_notice .woocommerce-form-login .woocommerce-form-login__submit{float:none}.et_pb_wc_cart_notice form .form-row{padding:0;margin-bottom:12px}.et_pb_wc_cart_notice.et_pb_hide_module{display:none}@media (max-width:980px){.et_pb_wc_cart_notice.et_pb_fields_layout_2_column form .form-row{width:47%!important;float:left!important}}
|
@ -1 +1 @@
|
||||
.et-db #et-boc .et-l .et_pb_wc_cart_notice .woocommerce-error{background-color:transparent;margin:0}.et-db #et-boc .et-l .et_pb_wc_cart_notice .wc-forward{border-width:0;border-style:solid}.et-db #et-boc .et-l .et_pb_wc_cart_notice .woocommerce-message{margin:0;border:0 solid #333!important}
|
||||
.et-db #et-boc .et-l .et_pb_wc_cart_notice .wc-forward{border-width:0;border-style:solid}.et-db #et-boc .et-l .et_pb_wc_cart_notice .woocommerce-message{margin:0}.et-db #et-boc .et-l .et_pb_wc_cart_notice .woocommerce-message .showlogin{color:#fff}.et-db #et-boc .et-l .et_pb_wc_cart_notice .woocommerce-error,.et-db #et-boc .et-l .et_pb_wc_cart_notice .woocommerce-info,.et-db #et-boc .et-l .et_pb_wc_cart_notice .woocommerce-message{border:0 solid #333!important}.et-db #et-boc .et-l .et_pb_wc_cart_notice.et_pb_bg_layout_dark{color:inherit!important}.et-fb.et-db #et-boc .et-l .et_pb_wc_cart_notice .woocommerce-form-coupon,.et-fb .et-db #et-boc .et-l .et_pb_wc_cart_notice .woocommerce-form-coupon,.et-fb.et-db #et-boc .et-l .et_pb_wc_cart_notice .woocommerce-form-login,.et-fb .et-db #et-boc .et-l .et_pb_wc_cart_notice .woocommerce-form-login,.et-tb.et-db #et-boc .et-l .et_pb_wc_cart_notice .woocommerce-form-coupon,.et-tb .et-db #et-boc .et-l .et_pb_wc_cart_notice .woocommerce-form-coupon,.et-tb.et-db #et-boc .et-l .et_pb_wc_cart_notice .woocommerce-form-login,.et-tb .et-db #et-boc .et-l .et_pb_wc_cart_notice .woocommerce-form-login{display:block!important}.et-db #et-boc .et-l .et_pb_wc_cart_notice.et_pb_fields_layout_fullwidth form .form-row{width:100%;float:none}.woocommerce-order-received .et-db #et-boc .et-l .et_pb_wc_cart_notice{display:none}.et-db #et-boc .et-l .et_pb_wc_cart_notice .woocommerce-form-login .woocommerce-form-login__submit{float:none}.et-db #et-boc .et-l .et_pb_wc_cart_notice form .form-row{padding:0;margin-bottom:12px}.et-db #et-boc .et-l .et_pb_wc_cart_notice.et_pb_hide_module{display:none}@media (max-width:980px){.et-db #et-boc .et-l .et_pb_wc_cart_notice.et_pb_fields_layout_2_column form .form-row{width:47%!important;float:left!important}}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
.et_pb_wc_cart_totals .select2-container--default .select2-selection--single,.et_pb_wc_cart_totals form .form-row input.input-text,.et_pb_wc_cart_totals form .form-row textarea{height:auto}.et_pb_wc_cart_totals.et_pb_wc_cart_empty{display:none}
|
||||
.et_pb_wc_cart_totals form .form-row{padding:0;margin-bottom:12px}.et_pb_wc_cart_totals .select2-container--default .select2-selection--single,.et_pb_wc_cart_totals form .form-row input.input-text,.et_pb_wc_cart_totals form .form-row textarea{width:-moz-available;width:fill-available}.et_pb_wc_cart_totals table.shop_table{table-layout:fixed}.et_pb_wc_cart_totals .select2-container--default .select2-selection--single,.et_pb_wc_cart_totals form .form-row input.input-text,.et_pb_wc_cart_totals form .form-row textarea{height:auto}.et_pb_wc_cart_totals.et_pb_wc_cart_empty{display:none}@media (max-width:768px){.et_pb_wc_cart_totals span.select2-container[dir=ltr] .select2-selection__rendered{text-align:left}}
|
@ -1 +1 @@
|
||||
.et-db #et-boc .et-l .et_pb_wc_cart_totals .select2-container--default .select2-selection--single,.et-db #et-boc .et-l .et_pb_wc_cart_totals form .form-row input.input-text,.et-db #et-boc .et-l .et_pb_wc_cart_totals form .form-row textarea{height:auto}.et-db #et-boc .et-l .et_pb_wc_cart_totals.et_pb_wc_cart_empty{display:none}
|
||||
.et-db #et-boc .et-l .et_pb_wc_cart_totals form .form-row{padding:0;margin-bottom:12px}.et-db #et-boc .et-l .et_pb_wc_cart_totals .select2-container--default .select2-selection--single,.et-db #et-boc .et-l .et_pb_wc_cart_totals form .form-row input.input-text,.et-db #et-boc .et-l .et_pb_wc_cart_totals form .form-row textarea{width:-moz-available;width:fill-available}.et-db #et-boc .et-l .et_pb_wc_cart_totals table.shop_table{table-layout:fixed}.et-db #et-boc .et-l .et_pb_wc_cart_totals .select2-container--default .select2-selection--single,.et-db #et-boc .et-l .et_pb_wc_cart_totals form .form-row input.input-text,.et-db #et-boc .et-l .et_pb_wc_cart_totals form .form-row textarea{height:auto}.et-db #et-boc .et-l .et_pb_wc_cart_totals.et_pb_wc_cart_empty{display:none}@media (max-width:768px){.et-db #et-boc .et-l .et_pb_wc_cart_totals span.select2-container[dir=ltr] .select2-selection__rendered{text-align:left}}
|
@ -1 +1 @@
|
||||
.et_pb_wc_checkout_billing #order_review_heading,.et_pb_wc_checkout_billing .col2-set .col-2{display:none}.et_pb_wc_checkout_billing .col2-set .col-1{width:100%}.et_pb_wc_checkout_billing.et_pb_fields_layout_fullwidth form .form-row-first,.et_pb_wc_checkout_billing.et_pb_fields_layout_fullwidth form .form-row-last{float:none;width:inherit}.et_pb_wc_checkout_billing.et_pb_fields_layout_2_column .form-row:nth-child(odd){float:left;width:47%;overflow:visible;clear:left}.et_pb_wc_checkout_billing.et_pb_fields_layout_2_column .form-row:nth-child(2n){float:right;width:47%;overflow:visible;clear:right}.et_pb_wc_checkout_billing.et_pb_fields_layout_2_column .form-row-wide{clear:none}.et_pb_wc_checkout_billing .woocommerce-error{border:0 solid #333!important}.et_pb_wc_checkout_billing.et_pb_text_align_right input.input-text{text-align:right}.et_pb_wc_checkout_billing.et_pb_text_align_center input.input-text{text-align:center}.et_pb_wc_checkout_billing .woocommerce-form-login-toggle,.et_pb_wc_checkout_billing .woocommerce-notices-wrapper{display:none}.et_pb_wc_checkout_billing .select2-container--default .select2-selection--single,.et_pb_wc_checkout_billing form .form-row input.input-text,.et_pb_wc_checkout_billing form .form-row textarea{height:auto}.et_pb_column_4_4 .et_pb_wc_checkout_billing.et_pb_fields_layout_2_column #billing_city_field{margin-bottom:1px}.et_pb_column_4_4 .et_pb_wc_checkout_billing.et_pb_fields_layout_2_column .country_select:not(.select2-hidden-accessible),.et_pb_column_4_4 .et_pb_wc_checkout_billing.et_pb_fields_layout_2_column .state_select:not(.select2-hidden-accessible){margin-bottom:20px}.et_pb_column_4_4 .et_pb_wc_checkout_billing.et_pb_fields_layout_2_column #billing_country_field{margin-bottom:9px}.et_pb_column_4_4 .et_pb_wc_checkout_billing.et_pb_fields_layout_2_column #billing_address_2_field{margin-top:26px;margin-bottom:8px}.et_pb_column_1_2 .et_pb_wc_checkout_billing.et_pb_fields_layout_2_column .country_select:not(.select2-hidden-accessible),.et_pb_column_1_2 .et_pb_wc_checkout_billing.et_pb_fields_layout_2_column .state_select:not(.select2-hidden-accessible){margin-bottom:20px}.et_pb_column_1_2 .et_pb_wc_checkout_billing.et_pb_fields_layout_2_column #billing_address_2_field{margin-top:27px;margin-bottom:8px}.et_pb_column_1_2 .et_pb_wc_checkout_billing.et_pb_fields_layout_2_column #billing_country_field{margin-bottom:10px}.et_pb_column_1_2 .et_pb_wc_checkout_billing.et_pb_fields_layout_2_column #billing_state_field{margin-bottom:9px}
|
||||
.et_pb_wc_checkout_billing #order_review_heading,.et_pb_wc_checkout_billing .col2-set .col-2{display:none}.et_pb_wc_checkout_billing .col2-set .col-1{width:100%}.et_pb_wc_checkout_billing.et_pb_fields_layout_fullwidth form .form-row-first,.et_pb_wc_checkout_billing.et_pb_fields_layout_fullwidth form .form-row-last{float:none;width:inherit}.et_pb_wc_checkout_billing.et_pb_fields_layout_2_column .form-row:nth-child(odd){float:left;width:47%;overflow:visible;clear:left}.et_pb_wc_checkout_billing.et_pb_fields_layout_2_column .form-row:nth-child(2n){float:right;width:47%;overflow:visible;clear:right}.et_pb_wc_checkout_billing.et_pb_fields_layout_2_column .form-row-wide{clear:none}.et_pb_wc_checkout_billing .woocommerce-error{border:0 solid #333!important;line-height:1.7em}.et_pb_wc_checkout_billing.et_pb_text_align_right input.input-text{text-align:right}.et_pb_wc_checkout_billing.et_pb_text_align_center input.input-text{text-align:center}.et_pb_wc_checkout_billing form .form-row{padding:0;margin-bottom:12px}.et_pb_wc_checkout_billing.et_pb_hide_module,.et_pb_wc_checkout_billing .woocommerce-form-login-toggle,.et_pb_wc_checkout_billing .woocommerce-notices-wrapper{display:none}.et_pb_wc_checkout_billing .select2-container--default .select2-selection--single,.et_pb_wc_checkout_billing form .form-row input.input-text,.et_pb_wc_checkout_billing form .form-row textarea{height:auto}.et_pb_column_4_4 .et_pb_wc_checkout_billing.et_pb_fields_layout_2_column #billing_city_field{margin-bottom:12px}.et_pb_column_4_4 .et_pb_wc_checkout_billing.et_pb_fields_layout_2_column .country_select:not(.select2-hidden-accessible),.et_pb_column_4_4 .et_pb_wc_checkout_billing.et_pb_fields_layout_2_column .state_select:not(.select2-hidden-accessible){margin-bottom:20px}.et_pb_column_4_4 .et_pb_wc_checkout_billing.et_pb_fields_layout_2_column #billing_country_field{margin-bottom:12px}.et_pb_column_4_4 .et_pb_wc_checkout_billing.et_pb_fields_layout_2_column #billing_address_2_field{margin-top:27px;margin-bottom:12px}.et_pb_column_1_2 .et_pb_wc_checkout_billing.et_pb_fields_layout_2_column .country_select:not(.select2-hidden-accessible),.et_pb_column_1_2 .et_pb_wc_checkout_billing.et_pb_fields_layout_2_column .state_select:not(.select2-hidden-accessible){margin-bottom:20px}.et_pb_column_1_2 .et_pb_wc_checkout_billing.et_pb_fields_layout_2_column #billing_address_2_field{margin-top:27px;margin-bottom:12px}.et_pb_column_1_2 .et_pb_wc_checkout_billing.et_pb_fields_layout_2_column #billing_country_field,.et_pb_column_1_2 .et_pb_wc_checkout_billing.et_pb_fields_layout_2_column #billing_state_field{margin-bottom:12px}
|
@ -1 +1 @@
|
||||
.et-db #et-boc .et-l .et_pb_wc_checkout_billing #order_review_heading,.et-db #et-boc .et-l .et_pb_wc_checkout_billing .col2-set .col-2{display:none}.et-db #et-boc .et-l .et_pb_wc_checkout_billing .col2-set .col-1{width:100%}.et-db #et-boc .et-l .et_pb_wc_checkout_billing.et_pb_fields_layout_fullwidth form .form-row-first,.et-db #et-boc .et-l .et_pb_wc_checkout_billing.et_pb_fields_layout_fullwidth form .form-row-last{float:none;width:inherit}.et-db #et-boc .et-l .et_pb_wc_checkout_billing.et_pb_fields_layout_2_column .form-row:nth-child(odd){float:left;width:47%;overflow:visible;clear:left}.et-db #et-boc .et-l .et_pb_wc_checkout_billing.et_pb_fields_layout_2_column .form-row:nth-child(2n){float:right;width:47%;overflow:visible;clear:right}.et-db #et-boc .et-l .et_pb_wc_checkout_billing.et_pb_fields_layout_2_column .form-row-wide{clear:none}.et-db #et-boc .et-l .et_pb_wc_checkout_billing .woocommerce-error{border:0 solid #333!important}.et-db #et-boc .et-l .et_pb_wc_checkout_billing.et_pb_text_align_right input.input-text{text-align:right}.et-db #et-boc .et-l .et_pb_wc_checkout_billing.et_pb_text_align_center input.input-text{text-align:center}.et-db #et-boc .et-l .et_pb_wc_checkout_billing .woocommerce-form-login-toggle,.et-db #et-boc .et-l .et_pb_wc_checkout_billing .woocommerce-notices-wrapper{display:none}.et-db #et-boc .et-l .et_pb_wc_checkout_billing .select2-container--default .select2-selection--single,.et-db #et-boc .et-l .et_pb_wc_checkout_billing form .form-row input.input-text,.et-db #et-boc .et-l .et_pb_wc_checkout_billing form .form-row textarea{height:auto}.et-db #et-boc .et-l .et_pb_column_4_4 .et_pb_wc_checkout_billing.et_pb_fields_layout_2_column #billing_city_field{margin-bottom:1px}.et-db #et-boc .et-l .et_pb_column_4_4 .et_pb_wc_checkout_billing.et_pb_fields_layout_2_column .country_select:not(.select2-hidden-accessible),.et-db #et-boc .et-l .et_pb_column_4_4 .et_pb_wc_checkout_billing.et_pb_fields_layout_2_column .state_select:not(.select2-hidden-accessible){margin-bottom:20px}.et-db #et-boc .et-l .et_pb_column_4_4 .et_pb_wc_checkout_billing.et_pb_fields_layout_2_column #billing_country_field{margin-bottom:9px}.et-db #et-boc .et-l .et_pb_column_4_4 .et_pb_wc_checkout_billing.et_pb_fields_layout_2_column #billing_address_2_field{margin-top:26px;margin-bottom:8px}.et-db #et-boc .et-l .et_pb_column_1_2 .et_pb_wc_checkout_billing.et_pb_fields_layout_2_column .country_select:not(.select2-hidden-accessible),.et-db #et-boc .et-l .et_pb_column_1_2 .et_pb_wc_checkout_billing.et_pb_fields_layout_2_column .state_select:not(.select2-hidden-accessible){margin-bottom:20px}.et-db #et-boc .et-l .et_pb_column_1_2 .et_pb_wc_checkout_billing.et_pb_fields_layout_2_column #billing_address_2_field{margin-top:27px;margin-bottom:8px}.et-db #et-boc .et-l .et_pb_column_1_2 .et_pb_wc_checkout_billing.et_pb_fields_layout_2_column #billing_country_field{margin-bottom:10px}.et-db #et-boc .et-l .et_pb_column_1_2 .et_pb_wc_checkout_billing.et_pb_fields_layout_2_column #billing_state_field{margin-bottom:9px}
|
||||
.et-db #et-boc .et-l .et_pb_wc_checkout_billing #order_review_heading,.et-db #et-boc .et-l .et_pb_wc_checkout_billing .col2-set .col-2{display:none}.et-db #et-boc .et-l .et_pb_wc_checkout_billing .col2-set .col-1{width:100%}.et-db #et-boc .et-l .et_pb_wc_checkout_billing.et_pb_fields_layout_fullwidth form .form-row-first,.et-db #et-boc .et-l .et_pb_wc_checkout_billing.et_pb_fields_layout_fullwidth form .form-row-last{float:none;width:inherit}.et-db #et-boc .et-l .et_pb_wc_checkout_billing.et_pb_fields_layout_2_column .form-row:nth-child(odd){float:left;width:47%;overflow:visible;clear:left}.et-db #et-boc .et-l .et_pb_wc_checkout_billing.et_pb_fields_layout_2_column .form-row:nth-child(2n){float:right;width:47%;overflow:visible;clear:right}.et-db #et-boc .et-l .et_pb_wc_checkout_billing.et_pb_fields_layout_2_column .form-row-wide{clear:none}.et-db #et-boc .et-l .et_pb_wc_checkout_billing .woocommerce-error{border:0 solid #333!important;line-height:1.7em}.et-db #et-boc .et-l .et_pb_wc_checkout_billing.et_pb_text_align_right input.input-text{text-align:right}.et-db #et-boc .et-l .et_pb_wc_checkout_billing.et_pb_text_align_center input.input-text{text-align:center}.et-db #et-boc .et-l .et_pb_wc_checkout_billing form .form-row{padding:0;margin-bottom:12px}.et-db #et-boc .et-l .et_pb_wc_checkout_billing.et_pb_hide_module,.et-db #et-boc .et-l .et_pb_wc_checkout_billing .woocommerce-form-login-toggle,.et-db #et-boc .et-l .et_pb_wc_checkout_billing .woocommerce-notices-wrapper{display:none}.et-db #et-boc .et-l .et_pb_wc_checkout_billing .select2-container--default .select2-selection--single,.et-db #et-boc .et-l .et_pb_wc_checkout_billing form .form-row input.input-text,.et-db #et-boc .et-l .et_pb_wc_checkout_billing form .form-row textarea{height:auto}.et-db #et-boc .et-l .et_pb_column_4_4 .et_pb_wc_checkout_billing.et_pb_fields_layout_2_column #billing_city_field{margin-bottom:12px}.et-db #et-boc .et-l .et_pb_column_4_4 .et_pb_wc_checkout_billing.et_pb_fields_layout_2_column .country_select:not(.select2-hidden-accessible),.et-db #et-boc .et-l .et_pb_column_4_4 .et_pb_wc_checkout_billing.et_pb_fields_layout_2_column .state_select:not(.select2-hidden-accessible){margin-bottom:20px}.et-db #et-boc .et-l .et_pb_column_4_4 .et_pb_wc_checkout_billing.et_pb_fields_layout_2_column #billing_country_field{margin-bottom:12px}.et-db #et-boc .et-l .et_pb_column_4_4 .et_pb_wc_checkout_billing.et_pb_fields_layout_2_column #billing_address_2_field{margin-top:27px;margin-bottom:12px}.et-db #et-boc .et-l .et_pb_column_1_2 .et_pb_wc_checkout_billing.et_pb_fields_layout_2_column .country_select:not(.select2-hidden-accessible),.et-db #et-boc .et-l .et_pb_column_1_2 .et_pb_wc_checkout_billing.et_pb_fields_layout_2_column .state_select:not(.select2-hidden-accessible){margin-bottom:20px}.et-db #et-boc .et-l .et_pb_column_1_2 .et_pb_wc_checkout_billing.et_pb_fields_layout_2_column #billing_address_2_field{margin-top:27px;margin-bottom:12px}.et-db #et-boc .et-l .et_pb_column_1_2 .et_pb_wc_checkout_billing.et_pb_fields_layout_2_column #billing_country_field,.et-db #et-boc .et-l .et_pb_column_1_2 .et_pb_wc_checkout_billing.et_pb_fields_layout_2_column #billing_state_field{margin-bottom:12px}
|
@ -1 +1 @@
|
||||
.woocommerce-checkout #main-content .et_pb_wc_checkout_order_details table.shop_table tr.cart-subtotal td{border-top:1px solid rgba(0,0,0,.1)}.et_pb_wc_checkout_order_details .woocommerce-form-login-toggle,.et_pb_wc_checkout_order_details .woocommerce-notices-wrapper{display:none}
|
||||
.woocommerce-checkout #main-content .et_pb_wc_checkout_order_details table.shop_table tr.cart-subtotal td{border-top:1px solid rgba(0,0,0,.1)}.et_pb_wc_checkout_order_details.et_pb_hide_module,.et_pb_wc_checkout_order_details .woocommerce-form-login-toggle,.et_pb_wc_checkout_order_details .woocommerce-notices-wrapper{display:none}
|
@ -1 +1 @@
|
||||
.woocommerce-checkout #main-content .et-db #et-boc .et-l .et_pb_wc_checkout_order_details table.shop_table tr.cart-subtotal td{border-top:1px solid rgba(0,0,0,.1)}.et-db #et-boc .et-l .et_pb_wc_checkout_order_details .woocommerce-form-login-toggle,.et-db #et-boc .et-l .et_pb_wc_checkout_order_details .woocommerce-notices-wrapper{display:none}
|
||||
.woocommerce-checkout #main-content .et-db #et-boc .et-l .et_pb_wc_checkout_order_details table.shop_table tr.cart-subtotal td{border-top:1px solid rgba(0,0,0,.1)}.et-db #et-boc .et-l .et_pb_wc_checkout_order_details.et_pb_hide_module,.et-db #et-boc .et-l .et_pb_wc_checkout_order_details .woocommerce-form-login-toggle,.et-db #et-boc .et-l .et_pb_wc_checkout_order_details .woocommerce-notices-wrapper{display:none}
|
@ -1 +1 @@
|
||||
.et_pb_wc_checkout_additional_info #order_review_heading,.et_pb_wc_checkout_additional_info .col2-set .col-1{display:none}.et_pb_wc_checkout_additional_info .col2-set .col-2{width:100%}.et_pb_wc_checkout_additional_info.et_pb_wc_no_title h3,.et_pb_wc_checkout_additional_info .woocommerce-additional-fields h3:not(:first-of-type),.et_pb_wc_checkout_additional_info .woocommerce-shipping-fields{display:none}.et_pb_wc_checkout_additional_info form .form-row textarea.input-text{height:auto}.et_pb_wc_checkout_additional_info .woocommerce-form-login-toggle,.et_pb_wc_checkout_additional_info .woocommerce-notices-wrapper{display:none}
|
||||
.et_pb_wc_checkout_additional_info #order_review_heading,.et_pb_wc_checkout_additional_info .col2-set .col-1{display:none}.et_pb_wc_checkout_additional_info .col2-set .col-2{width:100%}.et_pb_wc_checkout_additional_info.et_pb_wc_no_title h3,.et_pb_wc_checkout_additional_info .woocommerce-additional-fields h3:not(:first-of-type),.et_pb_wc_checkout_additional_info .woocommerce-shipping-fields{display:none}.et_pb_wc_checkout_additional_info form .form-row textarea.input-text{height:auto}.et_pb_wc_checkout_additional_info.et_pb_hide_module,.et_pb_wc_checkout_additional_info .woocommerce-form-login-toggle,.et_pb_wc_checkout_additional_info .woocommerce-notices-wrapper{display:none}
|
@ -1 +1 @@
|
||||
.et-db #et-boc .et-l .et_pb_wc_checkout_additional_info #order_review_heading,.et-db #et-boc .et-l .et_pb_wc_checkout_additional_info .col2-set .col-1{display:none}.et-db #et-boc .et-l .et_pb_wc_checkout_additional_info .col2-set .col-2{width:100%}.et-db #et-boc .et-l .et_pb_wc_checkout_additional_info.et_pb_wc_no_title h3,.et-db #et-boc .et-l .et_pb_wc_checkout_additional_info .woocommerce-additional-fields h3:not(:first-of-type),.et-db #et-boc .et-l .et_pb_wc_checkout_additional_info .woocommerce-shipping-fields{display:none}.et-db #et-boc .et-l .et_pb_wc_checkout_additional_info form .form-row textarea.input-text{height:auto}.et-db #et-boc .et-l .et_pb_wc_checkout_additional_info .woocommerce-form-login-toggle,.et-db #et-boc .et-l .et_pb_wc_checkout_additional_info .woocommerce-notices-wrapper{display:none}
|
||||
.et-db #et-boc .et-l .et_pb_wc_checkout_additional_info #order_review_heading,.et-db #et-boc .et-l .et_pb_wc_checkout_additional_info .col2-set .col-1{display:none}.et-db #et-boc .et-l .et_pb_wc_checkout_additional_info .col2-set .col-2{width:100%}.et-db #et-boc .et-l .et_pb_wc_checkout_additional_info.et_pb_wc_no_title h3,.et-db #et-boc .et-l .et_pb_wc_checkout_additional_info .woocommerce-additional-fields h3:not(:first-of-type),.et-db #et-boc .et-l .et_pb_wc_checkout_additional_info .woocommerce-shipping-fields{display:none}.et-db #et-boc .et-l .et_pb_wc_checkout_additional_info form .form-row textarea.input-text{height:auto}.et-db #et-boc .et-l .et_pb_wc_checkout_additional_info.et_pb_hide_module,.et-db #et-boc .et-l .et_pb_wc_checkout_additional_info .woocommerce-form-login-toggle,.et-db #et-boc .et-l .et_pb_wc_checkout_additional_info .woocommerce-notices-wrapper{display:none}
|
@ -1 +1 @@
|
||||
.et_pb_wc_checkout_payment_info #payment ul.payment_methods{border:none}.et_pb_wc_checkout_payment_info #order_review_heading{display:none}.et_pb_wc_checkout_payment_info .wc_payment_method a{font-size:14px!important;line-height:1.7em!important}.et_pb_wc_checkout_payment_info .woocommerce-checkout #payment div.form-row{padding:0}.et_pb_wc_checkout_payment_info form .form-row{margin:2em 0 0}.et_pb_wc_checkout_payment_info .woocommerce-checkout #payment ul.payment_methods{padding:0}.et_pb_wc_checkout_payment_info #payment div.payment_box{border-style:solid}.et_pb_wc_checkout_payment_info #payment div.payment_box:before{content:none}.et_pb_wc_checkout_payment_info #payment ul.payment_methods li.woocommerce-info{border-style:solid!important;border-width:0!important}.et_pb_wc_checkout_payment_info #payment ul.payment_methods li.et_fb_woocommerce-notice{margin-top:1em;border-top-color:inherit}.et_pb_wc_checkout_payment_info #payment .wc_payment_method{border-style:solid}.et_pb_wc_checkout_payment_info .woocommerce-order{border-radius:5px;border-style:solid}.et_pb_wc_checkout_payment_info.et_pb_text_align_center #payment ul.payment_methods li.woocommerce-info,.et_pb_wc_checkout_payment_info.et_pb_text_align_center #payment ul.payment_methods li p{text-align:center}.et_pb_wc_checkout_payment_info.et_pb_text_align_right #payment ul.payment_methods li.woocommerce-info,.et_pb_wc_checkout_payment_info.et_pb_text_align_right #payment ul.payment_methods li p{text-align:right}.et_pb_wc_checkout_payment_info.et_pb_text_align_justified #payment ul.payment_methods li.woocommerce-info,.et_pb_wc_checkout_payment_info.et_pb_text_align_justified #payment ul.payment_methods li p{text-align:justify}.et_pb_wc_checkout_payment_info .woocommerce-form-login-toggle,.et_pb_wc_checkout_payment_info .woocommerce-notices-wrapper{display:none}.woocommerce-order-received .et_pb_no_top_bottom_padding{padding-top:0;padding-bottom:0}
|
||||
.et_pb_wc_checkout_payment_info #payment ul.payment_methods{border:none}.et_pb_wc_checkout_payment_info #order_review_heading{display:none}.et_pb_wc_checkout_payment_info .wc_payment_method a{font-size:14px!important;line-height:1.7em!important}.et_pb_wc_checkout_payment_info .woocommerce-checkout #payment div.form-row{padding:0}.et_pb_wc_checkout_payment_info form .form-row{margin:2em 0 0}.et_pb_wc_checkout_payment_info .woocommerce-checkout #payment ul.payment_methods{padding:0}.et_pb_wc_checkout_payment_info #payment div.payment_box{border-style:solid}.et_pb_wc_checkout_payment_info #payment div.payment_box:before{content:none}.et_pb_wc_checkout_payment_info #payment ul.payment_methods li.woocommerce-info{border-style:solid!important;border-width:0!important}.et_pb_wc_checkout_payment_info #payment ul.payment_methods li.woocommerce-notice{margin-top:1em;line-height:1.7em;border-top-color:inherit;font-weight:500}.et_pb_wc_checkout_payment_info #payment .wc_payment_method{border-style:solid}.et_pb_wc_checkout_payment_info .woocommerce-order{border-radius:5px;border-style:solid}.et_pb_wc_checkout_payment_info.et_pb_text_align_center #payment ul.payment_methods li.woocommerce-info,.et_pb_wc_checkout_payment_info.et_pb_text_align_center #payment ul.payment_methods li p{text-align:center}.et_pb_wc_checkout_payment_info.et_pb_text_align_right #payment ul.payment_methods li.woocommerce-info,.et_pb_wc_checkout_payment_info.et_pb_text_align_right #payment ul.payment_methods li p{text-align:right}.et_pb_wc_checkout_payment_info.et_pb_text_align_justified #payment ul.payment_methods li.woocommerce-info,.et_pb_wc_checkout_payment_info.et_pb_text_align_justified #payment ul.payment_methods li p{text-align:justify}.et_pb_wc_checkout_payment_info .woocommerce-form-login-toggle,.et_pb_wc_checkout_payment_info .woocommerce-notices-wrapper{display:none}.woocommerce-order-received .et_pb_no_top_bottom_padding{padding-top:0;padding-bottom:0}
|
@ -1 +1 @@
|
||||
.et-db #et-boc .et-l .et_pb_wc_checkout_payment_info #payment ul.payment_methods{border:none}.et-db #et-boc .et-l .et_pb_wc_checkout_payment_info #order_review_heading{display:none}.et-db #et-boc .et-l .et_pb_wc_checkout_payment_info .wc_payment_method a{font-size:14px!important;line-height:1.7em!important}.et-db #et-boc .et-l .et_pb_wc_checkout_payment_info .woocommerce-checkout #payment div.form-row{padding:0}.et-db #et-boc .et-l .et_pb_wc_checkout_payment_info form .form-row{margin:2em 0 0}.et-db #et-boc .et-l .et_pb_wc_checkout_payment_info .woocommerce-checkout #payment ul.payment_methods{padding:0}.et-db #et-boc .et-l .et_pb_wc_checkout_payment_info #payment div.payment_box{border-style:solid}.et-db #et-boc .et-l .et_pb_wc_checkout_payment_info #payment div.payment_box:before{content:none}.et-db #et-boc .et-l .et_pb_wc_checkout_payment_info #payment ul.payment_methods li.woocommerce-info{border-style:solid!important;border-width:0!important}.et-db #et-boc .et-l .et_pb_wc_checkout_payment_info #payment ul.payment_methods li.et_fb_woocommerce-notice{margin-top:1em;border-top-color:inherit}.et-db #et-boc .et-l .et_pb_wc_checkout_payment_info #payment .wc_payment_method{border-style:solid}.et-db #et-boc .et-l .et_pb_wc_checkout_payment_info .woocommerce-order{border-radius:5px;border-style:solid}.et-db #et-boc .et-l .et_pb_wc_checkout_payment_info.et_pb_text_align_center #payment ul.payment_methods li.woocommerce-info,.et-db #et-boc .et-l .et_pb_wc_checkout_payment_info.et_pb_text_align_center #payment ul.payment_methods li p{text-align:center}.et-db #et-boc .et-l .et_pb_wc_checkout_payment_info.et_pb_text_align_right #payment ul.payment_methods li.woocommerce-info,.et-db #et-boc .et-l .et_pb_wc_checkout_payment_info.et_pb_text_align_right #payment ul.payment_methods li p{text-align:right}.et-db #et-boc .et-l .et_pb_wc_checkout_payment_info.et_pb_text_align_justified #payment ul.payment_methods li.woocommerce-info,.et-db #et-boc .et-l .et_pb_wc_checkout_payment_info.et_pb_text_align_justified #payment ul.payment_methods li p{text-align:justify}.et-db #et-boc .et-l .et_pb_wc_checkout_payment_info .woocommerce-form-login-toggle,.et-db #et-boc .et-l .et_pb_wc_checkout_payment_info .woocommerce-notices-wrapper{display:none}.et-db #et-boc .et-l .woocommerce-order-received .et_pb_no_top_bottom_padding{padding-top:0;padding-bottom:0}
|
||||
.et-db #et-boc .et-l .et_pb_wc_checkout_payment_info #payment ul.payment_methods{border:none}.et-db #et-boc .et-l .et_pb_wc_checkout_payment_info #order_review_heading{display:none}.et-db #et-boc .et-l .et_pb_wc_checkout_payment_info .wc_payment_method a{font-size:14px!important;line-height:1.7em!important}.et-db #et-boc .et-l .et_pb_wc_checkout_payment_info .woocommerce-checkout #payment div.form-row{padding:0}.et-db #et-boc .et-l .et_pb_wc_checkout_payment_info form .form-row{margin:2em 0 0}.et-db #et-boc .et-l .et_pb_wc_checkout_payment_info .woocommerce-checkout #payment ul.payment_methods{padding:0}.et-db #et-boc .et-l .et_pb_wc_checkout_payment_info #payment div.payment_box{border-style:solid}.et-db #et-boc .et-l .et_pb_wc_checkout_payment_info #payment div.payment_box:before{content:none}.et-db #et-boc .et-l .et_pb_wc_checkout_payment_info #payment ul.payment_methods li.woocommerce-info{border-style:solid!important;border-width:0!important}.et-db #et-boc .et-l .et_pb_wc_checkout_payment_info #payment ul.payment_methods li.woocommerce-notice{margin-top:1em;line-height:1.7em;border-top-color:inherit;font-weight:500}.et-db #et-boc .et-l .et_pb_wc_checkout_payment_info #payment .wc_payment_method{border-style:solid}.et-db #et-boc .et-l .et_pb_wc_checkout_payment_info .woocommerce-order{border-radius:5px;border-style:solid}.et-db #et-boc .et-l .et_pb_wc_checkout_payment_info.et_pb_text_align_center #payment ul.payment_methods li.woocommerce-info,.et-db #et-boc .et-l .et_pb_wc_checkout_payment_info.et_pb_text_align_center #payment ul.payment_methods li p{text-align:center}.et-db #et-boc .et-l .et_pb_wc_checkout_payment_info.et_pb_text_align_right #payment ul.payment_methods li.woocommerce-info,.et-db #et-boc .et-l .et_pb_wc_checkout_payment_info.et_pb_text_align_right #payment ul.payment_methods li p{text-align:right}.et-db #et-boc .et-l .et_pb_wc_checkout_payment_info.et_pb_text_align_justified #payment ul.payment_methods li.woocommerce-info,.et-db #et-boc .et-l .et_pb_wc_checkout_payment_info.et_pb_text_align_justified #payment ul.payment_methods li p{text-align:justify}.et-db #et-boc .et-l .et_pb_wc_checkout_payment_info .woocommerce-form-login-toggle,.et-db #et-boc .et-l .et_pb_wc_checkout_payment_info .woocommerce-notices-wrapper{display:none}.et-db #et-boc .et-l .woocommerce-order-received .et_pb_no_top_bottom_padding{padding-top:0;padding-bottom:0}
|
@ -1 +1 @@
|
||||
.et_pb_wc_checkout_shipping #order_review_heading,.et_pb_wc_checkout_shipping .col2-set .col-1{display:none}.et_pb_wc_checkout_shipping .col2-set .col-2{width:100%}.et_pb_wc_checkout_shipping .checkout .col-2 h3#ship-to-different-address{float:none}.et_pb_wc_checkout_shipping.et_pb_fields_layout_fullwidth form .form-row-first,.et_pb_wc_checkout_shipping.et_pb_fields_layout_fullwidth form .form-row-last{float:none;width:inherit}.et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column .country_select:not(.select2-hidden-accessible){margin-bottom:20px}.et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column .state_select:not(.select2-hidden-accessible){margin-bottom:17px}.et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column #shipping_country_field{margin-bottom:9px}.et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column #shipping_address_2_field{margin-top:26px;margin-bottom:9px}.et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column .form-row:nth-child(odd){float:left;width:47%;overflow:visible;clear:left}.et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column .form-row:nth-child(2n){float:right;width:47%;overflow:visible;clear:right}.et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column .form-row-wide{clear:none}.et_pb_wc_checkout_shipping.et_pb_wc_ship_to_billing_address_only,.et_pb_wc_checkout_shipping .woocommerce-additional-fields{display:none}.et_pb_wc_checkout_shipping.et_pb_text_align_right input.input-text{text-align:right}.et_pb_wc_checkout_shipping.et_pb_text_align_center input.input-text{text-align:center}.et_pb_wc_checkout_shipping .woocommerce-form-login-toggle,.et_pb_wc_checkout_shipping .woocommerce-notices-wrapper{display:none}.et_pb_wc_checkout_shipping .select2-container--default .select2-selection--single,.et_pb_wc_checkout_shipping form .form-row input.input-text,.et_pb_wc_checkout_shipping form .form-row textarea{height:auto}.et_pb_column_4_4 .et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column .state_select:not(.select2-hidden-accessible){margin-bottom:18px}.et_pb_column_4_4 .et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column #shipping_city_field{margin-bottom:1px}.et_pb_column_1_2 .et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column .state_select:not(.select2-hidden-accessible){margin-bottom:22px}.et_pb_column_1_2 .et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column #shipping_address_2_field{margin-top:30px;margin-bottom:8px}.et_pb_column_1_2 .et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column #shipping_state_field{margin-bottom:9px}
|
||||
.et_pb_wc_checkout_shipping #order_review_heading,.et_pb_wc_checkout_shipping .col2-set .col-1{display:none}.et_pb_wc_checkout_shipping .col2-set .col-2{width:100%}.et_pb_wc_checkout_shipping .checkout .col-2 h3#ship-to-different-address{float:none}.et_pb_wc_checkout_shipping.et_pb_fields_layout_fullwidth form .form-row-first,.et_pb_wc_checkout_shipping.et_pb_fields_layout_fullwidth form .form-row-last{float:none;width:inherit}.et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column .country_select:not(.select2-hidden-accessible){margin-bottom:20px}.et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column .state_select:not(.select2-hidden-accessible){margin-bottom:17px}.et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column #shipping_country_field{margin-bottom:9px}.et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column #shipping_address_2_field{margin-top:26px;margin-bottom:9px}.et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column .form-row:nth-child(odd){float:left;width:47%;overflow:visible;clear:left}.et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column .form-row:nth-child(2n){float:right;width:47%;overflow:visible;clear:right}.et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column .form-row-wide{clear:none}.et_pb_wc_checkout_shipping.et_pb_wc_ship_to_billing_address_only,.et_pb_wc_checkout_shipping .woocommerce-additional-fields{display:none}.et_pb_wc_checkout_shipping.et_pb_text_align_right input.input-text{text-align:right}.et_pb_wc_checkout_shipping.et_pb_text_align_center input.input-text{text-align:center}.et_pb_wc_checkout_shipping form .form-row{padding:0;margin-bottom:12px}.et_pb_wc_checkout_shipping.et_pb_hide_module,.et_pb_wc_checkout_shipping .woocommerce-form-login-toggle,.et_pb_wc_checkout_shipping .woocommerce-notices-wrapper{display:none}.et_pb_wc_checkout_shipping .select2-container--default .select2-selection--single,.et_pb_wc_checkout_shipping form .form-row input.input-text,.et_pb_wc_checkout_shipping form .form-row textarea{height:auto}.et_pb_column_4_4 .et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column .state_select:not(.select2-hidden-accessible){margin-bottom:18px}.et_pb_column_4_4 .et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column #shipping_city_field{margin-bottom:12px}.et_pb_column_1_2 .et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column .state_select:not(.select2-hidden-accessible){margin-bottom:22px}.et_pb_column_1_2 .et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column #shipping_address_2_field{margin-top:27px;margin-bottom:12px}.et_pb_column_1_2 .et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column #shipping_state_field{margin-bottom:12px}
|
@ -1 +1 @@
|
||||
.et-db #et-boc .et-l .et_pb_wc_checkout_shipping #order_review_heading,.et-db #et-boc .et-l .et_pb_wc_checkout_shipping .col2-set .col-1{display:none}.et-db #et-boc .et-l .et_pb_wc_checkout_shipping .col2-set .col-2{width:100%}.et-db #et-boc .et-l .et_pb_wc_checkout_shipping .checkout .col-2 h3#ship-to-different-address{float:none}.et-db #et-boc .et-l .et_pb_wc_checkout_shipping.et_pb_fields_layout_fullwidth form .form-row-first,.et-db #et-boc .et-l .et_pb_wc_checkout_shipping.et_pb_fields_layout_fullwidth form .form-row-last{float:none;width:inherit}.et-db #et-boc .et-l .et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column .country_select:not(.select2-hidden-accessible){margin-bottom:20px}.et-db #et-boc .et-l .et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column .state_select:not(.select2-hidden-accessible){margin-bottom:17px}.et-db #et-boc .et-l .et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column #shipping_country_field{margin-bottom:9px}.et-db #et-boc .et-l .et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column #shipping_address_2_field{margin-top:26px;margin-bottom:9px}.et-db #et-boc .et-l .et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column .form-row:nth-child(odd){float:left;width:47%;overflow:visible;clear:left}.et-db #et-boc .et-l .et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column .form-row:nth-child(2n){float:right;width:47%;overflow:visible;clear:right}.et-db #et-boc .et-l .et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column .form-row-wide{clear:none}.et-db #et-boc .et-l .et_pb_wc_checkout_shipping.et_pb_wc_ship_to_billing_address_only,.et-db #et-boc .et-l .et_pb_wc_checkout_shipping .woocommerce-additional-fields{display:none}.et-db #et-boc .et-l .et_pb_wc_checkout_shipping.et_pb_text_align_right input.input-text{text-align:right}.et-db #et-boc .et-l .et_pb_wc_checkout_shipping.et_pb_text_align_center input.input-text{text-align:center}.et-db #et-boc .et-l .et_pb_wc_checkout_shipping .woocommerce-form-login-toggle,.et-db #et-boc .et-l .et_pb_wc_checkout_shipping .woocommerce-notices-wrapper{display:none}.et-db #et-boc .et-l .et_pb_wc_checkout_shipping .select2-container--default .select2-selection--single,.et-db #et-boc .et-l .et_pb_wc_checkout_shipping form .form-row input.input-text,.et-db #et-boc .et-l .et_pb_wc_checkout_shipping form .form-row textarea{height:auto}.et-db #et-boc .et-l .et_pb_column_4_4 .et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column .state_select:not(.select2-hidden-accessible){margin-bottom:18px}.et-db #et-boc .et-l .et_pb_column_4_4 .et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column #shipping_city_field{margin-bottom:1px}.et-db #et-boc .et-l .et_pb_column_1_2 .et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column .state_select:not(.select2-hidden-accessible){margin-bottom:22px}.et-db #et-boc .et-l .et_pb_column_1_2 .et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column #shipping_address_2_field{margin-top:30px;margin-bottom:8px}.et-db #et-boc .et-l .et_pb_column_1_2 .et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column #shipping_state_field{margin-bottom:9px}
|
||||
.et-db #et-boc .et-l .et_pb_wc_checkout_shipping #order_review_heading,.et-db #et-boc .et-l .et_pb_wc_checkout_shipping .col2-set .col-1{display:none}.et-db #et-boc .et-l .et_pb_wc_checkout_shipping .col2-set .col-2{width:100%}.et-db #et-boc .et-l .et_pb_wc_checkout_shipping .checkout .col-2 h3#ship-to-different-address{float:none}.et-db #et-boc .et-l .et_pb_wc_checkout_shipping.et_pb_fields_layout_fullwidth form .form-row-first,.et-db #et-boc .et-l .et_pb_wc_checkout_shipping.et_pb_fields_layout_fullwidth form .form-row-last{float:none;width:inherit}.et-db #et-boc .et-l .et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column .country_select:not(.select2-hidden-accessible){margin-bottom:20px}.et-db #et-boc .et-l .et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column .state_select:not(.select2-hidden-accessible){margin-bottom:17px}.et-db #et-boc .et-l .et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column #shipping_country_field{margin-bottom:9px}.et-db #et-boc .et-l .et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column #shipping_address_2_field{margin-top:26px;margin-bottom:9px}.et-db #et-boc .et-l .et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column .form-row:nth-child(odd){float:left;width:47%;overflow:visible;clear:left}.et-db #et-boc .et-l .et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column .form-row:nth-child(2n){float:right;width:47%;overflow:visible;clear:right}.et-db #et-boc .et-l .et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column .form-row-wide{clear:none}.et-db #et-boc .et-l .et_pb_wc_checkout_shipping.et_pb_wc_ship_to_billing_address_only,.et-db #et-boc .et-l .et_pb_wc_checkout_shipping .woocommerce-additional-fields{display:none}.et-db #et-boc .et-l .et_pb_wc_checkout_shipping.et_pb_text_align_right input.input-text{text-align:right}.et-db #et-boc .et-l .et_pb_wc_checkout_shipping.et_pb_text_align_center input.input-text{text-align:center}.et-db #et-boc .et-l .et_pb_wc_checkout_shipping form .form-row{padding:0;margin-bottom:12px}.et-db #et-boc .et-l .et_pb_wc_checkout_shipping.et_pb_hide_module,.et-db #et-boc .et-l .et_pb_wc_checkout_shipping .woocommerce-form-login-toggle,.et-db #et-boc .et-l .et_pb_wc_checkout_shipping .woocommerce-notices-wrapper{display:none}.et-db #et-boc .et-l .et_pb_wc_checkout_shipping .select2-container--default .select2-selection--single,.et-db #et-boc .et-l .et_pb_wc_checkout_shipping form .form-row input.input-text,.et-db #et-boc .et-l .et_pb_wc_checkout_shipping form .form-row textarea{height:auto}.et-db #et-boc .et-l .et_pb_column_4_4 .et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column .state_select:not(.select2-hidden-accessible){margin-bottom:18px}.et-db #et-boc .et-l .et_pb_column_4_4 .et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column #shipping_city_field{margin-bottom:12px}.et-db #et-boc .et-l .et_pb_column_1_2 .et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column .state_select:not(.select2-hidden-accessible){margin-bottom:22px}.et-db #et-boc .et-l .et_pb_column_1_2 .et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column #shipping_address_2_field{margin-top:27px;margin-bottom:12px}.et-db #et-boc .et-l .et_pb_column_1_2 .et_pb_wc_checkout_shipping.et_pb_fields_layout_2_column #shipping_state_field{margin-bottom:12px}
|
@ -1 +1 @@
|
||||
.et_pb_with_border.et_pb_wc_images .woocommerce-product-gallery__image{border:0 solid #333}.et_pb_wc_images .et_pb_module_inner:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0}.woocommerce-page .et_builder_inner_content.product .et_pb_wc_images div.images,.woocommerce .et_builder_inner_content.product .et_pb_wc_images div.images,body.woocommerce-page #content .et_builder_inner_content.product .et_pb_wc_images div.images{width:100%}.et_pb_wc_images div.images ol.flex-control-thumbs.flex-control-nav{overflow:visible}.et_pb_wc_images div.images ol.flex-control-thumbs.flex-control-nav li{border-style:solid}.et_pb_wc_images .woocommerce-product-gallery--without-images .woocommerce-product-gallery__wrapper{border-width:0;border-style:solid}.et_pb_wc_images .woocommerce-product-gallery.images{width:100%}.et_pb_wc_images .woocommerce-product-gallery>.woocommerce-product-gallery__wrapper{border-width:0;border-style:solid}.et_pb_wc_images .flex-control-nav img,.et_pb_wc_images .flex-viewport{border-style:solid}
|
||||
.et_pb_with_border.et_pb_wc_images .woocommerce-product-gallery__image{border:0 solid #333}.et_pb_wc_images .et_pb_module_inner:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0}.woocommerce-page .et_builder_inner_content.product .et_pb_wc_images div.images,.woocommerce .et_builder_inner_content.product .et_pb_wc_images div.images,body.woocommerce-page #content .et_builder_inner_content.product .et_pb_wc_images div.images{width:100%}.et_pb_wc_images div.images ol.flex-control-thumbs.flex-control-nav{overflow:visible}.et_pb_wc_images div.images ol.flex-control-thumbs.flex-control-nav li{border-style:solid}.et_pb_wc_images .woocommerce-product-gallery--without-images .woocommerce-product-gallery__wrapper{border-width:0;border-style:solid}.et_pb_wc_images .woocommerce-product-gallery.images{width:100%}.et_pb_wc_images .woocommerce-product-gallery>.woocommerce-product-gallery__wrapper{border-width:0;border-style:solid}.et_pb_wc_images .flex-control-nav img,.et_pb_wc_images .flex-viewport,.et_pb_wc_images span.onsale{border-style:solid}
|
@ -1 +1 @@
|
||||
.et-db #et-boc .et-l .et_pb_with_border.et_pb_wc_images .woocommerce-product-gallery__image{border:0 solid #333}.et-db #et-boc .et-l .et_pb_wc_images .et_pb_module_inner:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0}.woocommerce-page .et_builder_inner_content.product .et-db #et-boc .et-l .et_pb_wc_images div.images,.woocommerce .et_builder_inner_content.product .et-db #et-boc .et-l .et_pb_wc_images div.images,body.woocommerce-page #content .et_builder_inner_content.product .et-db #et-boc .et-l .et_pb_wc_images div.images{width:100%}.et-db #et-boc .et-l .et_pb_wc_images div.images ol.flex-control-thumbs.flex-control-nav{overflow:visible}.et-db #et-boc .et-l .et_pb_wc_images div.images ol.flex-control-thumbs.flex-control-nav li{border-style:solid}.et-db #et-boc .et-l .et_pb_wc_images .woocommerce-product-gallery--without-images .woocommerce-product-gallery__wrapper{border-width:0;border-style:solid}.et-db #et-boc .et-l .et_pb_wc_images .woocommerce-product-gallery.images{width:100%}.et-db #et-boc .et-l .et_pb_wc_images .woocommerce-product-gallery>.woocommerce-product-gallery__wrapper{border-width:0;border-style:solid}.et-db #et-boc .et-l .et_pb_wc_images .flex-control-nav img,.et-db #et-boc .et-l .et_pb_wc_images .flex-viewport{border-style:solid}
|
||||
.et-db #et-boc .et-l .et_pb_with_border.et_pb_wc_images .woocommerce-product-gallery__image{border:0 solid #333}.et-db #et-boc .et-l .et_pb_wc_images .et_pb_module_inner:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0}.woocommerce-page .et_builder_inner_content.product .et-db #et-boc .et-l .et_pb_wc_images div.images,.woocommerce .et_builder_inner_content.product .et-db #et-boc .et-l .et_pb_wc_images div.images,body.woocommerce-page #content .et_builder_inner_content.product .et-db #et-boc .et-l .et_pb_wc_images div.images{width:100%}.et-db #et-boc .et-l .et_pb_wc_images div.images ol.flex-control-thumbs.flex-control-nav{overflow:visible}.et-db #et-boc .et-l .et_pb_wc_images div.images ol.flex-control-thumbs.flex-control-nav li{border-style:solid}.et-db #et-boc .et-l .et_pb_wc_images .woocommerce-product-gallery--without-images .woocommerce-product-gallery__wrapper{border-width:0;border-style:solid}.et-db #et-boc .et-l .et_pb_wc_images .woocommerce-product-gallery.images{width:100%}.et-db #et-boc .et-l .et_pb_wc_images .woocommerce-product-gallery>.woocommerce-product-gallery__wrapper{border-width:0;border-style:solid}.et-db #et-boc .et-l .et_pb_wc_images .flex-control-nav img,.et-db #et-boc .et-l .et_pb_wc_images .flex-viewport,.et-db #et-boc .et-l .et_pb_wc_images span.onsale{border-style:solid}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
.et_pb_with_border.et_pb_wc_reviews #reviews #comments ol.commentlist li img.avatar{border:0 solid #333}.et_pb_wc_reviews.et_pb_no_comments_count .woocommerce-Reviews-title{display:none}.et_pb_wc_reviews.et_pb_comments_module.et_pb_no_comments_count #comments{display:block}.et_pb_wc_reviews.et_pb_module .star-rating{margin-bottom:12px!important}.et_pb_wc_reviews.et_pb_module .star-rating span:before{transition:color .3s}.et_pb_wc_reviews.et_pb_no_avatar .avatar{display:none}.et_pb_wc_reviews.et_pb_no_avatar #reviews #comments ol.commentlist li .comment-text{margin-left:0!important}.et_pb_wc_reviews .comment-reply-title{display:block}@media (min-width:480px){.et_pb_row>.et_pb_column_1_6 .et_pb_wc_reviews #reviews #comments ol.commentlist li img.avatar{float:none;position:relative;margin-bottom:10px}.et_pb_row>.et_pb_column_1_6 .et_pb_wc_reviews #reviews #comments ol.commentlist li .comment-text{margin-left:0!important}}@media (min-width:980px){.et_pb_row>.et_pb_column_1_5 .et_pb_wc_reviews #reviews #comments ol.commentlist li img.avatar,.et_pb_row_inner>.et_pb_column_1_6 .et_pb_wc_reviews #reviews #comments ol.commentlist li img.avatar,.et_pb_row_inner>.et_pb_column_2_9 .et_pb_wc_reviews #reviews #comments ol.commentlist li img.avatar{float:none;position:relative;margin-bottom:10px}.et_pb_row>.et_pb_column_1_5 .et_pb_wc_reviews #reviews #comments ol.commentlist li .comment-text,.et_pb_row_inner>.et_pb_column_1_6 .et_pb_wc_reviews #reviews #comments ol.commentlist li .comment-text,.et_pb_row_inner>.et_pb_column_2_9 .et_pb_wc_reviews #reviews #comments ol.commentlist li .comment-text{margin-left:0!important}}.et-dynamic-content-woo--product_reviews.woocommerce .comment-reply-title,.et-dynamic-content-woo--product_reviews.woocommerce .rating,.et-dynamic-content-woo--product_reviews.woocommerce ol.commentlist li .description,.et-dynamic-content-woo--product_reviews.woocommerce ol.commentlist li .meta{color:inherit!important;font-family:inherit;font-weight:inherit;font-style:inherit;font-size:inherit;letter-spacing:inherit;line-height:inherit;text-align:inherit;text-shadow:inherit}.et-dynamic-content-woo--product_reviews.woocommerce .woocommerce-Reviews-title{color:inherit;font-family:inherit;font-weight:inherit;font-style:inherit;letter-spacing:inherit;line-height:inherit;text-align:inherit;text-shadow:inherit}
|
||||
.et_pb_with_border.et_pb_wc_reviews #reviews #comments ol.commentlist li img.avatar{border:0 solid #333}.et_pb_wc_reviews.et_pb_no_comments_count .woocommerce-Reviews-title{display:none}.et_pb_wc_reviews.et_pb_comments_module.et_pb_no_comments_count #comments{display:block}.et_pb_wc_reviews.et_pb_module .star-rating{margin-bottom:12px!important}.et_pb_wc_reviews.et_pb_module .star-rating span:before{transition:color .3s}.et_pb_wc_reviews.et_pb_no_avatar .avatar{display:none}.et_pb_wc_reviews.et_pb_no_avatar #reviews #comments ol.commentlist li .comment-text{margin-left:0!important}.et_pb_wc_reviews .comment-reply-title{display:block}.et_pb_wc_reviews.et_pb_no_comments_meta .meta,.et_pb_wc_reviews.et_pb_no_comments_rating .star-rating{display:none}@media (min-width:480px){.et_pb_row>.et_pb_column_1_6 .et_pb_wc_reviews #reviews #comments ol.commentlist li img.avatar{float:none;position:relative;margin-bottom:10px}.et_pb_row>.et_pb_column_1_6 .et_pb_wc_reviews #reviews #comments ol.commentlist li .comment-text{margin-left:0!important}}@media (min-width:980px){.et_pb_row>.et_pb_column_1_5 .et_pb_wc_reviews #reviews #comments ol.commentlist li img.avatar,.et_pb_row_inner>.et_pb_column_1_6 .et_pb_wc_reviews #reviews #comments ol.commentlist li img.avatar,.et_pb_row_inner>.et_pb_column_2_9 .et_pb_wc_reviews #reviews #comments ol.commentlist li img.avatar{float:none;position:relative;margin-bottom:10px}.et_pb_row>.et_pb_column_1_5 .et_pb_wc_reviews #reviews #comments ol.commentlist li .comment-text,.et_pb_row_inner>.et_pb_column_1_6 .et_pb_wc_reviews #reviews #comments ol.commentlist li .comment-text,.et_pb_row_inner>.et_pb_column_2_9 .et_pb_wc_reviews #reviews #comments ol.commentlist li .comment-text{margin-left:0!important}}.et-dynamic-content-woo--product_reviews.woocommerce .comment-reply-title,.et-dynamic-content-woo--product_reviews.woocommerce .rating,.et-dynamic-content-woo--product_reviews.woocommerce ol.commentlist li .description,.et-dynamic-content-woo--product_reviews.woocommerce ol.commentlist li .meta{color:inherit!important;font-family:inherit;font-weight:inherit;font-style:inherit;font-size:inherit;letter-spacing:inherit;line-height:inherit;text-align:inherit;text-shadow:inherit}.et-dynamic-content-woo--product_reviews.woocommerce .woocommerce-Reviews-title{color:inherit;font-family:inherit;font-weight:inherit;font-style:inherit;letter-spacing:inherit;line-height:inherit;text-align:inherit;text-shadow:inherit}
|
@ -1 +1 @@
|
||||
.et-db #et-boc .et-l .et_pb_with_border.et_pb_wc_reviews #reviews #comments ol.commentlist li img.avatar{border:0 solid #333}.et-db #et-boc .et-l .et_pb_wc_reviews.et_pb_no_comments_count .woocommerce-Reviews-title{display:none}.et-db #et-boc .et-l .et_pb_wc_reviews.et_pb_comments_module.et_pb_no_comments_count #comments{display:block}.et-db #et-boc .et-l .et_pb_wc_reviews.et_pb_module .star-rating{margin-bottom:12px!important}.et-db #et-boc .et-l .et_pb_wc_reviews.et_pb_module .star-rating span:before{transition:color .3s}.et-db #et-boc .et-l .et_pb_wc_reviews.et_pb_no_avatar .avatar{display:none}.et-db #et-boc .et-l .et_pb_wc_reviews.et_pb_no_avatar #reviews #comments ol.commentlist li .comment-text{margin-left:0!important}.et-db #et-boc .et-l .et_pb_wc_reviews .comment-reply-title{display:block}@media (min-width:480px){.et-db #et-boc .et-l .et_pb_row>.et_pb_column_1_6 .et_pb_wc_reviews #reviews #comments ol.commentlist li img.avatar{float:none;position:relative;margin-bottom:10px}.et-db #et-boc .et-l .et_pb_row>.et_pb_column_1_6 .et_pb_wc_reviews #reviews #comments ol.commentlist li .comment-text{margin-left:0!important}}@media (min-width:980px){.et-db #et-boc .et-l .et_pb_row>.et_pb_column_1_5 .et_pb_wc_reviews #reviews #comments ol.commentlist li img.avatar,.et-db #et-boc .et-l .et_pb_row_inner>.et_pb_column_1_6 .et_pb_wc_reviews #reviews #comments ol.commentlist li img.avatar,.et-db #et-boc .et-l .et_pb_row_inner>.et_pb_column_2_9 .et_pb_wc_reviews #reviews #comments ol.commentlist li img.avatar{float:none;position:relative;margin-bottom:10px}.et-db #et-boc .et-l .et_pb_row>.et_pb_column_1_5 .et_pb_wc_reviews #reviews #comments ol.commentlist li .comment-text,.et-db #et-boc .et-l .et_pb_row_inner>.et_pb_column_1_6 .et_pb_wc_reviews #reviews #comments ol.commentlist li .comment-text,.et-db #et-boc .et-l .et_pb_row_inner>.et_pb_column_2_9 .et_pb_wc_reviews #reviews #comments ol.commentlist li .comment-text{margin-left:0!important}}.et-db #et-boc .et-l .et-dynamic-content-woo--product_reviews.woocommerce .comment-reply-title,.et-db #et-boc .et-l .et-dynamic-content-woo--product_reviews.woocommerce .rating,.et-db #et-boc .et-l .et-dynamic-content-woo--product_reviews.woocommerce ol.commentlist li .description,.et-db #et-boc .et-l .et-dynamic-content-woo--product_reviews.woocommerce ol.commentlist li .meta{color:inherit!important;font-family:inherit;font-weight:inherit;font-style:inherit;font-size:inherit;letter-spacing:inherit;line-height:inherit;text-align:inherit;text-shadow:inherit}.et-db #et-boc .et-l .et-dynamic-content-woo--product_reviews.woocommerce .woocommerce-Reviews-title{color:inherit;font-family:inherit;font-weight:inherit;font-style:inherit;letter-spacing:inherit;line-height:inherit;text-align:inherit;text-shadow:inherit}
|
||||
.et-db #et-boc .et-l .et_pb_with_border.et_pb_wc_reviews #reviews #comments ol.commentlist li img.avatar{border:0 solid #333}.et-db #et-boc .et-l .et_pb_wc_reviews.et_pb_no_comments_count .woocommerce-Reviews-title{display:none}.et-db #et-boc .et-l .et_pb_wc_reviews.et_pb_comments_module.et_pb_no_comments_count #comments{display:block}.et-db #et-boc .et-l .et_pb_wc_reviews.et_pb_module .star-rating{margin-bottom:12px!important}.et-db #et-boc .et-l .et_pb_wc_reviews.et_pb_module .star-rating span:before{transition:color .3s}.et-db #et-boc .et-l .et_pb_wc_reviews.et_pb_no_avatar .avatar{display:none}.et-db #et-boc .et-l .et_pb_wc_reviews.et_pb_no_avatar #reviews #comments ol.commentlist li .comment-text{margin-left:0!important}.et-db #et-boc .et-l .et_pb_wc_reviews .comment-reply-title{display:block}.et-db #et-boc .et-l .et_pb_wc_reviews.et_pb_no_comments_meta .meta,.et-db #et-boc .et-l .et_pb_wc_reviews.et_pb_no_comments_rating .star-rating{display:none}@media (min-width:480px){.et-db #et-boc .et-l .et_pb_row>.et_pb_column_1_6 .et_pb_wc_reviews #reviews #comments ol.commentlist li img.avatar{float:none;position:relative;margin-bottom:10px}.et-db #et-boc .et-l .et_pb_row>.et_pb_column_1_6 .et_pb_wc_reviews #reviews #comments ol.commentlist li .comment-text{margin-left:0!important}}@media (min-width:980px){.et-db #et-boc .et-l .et_pb_row>.et_pb_column_1_5 .et_pb_wc_reviews #reviews #comments ol.commentlist li img.avatar,.et-db #et-boc .et-l .et_pb_row_inner>.et_pb_column_1_6 .et_pb_wc_reviews #reviews #comments ol.commentlist li img.avatar,.et-db #et-boc .et-l .et_pb_row_inner>.et_pb_column_2_9 .et_pb_wc_reviews #reviews #comments ol.commentlist li img.avatar{float:none;position:relative;margin-bottom:10px}.et-db #et-boc .et-l .et_pb_row>.et_pb_column_1_5 .et_pb_wc_reviews #reviews #comments ol.commentlist li .comment-text,.et-db #et-boc .et-l .et_pb_row_inner>.et_pb_column_1_6 .et_pb_wc_reviews #reviews #comments ol.commentlist li .comment-text,.et-db #et-boc .et-l .et_pb_row_inner>.et_pb_column_2_9 .et_pb_wc_reviews #reviews #comments ol.commentlist li .comment-text{margin-left:0!important}}.et-db #et-boc .et-l .et-dynamic-content-woo--product_reviews.woocommerce .comment-reply-title,.et-db #et-boc .et-l .et-dynamic-content-woo--product_reviews.woocommerce .rating,.et-db #et-boc .et-l .et-dynamic-content-woo--product_reviews.woocommerce ol.commentlist li .description,.et-db #et-boc .et-l .et-dynamic-content-woo--product_reviews.woocommerce ol.commentlist li .meta{color:inherit!important;font-family:inherit;font-weight:inherit;font-style:inherit;font-size:inherit;letter-spacing:inherit;line-height:inherit;text-align:inherit;text-shadow:inherit}.et-db #et-boc .et-l .et-dynamic-content-woo--product_reviews.woocommerce .woocommerce-Reviews-title{color:inherit;font-family:inherit;font-weight:inherit;font-style:inherit;letter-spacing:inherit;line-height:inherit;text-align:inherit;text-shadow:inherit}
|
@ -1 +1 @@
|
||||
.product{word-wrap:break-word}@media (max-width:980px){.et_pb_woo_custom_button_icon .et_pb_custom_button_icon.et_pb_button:after{content:attr(data-icon-tablet)!important}}@media (max-width:767px){.et_pb_woo_custom_button_icon .et_pb_custom_button_icon.et_pb_button:after{content:attr(data-icon-phone)!important}}.et-dynamic-content-woo a{color:inherit!important;font-family:inherit;font-weight:inherit;font-style:inherit;font-size:inherit;letter-spacing:inherit;line-height:inherit;text-align:inherit;text-shadow:inherit}.woocommerce-page #content input.button:hover .et_pb_widget li a:hover{color:#2ea3f2}.woocommerce.et_pb_pagebuilder_layout div.product div.summary{margin-bottom:0}.et_pb_pagebuilder_layout .rfq_form_wrap:after{content:" ";display:block;visibility:hidden;clear:both;height:0;font-size:0}@media (min-width:981px){.woocommerce-page:not(.et-tb-has-template) .et_pb_shop ul.products li.product{clear:none}}@media (min-width:768px) and (max-width:980px){.woocommerce-page ul.products li.product:nth-child(n){margin:0 7.5% 7.5% 0!important;width:28.333%!important;clear:none;float:left!important}.woocommerce-page ul.products li.product:nth-child(3n){margin-right:0!important}.woocommerce-page ul.products li.product:nth-child(3n+1){clear:both}}@media (max-width:767px){.woocommerce-page ul.products li.product:nth-child(n){margin:0 9.5% 9.5% 0!important;width:45.25%!important;clear:none}.woocommerce-page ul.products li.product:nth-child(2n){margin-right:0!important}.woocommerce-page ul.products li.product:nth-child(odd){clear:both}}@media (max-width:479px){.woocommerce-page ul.products li.product:nth-child(n){margin:0 0 11.5%!important;width:100%!important}}
|
||||
.product{word-wrap:break-word}@media (max-width:980px){.et_pb_woo_custom_button_icon .et_pb_custom_button_icon.et_pb_button:after{content:attr(data-icon-tablet)}}@media (max-width:767px){.et_pb_woo_custom_button_icon .et_pb_custom_button_icon.et_pb_button:after{content:attr(data-icon-phone)}}.et-dynamic-content-woo a{color:inherit!important;font-family:inherit;font-weight:inherit;font-style:inherit;font-size:inherit;letter-spacing:inherit;line-height:inherit;text-align:inherit;text-shadow:inherit}.woocommerce-page #content input.button:hover .et_pb_widget li a:hover{color:#2ea3f2}.woocommerce.et_pb_pagebuilder_layout div.product div.summary{margin-bottom:0}.et_pb_pagebuilder_layout .rfq_form_wrap:after{content:" ";display:block;visibility:hidden;clear:both;height:0;font-size:0}@media (min-width:981px){.woocommerce-page:not(.et-tb-has-template) .et_pb_shop ul.products li.product{clear:none}}@media (min-width:768px) and (max-width:980px){.woocommerce-page ul.products li.product:nth-child(n){margin:0 7.5% 7.5% 0!important;width:28.333%!important;clear:none;float:left!important}.woocommerce-page ul.products li.product:nth-child(3n){margin-right:0!important}.woocommerce-page ul.products li.product:nth-child(3n+1){clear:both}}@media (max-width:767px){.woocommerce-page ul.products li.product:nth-child(n){margin:0 9.5% 9.5% 0!important;width:45.25%!important;clear:none}.woocommerce-page ul.products li.product:nth-child(2n){margin-right:0!important}.woocommerce-page ul.products li.product:nth-child(odd){clear:both}}@media (max-width:479px){.woocommerce-page ul.products li.product:nth-child(n){margin:0 0 11.5%!important;width:100%!important}}
|
@ -1 +1 @@
|
||||
.et-db #et-boc .et-l .product{word-wrap:break-word}@media (max-width:980px){.et-db #et-boc .et-l .et_pb_woo_custom_button_icon .et_pb_custom_button_icon.et_pb_button:after{content:attr(data-icon-tablet)!important}}@media (max-width:767px){.et-db #et-boc .et-l .et_pb_woo_custom_button_icon .et_pb_custom_button_icon.et_pb_button:after{content:attr(data-icon-phone)!important}}.et-db #et-boc .et-l .et-dynamic-content-woo a{color:inherit!important;font-family:inherit;font-weight:inherit;font-style:inherit;font-size:inherit;letter-spacing:inherit;line-height:inherit;text-align:inherit;text-shadow:inherit}.woocommerce-page #content input.button:hover .et_pb_widget li a:hover{color:#2ea3f2}.woocommerce.et_pb_pagebuilder_layout div.product div.summary{margin-bottom:0}.et_pb_pagebuilder_layout .rfq_form_wrap:after{content:" ";display:block;visibility:hidden;clear:both;height:0;font-size:0}@media (min-width:981px){.woocommerce-page:not(.et-tb-has-template) .et_pb_shop ul.products li.product{clear:none}}@media (min-width:768px) and (max-width:980px){.woocommerce-page ul.products li.product:nth-child(n){margin:0 7.5% 7.5% 0!important;width:28.333%!important;clear:none;float:left!important}.woocommerce-page ul.products li.product:nth-child(3n){margin-right:0!important}.woocommerce-page ul.products li.product:nth-child(3n+1){clear:both}}@media (max-width:767px){.woocommerce-page ul.products li.product:nth-child(n){margin:0 9.5% 9.5% 0!important;width:45.25%!important;clear:none}.woocommerce-page ul.products li.product:nth-child(2n){margin-right:0!important}.woocommerce-page ul.products li.product:nth-child(odd){clear:both}}@media (max-width:479px){.woocommerce-page ul.products li.product:nth-child(n){margin:0 0 11.5%!important;width:100%!important}}
|
||||
.et-db #et-boc .et-l .product{word-wrap:break-word}@media (max-width:980px){.et-db #et-boc .et-l .et_pb_woo_custom_button_icon .et_pb_custom_button_icon.et_pb_button:after{content:attr(data-icon-tablet)}}@media (max-width:767px){.et-db #et-boc .et-l .et_pb_woo_custom_button_icon .et_pb_custom_button_icon.et_pb_button:after{content:attr(data-icon-phone)}}.et-db #et-boc .et-l .et-dynamic-content-woo a{color:inherit!important;font-family:inherit;font-weight:inherit;font-style:inherit;font-size:inherit;letter-spacing:inherit;line-height:inherit;text-align:inherit;text-shadow:inherit}.woocommerce-page #content input.button:hover .et_pb_widget li a:hover{color:#2ea3f2}.woocommerce.et_pb_pagebuilder_layout div.product div.summary{margin-bottom:0}.et_pb_pagebuilder_layout .rfq_form_wrap:after{content:" ";display:block;visibility:hidden;clear:both;height:0;font-size:0}@media (min-width:981px){.woocommerce-page:not(.et-tb-has-template) .et_pb_shop ul.products li.product{clear:none}}@media (min-width:768px) and (max-width:980px){.woocommerce-page ul.products li.product:nth-child(n){margin:0 7.5% 7.5% 0!important;width:28.333%!important;clear:none;float:left!important}.woocommerce-page ul.products li.product:nth-child(3n){margin-right:0!important}.woocommerce-page ul.products li.product:nth-child(3n+1){clear:both}}@media (max-width:767px){.woocommerce-page ul.products li.product:nth-child(n){margin:0 9.5% 9.5% 0!important;width:45.25%!important;clear:none}.woocommerce-page ul.products li.product:nth-child(2n){margin-right:0!important}.woocommerce-page ul.products li.product:nth-child(odd){clear:both}}@media (max-width:479px){.woocommerce-page ul.products li.product:nth-child(n){margin:0 0 11.5%!important;width:100%!important}}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -50,14 +50,10 @@ class ET_Dynamic_Assets {
|
||||
private $_object_id = null;
|
||||
|
||||
/**
|
||||
* Post content.
|
||||
* Entire page content, including TB Header, TB Body Layout, Post Content and TB Footer.
|
||||
*
|
||||
* @var null
|
||||
*/
|
||||
private $_post_content = null;
|
||||
|
||||
/**
|
||||
* All content.
|
||||
* Content is not passed through `the_content` filter, This means that `$_all_content` will include auto-embedded
|
||||
* videos or expanded shortcodes, the content is considered raw.
|
||||
*
|
||||
* @var null
|
||||
*/
|
||||
@ -137,6 +133,13 @@ class ET_Dynamic_Assets {
|
||||
*/
|
||||
private $_rtl_suffix = null;
|
||||
|
||||
/**
|
||||
* Prefix used for files that contain css from theme builder templates.
|
||||
*
|
||||
* @var null
|
||||
*/
|
||||
private $_tb_prefix = null;
|
||||
|
||||
/**
|
||||
* Assets for all shortcode modules.
|
||||
*
|
||||
@ -471,6 +474,7 @@ class ET_Dynamic_Assets {
|
||||
*/
|
||||
public function initial_setup() {
|
||||
// Don't do anything if it's not needed.
|
||||
|
||||
if ( ! $this->should_initiate() ) {
|
||||
return;
|
||||
}
|
||||
@ -482,7 +486,7 @@ class ET_Dynamic_Assets {
|
||||
$this->_object_id = intval( get_queried_object()->term_id );
|
||||
} elseif ( ! empty( $post->ID ) ) {
|
||||
$this->_object_id = intval( $post->ID );
|
||||
} elseif ( is_search() ) {
|
||||
} elseif ( is_search() || $this->is_virtual_page() ) {
|
||||
$this->_object_id = -1;
|
||||
}
|
||||
|
||||
@ -503,8 +507,8 @@ class ET_Dynamic_Assets {
|
||||
|
||||
$this->_post_id = ! empty( $post ) ? intval( $post->ID ) : -1;
|
||||
$this->_tb_template_ids = $this->get_theme_builder_template_ids();
|
||||
$this->_post_content = ! empty( $post ) ? $post->post_content : '';
|
||||
$this->_all_content = $this->get_all_content();
|
||||
$content_retriever = \Feature\ContentRetriever\ET_Builder_Content_Retriever::init();
|
||||
$this->_all_content = $content_retriever->get_entire_page_content( $post );
|
||||
$this->_cache_dir_path = et_core_cache_dir()->path;
|
||||
$this->_cache_dir_url = et_core_cache_dir()->url;
|
||||
$this->_product_dir = et_is_builder_plugin_active() ? ET_BUILDER_PLUGIN_URI : get_template_directory_uri();
|
||||
@ -512,6 +516,8 @@ class ET_Dynamic_Assets {
|
||||
$this->is_rtl = is_rtl();
|
||||
$this->_rtl_suffix = $this->is_rtl ? '_rtl' : '';
|
||||
$this->_page_builder_used = is_singular() ? et_pb_is_pagebuilder_used( $this->_post_id ) : false;
|
||||
$this->_tb_prefix = $this->_tb_template_ids ? '-tb' : '';
|
||||
$generate_assets = true;
|
||||
|
||||
// Create asset directory, if it does not exist.
|
||||
$ds = DIRECTORY_SEPARATOR;
|
||||
@ -538,10 +544,21 @@ class ET_Dynamic_Assets {
|
||||
|
||||
}
|
||||
|
||||
// If dynamic asset files do not exist, generate them.
|
||||
$files = (array) glob( "{$this->_cache_dir_path}/{$this->_folder_name}/et*-dynamic*" );
|
||||
$files = (array) glob( "{$this->_cache_dir_path}/{$this->_folder_name}/et*-dynamic*{$this->_tb_prefix}*" );
|
||||
|
||||
foreach ( $files as $file ) {
|
||||
if ( ! et_()->includes( $file, '-late' ) ) {
|
||||
$generate_assets = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if ( $generate_assets ) {
|
||||
// If we are regenerating early assets that are missing, we should clear the old assets as well.
|
||||
if ( $files && ! $this->_need_late_generation ) {
|
||||
ET_Core_PageResource::remove_static_resources( $this->_post_id, 'all', false, 'dynamic' );
|
||||
}
|
||||
|
||||
if ( empty( $files ) ) {
|
||||
$this->generate_dynamic_assets();
|
||||
}
|
||||
}
|
||||
@ -597,8 +614,7 @@ class ET_Dynamic_Assets {
|
||||
}
|
||||
|
||||
$dynamic_assets_files = array();
|
||||
|
||||
$files = (array) glob( "{$this->_cache_dir_path}/{$this->_folder_name}/et*-dynamic*" );
|
||||
$files = (array) glob( "{$this->_cache_dir_path}/{$this->_folder_name}/et*-dynamic*{$this->_tb_prefix}*" );
|
||||
|
||||
if ( empty( $files ) ) {
|
||||
return array();
|
||||
@ -866,32 +882,15 @@ class ET_Dynamic_Assets {
|
||||
$suffix = empty( $suffix ) ? '' : "-{$suffix}";
|
||||
$file_name = "et-{$this->_owner}-dynamic{$tb_ids}{$maybe_post_id}{$late_suffix}{$suffix}.css";
|
||||
$file_path = et_()->normalize_path( "{$file_dir}{$file_name}" );
|
||||
$lock_file = wp_tempnam( $file_name );
|
||||
if ( file_exists( $file_path ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Iterate over all the asset data to generate dynamic asset files.
|
||||
foreach ( $assets_data as $file_type => $data ) {
|
||||
$file_contents .= implode( "\n", array_unique( $data['content'] ) );
|
||||
}
|
||||
|
||||
if ( file_exists( $file_path ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Try to create a temporary directory which we'll use as a pseudo file lock.
|
||||
if ( file_exists( $lock_file ) ) {
|
||||
$wp_filesystem->put_contents( $lock_file, '' );
|
||||
|
||||
// Create the static resource file.
|
||||
$asset_created = $wp_filesystem->put_contents( $file_path, $file_contents, FS_CHMOD_FILE );
|
||||
|
||||
if ( ! $asset_created ) {
|
||||
// There's no point in continuing.
|
||||
return;
|
||||
} else {
|
||||
// Remove the temporary file.
|
||||
unlink( $lock_file );
|
||||
}
|
||||
}
|
||||
$wp_filesystem->put_contents( $file_path, $file_contents, FS_CHMOD_FILE );
|
||||
}
|
||||
|
||||
/**
|
||||
@ -1103,6 +1102,7 @@ class ET_Dynamic_Assets {
|
||||
$assets_data = array();
|
||||
$newly_processed_files = array();
|
||||
$files_with_url = array( 'signup', 'icons_base', 'icons_base_social', 'icons_all', 'icons_fa_all' );
|
||||
$no_protocol_path = str_replace( array( 'http:', 'https:' ), '', $this->_product_dir );
|
||||
|
||||
foreach ( $asset_list as $asset => $asset_data ) {
|
||||
foreach ( $asset_data as $file_type => $files ) {
|
||||
@ -1119,7 +1119,7 @@ class ET_Dynamic_Assets {
|
||||
$file_content = $wp_filesystem->get_contents( $file );
|
||||
|
||||
if ( in_array( basename( $file, '.css' ), $files_with_url, true ) ) {
|
||||
$file_content = preg_replace( '/#dynamic-product-dir/i', $this->_product_dir, $file_content );
|
||||
$file_content = preg_replace( '/#dynamic-product-dir/i', $no_protocol_path, $file_content );
|
||||
}
|
||||
|
||||
$file_content = trim( $file_content );
|
||||
@ -1167,7 +1167,6 @@ class ET_Dynamic_Assets {
|
||||
'et_pb_social_media_follow',
|
||||
'et_pb_team_member',
|
||||
);
|
||||
|
||||
if ( ! $this->_use_divi_icons || ! $this->_use_fa_icons ) {
|
||||
if ( empty( $this->_presets_attributes ) ) {
|
||||
$this->_presets_attributes = $this->get_preset_attributes( $this->_all_content );
|
||||
@ -1195,7 +1194,7 @@ class ET_Dynamic_Assets {
|
||||
}
|
||||
}
|
||||
|
||||
$maybe_post_contains_divi_icon = $this->_use_divi_icons || $maybe_presets_contain_divi_icon || ( $this->check_for_dependency( et_pb_get_font_icon_modules(), $this->_processed_shortcodes ) && et_pb_check_if_post_contains_divi_font_icon( $this->_all_content ) );
|
||||
$maybe_post_contains_divi_icon = $this->_use_divi_icons || $maybe_presets_contain_divi_icon || et_pb_check_if_post_contains_divi_font_icon( $this->_all_content );
|
||||
|
||||
// Load the icon font needed based on the icons being used.
|
||||
$this->_use_divi_icons = $this->_use_divi_icons || ( 'on' !== $dynamic_icons || $maybe_post_contains_divi_icon || $this->check_if_class_exits( 'et-pb-icon', $this->_all_content ) );
|
||||
@ -1550,39 +1549,39 @@ class ET_Dynamic_Assets {
|
||||
|
||||
$assets_list = array(
|
||||
// Structure elements.
|
||||
'et_pb_section' => array(
|
||||
'et_pb_section' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/section{$this->_cpt_suffix}.css",
|
||||
"{$assets_prefix}/css/row{$this->_cpt_suffix}.css",
|
||||
// Some fullwidth section modules use the et_pb_row class.
|
||||
),
|
||||
),
|
||||
'et_pb_row' => array(
|
||||
'et_pb_row' => array(
|
||||
'css' => "{$assets_prefix}/css/row{$this->_cpt_suffix}.css",
|
||||
),
|
||||
'et_pb_column' => array(),
|
||||
'et_pb_column' => array(),
|
||||
|
||||
'et_pb_row_inner' => array(
|
||||
'et_pb_row_inner' => array(
|
||||
'css' => "{$assets_prefix}/css/row{$this->_cpt_suffix}.css",
|
||||
),
|
||||
|
||||
// Module elements.
|
||||
'et_pb_accordion' => array(
|
||||
'et_pb_accordion' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/accordion{$this->_cpt_suffix}.css",
|
||||
"{$assets_prefix}/css/toggle{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_audio' => array(
|
||||
'et_pb_audio' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/audio{$this->_cpt_suffix}.css",
|
||||
"{$assets_prefix}/css/audio_player{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_counter' => array(
|
||||
'et_pb_counter' => array(
|
||||
'css' => "{$assets_prefix}/css/counter{$this->_cpt_suffix}.css",
|
||||
),
|
||||
'et_pb_blog' => array(
|
||||
'et_pb_blog' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/blog{$this->_cpt_suffix}.css",
|
||||
"{$assets_prefix}/css/posts{$this->_cpt_suffix}.css",
|
||||
@ -1595,32 +1594,37 @@ class ET_Dynamic_Assets {
|
||||
"{$assets_prefix}/css/wp_gallery{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_blurb' => array(
|
||||
'et_pb_blurb' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/blurb{$this->_cpt_suffix}.css",
|
||||
"{$assets_prefix}/css/legacy_animations{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_button' => array(
|
||||
'et_pb_icon' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/icon{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_button' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/button{$this->_cpt_suffix}.css",
|
||||
"{$assets_prefix}/css/buttons{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_circle_counter' => array(
|
||||
'et_pb_circle_counter' => array(
|
||||
'css' => "{$assets_prefix}/css/circle_counter{$this->_cpt_suffix}.css",
|
||||
),
|
||||
'et_pb_code' => array(
|
||||
'et_pb_code' => array(
|
||||
'css' => "{$assets_prefix}/css/code{$this->_cpt_suffix}.css",
|
||||
),
|
||||
'et_pb_comments' => array(
|
||||
'et_pb_comments' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/comments{$this->_cpt_suffix}.css",
|
||||
"{$assets_prefix}/css/comments_shared{$this->_cpt_suffix}.css",
|
||||
"{$assets_prefix}/css/buttons{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_contact_form' => array(
|
||||
'et_pb_contact_form' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/contact_form{$this->_cpt_suffix}.css",
|
||||
"{$assets_prefix}/css/forms{$this->_cpt_suffix}.css",
|
||||
@ -1629,17 +1633,17 @@ class ET_Dynamic_Assets {
|
||||
"{$assets_prefix}/css/buttons{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_countdown_timer' => array(
|
||||
'et_pb_countdown_timer' => array(
|
||||
'css' => "{$assets_prefix}/css/countdown_timer{$this->_cpt_suffix}.css",
|
||||
),
|
||||
'et_pb_cta' => array(
|
||||
'et_pb_cta' => array(
|
||||
'css' => "{$assets_prefix}/css/cta{$this->_cpt_suffix}.css",
|
||||
"{$assets_prefix}/css/buttons{$this->_cpt_suffix}.css",
|
||||
),
|
||||
'et_pb_divider' => array(
|
||||
'et_pb_divider' => array(
|
||||
'css' => "{$assets_prefix}/css/divider{$this->_cpt_suffix}.css",
|
||||
),
|
||||
'et_pb_filterable_portfolio' => array(
|
||||
'et_pb_filterable_portfolio' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/filterable_portfolio{$this->_cpt_suffix}.css",
|
||||
"{$assets_prefix}/css/portfolio{$this->_cpt_suffix}.css",
|
||||
@ -1647,26 +1651,26 @@ class ET_Dynamic_Assets {
|
||||
"{$assets_prefix}/css/overlay{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_fullwidth_code' => array(
|
||||
'et_pb_fullwidth_code' => array(
|
||||
'css' => "{$assets_prefix}/css/fullwidth_code{$this->_cpt_suffix}.css",
|
||||
),
|
||||
'et_pb_fullwidth_header' => array(
|
||||
'et_pb_fullwidth_header' => array(
|
||||
'css' => "{$assets_prefix}/css/fullwidth_header{$this->_cpt_suffix}.css",
|
||||
"{$assets_prefix}/css/buttons{$this->_cpt_suffix}.css",
|
||||
),
|
||||
'et_pb_fullwidth_image' => array(
|
||||
'et_pb_fullwidth_image' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/fullwidth_image{$this->_cpt_suffix}.css",
|
||||
"{$assets_prefix}/css/overlay{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_fullwidth_map' => array(
|
||||
'et_pb_fullwidth_map' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/map{$this->_cpt_suffix}.css",
|
||||
"{$assets_prefix}/css/fullwidth_map{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_fullwidth_menu' => array(
|
||||
'et_pb_fullwidth_menu' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/menus{$this->_cpt_suffix}.css",
|
||||
"{$assets_prefix}/css/fullwidth_menu{$this->_cpt_suffix}.css",
|
||||
@ -1674,7 +1678,7 @@ class ET_Dynamic_Assets {
|
||||
"{$assets_prefix}/css/header_shared{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_fullwidth_portfolio' => array(
|
||||
'et_pb_fullwidth_portfolio' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/fullwidth_portfolio{$this->_cpt_suffix}.css",
|
||||
"{$assets_prefix}/css/grid_items{$this->_cpt_suffix}.css",
|
||||
@ -1682,7 +1686,7 @@ class ET_Dynamic_Assets {
|
||||
"{$assets_prefix}/css/slider_controls{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_fullwidth_post_slider' => array(
|
||||
'et_pb_fullwidth_post_slider' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/post_slider{$this->_cpt_suffix}.css",
|
||||
"{$assets_prefix}/css/fullwidth_post_slider{$this->_cpt_suffix}.css",
|
||||
@ -1693,14 +1697,14 @@ class ET_Dynamic_Assets {
|
||||
"{$assets_prefix}/css/buttons{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_fullwidth_post_title' => array(
|
||||
'et_pb_fullwidth_post_title' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/post_title{$this->_cpt_suffix}.css",
|
||||
"{$assets_prefix}/css/fullwidth_post_title{$this->_cpt_suffix}.css",
|
||||
"{$assets_prefix}/css/buttons{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_fullwidth_slider' => array(
|
||||
'et_pb_fullwidth_slider' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/fullwidth_slider{$this->_cpt_suffix}.css",
|
||||
"{$assets_prefix}/css/slider_modules{$this->_cpt_suffix}.css",
|
||||
@ -1709,7 +1713,7 @@ class ET_Dynamic_Assets {
|
||||
"{$assets_prefix}/css/buttons{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_gallery' => array(
|
||||
'et_pb_gallery' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/gallery{$this->_cpt_suffix}.css",
|
||||
"{$assets_prefix}/css/overlay{$this->_cpt_suffix}.css",
|
||||
@ -1719,20 +1723,20 @@ class ET_Dynamic_Assets {
|
||||
"{$assets_prefix}/css/magnific_popup.css",
|
||||
),
|
||||
),
|
||||
'gallery' => array(
|
||||
'gallery' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/wp_gallery{$this->_cpt_suffix}.css",
|
||||
"{$assets_prefix}/css/magnific_popup.css",
|
||||
"{$assets_prefix}/css/overlay{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_image' => array(
|
||||
'et_pb_image' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/image{$this->_cpt_suffix}.css",
|
||||
"{$assets_prefix}/css/overlay{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_login' => array(
|
||||
'et_pb_login' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/login{$this->_cpt_suffix}.css",
|
||||
"{$assets_prefix}/css/forms{$this->_cpt_suffix}.css",
|
||||
@ -1741,10 +1745,10 @@ class ET_Dynamic_Assets {
|
||||
"{$assets_prefix}/css/buttons{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_map' => array(
|
||||
'et_pb_map' => array(
|
||||
'css' => "{$assets_prefix}/css/map{$this->_cpt_suffix}.css",
|
||||
),
|
||||
'et_pb_menu' => array(
|
||||
'et_pb_menu' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/menus{$this->_cpt_suffix}.css",
|
||||
"{$assets_prefix}/css/menu{$this->_cpt_suffix}.css",
|
||||
@ -1752,17 +1756,17 @@ class ET_Dynamic_Assets {
|
||||
"{$assets_prefix}/css/header_shared{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_number_counter' => array(
|
||||
'et_pb_number_counter' => array(
|
||||
'css' => "{$assets_prefix}/css/number_counter{$this->_cpt_suffix}.css",
|
||||
),
|
||||
'et_pb_portfolio' => array(
|
||||
'et_pb_portfolio' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/portfolio{$this->_cpt_suffix}.css",
|
||||
"{$assets_prefix}/css/grid_items{$this->_cpt_suffix}.css",
|
||||
"{$assets_prefix}/css/overlay{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_post_slider' => array(
|
||||
'et_pb_post_slider' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/post_slider{$this->_cpt_suffix}.css",
|
||||
"{$assets_prefix}/css/posts{$this->_cpt_suffix}.css",
|
||||
@ -1772,37 +1776,37 @@ class ET_Dynamic_Assets {
|
||||
"{$assets_prefix}/css/buttons{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_post_nav' => array(
|
||||
'et_pb_post_nav' => array(
|
||||
'css' => "{$assets_prefix}/css/post_nav{$this->_cpt_suffix}.css",
|
||||
),
|
||||
'et_pb_post_title' => array(
|
||||
'et_pb_post_title' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/post_title{$this->_cpt_suffix}.css",
|
||||
"{$assets_prefix}/css/buttons{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_pricing_tables' => array(
|
||||
'et_pb_pricing_tables' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/pricing_tables{$this->_cpt_suffix}.css",
|
||||
"{$assets_prefix}/css/buttons{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_search' => array(
|
||||
'et_pb_search' => array(
|
||||
'css' => "{$assets_prefix}/css/search{$this->_cpt_suffix}.css",
|
||||
),
|
||||
'et_pb_shop' => array(
|
||||
'et_pb_shop' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/shop{$this->_cpt_suffix}.css",
|
||||
"{$assets_prefix}/css/overlay{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_sidebar' => array(
|
||||
'et_pb_sidebar' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/sidebar{$this->_cpt_suffix}.css",
|
||||
"{$assets_prefix}/css/widgets_shared{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_signup' => array(
|
||||
'et_pb_signup' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/signup{$this->_cpt_suffix}.css",
|
||||
"{$assets_prefix}/css/forms{$this->_cpt_suffix}.css",
|
||||
@ -1811,7 +1815,7 @@ class ET_Dynamic_Assets {
|
||||
"{$assets_prefix}/css/buttons{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_slider' => array(
|
||||
'et_pb_slider' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/slider{$this->_cpt_suffix}.css",
|
||||
"{$assets_prefix}/css/slider_modules{$this->_cpt_suffix}.css",
|
||||
@ -1820,34 +1824,34 @@ class ET_Dynamic_Assets {
|
||||
"{$assets_prefix}/css/buttons{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_social_media_follow' => array(
|
||||
'et_pb_social_media_follow' => array(
|
||||
'css' => "{$assets_prefix}/css/social_media_follow{$this->_cpt_suffix}.css",
|
||||
),
|
||||
'et_pb_tabs' => array(
|
||||
'et_pb_tabs' => array(
|
||||
'css' => "{$assets_prefix}/css/tabs{$this->_cpt_suffix}.css",
|
||||
),
|
||||
'et_pb_team_member' => array(
|
||||
'et_pb_team_member' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/team_member{$this->_cpt_suffix}.css",
|
||||
"{$assets_prefix}/css/legacy_animations{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_testimonial' => array(
|
||||
'et_pb_testimonial' => array(
|
||||
'css' => "{$assets_prefix}/css/testimonial{$this->_cpt_suffix}.css",
|
||||
),
|
||||
'et_pb_text' => array(
|
||||
'et_pb_text' => array(
|
||||
'css' => "{$assets_prefix}/css/text{$this->_cpt_suffix}.css",
|
||||
),
|
||||
'et_pb_toggle' => array(
|
||||
'et_pb_toggle' => array(
|
||||
'css' => "{$assets_prefix}/css/toggle{$this->_cpt_suffix}.css",
|
||||
),
|
||||
'et_pb_video' => array(
|
||||
'et_pb_video' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/video{$this->_cpt_suffix}.css",
|
||||
"{$assets_prefix}/css/video_player{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_video_slider' => array(
|
||||
'et_pb_video_slider' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/video_slider{$this->_cpt_suffix}.css",
|
||||
"{$assets_prefix}/css/video_player{$this->_cpt_suffix}.css",
|
||||
@ -1855,34 +1859,34 @@ class ET_Dynamic_Assets {
|
||||
"{$assets_prefix}/css/slider_controls{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_wc_additional_info' => array(
|
||||
'et_pb_wc_additional_info' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/woo_additional_info{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_wc_add_to_cart' => array(
|
||||
'et_pb_wc_add_to_cart' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/woo_add_to_cart{$this->_cpt_suffix}.css",
|
||||
"{$assets_prefix}/css/buttons{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_wc_breadcrumb' => array(
|
||||
'et_pb_wc_breadcrumb' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/woo_breadcrumb{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_wc_cart_notice' => array(
|
||||
'et_pb_wc_cart_notice' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/woo_cart_notice{$this->_cpt_suffix}.css",
|
||||
"{$assets_prefix}/css/buttons{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_wc_description' => array(
|
||||
'et_pb_wc_description' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/woo_description{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_wc_gallery' => array(
|
||||
'et_pb_wc_gallery' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/gallery{$this->_cpt_suffix}.css",
|
||||
"{$assets_prefix}/css/overlay{$this->_cpt_suffix}.css",
|
||||
@ -1892,61 +1896,101 @@ class ET_Dynamic_Assets {
|
||||
"{$assets_prefix}/css/slider_controls{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_wc_images' => array(
|
||||
'et_pb_wc_images' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/image{$this->_cpt_suffix}.css",
|
||||
"{$assets_prefix}/css/overlay{$this->_cpt_suffix}.css",
|
||||
"{$assets_prefix}/css/woo_images{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_wc_meta' => array(
|
||||
'et_pb_wc_meta' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/woo_meta{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_wc_price' => array(
|
||||
'et_pb_wc_price' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/woo_price{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_wc_rating' => array(
|
||||
'et_pb_wc_rating' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/woo_rating{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_wc_related_products' => array(
|
||||
'et_pb_wc_related_products' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/woo_related_products_upsells{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_wc_upsells' => array(
|
||||
'et_pb_wc_upsells' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/woo_related_products_upsells{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_wc_reviews' => array(
|
||||
'et_pb_wc_reviews' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/woo_reviews{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_wc_stock' => array(
|
||||
'et_pb_wc_stock' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/woo_stock{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_wc_tabs' => array(
|
||||
'et_pb_wc_tabs' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/tabs{$this->_cpt_suffix}.css",
|
||||
"{$assets_prefix}/css/woo_tabs{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_wc_title' => array(
|
||||
'et_pb_wc_title' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/woo_title{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_icon' => array(
|
||||
'css' => "{$assets_prefix}/css/icon{$this->_cpt_suffix}.css",
|
||||
'et_pb_wc_cart_totals' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/woo_cart_totals{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_wc_cart_products' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/woo_cart_products{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_wc_cross_sells' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/woo_cross_sells{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_wc_checkout_billing' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/woo_checkout_billing{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_wc_checkout_shipping' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/woo_checkout_shipping{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_wc_checkout_additional_info' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/woo_checkout_info{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_wc_checkout_order_details' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/woo_checkout_details{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
'et_pb_wc_checkout_payment_info' => array(
|
||||
'css' => array(
|
||||
"{$assets_prefix}/css/woo_checkout_payment{$this->_cpt_suffix}.css",
|
||||
),
|
||||
'et_pb_icon' => array(
|
||||
'css' => "{$assets_prefix}/css/icon{$this->_cpt_suffix}.css",
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
@ -2056,61 +2100,6 @@ class ET_Dynamic_Assets {
|
||||
return $template_ids;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get post content from Theme Builder templates.
|
||||
* Combine it with the post content from the current post.
|
||||
*
|
||||
* @return string
|
||||
* @since 4.10.0
|
||||
*/
|
||||
public function get_all_content() {
|
||||
$all_content = '';
|
||||
$tb_layouts = et_theme_builder_get_template_layouts();
|
||||
$template_ids = [];
|
||||
|
||||
if ( ! empty( $tb_layouts ) ) {
|
||||
if ( $tb_layouts[ ET_THEME_BUILDER_HEADER_LAYOUT_POST_TYPE ]['override'] ) {
|
||||
if ( ! empty( $tb_layouts[ ET_THEME_BUILDER_HEADER_LAYOUT_POST_TYPE ]['enabled'] ) ) {
|
||||
$template_ids[] = intval( $tb_layouts[ ET_THEME_BUILDER_HEADER_LAYOUT_POST_TYPE ]['id'] );
|
||||
}
|
||||
}
|
||||
|
||||
if ( $tb_layouts[ ET_THEME_BUILDER_BODY_LAYOUT_POST_TYPE ]['override'] ) {
|
||||
if ( ! empty( $tb_layouts[ ET_THEME_BUILDER_BODY_LAYOUT_POST_TYPE ]['enabled'] ) ) {
|
||||
$template_ids[] = intval( $tb_layouts[ ET_THEME_BUILDER_BODY_LAYOUT_POST_TYPE ]['id'] );
|
||||
}
|
||||
}
|
||||
|
||||
$template_ids[] = 'content';
|
||||
|
||||
if ( $tb_layouts[ ET_THEME_BUILDER_FOOTER_LAYOUT_POST_TYPE ]['override'] ) {
|
||||
if ( ! empty( $tb_layouts[ ET_THEME_BUILDER_FOOTER_LAYOUT_POST_TYPE ]['enabled'] ) ) {
|
||||
$template_ids[] = intval( $tb_layouts[ ET_THEME_BUILDER_FOOTER_LAYOUT_POST_TYPE ]['id'] );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Ensure post content is always present.
|
||||
$template_ids = empty( $template_ids ) ? [ 'content' ] : $template_ids;
|
||||
|
||||
// $template_ids will be in the following order, (assuming each are present):
|
||||
// header, body, footer.
|
||||
// so, as we loop through them, were intentionally appending the
|
||||
// post content so that it's appended right after the body layout,
|
||||
// making the final order of the $all_content as follows:
|
||||
// header, body, post content, footer.
|
||||
foreach ( $template_ids as $key => $template_id ) {
|
||||
if ( 'content' === $template_id ) {
|
||||
$all_content .= $this->_post_content;
|
||||
} else {
|
||||
$template = get_post( $template_id );
|
||||
$all_content .= $template->post_content;
|
||||
}
|
||||
}
|
||||
|
||||
return $all_content;
|
||||
}
|
||||
|
||||
/**
|
||||
* Merge multiple arrays and returns an array with unique values.
|
||||
*
|
||||
@ -2136,7 +2125,7 @@ class ET_Dynamic_Assets {
|
||||
* @param array $array_1 First array.
|
||||
* @param array $array_2 Second array.
|
||||
*
|
||||
* @since ??
|
||||
* @since 4.13.0
|
||||
*/
|
||||
public function get_new_array_values( $array_1, $array_2 ) {
|
||||
$new_array_values = array();
|
||||
@ -2596,6 +2585,9 @@ class ET_Dynamic_Assets {
|
||||
}
|
||||
|
||||
foreach ( $module_presets->presets as $key => $value ) {
|
||||
if ( empty( $value->settings ) ) {
|
||||
continue;
|
||||
}
|
||||
$presets_attributes = array_merge( $presets_attributes, (array) $value->settings );
|
||||
}
|
||||
}
|
||||
@ -2612,13 +2604,15 @@ class ET_Dynamic_Assets {
|
||||
* @since 4.10.0
|
||||
*/
|
||||
public function check_if_attribute_exits( $attribute, $content ) {
|
||||
$preset_attributes = array();
|
||||
$has_attribute = preg_match( '/' . $attribute . '=".+"/', $content );
|
||||
|
||||
if ( ! empty( $this->_presets_attributes ) ) {
|
||||
$preset_attributes = array_keys( $this->_presets_attributes );
|
||||
|
||||
return $has_attribute && in_array( $attribute, $preset_attributes, true );
|
||||
}
|
||||
|
||||
return preg_match( '/' . $attribute . '=".+"/', $content ) || in_array( $attribute, $preset_attributes, true );
|
||||
return $has_attribute;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -2755,6 +2749,59 @@ class ET_Dynamic_Assets {
|
||||
'btf' => $btf_assets,
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if current page is virtual.
|
||||
*
|
||||
* @return bool
|
||||
* @since 4.14.3
|
||||
*/
|
||||
public function is_virtual_page() {
|
||||
global $wp;
|
||||
$slug = $wp->request;
|
||||
|
||||
/**
|
||||
* Valid virtual pages for which dynamic css should be enabled.
|
||||
* Virtual pages are just custom enpoints or links added via rewrite hooks,
|
||||
* Meaning, it's not an actual page but it does have a valid link possibly,
|
||||
* custom generated by a plugin.
|
||||
* Add more virtual pages slug if there are known compatibility issues.
|
||||
*
|
||||
* @return bool
|
||||
* @since 4.14.3
|
||||
*/
|
||||
$valid_virtual_pages = apply_filters(
|
||||
'et_builder_dynamic_css_virtual_pages',
|
||||
[
|
||||
'homes-for-sale-search',
|
||||
'homes-for-sale-search-advanced',
|
||||
]
|
||||
);
|
||||
|
||||
if ( in_array( $slug, $valid_virtual_pages, true ) ) {
|
||||
return true;
|
||||
}
|
||||
|
||||
// Usually custom rewrite rules will return as page but will have no ID.
|
||||
if ( is_page() && 0 === get_the_ID() ) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
/*
|
||||
* Get a list of shortcodes used in current page.
|
||||
*/
|
||||
public function get_saved_page_shortcodes() {
|
||||
$all_shortcodes = $this->metadata_get( '_et_dynamic_cached_shortcodes' );
|
||||
|
||||
if ( empty( $all_shortcodes ) ) {
|
||||
return array();
|
||||
}
|
||||
|
||||
return $all_shortcodes;
|
||||
}
|
||||
}
|
||||
|
||||
ET_Dynamic_Assets::init();
|
||||
|
@ -153,8 +153,16 @@ function et_is_dynamic_front_end_request() {
|
||||
if (
|
||||
// Disable for WordPress admin requests.
|
||||
! is_admin()
|
||||
// Disable for non-front-end requests.
|
||||
&& ! wp_doing_ajax()
|
||||
&& ! wp_doing_cron()
|
||||
&& ! wp_is_json_request()
|
||||
&& ! ( defined( 'REST_REQUEST' ) && REST_REQUEST )
|
||||
&& ! ( defined( 'WP_CLI' ) && WP_CLI )
|
||||
&& ! ( defined('XMLRPC_REQUEST') && XMLRPC_REQUEST )
|
||||
&& ! is_trackback()
|
||||
&& ! is_feed()
|
||||
&& ! get_query_var( 'sitemap' )
|
||||
// Disable when in preview modes.
|
||||
&& ! is_customize_preview()
|
||||
&& ! is_et_pb_preview()
|
||||
|
@ -39,12 +39,34 @@ function et_builder_get_product_dynamic_content_fields() {
|
||||
'type' => 'text',
|
||||
),
|
||||
'product_reviews' => array(
|
||||
'label' => esc_html__( 'Product Reviews', 'et_builder' ),
|
||||
'type' => 'text',
|
||||
'label' => esc_html__( 'Product Reviews', 'et_builder' ),
|
||||
'type' => 'text',
|
||||
'fields' => array(
|
||||
'enable_title' => array(
|
||||
'label' => esc_html__( 'Enable Title', 'et_builder' ),
|
||||
'type' => 'yes_no_button',
|
||||
'options' => array(
|
||||
'on' => et_builder_i18n( 'Yes' ),
|
||||
'off' => et_builder_i18n( 'No' ),
|
||||
),
|
||||
'default' => 'on',
|
||||
),
|
||||
),
|
||||
),
|
||||
'product_additional_information' => array(
|
||||
'label' => esc_html__( 'Product Additional Information', 'et_builder' ),
|
||||
'type' => 'text',
|
||||
'fields' => array(
|
||||
'enable_title' => array(
|
||||
'label' => esc_html__( 'Enable Title', 'et_builder' ),
|
||||
'type' => 'yes_no_button',
|
||||
'options' => array(
|
||||
'on' => et_builder_i18n( 'Yes' ),
|
||||
'off' => et_builder_i18n( 'No' ),
|
||||
),
|
||||
'default' => 'on',
|
||||
),
|
||||
),
|
||||
),
|
||||
'product_reviews_tab' => array(
|
||||
'label' => esc_html__( 'Product Reviews', 'et_builder' ),
|
||||
@ -1442,7 +1464,8 @@ function et_builder_filter_resolve_default_dynamic_content( $content, $name, $se
|
||||
esc_html__( 'There are no reviews yet.', 'et_builder' )
|
||||
);
|
||||
|
||||
$no_reviews = is_array( $comments ) && count( $comments ) > 0 ? '' : $no_reviews_text;
|
||||
$no_reviews = is_array( $comments ) && count( $comments ) > 0 ? '' : $no_reviews_text;
|
||||
$is_show_title = 'on' === $_->array_get( $settings, 'enable_title', 'on' );
|
||||
|
||||
if ( wp_doing_ajax() ) {
|
||||
$page = get_query_var( 'cpage' );
|
||||
@ -1474,12 +1497,14 @@ function et_builder_filter_resolve_default_dynamic_content( $content, $name, $se
|
||||
);
|
||||
}
|
||||
|
||||
$title = $is_show_title
|
||||
? sprintf( '<h2 class="woocommerce-Reviews-title">%s</h2>', et_core_esc_previously( $reviews_title ) )
|
||||
: '';
|
||||
|
||||
$content = sprintf(
|
||||
'
|
||||
<div id="reviews" class="woocommerce-Reviews">
|
||||
<h2 class="woocommerce-Reviews-title">
|
||||
%1$s
|
||||
</h2>
|
||||
%1$s
|
||||
<div id="comments">
|
||||
<ol class="commentlist">
|
||||
%2$s
|
||||
@ -1494,11 +1519,11 @@ function et_builder_filter_resolve_default_dynamic_content( $content, $name, $se
|
||||
</div>
|
||||
</div>
|
||||
',
|
||||
et_core_esc_previously( $reviews_title ),
|
||||
et_core_esc_previously( $content ),
|
||||
et_core_esc_previously( $reviews_comment_form ),
|
||||
et_core_esc_previously( $no_reviews ),
|
||||
et_core_esc_previously( $pagination )
|
||||
/* 1$s */ et_core_esc_previously( $title ),
|
||||
/* 2$s */ et_core_esc_previously( $content ),
|
||||
/* 3$s */ et_core_esc_previously( $reviews_comment_form ),
|
||||
/* 4$s */ et_core_esc_previously( $no_reviews ),
|
||||
/* 5$s */ et_core_esc_previously( $pagination )
|
||||
);
|
||||
$wrapped = true;
|
||||
break;
|
||||
@ -1509,12 +1534,14 @@ function et_builder_filter_resolve_default_dynamic_content( $content, $name, $se
|
||||
}
|
||||
|
||||
$dynamic_product = ET_Builder_Module_Helper_Woocommerce_Modules::get_product( $post_id );
|
||||
$show_title = $_->array_get( $settings, 'enable_title', 'on' );
|
||||
|
||||
if ( $dynamic_product ) {
|
||||
$is_woo = true;
|
||||
$content = ET_Builder_Module_Woocommerce_Additional_Info::get_additional_info(
|
||||
array(
|
||||
'product' => $dynamic_product->get_id(),
|
||||
'product' => $dynamic_product->get_id(),
|
||||
'show_title' => $show_title,
|
||||
)
|
||||
);
|
||||
} else {
|
||||
|
@ -77,6 +77,10 @@ class ET_Builder_Global_Presets_History {
|
||||
|
||||
$history = json_decode( stripslashes( $_POST['history'] ) );
|
||||
|
||||
if ( empty( $history->history ) ) {
|
||||
et_core_die( esc_html__( 'Global History data is empty.', 'et_builder' ) );
|
||||
}
|
||||
|
||||
if ( self::sanitize_and_validate( $history ) ) {
|
||||
$current_settings = $history->history[ $history->index ];
|
||||
et_update_option( ET_Builder_Global_Presets_Settings::GLOBAL_PRESETS_OPTION, $current_settings->settings );
|
||||
@ -265,6 +269,9 @@ class ET_Builder_Global_Presets_History {
|
||||
);
|
||||
}
|
||||
|
||||
// Ensure history is an object.
|
||||
$history = is_object( $history ) ? $history : (object) $history;
|
||||
|
||||
$this->_apply_attribute_migrations( $history );
|
||||
|
||||
return $history;
|
||||
@ -323,7 +330,14 @@ class ET_Builder_Global_Presets_History {
|
||||
* @return void
|
||||
*/
|
||||
protected function _apply_attribute_migrations( $history ) {
|
||||
if ( empty( $history->history ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
foreach ( $history->history as $record ) {
|
||||
if ( empty( $record->settings ) ) {
|
||||
continue;
|
||||
}
|
||||
foreach ( $record->settings as $module => $preset_structure ) {
|
||||
foreach ( $preset_structure->presets as $preset_id => $preset ) {
|
||||
ET_Builder_Global_Presets_Settings::migrate_settings_as_module_attributes( $preset, $module );
|
||||
|
@ -92,6 +92,7 @@ class ET_Builder_Global_Presets_Settings {
|
||||
// phpcs:enable
|
||||
|
||||
add_action( 'et_builder_ready', array( $this, 'migrate_custom_defaults' ), 100 );
|
||||
add_action( 'et_builder_ready', array( $this, 'apply_attribute_migrations' ), 101 );
|
||||
}
|
||||
|
||||
/**
|
||||
@ -395,10 +396,23 @@ class ET_Builder_Global_Presets_Settings {
|
||||
et_update_option( self::CUSTOM_DEFAULTS_MIGRATED_FLAG, true );
|
||||
}
|
||||
|
||||
/**
|
||||
* Apply attribute migrations.
|
||||
*
|
||||
* @since 4.14.0
|
||||
*/
|
||||
public function apply_attribute_migrations() {
|
||||
foreach ( $this->_settings as $module => $preset_structure ) {
|
||||
foreach ( $preset_structure->presets as $preset_id => $preset ) {
|
||||
self::migrate_settings_as_module_attributes( $preset, $module );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Configuring and running migration of global presets via "et_pb_module_shortcode_attributes".
|
||||
*
|
||||
* @since ?
|
||||
* @since 4.14.0
|
||||
*
|
||||
* @param object $preset Global preset object.
|
||||
* @param string $module_slug Module slug.
|
||||
@ -444,15 +458,16 @@ class ET_Builder_Global_Presets_Settings {
|
||||
|
||||
/**
|
||||
* Converts module type (slug).
|
||||
*
|
||||
* Used to separate Global Presets settings for modules sharing the same slug but having different meaning
|
||||
* For example: Regular, Fullwidth and Specialty section types
|
||||
*
|
||||
* @since 4.5.0
|
||||
*
|
||||
* @param string $type - The module type (slug).
|
||||
* @param array $attrs - The module attributes.
|
||||
* @param string $type The module type (slug).
|
||||
* @param array $attrs The module attributes.
|
||||
*
|
||||
* @return string - The converted module type (slug)
|
||||
* @return string The converted module type (slug)
|
||||
*/
|
||||
public function maybe_convert_module_type( $type, $attrs ) {
|
||||
if ( isset( self::$_module_types_conversion_map[ $type ] ) ) {
|
||||
@ -531,7 +546,7 @@ class ET_Builder_Global_Presets_Settings {
|
||||
*
|
||||
* Returns FALSE when the value is an Object or an array.
|
||||
*
|
||||
* @since ?? Included PHPDoc description.
|
||||
* @since 4.13.0 Included PHPDoc description.
|
||||
* @since 4.5.0
|
||||
*
|
||||
* @param $value - The Global Presets setting value
|
||||
|
@ -202,33 +202,10 @@ class ET_GB_Editor_Typography {
|
||||
);
|
||||
}
|
||||
|
||||
$body_font_color = esc_html( et_get_option( 'font_color' ) );
|
||||
|
||||
if ( ! empty( $body_font_color ) ) {
|
||||
$body_styles .= et_builder_generate_css_style(
|
||||
array(
|
||||
'style' => 'color',
|
||||
'value' => $body_font_color,
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
if ( ! empty( $body_styles ) ) {
|
||||
$body_styles = sprintf( 'body { %1$s }', $body_styles );
|
||||
}
|
||||
|
||||
$link_color = esc_html( et_get_option( 'link_color' ) );
|
||||
|
||||
if ( ! empty( $link_color ) ) {
|
||||
$body_styles .= et_builder_generate_css(
|
||||
array(
|
||||
'style' => 'color',
|
||||
'value' => $link_color,
|
||||
'selector' => 'a',
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
return $body_styles;
|
||||
}
|
||||
|
||||
@ -270,17 +247,6 @@ class ET_GB_Editor_Typography {
|
||||
);
|
||||
}
|
||||
|
||||
$header_color = esc_html( et_get_option( 'header_color' ) );
|
||||
|
||||
if ( ! empty( $header_color ) ) {
|
||||
$title_styles .= et_builder_generate_css_style(
|
||||
array(
|
||||
'style' => 'color',
|
||||
'value' => $header_color,
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
$body_header_height = esc_html( et_get_option( 'body_header_height' ) );
|
||||
|
||||
if ( ! empty( $body_header_height ) && '1' !== $body_header_height ) {
|
||||
@ -353,11 +319,13 @@ class ET_GB_Editor_Typography {
|
||||
// Get style generated by modules.
|
||||
$tb_style = ET_Builder_Element::get_style();
|
||||
|
||||
$have_post_content_style = preg_match( '/\.et_pb_post_content_0 { (.*) }/', $tb_style, $matches );
|
||||
// Remove `color` property from theme builder style.
|
||||
$tb_style = preg_replace( '/(?<=[{;\s])color:.*?;/s', '', $tb_style );
|
||||
|
||||
$have_post_content_style = preg_match( '/\.et_pb_post_content_0\s*{\s*(.*?)\s*}/s', $tb_style, $matches );
|
||||
if ( $have_post_content_style && isset( $matches[1] ) ) {
|
||||
$et_pb_post_content_styles = explode( ';', $matches[1] );
|
||||
$typography_properties = array(
|
||||
'color',
|
||||
'font-family',
|
||||
'font-size',
|
||||
'font-weight',
|
||||
@ -375,9 +343,9 @@ class ET_GB_Editor_Typography {
|
||||
|
||||
foreach ( $et_pb_post_content_styles as $et_pb_post_content_style ) {
|
||||
$style = explode( ':', $et_pb_post_content_style ); // explode CSS property and value.
|
||||
$css_property = trim( et_()->array_get( $style, '0' ) );
|
||||
$css_property = trim( $style[0] );
|
||||
if ( in_array( $css_property, $typography_properties, true ) ) {
|
||||
$post_content_style .= $css_property . ':' . et_()->array_get( $style, '1' ) . ';';
|
||||
$post_content_style .= $css_property . ':' . $style[1] . ';';
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -115,12 +115,54 @@ if ( ! function_exists( 'et_pb_check_and_convert_icon_raw_value' ) ) {
|
||||
$icon_raw_value = et_pb_get_extended_font_icon_value( $icon, false, true );
|
||||
|
||||
if ( ! empty( $icon_raw_value ) && in_array( $icon_type, array( 'fa', 'divi' ), true ) && in_array( (int) $font_weight, array( 400, 900 ), true ) ) {
|
||||
return $icon_raw_value . '||' . $icon_type . '||' . $font_weight;
|
||||
return et_pb_build_extended_font_icon_value( $icon_raw_value, $icon_type, $font_weight );
|
||||
}
|
||||
return '';
|
||||
}
|
||||
}
|
||||
|
||||
if ( ! function_exists( 'et_pb_build_extended_font_icon_value' ) ) {
|
||||
/**
|
||||
* Create extended font icon value.
|
||||
*
|
||||
* @since ?
|
||||
*
|
||||
* @param string $icon_value icon value (if passed icon value in the old divi format it will be convertetd to unicode value).
|
||||
* @param string $icon_type type of icon (divi is default).
|
||||
* @param string $font_weight type of icon (400 is default).
|
||||
* @param bool $decode_amp do or not ampersand decoding (& -> &).
|
||||
* @return string
|
||||
*/
|
||||
function et_pb_build_extended_font_icon_value( $icon_value, $icon_type = null, $font_weight = null, $decode_amp = false ) {
|
||||
|
||||
if ( et_pb_maybe_extended_icon( $icon_value ) ) {
|
||||
return $icon_value;
|
||||
}
|
||||
|
||||
if ( ! $icon_type ) {
|
||||
$icon_type = 'divi';
|
||||
}
|
||||
|
||||
if ( ! $font_weight ) {
|
||||
$font_weight = et_pb_get_normal_font_weight_value();
|
||||
}
|
||||
|
||||
if ( et_pb_maybe_old_divi_font_icon( $icon_value ) ) {
|
||||
|
||||
// the font icon value is saved in the following format: %%index_number%%.
|
||||
$icon_index = (int) str_replace( '%', '', $icon_value );
|
||||
$icon_symbols = et_pb_get_font_icon_symbols();
|
||||
$icon_value = isset( $icon_symbols[ $icon_index ] ) ? $icon_symbols[ $icon_index ] : '';
|
||||
}
|
||||
|
||||
if ( $decode_amp ) {
|
||||
$icon_value = str_replace( '&', '&', $icon_value );
|
||||
}
|
||||
|
||||
return $icon_value . '||' . $icon_type . '||' . $font_weight;
|
||||
}
|
||||
}
|
||||
|
||||
if ( ! function_exists( 'et_pb_get_extended_icon_data' ) ) {
|
||||
/**
|
||||
* Depending on the $icon_data_type, returns string unicode icon value or icon type.
|
||||
@ -405,12 +447,13 @@ if ( ! function_exists( 'et_pb_get_font_icon_names_regex' ) ) :
|
||||
* @since ?
|
||||
*
|
||||
* @param bool $maybe_fa_icon_type define what kind of font icon we need o get regex.
|
||||
* @param bool $use_only_defined_icon_fields values will be searched only in certain fields that can contain icon values (see: `et_pb_get_font_icon_field_names()`).
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
function et_pb_get_font_icon_names_regex( $maybe_fa_icon_type = false ) {
|
||||
function et_pb_get_font_icon_names_regex( $maybe_fa_icon_type = false, $use_only_defined_icon_fields = false ) {
|
||||
$icon_type = $maybe_fa_icon_type ? 'fa' : 'divi';
|
||||
return '/(' . et_pb_get_all_font_icon_option_names_string() . ')\=\"([^"]*)\|\|(' . $icon_type . ')\|\|(400|900)\"/mi';
|
||||
return ! $use_only_defined_icon_fields ? '/\=\"([^"]*)\|\|(' . $icon_type . ')\|\|(400|900)\"/mi' : '/(' . et_pb_get_all_font_icon_option_names_string() . ')\=\"([^"]*)\|\|(' . $icon_type . ')\|\|(400|900)\"/mi';
|
||||
}
|
||||
endif;
|
||||
|
||||
@ -436,13 +479,16 @@ if ( ! function_exists( 'et_pb_check_if_post_contains_divi_font_icon' ) ) :
|
||||
* @since ?
|
||||
*
|
||||
* @param string $content post's content.
|
||||
* @param bool $use_only_defined_icon_fields values will be searched only in certain fields that can contain icon values (see: `et_pb_get_font_icon_field_names()`).
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
function et_pb_check_if_post_contains_divi_font_icon( $content ) {
|
||||
function et_pb_check_if_post_contains_divi_font_icon( $content, $use_only_defined_icon_fields = false ) {
|
||||
// Check the non-extended icon value.
|
||||
$non_extended_icon_regex = '/(' . et_pb_get_all_font_icon_option_names_string() . ')\=\"%%([^"]*)%%\"/mi';
|
||||
return ! empty( preg_match_all( et_pb_get_font_icon_names_regex(), $content ) ) || ! empty( preg_match_all( $non_extended_icon_regex, $content ) );
|
||||
$old_divi_icon_regex = ! $use_only_defined_icon_fields ? '/\=\"%%([^"]*)%%\"/mi' : '/(' . et_pb_get_all_font_icon_option_names_string() . ')\=\"%%([^"]*)%%\"/mi';
|
||||
$single_char_divi_icon_regex = '/(' . et_pb_get_all_font_icon_option_names_string() . ')\=\"[\s\S]\"/mi';
|
||||
|
||||
return ! empty( preg_match_all( et_pb_get_font_icon_names_regex(), $content ) ) || ! empty( preg_match_all( $old_divi_icon_regex, $content ) ) || ! empty( preg_match_all( $single_char_divi_icon_regex, $content ) );
|
||||
}
|
||||
endif;
|
||||
|
||||
|
@ -26,16 +26,480 @@ if ( ! defined( 'ET_BUILDER_WC_PRODUCT_PAGE_CONTENT_STATUS_META_KEY' ) ) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Returning <img> string for default image placeholder
|
||||
* Handles Shipping calculator Update button click.
|
||||
*
|
||||
* @since 4.0.10
|
||||
* `wc-form-handler` handles shipping calculator update ONLY when WooCommerce shortcode is used.
|
||||
* Hence, Cart Total's shipping calculator update is handled this way.
|
||||
*
|
||||
* @since 4.14.3
|
||||
*/
|
||||
function et_builder_handle_shipping_calculator_update_btn_click() {
|
||||
// phpcs:ignore WordPress.Security.NonceVerification.Missing -- Nonce verification is handled by WooCommerce plugin.
|
||||
if ( ! isset( $_POST['woocommerce-shipping-calculator-nonce'] ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// phpcs:ignore WordPress.Security.NonceVerification.Missing -- Nonce verification is handled by WooCommerce plugin.
|
||||
if ( ! isset( $_POST['_wp_http_referer'] ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// phpcs:ignore WordPress.Security.NonceVerification.Missing -- Nonce verification is handled by WooCommerce plugin.
|
||||
$referrer = esc_url_raw( $_POST['_wp_http_referer'] );
|
||||
$referrer_page_id = url_to_postid( $referrer );
|
||||
$cart_page_id = wc_get_page_id( 'cart' );
|
||||
|
||||
if ( $cart_page_id !== $referrer_page_id ) {
|
||||
return;
|
||||
}
|
||||
|
||||
$post_content = get_post_field( 'post_content', $referrer_page_id );
|
||||
|
||||
if ( has_shortcode( $post_content, 'woocommerce_cart' ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
if ( ( ! class_exists( 'WC_Shortcodes' ) ) ||
|
||||
( ! method_exists( 'WC_Shortcodes', 'cart' ) ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
WC_Shortcodes::cart();
|
||||
}
|
||||
|
||||
/**
|
||||
* Identify whether Woo v2 should replace content on Cart & Checkout pages.
|
||||
*
|
||||
* @param string $shortcode Post content. Builder converts empty string to shortcode string.
|
||||
*
|
||||
* @since 4.14.0
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
function et_builder_wc_should_replace_content( $shortcode ) {
|
||||
$default_shortcodes = array( 'et_pb_section', 'et_pb_row', 'et_pb_column', 'et_pb_text', 'woocommerce_cart', 'woocommerce_checkout' );
|
||||
$should_replace_content = true;
|
||||
|
||||
// Get all shortcodes on the page.
|
||||
preg_match_all( '@\[([^<>&/\[\]\x00-\x20=]++)@', $shortcode, $matches );
|
||||
|
||||
$matched_shortcodes = $matches[1];
|
||||
|
||||
foreach ( $matched_shortcodes as $shortcode ) {
|
||||
// If a shortcode exists that is not a default shortcode, don't replace content. The user has already built a custom page.
|
||||
if ( ! in_array( $shortcode, $default_shortcodes, true ) ) {
|
||||
$should_replace_content = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return $should_replace_content;
|
||||
}
|
||||
|
||||
/**
|
||||
* Stop redirecting to Cart page when enabling builder on Checkout page.
|
||||
*
|
||||
* @since 4.14.0
|
||||
*
|
||||
* @link https://github.com/elegantthemes/Divi/issues/23873
|
||||
*
|
||||
* @param bool $flag Flag.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
function et_builder_stop_cart_redirect_while_enabling_builder( $flag ) {
|
||||
/*
|
||||
* Don't need to check if the current page is Checkout page since this filter
|
||||
* `woocommerce_checkout_redirect_empty_cart` only fires if the
|
||||
* current page is a Checkout page.
|
||||
*/
|
||||
|
||||
$post_id = get_the_ID();
|
||||
|
||||
if ( is_array( $_GET ) && isset( $_GET['et_fb'] ) && '1' === $_GET['et_fb'] ) {
|
||||
$is_builder_activation_request = true;
|
||||
} else {
|
||||
// Verify if the request is a valid Builder activation request.
|
||||
$is_builder_activation_request = et_core_security_check(
|
||||
'',
|
||||
"et_fb_activation_nonce_{$post_id}",
|
||||
'et_fb_activation_nonce',
|
||||
'_REQUEST',
|
||||
false
|
||||
);
|
||||
}
|
||||
|
||||
return $is_builder_activation_request ? false : $flag;
|
||||
}
|
||||
|
||||
/**
|
||||
* Message to be displayed in Checkout Payment Info module in VB mode.
|
||||
*
|
||||
* So styling the Notice becomes easier.
|
||||
*
|
||||
* @since 4.14.0
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
function et_builder_wc_placeholder_img() {
|
||||
function et_builder_wc_no_available_payment_methods_message() {
|
||||
// Fallback.
|
||||
$message = esc_html__( 'Sorry, it seems that there are no available payment methods for your state. Please contact us if you require assistance or wish to make alternate arrangements.' );
|
||||
|
||||
if ( ! function_exists( 'WC' ) ) {
|
||||
return $message;
|
||||
}
|
||||
|
||||
if ( ! isset( WC()->customer ) && ! method_exists( WC()->customer, 'get_billing_country' ) ) {
|
||||
return $message;
|
||||
}
|
||||
|
||||
$message = WC()->customer->get_billing_country()
|
||||
? esc_html__( 'Sorry, it seems that there are no available payment methods for your state. Please contact us if you require assistance or wish to make alternate arrangements.', 'et_builder' )
|
||||
: esc_html__( 'Please fill in your details above to see available payment methods.', 'et_builder' );
|
||||
|
||||
return apply_filters(
|
||||
'woocommerce_no_available_payment_methods_message',
|
||||
$message
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Output the cart shipping calculator.
|
||||
*
|
||||
* @param string $button_text Text for the shipping calculation toggle.
|
||||
*/
|
||||
function et_builder_woocommerce_shipping_calculator( $button_text = '' ) {
|
||||
wp_enqueue_script( 'wc-country-select' );
|
||||
wc_get_template(
|
||||
'cart/shipping-calculator.php',
|
||||
array(
|
||||
'button_text' => $button_text,
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the Checkout modules notice to be displayed on non-checkout pages.
|
||||
*
|
||||
* @since 4.14.0
|
||||
*
|
||||
* @used-by et_fb_get_static_backend_helpers()
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
function et_builder_wc_get_non_checkout_page_notice() {
|
||||
return esc_html__( 'This module will not function properly on the front end of your website because this is not the assigned Checkout page.', 'et_builder' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the Checkout notice to be displayed on Checkout Payment Info module.
|
||||
*
|
||||
* @since 4.14.0
|
||||
*
|
||||
* @param string $woocommerce_ship_to_destination Default `shipping`.
|
||||
*
|
||||
* @used-by et_fb_get_static_backend_helpers()
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
function et_builder_wc_get_checkout_notice( $woocommerce_ship_to_destination = 'shipping' ) {
|
||||
$settings_modal_notice = '';
|
||||
|
||||
if ( 'billing_only' === $woocommerce_ship_to_destination ) {
|
||||
$settings_modal_notice = wp_kses(
|
||||
__( '<strong>Woo Billing Address Module</strong> must be added to this page to allow users to submit orders.', 'et_builder' ),
|
||||
array( 'strong' => array() )
|
||||
);
|
||||
} else {
|
||||
$settings_modal_notice = wp_kses(
|
||||
__( '<strong>Woo Billing Address Module</strong> and <strong>Woo Shipping Address Module</strong> must be added to this page to allow users to submit orders.', 'et_builder' ),
|
||||
array( 'strong' => array() )
|
||||
);
|
||||
}
|
||||
|
||||
return $settings_modal_notice;
|
||||
}
|
||||
|
||||
/**
|
||||
* Stop WooCommerce from redirecting Checkout page to Cart when the cart is empty.
|
||||
*
|
||||
* Divi Builder stops redirection only for logged-in admins.
|
||||
*
|
||||
* @since 4.14.0
|
||||
*/
|
||||
function et_builder_wc_template_redirect() {
|
||||
$checkout_page_id = wc_get_page_id( 'checkout' );
|
||||
|
||||
$post = get_post( $checkout_page_id );
|
||||
if ( ! ( $post instanceof WP_Post ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
$is_checkout_page = $checkout_page_id === $post->ID;
|
||||
|
||||
if ( ! $is_checkout_page ) {
|
||||
return;
|
||||
}
|
||||
|
||||
if ( ! et_core_is_fb_enabled() ) {
|
||||
return;
|
||||
}
|
||||
|
||||
if ( ! is_user_logged_in() || ! current_user_can( 'manage_options' ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
$has_wc_shortcode = has_shortcode( $post->post_content, 'et_pb_section' );
|
||||
|
||||
if ( ! $has_wc_shortcode ) {
|
||||
return;
|
||||
}
|
||||
|
||||
add_filter( 'woocommerce_checkout_redirect_empty_cart', '__return_false' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the meta to indicate that the Divi content has been modified.
|
||||
*
|
||||
* This avoids setting the default WooCommerce Modules layout more than once.
|
||||
*
|
||||
* @link https://github.com/elegantthemes/Divi/issues/16420
|
||||
*
|
||||
* @since 4.14.0
|
||||
*
|
||||
* @param int $post_id Post ID.
|
||||
*/
|
||||
function et_builder_wc_set_page_content_status( $post_id ) {
|
||||
if ( 0 === absint( $post_id ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* The ID page of the Checkout page set in WooCommerce Settings page.
|
||||
*
|
||||
* WooCommerce — Settings — Advanced — Checkout page
|
||||
*/
|
||||
$checkout_page_id = wc_get_page_id( 'checkout' );
|
||||
|
||||
/**
|
||||
* The ID page of the Cart page set in WooCommerce Settings page.
|
||||
*
|
||||
* WooCommerce — Settings — Advanced — Cart page
|
||||
*/
|
||||
$cart_page_id = wc_get_page_id( 'cart' );
|
||||
|
||||
$is_cart = $post_id === $cart_page_id;
|
||||
$is_checkout = $post_id === $checkout_page_id;
|
||||
$is_product = 'product' === get_post_type( $post_id );
|
||||
|
||||
// Take action only on Product, Cart and Checkout pages. Bail early otherwise.
|
||||
if ( ! ( $is_product || $is_cart || $is_checkout ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
$modified_status = 'modified';
|
||||
$is_content_status_modified = get_post_meta( $post_id, ET_BUILDER_WC_PRODUCT_PAGE_CONTENT_STATUS_META_KEY, true ) === $modified_status;
|
||||
|
||||
if ( $is_content_status_modified ) {
|
||||
return;
|
||||
}
|
||||
|
||||
update_post_meta( $post_id, ET_BUILDER_WC_PRODUCT_PAGE_CONTENT_STATUS_META_KEY, $modified_status );
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the prefilled Cart Page content built using Divi Woo Modules.
|
||||
*
|
||||
* @since 4.14.0
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
function et_builder_wc_get_prefilled_cart_page_content() {
|
||||
$page_title = '[et_pb_post_title meta="off" featured_image="off"][/et_pb_post_title]';
|
||||
|
||||
// Gets Parent theme's info in case child theme is used.
|
||||
if ( 'Extra' === et_core_get_theme_info( 'Name' ) ) {
|
||||
$page_title = '';
|
||||
}
|
||||
|
||||
return '
|
||||
[et_pb_section]
|
||||
[et_pb_row]
|
||||
[et_pb_column type="4_4"]
|
||||
' . $page_title . '
|
||||
[et_pb_wc_cart_notice page_type="cart"][/et_pb_wc_cart_notice]
|
||||
[et_pb_wc_cart_products][/et_pb_wc_cart_products]
|
||||
[/et_pb_column]
|
||||
[/et_pb_row]
|
||||
[et_pb_row column_structure="1_2,1_2"]
|
||||
[et_pb_column type="1_2"]
|
||||
[et_pb_wc_cross_sells][/et_pb_wc_cross_sells]
|
||||
[/et_pb_column]
|
||||
[et_pb_column type="1_2"]
|
||||
[et_pb_wc_cart_totals][/et_pb_wc_cart_totals]
|
||||
[/et_pb_column]
|
||||
[/et_pb_row]
|
||||
[/et_pb_section]
|
||||
';
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the prefilled Checkout Page content built using Divi Woo Modules.
|
||||
*
|
||||
* @since 4.14.0
|
||||
* @return string
|
||||
*/
|
||||
function et_builder_wc_get_prefilled_checkout_page_content() {
|
||||
$page_title = '[et_pb_post_title meta="off" featured_image="off"][/et_pb_post_title]';
|
||||
|
||||
// Use `et_core_get_theme_info` to get Parent theme's info even when a child theme is used.
|
||||
if ( 'Extra' === et_core_get_theme_info( 'Name' ) ) {
|
||||
$page_title = '';
|
||||
}
|
||||
|
||||
return '
|
||||
[et_pb_section]
|
||||
[et_pb_row custom_padding="||0%||false|false"]
|
||||
[et_pb_column type="4_4"]
|
||||
' . $page_title . '
|
||||
[et_pb_wc_cart_notice page_type="checkout"][/et_pb_wc_cart_notice]
|
||||
[/et_pb_column]
|
||||
[/et_pb_row]
|
||||
[et_pb_row column_structure="1_2,1_2"]
|
||||
[et_pb_column type="1_2"]
|
||||
[et_pb_wc_checkout_billing ][/et_pb_wc_checkout_billing]
|
||||
[/et_pb_column]
|
||||
[et_pb_column type="1_2"]
|
||||
[et_pb_wc_checkout_shipping][/et_pb_wc_checkout_shipping]
|
||||
[et_pb_wc_checkout_additional_info][/et_pb_wc_checkout_additional_info]
|
||||
[/et_pb_column]
|
||||
[/et_pb_row]
|
||||
[et_pb_row]
|
||||
[et_pb_column type="4_4"]
|
||||
[et_pb_wc_checkout_order_details][/et_pb_wc_checkout_order_details]
|
||||
[et_pb_wc_checkout_payment_info][/et_pb_wc_checkout_payment_info]
|
||||
[/et_pb_column]
|
||||
[/et_pb_row]
|
||||
[/et_pb_section]
|
||||
';
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the pre-filled Divi Woo Pages layout content.
|
||||
*
|
||||
* The following are the three types of WooCommerce pages that have pre-filled content.
|
||||
*
|
||||
* 1. WooCommerce Product page
|
||||
* 2. WooCommerce Cart page
|
||||
* 3. WooCommerce Checkout page
|
||||
*
|
||||
* @param string $maybe_shortcode_content May be shortcode content.
|
||||
* @param int $post_id Post ID.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
function et_builder_wc_set_prefilled_page_content( $maybe_shortcode_content, $post_id ) {
|
||||
$post = get_post( absint( $post_id ) );
|
||||
if ( ! $post ) {
|
||||
return $maybe_shortcode_content;
|
||||
}
|
||||
|
||||
/**
|
||||
* The ID page of the Checkout page set in WooCommerce Settings page.
|
||||
*
|
||||
* WooCommerce — Settings — Advanced — Checkout page
|
||||
*/
|
||||
$checkout_page_id = wc_get_page_id( 'checkout' );
|
||||
|
||||
/**
|
||||
* The ID page of the Cart page set in WooCommerce Settings page.
|
||||
*
|
||||
* WooCommerce — Settings — Advanced — Cart page
|
||||
*/
|
||||
$cart_page_id = wc_get_page_id( 'cart' );
|
||||
|
||||
$is_cart = $post_id === $cart_page_id;
|
||||
$is_checkout = $post_id === $checkout_page_id;
|
||||
$is_product = ( $post instanceof WP_Post ) && 'product' === $post->post_type;
|
||||
|
||||
// Bail early when none of the conditions are met.
|
||||
if ( ! ( $is_product || $is_checkout || $is_cart ) ) {
|
||||
return $maybe_shortcode_content;
|
||||
}
|
||||
|
||||
// Bail early if the Page already has initial content set.
|
||||
$is_content_status_modified = 'modified' === get_post_meta( $post_id, ET_BUILDER_WC_PRODUCT_PAGE_CONTENT_STATUS_META_KEY, true );
|
||||
|
||||
if ( $is_content_status_modified ) {
|
||||
return $maybe_shortcode_content;
|
||||
}
|
||||
|
||||
$should_replace_content = true;
|
||||
if ( $is_cart || $is_checkout ) {
|
||||
$should_replace_content = et_builder_wc_should_replace_content( $maybe_shortcode_content );
|
||||
}
|
||||
|
||||
if ( $is_cart && $should_replace_content ) {
|
||||
return et_builder_wc_get_prefilled_cart_page_content();
|
||||
} elseif ( $is_checkout && $should_replace_content ) {
|
||||
return et_builder_wc_get_prefilled_checkout_page_content();
|
||||
} elseif ( $is_product ) {
|
||||
$args = array();
|
||||
$product_page_layout = et_builder_wc_get_product_layout( $post_id );
|
||||
|
||||
/*
|
||||
* When FALSE, this means the Product doesn't use Builder at all;
|
||||
* Or the Product has been using the Builder before WooCommerce Modules QF launched.
|
||||
*/
|
||||
if ( ! $product_page_layout ) {
|
||||
$product_page_layout = et_get_option(
|
||||
'et_pb_woocommerce_page_layout',
|
||||
'et_build_from_scratch'
|
||||
);
|
||||
}
|
||||
|
||||
// Load default content.
|
||||
if ( 'et_default_layout' === $product_page_layout ) {
|
||||
return $maybe_shortcode_content;
|
||||
}
|
||||
|
||||
$has_et_builder_shortcode = has_shortcode( $maybe_shortcode_content, 'et_pb_section' );
|
||||
$is_layout_type_build_from_scratch = 'et_build_from_scratch' === $product_page_layout;
|
||||
|
||||
if ( $has_et_builder_shortcode && $is_layout_type_build_from_scratch ) {
|
||||
$args['existing_shortcode'] = $maybe_shortcode_content;
|
||||
}
|
||||
|
||||
return et_builder_wc_get_prefilled_product_page_content( $args );
|
||||
}
|
||||
|
||||
return $maybe_shortcode_content;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returning <img> string for default image placeholder
|
||||
*
|
||||
* @since 4.14.0 Added $mode param.
|
||||
* @since 4.0.10
|
||||
*
|
||||
* @param string $mode Default ET_BUILDER_PLACEHOLDER_LANDSCAPE_IMAGE_DATA. Either Landscape or
|
||||
* Portrait image mode.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
function et_builder_wc_placeholder_img( $mode = 'portrait' ) {
|
||||
$allowed_list = array(
|
||||
'portrait' => ET_BUILDER_PLACEHOLDER_PORTRAIT_VARIATION_IMAGE_DATA,
|
||||
'landscape' => ET_BUILDER_PLACEHOLDER_LANDSCAPE_IMAGE_DATA,
|
||||
);
|
||||
|
||||
if ( ! in_array( $mode, array_keys( $allowed_list ), true ) ) {
|
||||
$mode = 'portrait';
|
||||
}
|
||||
|
||||
return sprintf(
|
||||
'<img src="%1$s" alt="2$s" />',
|
||||
et_core_esc_attr( 'placeholder', ET_BUILDER_PLACEHOLDER_LANDSCAPE_IMAGE_DATA ),
|
||||
et_core_esc_attr( 'placeholder', $allowed_list[ $mode ] ),
|
||||
esc_attr__( 'Product image', 'et_builder' )
|
||||
);
|
||||
}
|
||||
@ -147,7 +611,7 @@ function et_builder_wc_add_settings( $builder_settings_fields ) {
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
function et_builder_wc_get_initial_content( $args = array() ) {
|
||||
function et_builder_wc_get_prefilled_product_page_content( $args = array() ) {
|
||||
/**
|
||||
* Filters the Top section Background in the default WooCommerce Modules layout.
|
||||
*
|
||||
@ -259,7 +723,7 @@ function et_builder_wc_set_initial_content( $maybe_shortcode_content, $post_id )
|
||||
$args['existing_shortcode'] = $maybe_shortcode_content;
|
||||
}
|
||||
|
||||
return et_builder_wc_get_initial_content( $args );
|
||||
return et_builder_wc_get_prefilled_product_page_content( $args );
|
||||
}
|
||||
|
||||
/**
|
||||
@ -383,6 +847,42 @@ function et_builder_wc_need_overwrite_global( $product_id = 'current' ) {
|
||||
return $need_overwrite_global;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the Product ID.
|
||||
*
|
||||
* @since 4.14.0
|
||||
*
|
||||
* @param array $args Module props.
|
||||
*
|
||||
* @return int $product_id
|
||||
*/
|
||||
function et_builder_wc_get_product_id( $args ) {
|
||||
$maybe_product_id = et_()->array_get( $args, 'product', 'latest' );
|
||||
$is_latest_product = 'latest' === $maybe_product_id;
|
||||
$is_current_product_page = 'current' === $maybe_product_id;
|
||||
|
||||
if ( $is_latest_product ) {
|
||||
// Dynamic filter's product_id need to be translated into correct id.
|
||||
$product_id = ET_Builder_Module_Helper_Woocommerce_Modules::get_product_id( $maybe_product_id );
|
||||
} elseif ( $is_current_product_page && wp_doing_ajax() && class_exists( 'ET_Builder_Element' ) ) {
|
||||
/*
|
||||
* $product global doesn't exist in ajax request; thus get the fallback post id
|
||||
* this is likely happen in computed callback ajax request.
|
||||
*/
|
||||
$product_id = ET_Builder_Element::get_current_post_id();
|
||||
} else {
|
||||
// Besides two situation above, $product_id is current $args['product'].
|
||||
if ( false !== get_post_status( $maybe_product_id ) ) {
|
||||
$product_id = $maybe_product_id;
|
||||
} else {
|
||||
// Fallback to Latest product if saved product ID doesn't exist.
|
||||
$product_id = ET_Builder_Module_Helper_Woocommerce_Modules::get_product_id( 'latest' );
|
||||
}
|
||||
}
|
||||
|
||||
return $product_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Helper to render module template for module's front end and computed callback output
|
||||
*
|
||||
@ -415,6 +915,9 @@ function et_builder_wc_render_module_template( $function_name, $args = array(),
|
||||
'wc_print_notice',
|
||||
'woocommerce_output_related_products',
|
||||
'woocommerce_upsell_display',
|
||||
'woocommerce_checkout_login_form',
|
||||
'wc_cart_empty_template',
|
||||
'woocommerce_output_all_notices',
|
||||
);
|
||||
|
||||
if ( ! in_array( $function_name, $allowlisted_functions, true ) ) {
|
||||
@ -441,25 +944,7 @@ function et_builder_wc_render_module_template( $function_name, $args = array(),
|
||||
// module's template rendering uses `wp_reset_postdata()` which resets global query.
|
||||
et_theme_builder_wc_set_global_objects();
|
||||
} elseif ( $overwrite_global ) {
|
||||
$is_latest_product = 'latest' === $args['product'];
|
||||
$is_current_product_page = 'current' === $args['product'];
|
||||
|
||||
if ( $is_latest_product ) {
|
||||
// Dynamic filter's product_id need to be translated into correct id
|
||||
$product_id = ET_Builder_Module_Helper_Woocommerce_Modules::get_product_id( $args['product'] );
|
||||
} elseif ( $is_current_product_page && wp_doing_ajax() && class_exists( 'ET_Builder_Element' ) ) {
|
||||
// $product global doesn't exist in ajax request; thus get the fallback post id
|
||||
// this is likely happen in computed callback ajax request
|
||||
$product_id = ET_Builder_Element::get_current_post_id();
|
||||
} else {
|
||||
// Besides two situation above, $product_id is current $args['product'].
|
||||
if ( false !== get_post_status( $args['product'] ) ) {
|
||||
$product_id = $args['product'];
|
||||
} else {
|
||||
// Fallback to Latest product if saved product ID doesn't exist.
|
||||
$product_id = ET_Builder_Module_Helper_Woocommerce_Modules::get_product_id( 'latest' );
|
||||
}
|
||||
}
|
||||
$product_id = et_builder_wc_get_product_id( $args );
|
||||
|
||||
if ( 'product' !== get_post_type( $product_id ) ) {
|
||||
// We are in a Theme Builder layout and the current post is not a product - use the latest one instead.
|
||||
@ -562,8 +1047,10 @@ function et_builder_wc_render_module_template( $function_name, $args = array(),
|
||||
echo wc_get_stock_html( $product ); // phpcs:ignore WordPress.Security.EscapeOutput -- `wc_get_stock_html` include woocommerce's `single-product/stock.php` template.
|
||||
break;
|
||||
case 'wc_print_notice':
|
||||
$message = et_()->array_get( $args, 'wc_cart_message', '' );
|
||||
|
||||
// @phpcs:ignore Generic.PHP.ForbiddenFunctions.Found
|
||||
call_user_func( $function_name, wc_add_to_cart_message( $product->get_id(), false, true ) );
|
||||
call_user_func( $function_name, $message );
|
||||
break;
|
||||
case 'wc_print_notices':
|
||||
// Save existing notices to restore them as many times as we need.
|
||||
@ -577,11 +1064,41 @@ function et_builder_wc_render_module_template( $function_name, $args = array(),
|
||||
WC()->session->set( 'wc_notices', $et_wc_cached_notices );
|
||||
}
|
||||
break;
|
||||
case 'woocommerce_checkout_login_form':
|
||||
if ( function_exists( 'woocommerce_checkout_login_form' ) ) {
|
||||
woocommerce_checkout_login_form();
|
||||
}
|
||||
if ( function_exists( 'woocommerce_checkout_coupon_form' ) ) {
|
||||
woocommerce_checkout_coupon_form();
|
||||
}
|
||||
|
||||
$is_builder = et_()->array_get( $args, 'is_builder', false );
|
||||
if ( $is_builder ) {
|
||||
ET_Builder_Module_Woocommerce_Cart_Notice::output_coupon_error_message();
|
||||
}
|
||||
break;
|
||||
case 'woocommerce_upsell_display':
|
||||
$order = isset( $args['order'] ) ? $args['order'] : '';
|
||||
// @phpcs:ignore Generic.PHP.ForbiddenFunctions.Found
|
||||
call_user_func( $function_name, '', '', '', $order );
|
||||
break;
|
||||
case 'wc_cart_empty_template':
|
||||
wc_get_template( 'cart/cart-empty.php' );
|
||||
break;
|
||||
case 'woocommerce_output_all_notices':
|
||||
// Save existing notices to restore them as many times as we need.
|
||||
$et_wc_cached_notices = WC()->session->get( 'wc_notices', array() );
|
||||
|
||||
if ( function_exists( $function_name ) ) {
|
||||
// @phpcs:ignore Generic.PHP.ForbiddenFunctions.Found -- Using for consistency.
|
||||
call_user_func( $function_name );
|
||||
}
|
||||
|
||||
// Restore notices which were removed after wc_print_notices() executed to render multiple modules on page.
|
||||
if ( ! empty( $et_wc_cached_notices ) && empty( WC()->session->get( 'wc_notices', array() ) ) ) {
|
||||
WC()->session->set( 'wc_notices', $et_wc_cached_notices );
|
||||
}
|
||||
break;
|
||||
default:
|
||||
// @phpcs:ignore Generic.PHP.ForbiddenFunctions.Found
|
||||
call_user_func( $function_name );
|
||||
@ -784,7 +1301,7 @@ function et_builder_wc_override_default_layout() {
|
||||
* Otherwise, the description would be shown in both Product Tabs and at the end of the
|
||||
* default WooCommerce layout set at
|
||||
*
|
||||
* @see et_builder_wc_get_initial_content()
|
||||
* @see et_builder_wc_get_prefilled_product_page_content()
|
||||
*
|
||||
* @since 3.29
|
||||
*
|
||||
@ -903,7 +1420,8 @@ function et_builder_wc_is_non_product_post_type() {
|
||||
function et_builder_wc_load_scripts() {
|
||||
global $post;
|
||||
|
||||
$is_shop = function_exists( 'is_shop' ) && is_shop();
|
||||
$is_shop = function_exists( 'is_shop' ) && is_shop();
|
||||
$is_checkout = function_exists( 'is_checkout' ) && is_checkout();
|
||||
|
||||
// is_product_taxonomy() is not returning TRUE for Category & Tags.
|
||||
// Hence we check Category & Tag archives individually.
|
||||
@ -918,6 +1436,7 @@ function et_builder_wc_load_scripts() {
|
||||
&& ! $is_shop
|
||||
&& ! $is_product_category
|
||||
&& ! $is_product_tag
|
||||
&& ! $is_checkout
|
||||
) {
|
||||
return;
|
||||
}
|
||||
@ -951,6 +1470,10 @@ function et_builder_wc_load_scripts() {
|
||||
|
||||
wp_enqueue_script( 'woocommerce' );
|
||||
wp_enqueue_script( 'wc-cart-fragments' );
|
||||
wp_enqueue_script( 'wc-checkout' );
|
||||
wp_enqueue_script( 'select2' );
|
||||
wp_enqueue_script( 'selectWoo' );
|
||||
wp_enqueue_style( 'select2' );
|
||||
|
||||
// Enqueue style.
|
||||
$wc_styles = WC_Frontend_Scripts::get_styles();
|
||||
@ -1064,9 +1587,11 @@ function et_builder_wc_add_outer_content_class( $classes ) {
|
||||
*
|
||||
* They are 1) On WP Admin Publish/Update post 2) On VB Save.
|
||||
*
|
||||
* @param int $post_id Post id.
|
||||
*
|
||||
* @since 4.14.0 Remove ET_BUILDER_WC_PRODUCT_PAGE_LAYOUT_META_KEY meta key on non-product post types.
|
||||
* Also move `since` section above `param` section.
|
||||
* @since 3.29
|
||||
*
|
||||
* @param int $post_id Post ID.
|
||||
*/
|
||||
function et_builder_set_product_page_layout_meta( $post_id ) {
|
||||
$post = get_post( $post_id );
|
||||
@ -1083,6 +1608,16 @@ function et_builder_set_product_page_layout_meta( $post_id ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// The meta key is to be used only on Product post types.
|
||||
// Hence remove the meta if exists on other post types.
|
||||
$is_non_product_post_type = 'product' !== $post->post_type;
|
||||
if ( $is_non_product_post_type ) {
|
||||
// Returns FALSE when no meta key is found.
|
||||
delete_post_meta( $post_id, ET_BUILDER_WC_PRODUCT_PAGE_LAYOUT_META_KEY );
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
// Do not update Product page layout post meta when it contains a value.
|
||||
$product_page_layout = get_post_meta(
|
||||
$post_id,
|
||||
@ -1239,6 +1774,29 @@ function et_builder_wc_parse_description( $description ) {
|
||||
return $parsed_description;
|
||||
}
|
||||
|
||||
/**
|
||||
* Deletes ET_BUILDER_WC_PRODUCT_PAGE_CONTENT_STATUS_META_KEY when Builder is OFF.
|
||||
*
|
||||
* The deletion allows switching between Divi Builder and the GB builder smoothly.
|
||||
*
|
||||
* @link https://github.com/elegantthemes/Divi/issues/22477
|
||||
*
|
||||
* @since 4.14.0
|
||||
*
|
||||
* @param WP_Post $post Post Object.
|
||||
*/
|
||||
function et_builder_wc_delete_post_meta( $post ) {
|
||||
if ( ! ( $post instanceof WP_Post ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
if ( et_pb_is_pagebuilder_used( $post->ID ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
delete_post_meta( $post->ID, ET_BUILDER_WC_PRODUCT_PAGE_CONTENT_STATUS_META_KEY );
|
||||
}
|
||||
|
||||
/**
|
||||
* Entry point for the woocommerce-modules.php file.
|
||||
*
|
||||
@ -1284,12 +1842,14 @@ function et_builder_wc_init() {
|
||||
// we use this additional hook `et_pb_old_content_updated`.
|
||||
add_action( 'et_pb_old_content_updated', 'et_builder_wc_long_description_metabox_save', 10, 3 );
|
||||
|
||||
// 01. Sets the initial Content when `Use Divi Builder` button is clicked
|
||||
// in the Admin dashboard.
|
||||
// 02. Sets the initial Content when `Enable Visual Builder` is clicked.
|
||||
/*
|
||||
* 01. Sets the initial Content when `Use Divi Builder` button is clicked
|
||||
* in the Admin dashboard.
|
||||
* 02. Sets the initial Content when `Enable Visual Builder` is clicked.
|
||||
*/
|
||||
add_filter(
|
||||
'et_fb_load_raw_post_content',
|
||||
'et_builder_wc_set_initial_content',
|
||||
'et_builder_wc_set_prefilled_page_content',
|
||||
10,
|
||||
2
|
||||
);
|
||||
@ -1302,7 +1862,7 @@ function et_builder_wc_init() {
|
||||
*
|
||||
* @see https://github.com/elegantthemes/Divi/issues/16420
|
||||
*/
|
||||
add_action( 'et_update_post', 'et_builder_set_product_content_status' );
|
||||
add_action( 'et_update_post', 'et_builder_wc_set_page_content_status' );
|
||||
|
||||
/*
|
||||
* Handle get Woocommerce tabs AJAX call initiated by Tabs checkbox in settings modal.
|
||||
@ -1323,6 +1883,31 @@ function et_builder_wc_init() {
|
||||
|
||||
add_filter( 'et_builder_wc_description', 'et_builder_wc_parse_description' );
|
||||
|
||||
add_filter( 'template_redirect', 'et_builder_wc_template_redirect', 9 );
|
||||
|
||||
/*
|
||||
* Delete `_et_pb_woo_page_content_status` post meta when Divi Builder is off
|
||||
* when using GB editor.
|
||||
*
|
||||
* The latest value of `_et_pb_use_builder` post meta is only available in
|
||||
* `rest_after_insert_page` and NOT in `rest_insert_page` hook.
|
||||
*
|
||||
* This action is documented in
|
||||
* wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
|
||||
*/
|
||||
add_action( 'rest_after_insert_page', 'et_builder_wc_delete_post_meta' );
|
||||
|
||||
add_filter( 'woocommerce_checkout_redirect_empty_cart', 'et_builder_stop_cart_redirect_while_enabling_builder' );
|
||||
|
||||
/*
|
||||
* `wp_loaded` is used intentionally because
|
||||
* `get_cart()` should not be called before wp_loaded hook.
|
||||
*/
|
||||
add_action(
|
||||
'wp_loaded',
|
||||
'et_builder_handle_shipping_calculator_update_btn_click'
|
||||
);
|
||||
|
||||
/*
|
||||
* In the case of dynamic module framework's shortcode manager
|
||||
* we need to fire this hook on its own,
|
||||
@ -1335,6 +1920,14 @@ function et_builder_wc_init() {
|
||||
'disable_default_notice',
|
||||
]
|
||||
);
|
||||
|
||||
add_action(
|
||||
'et_builder_module_lazy_shortcodes_registered',
|
||||
[
|
||||
'ET_Builder_Module_Woocommerce_Checkout_Additional_Info',
|
||||
'maybe_invoke_woocommerce_hooks',
|
||||
]
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user