You are not logged in.
Pages: 1
I tried for a year now to stylize the window count buttons for Doocklike and I cannot figure how. This tutorial does not work https://docs.xfce.org/panel-plugins/xfc … rt#theming . I tried multiple selectors, nothing seems to work. The default indicators are white and on light icons they are invisible. It would be good to have them on some background.
Any help is greatly appreciated!
Offline
Those settings work for me. Which version of the docklike plugin are you running? I'm on 0.4.1git
To change the colour of the window count label, the following works for me:
#docklike-plugin .window_count {color: red;}
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
Yes I was trying now.
#docklike-plugin .group .window_count {font-size:20px;
color: white;
text-shadow: 2px 0 #000, -2px 0 #000, 0 2px #000, 0 -2px #000,
2px 0 #000, -2px 0 #000, 0 2px #000, 0 -2px #000,
1px 1px #000, -1px -1px #000, 1px -1px #000, -1px 1px #000,
1px 1px #000, -1px -1px #000, 1px -1px #000, -1px 1px #000;
}
That looks decent however the issue was always that I cannot add say a background behind the text to make it more visible since #docklike-plugin .group .window_count is the selector for the text holder so it will be applied to all icons...
I am struggling to find a way to only select the label and not the label holder.
Last edited by Tio (2023-08-04 00:07:38)
Offline
That looks decent however the issue was always that I cannot add say a background behind the text to make it more visible since #docklike-plugin .group .window_count is the selector for the text holder so it will be applied to all icons...
I see what you're saying. The icons that don't have the label still have a sliver of the background showing. I can get rid of that by forcing a margin:
#docklike-plugin .group .window_count {font-size:20px;
color: white;
text-shadow: 2px 0 #000, -2px 0 #000, 0 2px #000, 0 -2px #000,
2px 0 #000, -2px 0 #000, 0 2px #000, 0 -2px #000,
1px 1px #000, -1px -1px #000, 1px -1px #000, -1px 1px #000,
1px 1px #000, -1px -1px #000, 1px -1px #000, -1px 1px #000;
background: blue; margin-right: 1px;
}
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
Thanks. Indeed. However if you leave at that is not very helpful it needs some padding and perhaps round edges or something to make it stand out. If you do that the the background will immediately become obvious for all icons. See https://files.trom.tf/s/CETYXEwtrmEy8Hx
I think it the elements may not be very well defined for docklike. I would expect to be able to only theme the number of opened windows text...
Offline
Yeah. The fact that the .window_count style element exists for single windows is the issue here. It would need to be fixed in the code.
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
Yup. For now adding a shadow to the text seems to improve it a lot. https://gitlab.xfce.org/panel-plugins/x … note_77585
Thanks for your input as always!
Offline
Pages: 1
[ Generated in 0.009 seconds, 7 queries executed - Memory usage: 546.79 KiB (Peak: 547.63 KiB) ]