aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Willingham <founder@kakste.com>2013-06-02 03:40:31 +0100
committerThomas Willingham <founder@kakste.com>2013-06-02 03:40:31 +0100
commitb02242786c3f009df107afe547dda8e3ecbd3dd7 (patch)
treef9bfc2261862378ab835f229bf0fbcd9695e6f2f
parent330ace2cbe2a1a78777df1b69bd5affb6fe109ee (diff)
downloadvolse-hubzilla-b02242786c3f009df107afe547dda8e3ecbd3dd7.tar.gz
volse-hubzilla-b02242786c3f009df107afe547dda8e3ecbd3dd7.tar.bz2
volse-hubzilla-b02242786c3f009df107afe547dda8e3ecbd3dd7.zip
Make a start at making mail look less dreadful.
-rw-r--r--view/theme/redbasic/css/style.css38
-rwxr-xr-xview/tpl/mail_list.tpl2
2 files changed, 39 insertions, 1 deletions
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index b542d8a77..92f91541d 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -3769,3 +3769,41 @@ ul.menu-popup {
.reshared-content { margin-left: 30px; }
.shared_header img { margin-right: 10px; }
+
+
+.mail-list-wrapper {
+
+border-bottom: 1px solid #ccc;
+padding: 20px;
+}
+
+span.mail-delete {
+float: left;
+width: 30px;
+}
+
+a.mail-list-sender-url {
+float: left;
+width: 35px;
+}
+
+img.mail-list-sender-photo {
+height: 16px;
+width: 16px;
+}
+
+
+span.mail-from {
+float: left;
+width: 200px;
+}
+
+span.mail-subject.unseen{
+float: left;
+width: 200px;
+}
+
+span.mail-date {
+float:left;
+width: 200px;
+}
diff --git a/view/tpl/mail_list.tpl b/view/tpl/mail_list.tpl
index 717df51d5..10f453632 100755
--- a/view/tpl/mail_list.tpl
+++ b/view/tpl/mail_list.tpl
@@ -4,9 +4,9 @@
*
*}}
<div class="mail-list-wrapper">
+ <span class="mail-delete"><a href="message/dropconv/{{$id}}" onclick="return confirmDelete();" title="{{$delete}}" class="icon drophide mail-list-delete delete-icon" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a></span>
<a href="{{$from_url}}" class="mail-list-sender-url" ><img class="mail-list-sender-photo" src="{{$from_photo}}" alt="{{$from_name}}" /></a>
<span class="mail-from">{{$from_name}}</span>
<span class="mail-subject {{if $seen}}seen{{else}}unseen{{/if}}"><a href="message/{{$id}}" class="mail-link">{{$subject}}</a></span>
<span class="mail-date" title="{{$date}}">{{$date}}</span>
- <span class="mail-delete"><a href="message/dropconv/{{$id}}" onclick="return confirmDelete();" title="{{$delete}}" class="icon drophide mail-list-delete delete-icon" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a></span>
</div>