[Regression] The style in gtk-main.css of the notes window affects the button style in the xfce4-panel (background), which is hardcoded and cannot be changed
Plugin version: 1.9.0
I upgraded xfce4 from 4.16 to 4.18 and noticed that the button background is always orange no matter what I change.
2 hours of digging in the GTK3 inspector paid off (because I didn't notice it):
Replacing window
with #notes-window
in gtk-main.css (located at /usr/share/xfce4-notes-plugin/gtk-3.0/gtk-main.css
) fixed the issue completely without breaking the notes window.
/* window and frame */
#notes-window {
background-image: linear-gradient(to bottom,
shade (@theme_base_color, 0.8),
shade (@theme_base_color, 0.95) 87px);
}
#notes-window frame {
padding: 1px 2px 4px 2px;
border: 1px solid shade (@theme_base_color, 0.7);
}
/* icon buttons in window title bar */
#notes-window widget#notes-icon-button {
color: black;
background-color: transparent;
}
#notes-window widget#notes-icon-button:active {
color: darker (@theme_fg_color);
text-shadow: 1px 1px lighter (@theme_bg_color);
}
#notes-window widget#notes-icon-button:disabled {
color: shade (@insensitive_fg_color, 1.2);
}
#notes-window widget#notes-icon-button:hover {
color: shade (@insensitive_fg_color, 0.8);
}