site/_src/_assets/styles/_page-getstarted.scss

147 lines
2.6 KiB
SCSS
Raw Normal View History

2016-01-21 11:51:05 +01:00
//
2017-06-15 19:16:45 +02:00
// Page: Get started
2016-01-21 11:51:05 +01:00
// ---
2017-05-29 21:15:48 +02:00
// bigchaindb.com
2016-01-21 11:51:05 +01:00
//
2017-06-15 22:11:46 +02:00
.driver {
padding: $spacer;
background: rgba($brand-main-blue-light, .15);
border-top-left-radius: $border-radius;
border-top-right-radius: $border-radius;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
2017-06-22 14:31:49 +02:00
box-shadow: none;
2017-06-15 22:11:46 +02:00
&:hover,
&:focus {
.driver__title {
color: #fff;
}
.driver__logo {
background: #fff;
}
}
}
.driver,
.driver__logo,
.driver__title {
@include transition;
}
.driver__logo {
2017-06-22 14:31:49 +02:00
width: 2rem;
height: 2rem;
2017-06-15 22:11:46 +02:00
background: $brand-primary;
}
.driver__title {
2017-06-22 14:31:49 +02:00
@extend .h5;
2017-06-15 22:11:46 +02:00
color: $brand-primary;
2017-06-22 14:31:49 +02:00
margin-top: 0;
margin-bottom: $spacer;
2017-06-15 22:11:46 +02:00
}
.driver__meta {
@include text-small;
width: 100%;
align-self: flex-end;
margin: 0;
span {
display: block;
}
}
.driver__version {
opacity: .75;
}
2017-06-22 14:31:49 +02:00
.driver--community {
text-align: center;
justify-content: center;
.driver__title {
width: 100%;
margin-bottom: 0;
}
.driver__logo {
margin-bottom: $spacer / 2;
}
}
2017-06-15 19:16:45 +02:00
.section--community {
text-align: center;
2016-02-09 19:20:30 +01:00
2016-02-09 19:08:43 +01:00
.section-header {
.section-description { margin-bottom: ($spacer * 2); }
}
2016-02-09 19:20:30 +01:00
.grid h1 {
@extend .h3;
margin-top: 0;
}
.social-link {
&,
.icon {
@include transition;
}
display: inline-block;
box-shadow: none;
padding: $btn-padding-y-sm $btn-padding-x-sm;
&:hover,
&:focus {
background: none;
.icon {
fill: lighten($brand-primary, 10%);
filter: drop-shadow(0 1px 4px rgba($brand-main-blue-dark, .4));
transform: translateY(-1px);
2016-02-18 16:27:54 +01:00
&.icon--gitter {
stroke: lighten($brand-primary, 10%);
}
}
}
&:active {
outline: 0;
.icon {
fill: $brand-primary;
filter: drop-shadow(0 1px 2px rgba($brand-main-blue-dark, .3));
transform: translateY(0);
}
}
.icon {
fill: $brand-primary;
width: 1.5rem;
height: 1.5rem;
2016-02-18 16:27:54 +01:00
&.icon--gitter {
stroke: $brand-primary;
}
}
}
.social-link__title {
@include text-small;
color: $brand-primary;
display: block;
text-align: center;
}
2016-01-21 11:51:05 +01:00
}
2016-02-10 01:04:57 +01:00
.community__actions {
border-bottom: 1px solid $gray-dark;
margin-bottom: $spacer * 3;
padding-bottom: $spacer * 3;
}