From a5938422658f04997385dc43219fa9c15760e3b3 Mon Sep 17 00:00:00 2001 From: yosmoc Date: Wed, 23 May 2018 22:49:52 +0200 Subject: [PATCH] standardrize sidebar tooltips - show in same place - same height --- browser/components/SideNavFilter.styl | 5 ++--- browser/components/StorageItem.styl | 4 ++-- browser/main/SideNav/StorageItem.styl | 6 +++--- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/browser/components/SideNavFilter.styl b/browser/components/SideNavFilter.styl index c1b378b8..c9dbd861 100644 --- a/browser/components/SideNavFilter.styl +++ b/browser/components/SideNavFilter.styl @@ -18,7 +18,7 @@ .iconWrap width 20px text-align center - + .counters float right color $ui-inactive-text-color @@ -68,10 +68,9 @@ .menu-button-label position fixed display inline-block - height 32px + height 36px left 44px padding 0 10px - margin-top -8px margin-left 0 overflow ellipsis z-index 10 diff --git a/browser/components/StorageItem.styl b/browser/components/StorageItem.styl index ece97008..0a1b4525 100644 --- a/browser/components/StorageItem.styl +++ b/browser/components/StorageItem.styl @@ -58,8 +58,8 @@ opacity 0 border-top-right-radius 2px border-bottom-right-radius 2px - height 26px - line-height 26px + height 34px + line-height 32px .folderList-item:hover, .folderList-item--active:hover .folderList-item-tooltip diff --git a/browser/main/SideNav/StorageItem.styl b/browser/main/SideNav/StorageItem.styl index 619498ec..a06ecb11 100644 --- a/browser/main/SideNav/StorageItem.styl +++ b/browser/main/SideNav/StorageItem.styl @@ -44,7 +44,7 @@ height 36px padding-left 25px padding-right 15px - line-height 22px + line-height 36px cursor pointer font-size 14px border none @@ -147,7 +147,7 @@ body[data-theme="dark"] background-color $ui-dark-button--active-backgroundColor &:active color $ui-dark-text-color - background-color $ui-dark-button--active-backgroundColor + background-color $ui-dark-button--active-backgroundColor .header--active .header-addFolderButton @@ -180,7 +180,7 @@ body[data-theme="dark"] &:active, &:active:hover color $ui-dark-text-color background-color $ui-dark-button--active-backgroundColor - +