sort out the preview icons

This commit is contained in:
friendica 2013-11-25 14:54:14 -08:00
parent cbe096dd90
commit fe9162395a
4 changed files with 9 additions and 5 deletions

View File

@ -823,7 +823,7 @@ function item_post(&$a) {
}
$datarray['id'] = $post_id;
$datarray['plink'] = $a->get_baseurl() . '/display/' . $channel['channel_address'] . '/' . $post_id;
$datarray['llink'] = $a->get_baseurl() . '/display/' . $channel['channel_address'] . '/' . $post_id;
call_hooks('post_local_end', $datarray);

View File

@ -1133,8 +1133,8 @@ footer {
#profile-jot-plugin-wrapper,
#profile-jot-submit-wrapper {
margin-top: 15px;
width:90%;
margin-top: 10px;
width:92%;
}
#profile-upload-wrapper {
@ -3515,6 +3515,10 @@ margin-right: 50px;
color: $toolicon_colour;
}
.comment-preview-icon {
margin-left: 15px;
}
.comment-icon:hover,
.jot-icons:hover {
color: $toolicon_activecolour;

View File

@ -61,7 +61,7 @@
<div class="comment-edit-submit-wrapper" id="comment-edit-submit-wrapper-{{$id}}" style="display: none;" >
<input type="submit" onclick="post_comment({{$id}}); return false;" id="comment-edit-submit-{{$id}}" class="comment-edit-submit" name="submit" value="{{$submit}}" />
{{if $preview}}
<span onclick="preview_comment({{$id}});" id="comment-edit-preview-link-{{$id}}" class="fakelink">{{$preview}}</span>
<span onclick="preview_comment({{$id}});" id="comment-edit-preview-link-{{$id}}" class="fakelink"><i class="icon-eye-open comment-icon comment-preview-icon" title="{{$preview}}"></i></span>
<div id="comment-edit-preview-{{$id}}" class="comment-edit-preview" style="display:none;"></div>
{{/if}}
</div>

View File

@ -71,7 +71,7 @@
</div>
{{/if}}
{{if $preview}}<span onclick="preview_post();" id="jot-preview-link" class="fakelink">{{$preview}}</span>{{/if}}
{{if $preview}}<span onclick="preview_post();" id="jot-preview-link" class="fakelink"><i class="icon-eye-open jot-icons" title="{{$preview}}"></i></span>{{/if}}
<div id="profile-jot-perms-end"></div>