aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-03-27 11:20:59 +0200
committerMario Vavti <mario@mariovavti.com>2017-03-27 11:20:59 +0200
commiteab9040ee75b08cdc528d3c43d8387031d097c6c (patch)
tree144b5ee87a474d40ea233742c900a2fc70e7c0b7 /view
parent099b30afbfe2171f65c3155ee66b8b5fa55ddc63 (diff)
downloadvolse-hubzilla-eab9040ee75b08cdc528d3c43d8387031d097c6c.tar.gz
volse-hubzilla-eab9040ee75b08cdc528d3c43d8387031d097c6c.tar.bz2
volse-hubzilla-eab9040ee75b08cdc528d3c43d8387031d097c6c.zip
unify css classes
Diffstat (limited to 'view')
-rw-r--r--view/css/mod_mail.css36
-rw-r--r--view/css/widgets.css6
-rwxr-xr-xview/tpl/mail_conv.tpl18
3 files changed, 16 insertions, 44 deletions
diff --git a/view/css/mod_mail.css b/view/css/mod_mail.css
index e227f550d..8072b4668 100644
--- a/view/css/mod_mail.css
+++ b/view/css/mod_mail.css
@@ -1,39 +1,3 @@
-.mail-conv-sender {
- float: left;
- margin-right: 10px;
- margin-bottom: 10px;
-}
-
-.mail-conv-sender img{
- width: 2.2rem;
- height: 2.2rem;
-}
-
-.mail-conv-sender-name {
- font-weight: bold;
-}
-
-.mail-conv-body {
- margin-bottom: 10px;
-}
-
.mail-conv-body img {
max-width: 100%;
}
-
-#prvmail-rotator {
- margin: 15px;
-}
-
-#prvmail-text {
- height: 15.0em;
-}
-
-.mail-conv-outside-wrapper {
- margin-bottom: 20px;
-}
-
-.active .conv-participants {
- color: #fff;
-}
-
diff --git a/view/css/widgets.css b/view/css/widgets.css
index 622c1cb86..880745ba2 100644
--- a/view/css/widgets.css
+++ b/view/css/widgets.css
@@ -155,3 +155,9 @@ li:hover .group-edit-icon {
a.wikilist {
z-index: 1;
}
+
+/* mail list */
+
+.active .conv-participants {
+ color: #fff;
+}
diff --git a/view/tpl/mail_conv.tpl b/view/tpl/mail_conv.tpl
index dc4eaa150..759517b7f 100755
--- a/view/tpl/mail_conv.tpl
+++ b/view/tpl/mail_conv.tpl
@@ -1,11 +1,13 @@
-<div id="mail-{{$mail.id}}" class="clearfix mail-conv-outside-wrapper">
- <div class="mail-conv-sender" >
- <a href="{{$mail.from_url}}"><img class="mail-conv-sender-photo" src="{{$mail.from_photo}}" alt="{{$mail.from_name}}" /></a>
- </div>
- <div class="clearfix mail-conv-detail">
- {{if $mail.is_recalled}}<strong>{{$mail.is_recalled}}</strong>{{/if}}
- <div class="mail-conv-sender-name"><a href="{{$mail.from_url}}">{{$mail.from_name}}</a></div>
- <div class="mail-conv-date autotime wall-item-ago" title="{{$mail.date}}">{{$mail.date}}</div>
+<div id="mail-{{$mail.id}}" class="mb-2 clearfix mail-conv-outside-wrapper">
+ <div class="mb-2 clearfix wall-item-head">
+ <div class="wall-item-info" >
+ <a href="{{$mail.from_url}}"><img class="wall-item-photo" src="{{$mail.from_photo}}" alt="{{$mail.from_name}}" /></a>
+ </div>
+ <div class="mail-conv-detail">
+ {{if $mail.is_recalled}}<strong>{{$mail.is_recalled}}</strong>{{/if}}
+ <div class="wall-item-name"><a class="wall-item-name-link" href="{{$mail.from_url}}">{{$mail.from_name}}</a></div>
+ <div class="autotime wall-item-ago" title="{{$mail.date}}">{{$mail.date}}</div>
+ </div>
</div>
<div class="clearfix mail-conv-content">
<div class="clearfix mail-conv-body">