Skip to content

Commit

Permalink
Rollup merge of rust-lang#101323 - GuillaumeGomez:remove-unused-css, …
Browse files Browse the repository at this point in the history
…r=notriddle

Remove unused .toggle-label CSS rule

It was added in rust-lang#44192 but since we moved to `<details>`, we don't use this rule any more.

r? `@notriddle`
  • Loading branch information
matthiaskrgr committed Sep 2, 2022
2 parents 1e008fe + 017cfeb commit e77b8ce
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 9 deletions.
6 changes: 0 additions & 6 deletions src/librustdoc/html/static/css/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -1241,12 +1241,6 @@ h3.variant {
margin-left: 24px;
}

.toggle-label {
display: inline-block;
margin-left: 4px;
margin-top: 3px;
}

:target > code, :target > .code-header {
opacity: 1;
}
Expand Down
1 change: 0 additions & 1 deletion src/librustdoc/html/static/css/themes/ayu.css
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,6 @@ a.test-arrow:hover {
color: #c5c5c5;
}

.toggle-label,
.code-attribute {
color: #999;
}
Expand Down
1 change: 0 additions & 1 deletion src/librustdoc/html/static/css/themes/dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,6 @@ a.test-arrow:hover{
background-color: #4e8bca;
}

.toggle-label,
.code-attribute {
color: #999;
}
Expand Down
1 change: 0 additions & 1 deletion src/librustdoc/html/static/css/themes/light.css
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ a.test-arrow:hover{
background-color: #4e8bca;
}

.toggle-label,
.code-attribute {
color: #999;
}
Expand Down

0 comments on commit e77b8ce

Please sign in to comment.