Fix post header height
This commit is contained in:
@@ -936,12 +936,13 @@ function getPost(asPost) {
|
|||||||
.data('url', self.consts.server+sHash)
|
.data('url', self.consts.server+sHash)
|
||||||
.addIcon('fa-link')
|
.addIcon('fa-link')
|
||||||
.click(function(){
|
.click(function(){
|
||||||
copyTextToClipboard($(this).data('url'));
|
let $Link = $(this);
|
||||||
$(this).parent().append($('<span>', {'class':'link_copied'})
|
copyTextToClipboard($Link.data('url'));
|
||||||
.text(oSpot.lang('link_copied'))
|
$Link.prop('title', oSpot.lang('link_copied')).find('i.fa').addClass('copied');
|
||||||
.delay(5000)
|
$Link.delay(5000).fadeOut(300, function(){
|
||||||
.fadeOut(400, function(){$(this).remove();})
|
$Link.prop('title', oSpot.lang('copy_to_clipboard')).find('i.fa').removeClass('copied');
|
||||||
);
|
$Link.fadeIn(300);
|
||||||
|
});
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -90,6 +90,8 @@ $fa-css-prefix: fa;
|
|||||||
.#{$fa-css-prefix}-video-shot:before { content: fa-content($fa-var-camcorder); }
|
.#{$fa-css-prefix}-video-shot:before { content: fa-content($fa-var-camcorder); }
|
||||||
.#{$fa-css-prefix}-image-shot:before { content: fa-content($fa-var-camera-alt); }
|
.#{$fa-css-prefix}-image-shot:before { content: fa-content($fa-var-camera-alt); }
|
||||||
.#{$fa-css-prefix}-link:before { content: fa-content($fa-var-link); }
|
.#{$fa-css-prefix}-link:before { content: fa-content($fa-var-link); }
|
||||||
|
.#{$fa-css-prefix}-link.copied:before { content: fa-content($fa-var-check); }
|
||||||
|
|
||||||
|
|
||||||
/* Feed - Poster */
|
/* Feed - Poster */
|
||||||
.#{$fa-css-prefix}-poster:before { content: fa-content($fa-var-comment-edit); }
|
.#{$fa-css-prefix}-poster:before { content: fa-content($fa-var-comment-edit); }
|
||||||
|
|||||||
@@ -480,14 +480,12 @@ $legend-color: $post-color;
|
|||||||
}
|
}
|
||||||
.header {
|
.header {
|
||||||
padding: 0 $block-spacing;
|
padding: 0 $block-spacing;
|
||||||
line-height: 1em;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
span {
|
span {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
font-size: 0.8em;
|
font-size: 0.8em;
|
||||||
@include no-text-overflow();
|
|
||||||
padding: $elem-spacing 0px;
|
padding: $elem-spacing 0px;
|
||||||
|
|
||||||
&.index {
|
&.index {
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user