Skip to content

rustdoc: remove no-op source sidebar opacity - #102491

Merged
bors merged 2 commits into
rust-lang:masterfrom
notriddle:notriddle/sidebar-opacity
Sep 30, 2022
Merged

rustdoc: remove no-op source sidebar opacity#102491
bors merged 2 commits into
rust-lang:masterfrom
notriddle:notriddle/sidebar-opacity

Conversation

@notriddle

Copy link
Copy Markdown
Contributor

These rules were added in dc2c972 to work with CSS transitions. They're otherwise redundant, since the visibility property already hides everything.

.source .sidebar>*:not(:first-child) {
transition: opacity 0.5s, visibility 0.2s;
opacity:0;
visibility: hidden;
}

The transition was remove with 237d625, but the now-redundant opacity property was not.

These rules were added in dc2c972 to work
with CSS transitions. They're otherwise redundant, since the `visibility`
property already hides everything.
https://github.com/rust-lang/rust/blob/dc2c9723343c985740be09919236a6e96c4e4433/src/librustdoc/html/static/css/rustdoc.css#L350-L354
The transition was remove with 237d625, but
the now-redundant `opacity` property was not.
@rustbotrustbot added the T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. label Sep 29, 2022
@rustbot

Copy link
Copy Markdown
Collaborator

Some changes occurred in HTML/CSS/JS.

cc @GuillaumeGomez, @Folyd, @jsha

@rust-highfive

Copy link
Copy Markdown
Contributor

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @GuillaumeGomez (or someone else) soon.

Please see the contribution instructions for more information.

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 29, 2022
@GuillaumeGomez

Copy link
Copy Markdown
Member

Thanks!

@bors r+ rollup

@bors

bors commented Sep 29, 2022

Copy link
Copy Markdown
Collaborator

📌 Commit db376ee has been approved by GuillaumeGomez

It is now in the queue for this repository.

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 29, 2022
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Sep 30, 2022
…y, r=GuillaumeGomez
rustdoc: remove no-op source sidebar `opacity`
These rules were added in dc2c972 to work with CSS transitions. They're otherwise redundant, since the `visibility` property already hides everything.
https://github.com/rust-lang/rust/blob/dc2c9723343c985740be09919236a6e96c4e4433/src/librustdoc/html/static/css/rustdoc.css#L350-L354
The transition was remove with 237d625, but the now-redundant `opacity` property was not.
bors added a commit to rust-lang-ci/rust that referenced this pull request Sep 30, 2022
…iaskrgr
Rollup of 5 pull requests
Successful merges:
- rust-lang#101075 (Migrate rustc_codegen_gcc to SessionDiagnostics )
- rust-lang#102350 (Improve errors for incomplete functions in struct definitions)
- rust-lang#102481 (rustdoc: remove unneeded CSS `.rust-example-rendered { position }`)
- rust-lang#102491 (rustdoc: remove no-op source sidebar `opacity`)
- rust-lang#102499 (Adjust the s390x data layout for LLVM 16)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit e36c3c1 into rust-lang:masterSep 30, 2022
@rustbotrustbot added this to the 1.66.0 milestone Sep 30, 2022
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@notriddle@rustbot@rust-highfive@GuillaumeGomez@bors