paullinuxthemer / Mc-OS-themes

Mac OS-themes for the Linux-Gnome desktop
GNU General Public License v2.0
592 stars 115 forks source link

Active item not highlighted when cycling windows (ALT-TAB, xfwm-tabwin) #62

Open muello opened 3 years ago

muello commented 3 years ago

Thanks for putting so much work into a beautiful theme.

One issue that came up on my install of Mc-OS-CTLina-XFCE-Dark: when I press ALT-TAB to cycle through open windows, the popup is uniformly grey. The only thing showing which item is currently active is the text underneath:

tabwin-default

When xfwm is set to cycle through windows in a list, distinguishing the active item becomes entirely impossible:

tabwin-list

Do other people have this issue?

In case anyone finds it useful, my hacky workaround has been to add the following to gtk-3.0/gtk.css

/* Muello's tabwin hack */ /* mostly adapted from Greybird-dark-mx/gtk-3.0/gtk.css */ /* Xfwm4's alt-tab dialog, aka "tabwin" */

/* The containing popup*/ #xfwm-tabwin { padding: 12px; background-image: none; background-color: rgba(90, 90, 90, 0.95); color: shade(#ffffff, 0.65); text-shadow: 0px 1px rgba(90, 90, 90, 0.95); border-radius: 12px; /* Set the application icon- and preview-size to 64px */ -XfwmTabwinWidget-icon-size: 64px; -XfwmTabwinWidget-preview-size: 64px; }

/*item labels (except in list mode, they only show when active or hovering)*/ #xfwm-tabwin button { background-image: none; /* color: #ffffff; /* font-weight: bold; text-shadow: 0px 1px rgba(0, 0, 0, 0.8); */ border: 1px; border-radius: 4px; }

/*background of item currently focused ("active")*/ #xfwm-tabwin button:active, #xfwm-tabwin button:checked, #xfwm-tabwin button:active:hover, #xfwm-tabwin button:checked:hover { background: rgba(157, 163, 163, 0.8); box-shadow: 1px 1px rgba(80, 80, 80, 0.2); }

/* mouse hover*/ #xfwm-tabwin button:hover { background: rgba(50,105,164,0.96) /*#0c3764*/; transition-duration: 50ms; }

The results:

tabwin-default_hacked

tabwin-list_hacked