1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-29 07:16:17 +01:00
site/_src/_assets/styles/_page-features.scss

225 lines
3.9 KiB
SCSS
Raw Normal View History

2018-04-05 15:08:48 +02:00
.page-features {
2018-04-06 11:33:52 +02:00
.section--getstarted {
background-color: $body-bg;
2018-04-05 15:08:48 +02:00
}
}
2016-02-08 14:35:02 +01:00
.feature {
2016-01-14 13:04:44 +01:00
display: flex;
margin-bottom: $spacer;
2016-01-14 13:04:44 +01:00
&:first-of-type { padding-top: 0; }
}
2016-02-08 14:35:02 +01:00
.feature__icon {
flex: 0 0 15%;
2018-04-04 11:40:08 +02:00
margin-right: 3%;
margin-top: 2px;
2016-02-08 14:35:02 +01:00
margin-bottom: 0;
width: 3rem;
height: 3rem;
2016-02-08 14:35:02 +01:00
}
.feature__detail {
2018-04-04 11:40:08 +02:00
flex: 0 0 82%;
2016-02-08 14:35:02 +01:00
}
.feature__title {
2017-04-12 18:31:59 +02:00
@extend .h5;
color: $brand-main-blue-light;
2016-02-08 14:35:02 +01:00
margin-top: 0;
margin-bottom: ($spacer / 3);
2018-04-04 11:40:08 +02:00
display: flex;
align-items: center;
2016-01-14 13:04:44 +01:00
}
2016-02-08 14:35:02 +01:00
.feature__text {
2017-10-23 10:19:28 +02:00
p {
margin-bottom: 0;
}
2016-01-14 13:04:44 +01:00
}
.feture_roadmap {
padding: 1rem 0 0;
}
2016-01-14 13:04:44 +01:00
2018-04-04 11:40:08 +02:00
.feature__title__comingsoon,
.feature__title__new {
2016-03-25 02:05:24 +01:00
font-family: $headings-font-family;
2018-04-04 11:40:08 +02:00
font-size: $font-size-sm;
2016-03-25 02:05:24 +01:00
color: $gray-light;
background: $gray-dark;
2016-03-25 02:05:24 +01:00
display: inline-block;
margin-left: ($spacer / 2);
2018-04-04 11:40:08 +02:00
padding: ($spacer / 6) ($spacer / 2);
2016-03-25 02:05:24 +01:00
border-radius: 2px;
white-space: nowrap;
2018-04-04 11:40:08 +02:00
}
.feature__title__new {
background: $brand-main-blue-light;
color: $brand-main-blue-dark;
2016-03-25 02:05:24 +01:00
}
2016-02-09 16:35:51 +01:00
.stacks__title {
font-size: $font-size-h3;
}
.stacks__image {
figcaption { margin: $spacer 0; }
}
.table--comparison {
td {
text-align: center;
}
tbody td:first-child {
text-align: left;
}
2017-04-19 19:19:14 +02:00
.icon-check {
width: 1rem;
height: 1rem;
margin: auto;
display: block;
stroke-width: 3;
stroke: #fff;
}
a {
display: inline-block;
box-shadow: none;
.icon-check {
stroke: $brand-primary;
}
2018-04-11 15:17:56 +02:00
// hide external icon
&:after { display: none !important; } // stylelint-disable-line
2017-04-19 19:19:14 +02:00
}
}
.section-usecases {
> .row {
> .section-header {
margin-bottom: 0;
> .section-description { // stylelint-disable-line selector-max-compound-selectors
margin-bottom: $spacer * 3;
padding-bottom: $spacer * 3;
border-bottom: 2px solid lighten($gray-dark, 10%);
}
}
}
}
//
// Industry section
//
.section--industry {
&:first-child {
margin-top: $spacer * 4;
}
.section-header {
margin-bottom: $spacer * 2;
.icon {
width: 48px;
height: 48px;
margin-bottom: -($spacer / 3);
margin-right: $spacer / 2;
stroke-width: 2;
}
}
.section-title,
.section-description {
text-align: left;
}
.section-title {
@extend .h2;
margin-top: 0;
margin-bottom: $spacer * 2;
&:after {
display: none;
}
}
}
.featuredusecase {
border-top: 2px solid lighten($gray-dark, 10%);
padding-top: $spacer * 2;
margin-top: $spacer * 2;
@media ($screen-sm) {
display: flex;
justify-content: space-between;
}
}
.featuredusecase__logo {
box-shadow: none;
transition: .2s ease-out;
display: block;
&:hover,
&:focus {
background: none;
svg {
fill: $brand-main-green;
}
}
@media ($screen-sm) {
flex: 0 0 20%;
order: 2;
margin-left: 5%;
}
img,
svg {
width: 80px;
max-width: 80px;
max-height: 60px;
height: auto;
margin-bottom: $spacer / 2;
opacity: .6;
align-self: flex-start; // work around stretched images flexbox bug
fill: $brand-main-blue-light;
transition: .2s ease-out;
@media ($screen-sm) {
width: 120px;
max-width: 120px;
max-height: 90px;
height: auto;
margin-bottom: 0;
}
}
}
.featuredusecase__content {
flex: 0 0 75%;
}
.featuredusecase__title {
@extend .h3;
margin-top: 0;
margin-bottom: $spacer;
a {
color: $brand-main-green;
box-shadow: none;
&:hover,
&:focus {
color: #fff;
}
}
}