Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Improve tabwin highlight #272

Closed

Conversation

andreldm
Copy link
Contributor

@andreldm andreldm commented Jun 3, 2020

No description provided.

This is more noticeable in dark variant and when "Cycle through
windows in a list" is enabled.
}
&:hover {
background: mix(black, $selected_bg_color, 40%);
background: transparentize($bg_color, 0.7);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Name of variable bg_color should be written in all lowercase letters with hyphens instead of underscores

@@ -246,10 +246,10 @@ XfdesktopIconView.view {
box-shadow: none;

&:active, &:checked, &:active:hover, &:checked:hover {
background: transparentize($bg_color, 0.7);
background: mix(black, $selected_bg_color, 40%);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Color black should be written in hexadecimal form as #000000
Color literals like black should only be used in variable declarations; they should be referred to via variable everywhere else.
Name of variable selected_bg_color should be written in all lowercase letters with hyphens instead of underscores

}
&:hover {
background: mix(black, $selected_bg_color, 40%);
background: transparentize($bg_color, 0.7);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Name of variable bg_color should be written in all lowercase letters with hyphens instead of underscores

@@ -251,10 +251,10 @@ XfdesktopIconView.view {
box-shadow: none;

&:active, &:checked, &:active:hover, &:checked:hover {
background: transparentize($bg_color, 0.7);
background: mix(black, $selected_bg_color, 40%);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Color black should be written in hexadecimal form as #000000
Color literals like black should only be used in variable declarations; they should be referred to via variable everywhere else.
Name of variable selected_bg_color should be written in all lowercase letters with hyphens instead of underscores

@ochosi
Copy link
Member

ochosi commented Jun 9, 2020

Hm, I'm not sure about flipping the two.

Maybe if we don't transparentize the bg_color but instead use shade to brighten it the contrast would improve too? (Currently the background of the tabwin "shines through" the currently highlighted item, making it less legible on bright backgrounds)

@andreldm
Copy link
Contributor Author

andreldm commented Jun 9, 2020

I don't have any strong opinion on the style, as long as the hovered line doesn't "shine more" than the selected one I'm fine (this is already the case for Adwaita). Maybe screenshots can help with my point.

Before this PR
before

After this PR
after

Adwaita
adwaita

@andreldm
Copy link
Contributor Author

@ochosi any thoughts on this?

ochosi added a commit that referenced this pull request Nov 30, 2020
ochosi added a commit that referenced this pull request Sep 2, 2022
Don't let the mouse hover outshine the currently selected window.
Supersedes #272
ochosi added a commit that referenced this pull request Sep 3, 2022
Don't let the mouse hover outshine the currently selected window.
Supersedes #272
ochosi added a commit that referenced this pull request Sep 3, 2022
Don't let the mouse hover outshine the currently selected window.
Supersedes #272
@ochosi
Copy link
Member

ochosi commented Sep 3, 2022

Superseded by 8fccf60

@ochosi ochosi closed this Sep 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants