Merge branch 'Nouveau_design_homepage' of ssh://nas.triumph31.fr:414/volume2/GitStation/auxbieauxlegumes
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -79,6 +79,31 @@ div.container {
|
|||||||
font-size: 1.72rem;
|
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 {
|
.nav>li {
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
@@ -89,6 +114,7 @@ div.container {
|
|||||||
}
|
}
|
||||||
.navbar-customer > li > a {
|
.navbar-customer > li > a {
|
||||||
text-transform: none;
|
text-transform: none;
|
||||||
|
padding: 10px;
|
||||||
}
|
}
|
||||||
.header__content .container-fluid {
|
.header__content .container-fluid {
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
@@ -159,8 +185,7 @@ div.container {
|
|||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
.breadcrumb {
|
.breadcrumb {
|
||||||
text-align: center;
|
text-align: left;
|
||||||
font-size: large;
|
|
||||||
margin-bottom: 30px;
|
margin-bottom: 30px;
|
||||||
}
|
}
|
||||||
.checkout-progress .btn-step.active {
|
.checkout-progress .btn-step.active {
|
||||||
@@ -351,36 +376,107 @@ span.product-categorie {
|
|||||||
|
|
||||||
|
|
||||||
/* Mise en page de la page d'accueil */
|
/* Mise en page de la page d'accueil */
|
||||||
div.header__main {
|
@media (min-width: 768px) {
|
||||||
|
div.header__main {
|
||||||
display: inline-grid !important;
|
display: inline-grid !important;
|
||||||
|
grid-template: 150px / 3fr 250px 1fr 1fr 1fr;
|
||||||
|
column-gap: 5px;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
grid-template-columns: 2fr 200px 1fr 1fr;
|
}
|
||||||
grid-template-rows: 150px;
|
|
||||||
}
|
div.custom-grid-one {
|
||||||
div.custom-grid-one {
|
|
||||||
margin: auto;
|
margin: auto;
|
||||||
|
width: 100%;
|
||||||
grid-column: 1;
|
grid-column: 1;
|
||||||
grid-row: 1;
|
grid-row: 1;
|
||||||
}
|
}
|
||||||
div.custom-grid-two {
|
div.custom-grid-one > div {
|
||||||
margin: auto;
|
float: right !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.custom-grid-two {
|
||||||
|
margin: auto 40px auto 40px;
|
||||||
grid-column: 2;
|
grid-column: 2;
|
||||||
grid-row: 1;
|
grid-row: 1;
|
||||||
}
|
}
|
||||||
div.custom-grid-three {
|
div.custom-grid-three {
|
||||||
margin: 0 25px 0 auto;
|
|
||||||
grid-column: 3;
|
grid-column: 3;
|
||||||
grid-row: 1;
|
grid-row: 1;
|
||||||
|
width: max-content;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
div.custom-grid-four {
|
div.custom-grid-four {
|
||||||
margin-right: auto;
|
margin: 0 25px 0 auto;
|
||||||
grid-column: 4;
|
grid-column: 4;
|
||||||
grid-row: 1;
|
grid-row: 1;
|
||||||
white-space: nowrap;
|
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 {
|
.header__secondary {
|
||||||
width: 90%;
|
width: 90%;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.header__bottom {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
#carousel .icon-prev,
|
||||||
|
#carousel .icon-next {
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
|||||||
@@ -135,6 +135,9 @@ GNU General Public License : http://www.gnu.org/licenses/
|
|||||||
</a>
|
</a>
|
||||||
</h1>
|
</h1>
|
||||||
</div>
|
</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"}
|
{hook name="main.navbar-secondary"}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<div class="custom-grid-four">
|
<div class="custom-grid-five">
|
||||||
<ul class="nav navbar-nav navbar-cart navbar-right">
|
<ul class="nav navbar-nav navbar-cart navbar-right">
|
||||||
{hook name="mini-cart"}
|
{hook name="mini-cart"}
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<div class="custom-grid-three">
|
<div class="custom-grid-four">
|
||||||
<ul class="nav navbar-nav navbar-customer navbar-right">
|
<ul class="nav navbar-nav navbar-customer navbar-right">
|
||||||
{loop type="auth" name="customer_info_block" role="CUSTOMER"}
|
{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>
|
<li><a href="{url path="/logout"}" class="logout">{intl l="Log out!" d="hookcustomer.fo.default"}</a></li>
|
||||||
|
|||||||
@@ -26,9 +26,6 @@
|
|||||||
<li><a href="{$URL}">{$TITLE}</a></li>
|
<li><a href="{$URL}">{$TITLE}</a></li>
|
||||||
{/if}
|
{/if}
|
||||||
{/loop}
|
{/loop}
|
||||||
|
|
||||||
<li><a href="/nos-recettes.html">Nos recettes</a></li>
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -230,7 +230,13 @@
|
|||||||
{/if}
|
{/if}
|
||||||
</span>
|
</span>
|
||||||
{/elseloop}
|
{/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>
|
</div>
|
||||||
|
|
||||||
<!-- Affichage de l'unité (au kg, à l'unité) //-->
|
<!-- Affichage de l'unité (au kg, à l'unité) //-->
|
||||||
{if $pse_count == 1}
|
{if $pse_count == 1}
|
||||||
{loop name="attributes" type="attribute" product="$product_id" order="manual"}
|
{loop name="attributes" type="attribute" product="$product_id" order="manual"}
|
||||||
|
|||||||
Reference in New Issue
Block a user