Xfce Forum

Sub domains
 

You are not logged in.

#1 2019-10-08 10:07:45

dc_coder_84
Member
Registered: 2015-05-31
Posts: 20

Styling of xfce4-session-logout

Hi there,

since Xubuntu 19.10 beta the xfce4-session-logout program has a bright gui theme. Previously it was dark with the Numix theme. When I set gtk-application-prefer-dark-theme from GtkSettings with the Gtk Inspector to true then everything looks fine. Has any body an idea how to make this permanent only for this little program? xfce4-session-logout has a bright gui even when I select a dark theme like "Adwaita dark".

Many thanks,
dc_coder_84

Offline

#2 2019-10-08 10:55:00

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: Styling of xfce4-session-logout

That is probably a bug. You should let the Xubuntu team know. Here is some sample code to affect the elements on the logout dialog:

.xfsm-logout-dialog {
	-gtk-icon-theme: "Vibrancy-Colors-Dark";
	
 	min-width: 20px;
 	min-height: 25px;
  	margin-top: 2px;
  	padding-bottom: 3px;
  	padding-left: 6px;
  	padding-right: 6px;
  	color: #eeeeec;
  	background-color: #393f3f;
  	border: 1px solid;
  	border-color: #393f3f;
  	border-radius: 5px;
  	font-size: smaller; 
}

.xfsm-logout-dialog button {
	background-image: none;
   	color: #eeeeec;
  	background-color: #393f3f;
  	border: 1px solid;
  	border-color: #393f3f;
}

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 2019-10-08 13:21:54

dc_coder_84
Member
Registered: 2015-05-31
Posts: 20

Re: Styling of xfce4-session-logout

Okay, many thanks.
I've done that: https://bugzilla.xfce.org/show_bug.cgi?id=16018

Offline

#4 2019-10-08 16:31:28

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: Styling of xfce4-session-logout

Sorry, I might not have been clear. I found the previous bug report for this issue. It was fixed and released with xfce4-session 4.13.4. I can confirm that it works properly now and I am running 4.14.

Can you confirm which version is installed in Xubuntu 19.04? If it is 4.14, you might need to create a xubuntu (launchpad) bug report because something else might be happening there.


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 2019-10-08 21:54:00

dc_coder_84
Member
Registered: 2015-05-31
Posts: 20

Re: Styling of xfce4-session-logout

I have the beta installed of Xubuntu 19.10 which comes with Xfce 4.14.

Offline

#6 2019-10-09 09:24:58

dc_coder_84
Member
Registered: 2015-05-31
Posts: 20

Re: Styling of xfce4-session-logout

I tried to mimic the dark gui which I have when I set gtk-application-prefer-dark-theme to true within the Gtk inspector. Here is my code:

/* dark theme for xfce4-session-logout */
.xfsm-logout-dialog {
	color: #eeeeec;
	background-color: #333333;
	border-width: 0px;
	box-shadow: none;
}

.xfsm-logout-dialog button {
	color: #eeeeec;
	background-color: #626262;
}

.xfsm-logout-dialog button:hover, .xfsm-logout-dialog button:focus {
	background-color: #767676;
}

The only little piece I couldn't find is how to make the checkbox dark.

Offline

#7 2019-10-09 22:37:31

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: Styling of xfce4-session-logout

I don't have time to test this right now, but you should be able to use something like ".xfsm-logout-dialog check { }" to access the checkbox.


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

#8 2019-10-11 07:48:59

dc_coder_84
Member
Registered: 2015-05-31
Posts: 20

Re: Styling of xfce4-session-logout

It's not that important. We shouldn't be nit-picking here. Anyway, thank you for your help smile

Offline

Board footer

Powered by FluxBB