aboutsummaryrefslogtreecommitdiffstats
path: root/core/src/jquery/css/jquery.ocdialog.scss
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/jquery/css/jquery.ocdialog.scss')
-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;