Hide badges on deleted posts

This commit is contained in:
Toby Zerner 2015-05-07 08:58:20 +09:30
parent db80a36729
commit fe9f195cbb

View File

@ -224,18 +224,17 @@
& .post-header, & .post-header a, & .post-user h3, & .post-user h3 a { & .post-header, & .post-header a, & .post-user h3, & .post-user h3 a {
color: @fl-body-muted-more-color; color: @fl-body-muted-more-color;
} }
& .post-body, & .post-footer, & h3 .avatar { & .post-body, & .post-footer, & h3 .avatar, & .post-header .badges {
position: absolute; position: absolute;
overflow: hidden; visibility: hidden;
height: 0;
opacity: 0; opacity: 0;
margin-top: -5px; margin-top: -5px;
.transition(~"margin-top 0.2s, opacity 0.2s"); .transition(~"margin-top 0.2s, opacity 0.2s");
} }
&.reveal-content { &.reveal-content {
& .post-body, & .post-footer, & h3 .avatar { & .post-body, & .post-footer, & h3 .avatar, & .post-header .badges {
position: static; position: static;
height: auto; visibility: visible;
opacity: 0.5; opacity: 0.5;
margin-top: 0; margin-top: 0;
} }