1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-12-03 06:24:33 +01:00
site/_src/_assets/styles/bigchain/_team.scss

131 lines
2.4 KiB
SCSS
Raw Normal View History

2016-01-09 18:36:18 +01:00
//
// Team Unit
// ---
2017-05-29 21:15:48 +02:00
// bigchaindb.com
2016-01-09 18:36:18 +01:00
//
.team__image {
@extend .img--responsive;
background: $brand-main-gray;
2016-01-09 18:36:18 +01:00
width: 230px;
2016-01-10 02:11:27 +01:00
clip-path: polygon(50% 0%, 90% 20%, 100% 60%, 75% 100%, 25% 100%, 0% 60%, 10% 20%);
2017-11-20 12:47:35 +01:00
filter: grayscale(1);
2016-01-09 18:36:18 +01:00
}
.team__name {
@extend .h5;
color: $text-color;
margin-bottom: 0;
2016-01-10 02:11:27 +01:00
// the bottom line
&:after {
2017-05-31 00:22:14 +02:00
content: '';
2016-01-22 16:03:56 +01:00
height: 1px;
2016-01-10 02:11:27 +01:00
width: 3rem;
display: block;
margin: ($spacer / 1.3) auto ($spacer / 2) auto;
2016-01-22 16:03:56 +01:00
background: $brand-main-blue-light;
2016-01-10 02:11:27 +01:00
}
2016-01-09 18:36:18 +01:00
}
.team__position {
@extend .text-dimmed;
2016-01-10 03:05:55 +01:00
margin-bottom: ($spacer / 2);
}
.team__social {
margin-bottom: 0;
}
.team__social__link {
display: inline-block;
margin: 0 ($spacer / 2);
2016-01-30 13:34:11 +01:00
box-shadow: none;
&,
&:hover,
&:focus {
background: transparent;
}
2016-01-10 03:05:55 +01:00
&:hover,
&:focus {
transform: translateY(-1px);
filter: drop-shadow(0 1px 4px rgba($brand-main-blue-dark, .4));
}
&:active {
filter: drop-shadow(0 1px 2px rgba($brand-main-blue-dark, .3));
outline: 0;
transform: none;
}
2016-01-10 03:05:55 +01:00
.icon {
2016-01-30 13:34:11 +01:00
fill: $brand-primary;
2016-01-10 03:05:55 +01:00
}
2016-01-09 18:36:18 +01:00
}
2016-03-25 02:05:24 +01:00
2017-08-22 00:50:41 +02:00
.team__bio {
text-align: left;
font-size: $font-size-sm;
margin-bottom: 0;
margin-top: $spacer;
display: none;
2017-08-23 00:33:46 +02:00
opacity: 0;
height: 0;
transition: .4s ease-out;
p:last-child {
margin-bottom: 0;
}
2017-08-22 00:50:41 +02:00
}
.team__bio__trigger {
display: block;
text-align: center;
cursor: pointer;
padding-top: $spacer;
border-top: 1px solid $gray-dark;
margin-top: $spacer * 3;
margin-bottom: $spacer * 2;
position: relative;
font-size: $font-size-sm;
color: $gray;
2017-08-22 23:35:36 +02:00
span {
2017-08-22 00:50:41 +02:00
width: 2rem;
height: 2rem;
display: block;
2017-08-22 23:35:36 +02:00
margin-left: auto;
margin-right: auto;
margin-top: -2rem;
2017-08-22 00:50:41 +02:00
background: $gray-dark;
color: $gray-light;
font-size: $font-size-lg;
2017-08-22 23:35:36 +02:00
line-height: 1.35;
2017-08-22 00:50:41 +02:00
transition: .15s ease-out;
}
&:hover {
border-top-color: darken($gray-dark, 5%);
2017-08-22 23:35:36 +02:00
span {
2017-08-22 00:50:41 +02:00
background: darken($gray-dark, 5%);
2017-08-22 23:35:36 +02:00
color: $brand-main-green;
2017-08-22 00:50:41 +02:00
}
}
}
2016-03-25 02:05:24 +01:00
//
// Grid redefinition: more spacious
//
2017-11-20 12:47:35 +01:00
$spacer-team: 3rem;
2016-03-25 02:05:24 +01:00
.grid--team {
margin: -($spacer-team) 0 $spacer-team (-($spacer-team));
> .grid__col {
padding: $spacer-team 0 0 $spacer-team;
2016-03-25 02:05:24 +01:00
}
}