summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-12-20 13:52:53 +0100
committerGitHub <noreply@github.com>2017-12-20 13:52:53 +0100
commit0b8a9fcaead4074d603c6a66f0c6c4c63d89dc51 (patch)
tree252a1b97c9512bd64d3f8cd3b387ae5c24e22dc2
parentdc8809e754c22addaab20401a7505dcc4082541c (diff)
parentf854831045d77af7c278f7aed615df3ab9961eb9 (diff)
downloadnextcloud-server-0b8a9fcaead4074d603c6a66f0c6c4c63d89dc51.tar.gz
nextcloud-server-0b8a9fcaead4074d603c6a66f0c6c4c63d89dc51.zip
Merge pull request #7572 from nextcloud/fix-box-shadow
Fix box shadow of header elements
-rw-r--r--core/css/fixes.scss7
-rw-r--r--core/css/header.scss9
2 files changed, 11 insertions, 5 deletions
diff --git a/core/css/fixes.scss b/core/css/fixes.scss
index 3cb89c6599f..0303b4d751a 100644
--- a/core/css/fixes.scss
+++ b/core/css/fixes.scss
@@ -16,3 +16,10 @@ select {
visibility: hidden;
}
+.ie #header .menu,
+.ie .header-left #navigation,
+.ie .ui-datepicker,
+.ie .ui-timepicker.ui-widget,
+.ie #appmenu li span {
+ box-shadow: 0 1px 10px $color-box-shadow;
+}
diff --git a/core/css/header.scss b/core/css/header.scss
index b5bb8ca9c5b..b38c0bcb401 100644
--- a/core/css/header.scss
+++ b/core/css/header.scss
@@ -76,7 +76,7 @@
.menu {
top: 45px;
background-color: $color-main-background;
- filter: drop-shadow(0 1px 3px $color-box-shadow);
+ filter: drop-shadow(0 1px 10px $color-box-shadow);
border-radius: 0 0 3px 3px;
box-sizing: border-box;
z-index: 2000;
@@ -213,7 +213,7 @@ nav {
left: -100%;
width: 160px;
background-color: $color-main-background;
- filter: drop-shadow(0 1px 3px $color-box-shadow);
+ filter: drop-shadow(0 1px 10px $color-box-shadow);
&:after {
/* position of dropdown arrow */
left: 47%;
@@ -411,7 +411,6 @@ nav {
#expanddiv {
right: 13px;
background: $color-main-background;
- box-shadow: 0 1px 10px $color-box-shadow;
&:after {
/* position of dropdown arrow */
right: 13px;
@@ -486,7 +485,7 @@ nav {
display: none;
position: absolute;
overflow: visible;
- background-color: rgba($color-main-background, .97);
+ background-color: $color-main-background;
white-space: nowrap;
border: none;
border-radius: $border-radius;
@@ -499,7 +498,7 @@ nav {
top: 45px;
transform: translateX(-50%);
padding: 4px 10px;
- box-shadow: 0 1px 10px $color-box-shadow;
+ filter: drop-shadow(0 1px 10px $color-box-shadow);
}
li:hover span {