Apply search filters details css only to itself

The CSS for the search filters details box was applied to every
detail element when search.css is loaded
This commit is contained in:
syeopite 2025-02-28 19:47:01 -08:00
parent 5b0c7f1213
commit 42cdb7e076
No known key found for this signature in database
GPG Key ID: A73C186DA3955A1A

View File

@ -1,4 +1,4 @@
summary { #filters-collapse summary {
/* This should hide the marker */ /* This should hide the marker */
display: block; display: block;
@ -8,10 +8,10 @@ summary {
cursor: pointer; cursor: pointer;
} }
summary::-webkit-details-marker, #filters-collapse summary::-webkit-details-marker,
summary::marker { display: none; } #filters-collapse summary::marker { display: none; }
summary:before { #filters-collapse summary:before {
border-radius: 5px; border-radius: 5px;
content: "[ + ]"; content: "[ + ]";
margin: -2px 10px 0 10px; margin: -2px 10px 0 10px;
@ -20,7 +20,7 @@ summary:before {
width: 40px; width: 40px;
} }
details[open] > summary:before { content: "[ ]"; } #filters-collapse details[open] > summary:before { content: "[ ]"; }
#filters-box { #filters-box {