1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-22 09:46:57 +01:00

prototype driver component

This commit is contained in:
Matthias Kretschmann 2017-06-15 22:11:46 +02:00
parent e4d00cb16b
commit 03e42d043c
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 64 additions and 0 deletions

View File

@ -4,6 +4,60 @@
// bigchaindb.com // bigchaindb.com
// //
.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;
&:hover,
&:focus {
.driver__title {
color: #fff;
}
.driver__logo {
background: #fff;
}
}
}
.driver,
.driver__logo,
.driver__title {
@include transition;
}
.driver__logo {
width: 3rem;
height: 3rem;
background: $brand-primary;
}
.driver__title {
color: $brand-primary;
margin: 0;
font-size: $font-size-h3;
}
.driver__meta {
@include text-small;
width: 100%;
align-self: flex-end;
margin: 0;
span {
display: block;
}
}
.driver__version {
opacity: .75;
}
.section--community { .section--community {
text-align: center; text-align: center;
position: relative; position: relative;

View File

@ -42,7 +42,17 @@ redirect_from:
<section class="section section--drivers background--darker" id="drivers"> <section class="section section--drivers background--darker" id="drivers">
<div class="row"> <div class="row">
<a class="driver" href="https://github.com/bigchaindb/bigchaindb-driver">
<h2 class="driver__title">Python</h2>
<svg class="driver__logo">
<use></use>
</svg>
<p class="driver__meta">
<span class="driver__repo">bigchaindb-driver</span>
<span class="driver__version">v0.1.1</span>
</p>
</a>
</div> </div>
</section> </section>