mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
Improve styling on scrape examples help button
This commit is contained in:
@@ -2035,8 +2035,6 @@ details.rustdoc-toggle[open] > summary.hideme::after {
|
||||
/* Begin: styles for --scrape-examples feature */
|
||||
|
||||
.scraped-example-list .section-header .scrape-help {
|
||||
cursor: pointer;
|
||||
border-radius: 2px;
|
||||
margin-left: 10px;
|
||||
padding: 0 4px;
|
||||
font-weight: normal;
|
||||
@@ -2046,6 +2044,7 @@ details.rustdoc-toggle[open] > summary.hideme::after {
|
||||
background: transparent;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-radius: 50px;
|
||||
}
|
||||
|
||||
.scraped-example-title {
|
||||
|
||||
@@ -613,12 +613,12 @@ input:checked + .slider {
|
||||
|
||||
|
||||
.scraped-example-list .section-header .scrape-help {
|
||||
border-color: #999;
|
||||
color: #999;
|
||||
border-color: #aaa;
|
||||
color: #eee;
|
||||
}
|
||||
.scraped-example-list .section-header .scrape-help:hover {
|
||||
border-color: #c5c5c5;
|
||||
color: #c5c5c5;
|
||||
border-color: white;
|
||||
color: white;
|
||||
}
|
||||
.more-examples-toggle summary, .more-examples-toggle .hide-more {
|
||||
color: #999;
|
||||
|
||||
@@ -479,12 +479,12 @@ div.files > .selected {
|
||||
}
|
||||
|
||||
.scraped-example-list .section-header .scrape-help {
|
||||
border-color: #999;
|
||||
color: #999;
|
||||
border-color: #aaa;
|
||||
color: #eee;
|
||||
}
|
||||
.scraped-example-list .section-header .scrape-help:hover {
|
||||
border-color: #c5c5c5;
|
||||
color: #c5c5c5;
|
||||
border-color: white;
|
||||
color: white;
|
||||
}
|
||||
.more-examples-toggle summary, .more-examples-toggle .hide-more {
|
||||
color: #999;
|
||||
|
||||
@@ -464,8 +464,8 @@ div.files > .selected {
|
||||
}
|
||||
|
||||
.scraped-example-list .section-header .scrape-help {
|
||||
border-color: #999;
|
||||
color: #999;
|
||||
border-color: #555;
|
||||
color: #333;
|
||||
}
|
||||
.scraped-example-list .section-header .scrape-help:hover {
|
||||
border-color: black;
|
||||
|
||||
Reference in New Issue
Block a user