Skip to content

Commit cd83a43

Browse files
committed
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 10bafe1. r? `@GuillaumeGomez`
2 parents 80f5f60 + 6354b27 commit cd83a43

File tree

1 file changed

+4
-33
lines changed

1 file changed

+4
-33
lines changed

src/librustdoc/html/static/css/rustdoc.css

+4-33
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,6 @@ h1, h2, h3, h4, h5, h6,
199199
div.item-list .out-of-band, span.since,
200200
#source-sidebar, #sidebar-toggle,
201201
details.rustdoc-toggle > summary::before,
202-
details.undocumented > summary::before,
203202
div.impl-items > div:not(.docblock):not(.item-info),
204203
.content ul.crate a.crate, a.srclink,
205204
/* This selector is for the items listed in the "all items" page. */
@@ -1523,13 +1522,11 @@ details.rustdoc-toggle > summary.hideme {
15231522
cursor: pointer;
15241523
}
15251524

1526-
details.rustdoc-toggle > summary, details.undocumented > summary {
1525+
details.rustdoc-toggle > summary {
15271526
list-style: none;
15281527
}
15291528
details.rustdoc-toggle > summary::-webkit-details-marker,
1530-
details.rustdoc-toggle > summary::marker,
1531-
details.undocumented > summary::-webkit-details-marker,
1532-
details.undocumented > summary::marker {
1529+
details.rustdoc-toggle > summary::marker {
15331530
display: none;
15341531
}
15351532

@@ -1591,8 +1588,7 @@ details.rustdoc-toggle > summary:not(.hideme)::before {
15911588
top: 3px;
15921589
}
15931590

1594-
.impl-items > details.rustdoc-toggle > summary:not(.hideme)::before,
1595-
.undocumented > details.rustdoc-toggle > summary:not(.hideme)::before {
1591+
.impl-items > details.rustdoc-toggle > summary:not(.hideme)::before {
15961592
position: absolute;
15971593
left: -24px;
15981594
}
@@ -1606,7 +1602,7 @@ details.rustdoc-toggle[open] > summary.hideme {
16061602
position: absolute;
16071603
}
16081604

1609-
details.rustdoc-toggle, details.undocumented {
1605+
details.rustdoc-toggle {
16101606
position: relative;
16111607
}
16121608

@@ -1629,31 +1625,6 @@ details.rustdoc-toggle[open] > summary.hideme::after {
16291625
content: "Collapse";
16301626
}
16311627

1632-
details.undocumented > summary::before {
1633-
padding-left: 17px;
1634-
height: max(17px, 1.1em);
1635-
background-repeat: no-repeat;
1636-
background-position: top left;
1637-
content: "Show hidden undocumented items";
1638-
cursor: pointer;
1639-
font-size: 16px;
1640-
font-weight: 300;
1641-
opacity: .5;
1642-
}
1643-
1644-
details.undocumented > summary:focus::before,
1645-
details.undocumented > summary:hover::before {
1646-
opacity: 1;
1647-
}
1648-
1649-
details.undocumented[open] > summary::before {
1650-
padding-left: 17px;
1651-
height: max(17px, 1.1em);
1652-
background-repeat: no-repeat
1653-
background-position: top left;
1654-
content: "Hide undocumented items";
1655-
}
1656-
16571628
/* Media Queries */
16581629

16591630
@media (min-width: 701px) {

0 commit comments

Comments
 (0)