mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-05 15:37:03 +03:00
Added Thunderbird labels colors as test for #419
This commit is contained in:
parent
30ece4b8c8
commit
fe9d0da14a
2 changed files with 12 additions and 2 deletions
|
|
@ -306,6 +306,9 @@ export class MessageModel extends AbstractModel {
|
||||||
hasUnseenSubMessage: this.hasUnseenSubMessage(),
|
hasUnseenSubMessage: this.hasUnseenSubMessage(),
|
||||||
hasFlaggedSubMessage: this.hasFlaggedSubMessage()
|
hasFlaggedSubMessage: this.hasFlaggedSubMessage()
|
||||||
}, (key, value) => value && classes.push(key));
|
}, (key, value) => value && classes.push(key));
|
||||||
|
this.flags().forEach(value => {
|
||||||
|
'\\' !== value[0] && classes.push('flag-'+value);
|
||||||
|
});
|
||||||
return classes.join(' ');
|
return classes.join(' ');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -228,7 +228,7 @@ html:not(rl-mobile) {
|
||||||
}
|
}
|
||||||
|
|
||||||
.checkboxMessage {
|
.checkboxMessage {
|
||||||
padding: 0 6px;
|
margin: 0 6px;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -392,7 +392,7 @@ html.rl-ctrl-key-pressed .messageListItem {
|
||||||
|
|
||||||
.checkboxMessage {
|
.checkboxMessage {
|
||||||
line-height: 12px;
|
line-height: 12px;
|
||||||
margin: 10px 0 -5px;
|
margin: 10px 6px -5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.subjectParent {
|
.subjectParent {
|
||||||
|
|
@ -444,3 +444,10 @@ html:not(.rl-mobile):not(.rl-side-preview-pane) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Thunderbird labels */
|
||||||
|
.flag-\$label5 .checkboxMessage { background-color: #808; }
|
||||||
|
.flag-\$label4 .checkboxMessage { background-color: #00F; }
|
||||||
|
.flag-\$label3 .checkboxMessage { background-color: #080; }
|
||||||
|
.flag-\$label2 .checkboxMessage { background-color: #FA0; }
|
||||||
|
.flag-\$label1 .checkboxMessage { background-color: #F00; }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue