Skip to content

Migrate CSS theme for search results #102547

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged

Conversation

GuillaumeGomez
Copy link
Member

@GuillaumeGomez GuillaumeGomez commented Oct 1, 2022

Part of #98460.

Just like #102237, I unified theme to how the ayu handles this one: only one color for the background when search results are focused or hovered.

You can test it here.

cc @jsha
r? @notriddle

PS: The repetition in GUI tests is getting out of hand so I opened GuillaumeGomez/browser-UI-test#363 to think about adding possibility to declare functions so we can greatly improve this.

@GuillaumeGomez GuillaumeGomez added the T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. label Oct 1, 2022
@rustbot
Copy link
Collaborator

rustbot commented Oct 1, 2022

Some changes occurred in HTML/CSS/JS.

cc @GuillaumeGomez, @Folyd, @jsha

A change occurred in the Ayu theme.

cc @Cldfire

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 1, 2022
@jsha
Copy link
Contributor

jsha commented Oct 1, 2022 via email

@GuillaumeGomez
Copy link
Member Author

Indeed, good catch! I'll update it in the next days.

@GuillaumeGomez GuillaumeGomez force-pushed the migrate-css-theme-search-result branch from f52eaaa to 9ca79e2 Compare October 3, 2022 12:28
@GuillaumeGomez
Copy link
Member Author

I updated the CSS to unify hover and focus and updated the online demo.

@GuillaumeGomez GuillaumeGomez changed the title Migrate CSS theme for search result Migrate CSS theme for search results Oct 3, 2022
@bors
Copy link
Collaborator

bors commented Oct 3, 2022

☔ The latest upstream changes (presumably #102627) made this pull request unmergeable. Please resolve the merge conflicts.

@GuillaumeGomez GuillaumeGomez force-pushed the migrate-css-theme-search-result branch from 9ca79e2 to b8a63a6 Compare October 3, 2022 21:15
@GuillaumeGomez
Copy link
Member Author

Fixed the conflict.

@notriddle
Copy link
Contributor

@bors r=notriddle,jsha rollup

@bors
Copy link
Collaborator

bors commented Oct 3, 2022

📌 Commit b8a63a6 has been approved by notriddle,jsha

It is now in the queue for this repository.

@bors bors 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 Oct 3, 2022
bors added a commit to rust-lang-ci/rust that referenced this pull request Oct 4, 2022
…iaskrgr

Rollup of 7 pull requests

Successful merges:

 - rust-lang#102441 (Suggest unwrap_or_else when a closure is given)
 - rust-lang#102547 (Migrate CSS theme for search results)
 - rust-lang#102567 (Delay evaluating lint primary message until after it would be suppressed)
 - rust-lang#102624 (rustdoc: remove font family CSS on `.rustdoc-toggle summary::before`)
 - rust-lang#102628 (Change the parameter name of From::from to `value`)
 - rust-lang#102637 (Ignore fuchsia on two compiler tests)
 - rust-lang#102639 (Improve spans when splitting multi-char operator tokens for proc macros.)

Failed merges:

 - rust-lang#102496 (Suggest `.into()` when all other coercion suggestions fail)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit f333436 into rust-lang:master Oct 4, 2022
@rustbot rustbot added this to the 1.66.0 milestone Oct 4, 2022
@GuillaumeGomez GuillaumeGomez deleted the migrate-css-theme-search-result branch October 4, 2022 09:37
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-rustdoc Relevant 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.

6 participants