Skip to content

Commit 17263f2

Browse files
authored
Rollup merge of #106297 - notriddle:notriddle/scrape-help, r=GuillaumeGomez
rustdoc: merge scrape-help CSS
2 parents 4bf9cae + ac0bb74 commit 17263f2

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

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

+6-10
Original file line numberDiff line numberDiff line change
@@ -1861,9 +1861,13 @@ in storage.js
18611861
font-size: 12px;
18621862
position: relative;
18631863
bottom: 1px;
1864-
border-width: 1px;
1865-
border-style: solid;
1864+
border: 1px solid var(--scrape-example-help-border-color);
18661865
border-radius: 50px;
1866+
color: var(--scrape-example-help-color);
1867+
}
1868+
.scraped-example-list .scrape-help:hover {
1869+
border-color: var(--scrape-example-help-hover-border-color);
1870+
color: var(--scrape-example-help-hover-color);
18671871
}
18681872

18691873
.scraped-example {
@@ -1955,14 +1959,6 @@ in storage.js
19551959
.scraped-example .example-wrap .rust span.highlight.focus {
19561960
background: var(--scrape-example-code-line-highlight-focus);
19571961
}
1958-
.scraped-example-list .scrape-help {
1959-
border-color: var(--scrape-example-help-border-color);
1960-
color: var(--scrape-example-help-color);
1961-
}
1962-
.scraped-example-list .scrape-help:hover {
1963-
border-color: var(--scrape-example-help-hover-border-color);
1964-
color: var(--scrape-example-help-hover-color);
1965-
}
19661962

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

0 commit comments

Comments
 (0)