Filter results

This commit is contained in:
Claude Brisson
2024-01-30 17:47:38 +01:00
parent 08d572db7b
commit 41e1b49bd7
4 changed files with 60 additions and 38 deletions

View File

@@ -425,6 +425,45 @@
color: darkgray;
}
.toggle {
display: inline-block;
cursor: pointer;
text-align: center;
input {
display: none !important;
}
label {
display: inline-block;
text-align: center;
cursor: pointer;
}
.checkbox {
width: 50px;
height: 26px;
border-radius: 18px;
background-color: #F7D6A3;
display: inline-flex;
align-items: center;
padding-left: 5px;
padding-right: 5px;
cursor: pointer;
.circle {
background-color: #6B5E8A;
transform: translateX(0px);
border-radius: 50%;
width: 20px;
height: 20px;
transition: 300ms;
}
}
input:checked + .checkbox {
background-color: rgb(218, 114, 80);
.circle {
transform: translateX(20px);
}
}
}
@media print {
body {