From e251ec64dced52854992181f28178df58a194cc9 Mon Sep 17 00:00:00 2001 From: Kazu Yokomizo Date: Wed, 12 Apr 2017 14:59:47 +0900 Subject: [PATCH] Fix the layout of SideNavFilter --- browser/components/SideNavFilter.styl | 6 ------ browser/components/StorageItem.styl | 3 ++- browser/styles/index.styl | 4 ++-- 3 files changed, 4 insertions(+), 9 deletions(-) diff --git a/browser/components/SideNavFilter.styl b/browser/components/SideNavFilter.styl index 50417002..b857308f 100644 --- a/browser/components/SideNavFilter.styl +++ b/browser/components/SideNavFilter.styl @@ -3,12 +3,6 @@ .menu-button navButtonColor() - &:active - background-color alpha($ui-button--active-backgroundColor, 20%) - color $ui-text-color - &:hover - background-color alpha($ui-button--active-backgroundColor, 20%) - color $ui-text-color height 32px padding 0 15px font-size 12px diff --git a/browser/components/StorageItem.styl b/browser/components/StorageItem.styl index 24b58d64..8d6602bf 100644 --- a/browser/components/StorageItem.styl +++ b/browser/components/StorageItem.styl @@ -18,7 +18,8 @@ margin-top 0 &:hover color $ui-text-color - background-color $ui-button--hover-backgroundColor + background-color alpha($ui-button--active-backgroundColor, 20%) + transition background-color 0.15s &:active color $ui-text-color background-color $ui-button--active-backgroundColor diff --git a/browser/styles/index.styl b/browser/styles/index.styl index da62c942..8452c8a2 100644 --- a/browser/styles/index.styl +++ b/browser/styles/index.styl @@ -129,9 +129,9 @@ navButtonColor() background-color transparent transition color background-color 0.15s &:hover - background-color $ui-button--hover-backgroundColor + background-color alpha($ui-button--active-backgroundColor, 20%) &:active, &:active:hover - background-color $ui-button--active-backgroundColor + background-color alpha($ui-button--active-backgroundColor, 20%) color $ui-button--active-color /**