Skip to content

Commit

Permalink
Merge pull request #7572 from nextcloud/fix-box-shadow
Browse files Browse the repository at this point in the history
Fix box shadow of header elements
  • Loading branch information
MorrisJobke authored Dec 20, 2017
2 parents dc8809e + f854831 commit 0b8a9fc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
7 changes: 7 additions & 0 deletions core/css/fixes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
9 changes: 4 additions & 5 deletions core/css/header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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%;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand All @@ -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 {
Expand Down

0 comments on commit 0b8a9fc

Please sign in to comment.