From 1e7cce9056bf61c51a33d3476870df4da5f2e60d Mon Sep 17 00:00:00 2001 From: Rokt33r Date: Tue, 3 May 2016 23:05:44 +0900 Subject: [PATCH] update style of SideNav --- browser/main/HomePage/SideNav/RepositorySection.styl | 12 +++++++++++- browser/main/HomePage/SideNav/SideNav.styl | 3 +-- browser/styles/index.styl | 6 ++++++ 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/browser/main/HomePage/SideNav/RepositorySection.styl b/browser/main/HomePage/SideNav/RepositorySection.styl index 6f7659d6..9bc95ca4 100644 --- a/browser/main/HomePage/SideNav/RepositorySection.styl +++ b/browser/main/HomePage/SideNav/RepositorySection.styl @@ -9,6 +9,8 @@ cursor pointer &:hover background-color alpha(white, 0.1) + .header-control-button + opacity 1 .header-name position absolute @@ -36,6 +38,7 @@ border-radius 5px background-color transparent color $nav-inactive-color + opacity 0 &:hover color white background-color alpha(white, 0.1) @@ -43,13 +46,19 @@ color white background-color $brand-color +.header-control-button--show + @extend .header-control-button + opacity 1 + .folder height 33px width 100% position relative cursor pointer &:hover - background-color alpha(white 0.1) + background-color alpha(white, 0.1) + .folder-control + opacity 1 .folder-label position absolute @@ -62,6 +71,7 @@ color white .folder-control + opacity 0 position absolute top 0 bottom 0 diff --git a/browser/main/HomePage/SideNav/SideNav.styl b/browser/main/HomePage/SideNav/SideNav.styl index 2b881bf1..1b67b6e8 100644 --- a/browser/main/HomePage/SideNav/SideNav.styl +++ b/browser/main/HomePage/SideNav/SideNav.styl @@ -41,9 +41,8 @@ background-color $brand-color .repositoryList - absolute left right + absolute left right bottom top 167px - bottom 33px overflow-y auto .repositoryList-empty diff --git a/browser/styles/index.styl b/browser/styles/index.styl index e2e64b02..f39991a1 100644 --- a/browser/styles/index.styl +++ b/browser/styles/index.styl @@ -46,6 +46,12 @@ colorPrimaryButton() &:active:hover background-color $primary-button-background--active +/** +* Input +*/ + +$disabled-input-background = #DDD + /** * Nav */