Dropped image logo gradients.

This commit is contained in:
Sean Li 2015-07-24 16:58:10 -07:00
parent 5eb90aaacd
commit ee6e2997b4
2 changed files with 4 additions and 3 deletions

View File

@ -108,7 +108,8 @@ var ImageCard = React.createClass({
description = "No description.";
}
var logoStyle = {
backgroundImage: `linear-gradient(-180deg, ${this.props.image.gradient_start} 4%, ${this.props.image.gradient_end} 100%)`
//backgroundImage: `linear-gradient(-180deg, ${this.props.image.gradient_start} 4%, ${this.props.image.gradient_end} 100%)`
backgroundColor: this.props.image.gradient_start
};
var imgsrc;
if (this.props.image.img) {

View File

@ -284,7 +284,7 @@
border-bottom-left-radius: @border-radius;
justify-content: center;
text-align: center;
box-shadow: inset 0px 0px 0px 1px rgba(0,0,0,0.2);
box-shadow: inset 0px 0px 0px 1px rgba(0,0,0,0.1);
img {
width: 35px;
height: auto;
@ -293,7 +293,7 @@
}
.card {
position: relative;
border: 1px solid darken(@gray-lightest, 5%);
border: 1px solid darken(@gray-lightest, 0%);
border-left: 0;
border-top-right-radius: @border-radius;
border-bottom-right-radius: @border-radius;