dark-mode: set the background mask to background-darker again

this removes an issue where the mask would look awkward and
inconsistent (e.g., in the quarantine view, the retention tab of a
zfs storage etc). also  makes the shadow a big bigger to be closer to
crisp and also to improve contrast ratios

Signed-off-by: Stefan Sterz <s.sterz@proxmox.com>
This commit is contained in:
Stefan Sterz 2023-03-21 15:15:41 +01:00 committed by Thomas Lamprecht
parent 883acf6dc9
commit 062520ff6f

View File

@ -1,7 +1,7 @@
// The mask that is applied when the window is unaccessible (Login
// screen, Loading, ...)
.x-mask {
background-color: black;
background-color: $background-darker;
opacity: 0.5;
}
@ -10,5 +10,5 @@
.x-css-shadow {
// the additional styling from the pve css overwrites the setting on
// the element with "!important", that's why we need it here.
box-shadow: black 0 0 10px !important;
box-shadow: black 0 -1px 15px 5px !important;
}