aboutsummaryrefslogtreecommitdiffstats
path: root/core/css/header.scss
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-09-05 18:50:33 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-09-23 18:15:56 +0200
commit9fafe737bcb633a350a6233d5e01c9ed2920500f (patch)
tree3dca9f68297703f39fbb6e799bc1aee9fa7fbd56 /core/css/header.scss
parente336283a4860b1e4e498968980905105711a6776 (diff)
downloadnextcloud-server-9fafe737bcb633a350a6233d5e01c9ed2920500f.tar.gz
nextcloud-server-9fafe737bcb633a350a6233d5e01c9ed2920500f.zip
Removed unneeded bgs and borders. Replaced hard coded colours by
variables. Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/css/header.scss')
-rw-r--r--core/css/header.scss10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/css/header.scss b/core/css/header.scss
index cf430914f87..24cafb4637a 100644
--- a/core/css/header.scss
+++ b/core/css/header.scss
@@ -26,7 +26,7 @@
.menu {
position: absolute;
top: 45px;
- background-color: #fff;
+ background-color: $color-main-background;
box-shadow: 0 1px 10px $color-box-shadow;
border-radius: 0 0 3px 3px;
display: none;
@@ -406,7 +406,7 @@ nav {
position: absolute;
pointer-events: none;
border: 0 solid transparent;
- border-bottom-color: white;
+ border-bottom-color: $color-main-background;
border-width: 10px;
transform: translateX(-50%);
left: 26px;
@@ -491,7 +491,7 @@ nav {
display: none;
position: absolute;
overflow: visible;
- background-color: rgba(255, 255, 255, .97);
+ background-color: rgba($color-main-background, .97);
white-space: nowrap;
border: none;
-webkit-border-radius: 3px;
@@ -500,7 +500,7 @@ nav {
border-top-left-radius: 0;
border-top-right-radius: 0;
margin-top: 0;
- color: rgba(0, 0, 0, .7);
+ color: rgba($color-main-text, .7);
width: auto;
left: 50%;
top: 45px;
@@ -522,7 +522,7 @@ nav {
position: absolute;
pointer-events: none;
border: 0 solid transparent;
- border-bottom-color: white;
+ border-bottom-color: $color-main-background;
border-width: 10px;
transform: translateX(-50%);
left: 50%;