You are not logged in.
Pages: 1
Hi I'm try to change the color of the separator but I don't find a css selector for that.
I try to looking for around but I didn't find this information.
Thanks.
Last edited by clingonboy (2022-11-20 21:11:52)
Offline
The separator doesn't have a style class defined, so you'll need to first get the widget ID. To get this, go to Panel Preferences > Items tab and hover over the separator. It will be something like "separator-16". So:
#separator-16 { color: red }
...should do the trick.
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
The separator doesn't have a style class defined, so you'll need to first get the widget ID. To get this, go to Panel Preferences > Items tab and hover over the separator. It will be something like "separator-16". So:
#separator-16 { color: red }
...should do the trick.
It works it is incredible.
How you know all this thinks
Offline
Only one last thing on this. I see the repository for the Panel plugins here https://gitlab.xfce.org/panel-plugins?page=1 but there is not the separator in there.
Where is it ?
EDIT sorry I find it https://gitlab.xfce.org/xfce/xfce4-pane … /separator
Last edited by clingonboy (2022-11-20 22:09:24)
Offline
Yes, the separator is considered an "internal plugin" and is packaged with xfce4-panel.
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
perhaps the separator is not really plugging in like plugins normally do but is internally just an exception to how the panel positions plugins. maybe you use this as an opportunity to learn how to make your own plugins by making one that does nothing but color itself and set its width. or you could make one that puts text or an image in there. that's something a separator cannot do.
if it is told what file to show, that file could be text or an image.
Offline
Pages: 1
[ Generated in 0.012 seconds, 7 queries executed - Memory usage: 531.86 KiB (Peak: 532.7 KiB) ]