From 12f6457901bafaef767bf60cd86d74ae583ca4ac Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Fri, 11 Sep 2015 22:08:41 +0200 Subject: fix flat button transition --- common/gtk-3.0/3.14/sass/_common.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'common/gtk-3.0/3.14/sass') diff --git a/common/gtk-3.0/3.14/sass/_common.scss b/common/gtk-3.0/3.14/sass/_common.scss index eda6e01..6a7ed8a 100644 --- a/common/gtk-3.0/3.14/sass/_common.scss +++ b/common/gtk-3.0/3.14/sass/_common.scss @@ -398,7 +398,8 @@ $_dot_color: $selected_bg_color; &.flat { @include button(undecorated); - background-color: transparentize($bg_color, 1); + background-color: transparentize($button_bg, 1); + border-color: transparentize($button_border, 1); // to avoid adiacent buttons borders clashing when transitioning, the transition on the normal state is set // to none, while it's added back in the hover state, so the button decoration will fade in on hover, but // it won't fade out when the pointer leave the button allocation area. To make the transition more evident -- cgit v1.2.3