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

@@ -91,43 +91,6 @@
}
#search-form {
position: relative;
.toggle {
cursor: pointer;
text-align: center;
input {
display: none;
}
label {
display: 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);
}
}
}
}
#search-result {
position: absolute;
@@ -310,7 +273,7 @@
#results-list {
text-align: center;
.player, .result {
background-color: white;
background-color: unset;
color: black;
cursor: pointer;
&:hover {
@@ -326,6 +289,11 @@
font-style: italic;
}
}
#results-table {
tr.filtered {
display: none;
}
}
}
/* standings section */