More excessive DOM reductions

This commit is contained in:
djmaze 2021-08-12 14:44:38 +02:00
parent 74f74163c6
commit 5895804e9a
7 changed files with 17 additions and 59 deletions

View file

@ -239,8 +239,6 @@ html.rl-no-preview-pane {
}
.importantMark {
display: none;
color:red;
margin-right:5px
}
@ -252,17 +250,8 @@ html.rl-no-preview-pane {
}
}
&.important .importantMark {
display: inline;
}
&.new {
max-height: 0;
}
&.deleted {
max-height: 0;
border-color: transparent !important;
opacity: .3;
}
.checkboxMessage {
@ -310,22 +299,12 @@ html.rl-no-preview-pane {
border-color: #666;
}
.subjectParent .emptySubjectText {
display: none;
&.emptySubject .subjectParent {
font-style: italic;
opacity: 0.5;
}
&.emptySubject .subjectParent {
.subject {
display: none;
}
.emptySubjectText {
display: inline;
}
}
.sender, .subject {
.senderParent, .subjectParent {
margin: 0;
overflow: hidden;
text-overflow: ellipsis;
@ -342,18 +321,9 @@ html.rl-no-preview-pane {
}
.replyFlag, .forwardFlag {
display: none;
margin-right: 0.25em;
}
&.answered .replyFlag {
display: inline-block;
}
&.forwarded .forwardFlag {
display: inline-block;
}
&:not(.withAttachments) .attachmentParent {
display: none;
}
@ -369,7 +339,7 @@ html.rl-no-preview-pane {
&.unseen {
background-color: rgba(255, 255, 64, 0.15);
border-left-color: orange;
.sender, .subjectParent {
.senderParent, .subjectParent {
font-weight: bold;
}