diff --git a/skins/elastic/styles/styles.less b/skins/elastic/styles/styles.less
index 7e20a65f2..4c6dcb166 100644
--- a/skins/elastic/styles/styles.less
+++ b/skins/elastic/styles/styles.less
@@ -222,7 +222,7 @@ a:hover {
@import "widgets/searchbar";
@import "widgets/lists";
@import "widgets/forms";
-@import "widgets/messagebody";
+@import "widgets/mail";
@import "widgets/googiespell";
@@ -284,10 +284,12 @@ a:hover {
max-height: 135px;
}
}
+
#contactphoto {
/* TODO */
float: left;
margin-right: .5em;
}
+
#contacthead { /* TODO */ }
.contactfieldgroup { /* TODO */ }
diff --git a/skins/elastic/styles/widgets/messagebody.less b/skins/elastic/styles/widgets/mail.less
similarity index 66%
rename from skins/elastic/styles/widgets/messagebody.less
rename to skins/elastic/styles/widgets/mail.less
index 7150d07dd..56244c4d4 100644
--- a/skins/elastic/styles/widgets/messagebody.less
+++ b/skins/elastic/styles/widgets/mail.less
@@ -12,6 +12,55 @@
/*** Mail message body elements ***/
+@mail-header-photo-height: 4rem;
+
+
+.content #message-header {
+ margin-bottom: 1rem;
+
+ .subject {
+ font-size: 1.5rem;
+ font-weight: bold;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ }
+
+ .short-header {
+ display: flex;
+
+ img.contactphoto {
+ margin: 0 1rem 0 0;
+ border-radius: 50%;
+ width: @mail-header-photo-height;
+ height: @mail-header-photo-height;
+ }
+
+ div {
+ line-height: @mail-header-photo-height;
+
+ & > span {
+ line-height: normal;
+ display: inline-block;
+ vertical-align: middle;
+ }
+ }
+ }
+}
+
+
+#message-objects {
+ i.icon {
+ font-size: 2em !important;
+ }
+
+ .ui {
+ float: none;
+ border-radius: 0;
+ }
+}
+
+
#messagebody {
/* TODO */
diff --git a/skins/elastic/styles/widgets/messages.less b/skins/elastic/styles/widgets/messages.less
index 77d8dcf2b..021bffc87 100644
--- a/skins/elastic/styles/widgets/messages.less
+++ b/skins/elastic/styles/widgets/messages.less
@@ -78,11 +78,3 @@
content: @fa-var-exclamation-circle;
}
}
-
-#message-objects {
- margin: 0 .2em;
-
- i.icon {
- font-size: 2em !important;
- }
-}
diff --git a/skins/elastic/templates/message.html b/skins/elastic/templates/message.html
index dceae2669..0338ded51 100644
--- a/skins/elastic/templates/message.html
+++ b/skins/elastic/templates/message.html
@@ -16,18 +16,20 @@