fix popup shadow in dark mode

This commit is contained in:
maxpozdeev 2023-08-20 17:47:02 +03:00
parent 6fe3b8a955
commit 2f14fa0b1c
2 changed files with 2 additions and 2 deletions

View file

@ -2908,7 +2908,7 @@ function mttModalDialog(dialogType = 'alert')
if (!modalOverlay) {
modalOverlay = document.createElement("div");
modalOverlay.id = "modal_overlay";
modalOverlay.style.cssText = "position: fixed; z-index: 999; left: 0; top: 0; width: 100%; height: 100%; background-color: black; opacity: 0.8; display:none;";
modalOverlay.style.cssText = "position: fixed; z-index: 999; left: 0; top: 0; width: 100%; height: 100%; background-color: black; opacity: 0.6; display:none;";
document.getElementsByTagName('body')[0].appendChild(modalOverlay);
}

View file

@ -53,7 +53,7 @@
--color-menu-text: #eaeaea;
--color-menu-text-hover: #ebf0f8;
--color-menu-text-disabled: #696969;
--color-popup-shadow: 1px 2px 6px 1px rgba(0,0,0,1);
--color-popup-shadow: 1px 2px 6px 1px rgba(85,85,85,0.1);
/* Tasklist */
--color-tasklist-row: var(--color-bg);