2017-03-31 23:05:07 +02:00
|
|
|
// Styling for the timeline section
|
|
|
|
.timeline {
|
|
|
|
position: relative;
|
2017-05-08 20:57:42 +02:00
|
|
|
padding: 0;
|
|
|
|
list-style: none;
|
2017-03-31 23:05:07 +02:00
|
|
|
&:before {
|
2017-05-08 20:57:42 +02:00
|
|
|
position: absolute;
|
2017-03-31 23:05:07 +02:00
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 40px;
|
2017-05-08 20:57:42 +02:00
|
|
|
width: 2px;
|
2017-03-31 23:05:07 +02:00
|
|
|
margin-left: -1.5px;
|
2017-05-08 20:57:42 +02:00
|
|
|
content: '';
|
|
|
|
background-color: #f1f1f1;
|
2017-03-31 23:05:07 +02:00
|
|
|
}
|
|
|
|
> li {
|
|
|
|
position: relative;
|
|
|
|
min-height: 50px;
|
2017-05-08 20:57:42 +02:00
|
|
|
margin-bottom: 50px;
|
2017-03-31 23:05:07 +02:00
|
|
|
&:before,
|
|
|
|
&:after {
|
|
|
|
display: table;
|
2017-05-08 20:57:42 +02:00
|
|
|
content: ' ';
|
2017-03-31 23:05:07 +02:00
|
|
|
}
|
|
|
|
&:after {
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
.timeline-panel {
|
2017-05-08 20:57:42 +02:00
|
|
|
position: relative;
|
2017-03-31 23:05:07 +02:00
|
|
|
float: right;
|
2017-05-08 20:57:42 +02:00
|
|
|
width: 100%;
|
2017-03-31 23:05:07 +02:00
|
|
|
padding: 0 20px 0 100px;
|
|
|
|
text-align: left;
|
|
|
|
&:before {
|
|
|
|
right: auto;
|
2017-05-08 20:57:42 +02:00
|
|
|
left: -15px;
|
|
|
|
border-right-width: 15px;
|
|
|
|
border-left-width: 0;
|
2017-03-31 23:05:07 +02:00
|
|
|
}
|
|
|
|
&:after {
|
|
|
|
right: auto;
|
2017-05-08 20:57:42 +02:00
|
|
|
left: -14px;
|
|
|
|
border-right-width: 14px;
|
|
|
|
border-left-width: 0;
|
2017-03-31 23:05:07 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.timeline-image {
|
2017-05-08 20:57:42 +02:00
|
|
|
position: absolute;
|
|
|
|
z-index: 100;
|
2017-03-31 23:05:07 +02:00
|
|
|
left: 0;
|
|
|
|
width: 80px;
|
|
|
|
height: 80px;
|
2017-05-08 20:57:42 +02:00
|
|
|
margin-left: 0;
|
|
|
|
text-align: center;
|
2017-03-31 23:05:07 +02:00
|
|
|
color: white;
|
|
|
|
border: 7px solid #f1f1f1;
|
2017-05-08 20:57:42 +02:00
|
|
|
border-radius: 100%;
|
|
|
|
background-color: $theme-primary;
|
2017-03-31 23:05:07 +02:00
|
|
|
h4 {
|
|
|
|
font-size: 10px;
|
|
|
|
line-height: 14px;
|
2017-05-08 20:57:42 +02:00
|
|
|
margin-top: 12px;
|
2017-03-31 23:05:07 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
&.timeline-inverted > .timeline-panel {
|
|
|
|
float: right;
|
|
|
|
padding: 0 20px 0 100px;
|
2017-05-08 20:57:42 +02:00
|
|
|
text-align: left;
|
2017-03-31 23:05:07 +02:00
|
|
|
&:before {
|
|
|
|
right: auto;
|
2017-05-08 20:57:42 +02:00
|
|
|
left: -15px;
|
|
|
|
border-right-width: 15px;
|
|
|
|
border-left-width: 0;
|
2017-03-31 23:05:07 +02:00
|
|
|
}
|
|
|
|
&:after {
|
|
|
|
right: auto;
|
2017-05-08 20:57:42 +02:00
|
|
|
left: -14px;
|
|
|
|
border-right-width: 14px;
|
|
|
|
border-left-width: 0;
|
2017-03-31 23:05:07 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.timeline-heading {
|
|
|
|
h4 {
|
|
|
|
margin-top: 0;
|
|
|
|
color: inherit;
|
|
|
|
&.subheading {
|
|
|
|
text-transform: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.timeline-body {
|
|
|
|
> p,
|
|
|
|
> ul {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media(min-width:768px) {
|
|
|
|
.timeline {
|
|
|
|
&:before {
|
|
|
|
left: 50%;
|
|
|
|
}
|
|
|
|
> li {
|
|
|
|
min-height: 100px;
|
2017-05-08 20:57:42 +02:00
|
|
|
margin-bottom: 100px;
|
2017-03-31 23:05:07 +02:00
|
|
|
.timeline-panel {
|
|
|
|
float: left;
|
2017-05-08 20:57:42 +02:00
|
|
|
width: 41%;
|
2017-03-31 23:05:07 +02:00
|
|
|
padding: 0 20px 20px 30px;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
.timeline-image {
|
2017-05-08 20:57:42 +02:00
|
|
|
left: 50%;
|
2017-03-31 23:05:07 +02:00
|
|
|
width: 100px;
|
|
|
|
height: 100px;
|
|
|
|
margin-left: -50px;
|
|
|
|
h4 {
|
|
|
|
font-size: 13px;
|
|
|
|
line-height: 18px;
|
2017-05-08 20:57:42 +02:00
|
|
|
margin-top: 16px;
|
2017-03-31 23:05:07 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
&.timeline-inverted > .timeline-panel {
|
|
|
|
float: right;
|
|
|
|
padding: 0 30px 20px 20px;
|
2017-05-08 20:57:42 +02:00
|
|
|
text-align: left;
|
2017-03-31 23:05:07 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media(min-width:992px) {
|
|
|
|
.timeline {
|
|
|
|
> li {
|
|
|
|
min-height: 150px;
|
|
|
|
.timeline-panel {
|
|
|
|
padding: 0 20px 20px;
|
|
|
|
}
|
|
|
|
.timeline-image {
|
|
|
|
width: 150px;
|
|
|
|
height: 150px;
|
|
|
|
margin-left: -75px;
|
|
|
|
h4 {
|
|
|
|
font-size: 18px;
|
|
|
|
line-height: 26px;
|
2017-05-08 20:57:42 +02:00
|
|
|
margin-top: 30px;
|
2017-03-31 23:05:07 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
&.timeline-inverted > .timeline-panel {
|
|
|
|
padding: 0 20px 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media(min-width:1200px) {
|
|
|
|
.timeline {
|
|
|
|
> li {
|
|
|
|
min-height: 170px;
|
|
|
|
.timeline-panel {
|
|
|
|
padding: 0 20px 20px 100px;
|
|
|
|
}
|
|
|
|
.timeline-image {
|
|
|
|
width: 170px;
|
|
|
|
height: 170px;
|
|
|
|
margin-left: -85px;
|
|
|
|
h4 {
|
|
|
|
margin-top: 40px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.timeline-inverted > .timeline-panel {
|
|
|
|
padding: 0 100px 20px 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|