From cdcb85f4f3ae80c6a751e25dc42f2e160c995fe2 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Fri, 25 Feb 2022 14:19:17 +0100 Subject: [PATCH] Fix status icons not showing up on mail list --- mail/templates/default/app.css | 16 ++++++++-------- mail/templates/pixelegg/app.css | 32 ++++++++++++++++---------------- mail/templates/pixelegg/app.less | 16 ++++++++-------- 3 files changed, 32 insertions(+), 32 deletions(-) diff --git a/mail/templates/default/app.css b/mail/templates/default/app.css index d29b806075..d91d478a46 100644 --- a/mail/templates/default/app.css +++ b/mail/templates/default/app.css @@ -70,7 +70,7 @@ tr.mail.deleted td:first-child{ text-decoration : line-through; } -span.status_img { +.status_img { display: inline-block; width: 12px; height: 12px; @@ -78,31 +78,31 @@ span.status_img { background-image: url(../default/images/kmmsgread.png); } -tr.deleted span.status_img { +tr.deleted .status_img { background-image: url(../default/images/kmmsgdel.png); } -tr.unseen span.status_img { +tr.unseen .status_img { background-image: url(../default/images/kmmsgunseen.png); } -tr.flagged_seen span.status_img { +tr.flagged_seen .status_img { background-image: url(../default/images/read_flagged_small.png) !important; } -tr.flagged_unseen span.status_img { +tr.flagged_unseen .status_img { background-image: url(../default/images/unread_flagged_small.png) !important; } -tr.recent span.status_img { +tr.recent .status_img { background-image: url(../default/images/kmmsgnew.png) !important; } -tr.replied span.status_img { +tr.replied .status_img { background-image: url(../default/images/kmmsgreplied.png) !important; } -tr.forwarded span.status_img { +tr.forwarded .status_img { background-image: url(../default/images/kmmsgforwarded.png) !important; } diff --git a/mail/templates/pixelegg/app.css b/mail/templates/pixelegg/app.css index 90827a5b44..4f2bd9631c 100755 --- a/mail/templates/pixelegg/app.css +++ b/mail/templates/pixelegg/app.css @@ -85,32 +85,32 @@ tr.mail.deleted td:first-child { border-left: 6px solid silver; text-decoration: line-through; } -span.status_img { +.status_img { display: inline-block; width: 12px; height: 12px; background-repeat: no-repeat; background-image: url(../default/images/kmmsgread.png); } -tr.deleted span.status_img { +tr.deleted .status_img { background-image: url(../default/images/kmmsgdel.png); } -tr.unseen span.status_img { +tr.unseen .status_img { background-image: url(../default/images/kmmsgunseen.png); } -tr.flagged_seen span.status_img { +tr.flagged_seen .status_img { background-image: url(../default/images/read_flagged_small.png) !important; } -tr.flagged_unseen span.status_img { +tr.flagged_unseen .status_img { background-image: url(../default/images/unread_flagged_small.png) !important; } -tr.recent span.status_img { +tr.recent .status_img { background-image: url(../default/images/kmmsgnew.png) !important; } -tr.replied span.status_img { +tr.replied .status_img { background-image: url(../default/images/kmmsgreplied.png) !important; } -tr.forwarded span.status_img { +tr.forwarded .status_img { background-image: url(../default/images/kmmsgforwarded.png) !important; } .subjectBold { @@ -1651,7 +1651,7 @@ tr.mail.deleted td:first-child { border-left: 6px solid silver; text-decoration: line-through; } -span.status_img { +.status_img { display: inline-block; width: 16px; height: 16px; @@ -1659,25 +1659,25 @@ span.status_img { background-image: url(../pixelegg/images/kmmsgread.svg); background-size: 16px 16px; } -tr.deleted span.status_img { +tr.deleted .status_img { background-image: url(../pixelegg/images/kmmsgdel.svg); } -tr.unseen span.status_img { +tr.unseen .status_img { background-image: url(../pixelegg/images/kmmsgunseen.svg); } -tr.flagged_seen span.status_img { +tr.flagged_seen .status_img { background-image: url(../pixelegg/images/read_flagged_small.svg) !important; } -tr.flagged_unseen span.status_img { +tr.flagged_unseen .status_img { background-image: url(../pixelegg/images/unread_flagged_small.svg) !important; } -tr.recent span.status_img { +tr.recent .status_img { background-image: url(../pixelegg/images/kmmsgnew.svg) !important; } -tr.replied span.status_img { +tr.replied .status_img { background-image: url(../pixelegg/images/mail_reply.svg) !important; } -tr.forwarded span.status_img { +tr.forwarded .status_img { background-image: url(../pixelegg/images/mail_forward.svg) !important; } .subjectBold { diff --git a/mail/templates/pixelegg/app.less b/mail/templates/pixelegg/app.less index 033b6dc46b..ac92141d40 100755 --- a/mail/templates/pixelegg/app.less +++ b/mail/templates/pixelegg/app.less @@ -737,7 +737,7 @@ tr.mail.deleted td:first-child { text-decoration : line-through; } -span.status_img { +.status_img { display: inline-block; width: 16px; height: 16px; @@ -746,31 +746,31 @@ span.status_img { background-size: 16px 16px; } -tr.deleted span.status_img { +tr.deleted .status_img { background-image: url(../pixelegg/images/kmmsgdel.svg); } -tr.unseen span.status_img { +tr.unseen .status_img { background-image: url(../pixelegg/images/kmmsgunseen.svg); } -tr.flagged_seen span.status_img { +tr.flagged_seen .status_img { background-image: url(../pixelegg/images/read_flagged_small.svg) !important; } -tr.flagged_unseen span.status_img { +tr.flagged_unseen .status_img { background-image: url(../pixelegg/images/unread_flagged_small.svg) !important; } -tr.recent span.status_img { +tr.recent .status_img { background-image: url(../pixelegg/images/kmmsgnew.svg) !important; } -tr.replied span.status_img { +tr.replied .status_img { background-image: url(../pixelegg/images/mail_reply.svg) !important; } -tr.forwarded span.status_img { +tr.forwarded .status_img { background-image: url(../pixelegg/images/mail_forward.svg) !important; }