From bf02f9b2566bb9aa0db5ded433104e188dadc1cc Mon Sep 17 00:00:00 2001 From: Kazu Yokomizo Date: Fri, 21 Apr 2017 13:45:04 +0900 Subject: [PATCH 01/10] modify: Fix the layout of new-post-btn and status-bar --- browser/main/Detail/Detail.styl | 4 ---- browser/main/StatusBar/StatusBar.styl | 4 ++++ browser/main/TopBar/TopBar.styl | 8 ++++++-- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/browser/main/Detail/Detail.styl b/browser/main/Detail/Detail.styl index 11f1edcc..81b3e08c 100644 --- a/browser/main/Detail/Detail.styl +++ b/browser/main/Detail/Detail.styl @@ -1,8 +1,5 @@ .root absolute top bottom right - border-width 1px 0 - border-style solid - border-color $ui-borderColor .empty height 320px @@ -18,7 +15,6 @@ body[data-theme="dark"] .root - border-color $ui-dark-borderColor background-color $ui-dark-backgroundColor .empty-message color $ui-dark-inactive-text-color diff --git a/browser/main/StatusBar/StatusBar.styl b/browser/main/StatusBar/StatusBar.styl index 027f6d1d..fdbc235c 100644 --- a/browser/main/StatusBar/StatusBar.styl +++ b/browser/main/StatusBar/StatusBar.styl @@ -44,6 +44,10 @@ body[data-theme="dark"] .zoom border-color $ui-dark-borderColor + &:hover + background-color alpha($ui-dark-button--active-backgroundColor, 20%) + transition 0.15s + color $ui-dark-text-color .help navButtonColor() diff --git a/browser/main/TopBar/TopBar.styl b/browser/main/TopBar/TopBar.styl index cb1aae31..9ccdf936 100644 --- a/browser/main/TopBar/TopBar.styl +++ b/browser/main/TopBar/TopBar.styl @@ -145,7 +145,7 @@ body[data-theme="dark"] .control-search-optionList-item border-color $ui-dark-borderColor &:hover - background-color lighten($ui-dark-button--hover-backgroundColor, 15%) + background-color alpha($ui-dark-button--active-backgroundColor, 20%) .control-search-optionList-item-folder color $ui-dark-text-color .control-search-optionList-item-folder-surfix @@ -160,10 +160,14 @@ body[data-theme="dark"] color $ui-inactive-text-color .control-newPostButton - colorDarkDefaultButton() + color $ui-inactive-text-color border-color $ui-dark-borderColor background-color $ui-dark-noteList-backgroundColor + &:hover + transition 0.15s + color $ui-dark-text-color &:active + background-color alpha($ui-dark-button--active-backgroundColor, 20%) border-color $ui-dark-button--active-backgroundColor .control-newPostButton-tooltip From b22aad06787570aab6e8d20df044cffb71140ddd Mon Sep 17 00:00:00 2001 From: Kazu Yokomizo Date: Fri, 21 Apr 2017 14:02:48 +0900 Subject: [PATCH 02/10] modify: Fix the navtoggle-btn layout --- browser/main/SideNav/SideNav.styl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/browser/main/SideNav/SideNav.styl b/browser/main/SideNav/SideNav.styl index 353e5d70..349079e6 100644 --- a/browser/main/SideNav/SideNav.styl +++ b/browser/main/SideNav/SideNav.styl @@ -122,3 +122,9 @@ body[data-theme="dark"] .storageList-empty color $ui-dark-inactive-text-color + + .navToggle + &:hover + background-color alpha($ui-dark-button--active-backgroundColor, 20%) + transition 0.15s + color $ui-dark-text-color \ No newline at end of file From de303cf072e7fc68291eecd863956f94c872cfe7 Mon Sep 17 00:00:00 2001 From: Kazu Yokomizo Date: Fri, 21 Apr 2017 14:20:21 +0900 Subject: [PATCH 03/10] modify: Fix the sort-by-btn layout --- browser/main/NoteList/NoteList.styl | 11 ++++++----- browser/main/NoteList/index.js | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/browser/main/NoteList/NoteList.styl b/browser/main/NoteList/NoteList.styl index d4e68574..572a66c3 100644 --- a/browser/main/NoteList/NoteList.styl +++ b/browser/main/NoteList/NoteList.styl @@ -20,8 +20,8 @@ $control-height = 30px padding-left 25px .control-sortBy-select - margin-left 0 - font-size 12px + appearance: none; + margin-left 3px color $ui-inactive-text-color padding 0 border none @@ -58,13 +58,14 @@ body[data-theme="dark"] border-color $ui-dark-borderColor background-color $ui-dark-noteList-backgroundColor - .control - background-color $ui-dark-noteList-backgroundColor - .control background-color $ui-dark-noteList-backgroundColor border-color $ui-dark-borderColor + .control-sortBy-select + &:hover + background-color white + .control-button color $ui-dark-inactive-text-color &:hover diff --git a/browser/main/NoteList/index.js b/browser/main/NoteList/index.js index c6d3464c..b296bc5a 100644 --- a/browser/main/NoteList/index.js +++ b/browser/main/NoteList/index.js @@ -404,7 +404,7 @@ class NoteList extends React.Component { >
- Sort by +