@@ -81,7 +81,7 @@ <h1 class="d-flex flex-column align-items-center font-monospace text-uppercase t
81
81
</ div >
82
82
</ section > <!-- End Banner section -->
83
83
<!-- Recipes wrapper section -->
84
- < section class ="recipes-wrapper ">
84
+ < div class ="recipes-wrapper ">
85
85
< div class ="container-xxl py-4 ">
86
86
<!-- Filters -->
87
87
< div class ="row d-flex align-items-center mb-5 ">
@@ -90,7 +90,7 @@ <h1 class="d-flex flex-column align-items-center font-monospace text-uppercase t
90
90
< div class ="row ">
91
91
<!-- Ingredients dropdown -->
92
92
< div class ="col-12 col-md-4 col-lg-2 ">
93
- < div class ="position-relative mb-3 ">
93
+ < div class ="position-relative mb-3 ">
94
94
< button
95
95
class ="btn btn-lg d-flex justify-content-between w-100 py-3 border-white bg-white "
96
96
data-bs-toggle ="dropdown "
@@ -102,28 +102,31 @@ <h1 class="d-flex flex-column align-items-center font-monospace text-uppercase t
102
102
Ingrédients
103
103
< span class ="fa-solid fa-chevron-down mt-1 " aria-hidden ="true "> </ span >
104
104
</ button >
105
+ < select id ="ingredients " name ="ingredients " class ="form-select position-absolute top-0 start-50 z-n1 w-1 h-100 p-0 opacity-0 " title ="Sélectionner " aria-label ="Tri par ingrédient ">
106
+ </ select >
105
107
< ul
106
108
id ="ingredients_list "
107
109
role ="listbox "
108
110
class ="dropdown-menu w-100 h-300px m-auto border-top-0 overflow-hidden bg-white border-white ">
109
- < li class ="display-inline pb-3 position-relative ">
110
- < label
111
- for ="search_ingredient "
112
- class ="position-absolute z-n1 opacity-0 ">
113
- Recherche par ingrégrient
114
- </ label >
115
- < input
116
- id ="search_ingredient "
117
- type ="search "
118
- class ="form-control w-90 mx-auto bg-white "
119
- aria-label ="Text input with dropdown button ">
120
- </ li >
111
+ < li class ="display-inline position-relative pb-3 ">
112
+ < label
113
+ for ="search_ingredient "
114
+ class ="position-absolute z-n1 opacity-0 ">
115
+ Tri par ingrégrient
116
+ </ label >
117
+ < input
118
+ id ="search_ingredient "
119
+ type ="search "
120
+ class ="form-control w-90 mx-auto rounded-0 opacity-50 bg-white "
121
+ aria-label ="Filtrer par ingrégrient ">
122
+ < span class ="fa-solid fa-magnifying-glass position-absolute bottom-50 end-10 opacity-25 " aria-hidden ="true "> </ span >
123
+ </ li >
121
124
</ ul >
122
125
</ div >
123
126
</ div > <!-- End Ingredients dropdown -->
124
127
<!-- Appliances dropdown -->
125
128
< div class ="col-12 col-md-4 col-lg-2 ">
126
- < div class ="position-relative mb-3 ">
129
+ < div class ="position-relative mb-3 ">
127
130
< button
128
131
class ="btn btn-lg d-flex justify-content-between w-100 py-3 border-white bg-white "
129
132
data-bs-toggle ="dropdown "
@@ -135,21 +138,24 @@ <h1 class="d-flex flex-column align-items-center font-monospace text-uppercase t
135
138
Appareils
136
139
< span class ="fa-solid fa-chevron-down mt-1 " aria-hidden ="true "> </ span >
137
140
</ button >
141
+ < select id ="appliances " name ="appliances " class ="form-select position-absolute top-0 start-50 z-n1 w-1 h-100 p-0 opacity-0 " title ="Sélectionner " aria-label ="Tri par appareil ">
142
+ </ select >
138
143
< ul
139
144
id ="appliances_list "
140
145
role ="listbox "
141
146
class ="dropdown-menu w-100 h-300px m-auto border-top-0 overflow-hidden bg-white border-white ">
142
- < li class ="display-inline pb-3 ">
147
+ < li class ="display-inline position-relative pb-3 ">
143
148
< label
144
- for ="search_device "
149
+ for ="search_appliance "
145
150
class ="position-absolute z-n1 opacity-0 ">
146
- Recherche par appareil
151
+ Tri par appareil
147
152
</ label >
148
153
< input
149
- id ="search_device "
154
+ id ="search_appliance "
150
155
type ="search "
151
- class ="form-control w-90 mx-auto bg-white "
152
- aria-label ="Text input with dropdown button ">
156
+ class ="form-control w-90 mx-auto rounded-0 opacity-50 bg-white "
157
+ aria-label ="Filtrer par appareil ">
158
+ < span class ="fa-solid fa-magnifying-glass position-absolute bottom-50 end-10 opacity-25 " aria-hidden ="true "> </ span >
153
159
</ li >
154
160
</ ul >
155
161
</ div >
@@ -168,21 +174,24 @@ <h1 class="d-flex flex-column align-items-center font-monospace text-uppercase t
168
174
Ustensiles
169
175
< span class ="fa-solid fa-chevron-down mt-1 " aria-hidden ="true "> </ span >
170
176
</ button >
177
+ < select id ="ustensils " name ="ustensils " class ="form-select position-absolute top-0 start-50 z-n1 w-1 h-100 p-0 opacity-0 " title ="Sélectionner " aria-label ="Tri par ustensile ">
178
+ </ select >
171
179
< ul
172
180
id ="ustensils_list "
173
181
role ="listbox "
174
182
class ="dropdown-menu w-100 h-300px m-auto border-top-0 overflow-hidden bg-white border-white ">
175
- < li class ="display-inline pb-3 ">
183
+ < li class ="display-inline position-relative pb-3 ">
176
184
< label
177
- for ="search_tool "
185
+ for ="search_ustensil "
178
186
class ="position-absolute z-n1 opacity-0 ">
179
- Recherche par ustensile
187
+ Tri par ustensile
180
188
</ label >
181
189
< input
182
- id ="search_tool "
190
+ id ="search_ustensil "
183
191
type ="search "
184
- class ="form-control w-90 mx-auto bg-white "
185
- aria-label ="Text input with dropdown button ">
192
+ class ="form-control w-90 mx-auto rounded-0 opacity-50 bg-white "
193
+ aria-label ="Filtrer par ustensile ">
194
+ < span class ="fa-solid fa-magnifying-glass position-absolute bottom-50 end-10 opacity-25 " aria-hidden ="true "> </ span >
186
195
</ li >
187
196
</ ul >
188
197
</ div >
@@ -205,7 +214,7 @@ <h1 class="d-flex flex-column align-items-center font-monospace text-uppercase t
205
214
< div class ="recipe-cards row row-cols-1 row-cols-md-2 row-cols-lg-3 g-5 pb-7 ">
206
215
</ div > <!-- End Cards -->
207
216
</ div >
208
- </ section > <!-- End Recipes wrapper section -->
217
+ </ div > <!-- End Recipes wrapper section -->
209
218
</ main >
210
219
<!-- Bootstrap -->
211
220
< script src ="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js " integrity ="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r " crossorigin ="anonymous "> </ script >
0 commit comments