From 108a0db7992ea52f33cbe7ba72918362ce22a0fe Mon Sep 17 00:00:00 2001 From: Kazu Yokomizo Date: Sat, 18 Nov 2017 16:21:31 +0900 Subject: [PATCH] Fix button layout when hover and active --- browser/main/SideNav/StorageItem.styl | 4 +--- browser/styles/index.styl | 2 -- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/browser/main/SideNav/StorageItem.styl b/browser/main/SideNav/StorageItem.styl index 95d58198..1f8f9ca7 100644 --- a/browser/main/SideNav/StorageItem.styl +++ b/browser/main/SideNav/StorageItem.styl @@ -67,7 +67,7 @@ .header-addFolderButton navButtonColor() position absolute - right 10px + right 7px width 25px height 25px padding 0 @@ -75,8 +75,6 @@ border-radius 50% &:hover transition 0.2s - background-color alpha($ui-button-default--hover-backgroundColor, 40%) - color $ui-text-color .root--folded @extend .root diff --git a/browser/styles/index.styl b/browser/styles/index.styl index fd98a3b8..04b3d849 100644 --- a/browser/styles/index.styl +++ b/browser/styles/index.styl @@ -145,11 +145,9 @@ navButtonColor() background-color transparent transition 0.15s &:hover - background-color alpha($ui-button-default--active-backgroundColor, 20%) transition 0.15s color $ui-button-default-color &:active, &:active:hover - background-color #1EC38B color $ui-button-default-color transition 0.15s