Improved handling of imap message flags/keywords

This commit is contained in:
the-djmaze 2022-05-31 20:38:35 +02:00
parent 0ebfa6af23
commit 899648d8e4
6 changed files with 29 additions and 57 deletions

View file

@ -216,7 +216,7 @@ html:not(rl-mobile) {
margin-right:5px
}
&.deleted-mark {
&.flag-\\deleted {
opacity: .7;
.subjectParent {
text-decoration: line-through;
@ -242,8 +242,6 @@ html:not(rl-mobile) {
.attachmentParent {
position: relative;
margin: 2px 10px 0 5px;
color: #666;
text-shadow: 0 1px 0 #eee;
}
.senderParent, .subjectParent {
@ -340,15 +338,15 @@ html:not(rl-mobile) {
.flagParent {
padding: 0 10px 0 5px;
}
&.flagged .flagParent::after,
&.flag-\\flagged .flagParent::after,
&.hasFlaggedSubMessage .flagParent::after {
color: orange;
content: '★'; /*⚑*/
}
&:not(.flagged):not(.hasFlaggedSubMessage) .flagParent::after {
&:not(.flag-\\flagged):not(.hasFlaggedSubMessage) .flagParent::after {
content: '☆'; /*⚐*/
}
&:not(.flagged):not(.hasFlaggedSubMessage) .flagParent:not(:hover) {
&:not(.flag-\\flagged):not(.hasFlaggedSubMessage) .flagParent:not(:hover) {
opacity: 0.5;
}
}
@ -445,6 +443,19 @@ html:not(.rl-mobile):not(.rl-side-preview-pane) {
}
}
.senderParent::before {
font-family: snappymail;
}
.flag-\\answered .senderParent::before {
content: '← ';
}
.flag-\$forwarded .senderParent::before {
content: '→ ';
}
.flag-\\answered.flag-\$forwarded .senderParent::before {
content: '←→ ';
}
/* Thunderbird labels */
.flag-\$label5 .checkboxMessage { background-color: #808; }
.flag-\$label4 .checkboxMessage { background-color: #00F; }