mirror of
https://github.com/flarum/framework.git
synced 2024-12-11 21:43:38 +08:00
Extend hover area for post control visibility
This commit is contained in:
parent
3eb5c7e701
commit
35cd1f3b51
|
@ -70,8 +70,6 @@
|
|||
margin-top: 10px;
|
||||
|
||||
& .item {
|
||||
padding: 30px 0;
|
||||
|
||||
&:not(:last-child) {
|
||||
border-bottom: 1px solid @fl-body-secondary-color;
|
||||
}
|
||||
|
@ -109,7 +107,7 @@
|
|||
// Posts
|
||||
|
||||
.post {
|
||||
padding-bottom: 1px;
|
||||
padding: 30px 0;
|
||||
transition: 0.2s box-shadow, top 0.2s, opacity 0.2s;
|
||||
position: relative;
|
||||
top: 0;
|
||||
|
@ -376,8 +374,6 @@
|
|||
text-transform: uppercase;
|
||||
font-weight: bold;
|
||||
color: @fl-body-muted-color;
|
||||
margin-top: -30px;
|
||||
margin-bottom: 30px;
|
||||
padding: 20px 20px 20px 90px;
|
||||
background: @fl-body-secondary-color;
|
||||
font-size: 12px;
|
||||
|
@ -440,7 +436,9 @@
|
|||
}
|
||||
|
||||
@media @tablet, @desktop, @desktop-hd {
|
||||
.item {
|
||||
.post {
|
||||
padding-left: 90px;
|
||||
|
||||
& .contextual-controls {
|
||||
opacity: 0;
|
||||
transition: opacity 0.2s;
|
||||
|
@ -449,9 +447,6 @@
|
|||
opacity: 1;
|
||||
}
|
||||
}
|
||||
.post {
|
||||
padding-left: 90px;
|
||||
}
|
||||
.post-header {
|
||||
& .avatar {
|
||||
margin-left: -90px;
|
||||
|
|
Loading…
Reference in New Issue
Block a user