2016-02-14 15:43:29 +01:00
|
|
|
|
|
|
|
.testimonials {
|
2016-02-14 16:46:09 +01:00
|
|
|
margin-bottom: 0;
|
|
|
|
|
2016-02-14 15:43:29 +01:00
|
|
|
.grid__col {
|
2016-02-14 16:46:09 +01:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2016-02-14 15:43:29 +01:00
|
|
|
}
|
2016-02-14 17:53:37 +01:00
|
|
|
|
|
|
|
// intro animation
|
|
|
|
&.is-ready .grid__col {
|
|
|
|
&:nth-child(2) .testimonial { animation-delay: .3s; }
|
|
|
|
&:nth-child(3) .testimonial { animation-delay: .6s; }
|
|
|
|
}
|
2016-02-14 15:43:29 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.testimonial {
|
2016-02-14 16:46:09 +01:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2016-02-14 17:53:37 +01:00
|
|
|
|
|
|
|
.is-ready & {
|
|
|
|
@extend .animation-slide-in-from-bottom;
|
|
|
|
animation-fill-mode: backwards;
|
|
|
|
}
|
2016-02-14 15:43:29 +01:00
|
|
|
}
|
|
|
|
|
2016-02-14 16:46:09 +01:00
|
|
|
.testimonial__quote,
|
|
|
|
.testimonial__caption {
|
|
|
|
flex: 0 0 100%;
|
2016-02-14 15:43:29 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.testimonial__quote {
|
|
|
|
// blockquote reset
|
|
|
|
margin: 0;
|
|
|
|
position: relative;
|
|
|
|
border: none;
|
|
|
|
color: $text-color;
|
2016-02-14 16:46:09 +01:00
|
|
|
padding: 0;
|
|
|
|
font-style: normal;
|
2016-02-14 15:43:29 +01:00
|
|
|
|
|
|
|
// styling
|
2016-02-14 16:46:09 +01:00
|
|
|
margin-bottom: $spacer;
|
|
|
|
align-self: flex-start;
|
2016-02-14 15:43:29 +01:00
|
|
|
|
|
|
|
// quote characters
|
|
|
|
&:before {
|
|
|
|
content: "“";
|
|
|
|
font-size: 250%;
|
|
|
|
color: $gray;
|
|
|
|
line-height: 1;
|
2016-02-14 16:46:09 +01:00
|
|
|
margin-left: -1rem;
|
2016-02-14 15:43:29 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.testimonial__caption {
|
2016-02-14 16:46:09 +01:00
|
|
|
align-self: flex-end;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
border-top: 2px solid $gray;
|
|
|
|
padding-top: $spacer;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
// speech triangle
|
|
|
|
&:before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
border-style: solid;
|
|
|
|
left: 4rem;
|
|
|
|
top: 0;
|
|
|
|
border-width: .9rem .9rem 0 0;
|
|
|
|
border-color: transparent;
|
|
|
|
border-top-color: $gray;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.testimonial__avatar {
|
|
|
|
@extend .img--responsive;
|
|
|
|
width: 4rem;
|
|
|
|
height: 4rem;
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: $spacer;
|
|
|
|
border-radius: 50%;
|
|
|
|
border: 2px solid $gray;
|
|
|
|
}
|
2016-02-14 15:43:29 +01:00
|
|
|
|
2016-02-14 16:46:09 +01:00
|
|
|
.testimonial__cite {
|
|
|
|
@extend .small;
|
|
|
|
font-style: normal;
|
|
|
|
flex: 1;
|
|
|
|
color: $gray-light;
|
|
|
|
}
|
|
|
|
|
|
|
|
.testimonial__name {
|
|
|
|
font-weight: $font-weight-bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.testimonial__org {
|
|
|
|
display: block;
|
2016-02-14 15:43:29 +01:00
|
|
|
}
|