Xfce Forum

Sub domains
 

You are not logged in.

#1 2021-08-21 23:02:32

File Manager
Member
Registered: 2019-11-01
Posts: 62

Theming Xfce Log Out dialog

I'm using Xfce 4.14 with Mint X theme. It lacks visual button confirmation when navigating the Xfce Log Out dialog with a keyboard. There is no indication what button will be pressed when pressing Enter. The Shut Down dialog in MATE has button outline/contour with the same theme.

Is there a way to create some form of button outline for the Xfce Log Out dialog that highlights active button when using keyboard?

Offline

#2 2021-08-22 00:42:15

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

Re: Theming Xfce Log Out dialog

The element that you want to target is:

.xfsm-logout-dialog button:focused

Try this in ~/.config/gtk-3.0/gtk.css:

.xfsm-logout-dialog button:focused { 
	border-color: rgb(154,184,124);
	box-shadow: 0 1px rgb(154,184,124);
}

...should make it look similar to a regular button in Mint-X.


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 2021-08-22 16:27:09

File Manager
Member
Registered: 2019-11-01
Posts: 62

Re: Theming Xfce Log Out dialog

ToZ wrote:

The element that you want to target is:

.xfsm-logout-dialog button:focused

Try this in ~/.config/gtk-3.0/gtk.css:

.xfsm-logout-dialog button:focused { 
	border-color: rgb(154,184,124);
	box-shadow: 0 1px rgb(154,184,124);
}

...should make it look similar to a regular button in Mint-X.


Thanks ToZ. I appreciate it. It works. smile

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.012 seconds, 9 queries executed - Memory usage: 523.65 KiB (Peak: 524.49 KiB) ]