diff options
author | Stefan Malzner <stefan@adlk.io> | 2018-03-03 21:20:56 +0100 |
---|---|---|
committer | Stefan Malzner <stefan@adlk.io> | 2018-03-03 21:20:56 +0100 |
commit | a17cfb35f45930a6e19e50a27935dbc6544872d7 (patch) | |
tree | 6d5397cf44a49d8f79b6889b69aac3fb9619e2c2 /src | |
parent | REMOVE autoHideMenuBar for Windows (diff) | |
download | ferdium-app-a17cfb35f45930a6e19e50a27935dbc6544872d7.tar.gz ferdium-app-a17cfb35f45930a6e19e50a27935dbc6544872d7.tar.zst ferdium-app-a17cfb35f45930a6e19e50a27935dbc6544872d7.zip |
Finalize titlebar styling
Diffstat (limited to 'src')
-rw-r--r-- | src/styles/title-bar.scss | 53 |
1 files changed, 48 insertions, 5 deletions
diff --git a/src/styles/title-bar.scss b/src/styles/title-bar.scss index 67bf97008..492245e2f 100644 --- a/src/styles/title-bar.scss +++ b/src/styles/title-bar.scss | |||
@@ -1,7 +1,50 @@ | |||
1 | #electron-app-title-bar span { | 1 | #electron-app-title-bar { |
2 | line-height: normal; | 2 | background: $theme-gray-lightest; |
3 | } | 3 | border-bottom: 0; |
4 | box-shadow: 0px 0 8px rgba(#000, 0.1); | ||
5 | |||
6 | span { | ||
7 | line-height: normal; | ||
8 | } | ||
9 | |||
10 | div { | ||
11 | height: auto; | ||
12 | } | ||
13 | |||
14 | .toolbar-dropdown { | ||
15 | &.open { | ||
16 | box-shadow: 0px 0 8px rgba(#000, 0.1); | ||
17 | } | ||
18 | |||
19 | &:not(.open) { | ||
20 | .menu-item .menu-label { | ||
21 | opacity: 1; | ||
22 | } | ||
23 | |||
24 | &>.toolbar-button > button:hover { | ||
25 | background: $theme-brand-primary; | ||
26 | } | ||
27 | } | ||
28 | } | ||
29 | |||
30 | .list-item { | ||
31 | .menu-item { | ||
32 | margin: 4px; | ||
33 | border-radius: $theme-border-radius-small; | ||
34 | } | ||
35 | &.selected { | ||
36 | // background: $theme-brand-primary; | ||
37 | background: none; | ||
38 | |||
39 | .menu-item { | ||
40 | background: $theme-brand-primary; | ||
41 | } | ||
42 | } | ||
43 | } | ||
4 | 44 | ||
5 | #electron-app-title-bar div { | 45 | .menu-pane { |
6 | height: auto; | 46 | box-shadow: 0px 0 10px rgba(#000, 0.5); |
47 | border-bottom-left-radius: $theme-border-radius-small; | ||
48 | border-bottom-right-radius: $theme-border-radius-small; | ||
49 | } | ||
7 | } | 50 | } |