summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2020-03-18 12:34:08 +0100
committerGitHub <noreply@github.com>2020-03-18 12:34:08 +0100
commit7d5b0c290dbaee2385dc36ee7578a0ec3cf7a820 (patch)
tree3836334a709b09c4efb899329e7342d2ab290468
parentdaa6b41535e2f04e22fb515857e6f0c5045e5643 (diff)
parente976e076b6c012302ef6c9b224bd6fd17877b7fb (diff)
downloadnextcloud-server-7d5b0c290dbaee2385dc36ee7578a0ec3cf7a820.tar.gz
nextcloud-server-7d5b0c290dbaee2385dc36ee7578a0ec3cf7a820.zip
Merge pull request #19813 from nextcloud/bugfix/noid/fix-color-box-shadow-variable
Fix color-box-shadow variable
-rw-r--r--apps/accessibility/css/dark.scss2
-rw-r--r--core/css/variables.scss2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/accessibility/css/dark.scss b/apps/accessibility/css/dark.scss
index e85b3cb393c..c779f64ffd8 100644
--- a/apps/accessibility/css/dark.scss
+++ b/apps/accessibility/css/dark.scss
@@ -12,7 +12,7 @@ $color-text-lighter: darken($color-main-text, 20%);
$color-loading-light: #777;
$color-loading-dark: #ccc;
-$color-box-shadow: rgba(darken($color-main-background, 70%), 0.5);
+$color-box-shadow: transparentize(darken($color-main-background, 70%), 0.5);
$color-border: lighten($color-main-background, 7%);
$color-border-dark: lighten($color-main-background, 14%);
diff --git a/core/css/variables.scss b/core/css/variables.scss
index 3a14acb0ad7..68b1312c958 100644
--- a/core/css/variables.scss
+++ b/core/css/variables.scss
@@ -72,7 +72,7 @@ $image-favicon: url('../img/logo/logo.svg?v=1') !default;
$color-loading-light: #ccc !default;
$color-loading-dark: #444 !default;
-$color-box-shadow: rgba(nc-darken($color-main-background, 70%), 0.5) !default;
+$color-box-shadow: transparentize(nc-darken($color-main-background, 70%), 0.5) !default;
// light border like file table or app-content list
$color-border: nc-darken($color-main-background, 7%) !default;