Commit inicial - WordPress Análisis de Precios Unitarios

- WordPress core y plugins
- Tema Twenty Twenty-Four configurado
- Plugin allow-unfiltered-html.php simplificado
- .gitignore configurado para excluir wp-config.php y uploads

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2025-11-03 21:04:30 -06:00
commit a22573bf0b
24068 changed files with 4993111 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg">
<metadata>Copyright (C) 2016 by original authors @ fontello.com</metadata>
<defs>
<font id="icons" horiz-adv-x="1000" >
<font-face font-family="icons" font-weight="400" font-stretch="normal" units-per-em="1000" ascent="850" descent="-150" />
<missing-glyph horiz-adv-x="1000" />
<glyph glyph-name="ok" unicode="&#xe800;" d="M352-10l-334 333 158 160 176-174 400 401 159-160z" horiz-adv-x="928" />
<glyph glyph-name="forward" unicode="&#xe801;" d="M1000 493q0-15-11-25l-285-286q-11-11-25-11t-26 11-10 25v143h-125q-55 0-98-3t-86-12-74-24-59-39-45-56-27-77-10-101q0-31 3-69 0-4 2-13t1-15q0-8-5-14t-13-6q-9 0-15 10-4 5-8 12t-7 17-6 13q-71 159-71 252 0 111 30 186 90 225 488 225h125v143q0 14 10 25t26 10 25-10l285-286q11-11 11-25z" horiz-adv-x="1000" />
</font>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 949 B

View File

