You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
144 lines
3.2 KiB
144 lines
3.2 KiB
@import url(./style.css);
|
|
@import url(./styleQuoteLittle.css);
|
|
|
|
/* ====== DEFAULT ====== */
|
|
|
|
|
|
.search-container {
|
|
margin-left: 5%;
|
|
width: 90%;
|
|
height: 60px;
|
|
border-radius: 40px;
|
|
display: flex; /* Utilisez flexbox pour aligner les éléments */
|
|
align-items: center; /* Aligne les enfants verticalement */
|
|
}
|
|
|
|
.search-container input[type="search"] {
|
|
flex: 1; /* Permet au champ de recherche de prendre tout l'espace disponible */
|
|
border: none;
|
|
background: none;
|
|
padding: 0 10px; /* Ajoutez un peu de padding pour respirer */
|
|
color: #00f;
|
|
font-size: 16px;
|
|
line-height: 40px;
|
|
}
|
|
|
|
.search-container input[type="search"]:focus {
|
|
outline: none; /* Supprime la bordure bleue */
|
|
box-shadow: none;
|
|
z-index: 5; /* Supprime également toute ombre ajoutée */
|
|
}
|
|
|
|
|
|
.search-container .searchButton {
|
|
width: 60px;
|
|
height: 60px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.searchButton img{
|
|
width: 70%;
|
|
height: 70%;
|
|
}
|
|
|
|
.search-container input[type="search"] {
|
|
margin: 10px ;
|
|
border:none;
|
|
background: none;
|
|
float:left;
|
|
padding: 0;
|
|
color: #00f;
|
|
font-size: 16px;
|
|
line-height: 40px;
|
|
width:auto;
|
|
}
|
|
|
|
.filtre {
|
|
display: flex;
|
|
justify-content: space-around;
|
|
margin-top: 20px;
|
|
padding: 10px 0;
|
|
border-radius: 10px;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.filtre div {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 5px 15px;
|
|
border-radius: 5px;
|
|
transition: background 0.3s ease, transform 0.3s ease;
|
|
}
|
|
|
|
.filtre div:hover {
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.filtre input[type="radio"] {
|
|
display: none;
|
|
}
|
|
|
|
/* ====== DARK MODE ====== */
|
|
/*body.dark-mode */
|
|
body.dark-mode .search-container {
|
|
background-color: #fff;
|
|
}
|
|
body.dark-mode .search-container input[type="search"] {
|
|
color: #000;
|
|
}
|
|
body.dark-mode .search-container .searchButton {
|
|
background: var(--main-dark-gradient);
|
|
}
|
|
|
|
body.dark-mode .filtre input[type="radio"]:checked + label {
|
|
background: var(--main-dark-gradient);
|
|
border-color: #4a148c;
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
body.dark-mode .filtre label {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 8px 20px;
|
|
border: 2px solid #4a148c;
|
|
border-radius: 25px;
|
|
font-size: 16px;
|
|
color: #ffffff;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
/* ====== LIGHT MODE ====== */
|
|
/*body.light-mode*/
|
|
body.light-mode .search-container {
|
|
background: #ccc;
|
|
}
|
|
body.light-mode .search-container input[type="search"] {
|
|
color: #000;
|
|
}
|
|
body.light-mode .search-container .searchButton {
|
|
background: var(--main-light-gradient);
|
|
}
|
|
|
|
body.light-mode .filtre input[type="radio"]:checked + label {
|
|
background: var(--main-light-gradient);
|
|
border-color: #e3eeff;
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
body.light-mode .filtre label {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 8px 20px;
|
|
border: 2px solid #e3eeff;
|
|
border-radius: 25px;
|
|
font-size: 16px;
|
|
color: #000000;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
} |