mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Improved message header
This commit is contained in:
parent
e4e26d799c
commit
d4e77a97f5
2 changed files with 11 additions and 11 deletions
|
|
@ -102,14 +102,19 @@ html.rl-no-preview-pane {
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
|
||||||
.subjectParent {
|
.subjectParent {
|
||||||
|
display: flex;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-overflow: ellipsis;
|
|
||||||
overflow: hidden;
|
|
||||||
white-space: nowrap;
|
|
||||||
margin-bottom: 8px;
|
margin-bottom: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.subject, .emptySubjectText {
|
||||||
|
flex-grow: 1;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
.messageButtons {
|
.messageButtons {
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
}
|
}
|
||||||
|
|
@ -157,16 +162,11 @@ html.rl-no-preview-pane {
|
||||||
}
|
}
|
||||||
|
|
||||||
.emptySubjectText {
|
.emptySubjectText {
|
||||||
display: none;
|
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
color: #999;
|
color: #999;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.emptySubject .emptySubjectText {
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hasVirus {
|
.hasVirus {
|
||||||
background: #f00;
|
background: #f00;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
|
|
||||||
|
|
@ -160,12 +160,12 @@
|
||||||
<div class="b-message" data-bind="visible: message">
|
<div class="b-message" data-bind="visible: message">
|
||||||
<div class="messageItemHeader" data-bind="css: {'emptySubject': '' === viewSubject()}">
|
<div class="messageItemHeader" data-bind="css: {'emptySubject': '' === viewSubject()}">
|
||||||
<div class="subjectParent">
|
<div class="subjectParent">
|
||||||
<a href="#" class="close" data-bind="command: closeMessageCommand" style="margin-top: -2px;">×</a>
|
|
||||||
<span class="infoParent g-ui-user-select-none fontastic" data-bind="click: function() { showFullInfo(!showFullInfo()); }">ℹ</span>
|
<span class="infoParent g-ui-user-select-none fontastic" data-bind="click: function() { showFullInfo(!showFullInfo()); }">ℹ</span>
|
||||||
<span class="flagParent g-ui-user-select-none flagOff fontastic" data-bind="text: viewIsFlagged() ? '★' : '☆', css: {'flagOn': viewIsFlagged, 'flagOff': !viewIsFlagged()}"></span>
|
<span class="flagParent g-ui-user-select-none flagOff fontastic" data-bind="text: viewIsFlagged() ? '★' : '☆', css: {'flagOn': viewIsFlagged, 'flagOff': !viewIsFlagged()}"></span>
|
||||||
<b style="color: red; margin-right: 5px" data-bind="visible: viewIsImportant">!</b>
|
<b style="color: red; margin-right: 5px" data-bind="visible: viewIsImportant">!</b>
|
||||||
<span class="subject" data-bind="text: viewSubject, title: viewSubject, event: { 'dblclick': toggleFullScreen }"></span>
|
<span class="subject" data-bind="hidden: !viewSubject(), text: viewSubject, title: viewSubject, event: { 'dblclick': toggleFullScreen }"></span>
|
||||||
<span class="emptySubjectText" data-i18n="MESSAGE/EMPTY_SUBJECT_TEXT" data-bind="event: { 'dblclick': toggleFullScreen }"></span>
|
<span class="emptySubjectText" data-i18n="MESSAGE/EMPTY_SUBJECT_TEXT" data-bind="hidden: viewSubject(), event: { 'dblclick': toggleFullScreen }"></span>
|
||||||
|
<a href="#" class="close" data-bind="command: closeMessageCommand" style="margin-top: -8px;">×</a>
|
||||||
</div>
|
</div>
|
||||||
<div data-bind="hidden: showFullInfo(), event: { 'dblclick': toggleFullScreen }">
|
<div data-bind="hidden: showFullInfo(), event: { 'dblclick': toggleFullScreen }">
|
||||||
<div class="informationShort">
|
<div class="informationShort">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue