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

Add category hover style for Cinnamenu applet... #11451

Merged
merged 1 commit into from
Mar 20, 2023
Merged

Add category hover style for Cinnamenu applet... #11451

merged 1 commit into from
Mar 20, 2023

Conversation

fredcw
Copy link
Contributor

@fredcw fredcw commented Jan 24, 2023

... and possible future use in the menu applet which currently only uses .menu-category-button-selected style for hover. (the pseudo class hover for category buttons is only for use when the 'activate categories on click' menu option is set.)

This also works well as a reasonable fallback style in all other light & dark themes I have tested as it will add to the style of .menu-category-button in themes where .menu-category-button:hover is not defined. This fallback style works because .menu-category-button:hover has a higher specificity than .menu-category-button

Note: this change only currently affects Cinnamenu applet. See #10935 (comment) for more details.

... and possible future use in the menu applet which currently uses `.menu-category-button-selected` style for hover (pseudo class `hover` is only used when the 'activate categories on click' menu option is set) This also works well as a reasonable fallback style in other light & dark themes as it will add to the style of `.menu-category-button` in themes where `.menu-category-button:hover` is not defined.
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.

None yet

2 participants