Xfce Forum

Sub domains
 

You are not logged in.

#1 2019-01-22 08:33:18

k-3.14
Member
From: Rhineland
Registered: 2017-02-18
Posts: 156

Issue with text color in plugin

I have this issue with the xfce4-clipman-plugin and datetime plugin on Linux Mint 19.1 on a dark wallpaper.

EIOwI2Cl.png

0FHDokgl.png

Changing in ~$ /.config/gtk-3.0/gtk.css

#datetime-21* {
   color: #FFFFFF;
}

to

#datetime-21* {
   color: #000000;
}

gives me that effect.

Any way to overcome this?

Offline

#2 2019-01-22 13:37:22

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

Re: Issue with text color in plugin

By specifying everything (*) below the widget name your snippet also affects the menu. To focus only on the button widget itself, use:

#datetime-21>button {
   color: #FFFFFF;
}

Note: you can also use:

#xfce-panel-toggle-button { color: #FFFFFF; }

A number of xfce4-panel plugins use a toggle button that has this widget name - so you might be able to affect more than just one plugin. Plus you don't need to know the actual plugin ID value.


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-01-23 06:31:49

k-3.14
Member
From: Rhineland
Registered: 2017-02-18
Posts: 156

Re: Issue with text color in plugin

Helpful as every time.

Thank you very much, ToZ.

br

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.006 seconds, 7 queries executed - Memory usage: 522.4 KiB (Peak: 528.59 KiB) ]