Uh oh!
There was an error while loading. Please reload this page.
Improve display for "copy-path" button, making it more discreet - #85407
Conversation
rust-highfive
commented
May 17, 2021
Some changes occurred in HTML/CSS themes. A change occurred in the Ayu theme. cc @Cldfire Some changes occurred in HTML/CSS/JS. |
Nemo157
commented
May 17, 2021
It could be nice to have a highlight on hover too, since there's no longer the border changing color. |
GuillaumeGomez
commented
May 17, 2021
I was thinking about it and thought that the cursor change would be enough. What do you suggest? Making the color a bit lighter? |
Nemo157
commented
May 17, 2021
Lighter on the dark themes, darker on the light theme (which would require making the base color on ayu a bit darker so it has somewhere to lighten towards). |
8029814 to
2009393CompareGuillaumeGomez
commented
May 17, 2021
I updated the screenshots. The difference is very easy to spot when using it but with just the screenshots, not that much... (mostly on light and dark themes) |
jsha
commented
May 17, 2021
This looks good, but why the complex CSS filter? Why not just set a different color? |
GuillaumeGomez
commented
May 18, 2021
Because of the svg, we can't change its color easily, we have to use tricks. But since it's only grey, we can simply use |
2009393 to
5d004c1CompareGuillaumeGomez
commented
May 18, 2021
Simplified the rules for the same result (and also re-updated the screenshots). |
jsha
commented
May 18, 2021
@bors r+ |
bors
commented
May 18, 2021
📌 Commit 5d004c1 has been approved by |
Rollup of 7 pull requests Successful merges: - rust-lang#84462 (rustdoc: use focus for search navigation) - rust-lang#85251 (Make `const_generics_defaults` not an incomplete feature) - rust-lang#85404 (Backport 1.52.1 release notes) - rust-lang#85407 (Improve display for "copy-path" button, making it more discreet) - rust-lang#85423 (Don't require cmake on Windows when LLVM isn't being built) - rust-lang#85428 (Add x.py pre-setup instructions) - rust-lang#85442 (fix typo) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
As suggested by @Nemo157here:
r? @jsha