From d6ea85329d6dd84afaf9603e860a6ba1c0ddda8b Mon Sep 17 00:00:00 2001 From: Stefan Malzner Date: Fri, 16 Nov 2018 21:20:59 +0100 Subject: Add windows title bar dark mode styling & add titlebar to auth --- src/styles/title-bar.scss | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) (limited to 'src/styles/title-bar.scss') diff --git a/src/styles/title-bar.scss b/src/styles/title-bar.scss index 5c7b0bcdf..885eb94c4 100644 --- a/src/styles/title-bar.scss +++ b/src/styles/title-bar.scss @@ -1,3 +1,45 @@ +@import './config.scss'; + +.theme__dark #electron-app-title-bar { + background: $dark-theme-gray-darker; + + .toolbar-dropdown { + &.open > .toolbar-button > button { + background: $dark-theme-gray-light; + color: $dark-theme-gray-lightest; + } + + &:not(.open) { + .menu-item .menu-label { opacity: 1; } + > .toolbar-button > button:hover { + background: $dark-theme-gray-darkest; + } + } + } + + #app-menu-bar #foldout-container .foldout { + color: $dark-theme-gray-lightest; + + .menu-pane { + background: $dark-theme-gray-light; + + .menu-item { + .accelerator { + color: lighten($dark-theme-gray-light, 20%); + } + } + + hr { + border-color: $dark-theme-gray-lighter; + } + } + } + + .list .ReactVirtualized__Grid { + background: $dark-theme-gray-light; + } +} + #electron-app-title-bar { background: $theme-gray-lightest; border-bottom: 0; -- cgit v1.2.3-70-g09d2