From 12cf9c291407c252032f8b08041fc8ed2186d847 Mon Sep 17 00:00:00 2001 From: rabuzarus <> Date: Thu, 12 May 2016 02:49:55 +0200 Subject: [PATCH] some more work on private messages mail_display.tpl & mail_conv.tpl --- css/style.css | 36 ++++++++++++++++++++++++++++++++++++ templates/mail_conv.tpl | 21 +++++++++++++++++++++ templates/mail_display.tpl | 19 +++++++++++++++++++ templates/mail_list.tpl | 30 ++++++++++++++++++++++++++++++ templates/msg-header.tpl | 5 +++++ templates/prv_message.tpl | 2 +- 6 files changed, 112 insertions(+), 1 deletion(-) create mode 100644 templates/mail_conv.tpl create mode 100644 templates/mail_display.tpl create mode 100644 templates/mail_list.tpl diff --git a/css/style.css b/css/style.css index 834e7505cb..9fa182ded4 100644 --- a/css/style.css +++ b/css/style.css @@ -1701,6 +1701,42 @@ ul.viewcontact_wrapper > li { } /* private mail */ +.mail-thread { + max-height: calc(100vh - 200px); +} +#mail-conversation { + overflow-y: auto; + max-height: calc(100vh - 400px); + max-height: auto; + /*height: 500px;*/ + margin-bottom: 0px; +} +#mail-conversation.can-reply { + border-bottom-left-radius: 0px; + border-bottom-right-radius: 0px; +} +.mail-conv-wrapper .media .contact-photo-wrapper { + height: 48px; + width: 48px; +} +.mail-thread #prvmail-to-label, +.mail-thread #prvmail-subject-label { + display: none; +} +.mail-thread #prvmail-message-label > label { + display:none; +} +.mail-thread #prvmail-message-label textarea { + border-top: none; + margin-top: -10px; + border-top-left-radius: 0px; + border-top-right-radius: 0px; + max-height: 120px; +} +.mail-conv-wrapper { + padding: 15px; + border-bottom: 1px solid rgba(238, 238, 238, 0.95) +} #prvmail-end { clear:both; } diff --git a/templates/mail_conv.tpl b/templates/mail_conv.tpl new file mode 100644 index 0000000000..dd091249a3 --- /dev/null +++ b/templates/mail_conv.tpl @@ -0,0 +1,21 @@ +
+ diff --git a/templates/mail_display.tpl b/templates/mail_display.tpl new file mode 100644 index 0000000000..fc8817dd39 --- /dev/null +++ b/templates/mail_display.tpl @@ -0,0 +1,19 @@ + +