Mise a jour filters-page

This commit is contained in:
Romain 2022-01-20 17:15:42 +01:00
parent d495bcc342
commit 49a839d930
2 changed files with 60 additions and 75 deletions

View File

@ -3,47 +3,37 @@
<div class="accordion" id="accordionPanelsStayOpenExample"> <div class="accordion">
<!-- <div class="accordion-item"> --> <div class="accordion-item">
<h2 class="accordion-header" id="panelsStayOpen-headingOne"> <h2 class="accordion-header" id="panelsStayOpen-headingOne">
<button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#panelsStayOpen-collapseOne" aria-expanded="true" aria-controls="panelsStayOpen-collapseOne"> <button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#panelsStayOpen-collapseOne">
Distance <p style="font-size: 20px;">Distance</p>
</button> </button>
</h2> </h2>
<div id="panelsStayOpen-collapseOne" class="accordion-collapse collapse show" aria-labelledby="panelsStayOpen-headingOne"> <div id="panelsStayOpen-collapseOne" class="accordion-collapse collapse show" aria-labelledby="panelsStayOpen-headingOne">
<div class="accordion-body"> <div class="accordion-body">
test <label for="price-min">Price:</label>
<input type="range" name="price-min" id="price-min" value="200" min="0" max="1000">
</div>
</div> </div>
</div> </div>
<div class="accordion-item">
<!-- <div class="accordion-item"> -->
<h2 class="accordion-header" id="panelsStayOpen-headingTwo"> <h2 class="accordion-header" id="panelsStayOpen-headingTwo">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#panelsStayOpen-collapseTwo" aria-expanded="false" aria-controls="panelsStayOpen-collapseTwo"> <button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#panelsStayOpen-collapseTwo">
Prix <p style="font-size: 20px;">Prix</p>
</button> </button>
</h2> </h2>
<div id="panelsStayOpen-collapseTwo" class="accordion-collapse collapse" aria-labelledby="panelsStayOpen-headingTwo"> <div id="panelsStayOpen-collapseTwo" class="accordion-collapse collapse" aria-labelledby="panelsStayOpen-headingTwo">
<div class="accordion-body"> <div class="accordion-body">
</div> </div>
</div> </div>
<h2 class="accordion-header" id="panelsStayOpen-headingThree">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#panelsStayOpen-collapseThree" aria-expanded="false" aria-controls="panelsStayOpen-collapseTwo">
Prix
</button>
</h2>
<div id="panelsStayOpen-collapseThree" class="accordion-collapse collapse" aria-labelledby="panelsStayOpen-headingThree">
<div class="accordion-body">
</div>
</div> </div>
<div class="accordion-item">
<!-- <div class="accordion-item">
<h2 class="accordion-header" id="panelsStayOpen-headingThree"> <h2 class="accordion-header" id="panelsStayOpen-headingThree">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#panelsStayOpen-collapseThree" aria-expanded="false" aria-controls="panelsStayOpen-collapseThree"> <button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#panelsStayOpen-collapseThree">
Sur Place / A emporter <p style="font-size: 20px;">Sur Place / A Emporter</p>
</button> </button>
</h2> </h2>
<div id="panelsStayOpen-collapseThree" class="accordion-collapse collapse" aria-labelledby="panelsStayOpen-headingThree"> <div id="panelsStayOpen-collapseThree" class="accordion-collapse collapse" aria-labelledby="panelsStayOpen-headingThree">
@ -52,11 +42,10 @@
</div> </div>
</div> </div>
<div class="accordion-item"> <div class="accordion-item">
<h2 class="accordion-header" id="panelsStayOpen-headingFour"> <h2 class="accordion-header" id="panelsStayOpen-headingFour">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#panelsStayOpen-collapseFour" aria-expanded="false" aria-controls="panelsStayOpen-collapseThree"> <button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#panelsStayOpen-collapseFour">
Acces PMR <p style="font-size: 20px;">Accès PMR</p>
</button> </button>
</h2> </h2>
<div id="panelsStayOpen-collapseFour" class="accordion-collapse collapse" aria-labelledby="panelsStayOpen-headingFour"> <div id="panelsStayOpen-collapseFour" class="accordion-collapse collapse" aria-labelledby="panelsStayOpen-headingFour">
@ -65,23 +54,20 @@
</div> </div>
</div> </div>
<div class="accordion-item"> <div class="accordion-item">
<h2 class="accordion-header" id="panelsStayOpen-headingFive"> <h2 class="accordion-header" id="panelsStayOpen-headingFive">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#panelsStayOpen-collapseFive" aria-expanded="false" aria-controls="panelsStayOpen-collapseThree"> <button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#panelsStayOpen-collapseFive">
Avis <p style="font-size: 20px;">Avis</p>
</button> </button>
</h2> </h2>
<div id="panelsStayOpen-collapseFive" class="accordion-collapse collapse" aria-labelledby="panelsStayOpen-headingFive"> <div id="panelsStayOpen-collapseFive" class="accordion-collapse collapse" aria-labelledby="panelsStayOpen-headingFive">
<div class="accordion-body"> <div class="accordion-body">
</div> </div>
</div> </div>
</div> --> </div>
<button class="btn-search btn-primary" type="button">Lancer la recherche</button>
</div> </div>
<button class="btn-search btn-primary" type="button">LANCER LA RECHERCHE</button>

View File

@ -12,43 +12,42 @@
justify-content: flex-start; justify-content: flex-start;
margin: 0 0 0.5em 8.2em; margin: 0 0 0.5em 8.2em;
color: #CE0000; color: #CE0000;
} }
.accordion{ .accordion{
padding-top: 200px; padding-top: 100px;
max-width: 50%; max-width: 30%;
margin : 0 auto; margin : 0 auto;
padding-bottom: 200px; margin-bottom: 100px;
border-radius: 20px;
} }
.accordion-header{ .accordion-body{
background-color: #F5F3F3;
}
.accordion-item{
margin-bottom: 70px; margin-bottom: 70px;
border-radius: 30px;
} }
.accordion-button{ .accordion-button{
background-color: #CE0000; background-color: #CE0000;
color: white; color: white;
font-family: cursive; font-family: cursive;
border-radius: 30px 30px 30px 30px; filter: drop-shadow(0 0 0.2rem grey);
padding-top: 50px;
} }
.btn-search{ .btn-search{
background-color: #CE0000; background-color: #CE0000;
text-align: center; text-align: center;
margin: 100px auto; margin: 100px auto;
border-radius: 20px; border-radius: 20px;
display: block; display: block;
height: 75px;
width: 300px;
font-size: 20px;
} }