Skip to content

Commit 6354b27

Browse files
committed
Remove styles for details.undocumented
The Rust code that generated tags with that class was deleted in 10bafe1.
1 parent ce3f3a5 commit 6354b27

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. */
@@ -1520,13 +1519,11 @@ details.rustdoc-toggle > summary.hideme {
15201519
cursor: pointer;
15211520
}
15221521

1523-
details.rustdoc-toggle > summary, details.undocumented > summary {
1522+
details.rustdoc-toggle > summary {
15241523
list-style: none;
15251524
}
15261525
details.rustdoc-toggle > summary::-webkit-details-marker,
1527-
details.rustdoc-toggle > summary::marker,
1528-
details.undocumented > summary::-webkit-details-marker,
1529-
details.undocumented > summary::marker {
1526+
details.rustdoc-toggle > summary::marker {
15301527
display: none;
15311528
}
15321529

@@ -1588,8 +1585,7 @@ details.rustdoc-toggle > summary:not(.hideme)::before {
15881585
top: 3px;
15891586
}
15901587

1591-
.impl-items > details.rustdoc-toggle > summary:not(.hideme)::before,
1592-
.undocumented > details.rustdoc-toggle > summary:not(.hideme)::before {
1588+
.impl-items > details.rustdoc-toggle > summary:not(.hideme)::before {
15931589
position: absolute;
15941590
left: -24px;
15951591
}
@@ -1603,7 +1599,7 @@ details.rustdoc-toggle[open] > summary.hideme {
16031599
position: absolute;
16041600
}
16051601

1606-
details.rustdoc-toggle, details.undocumented {
1602+
details.rustdoc-toggle {
16071603
position: relative;
16081604
}
16091605

@@ -1626,31 +1622,6 @@ details.rustdoc-toggle[open] > summary.hideme::after {
16261622
content: "Collapse";
16271623
}
16281624

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

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

0 commit comments

Comments
 (0)