Add active response support to frost theme
- Add active classes to wall_thread.tpl - Add styles - Fix event icon not appearing at full opacity on hover
This commit is contained in:
parent
4937a3b7d8
commit
fac144e3d4
|
@ -1391,6 +1391,17 @@ input#dfrn-url {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.wall-item-tools a {
|
||||||
|
border-radius: 4px;
|
||||||
|
padding: 2px;
|
||||||
|
background-position: center;
|
||||||
|
background-size: initial !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wall-item-tools a.active {
|
||||||
|
background-color: rgba(59, 101, 164, 0.5);
|
||||||
|
}
|
||||||
|
|
||||||
.wall-item-share-buttons {
|
.wall-item-share-buttons {
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
|
@ -3896,7 +3907,7 @@ aside input[type='text'] {
|
||||||
.event-maybeattend-icon { background-image: url('images/event-maybeattend-16.png'); }
|
.event-maybeattend-icon { background-image: url('images/event-maybeattend-16.png'); }
|
||||||
.event-dontattend-icon { background-image: url('images/event-dontattend-16.png'); }
|
.event-dontattend-icon { background-image: url('images/event-dontattend-16.png'); }
|
||||||
|
|
||||||
.filer-icon:hover {
|
.event-icon:hover {
|
||||||
opacity: 1.0;
|
opacity: 1.0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="wall-item-arrowphoto-wrapper" ><img src="images/larrow.gif" alt="{{$item.wall}}" /></div>
|
<div class="wall-item-arrowphoto-wrapper" ><img src="images/larrow.gif" alt="{{$item.wall}}" /></div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
<div class="wall-item-photo-wrapper wwfrom p-author h-card" id="wall-item-photo-wrapper-{{$item.id}}"
|
<div class="wall-item-photo-wrapper wwfrom p-author h-card" id="wall-item-photo-wrapper-{{$item.id}}"
|
||||||
onmouseover="if (typeof t{{$item.id}} != 'undefined') clearTimeout(t{{$item.id}}); openMenu('wall-item-photo-menu-button-{{$item.id}}')"
|
onmouseover="if (typeof t{{$item.id}} != 'undefined') clearTimeout(t{{$item.id}}); openMenu('wall-item-photo-menu-button-{{$item.id}}')"
|
||||||
onmouseout="t{{$item.id}}=setTimeout('closeMenu(\'wall-item-photo-menu-button-{{$item.id}}\'); closeMenu(\'wall-item-photo-menu-{{$item.id}}\');',200)">
|
onmouseout="t{{$item.id}}=setTimeout('closeMenu(\'wall-item-photo-menu-button-{{$item.id}}\'); closeMenu(\'wall-item-photo-menu-{{$item.id}}\');',200)">
|
||||||
<a href="{{$item.profile_url}}" target="redir" title="{{$item.linktitle}}" class="wall-item-photo-link u-url" id="wall-item-photo-link-{{$item.id}}">
|
<a href="{{$item.profile_url}}" target="redir" title="{{$item.linktitle}}" class="wall-item-photo-link u-url" id="wall-item-photo-link-{{$item.id}}">
|
||||||
|
@ -35,7 +35,7 @@
|
||||||
{{*<!--<div class="wall-item-photo-end"></div>-->*}}
|
{{*<!--<div class="wall-item-photo-end"></div>-->*}}
|
||||||
<div class="wall-item-wrapper" id="wall-item-wrapper-{{$item.id}}" >
|
<div class="wall-item-wrapper" id="wall-item-wrapper-{{$item.id}}" >
|
||||||
{{if $item.lock}}{{*<!--<div class="wall-item-lock">-->*}}<img src="images/lock_icon.gif" class="wall-item-lock lockview" alt="{{$item.lock}}" onclick="lockview(event,{{$item.id}});" />{{*<!--</div>-->*}}
|
{{if $item.lock}}{{*<!--<div class="wall-item-lock">-->*}}<img src="images/lock_icon.gif" class="wall-item-lock lockview" alt="{{$item.lock}}" onclick="lockview(event,{{$item.id}});" />{{*<!--</div>-->*}}
|
||||||
{{else}}<div class="wall-item-lock"></div>{{/if}}
|
{{else}}<div class="wall-item-lock"></div>{{/if}}
|
||||||
<div class="wall-item-location" id="wall-item-location-{{$item.id}}">{{$item.location}}</div>
|
<div class="wall-item-location" id="wall-item-location-{{$item.id}}">{{$item.location}}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -66,9 +66,9 @@
|
||||||
<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="tool like" title="{{$item.vote.like.0}}" onclick="dolike({{$item.id}},'like'); return false"></a>
|
<a href="#" class="tool like{{if $item.responses.like.self}} active{{/if}}" title="{{$item.vote.like.0}}" onclick="dolike({{$item.id}},'like'); return false"></a>
|
||||||
{{if $item.vote.dislike}}
|
{{if $item.vote.dislike}}
|
||||||
<a href="#" class="tool dislike" title="{{$item.vote.dislike.0}}" onclick="dolike({{$item.id}},'dislike'); return false"></a>
|
<a href="#" class="tool dislike{{if $item.responses.dislike.self}} active{{/if}}" title="{{$item.vote.dislike.0}}" onclick="dolike({{$item.id}},'dislike'); return false"></a>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{if $item.vote.share}}<a href="#" class="tool recycle wall-item-share-buttons" title="{{$item.vote.share.0}}" onclick="jotShare({{$item.id}}); return false"></a>{{/if}}
|
{{if $item.vote.share}}<a href="#" class="tool recycle wall-item-share-buttons" title="{{$item.vote.share.0}}" onclick="jotShare({{$item.id}}); return false"></a>{{/if}}
|
||||||
<img id="like-rotator-{{$item.id}}" class="like-rotator" src="images/rotator.gif" alt="{{$item.wait}}" title="{{$item.wait}}" style="display: none;" />
|
<img id="like-rotator-{{$item.id}}" class="like-rotator" src="images/rotator.gif" alt="{{$item.wait}}" title="{{$item.wait}}" style="display: none;" />
|
||||||
|
@ -80,7 +80,7 @@
|
||||||
{{if $item.edpost}}
|
{{if $item.edpost}}
|
||||||
<a class="editpost tool pencil" href="{{$item.edpost.0}}" title="{{$item.edpost.1}}"></a>
|
<a class="editpost tool pencil" href="{{$item.edpost.0}}" title="{{$item.edpost.1}}"></a>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{if $item.star}}
|
{{if $item.star}}
|
||||||
<a href="#" id="starred-{{$item.id}}" onclick="dostar({{$item.id}}); return false;" class="star-item tool {{$item.isstarred}}" title="{{$item.star.toggle}}"></a>
|
<a href="#" id="starred-{{$item.id}}" onclick="dostar({{$item.id}}); return false;" class="star-item tool {{$item.isstarred}}" title="{{$item.star.toggle}}"></a>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
@ -89,12 +89,12 @@
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{if $item.filer}}
|
{{if $item.filer}}
|
||||||
<a href="#" id="filer-{{$item.id}}" onclick="itemFiler({{$item.id}}); return false;" class="filer-item filer-icon" title="{{$item.filer}}"></a>
|
<a href="#" id="filer-{{$item.id}}" onclick="itemFiler({{$item.id}}); return false;" class="filer-item filer-icon" title="{{$item.filer}}"></a>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{if $item.isevent}}
|
{{if $item.isevent}}
|
||||||
<a href="#" id="attendyes-{{$item.id}}" title="{{$item.attend.0}}" onclick="dolike({{$item.id}},'attendyes'); return false;" class="event-item event-icon event-attend-icon"></a>
|
<a href="#" id="attendyes-{{$item.id}}" title="{{$item.attend.0}}" onclick="dolike({{$item.id}},'attendyes'); return false;" class="event-item event-icon event-attend-icon{{if $item.responses.attendyes.self}} active{{/if}}"></a>
|
||||||
<a href="#" id="attendno-{{$item.id}}" title="{{$item.attend.1}}" onclick="dolike({{$item.id}},'attendno'); return false;" class="event-item event-icon event-dontattend-icon"></a>
|
<a href="#" id="attendno-{{$item.id}}" title="{{$item.attend.1}}" onclick="dolike({{$item.id}},'attendno'); return false;" class="event-item event-icon event-dontattend-icon{{if $item.responses.attendno.self}} active{{/if}}"></a>
|
||||||
<a href="#" id="attendmaybe-{{$item.id}}" title="{{$item.attend.2}}" onclick="dolike({{$item.id}},'attendmaybe'); return false;" class="event-item event-icon event-maybeattend-icon"></a>
|
<a href="#" id="attendmaybe-{{$item.id}}" title="{{$item.attend.2}}" onclick="dolike({{$item.id}},'attendmaybe'); return false;" class="event-item event-icon event-maybeattend-icon{{if $item.responses.attendmaybe.self}} active{{/if}}"></a>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
|
|
||||||
|
@ -103,10 +103,10 @@
|
||||||
{{*<!--</div>-->*}}
|
{{*<!--</div>-->*}}
|
||||||
{{if $item.drop.pagedrop}}<input type="checkbox" onclick="checkboxhighlight(this);" title="{{$item.drop.select}}" class="item-select" name="itemselected[]" value="{{$item.id}}" />{{/if}}
|
{{if $item.drop.pagedrop}}<input type="checkbox" onclick="checkboxhighlight(this);" title="{{$item.drop.select}}" class="item-select" name="itemselected[]" value="{{$item.id}}" />{{/if}}
|
||||||
{{*<!--<div class="wall-item-delete-end"></div>-->*}}
|
{{*<!--<div class="wall-item-delete-end"></div>-->*}}
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{*<!--<div class="wall-item-wrapper-end"></div>-->*}}
|
{{*<!--<div class="wall-item-wrapper-end"></div>-->*}}
|
||||||
{{if $item.responses}}
|
{{if $item.responses}}
|
||||||
{{foreach $item.responses as $verb=>$response}}
|
{{foreach $item.responses as $verb=>$response}}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user