mirror of
https://github.com/flarum/framework.git
synced 2024-12-04 08:13:39 +08:00
New look for highlighted posts
This commit is contained in:
parent
4e7cbaa4dd
commit
c35721d286
|
@ -155,10 +155,17 @@
|
|||
}
|
||||
}
|
||||
.item.highlight .post {
|
||||
border: 8px solid fade(@fl-primary-color, 10%);
|
||||
border-radius: 10px;
|
||||
padding: 15px;
|
||||
margin: -23px;
|
||||
&:before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: -30px;
|
||||
top: -5px;
|
||||
bottom: -5px;
|
||||
width: 5px;
|
||||
border-radius: @border-radius-base;
|
||||
background: @fl-primary-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
.post-header {
|
||||
margin-bottom: 10px;
|
||||
|
@ -406,9 +413,6 @@
|
|||
visibility: visible;
|
||||
}
|
||||
}
|
||||
.item.highlight .post {
|
||||
padding-left: 90px + 15px;
|
||||
}
|
||||
.post-header {
|
||||
& .avatar {
|
||||
margin-left: -90px;
|
||||
|
|
Loading…
Reference in New Issue
Block a user