Quelques modifs de style front-office

This commit is contained in:
2019-11-19 15:24:51 +01:00
parent 9f74ec1089
commit b098026dd7
139 changed files with 7559 additions and 22427 deletions

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 355 B

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 55 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@@ -17,7 +17,9 @@
.btn-primary {
font-style: italic;
border-left: 3px solid lighten(@brand-primary, 20%);
//border-left: 3px solid lighten(@brand-primary, 20%);
border-radius: 12px;
text-align: center;
&:hover,
&:focus {

View File

@@ -3,7 +3,8 @@
// footer-banner
.footer-banner {
background-color: @footer-banner-bg;
background-color: @brand-primary ;//@footer-banner-bg;
color: #fff;
font-size: ceil(@font-size-base * 1.3);
.banner {
i {

View File

@@ -4,6 +4,10 @@
z-index: 1001;
}
&.nav-main {
border-radius: 30px;
}
// Subnav Links
@media (min-width: @grid-float-breakpoint) {
.list-subnav {

View File

@@ -103,7 +103,7 @@ label {
&:before {
.fa-icon();
content: @fa-var-home;
color: #c9c9c9;
color: @pictos; //#c9c9c9;
font-size: 26px;
line-height: 0;
margin-right: .5em;
@@ -488,7 +488,6 @@ td.product,
}
.product-btn {
min-height: 26px;
}
}
}

View File

@@ -8,7 +8,7 @@
@gray-light: #e5e5e5;
@gray-lighter: #eee;
@brand-primary: #f49a17;
@brand-primary: #EF8201; //#f49a17;
@brand-success: #5cb85c;
@brand-warning: #f0ad4e;
@brand-danger: #d9534f;
@@ -55,14 +55,14 @@
// Navbar
@navbar-default-color: darken(@navbar-default-bg, 52%); //#707070;
@navbar-default-bg: darken(@body-bg, 4%);
@navbar-default-color: #ffffff; //darken(@navbar-default-bg, 52%); //#707070;
@navbar-default-bg: @brand-primary; //darken(@body-bg, 4%);
@navbar-default-border: @body-bg;
// Navbar links
@navbar-default-link-color: @navbar-default-color;
@navbar-default-link-hover-color: #fff;
@navbar-default-link-hover-bg: @brand-primary;
@navbar-default-link-hover-color: @brand-primary; //#fff;
@navbar-default-link-hover-bg: #FFEDD8; //@brand-primary;
@navbar-default-link-active-color: @navbar-default-link-hover-color;
@navbar-default-link-active-bg: @navbar-default-link-hover-bg;
@@ -126,3 +126,6 @@
@pager-bg: @btn-default-bg;
@pager-border: @btn-default-border;
@pager-border-radius: 0;
// Couleurs personnalisées
@pictos: #7407AA;

View File

@@ -12,6 +12,7 @@
position: relative;
overflow: hidden;
width: 100%;
border-radius: 10px;
> .item {
display: none;

View File

@@ -80,13 +80,13 @@
{$errorStock="TRUE"}
<dd>{intl l="Out of Stock"}</dd>
{/if}
<!-- LLE : pas besoin <dt>{intl l="No."}</dt>
<!-- TheCoreDev : pas besoin <dt>{intl l="No."}</dt>
<dd>{$REF}</dd>//-->
{loop type="attribute_combination" name="product_options" product_sale_elements="$PRODUCT_SALE_ELEMENTS_ID" order="manual"}
<dt>{$ATTRIBUTE_TITLE}</dt>
<dd>{$ATTRIBUTE_AVAILABILITY_TITLE}</dd>
<!-- LLE : on compte le nb de pots pour savoir si l'offre de réduc 3 pots est appliquable //-->
<!-- TheCoreDev : on compte le nb de pots pour savoir si l'offre de réduc 3 pots est applicable //-->
{if $ATTRIBUTE_AVAILABILITY_ID == 6}
{$nb_pots_taille_M = $nb_pots_taille_M + $QUANTITY}
{/if}
@@ -202,26 +202,35 @@
<div class="input-group">
<label class="control-label sr-only" for="code">{intl l='Code :'}</label>
<!-- LLE : Application automatique d'un code promo //-->
<!-- TheCoreDev : Application automatique d'un code promo //-->
{$promo_totale = 0}
{if $nb_pots_taille_M >= 3}
{$promo_totale = 1.5}
{if $nb_pots_taille_M >= 6}
{$value="PROMO_3"}
{else}
{$value="PROMO_1.5"}
{$promo_totale = 2}
{/if}
{else}
{if $nb_pots_taille_L >= 3}
{if $nb_pots_taille_L >= 6}
{$value="PROMO_6"}
{else}
{$value="PROMO_3"}
{/if}
{/if}
{if $nb_pots_taille_L >= 3}
{if $nb_pots_taille_L >= 6}
{$promo_totale = $promo_totale + 4}
{else}
{$value=""}
{$promo_totale = $promo_totale + 2}
{/if}
{/if}
<input id="coupon" class="form-control" type="text" name="{$name}" value="{$value}" placeholder="{intl l='Coupon code'}" required>
{$promo_totale}
{$code_promo="555"}
{if $promo_totale = 1.5}
{$code_promo="PROMO_1.5"}
{elseif $promo_totale = 2}
{$code_promo="PROMO_2"}
{elseif $promo_totale > 2}
{$code_promo="PROMO_4"}
{/if}
<input id="coupon" class="form-control" type="text" name="{$name}" value="{$code_promo}" placeholder="{intl l='Coupon code'}" required>
<span class="input-group-btn">
<button type="submit" class="btn btn-default">{intl l="Ok"}</button>

File diff suppressed because it is too large Load Diff

View File

@@ -146,7 +146,7 @@
<span class="availibity-label sr-only">{intl l="Availability"}: </span>
<span itemprop="availability" href="{$current_stock_href}" class="" id="pse-availability">
<span class="in">{intl l='In Stock'}
<!-- LLE le 19/02/2019 : quand une seule déclinaison dispo, on précise la taille de la déclinaison //-->
<!-- TheCoreDev le 19/02/2019 : quand une seule déclinaison dispo, on précise la taille de la déclinaison //-->
{if $pse_count == 1}
{loop name="LLE_pse" type="product_sale_elements" product="$product_id"}
{loop name="LLE_combi" type="attribute_combination" product_sale_elements="$ID"}
@@ -155,6 +155,12 @@
{/loop}
{/if}
</span>
<!-- TheCoreDev le 01/11/2019 : affichage d'un message en cas de stock bas //-->
{if {$QUANTITY} <= {config key="thecoredev_seuil_alerte_stock" default="1"}}
{intl l='Limited stock' d='prixdegressifs'}
{/if}
<span class="out">{intl l='Out of Stock'}</span>
</span>
</div>