Move mail attachments box under details

This commit is contained in:
Hadi Nategh 2022-08-05 16:55:18 +02:00
parent 2593acf303
commit a26dba5d27
4 changed files with 63 additions and 67 deletions

View File

@ -481,21 +481,16 @@ div.mail-compose_fileselector {
margin-bottom: 1em;
font-size: 1.2em;
}
et2-details.details::part(summary) {
et2-details.details::part(summary),
et2-details.attachments::part(summary){
padding-left: 1em;
}
et2-details.attachments::part(header) {
padding-left: 0px;
}
.mailDisplay et2-details::part(base),
.previewWrapper et2-details::part(base){
border: none;
}
et2-details.attachments::part(content) {
padding-left: 0px;
}
.mailPreviewHeaders et2-details::part(header) {padding: 0;}
#mail-index_mailPreview .et2_email > span {
display: inline;
}
@ -681,10 +676,11 @@ div.mailDisplayHeaders div.mail_extraEmails.visible {
}
.mailPreviewHeaders :first-child, .mailDisplayHeaders :first-child {
flex: 0 0 auto;
color: #7a7a7a;
}
.mailPreviewHeaders et2-lavatar {
flex: 0 0 auto;
}
div.mailPreviewHeaders div.mail_extraEmails {
display: inline-block;
max-height: 1.3em;

View File

@ -53,11 +53,7 @@
<et2-select-email id="ccaddress" readonly="true"></et2-select-email>
</hbox>
</et2-details>
</vbox>
<date-time-today align="right" id="date" readonly="true"/>
</hbox>
<hbox>
<et2-details title="@attachmentsBlockTitle" toggleOnHover="true" hoist="true" class="attachments" disabled="!@attachmentsBlock">
<et2-details toggleAlign="left" title="@attachmentsBlockTitle" toggleOnHover="true" hoist="true" class="attachments" disabled="!@attachmentsBlock">
<hbox slot="summary">
<grid class="previewAttachmentArea egwGridView_grid" >
<columns>
@ -105,7 +101,10 @@
</rows>
</grid>
</et2-details>
</vbox>
<date-time-today align="right" id="date" readonly="true"/>
</hbox>
<box id="mailPreviewContainer">
<iframe frameborder="1" id="messageIFRAME" scrolling="auto"/>
</box>

View File

@ -2300,3 +2300,4 @@ table#mail-index_previewAttachmentArea::-webkit-scrollbar-thumb:hover {
border-bottom: 1px solid silver;
}
}
/*# sourceMappingURL=app.css.map */

View File

@ -481,18 +481,16 @@ div.mail-compose_fileselector {
margin-bottom: 1em;
font-size: 1.2em;
}
et2-details.details::part(summary) {
et2-details.details::part(summary),
et2-details.attachments::part(summary) {
padding-left: 1em;
}
et2-details.attachments::part(header) {
padding-left: 0px;
}
.mailDisplay et2-details::part(base),
.previewWrapper et2-details::part(base) {
border: none;
}
et2-details.attachments::part(content) {
padding-left: 0px;
.mailPreviewHeaders et2-details::part(header) {
padding: 0;
}
#mail-index_mailPreview .et2_email > span {
display: inline;
@ -671,9 +669,11 @@ div.mailDisplayHeaders div.mail_extraEmails.visible {
}
.mailPreviewHeaders :first-child,
.mailDisplayHeaders :first-child {
flex: 0 0 auto;
color: #7a7a7a;
}
.mailPreviewHeaders et2-lavatar {
flex: 0 0 auto;
}
div.mailPreviewHeaders div.mail_extraEmails {
display: inline-block;
max-height: 1.3em;