mirror of
https://github.com/openharmony/third_party_rust_rust.git
synced 2026-07-20 22:57:39 -04:00
rustdoc: merge background-image rules in rustdoc-toggle CSS
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user