mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
Rollup merge of #103161 - notriddle:notriddle/copy-path-settings-help-button, r=GuillaumeGomez
rustdoc: remove redundant CSS on `#copy-path`
The border and background were removed in 5d004c1e20
, but not all the CSS was.
This commit is contained in:
commit
1e7b6ece88
@ -1431,10 +1431,7 @@ h3.variant {
|
||||
}
|
||||
|
||||
#settings-menu > a, #help-button > a, #copy-path {
|
||||
padding: 5px;
|
||||
width: 33px;
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 2px;
|
||||
cursor: pointer;
|
||||
line-height: 1.5;
|
||||
}
|
||||
@ -1444,10 +1441,18 @@ h3.variant {
|
||||
height: 100%;
|
||||
display: block;
|
||||
background-color: var(--button-background-color);
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
#copy-path {
|
||||
color: var(--copy-path-button-color);
|
||||
background: var(--main-background-color);
|
||||
height: 34px;
|
||||
margin-left: 10px;
|
||||
padding: 0;
|
||||
padding-left: 2px;
|
||||
border: 0;
|
||||
}
|
||||
#copy-path > img {
|
||||
filter: var(--copy-path-img-filter);
|
||||
@ -1495,15 +1500,6 @@ input:checked + .slider {
|
||||
padding-top: 2px;
|
||||
}
|
||||
|
||||
#copy-path {
|
||||
height: 34px;
|
||||
background-color: var(--main-background-color);
|
||||
margin-left: 10px;
|
||||
padding: 0;
|
||||
padding-left: 2px;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
kbd {
|
||||
display: inline-block;
|
||||
padding: 3px 5px;
|
||||
|
Loading…
Reference in New Issue
Block a user