1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-02 08:21:58 +01:00
site/_src/_assets/styles/bigchain/_timeline.scss

58 lines
904 B
SCSS
Raw Normal View History

2016-01-21 14:34:47 +01:00
//
// Timeline
// ---
2017-05-29 21:15:48 +02:00
// bigchaindb.com
2016-01-21 14:34:47 +01:00
//
.timeline {
position: relative;
// actual timeline line
&:before {
@media ($screen-sm) {
2017-05-31 00:22:14 +02:00
content: '';
2016-01-21 14:34:47 +01:00
width: 400%;
margin-left: -200%;
height: 1px;
display: block;
background: #fff;
position: absolute;
bottom: 2.4rem;
}
}
}
.timeline__entry {
text-align: center;
}
.timeline__entry__title,
.timeline__entry__time {
display: block;
}
.timeline__entry__title {
@extend .h4;
color: #fff;
// data point
&:after {
2017-05-31 00:22:14 +02:00
content: '';
2016-01-21 14:34:47 +01:00
width: .5rem;
height: .5rem;
border-radius: 50%;
margin: $spacer auto;
display: block;
background: #fff;
}
}
.timeline__entry__time {
@extend .small;
opacity: .5;
}
.timeline__entry--future {
opacity: .7;
}