Xfce Forum

Sub domains
 

You are not logged in.

#1 2017-03-22 10:36:43

xfcefan
Member
Registered: 2017-03-21
Posts: 10

A Question of XFCE-Plugin styling

Hello,

I'm using Antergos-XFCE with the Numix-Frost-Theme. i've made some customization in the gtkrc-file.
But now i have a problem with the look of the

netload-plugin
and the
systemload-plugin.

The Background of the bars are white. How can i change this to another colour?

Thank you for your help!

Offline

#2 2017-03-22 12:30:13

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

Re: A Question of XFCE-Plugin styling

You can change the colours of the trough using:

progressbar trough {
   background-color: #ff0000;
}

...or to make it transparent:

progressbar trough {
   background-color: transparent;
}

To change the colour of the progress bar itself, you would use:

progressbar progress {
   background-color: #0000ff;
}

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 2017-03-22 12:45:22

xfcefan
Member
Registered: 2017-03-21
Posts: 10

Re: A Question of XFCE-Plugin styling

Thank you very much ToZ. It looks much more better.

Offline

#4 2017-03-22 13:24:52

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

Re: A Question of XFCE-Plugin styling

You should probably add ".xfce4-panel" to the beginning of those statements so the changes only affect xfce4-panel plugins (otherwise it will affect all GTK3 progress bars). It would look something like:

.xfce4-panel progressbar trough {
   background-color: #ff0000;
}

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

Board footer

Powered by FluxBB