aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Willingham <founder@kakste.com>2013-09-06 02:43:00 +0100
committerThomas Willingham <founder@kakste.com>2013-09-06 02:43:00 +0100
commitfc2ede307ff12b4f2fe8633789e408a117be6238 (patch)
treedfcfde2ed8f2cf7d04d24cc3795ac2f95f10d36f
parent1ff6f4a43c3888ee653926d33975e179799138b3 (diff)
downloadvolse-hubzilla-fc2ede307ff12b4f2fe8633789e408a117be6238.tar.gz
volse-hubzilla-fc2ede307ff12b4f2fe8633789e408a117be6238.tar.bz2
volse-hubzilla-fc2ede307ff12b4f2fe8633789e408a117be6238.zip
Redbasic - optimise mail list.
-rw-r--r--view/theme/redbasic/css/style.css31
-rwxr-xr-xview/tpl/mail_list.tpl8
2 files changed, 11 insertions, 28 deletions
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index 50d98bc14..c1e5b76d1 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -3261,38 +3261,21 @@ 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 {
+span.mail-list {
float: left;
-width: 200px;
+width: 20%;
}
-span.mail-subject.unseen{
+span.mail-delete {
float: left;
-width: 200px;
+width: 30px;
}
-span.mail-date {
-float:left;
-width: 200px;
+img.mail-list-sender-photo {
+height: 24px;
+width: 24px;
}
-
.tag1 {
font-size : 1.0em !important;
}
diff --git a/view/tpl/mail_list.tpl b/view/tpl/mail_list.tpl
index a01396ae5..4d8a744ac 100755
--- a/view/tpl/mail_list.tpl
+++ b/view/tpl/mail_list.tpl
@@ -1,7 +1,7 @@
<div class="generic-content-wrapper" id="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>
+ <a href="{{$from_url}}" class ="mail-list" ><img class="mail-list-sender-photo" src="{{$from_photo}}" alt="{{$from_name}}" /></a>
+ <span class="mail-list">{{$from_name}}</span>
+ <span class="mail-list" {{if $seen}}seen{{else}}unseen{{/if}}"><a href="message/{{$id}}" class="mail-link">{{$subject}}</a></span>
+ <span class="mail-list" title="{{$date}}">{{$date}}</span>
</div>