-
Notifications
You must be signed in to change notification settings - Fork 17
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
Opera-style mouseover effects in GTK theme? #50
Comments
I've been wondering why the GTK assets in
Looks like there's special cases for Breeze and Oxygen to disable the animations, however since Material uses a different config file, it is not getting disabled before rendering. I'll need to check if gtk rendering when setting the button animation property in |
Is it possible to fix it, or even have a different kind of mouseover effect? It's a bit sad when there's absolutely no reaction on close, minimise. Although strangely, the maximise button does react. (speaking about Firefox, other apps may be different) |
The GTK Renderer manually overrides the Oxygen and Breeze based decorations. Rather than attempt to fix the hack upstream for every window decoration fork, we'll just disable animations ourselves. The hover fill looks ugly since we still have all that padding around the buttons.
For Firefox specifically, I use a |
the SBE solution does look nice but then I don't think it would match with all the other windows using Qt Material decorations. I think red should only be used for the close icon, and perhaps a light gray for the others? Maybe changing the colour of each of the symbols on mouseover rather than resizing or fill effects. |
The minimize and maximize colors are from SierraBreezeEnhanced. The bg fill doesn't reach the headerbar edges since the Breeze GTK theme has huge margins around the buttons.
For me it's not such a great solution as I don't like yellow/red/green in general. Unfortunately I don't have any other ideas at the moment. |
So this code in gtk.css gives me nice large circular buttons on mouse hover, using the default theme which is Adwaita. So usability is similar to Opera as it's easy to hit the buttons. However, the non-hover graphics are still tiny, which does look a little odd! Perhaps there's something in the Adwaita theme and this code which helps you? button.titlebutton.close { button.titlebutton.minimize { |
Do you know why Material decoration is not applied to Firefox on Wayland? Is it a known bug? |
Hi,
Is it possible to get the nice red rectangle on mouseover of the close button that Opera has on Linux, for the GTK theme?
I would like Firefox to have the same window decoration style as Opera.
The text was updated successfully, but these errors were encountered: