mirror of
https://github.com/flarum/framework.git
synced 2024-12-02 23:23:52 +08:00
Hide badges on deleted posts
This commit is contained in:
parent
db80a36729
commit
fe9f195cbb
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user