xfdesktop: GTK hack to draw the background of desktop icon names more like the original

Untested on high-DPI because I don't have such a setup to test with
This commit is contained in:
nulln 2022-07-23 17:09:46 +10:00
parent 149a54cc96
commit 95b7f9972f
1 changed files with 7 additions and 3 deletions

View File

@ -11,11 +11,15 @@
/* Xfdesktop */ /* Xfdesktop */
XfdesktopIconView.view { XfdesktopIconView.view {
background: @xfd_icon_backdrop; background-image: -gtk-gradient(linear, left top, right bottom, from (@xfd_icon_backdrop));
background-repeat: no-repeat;
background-position: 4px 4px;
background-size: calc(100% - 10px) calc(100% - 10px);
color: @selected_bg_color; color: @selected_bg_color;
border-radius: 0px; } border-radius: 0px;
background-color: rgba(0, 0, 0, 0)}
XfdesktopIconView.view:active { XfdesktopIconView.view:active {
background: @selected_bg_color; background-image: -gtk-gradient(linear, left top, right bottom, from (@selected_bg_color));
text-shadow: none; text-shadow: none;
color: shade(@selected_bg_color, 3.0); } color: shade(@selected_bg_color, 3.0); }
XfdesktopIconView.view .label { XfdesktopIconView.view .label {