From 25c6cbd29aff90f694d72afe28ab56b0113fb16a Mon Sep 17 00:00:00 2001 From: Guille Cura Date: Thu, 5 Jul 2018 02:37:43 -0300 Subject: Update stylesheets and added darkMode variable and toggle. --- src/styles/title-bar.scss | 35 ++++++++++++----------------------- 1 file changed, 12 insertions(+), 23 deletions(-) (limited to 'src/styles/title-bar.scss') diff --git a/src/styles/title-bar.scss b/src/styles/title-bar.scss index 5316f35b3..5c7b0bcdf 100644 --- a/src/styles/title-bar.scss +++ b/src/styles/title-bar.scss @@ -1,49 +1,38 @@ #electron-app-title-bar { background: $theme-gray-lightest; border-bottom: 0; - box-shadow: 0px 0 8px rgba(#000, 0.1); + box-shadow: 0 0 8px rgba(black, .1); - span { - line-height: normal; - } + span { line-height: normal; } - div { - height: auto; - } + div { height: auto; } .toolbar-dropdown { - &.open { - box-shadow: 0px 0 8px rgba(#000, 0.1); - } + &.open { box-shadow: 0 0 8px rgba(black, 0.1); } &:not(.open) { - .menu-item .menu-label { - opacity: 1; - } - - &>.toolbar-button > button:hover { - background: $theme-brand-primary; - } + .menu-item .menu-label { opacity: 1; } + > .toolbar-button > button:hover { background: $theme-brand-primary; } } } .list-item { .menu-item { - margin: 4px; border-radius: $theme-border-radius-small; + margin: 4px; } - &.selected, &.selected:focus { + + &.selected, + &.selected:focus { background: none; - .menu-item { - background: $theme-brand-primary; - } + .menu-item { background: $theme-brand-primary; } } } .menu-pane { - box-shadow: 0px 0 10px rgba(#000, 0.5); border-bottom-left-radius: $theme-border-radius-small; border-bottom-right-radius: $theme-border-radius-small; + box-shadow: 0 0 10px rgba(black, .5); } } -- cgit v1.2.3-54-g00ecf