Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 4 additions & 33 deletions src/librustdoc/html/static/css/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down Expand Up @@ -1520,13 +1519,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;
}

Expand Down Expand Up @@ -1588,8 +1585,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;
}
Expand All @@ -1603,7 +1599,7 @@ details.rustdoc-toggle[open] > summary.hideme {
position: absolute;
}

details.rustdoc-toggle, details.undocumented {
details.rustdoc-toggle {
position: relative;
}

Expand All @@ -1626,31 +1622,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) {
Expand Down