From 3d37db6e541a40c254ab37051027843a4660d55c Mon Sep 17 00:00:00 2001 From: Kazu Yokomizo Date: Fri, 21 Apr 2017 14:33:16 +0900 Subject: [PATCH] modify: Fix the hover layout at SideNav --- browser/styles/index.styl | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/browser/styles/index.styl b/browser/styles/index.styl index 84deb0be..49371436 100644 --- a/browser/styles/index.styl +++ b/browser/styles/index.styl @@ -127,15 +127,15 @@ navButtonColor() border none color $ui-button-color background-color transparent - transition color background-color 0.15s + transition 0.15s &:hover background-color alpha($ui-button--active-backgroundColor, 20%) - transition color background-color 0.15s + transition 0.15s color $ui-text-color &:active, &:active:hover background-color $ui-button--active-backgroundColor color $ui-text-color - transition color background-color 0.15s + transition 0.15s /** * # Modal Stuff * These will be moved lib/modal @@ -217,12 +217,14 @@ navDarkButtonColor() border none color $ui-dark-button-color background-color transparent - transition color background-color 0.15s + transition 0.15s &:hover color $ui-dark-text-color background-color $ui-dark-button--hover-backgroundColor + transition 0.15s &:active &:active:hover + transition 0.15s color $ui-dark-text-color topBarButtonDark()