mirror of
https://github.com/flarum/framework.git
synced 2025-02-22 07:33:43 +08:00
Hide badges on deleted posts
This commit is contained in:
parent
ad042fb0ef
commit
c9f3ac9d66
@ -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…
x
Reference in New Issue
Block a user