Merge branch 'Nouveau_design_homepage' of ssh://nas.triumph31.fr:414/volume2/GitStation/auxbieauxlegumes

This commit is contained in:
2021-06-11 11:23:17 +02:00
7 changed files with 134 additions and 32 deletions

File diff suppressed because one or more lines are too long

View File

@@ -79,6 +79,31 @@ div.container {
font-size: 1.72rem;
}
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
background-color: #95c11e;
color: #fff;
}
@media (max-width: 991px) {
.navbar-default .navbar-nav .open .dropdown-menu > li > a {
color: #707070;
}
.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
.navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
color: #fff;
background-color: #f49a17;
}
.navbar-default .navbar-nav .open .dropdown-menu > .active > a,
.navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,
.navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
color: #fff;
background-color: #f49a17;
}
}
.nav>li {
text-transform: uppercase;
}
@@ -89,6 +114,7 @@ div.container {
}
.navbar-customer > li > a {
text-transform: none;
padding: 10px;
}
.header__content .container-fluid {
padding-left: 0;
@@ -159,8 +185,7 @@ div.container {
color: white;
}
.breadcrumb {
text-align: center;
font-size: large;
text-align: left;
margin-bottom: 30px;
}
.checkout-progress .btn-step.active {
@@ -351,36 +376,107 @@ span.product-categorie {
/* Mise en page de la page d'accueil */
@media (min-width: 768px) {
div.header__main {
display: inline-grid !important;
grid-template: 150px / 3fr 250px 1fr 1fr 1fr;
column-gap: 5px;
align-items: center;
margin: auto;
grid-template-columns: 2fr 200px 1fr 1fr;
grid-template-rows: 150px;
}
div.custom-grid-one {
margin: auto;
width: 100%;
grid-column: 1;
grid-row: 1;
}
div.custom-grid-one > div {
float: right !important;
}
div.custom-grid-two {
margin: auto;
margin: auto 40px auto 40px;
grid-column: 2;
grid-row: 1;
}
div.custom-grid-three {
margin: 0 25px 0 auto;
grid-column: 3;
grid-row: 1;
width: max-content;
white-space: nowrap;
}
div.custom-grid-four {
margin-right: auto;
margin: 0 25px 0 auto;
grid-column: 4;
grid-row: 1;
white-space: nowrap;
}
div.custom-grid-five {
margin-right: auto;
grid-column: 5;
grid-row: 1;
white-space: nowrap;
}
}
@media (max-width: 768px) {
div.header__main {
display: grid !important;
grid-template-rows: 1fr 60px 1fr;
grid-template-columns: 1fr 1fr;
text-align: center;
margin: auto;
width: max-content;
line-height: normal;
}
div.custom-grid-one {
grid-row: 1;
grid-column: 1 / 3;
}
.glyphicon-search:before {
display: none !important;
}
div.custom-grid-three {
grid-row: 3;
grid-column: 1 / 3;
}
div.custom-grid-four {
grid-row: 2;
grid-column: 1;
}
div.custom-grid-five {
grid-row: 2;
grid-column: 2;
}
}
.menu-recettes {
list-style: none;
text-transform: uppercase;
font-size: 1.72rem;
line-height: 20px;
}
.menu-recettes > a {
padding: 15px;
color: #3c3c3b !important;
}
.menu-recettes > a:hover {
text-decoration: none;
background-color: #95c11e;
color: white !important;
}
.header__secondary {
width: 90%;
justify-content: center;
}
div.header__bottom {
text-align: center;
}
#carousel .icon-prev,
#carousel .icon-next {
color: black;
}

View File

@@ -135,6 +135,9 @@ GNU General Public License : http://www.gnu.org/licenses/
</a>
</h1>
</div>
<div class="custom-grid-three">
<span class="menu-recettes"><a href="/nos-recettes.html">Nos recettes</a></span>
</div>
{hook name="main.navbar-secondary"}
</div>

View File

@@ -1,4 +1,4 @@
<div class="custom-grid-four">
<div class="custom-grid-five">
<ul class="nav navbar-nav navbar-cart navbar-right">
{hook name="mini-cart"}
</ul>

View File

@@ -1,4 +1,4 @@
<div class="custom-grid-three">
<div class="custom-grid-four">
<ul class="nav navbar-nav navbar-customer navbar-right">
{loop type="auth" name="customer_info_block" role="CUSTOMER"}
<li><a href="{url path="/logout"}" class="logout">{intl l="Log out!" d="hookcustomer.fo.default"}</a></li>

View File

@@ -26,9 +26,6 @@
<li><a href="{$URL}">{$TITLE}</a></li>
{/if}
{/loop}
<li><a href="/nos-recettes.html">Nos recettes</a></li>
</ul>
</div>
</div>

View File

@@ -230,7 +230,13 @@
{/if}
</span>
{/elseloop}
<!-- TheCoreDev le 21/05/2021 : rajout du prix au kilo -->
<!-- <div class="prix-au-kilo">-->
<!-- <label>{intl l="Price per kg"}</label>-->
<!-- <span>{format_money number=0 symbol={currency attr="symbol"}}</span>-->
<!-- </div>-->
</div>
<!-- Affichage de l'unité (au kg, à l'unité) //-->
{if $pse_count == 1}
{loop name="attributes" type="attribute" product="$product_id" order="manual"}