rustdoc: merge background-image rules in rustdoc-toggle CSS

This commit is contained in:
Michael Howell 2022-11-28 09:55:36 -07:00
parent 8a09420ac4
commit 7181b8f3bc

View file

@ -1512,6 +1512,7 @@ details.rustdoc-toggle > summary.hideme > span {
}
details.rustdoc-toggle > summary::before {
background-image: url("toggle-plus-1092eb4930d581b0.svg");
content: "";
cursor: pointer;
width: 16px;
@ -1599,14 +1600,6 @@ details.rustdoc-toggle[open] > summary.hideme > span {
details.rustdoc-toggle[open] > summary::before,
details.rustdoc-toggle[open] > summary.hideme::before {
background-image: url("toggle-minus-31bbd6e4c77f5c96.svg");
}
details.rustdoc-toggle > summary::before {
background-image: url("toggle-plus-1092eb4930d581b0.svg");
}
details.rustdoc-toggle[open] > summary::before,
details.rustdoc-toggle[open] > summary.hideme::before {
width: 16px;
height: 16px;
background-repeat: no-repeat;