mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-05 20:11:26 +01:00
refactored post-block
This commit is contained in:
@@ -62,7 +62,7 @@
|
||||
<!-- END uploadedImages -->
|
||||
</div>
|
||||
<div class="post-signature">{main_posts.signature}</div>
|
||||
<div class="profile-block">
|
||||
<div class="post-info">
|
||||
<span class="pull-right">
|
||||
posted <span class="relativeTimeAgo">{main_posts.relativeTime} ago</span>
|
||||
<span class="{main_posts.edited-class}">| last edited by <strong><a href="/users/{main_posts.editorslug}">{main_posts.editorname}</a></strong> {main_posts.relativeEditTime} ago</span>
|
||||
@@ -122,7 +122,7 @@
|
||||
<!-- END uploadedImages -->
|
||||
</div>
|
||||
<div class="post-signature">{posts.signature}</div>
|
||||
<div class="profile-block">
|
||||
<div class="post-info">
|
||||
<span class="pull-right">
|
||||
posted <span class="relativeTimeAgo">{posts.relativeTime} ago</span>
|
||||
<span class="{posts.edited-class}">| last edited by <strong><a href="/users/{posts.editorslug}">{posts.editorname}</a></strong> {posts.relativeEditTime} ago</span>
|
||||
|
||||
@@ -35,16 +35,17 @@
|
||||
}
|
||||
}
|
||||
|
||||
.profile-block {
|
||||
background: rgba(0, 0, 0, 0.02);
|
||||
margin: 15px -11px -11px -11px;
|
||||
border-radius: 0 0 5px 5px;
|
||||
font-size: 10px;
|
||||
line-height: 15px;
|
||||
padding: 5px 8px 5px 5px;
|
||||
color: #777;
|
||||
.main-post, .sub-posts {
|
||||
.post-info {
|
||||
background: rgba(0, 0, 0, 0.02);
|
||||
margin: 15px -11px -11px -11px;
|
||||
border-radius: 0 0 5px 5px;
|
||||
font-size: 10px;
|
||||
color: #777;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.active-users {
|
||||
color: rgb(153,153,153);
|
||||
}
|
||||
|
||||
@@ -42,10 +42,10 @@
|
||||
}
|
||||
|
||||
.main-post, .sub-posts {
|
||||
.profile-block, .post-block {
|
||||
.post-info, .post-block {
|
||||
position: relative;
|
||||
border: 1px solid rgba(0, 0, 0, 0.06);
|
||||
border-radius: 5px;
|
||||
border-radius: 0 0 5px 5px;
|
||||
padding: 10px;
|
||||
|
||||
.post-signature {
|
||||
@@ -64,6 +64,8 @@
|
||||
}
|
||||
|
||||
.post-block {
|
||||
border-radius: 5px;
|
||||
|
||||
.topic-buttons {
|
||||
background: rgba(0, 0, 0, 0.02);
|
||||
border: 1px solid rgba(0, 0, 0, 0.06);
|
||||
|
||||
Reference in New Issue
Block a user