Skip to content
Snippets Groups Projects
Commit 158fdca7 authored by alexisben's avatar alexisben
Browse files

timeline

parent 16c7346a
No related branches found
No related tags found
No related merge requests found
...@@ -54,8 +54,6 @@ ...@@ -54,8 +54,6 @@
width: col(7) width: col(7)
.block-timeline--horizontal .block-timeline--horizontal
--min-title-height: 0px --min-title-height: 0px
background: $block-timeline-horizontal-background background: $block-timeline-horizontal-background
...@@ -104,6 +102,7 @@ ...@@ -104,6 +102,7 @@
flex-flow: row nowrap flex-flow: row nowrap
list-style: none list-style: none
padding-left: 0 padding-left: 0
margin-top: $spacing1
transition: margin 0.4s ease-in-out transition: margin 0.4s ease-in-out
width: 100% width: 100%
.event .event
...@@ -114,13 +113,14 @@ ...@@ -114,13 +113,14 @@
width: 50% width: 50%
.title .title
min-height: var(--min-title-height) min-height: var(--min-title-height)
margin-bottom: $spacing1
.line .line
background: $block-timeline-horizontal-color background: $block-timeline-horizontal-color
height: 1px height: 1px
margin-bottom: $spacing1 margin-bottom: $spacing1
opacity: 1 opacity: 1
overflow: visible overflow: visible
width: calc(100% + #{$grid-gutter}) width: calc(100% + #{$grid-gutter} / 2)
&::before &::before
background: $block-timeline-horizontal-color background: $block-timeline-horizontal-color
border-radius: 50% border-radius: 50%
...@@ -132,10 +132,31 @@ ...@@ -132,10 +132,31 @@
width: 9px width: 9px
&.is-passed &.is-passed
opacity: 0.15 opacity: 0.15
&:last-child
.line
background: transparent
@include media-breakpoint-up(md) @include media-breakpoint-up(md)
.timeline .events
padding-left: offset(5) ol
margin-top: $spacing2
.event
.line
width: calc(100% + #{$grid-gutter})
@include in-page-with-sidebar
@include media-breakpoint-up(md)
.timeline
padding-left: offset(4)
@include media-breakpoint-up(xxl)
.timeline
padding-left: offset(5)
@include in-page-without-sidebar
@include media-breakpoint-up(xxl)
.event
width: 25%
@include media-breakpoint-down(md) @include media-breakpoint-down(md)
.events .events
......
...@@ -65,7 +65,7 @@ h5, .h5 ...@@ -65,7 +65,7 @@ h5, .h5
text-transform: $h5-text-transform text-transform: $h5-text-transform
@include media-breakpoint-up(md) @include media-breakpoint-up(md)
font-size: $h5-size-md font-size: $h5-size-md
h6, .h6 h6, .h6
@extend %heading @extend %heading
font-size: $h6-size font-size: $h6-size
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment