Merge branch 'ticket-BandeauMobile'

This commit is contained in:
Marion Muszynski 2017-06-22 17:34:38 +02:00
commit 04518c98bc
4 changed files with 34 additions and 3 deletions

View File

@ -5239,3 +5239,33 @@ h3.gift_title {
#cookiesinfo .close{
display: none;
}
/* Bandeau promotionnel */
.promo_bandeau{
background: url(../img/bandeau_promo.jpg) no-repeat left center;
width: 100%;
min-height: 142px;
margin-bottom: 20px;
-webkit-background-size: auto 100%;
background-size: auto 100%;
}
@media (min-width:480px) {
.promo_bandeau{
background: url(../img/bandeau_promo_2.jpg) no-repeat left center;
width: 100%;
min-height: 182px;
-webkit-background-size: 100%;
background-size: 100%;
}
}
@media (min-width:430px) {
.promo_bandeau{
background: url(../img/bandeau_promo_2.jpg) no-repeat left center;
width: 100%;
min-height: 162px;
-webkit-background-size: 100%;
background-size: 100%;
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

View File

@ -36,10 +36,10 @@
{* Log in pop up *}
{if !$cookie->isLogged() AND !$showtoguests}
<div class="modalbox_shadow" style="display: none;"></div>
<div class="modalbox_login" style="display: none;">
<div class="modalbox_login" style="display: none;">
<a class="close_button" title="{l s='fermer' mod='privatesales'}"></a>
<p>{l s='You need to login' mod='privatesales'}</p>
{*
<form action="{$link->getPageLink('authentication.php', true)}" method="post" id="login_form" class="std">
<fieldset>
@ -72,13 +72,14 @@
<div id="privatesales_block">
<div id="block_sales_home">
<div class="content clearfix">
<div class="promo_bandeau"></div>
{if count($sales) > 0}
{assign var=extrafields value=$HOOK_PRIVATESALES_LISTING|unserialize}
<ul>
{foreach $sales as $sale name=sales}
{if count(array_intersect($customer_groups, $sale->groups))>0}
<li onclick="{if $cookie->isLogged() OR $showtoguests}window.location.href='{$link->getCategoryLink($sale->id_category, $sale->alias[$cookie->id_lang])|escape:'htmlall':'UTF-8'}';{/if}">
{include file="./themes/site_mobile/delay.tpl" delivery_delay=$sale->delivery_delay}
<a href="{$link->getCategoryLink($sale->id_category, $sale->alias[$cookie->id_lang])|escape:'htmlall':'UTF-8'}" class="img_link"><img class="background" alt="{$sale->title[$cookie->id_lang]}" src="{$path}img/{$sale->id}/liston_{$cookie->id_lang}.jpg" /></a>
<div class="links">