revert: auto fade-out of lesser used post elements

main
Julian Lam 4 years ago
parent 862d0f4ebd
commit f3cea61391

@ -434,23 +434,6 @@
.transition(0.75s ease-in-out border-color); .transition(0.75s ease-in-out border-color);
@media (min-width: @screen-md-min) {
[component="post/metadata"], .post-tools, .moderator-tools {
.transition(250ms ease-in-out opacity);
opacity: 0;
&:focus-within {
opacity: 1;
}
}
&:hover {
.moderator-tools, .post-tools, [component="post/metadata"] {
opacity: 1;
}
}
}
.edit-icon { .edit-icon {
vertical-align: -2%; vertical-align: -2%;
} }

@ -36,7 +36,7 @@
<small class="pull-right"> <small class="pull-right">
<span class="bookmarked"><i class="fa fa-bookmark-o"></i></span> <span class="bookmarked"><i class="fa fa-bookmark-o"></i></span>
</small> </small>
<small class="pull-right" component="post/metadata"> <small class="pull-right">
<i component="post/edit-indicator" class="fa fa-pencil-square<!-- IF privileges.posts:history --> pointer<!-- END --> edit-icon <!-- IF !posts.editor.username -->hidden<!-- ENDIF !posts.editor.username -->"></i> <i component="post/edit-indicator" class="fa fa-pencil-square<!-- IF privileges.posts:history --> pointer<!-- END --> edit-icon <!-- IF !posts.editor.username -->hidden<!-- ENDIF !posts.editor.username -->"></i>
<small data-editor="{posts.editor.userslug}" component="post/editor" class="hidden">[[global:last_edited_by, {posts.editor.username}]] <span class="timeago" title="{posts.editedISO}"></span></small> <small data-editor="{posts.editor.userslug}" component="post/editor" class="hidden">[[global:last_edited_by, {posts.editor.username}]] <span class="timeago" title="{posts.editedISO}"></span></small>

Loading…
Cancel
Save