Activity: Make left line stop at top and bottom

This commit is contained in:
2016-10-20 15:33:20 +02:00
parent aff8347718
commit a31fec8917

View File

@@ -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