Xfce Forum

Sub domains
 

You are not logged in.

#1 2023-09-04 21:09:29

gschwarz
Member
Registered: 2023-03-30
Posts: 10

XFCE4 panel: disabling thin bottom line when hovering over panel item?

When hovering with the mouse pointer over a panel item in an XFCE4 panel, a thin horizontal line is drawn underneath the item.
How can one get rid of that effect?
Where is it controlled? In the .css file (which one?) of the GUI appearance theme used?
Is there a guide on hacking/manipulating/customizing such themes/.css files?

Offline

#2 2023-09-04 22:09:07

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,055

Re: XFCE4 panel: disabling thin bottom line when hovering over panel item?

gschwarz wrote:

How can one get rid of that effect?

It would be theme-specific. What Appearance (GTK) theme are you using?

Where is it controlled? In the .css file (which one?) of the GUI appearance theme used?

Its controlled by the theme. Probably a "border" setting of some sort. It can be overridden using a css tweak.

Is there a guide on hacking/manipulating/customizing such themes/.css files?

There are posts/blogs/docs here and there. You could start here and see where it takes you.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2023-09-04 22:23:00

gschwarz
Member
Registered: 2023-03-30
Posts: 10

Re: XFCE4 panel: disabling thin bottom line when hovering over panel item?

Most themes I tried so far exhibit that behavior. Take Manjaro's standard theme of Matcha-sea, for example.

Offline

#4 2023-09-05 00:51:56

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,055

Re: XFCE4 panel: disabling thin bottom line when hovering over panel item?

Matcha-sea uses button box-shadow directives to create the underline. If you want to remove all of these underlines from xfce4-panel, add the following to ~/.config/gtk-3.0/gtk.css (create the file if it doesn't exist):

.xfce4-panel button:checked, .xfce4-panel button:hover {box-shadow: none}

...and restart the panel:

xfce4-panel -r

Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2023-09-05 18:56:47

gschwarz
Member
Registered: 2023-03-30
Posts: 10

Re: XFCE4 panel: disabling thin bottom line when hovering over panel item?

Thanks a lot. This does the trick. The most proper solution would be probably to create a slightly modified theme.

Offline

Board footer

Powered by FluxBB