mirror of
https://github.com/iv-org/invidious.git
synced 2025-03-13 01:16:41 -04:00
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:
parent
5b0c7f1213
commit
42cdb7e076
@ -1,4 +1,4 @@
|
||||
summary {
|
||||
#filters-collapse summary {
|
||||
/* This should hide the marker */
|
||||
display: block;
|
||||
|
||||
@ -8,10 +8,10 @@ summary {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
summary::-webkit-details-marker,
|
||||
summary::marker { display: none; }
|
||||
#filters-collapse summary::-webkit-details-marker,
|
||||
#filters-collapse summary::marker { display: none; }
|
||||
|
||||
summary:before {
|
||||
#filters-collapse summary:before {
|
||||
border-radius: 5px;
|
||||
content: "[ + ]";
|
||||
margin: -2px 10px 0 10px;
|
||||
@ -20,7 +20,7 @@ summary:before {
|
||||
width: 40px;
|
||||
}
|
||||
|
||||
details[open] > summary:before { content: "[ − ]"; }
|
||||
#filters-collapse details[open] > summary:before { content: "[ − ]"; }
|
||||
|
||||
|
||||
#filters-box {
|
||||
|
Loading…
x
Reference in New Issue
Block a user