allows using the theme toggle in the pmg quarantine properly. adds a filter over the iframes in the quarantine to make them appear properly in a dark environment.
Signed-off-by: Stefan Sterz <s.st...@proxmox.com> --- src/proxmox-dark/scss/proxmox/_quarantine.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/proxmox-dark/scss/proxmox/_quarantine.scss b/src/proxmox-dark/scss/proxmox/_quarantine.scss index bdda69a..9e467df 100644 --- a/src/proxmox-dark/scss/proxmox/_quarantine.scss +++ b/src/proxmox-dark/scss/proxmox/_quarantine.scss @@ -45,3 +45,9 @@ tr.bounced, .x-keyboard-mode tr.bounced .x-grid-item-focused { background-color: $background-warning; } + +.pmg-mail-preview-themed div > iframe { + // by reducing the brightness first, pure blacks won't get inverted + // to pure white. + filter: brightness(95%) invert(95%); +} -- 2.30.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel