diff options
| author | bors <bors@rust-lang.org> | 2021-11-22 10:43:12 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-11-22 10:43:12 +0000 |
| commit | cd83a437cc2b9c453f39996f664d2cc10611375b (patch) | |
| tree | eb68672373d6d573078d449a5dddf46b7247da65 /src/librustdoc/html/static | |
| parent | 80f5f600194061e196557fb54ca5cca9c8a345db (diff) | |
| parent | 6354b279e2b523776cbb97cd6146a51fa1d2cff5 (diff) | |
| download | rust-cd83a437cc2b9c453f39996f664d2cc10611375b.tar.gz rust-cd83a437cc2b9c453f39996f664d2cc10611375b.zip | |
Auto merge of #91099 - jsha:cleanup-undocumented, r=GuillaumeGomez
Remove styles for details.undocumented The Rust code that generated tags with that class was deleted in 10bafe1975e53769180701508e2b8cd3a3b34a0e. r? `@GuillaumeGomez`
Diffstat (limited to 'src/librustdoc/html/static')
| -rw-r--r-- | src/librustdoc/html/static/css/rustdoc.css | 37 |
1 files changed, 4 insertions, 33 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css index e3154ad84af..400ed0a48ce 100644 --- a/src/librustdoc/html/static/css/rustdoc.css +++ b/src/librustdoc/html/static/css/rustdoc.css @@ -199,7 +199,6 @@ h1, h2, h3, h4, h5, h6, div.item-list .out-of-band, span.since, #source-sidebar, #sidebar-toggle, details.rustdoc-toggle > summary::before, -details.undocumented > summary::before, div.impl-items > div:not(.docblock):not(.item-info), .content ul.crate a.crate, a.srclink, /* This selector is for the items listed in the "all items" page. */ @@ -1523,13 +1522,11 @@ details.rustdoc-toggle > summary.hideme { cursor: pointer; } -details.rustdoc-toggle > summary, details.undocumented > summary { +details.rustdoc-toggle > summary { list-style: none; } details.rustdoc-toggle > summary::-webkit-details-marker, -details.rustdoc-toggle > summary::marker, -details.undocumented > summary::-webkit-details-marker, -details.undocumented > summary::marker { +details.rustdoc-toggle > summary::marker { display: none; } @@ -1591,8 +1588,7 @@ details.rustdoc-toggle > summary:not(.hideme)::before { top: 3px; } -.impl-items > details.rustdoc-toggle > summary:not(.hideme)::before, -.undocumented > details.rustdoc-toggle > summary:not(.hideme)::before { +.impl-items > details.rustdoc-toggle > summary:not(.hideme)::before { position: absolute; left: -24px; } @@ -1606,7 +1602,7 @@ details.rustdoc-toggle[open] > summary.hideme { position: absolute; } -details.rustdoc-toggle, details.undocumented { +details.rustdoc-toggle { position: relative; } @@ -1629,31 +1625,6 @@ details.rustdoc-toggle[open] > summary.hideme::after { content: "Collapse"; } -details.undocumented > summary::before { - padding-left: 17px; - height: max(17px, 1.1em); - background-repeat: no-repeat; - background-position: top left; - content: "Show hidden undocumented items"; - cursor: pointer; - font-size: 16px; - font-weight: 300; - opacity: .5; -} - -details.undocumented > summary:focus::before, -details.undocumented > summary:hover::before { - opacity: 1; -} - -details.undocumented[open] > summary::before { - padding-left: 17px; - height: max(17px, 1.1em); - background-repeat: no-repeat - background-position: top left; - content: "Hide undocumented items"; -} - /* Media Queries */ @media (min-width: 701px) { |
