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
Moderator
From: Canada
Registered: 2011-06-02
Posts: 3,898

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;
}

How To Ask For Help           Xfce FAQ                            Xfce Release Information
The Xfce Community          Xfce Tips and Tricks

Online

#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
Moderator
From: Canada
Registered: 2011-06-02
Posts: 3,898

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;
}

How To Ask For Help           Xfce FAQ                            Xfce Release Information
The Xfce Community          Xfce Tips and Tricks

Online

Board footer

Powered by FluxBB