aboutsummaryrefslogtreecommitdiffstats
path: root/core/src/jquery
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-06-16 12:21:10 +0200
committerJoas Schilling <coding@schilljs.com>2020-06-16 12:21:10 +0200
commiteca3c9f6b131e950d8a084f5a79389322cbbca46 (patch)
treeb332af3ceff0c9b12c09653b96506514fcb84faa /core/src/jquery
parent2d96e8938667720c9538de426c895500dd7b7caf (diff)
downloadnextcloud-server-eca3c9f6b131e950d8a084f5a79389322cbbca46.tar.gz
nextcloud-server-eca3c9f6b131e950d8a084f5a79389322cbbca46.zip
Darker background for dark mode
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/src/jquery')
-rw-r--r--core/src/jquery/css/jquery.ocdialog.scss6
1 files changed, 5 insertions, 1 deletions
diff --git a/core/src/jquery/css/jquery.ocdialog.scss b/core/src/jquery/css/jquery.ocdialog.scss
index 1bb59512e56..51efe3a00f8 100644
--- a/core/src/jquery/css/jquery.ocdialog.scss
+++ b/core/src/jquery/css/jquery.ocdialog.scss
@@ -62,7 +62,7 @@
}
.oc-dialog-dim {
- background-color: var(--color-main-text);
+ background-color: #000;
opacity: .2;
z-index: 9999;
position: fixed;
@@ -72,6 +72,10 @@
height: 100%;
}
+body.dark .oc-dialog-dim {
+ opacity: .8;
+}
+
.oc-dialog-content {
width: 100%;
max-width: 550px;