From 5876be0d802f4a97eb84d4e5e87e38f3363e29c1 Mon Sep 17 00:00:00 2001 From: EliverLara Date: Mon, 1 Apr 2019 12:45:03 -0600 Subject: [PATCH] Fix popovers buttons issue --- gtk-3.0/gtk-dark.css | 4 ++++ gtk-3.0/gtk.css | 4 ++++ gtk-3.0/widgets/_buttons.scss | 5 ++++- 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/gtk-3.0/gtk-dark.css b/gtk-3.0/gtk-dark.css index 971bda6..2767324 100755 --- a/gtk-3.0/gtk-dark.css +++ b/gtk-3.0/gtk-dark.css @@ -288,6 +288,10 @@ button { notebook > header > tabs > arrow:hover:active, button.flat:hover:active { transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); } + notebook > header > tabs > arrow.image-button:hover, + button.flat.image-button:hover { + background-color: #00D3A7; + color: #fefefe; } notebook > header > tabs > arrow:hover, button:hover { color: #fefefe; diff --git a/gtk-3.0/gtk.css b/gtk-3.0/gtk.css index ad94cc4..5b5e667 100755 --- a/gtk-3.0/gtk.css +++ b/gtk-3.0/gtk.css @@ -288,6 +288,10 @@ button { notebook > header > tabs > arrow:hover:active, button.flat:hover:active { transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); } + notebook > header > tabs > arrow.image-button:hover, + button.flat.image-button:hover { + background-color: #00D3A7; + color: #fefefe; } notebook > header > tabs > arrow:hover, button:hover { color: #fefefe; diff --git a/gtk-3.0/widgets/_buttons.scss b/gtk-3.0/widgets/_buttons.scss index e6b2d49..7e20559 100644 --- a/gtk-3.0/widgets/_buttons.scss +++ b/gtk-3.0/widgets/_buttons.scss @@ -45,9 +45,12 @@ button { &:hover { transition: $button_transition; transition-duration: 500ms; - &:active { transition: $button_transition; } } + &.image-button:hover { + background-color: $selected_bg_color; + color: $selected_fg_color; + } } &:hover {