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['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); call_hooks('post_local_end', $datarray);

View File

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

View File

@ -61,7 +61,7 @@
<div class="comment-edit-submit-wrapper" id="comment-edit-submit-wrapper-{{$id}}" style="display: none;" > <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}}" /> <input type="submit" onclick="post_comment({{$id}}); return false;" id="comment-edit-submit-{{$id}}" class="comment-edit-submit" name="submit" value="{{$submit}}" />
{{if $preview}} {{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> <div id="comment-edit-preview-{{$id}}" class="comment-edit-preview" style="display:none;"></div>
{{/if}} {{/if}}
</div> </div>

View File

@ -71,7 +71,7 @@
</div> </div>
{{/if}} {{/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> <div id="profile-jot-perms-end"></div>