mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-09 23:06:08 -06:00
commit
912895924d
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
{% for adv in advs %}
|
{% for adv in advs %}
|
||||||
<div class="col-xl-4 col-lg-6">
|
<div class="col-xl-4 col-lg-6">
|
||||||
<div class="d-flex flex-column product-hb border shadow-sm rounded">
|
<div class="d-flex flex-column product-hb gallery-card pb-3 px-1 border shadow-sm rounded">
|
||||||
{{ addBlock('list/extra-actions', {'ad': adv, 'vars': _context}, ['favs', 'comparisons'])|raw }}
|
{{ addBlock('list/extra-actions', {'ad': adv, 'vars': _context}, ['favs', 'comparisons'])|raw }}
|
||||||
<div class="product-image-hb">
|
<div class="product-image-hb">
|
||||||
<a href="{{ adv.detail_url }}">
|
<a href="{{ adv.detail_url }}">
|
||||||
@ -19,14 +19,14 @@
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="product-info-hb d-flex flex-column px-lg-3 px-2 mt-3">
|
<div class="product-info-hb d-flex flex-column px-lg-3 px-2 mt-3">
|
||||||
<a href="{{ adv.detail_url }}" class="product-name-hb text-dark">
|
<a href="{{ adv.detail_url }}" class="product-name-hb px-lg-3 px-2 text-dark">
|
||||||
{{ adv.name }}
|
{{ adv.name }}
|
||||||
</a>
|
</a>
|
||||||
{% if not setting_value('visiosoft.module.advs::hide_ad_cat') %}
|
{% if not setting_value('visiosoft.module.advs::hide_ad_cat') %}
|
||||||
<a href="{{ adv.detail_url }}" class="product-name-hb text-dark">{{ adv.cat1_name }} /{{ adv.cat2_name }}</a>
|
<a href="{{ adv.detail_url }}" class="product-name-hb px-lg-3 px-2 text-dark">{{ adv.cat1_name }} /{{ adv.cat2_name }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if showPrice %}
|
{% if showPrice %}
|
||||||
<div class="product-price-hb font-weight-bold mt-2 text-dark">
|
<div class="product-price-hb font-weight-bold px-lg-3 px-2 mt-2 text-dark">
|
||||||
{{ adv.price != '0' ? currency_format(adv.price,adv.currency) : trans('visiosoft.module.advs::field.free') }}
|
{{ adv.price != '0' ? currency_format(adv.price,adv.currency) : trans('visiosoft.module.advs::field.free') }}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@ -38,7 +38,7 @@
|
|||||||
Droid Sans,
|
Droid Sans,
|
||||||
Helvetica Neue,
|
Helvetica Neue,
|
||||||
sans-serif !important;
|
sans-serif !important;
|
||||||
height: 315px;
|
height: 500px;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -58,28 +58,39 @@
|
|||||||
.product-image-hb {
|
.product-image-hb {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
height: 190px;
|
width:100%;
|
||||||
|
height: 500px;
|
||||||
|
padding: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.product-image-in {
|
.product-image-in {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
object-fit: contain;
|
object-fit:cover;
|
||||||
|
border-radius: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.product-name-hb {
|
.product-name-hb {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
margin-bottom: 4px;
|
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
overflow: hidden;
|
|
||||||
-webkit-line-clamp: 2;
|
|
||||||
height: 36px;
|
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
.line-clamp {
|
||||||
|
display: -webkit-box;
|
||||||
|
-webkit-line-clamp: 2;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
.product-price-hb {
|
.product-price-hb {
|
||||||
font-size: 18px;
|
font-size: 24px;
|
||||||
|
font-weight:bolder;
|
||||||
|
background-color: rgb(244,244,244);
|
||||||
|
height: 50px;
|
||||||
|
}
|
||||||
|
.fs-14{
|
||||||
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user