blocklayered fix 2
This commit is contained in:
parent
5e9e4d9824
commit
606fc4a64c
@ -2665,6 +2665,9 @@ main#categorycms { margin-bottom: 30px }
|
||||
margin-top: 15px;
|
||||
cursor: pointer;
|
||||
}
|
||||
#layered_block_left .custom-checkbox.inline label {
|
||||
vertical-align: top;
|
||||
}
|
||||
#layered_block_left .slider ul {
|
||||
padding: 0 20px;
|
||||
}
|
||||
@ -2720,13 +2723,8 @@ main#categorycms { margin-bottom: 30px }
|
||||
padding: 15px 0;
|
||||
}
|
||||
.filters #enabled_filters li > span {
|
||||
color: #181818;
|
||||
display: block;
|
||||
font-family: 'OpenSans';
|
||||
font-size: 14px;
|
||||
font-weight: 300;
|
||||
padding: 6px 15px 6px 25px;
|
||||
text-transform: uppercase;
|
||||
display: inline-block;
|
||||
width: 80%;
|
||||
}
|
||||
.filters #enabled_filters li > span a {
|
||||
color: #181818;
|
||||
|
@ -34,12 +34,13 @@ param_product_url = '';
|
||||
{if isset($filter.slider)}
|
||||
{if $smarty.foreach.f_values.first}
|
||||
<li>
|
||||
|
||||
<span>
|
||||
{if $filter.format == 1}
|
||||
{l s='%1$s: %2$s - %3$s'|sprintf:$filter.name:{displayPrice price=$filter.values[0]}:{displayPrice price=$filter.values[1]}|escape:html:'UTF-8' mod='blocklayered'}
|
||||
{else}
|
||||
{l s='%1$s: %2$s %4$s - %3$s %4$s'|sprintf:$filter.name:$filter.values[0]:$filter.values[1]:$filter.unit|escape:html:'UTF-8' mod='blocklayered'}
|
||||
{/if}
|
||||
</span>
|
||||
<a href="#" data-rel="layered_{$filter.type}_slider" title="{l s='Cancel' mod='blocklayered'}"><i class="icon-close"></i></a>
|
||||
</li>
|
||||
{/if}
|
||||
@ -47,8 +48,7 @@ param_product_url = '';
|
||||
{foreach from=$filter.values key=id_value item=value}
|
||||
{if $id_value == $filter_key && !is_numeric($filter_value) && ($filter.type eq 'id_attribute_group' || $filter.type eq 'id_feature') || $id_value == $filter_value && $filter.type neq 'id_attribute_group' && $filter.type neq 'id_feature'}
|
||||
<li>
|
||||
|
||||
{l s='%1$s: %2$s' mod='blocklayered' sprintf=[$filter.name, $value.name]}
|
||||
<span>{l s='%1$s: %2$s' mod='blocklayered' sprintf=[$filter.name, $value.name]}</span>
|
||||
<a href="#" data-rel="layered_{$filter.type_lite}_{$id_value}" title="{l s='Cancel' mod='blocklayered'}"><i class="icon-close"></i></a>
|
||||
</li>
|
||||
{/if}
|
||||
|
Loading…
Reference in New Issue
Block a user