From 7254e08542167c9e268f6e20492cd2e24ba9289c Mon Sep 17 00:00:00 2001 From: Csaba Jakosa Date: Fri, 21 Oct 2016 20:26:22 +0200 Subject: [PATCH] WebkitGtk Workaround. Fixes #572 The regression came with webkitgtk-2.4.10 where activate button state doesn't paint label color. This fixes the issue. --- src/gtk-3.0/scss/widgets/_button.scss | 5 +++++ src/gtk-3.20/scss/widgets/_button.scss | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/src/gtk-3.0/scss/widgets/_button.scss b/src/gtk-3.0/scss/widgets/_button.scss index 9fa40e3..11c2801 100644 --- a/src/gtk-3.0/scss/widgets/_button.scss +++ b/src/gtk-3.0/scss/widgets/_button.scss @@ -184,6 +184,11 @@ } } + // Fixed: https://github.com/numixproject/numix-gtk-theme/issues/572 + // Webkitgtk workaround start + &:active { color: $fg; } + // Webkitgtk workaround end + &.flat { &:insensitive:insensitive { background-color: transparent; diff --git a/src/gtk-3.20/scss/widgets/_button.scss b/src/gtk-3.20/scss/widgets/_button.scss index a4cd284..c67a247 100644 --- a/src/gtk-3.20/scss/widgets/_button.scss +++ b/src/gtk-3.20/scss/widgets/_button.scss @@ -334,6 +334,11 @@ } } + // Fixed: https://github.com/numixproject/numix-gtk-theme/issues/572 + // Webkitgtk workaround start + &:active { color: $fg; } + // Webkitgtk workaround end + &.flat { &:disabled:disabled { background-color: transparent;