diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2017-05-17 18:21:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-17 18:21:01 +0200 |
commit | 7d818d91f6be9b665fca6c5736c71131c0327adb (patch) | |
tree | 179b27f01ae0f6bc257d8f0662ea0dc380a33001 /core | |
parent | 11e04e394d28476d2417e3308f7325142acf529e (diff) | |
parent | 35bd469aa001d813e0ec88910be1e879703b80bd (diff) | |
download | nextcloud-server-7d818d91f6be9b665fca6c5736c71131c0327adb.tar.gz nextcloud-server-7d818d91f6be9b665fca6c5736c71131c0327adb.zip |
Merge pull request #4924 from nextcloud/shadow-style
Unify box-shadow style, remove filter
Diffstat (limited to 'core')
-rw-r--r-- | core/css/apps.scss | 6 | ||||
-rw-r--r-- | core/css/header.scss | 8 |
2 files changed, 3 insertions, 11 deletions
diff --git a/core/css/apps.scss b/core/css/apps.scss index f885c1f2792..633d889f180 100644 --- a/core/css/apps.scss +++ b/core/css/apps.scss @@ -601,11 +601,7 @@ kbd { margin: 5px; margin-top: -5px; right: 0; - -webkit-filter: drop-shadow(0 0 5px $color-box-shadow); - -moz-filter: drop-shadow(0 0 5px $color-box-shadow); - -ms-filter: drop-shadow(0 0 5px $color-box-shadow); - -o-filter: drop-shadow(0 0 5px $color-box-shadow); - filter: drop-shadow(0 0 5px $color-box-shadow); + box-shadow: 0 1px 10px $color-box-shadow; display: none; &:after { diff --git a/core/css/header.scss b/core/css/header.scss index 358a08c4eef..cd6933d2755 100644 --- a/core/css/header.scss +++ b/core/css/header.scss @@ -27,7 +27,7 @@ position: absolute; top: 45px; background-color: #fff; - box-shadow: 0 1px 10px rgba(150, 150, 150, 0.75); + box-shadow: 0 1px 10px $color-box-shadow; border-radius: 0 0 3px 3px; display: none; box-sizing: border-box; @@ -508,11 +508,7 @@ nav { top: 45px; transform: translateX(-50%); padding: 4px 10px; - -webkit-filter: drop-shadow(0 0 5px rgba(150, 150, 150, .75)); - -moz-filter: drop-shadow(0 0 5px rgba(150, 150, 150, .75)); - -ms-filter: drop-shadow(0 0 5px rgba(150, 150, 150, .75)); - -o-filter: drop-shadow(0 0 5px rgba(150, 150, 150, .75)); - filter: drop-shadow(0 0 5px rgba(150, 150, 150, .75)); + box-shadow: 0 1px 10px $color-box-shadow; } li:hover span { |