diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2018-10-12 20:43:27 +0200 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2018-10-18 13:44:10 +0200 |
commit | b62a48b2cd43a5950e842aa6cbb4c2f1c7f1b05b (patch) | |
tree | 27a3e1c9afa2bf6be0a4af70677e2eaa2186bdc4 /core | |
parent | d979da3755bc271b6d60c952fd67bd7125a38e92 (diff) | |
download | nextcloud-server-b62a48b2cd43a5950e842aa6cbb4c2f1c7f1b05b.tar.gz nextcloud-server-b62a48b2cd43a5950e842aa6cbb4c2f1c7f1b05b.zip |
Add back slightly translucent background for controls bar
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'core')
-rw-r--r-- | core/css/css-variables.scss | 1 | ||||
-rw-r--r-- | core/css/styles.scss | 2 | ||||
-rw-r--r-- | core/css/variables.scss | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/core/css/css-variables.scss b/core/css/css-variables.scss index 058e018b415..825345aae2d 100644 --- a/core/css/css-variables.scss +++ b/core/css/css-variables.scss @@ -5,6 +5,7 @@ :root { --color-main-text: $color-main-text; --color-main-background: $color-main-background; + --color-main-background-translucent: $color-main-background-translucent; --color-background-dark: $color-background-dark; --color-background-darker: $color-background-darker; diff --git a/core/css/styles.scss b/core/css/styles.scss index dc217fb8f22..612fd779fcc 100644 --- a/core/css/styles.scss +++ b/core/css/styles.scss @@ -167,7 +167,7 @@ body { height: 44px; padding: 0; margin: 0; - background-color: var(--color-main-background); + background-color: var(--color-main-background-translucent); z-index: 60; -webkit-user-select: none; -moz-user-select: none; diff --git a/core/css/variables.scss b/core/css/variables.scss index 8617c6e27d0..55eac440db6 100644 --- a/core/css/variables.scss +++ b/core/css/variables.scss @@ -33,6 +33,7 @@ // DEPRECATED, please use CSS4 vars $color-main-text: #000 !default; $color-main-background: #fff !default; +$color-main-background-translucent: hsla(0, 100%, 100%, .97) !default; // used for different active/disabled states $color-background-dark: nc-darken($color-main-background, 7%) !default; |