recette 2

This commit is contained in:
Nolwenn 2017-09-07 11:08:38 +02:00
parent 98acf00493
commit 178518a772
8 changed files with 34 additions and 23 deletions

View File

@ -87,7 +87,7 @@ border-top: 1px solid #C7AC9F; }
#errors-holder{ width:560px; margin-top:20px;}
#errors{ color:red; font-size:11px; line-height:16px; color:#e2007a; padding-right:20px; }
#simu-box { width: 100%; height: 562px; position:relative; background-color: #eaeaea; }
#simu-box { width: 100%; height: 562px; position:relative; background-color: #fff; }
#simu-box h2, #simu-chocos h2 { position:absolute; background:#2e1e0e;color:#FFF;padding:5px 10px;margin: 0px 0 0 0px; font-size:18px; }
.doublecube-holder{perspective:1000px;position:relative;left:50%;top:50%;width:0;height:0;}
@ -259,7 +259,7 @@ border-top: 1px solid #C7AC9F; }
#image-block .customform, #image-block .form-bicolor { margin-top: 50px; }
/* Chocos Faces Bottom
========================================================================== */
#simu-chocos { position:relative; padding-top: 50px; background-color: #eaeaea;}
#simu-chocos { position:relative; padding-top: 50px; background-color: #fff; }
#simu-chocos:before {
content: '';
display: block;

View File

@ -1426,7 +1426,7 @@ body.content_only { margin: 0; }
/************************************* == ENVIE DE == ****************************************/
.envie-de .footerconstructor-block .inner {
background-repeat: no-repeat;
background-position: bottom right;
background-position: 92% 100%;
padding-top: 30px;
padding-bottom: 30px;
}
@ -1553,7 +1553,7 @@ body.content_only { margin: 0; }
.footer-bottom {
color: #c7c7c7;
font-style: italic;
padding-bottom: 70px;
padding-bottom: 20px;
padding-top: 30px;
}
.footer-bottom .separator {
@ -1850,6 +1850,7 @@ body.sticky-menu .homeslider {
line-height: 88px;
font-size: 25px;
}
.subcategories-home .inner .icon-aurore_chocolats:before { font-size: 20px; }
.subcategories-home .inner > .icon-featured {
position: absolute;
background-color: rgba(255, 255, 255, 0.65);
@ -2406,9 +2407,9 @@ body.sticky-menu .homeslider {
background-repeat: no-repeat;
z-index: -1;
}
.best-chocolate li:nth-child(1) { left: 36%; bottom: 10%; }
.best-chocolate li:nth-child(2) { left: 60%; bottom: 30%; }
.best-chocolate li:nth-child(3) { right: 16%; bottom: 40%; }
.best-chocolate li:nth-child(1) { right: 42%; bottom: 10%; }
.best-chocolate li:nth-child(2) { right: 26%; bottom: 50%; }
.best-chocolate li:nth-child(3) { right: 9%; bottom: 40%; }
.best-chocolate li:after, .best-chocolate li:before {
content: '\e91f';
@ -6519,6 +6520,10 @@ body[id^='module'][id$='payment'] .order-paiement.ctn {
background-color: #bd0132;
color: #fff;
}
.account .box-footer .btn.btn3:hover {
background-color: #f3cfe1;
border-color: #f3cfe1;
}
.account .table-head > div {
padding-left: 0;
}

View File

@ -874,7 +874,7 @@ header.page-heading.category { background: none; padding: 0; }
width: 67px;
}
.product-pin.product-reduction { background: url('../img/pin-reduction.png') no-repeat center top }
/*.product-pin.product-reduction { background: url('../img/pin-reduction.png') no-repeat center top }*/
.product-pin.product-reduction sup {
font-size: 60%;
position: relative;
@ -997,9 +997,8 @@ header.page-heading.category { background: none; padding: 0; }
font-size: 18px;
}
.product-ctn .product-price .old-price {
color: #333;
font-family: 'opensans';
font-size: 13px;
font-family: 'latolight';
font-weight: 300;
}
.product-ctn .product-price .old-price .barre {
@ -1077,7 +1076,6 @@ header.page-heading.category { background: none; padding: 0; }
}
#pagination ul {
font-family: "opensans";
font-size: 13px;
font-weight: normal;
text-align: center;
@ -1570,7 +1568,7 @@ body .fancybox-overlay {
}
.custom-file > input {
cursor: pointer;
height: 49px;
height: 32px;
opacity: 0;
position: absolute;
width: 100%;
@ -1583,8 +1581,8 @@ body .fancybox-overlay {
border: none;
float: left;
font-size: 14px;
height: 48px;
line-height: 46px;
height: 32px;
line-height: 32px;
overflow: hidden;
padding: 0 15px;
text-overflow: ellipsis;
@ -1599,8 +1597,8 @@ body .fancybox-overlay {
font-size: 14px;
line-height: 16px;
float: right;
height: 48px;
line-height: 46px;
height: 32px;
line-height: 32px;
padding: 0 15px;
text-align: center;
width: 30%;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 164 KiB

After

Width:  |  Height:  |  Size: 135 KiB

View File

@ -48,8 +48,8 @@
{/if}
</div>
{/if}
</header>
{if (!isset($auth) || !$auth) && !(isset($noerror) || !$noerror)}
{if (!isset($auth) || !auth) || (!isset($noerror) || !$noerror)}
{include file="$tpl_dir./errors.tpl"}
{/if}
{/if}

View File

@ -16,9 +16,9 @@
<div class="{if $product.id_simulator}config{else}std{/if} product-ctn cols animated-full lg{if isset($nbProduct)}{12/$nbProduct}{else}3{/if} md4 sm4 xs6 col-xxs-12{if $key%2} alt{/if}" itemscope itemtype="http://schema.org/Product" style="z-index: {$zindex}">
<div class="inner">
<!-- Réduction -->
{if $percentReduction}
<!-- {if $percentReduction}
<span class="product-pin product-reduction">-{$percentReduction}<sup>%</sup></span>
{/if}
{/if} -->
<!-- Titre -->
{if isset($hn)}
{if $hn == 'h3'}

View File

@ -3,8 +3,16 @@
{if in_array($product->id_simulator, $arrNoSimulator)}
{assign var=noSimulator value=true}
{/if}
{assign var='bg-grey' value=0}
{assign var=arrThemeWhite value='30 31 39'}
{assign var=arrThemeWhite value=" "|explode:$arrThemeWhite}
{foreach Product::getProductCategories($smarty.get.id_product) as $categ}
{if in_array($categ, $arrThemeWhite)}
{assign var='bg-grey' value=1}
{/if}
{/foreach}
<main class="product-main configurator">
<main class="product-main configurator {if $bg-grey}bg-grey{/if}">
<section itemscope itemtype="http://schema.org/Product" {if $content_only}class="frame"{else}class="container-big bg-green"{/if}>
<header class="page-heading">
{include file="$tpl_dir./breadcrumb.tpl"}

View File

@ -27,7 +27,7 @@
{include file="$tpl_dir./product-main-standard.tpl"}
{/if}
<!-- Infos -->
{if !$content_only}
<section id="complementary">