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

[Issue] System Tray menus are missing important styles. #512

Open
Cu3PO42 opened this issue May 19, 2024 · 2 comments
Open

[Issue] System Tray menus are missing important styles. #512

Cu3PO42 opened this issue May 19, 2024 · 2 comments

Comments

@Cu3PO42
Copy link
Contributor

Cu3PO42 commented May 19, 2024

  • I have read the Usage and the Troubleshooting pages of the wiki
  • I have made sure that both my config and system packages are up to date
  • Linux distro: NixOS

The issue

The CSS rules applied to context menus in the system tray hide important details. For example, the context menu of nm-applet currently looks like this:

image

Available networks should have an arrow or other indicator that it has a sub-menu and "Enable Wi-Fi" and "Enable Networking" should both have checkboxes. If I remove any custom CSS they do:

image

Additionally, the icon for nm-applet is very different with styles applied. I'll tr to investigate why this happens and how it may be fixed.

@end-4
Copy link
Owner

end-4 commented May 19, 2024

caused by * {all: unset} for sure
haven't found out how to keep styles for those stuff

@Cu3PO42
Copy link
Contributor Author

Cu3PO42 commented May 19, 2024

Agreed. I was thinking of trying to do *:not(....) } {}, but I'm not yet sure how to select the menu. And GTK inspector also isn't particularly helpful because the menu doesn't stay open as soon as I click over to the inspector.

A cleaner solution would likely be to add back the necessary rules to show dividers, checkboxes and arrows.

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

No branches or pull requests

2 participants