Verbesserte Suchfunktion: Highlighting für allgemeine Suche und Reset-Buttons

This commit is contained in:
2025-03-21 12:40:59 +01:00
parent 93314424d9
commit 9922c0ae9d
3 changed files with 100 additions and 56 deletions

View File

@@ -151,6 +151,36 @@ body {
position: relative;
}
.reset-icon {
position: absolute;
right: 40px;
top: 50%;
transform: translateY(-50%);
cursor: pointer;
color: #6c757d;
z-index: 10;
padding: 0.375rem;
display: none;
}
.input-group input:not(:placeholder-shown) + .reset-icon {
display: block;
}
.reset-icon:hover {
color: #dc3545;
}
.search-icon {
position: absolute;
right: 10px;
top: 50%;
transform: translateY(-50%);
color: #6c757d;
z-index: 10;
padding: 0.375rem;
}
.result-counts {
display: flex;
justify-content: center;