bandeau devis home + packs

This commit is contained in:
Ouidade Soussi Chiadmi 2021-06-13 20:52:18 +02:00
parent 1deaf3f44c
commit c8f59ec4b1
3 changed files with 19 additions and 11 deletions

View File

@ -2611,6 +2611,9 @@ header nav.dropmenu > ul {
#item .content .icones .icon p, #item-article .content .icones .icon p { #item .content .icones .icon p, #item-article .content .icones .icon p {
text-align: center; } text-align: center; }
#devis.home .title {
visibility: hidden; }
#devis { #devis {
display: -webkit-inline-box; display: -webkit-inline-box;
display: -ms-inline-flexbox; display: -ms-inline-flexbox;
@ -2623,7 +2626,6 @@ header nav.dropmenu > ul {
background-repeat: repeat; background-repeat: repeat;
width: 100%; } width: 100%; }
#devis .title { #devis .title {
visibility: hidden;
width: 200px; width: 200px;
height: 200px; height: 200px;
background: #9e0027; background: #9e0027;
@ -2668,13 +2670,13 @@ header nav.dropmenu > ul {
width: 100%; width: 100%;
height: 100%; } height: 100%; }
#devis.item, #devis.sublog, #devis.item-article { #devis.item, #devis.sublog, #devis.item-article, #devis.nos-offres, #devis.nos-packs {
background: #9e0027; background: #9e0027;
height: auto; height: auto;
padding: 20px 0; } padding: 20px 0; }
#devis.item a, #devis.sublog a, #devis.item-article a { #devis.item a, #devis.sublog a, #devis.item-article a, #devis.nos-offres a, #devis.nos-packs a {
color: white; } color: white; }
#devis.item a .title, #devis.sublog a .title, #devis.item-article a .title { #devis.item a .title, #devis.sublog a .title, #devis.item-article a .title, #devis.nos-offres a .title, #devis.nos-packs a .title {
vertical-align: baseline; vertical-align: baseline;
border-radius: 30px; border-radius: 30px;
border: 1px solid white; border: 1px solid white;
@ -2683,9 +2685,9 @@ header nav.dropmenu > ul {
width: auto; width: auto;
-webkit-transform: translateX(0); -webkit-transform: translateX(0);
transform: translateX(0); } transform: translateX(0); }
#devis.item a:hover, #devis.sublog a:hover, #devis.item-article a:hover { #devis.item a:hover, #devis.sublog a:hover, #devis.item-article a:hover, #devis.nos-offres a:hover, #devis.nos-packs a:hover {
color: black; } color: black; }
#devis.item a:hover .title, #devis.sublog a:hover .title, #devis.item-article a:hover .title { #devis.item a:hover .title, #devis.sublog a:hover .title, #devis.item-article a:hover .title, #devis.nos-offres a:hover .title, #devis.nos-packs a:hover .title {
background: white; background: white;
transition: background 0.3s ease; } transition: background 0.3s ease; }

View File

@ -1142,6 +1142,13 @@
} }
} }
} }
#devis {
&.home{
.title{
visibility: hidden;
}
}
}
#devis{ #devis{
@include inlineflex(); @include inlineflex();
@ -1152,7 +1159,6 @@
width: 100%; width: 100%;
// height: 300px; // height: 300px;
.title{ .title{
visibility: hidden;
width: 200px; width: 200px;
height: 200px; height: 200px;
background: $red; background: $red;
@ -1204,7 +1210,7 @@
} }
#devis{ #devis{
&.item, &.sublog, &.item-article{ &.item, &.sublog, &.item-article, &.nos-offres, &.nos-packs{
background: $red; background: $red;
height: auto; height: auto;
padding: 20px 0; padding: 20px 0;

View File

@ -1,7 +1,7 @@
{% set options = { items: {'@page.self': '/demande-de-devis'}, 'limit': 1 } %} {% set options = { items: {'@page.self': '/organisez-vos-evenements/demande-de-devis'}, 'limit': 1 } %}
{% for p in page.collection(options) %} {% for p in page.collection(options)%}
{% set image = p.media.images|first %} {% set image = p.media.images|first %}
{% set h4 = h4 ?: 'h4' %} {% set h4 = h4 ?: 'h4' %}
@ -20,7 +20,7 @@
{% include 'partials/blog/block_devis.html.twig' %} {% include 'partials/blog/block_devis.html.twig' %}
</div> </div>
{% else %} {% else %}
<a href="/demande-de-devis"> <a href="/organisez-vos-evenements/demande-de-devis">
<div class="title"> <div class="title">
Faire une demande de devis en ligne Faire une demande de devis en ligne
</div> </div>