clear-input recherche

This commit is contained in:
2025-06-05 14:31:27 +02:00
parent 69ecedae66
commit 2f21024995
5 changed files with 99 additions and 11 deletions
@@ -359,6 +359,7 @@
label{display: none;}
.input-wrapper{
display: inline-flex;
position: relative;
font-size: 0.8rem;
&::after{
content: url("../images/pictos/loupe.svg");
@@ -369,6 +370,33 @@
max-width: 100% !important;
}
}
}
.form-item-combine:not(.form-item-field-date-de-parution-value)
.search-with-clear{
.clear-input {
position: absolute;
right: -4px;
top: 50%;
transform: translateY(-50%);
background: white;
border: none;
padding: 0.5rem;
margin: 0;
cursor: pointer;
color: #888;
display: none; /* masqué par défaut */
}
.clear-input:hover {
color: #000;
}
}
.form-item-field-date-de-parution-value .clear-input{
display: none;
}
select{
font-size: 0.8rem;
@@ -401,9 +429,9 @@
flex-wrap: wrap;
width: 100%;
.border{
width: 60%;
width: 80%;
border-top: solid 1px rgba(0, 0, 0, 0.3);
left: -2rem;
}
.view-type-slide:not(:first-of-type) {
// width: 80%;
@@ -424,8 +452,8 @@
.view-type-slide.type-paroles-de-laureats{order: 2;}
.view-type-slide.type-les-projets-en-images{
order: 3;
width: 80%;
border-top: solid 1px rgba(0, 0, 0, 0.3);
// width: 80%;
// border-top: solid 1px rgba(0, 0, 0, 0.3);
}
.view-type-slide.type-presse{
order: 5;