@@ -0,0 +1,32 @@
.asp_r .item {
/* To override .overlap */
.asp__af-tt-container {
position: relative;
z-index: 2;
.asp__af-tt-link {
transition: opacity 0.2s;
&:hover {
opacity: 0.7;
}
}
}
.average-rating {
--percent: 0%;
--color: #2EA3F2;
--bg-color: rgba(0,0,0,0.2);
--size: 17px;
position: relative;
appearance: none;
width: auto;
display: inline-block;
vertical-align: baseline;
font-size: var(--size);
line-height: calc(var(--size) - 15%);
color: var(--bg-color);
background: linear-gradient(90deg, var(--color) var(--percent), var(--bg-color) var(--percent));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
}

View File

@@ -0,0 +1,132 @@
.asp_r .item {
.price {
--regular-price-color: #666;
--sale_price_color: #666;
color: var(--regular-price-color);
del {
opacity: .5;
display: inline-block;
text-decoration: line-through;
color: var(--regular-price-color);
}
ins {
margin-left: 0.5em;
text-decoration: none;
font-weight: 700;
display: inline-block;
color: var(--sale_price_color);
}
}
.stock {
.quantity {
color: #666;
}
.out-of-stock {
color: #a00;
}
.on-backorder {
color: #eaa600;
}
.in-stock {
color: #7ad03a;
}
}
.add-to-cart-container {
display: flex;
flex-wrap: wrap;
align-items: center;
position: relative;
z-index: 10;
width: 100%;
margin: 12px 0;
.add-to-cart-quantity {
padding: 8px 0 8px 8px;
background: #eaeaea;
width: 32px;
border-radius: 4px 0 0 4px;
height: 18px;
min-height: unset;
display: inline-block;
font-size: 13px;
line-height: normal;
}
.add-to-cart-button {
padding: 8px;
border-radius: 4px;
background: #6246d7;
color: white;
height: 18px;
min-height: unset;
display: block;
text-align: center;
min-width: 90px;
font-size: 13px;
line-height: normal;
&.add-to-cart-variable {
border-radius: 4px;
}
&.loading {
content: url("data:image/svg+xml,%3Csvg width='38' height='38' viewBox='0 0 38 38' xmlns='http://www.w3.org/2000/svg' stroke='%23fff'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg transform='translate(1 1)' stroke-width='2'%3E%3Ccircle stroke-opacity='.5' cx='18' cy='18' r='18'/%3E%3Cpath d='M36 18c0-9.94-8.06-18-18-18'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 18 18' to='360 18 18' dur='1s' repeatCount='indefinite'/%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
}
a.added_to_cart {
flex-basis: 100%;
margin-top: 8px;
}
}
.add-to-cart-container:has(.add-to-cart-quantity) {
.add-to-cart-button {
border-radius: 0 4px 4px 0;
}
}
.sale-badge {
--font-size: 14px;
--font-color: white;
--background-color: #6246d7;
position: absolute;
top: 12px;
right: 12px;
padding: 6px 12px;
font-size: var(--font-size);
color: var(--font-color);
background: var(--background-color);
box-shadow: 0 0 6px -3px rgb(0, 0, 0);
&.sale-badge-capsule {
border-radius: 50px;
}
&.sale-badge-round {
border-radius: 3px;
}
&.sale-badge-top-left {
right: unset;
left: 12px;
}
&.sale-badge-bottom-left {
right: unset;
top: unset;
bottom: 12px;
left: 12px;
}
&.sale-badge-bottom-right {
top: unset;
bottom: 12px;
}
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,191 @@
<?php
/**
* This is the dynamic stylesheet file of the plugin. Don't edit unless necessary.
*
* If you are wondering, why so many weird rules? Well, some themes appear to use
* IDs in selectors instead of sticking only with classes,
* thus making it inevitable to use stronger CSS specificities.
*/
// Since version 3.0 it is possible to use multiple instances, we need at least 2 IDs to be safe
defined('ABSPATH') or die("You can't access this file directly.");
$use_compatibility = true;
$use_strong_compatibility = true;
$base_css = "";
$asp_comp = wd_asp()->o['asp_compatibility'];
$comp_level = w_isset_def($asp_comp["css_compatibility_level"], "medium");
if ($comp_level == "medium") {
$use_compatibility = true;
$use_strong_compatibility = false;
} else if ($comp_level == "maximum") {
$use_compatibility = true;
$use_strong_compatibility = true;
} else {
$use_compatibility = false;
$use_strong_compatibility = false;
}
$asp_container_class = '.asp_w_container.asp_w_container_'.$id;
if ( isset($_POST['action']) && $_POST['action'] === 'ajaxsearchpro_preview' ) {
$asp_css_prefix = '';
} else {
$asp_css_prefix = apply_filters('asp/assets/css/prefix', '', $id);
}
$asp_div_ids1 = $asp_css_prefix . '#ajaxsearchpro'.$id.'_1';
$asp_div_ids2 = $asp_css_prefix . '#ajaxsearchpro'.$id.'_2';
$asp_res_ids1 = '#ajaxsearchprores'.$id.'_1';
$asp_res_ids2 = '#ajaxsearchprores'.$id.'_2';
$asp_set_ids1 = '#ajaxsearchprosettings'.$id.'_1';
$asp_set_ids2 = '#ajaxsearchprosettings'.$id.'_2';
$asp_bset_ids1 = $asp_css_prefix . '#ajaxsearchprobsettings'.$id.'_1';
$asp_bset_ids2 = $asp_css_prefix . '#ajaxsearchprobsettings'.$id.'_2';
$asp_div_ids = $asp_css_prefix . 'div.asp_m.asp_m_'.$id;
$asp_res_ids = 'div.asp_r.asp_r_'.$id;
$asp_set_ids = 'div.asp_s.asp_s_'.$id;
$asp_bset_ids = $asp_css_prefix . 'div.asp_sb.asp_sb_'.$id;
if (!class_exists('aspCSSCompatibilityReplace')) {
class aspCSSCompatibilityReplace {
private $id;
private $end;
private $prefix;
function __construct($id, $end = false, $prefix = '') {
$this->id = $id;
$this->end = $end;
$this->prefix = $prefix;
}
function setPrefix($prefix) {
$this->prefix = $prefix;
}
function callback($matches) {
$id = $this->id;
if (!isset($matches[1])) return "";
if (strpos($matches[1], "*=") < 0) return $matches[1];
$instance1 = str_replace(
array(
"*='ajaxsearchpro']",
"*='ajaxsearchprosettings']",
"*='ajaxsearchprobsettings']",
"*='ajaxsearchprores']"
),
array(
'#ajaxsearchpro'.$id.'_1',
'#ajaxsearchprosettings'.$id.'_1',
'#ajaxsearchprobsettings'.$id.'_1',
'#ajaxsearchprores'.$id.'_1'
),
$matches[1]);
$instance2 = str_replace(
array(
"*='ajaxsearchpro']",
"*='ajaxsearchprosettings']",
"*='ajaxsearchprobsettings']",
"*='ajaxsearchprores']"
),
array(
'#ajaxsearchpro'.$id.'_2',
'#ajaxsearchprosettings'.$id.'_2',
'#ajaxsearchprobsettings'.$id.'_2',
'#ajaxsearchprores'.$id.'_2'
),
$matches[1]);
if ($this->end)
return $instance1 . ", " . $instance2 . " {";
else
return $instance1 . " " . $instance2;
}
function callback2($matches) {
$id = $this->id;
if (!isset($matches[1])) return "";
if ($this->end)
return $this->prefix.$id.'_1'. $matches[1] . ", " . $this->prefix.$id.'_2'. $matches[1] . " {";
else
return $this->prefix.$id.'_1'. $matches[1] . " " . $this->prefix.$id.'_2'. $matches[1];
}
}
}
// Load the corresponding CSS3 loader
$asp_loader_css_full = file_get_contents(ASP_CSS_PATH . "style.loaders.css");
$asp_loader_css = asp_get_inner_substring( $asp_loader_css_full, "/*[general]*/");
$asp_loader_css .= " " . asp_get_inner_substring( $asp_loader_css_full, "/*[" . w_isset_def($style['loader_image'], "simple-circle") . "]*/");
$asp_loader_css = str_replace("#fff", $style['loadingimage_color'], $asp_loader_css);
// Print the loader CSS, without the changes (so same instances above 2 will work)
echo str_replace("id*='ajaxsearchpro'", "id*='ajaxsearchpro".$id."_'", $asp_loader_css);
echo str_replace("id*='ajaxsearchpro']", "id*='ajaxsearchprores".$id."_'] .asp_res_loader", $asp_loader_css);
// Load the required CSS3 animation
$asp_anim_css_full = file_get_contents(ASP_CSS_PATH . "animations.css");
$asp_anim_css = asp_get_inner_substring( $asp_anim_css_full, "/*[" . w_isset_def($style['res_items_animation'], "fadeInDown") . "]*/");
$asp_anim_css_mob = asp_get_inner_substring( $asp_anim_css_full, "/*[" . w_isset_def($style['res_items_animation_m'], "voidanim") . "]*/");
if ( $asp_anim_css != $asp_anim_css_mob )
$asp_anim_css .= " " . $asp_anim_css_mob;
// Do some stuff with the base CSS if the compatibility level is Maximum
if ($use_strong_compatibility == true) {
ob_start();
include(ASP_PATH . "/css/style.basic.css.php");
$basic_css = ob_get_clean();
$orinal_base_css = $base_css;
$css_helper = new aspCSSCompatibilityReplace($id, false, '#ajaxsearchpro');
$base_css = preg_replace_callback("/^div\.asp_w\.ajaxsearchpro(.*?[ ]*,)/im", array($css_helper, "callback2"), $base_css);
$css_helper->setPrefix('#ajaxsearchprobsettings');
$base_css = preg_replace_callback("/^div\.asp_w\.asp_sb(.*?[ ]*,)/im", array($css_helper, "callback2"), $base_css);
$css_helper->setPrefix('#ajaxsearchprosettings');
$base_css = preg_replace_callback("/^div\.asp_w\.asp_s(.*?[ ]*,)/im", array($css_helper, "callback2"), $base_css);
$css_helper->setPrefix('#ajaxsearchprores');
$base_css = preg_replace_callback("/^div\.asp_w\.asp_r(.*?[ ]*,)/im", array($css_helper, "callback2"), $base_css);
//$base_css = preg_replace_callback("/^div\.ajaxsearchpro\[id(.*?[ ]*,)/im", array($css_helper, "callback2"), $base_css);
$css_helper = new aspCSSCompatibilityReplace($id, true, '#ajaxsearchpro');
$base_css = preg_replace_callback("/^div\.asp_w\.ajaxsearchpro(.*?)[ ]*\{/im", array($css_helper, "callback2"), $base_css);
$css_helper->setPrefix('#ajaxsearchprobsettings');
$base_css = preg_replace_callback("/^div\.asp_w\.asp_sb(.*?)[ ]*\{/im", array($css_helper, "callback2"), $base_css);
$css_helper->setPrefix('#ajaxsearchprosettings');
$base_css = preg_replace_callback("/^div\.asp_w\.asp_s(.*?)[ ]*\{/im", array($css_helper, "callback2"), $base_css);
$css_helper->setPrefix('#ajaxsearchprores');
$base_css = preg_replace_callback("/^div\.asp_w\.asp_r(.*?)[ ]*\{/im", array($css_helper, "callback2"), $base_css);
$base_css = $orinal_base_css . ' '. $base_css;
}
$css_helper = new aspCSSCompatibilityReplace($id);
$asp_loader_css = preg_replace_callback("/^div\[id(.*?[ ]*,)/im", array($css_helper, "callback"), $asp_loader_css);
$css_helper = new aspCSSCompatibilityReplace($id, true);
$asp_loader_css = preg_replace_callback("/^div\[id(.*?)[ ]*\{/im", array($css_helper, "callback"), $asp_loader_css);
echo $base_css;
echo $asp_loader_css;
echo $asp_anim_css;
include(ASP_PATH . "/css/style.shared.css.php");
include(ASP_PATH . "/css/style.".$style['resultstype'].".css.php");
// Custom CSS
foreach ( array('custom_css', 'custom_css_h') as $_css_key ) {
if ( $style[$_css_key] != '' ) {
if ( base64_decode($style[$_css_key], true) == true ) {
$asp_c_css = stripcslashes( base64_decode($style[$_css_key]) );
} else {
$asp_c_css = stripcslashes( $style[$_css_key] );
}
echo str_replace( "_aspid", $id, $asp_c_css );
}
}
echo "/* Generated at: ".date("Y-m-d H:i:s", time())." */";

View File

@@ -0,0 +1,273 @@
<?php
/**
* WARNING! DO NOT EDIT THIS FILE DIRECTLY!
*
* FOR CUSTOM CSS USE THE PLUGIN THEME OPTIONS->CUSTOM CSS PANEL.
*/
/* Prevent direct access */
defined('ABSPATH') or die("You can't access this file directly.");
?>
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.horizontal,
<?php echo $asp_res_ids2; ?>.horizontal,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.horizontal {
<?php wpdreams_gradient_css($style['hboxbg']); ?>
<?php echo $style['hboxborder']; ?>
<?php echo wpdreams_box_shadow_css($style['hboxshadow']); ?>
display: none;
visibility: hidden;
}
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.horizontal .results,
<?php echo $asp_res_ids2; ?>.horizontal .results,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.horizontal .results {
overflow-y: hidden;
overflow-x: auto;
}
<?php if (
$style['resultsposition'] !== 'hover' &&
str_contains(wpd_gradient_get_color_only($style['hboxbg']), 'transparent')
): ?>
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.horizontal,
<?php echo $asp_res_ids2; ?>.horizontal,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.horizontal {
margin-left: -<?php echo intval($style['hressidemargin']) ?>px;
margin-right: -<?php echo intval($style['hressidemargin']) ?>px;
}
<?php endif; ?>
<?php if ( $style['h_res_show_scrollbar'] == 0 ): ?>
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.horizontal .results .resdrg,
<?php echo $asp_res_ids2; ?>.horizontal .results .resdrg,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.horizontal .results .resdrg {
display: flex;
justify-content: <?php echo $style['h_item_alignment']; ?>;
flex-wrap: wrap;
}
<?php else: ?>
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.horizontal .results,
<?php echo $asp_res_ids2; ?>.horizontal .results,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.horizontal .results {
scrollbar-width: thin;
scrollbar-color: <?php echo wpd_gradient_get_color_only($style['h_res_overflow_color']); ?> <?php echo wpd_gradient_get_color_only($style['hboxbg']); ?>;
}
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.horizontal .results::-webkit-scrollbar,
<?php echo $asp_res_ids2; ?>.horizontal .results::-webkit-scrollbar,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.horizontal .results::-webkit-scrollbar {
height: 7px;
}
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.horizontal .results::-webkit-scrollbar-track,
<?php echo $asp_res_ids2; ?>.horizontal .results::-webkit-scrollbar-track,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.horizontal .results::-webkit-scrollbar-track {
background: <?php echo wpd_gradient_get_color_only($style['hboxbg']); ?>;
}
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.horizontal .results::-webkit-scrollbar-thumb,
<?php echo $asp_res_ids2; ?>.horizontal .results::-webkit-scrollbar-thumb,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.horizontal .results::-webkit-scrollbar-thumb {
<?php if ($style['h_res_overflow_autohide']): ?>
background: transparent;
<?php else: ?>
background: <?php echo wpd_gradient_get_color_only($style['h_res_overflow_color']); ?>;
<?php endif; ?>
border-radius: 5px;
border: none;
}
<?php if ($style['v_res_overflow_autohide']): ?>
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.horizontal:hover .results::-webkit-scrollbar-thumb,
<?php echo $asp_res_ids2; ?>.horizontal:hover .results::-webkit-scrollbar-thumb,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.horizontal:hover .results::-webkit-scrollbar-thumb {
background: <?php echo wpd_gradient_get_color_only($style['h_res_overflow_color']); ?>;
}
@media (hover: none), (max-width: 500px) {
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.horizontal .results::-webkit-scrollbar-thumb,
<?php echo $asp_res_ids2; ?>.horizontal .results::-webkit-scrollbar-thumb,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.horizontal .results::-webkit-scrollbar-thumb {
background: <?php echo wpd_gradient_get_color_only($style['h_res_overflow_color']); ?>;
}
}
<?php endif; ?>
<?php endif; ?>
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.horizontal .results .item,
<?php echo $asp_res_ids2; ?>.horizontal .results .item,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.horizontal .results .item {
height: <?php echo $style['h_item_height'] === 'auto' ? 'auto' : intval($style['h_item_height']) . 'px'; ?>;
width: <?php echo $style['h_item_width']; ?>;
margin: 10px <?php echo intval($style['hressidemargin']); ?>px;
padding: <?php echo intval($style['hrespadding']); ?>px;
float: left;
<?php wpdreams_gradient_css($style['hresultbg']); ?>
<?php echo $style['hresultborder']; ?>
<?php wpdreams_box_shadow_css($style['hresultshadow']); ?>
<?php if ( $style['h_res_show_scrollbar'] == 0 ): ?>
flex: 0 0 calc(<?php echo $style['h_item_width']; ?> - <?php echo 2*(intval($style['hressidemargin']) + intval($style['hrespadding'])); ?>px);
<?php endif; ?>
}
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.horizontal .results .item:hover,
<?php echo $asp_res_ids2; ?>.horizontal .results .item:hover,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.horizontal .results .item:hover {
<?php wpdreams_gradient_css($style['hresulthbg']); ?>
}
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.horizontal .results .item .asp_image,
<?php echo $asp_res_ids2; ?>.horizontal .results .item .asp_image,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.horizontal .results .item .asp_image {
margin: 0 auto;
<?php wpdreams_gradient_css($style['hresultbg']); ?>
}
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.horizontal .results .item .asp_image,
<?php echo $asp_res_ids2; ?>.horizontal .results .item .asp_image,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.horizontal .results .item .asp_image {
width: 100%;
height: <?php echo $style['h_image_height'] === 'auto' ? 'auto' : intval($style['h_image_height']) . 'px'; ?>;;
<?php echo $style['hresultimageborder']; ?>
float: none;
margin: 0 auto 6px;
position: relative;
background-position: center;
background-size: cover;
}
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.horizontal .results .item .asp_image .void,
<?php echo $asp_res_ids2; ?>.horizontal .results .item .asp_image .void,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.horizontal .results .item .asp_image .void {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
<?php echo $style['hresultimageshadow']; ?>
}
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.horizontal .results .item .asp_image img,
<?php echo $asp_res_ids2; ?>.horizontal .results .item .asp_image img,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.horizontal .results .item .asp_image img {
display: block;
}
<?php
// ----------------------------------------- TABLET SPECIFIC STYLES ----------------------------------------------------
ob_start();
?>
<?php if (
$style['h_item_width'] !== $style['h_item_width_tablet'] ||
$style['h_item_height'] !== $style['h_item_height_tablet']
): ?>
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.horizontal .results .item,
<?php echo $asp_res_ids2; ?>.horizontal .results .item,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.horizontal .results .item {
height: <?php echo $style['h_item_height_tablet'] === 'auto' ? 'auto' : intval($style['h_item_height_tablet']) . 'px'; ?>;
width: <?php echo $style['h_item_width_tablet']; ?>;
<?php if ( $style['h_res_show_scrollbar'] == 0 ): ?>
flex: 0 0 calc(<?php echo $style['h_item_width_tablet']; ?> - <?php echo 2*(intval($style['hressidemargin']) + intval($style['hrespadding'])); ?>px);
<?php endif; ?>
}
<?php endif; ?>
<?php if (
$style['h_image_height'] !== $style['h_image_height_tablet']
): ?>
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.horizontal .results .item .asp_image,
<?php echo $asp_res_ids2; ?>.horizontal .results .item .asp_image,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.horizontal .results .item .asp_image {
height: <?php echo $style['h_image_height_tablet'] === 'auto' ? 'auto' : intval($style['h_image_height_tablet']) . 'px'; ?>;;
}
<?php endif; ?>
<?php
// ---------------------------------------------------------------------------------------------------------------------
?>
<?php $css_for_tablet = ob_get_clean(); ?>
<?php echo WPDRMS\ASP\Utils\Css::getCssForScreen(
$css_for_tablet,
'tablet',
$style['media_query_mobile_max_width']+1,
$style['media_query_tablet_max_width'],
$preview ?? false
); ?>
<?php
// ----------------------------------------- PHONE SPECIFIC STYLES -----------------------------------------------------
ob_start();
?>
<?php if (
$style['h_item_width'] !== $style['h_item_width_phone'] ||
$style['h_item_height'] !== $style['h_item_height_phone']
): ?>
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.horizontal .results .item,
<?php echo $asp_res_ids2; ?>.horizontal .results .item,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.horizontal .results .item {
height: <?php echo $style['h_item_height_phone'] === 'auto' ? 'auto' : intval($style['h_item_height_phone']) . 'px'; ?>;
width: <?php echo $style['h_item_width_phone']; ?>;
<?php if ( $style['h_res_show_scrollbar'] == 0 ): ?>
flex: 0 0 calc(<?php echo $style['h_item_width_phone']; ?> - <?php echo 2*(intval($style['hressidemargin']) + intval($style['hrespadding'])); ?>px);
<?php endif; ?>
}
<?php endif; ?>
<?php if (
$style['h_image_height'] !== $style['h_image_height_phone']
): ?>
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.horizontal .results .item .asp_image,
<?php echo $asp_res_ids2; ?>.horizontal .results .item .asp_image,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.horizontal .results .item .asp_image {
height: <?php echo $style['h_image_height_phone'] === 'auto' ? 'auto' : intval($style['h_image_height_phone']) . 'px'; ?>;;
}
<?php endif; ?>
<?php
// ---------------------------------------------------------------------------------------------------------------------
?>
<?php $css_for_phone = ob_get_clean(); ?>
<?php echo WPDRMS\ASP\Utils\Css::getCssForScreen(
$css_for_phone,
'phone',
0,
$style['media_query_mobile_max_width'],
$preview ?? false
); ?>

View File

@@ -0,0 +1,171 @@
<?php
/**
* WARNING! DO NOT EDIT THIS FILE DIRECTLY!
*
* FOR CUSTOM CSS USE THE PLUGIN THEME OPTIONS->CUSTOM CSS PANEL.
*/
/* Prevent direct access */
defined('ABSPATH') or die("You can't access this file directly.");
?>
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.isotopic .results .item .asp_content,
<?php echo $asp_res_ids2; ?>.isotopic .results .item .asp_content,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.isotopic .results .item .asp_content {
width: 100%;
height: auto;
z-index: 3;
padding: 4px 6px;
transition: all 0.2s;
}
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.isotopic,
<?php echo $asp_res_ids2; ?>.isotopic,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.isotopic {
background: <?php echo $style['i_res_container_bg']; ?>;
}
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.isotopic .results .item,
<?php echo $asp_res_ids2; ?>.isotopic .results .item,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.isotopic .results .item {
width: <?php echo is_numeric($style['i_item_width']) ? $style['i_item_width'].'px' : $style['i_item_width']; ?>;
height: <?php echo is_numeric($style['i_item_height']) ? $style['i_item_height'].'px' : $style['i_item_height']; ?>;
box-sizing: border-box;
background: <?php echo $style['i_res_item_background']; ?>;
}
<?php if ($use_compatibility == true): ?>
.rtl <?php echo $asp_res_ids1; ?>.isotopic .results .asp_isotopic_item,
.rtl <?php echo $asp_res_ids2; ?>.isotopic .results .asp_isotopic_item,
<?php endif; ?>
.rtl <?php echo $asp_res_ids; ?>.isotopic .results .asp_isotopic_item {
-webkit-transition-property: right, top, -webkit-transform, opacity;
-moz-transition-property: right, top, -moz-transform, opacity;
-ms-transition-property: right, top, -ms-transform, opacity;
-o-transition-property: right, top, -o-transform, opacity;
transition-property: right, top, transform, opacity;
}
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.isotopic .results .item.asp_gutter_bottom,
<?php echo $asp_res_ids2; ?>.isotopic .results .item.asp_gutter_bottom,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.isotopic .results .item {
margin-bottom: <?php echo w_isset_def($style['i_item_margin'], 10); ?>px;
}
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.isotopic .results .item .asp_content,
<?php echo $asp_res_ids2; ?>.isotopic .results .item .asp_content,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.isotopic .results .item .asp_content {
background: <?php echo $style['i_res_item_content_background']; ?>;
}
/* Isopopic mouse overlay */
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.isotopic .results .item:hover .asp_image~.asp_content_hide_on_overlay,
<?php echo $asp_res_ids2; ?>.isotopic .results .item:hover .asp_image~.asp_content_hide_on_overlay,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.isotopic .results .item:hover .asp_image~.asp_content_hide_on_overlay {
bottom: -100%;
}
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.isotopic .results .item:hover .asp_item_overlay,
<?php echo $asp_res_ids2; ?>.isotopic .results .item:hover .asp_item_overlay,
<?php echo $asp_res_ids1; ?>.isotopic .results .item:hover .asp_item_overlay_img,
<?php echo $asp_res_ids2; ?>.isotopic .results .item:hover .asp_item_overlay_img,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.isotopic .results .item:hover .asp_item_overlay,
<?php echo $asp_res_ids; ?>.isotopic .results .item:hover .asp_item_overlay_img {
opacity: 1;
}
/* Isotopic navigation */
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.isotopic>nav,
<?php echo $asp_res_ids2; ?>.isotopic>nav,
<?php echo $asp_res_ids1; ?>.isotopic nav.asp_navigation,
<?php echo $asp_res_ids2; ?>.isotopic nav.asp_navigation,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.isotopic>nav,
<?php echo $asp_res_ids; ?>.isotopic nav.asp_navigation {
background: <?php echo $style['i_pagination_background']; ?>;
margin-bottom: <?php echo w_isset_def($style['i_item_margin'], 10); ?>px;
}
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.isotopic nav.asp_navigation a.asp_prev,
<?php echo $asp_res_ids2; ?>.isotopic nav.asp_navigation a.asp_prev,
<?php echo $asp_res_ids1; ?>.isotopic nav.asp_navigation a.asp_next,
<?php echo $asp_res_ids2; ?>.isotopic nav.asp_navigation a.asp_next,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.isotopic nav.asp_navigation a.asp_prev,
<?php echo $asp_res_ids; ?>.isotopic nav.asp_navigation a.asp_next {
background: <?php echo $style['i_pagination_arrow_background']; ?>;
}
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.isotopic nav.asp_navigation a.asp_prev svg,
<?php echo $asp_res_ids2; ?>.isotopic nav.asp_navigation a.asp_prev svg,
<?php echo $asp_res_ids1; ?>.isotopic nav.asp_navigation a.asp_next svg,
<?php echo $asp_res_ids2; ?>.isotopic nav.asp_navigation a.asp_next svg,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.isotopic nav.asp_navigation a.asp_prev svg,
<?php echo $asp_res_ids; ?>.isotopic nav.asp_navigation a.asp_next svg {
fill: <?php echo $style['i_pagination_arrow_color']; ?>;
}
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.isotopic nav.asp_navigation ul li,
<?php echo $asp_res_ids2; ?>.isotopic nav.asp_navigation ul li,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.isotopic nav.asp_navigation ul li {
text-align: center;
}
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.isotopic nav.asp_navigation ul li.asp_active,
<?php echo $asp_res_ids2; ?>.isotopic nav.asp_navigation ul li.asp_active,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.isotopic nav.asp_navigation ul li.asp_active {
background: <?php echo $style['i_pagination_arrow_background']; ?>;
}
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.isotopic nav.asp_navigation ul li:hover,
<?php echo $asp_res_ids2; ?>.isotopic nav.asp_navigation ul li:hover,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.isotopic nav.asp_navigation ul li:hover {
background: <?php echo $style['i_pagination_arrow_background']; ?>;
}
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.isotopic nav.asp_navigation ul li.asp_active,
<?php echo $asp_res_ids2; ?>.isotopic nav.asp_navigation ul li.asp_active,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.isotopic nav.asp_navigation ul li.asp_active {
background: <?php echo $style['i_pagination_page_background']; ?>;
}
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.isotopic nav.asp_navigation ul li:hover,
<?php echo $asp_res_ids2; ?>.isotopic nav.asp_navigation ul li:hover,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.isotopic nav.asp_navigation ul li:hover {
background: <?php echo $style['i_pagination_page_background']; ?>;
}
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.isotopic nav.asp_navigation ul li span,
<?php echo $asp_res_ids2; ?>.isotopic nav.asp_navigation ul li span,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.isotopic nav.asp_navigation ul li span {
color: <?php echo $style['i_pagination_font_color']; ?>;
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,102 @@
<?php
/**
* WARNING! DO NOT EDIT THIS FILE DIRECTLY!
*
* FOR CUSTOM CSS USE THE PLUGIN THEME OPTIONS->CUSTOM CSS PANEL.
*/
/* Prevent direct access */
use WPDRMS\ASP\Utils\Css;defined('ABSPATH') or die("You can't access this file directly.");
?>
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?> .photostack,
<?php echo $asp_res_ids2; ?> .photostack,
<?php endif; ?>
<?php echo $asp_res_ids; ?> .photostack {
<?php wpdreams_gradient_css($style['prescontainerbg']); ?>
}
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?> .photostack figure,
<?php echo $asp_res_ids2; ?> .photostack figure,
<?php endif; ?>
<?php echo $asp_res_ids; ?> .photostack figure {
width: <?php echo $style['preswidth'] ?>;
height: auto;
max-height: <?php echo $style['presheight'] ?>;
position: absolute;
display: inline-block;
background: #fff;
padding: <?php echo $style['prespadding'] ?>;
text-align: center;
margin: 5px;
}
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?> .photostack figcaption h2,
<?php echo $asp_res_ids2; ?> .photostack figcaption h2,
<?php endif; ?>
<?php echo $asp_res_ids; ?> .photostack figcaption h2 {
margin: 20px 0 0 0;
<?php echo Css::font($style['prestitlefont']); ?>
}
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?> .photostack figcaption h2 a,
<?php echo $asp_res_ids2; ?> .photostack figcaption h2 a,
<?php endif; ?>
<?php echo $asp_res_ids; ?> .photostack figcaption h2 a {
<?php echo Css::font($style['prestitlefont']); ?>
}
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?> .photostack .etc,
<?php echo $asp_res_ids2; ?> .photostack .etc,
<?php endif; ?>
<?php echo $asp_res_ids; ?> .photostack .etc {
<?php echo Css::font($style['pressubtitlefont']); ?>
}
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?> .asp_image,
<?php echo $asp_res_ids2; ?> .asp_image,
<?php endif; ?>
<?php echo $asp_res_ids; ?> .asp_image {
width: <?php echo (wpdreams_width_from_px($style['preswidth'])- 2*wpdreams_width_from_px($style['prespadding'])); ?>px;
height: <?php echo (wpdreams_width_from_px($style['preswidth'])- 2*wpdreams_width_from_px($style['prespadding'])); ?>px;
<?php echo Css::font($style['pressubtitlefont']); ?>
}
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?> .photostack-back,
<?php echo $asp_res_ids2; ?> .photostack-back,
<?php endif; ?>
<?php echo $asp_res_ids; ?> .photostack-back {
<?php echo Css::font($style['presdescfont']); ?>
}
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?> .photostack nav span,
<?php echo $asp_res_ids2; ?> .photostack nav span,
<?php endif; ?>
<?php echo $asp_res_ids; ?> .photostack nav span {
<?php wpdreams_gradient_css($style['pdotssmallcolor']); ?>
margin: 0 5px;
}
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?> .photostack nav span.current,
<?php echo $asp_res_ids2; ?> .photostack nav span.current,
<?php endif; ?>
<?php echo $asp_res_ids; ?> .photostack nav span.current {
<?php wpdreams_gradient_css($style['pdotscurrentcolor']); ?>
}
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?> .photostack nav span.current.flip,
<?php echo $asp_res_ids2; ?> .photostack nav span.current.flip,
<?php endif; ?>
<?php echo $asp_res_ids; ?> .photostack nav span.current.flip {
<?php wpdreams_gradient_css($style['pdotsflippedcolor']); ?>
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,302 @@
<?php
/**
* WARNING! DO NOT EDIT THIS FILE DIRECTLY!
*
* FOR CUSTOM CSS USE THE PLUGIN THEME OPTIONS->CUSTOM CSS PANEL.
*/
/* Prevent direct access */
use WPDRMS\ASP\Utils\Css;defined('ABSPATH') or die("You can't access this file directly.");
?>
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.vertical,
<?php echo $asp_res_ids2; ?>.vertical,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.vertical {
padding: 4px;
background: <?php echo $style['resultsbackground']; ?>;
border-radius: 3px;
<?php echo $style['resultsborder']; ?>
<?php echo $style['resultshadow']; ?>
visibility: hidden;
display: none;
}
<?php if ( $style['v_res_show_scrollbar'] == 1): ?>
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.vertical .results,
<?php echo $asp_res_ids2; ?>.vertical .results,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.vertical .results {
max-height: <?php echo $style['v_res_max_height']; ?>;
overflow-x: hidden;
overflow-y: auto;
}
<?php endif; ?>
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.vertical .item,
<?php echo $asp_res_ids2; ?>.vertical .item,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.vertical .item {
position: relative;
box-sizing: border-box;
}
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.vertical .item .asp_content h3,
<?php echo $asp_res_ids2; ?>.vertical .item .asp_content h3,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.vertical .item .asp_content h3 {
display: inline;
}
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.vertical .results .item .asp_content,
<?php echo $asp_res_ids2; ?>.vertical .results .item .asp_content,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.vertical .results .item .asp_content {
overflow: hidden;
width: auto;
height: <?php echo $style['resultitemheight']; ?>;
background: transparent;
margin: 0;
padding: 8px;
}
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.vertical .results .item .asp_image,
<?php echo $asp_res_ids2; ?>.vertical .results .item .asp_image,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.vertical .results .item .asp_image {
width: <?php echo $style['image_width']; ?>px;
height: <?php echo $style['image_height']; ?>px;
margin: 2px 8px 0 0;
}
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.vertical .asp_simplebar-scrollbar::before,
<?php echo $asp_res_ids2; ?>.vertical .asp_simplebar-scrollbar::before,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.vertical .asp_simplebar-scrollbar::before {
background: transparent;
<?php wpdreams_gradient_css($style['v_res_overflow_color']); ?>
}
<?php if ( intval($style['v_res_column_count']) > 1 ): ?>
<?php if ( $style['group_by'] != "none" ): ?>
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.vertical .resdrg .asp_results_group,
<?php echo $asp_res_ids2; ?>.vertical .resdrg .asp_results_group,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.vertical .resdrg .asp_results_group {
display: flex;
flex-wrap: wrap;
}
<?php else: ?>
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.vertical .resdrg,
<?php echo $asp_res_ids2; ?>.vertical .resdrg,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.vertical .resdrg {
display: flex;
flex-wrap: wrap;
}
<?php endif; ?>
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.vertical .results .item,
<?php echo $asp_res_ids2; ?>.vertical .results .item,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.vertical .results .item {
min-width: <?php echo $style['v_res_column_min_width']; ?>;
width: <?php echo floor( 100 / intval($style['v_res_column_count']) - 1 ); ?>%;
flex-grow: 1;
}
<?php else: ?>
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.vertical .results .item::after,
<?php echo $asp_res_ids2; ?>.vertical .results .item::after,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.vertical .results .item::after {
display: block;
position: absolute;
bottom: 0;
content: "";
height: 1px;
width: 100%;
background: <?php echo $style['spacercolor']; ?>;
}
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.vertical .results .item.asp_last_item::after,
<?php echo $asp_res_ids2; ?>.vertical .results .item.asp_last_item::after,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.vertical .results .item.asp_last_item::after {
display: none;
}
<?php endif; ?>
/* @deprecated - uses the one above */
.asp_spacer {
display: none !important;;
}
.asp_v_spacer {
width: 100%;
height: 0;
}
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?> .asp_group_header,
<?php echo $asp_res_ids2; ?> .asp_group_header,
<?php endif; ?>
<?php echo $asp_res_ids; ?> .asp_group_header {
background: #DDDDDD;
background: <?php echo $style['exsearchincategoriesboxcolor']; ?>;
border-radius: 3px 3px 0 0;
border-top: 1px solid <?php echo $style['groupingbordercolor']; ?>;
border-left: 1px solid <?php echo $style['groupingbordercolor']; ?>;
border-right: 1px solid <?php echo $style['groupingbordercolor']; ?>;
margin: 0 0 -3px;
padding: 7px 0 7px 10px;
position: relative;
z-index: 1000;
min-width: 90%;
flex-grow: 1;
<?php echo Css::font($style['groupbytextfont']); ?>
}
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.vertical .results,
<?php echo $asp_res_ids2; ?>.vertical .results,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.vertical .results {
scrollbar-width: thin;
scrollbar-color: <?php echo wpd_gradient_get_color_only($style['h_res_overflow_color']); ?> <?php echo $style['resultscontainerbackground']; ?>;
}
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.vertical .results::-webkit-scrollbar,
<?php echo $asp_res_ids2; ?>.vertical .results::-webkit-scrollbar,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.vertical .results::-webkit-scrollbar {
width: 10px;
}
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.vertical .results::-webkit-scrollbar-track,
<?php echo $asp_res_ids2; ?>.vertical .results::-webkit-scrollbar-track,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.vertical .results::-webkit-scrollbar-track {
background: <?php echo $style['resultscontainerbackground']; ?>;
box-shadow: inset 0 0 12px 12px transparent;
border: none;
}
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.vertical .results::-webkit-scrollbar-thumb,
<?php echo $asp_res_ids2; ?>.vertical .results::-webkit-scrollbar-thumb,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.vertical .results::-webkit-scrollbar-thumb {
/*<?php if ($style['v_res_overflow_autohide']): ?>
background: transparent;
<?php else: ?>
background: <?php echo wpd_gradient_get_color_only($style['v_res_overflow_color']); ?>;
<?php endif; ?>
border-radius: 5px;
border: none;*/
background: transparent;
<?php if ($style['v_res_overflow_autohide']): ?>
box-shadow: inset 0 0 12px 12px rgba(0, 0, 0, 0);
<?php else: ?>
box-shadow: inset 0 0 12px 12px <?php echo wpd_gradient_get_color_only($style['v_res_overflow_color']); ?>;
<?php endif; ?>
border: solid 2px transparent;
border-radius: 12px;
}
<?php if ($style['v_res_overflow_autohide']): ?>
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.vertical:hover .results::-webkit-scrollbar-thumb,
<?php echo $asp_res_ids2; ?>.vertical:hover .results::-webkit-scrollbar-thumb,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.vertical:hover .results::-webkit-scrollbar-thumb {
/*background: <?php echo wpd_gradient_get_color_only($style['v_res_overflow_color']); ?>;*/
box-shadow: inset 0 0 12px 12px <?php echo wpd_gradient_get_color_only($style['v_res_overflow_color']); ?>;
}
@media (hover: none), (max-width: 500px) {
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.vertical .results::-webkit-scrollbar-thumb,
<?php echo $asp_res_ids2; ?>.vertical .results::-webkit-scrollbar-thumb,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.vertical .results::-webkit-scrollbar-thumb {
box-shadow: inset 0 0 12px 12px <?php echo wpd_gradient_get_color_only($style['v_res_overflow_color']); ?>;
}
}
<?php endif; ?>
<?php
// ----------------------------------------- TABLET SPECIFIC STYLES ----------------------------------------------------
ob_start();
?>
<?php if ( $style['v_res_show_scrollbar'] == 1 && $style['v_res_max_height'] != $style['v_res_max_height_tablet'] ): ?>
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.vertical .results,
<?php echo $asp_res_ids2; ?>.vertical .results,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.vertical .results {
max-height: <?php echo $style['v_res_max_height_tablet']; ?>;
}
<?php endif; ?>
<?php if ( intval($style['v_res_column_count']) > 1 ): ?>
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.vertical .results .item,
<?php echo $asp_res_ids2; ?>.vertical .results .item,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.vertical .results .item {
min-width: <?php echo $style['v_res_column_min_width_tablet']; ?>;
}
<?php endif; ?>
<?php
// ---------------------------------------------------------------------------------------------------------------------
?>
<?php $css_for_tablet = ob_get_clean(); ?>
<?php $css_for_tablet = trim( preg_replace("/(^[\r\n]*|[\r\n]+)[\s\t]*[\r\n]+/", "\n", $css_for_tablet) ); ?>
<?php echo WPDRMS\ASP\Utils\Css::getCssForScreen(
$css_for_tablet,
'tablet',
$style['media_query_mobile_max_width']+1,
$style['media_query_tablet_max_width'],
$preview ?? false
); ?>
<?php
// ----------------------------------------- PHONE SPECIFIC STYLES -----------------------------------------------------
ob_start();
?>
<?php if ( $style['v_res_show_scrollbar'] == 1 && $style['v_res_max_height'] != $style['v_res_max_height_phone'] ): ?>
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.vertical .results,
<?php echo $asp_res_ids2; ?>.vertical .results,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.vertical .results {
max-height: <?php echo $style['v_res_max_height_phone']; ?>;
}
<?php endif; ?>
<?php if ( intval($style['v_res_column_count']) > 1 ): ?>
<?php if ($use_compatibility == true): ?>
<?php echo $asp_res_ids1; ?>.vertical .results .item,
<?php echo $asp_res_ids2; ?>.vertical .results .item,
<?php endif; ?>
<?php echo $asp_res_ids; ?>.vertical .results .item {
min-width: <?php echo $style['v_res_column_min_width_phone']; ?>;
}
<?php endif; ?>
<?php
// ---------------------------------------------------------------------------------------------------------------------
?>
<?php $css_for_phone = ob_get_clean(); ?>
<?php echo WPDRMS\ASP\Utils\Css::getCssForScreen(
$css_for_phone,
'phone',
0,
$style['media_query_mobile_max_width'],
$preview ?? false
); ?>