mirror of
https://github.com/friendica/friendica
synced 2024-11-18 09:43:40 +00:00
Add active like style to duepuntozero
- Update general wall_thread.tpl - Add specific styles for duepuntozero
This commit is contained in:
parent
6e1d715725
commit
ff9c0ebad2
2 changed files with 10 additions and 5 deletions
|
@ -64,8 +64,8 @@
|
||||||
<div class="wall-item-tools" id="wall-item-tools-{{$item.id}}">
|
<div class="wall-item-tools" id="wall-item-tools-{{$item.id}}">
|
||||||
{{if $item.vote}}
|
{{if $item.vote}}
|
||||||
<div class="wall-item-like-buttons" id="wall-item-like-buttons-{{$item.id}}">
|
<div class="wall-item-like-buttons" id="wall-item-like-buttons-{{$item.id}}">
|
||||||
<a href="#" class="icon like" title="{{$item.vote.like.0|escape:'html'}}" onclick="dolike({{$item.id}},'like'); return false"></a>
|
<a href="#" class="icon like{{if $item.responses.like.self}} active{{/if}}" title="{{$item.vote.like.0|escape:'html'}}" onclick="dolike({{$item.id}},'like'); return false"></a>
|
||||||
{{if $item.vote.dislike}}<a href="#" class="icon dislike" title="{{$item.vote.dislike.0|escape:'html'}}" onclick="dolike({{$item.id}},'dislike'); return false"></a>{{/if}}
|
{{if $item.vote.dislike}}<a href="#" class="icon dislike{{if $item.responses.dislike.self}} active{{/if}}" title="{{$item.vote.dislike.0|escape:'html'}}" onclick="dolike({{$item.id}},'dislike'); return false"></a>{{/if}}
|
||||||
{{if $item.vote.share}}<a href="#" class="icon recycle wall-item-share-buttons" title="{{$item.vote.share.0|escape:'html'}}" onclick="jotShare({{$item.id}}); return false"></a>{{/if}}
|
{{if $item.vote.share}}<a href="#" class="icon recycle wall-item-share-buttons" title="{{$item.vote.share.0|escape:'html'}}" onclick="jotShare({{$item.id}}); return false"></a>{{/if}}
|
||||||
<img id="like-rotator-{{$item.id}}" class="like-rotator" src="images/rotator.gif" alt="{{$item.wait|escape:'html'}}" title="{{$item.wait|escape:'html'}}" style="display: none;" />
|
<img id="like-rotator-{{$item.id}}" class="like-rotator" src="images/rotator.gif" alt="{{$item.wait|escape:'html'}}" title="{{$item.wait|escape:'html'}}" style="display: none;" />
|
||||||
</div>
|
</div>
|
||||||
|
@ -88,9 +88,9 @@
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{if $item.isevent }}
|
{{if $item.isevent }}
|
||||||
<div class="wall-item-attend-wrapper">
|
<div class="wall-item-attend-wrapper">
|
||||||
<a href="#" id="attendyes-{{$item.id}}" class="icon attendyes" onclick="dolike({{$item.id}},'attendyes'); return false;" title="{{$item.attend.0|escape:'html'}}"></a>
|
<a href="#" id="attendyes-{{$item.id}}" class="icon attendyes{{if $item.responses.attendyes.self}} active{{/if}}" onclick="dolike({{$item.id}},'attendyes'); return false;" title="{{$item.attend.0|escape:'html'}}"></a>
|
||||||
<a href="#" id="attendno-{{$item.id}}" class="icon attendno" onclick="dolike({{$item.id}},'attendno'); return false;" title="{{$item.attend.1|escape:'html'}}"></a>
|
<a href="#" id="attendno-{{$item.id}}" class="icon attendno{{if $item.responses.attendno.self}} active{{/if}}" onclick="dolike({{$item.id}},'attendno'); return false;" title="{{$item.attend.1|escape:'html'}}"></a>
|
||||||
<a href="#" id="attendmaybe-{{$item.id}}" class="icon attendmaybe" onclick="dolike({{$item.id}},'attendmaybe'); return false;" title="{{$item.attend.2|escape:'html'}}"></a>
|
<a href="#" id="attendmaybe-{{$item.id}}" class="icon attendmaybe{{if $item.responses.attendmaybe.self}} active{{/if}}" onclick="dolike({{$item.id}},'attendmaybe'); return false;" title="{{$item.attend.2|escape:'html'}}"></a>
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
<div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-{{$item.id}}" >
|
<div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-{{$item.id}}" >
|
||||||
|
|
|
@ -1154,6 +1154,11 @@ input#dfrn-url {
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.wall-item-like-buttons > a.active,
|
||||||
|
.wall-item-attend-wrapper > a.active {
|
||||||
|
background-color: rgba(52, 101, 164, .5);
|
||||||
|
}
|
||||||
|
|
||||||
.editpost {
|
.editpost {
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
float: left;
|
float: left;
|
||||||
|
|
Loading…
Reference in a new issue