Activity: Make left line stop at top and bottom
This commit is contained in:
@@ -6,32 +6,46 @@
|
||||
|
||||
ul
|
||||
cursor: default
|
||||
padding: 0 10px
|
||||
padding: 5px
|
||||
color: $color-text-dark-primary
|
||||
list-style: none
|
||||
border-left: thin solid $activity-highlight-color
|
||||
|
||||
li
|
||||
padding: 7px 0
|
||||
padding: 0 10px 7px 10px
|
||||
position: relative
|
||||
|
||||
span.date
|
||||
color: darken($activity-highlight-color, 5%)
|
||||
position: relative
|
||||
|
||||
&:before
|
||||
content: ''
|
||||
display: block
|
||||
position: absolute
|
||||
bottom: 5px
|
||||
left: -13px
|
||||
width: 5px
|
||||
height: 5px
|
||||
border-radius: 50%
|
||||
background-color: $color-background-light
|
||||
border: thin solid $activity-highlight-color
|
||||
transition: all 250ms ease-in-out
|
||||
/* Left Dot */
|
||||
&:after
|
||||
content: ''
|
||||
display: block
|
||||
position: absolute
|
||||
top: 6px
|
||||
left: -3px
|
||||
width: 5px
|
||||
height: 5px
|
||||
border-radius: 50%
|
||||
background-color: $color-background-light
|
||||
border: thin solid $activity-highlight-color
|
||||
transition: all 250ms ease-in-out
|
||||
|
||||
&:hover span.date:before
|
||||
/* Left Line */
|
||||
&:before
|
||||
content: ''
|
||||
display: block
|
||||
position: absolute
|
||||
top: 10px
|
||||
left: -1px
|
||||
width: 1px
|
||||
height: 100%
|
||||
background-color: $activity-highlight-color
|
||||
transition: all 250ms ease-in-out
|
||||
|
||||
&:last-child
|
||||
&:before
|
||||
background-color: transparent
|
||||
|
||||
span.actor
|
||||
padding: 0 5px
|
||||
|
Reference in New Issue
Block a user