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