polish SPV a bit
* Move lock icon to the timestamp * Add spacing around the interation icons * Increased size of the interaction icons * Pulled root post author next to reshare author
This commit is contained in:
parent
059521b0aa
commit
ee960ae9fd
4 changed files with 33 additions and 18 deletions
|
|
@ -33,6 +33,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
&.large {
|
&.large {
|
||||||
font-size: 25px;
|
font-size: 2.5em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -12,8 +12,24 @@
|
||||||
.avatar
|
.avatar
|
||||||
.bd
|
.bd
|
||||||
padding-left: 10px
|
padding-left: 10px
|
||||||
|
.retweet
|
||||||
|
i
|
||||||
|
margin: 0 3px
|
||||||
#single-post-actions
|
#single-post-actions
|
||||||
a:hover
|
.buttons
|
||||||
|
position: relative
|
||||||
|
top: 6px
|
||||||
|
clear: right
|
||||||
|
.public-info > i
|
||||||
|
float: left
|
||||||
|
margin: 2px 4px 0 0
|
||||||
|
time
|
||||||
|
float: right
|
||||||
|
margin-left: 3px
|
||||||
|
a
|
||||||
|
margin: 0 0 0 6px
|
||||||
|
|
||||||
|
&:hover
|
||||||
text-decoration: none
|
text-decoration: none
|
||||||
|
|
||||||
border-right: solid 1px #ccc
|
border-right: solid 1px #ccc
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,13 @@
|
||||||
<div class='pull-right'>
|
<div class='pull-right'>
|
||||||
<div class="post-time">
|
<span class='public-info'>
|
||||||
|
{{#unless public}}
|
||||||
|
<i class="icon-lock icon-grey"> </i>
|
||||||
|
{{/unless}}
|
||||||
|
</span>
|
||||||
|
<span class="post-time">
|
||||||
<time datetime="{{created_at}}" />
|
<time datetime="{{created_at}}" />
|
||||||
</div>
|
</span>
|
||||||
<div class='pull-right'>
|
<div class="buttons pull-right">
|
||||||
<a href="#" rel="auth-required" class="like" title="{{#if userLike}} {{t "viewer.unlike"}} {{else}} {{t "viewer.like"}} {{/if}}">
|
<a href="#" rel="auth-required" class="like" title="{{#if userLike}} {{t "viewer.unlike"}} {{else}} {{t "viewer.like"}} {{/if}}">
|
||||||
{{#if userLike}}
|
{{#if userLike}}
|
||||||
<i class="entypo heart red large"></i>
|
<i class="entypo heart red large"></i>
|
||||||
|
|
@ -11,6 +16,10 @@
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
<a href="#" rel="auth-required" class="focus-comment" title="{{t "viewer.comment"}}">
|
||||||
|
<i class="entypo comment gray large"></i>
|
||||||
|
</a>
|
||||||
|
|
||||||
{{#if userCanReshare}}
|
{{#if userCanReshare}}
|
||||||
<a href="#" rel="auth-required" class="reshare" title="{{#if userReshare}} {{t "viewer.reshared"}} {{else}} {{t "viewer.reshare"}} {{/if}}">
|
<a href="#" rel="auth-required" class="reshare" title="{{#if userReshare}} {{t "viewer.reshared"}} {{else}} {{t "viewer.reshare"}} {{/if}}">
|
||||||
{{#if userReshare}}
|
{{#if userReshare}}
|
||||||
|
|
@ -20,9 +29,5 @@
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</a>
|
</a>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
<a href="#" rel="auth-required" class="focus-comment" title="{{t "viewer.comment"}}">
|
|
||||||
<i class="entypo comment gray large"></i>
|
|
||||||
</a>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -10,20 +10,14 @@
|
||||||
{{/linkToPerson}}
|
{{/linkToPerson}}
|
||||||
|
|
||||||
{{#if root}}
|
{{#if root}}
|
||||||
<div>
|
<span class="retweet">
|
||||||
<i class="icon-retweet"></i>
|
<i class="icon-retweet"></i>
|
||||||
{{#linkToPerson root.author}}
|
{{#linkToPerson root.author}}
|
||||||
{{name}}
|
{{name}}
|
||||||
{{/linkToPerson}}
|
{{/linkToPerson}}
|
||||||
</div>
|
</span>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
<div class='public-info'>
|
|
||||||
{{#unless public}}
|
|
||||||
<i class="icon-lock icon-grey"> </i>
|
|
||||||
{{/unless}}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class='status-message-location' />
|
<div class='status-message-location' />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue