Skip to content

Commit ac0bb74

Browse files
committed
rustdoc: merge scrape-help CSS
1 parent 7c99186 commit ac0bb74

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

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

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1865,9 +1865,13 @@ in storage.js
18651865
font-size: 12px;
18661866
position: relative;
18671867
bottom: 1px;
1868-
border-width: 1px;
1869-
border-style: solid;
1868+
border: 1px solid var(--scrape-example-help-border-color);
18701869
border-radius: 50px;
1870+
color: var(--scrape-example-help-color);
1871+
}
1872+
.scraped-example-list .scrape-help:hover {
1873+
border-color: var(--scrape-example-help-hover-border-color);
1874+
color: var(--scrape-example-help-hover-color);
18711875
}
18721876

18731877
.scraped-example {
@@ -1959,14 +1963,6 @@ in storage.js
19591963
.scraped-example .example-wrap .rust span.highlight.focus {
19601964
background: var(--scrape-example-code-line-highlight-focus);
19611965
}
1962-
.scraped-example-list .scrape-help {
1963-
border-color: var(--scrape-example-help-border-color);
1964-
color: var(--scrape-example-help-color);
1965-
}
1966-
.scraped-example-list .scrape-help:hover {
1967-
border-color: var(--scrape-example-help-hover-border-color);
1968-
color: var(--scrape-example-help-hover-color);
1969-
}
19701966

19711967
.more-examples-toggle {
19721968
max-width: calc(100% + 25px);

0 commit comments

Comments
 (0)