From ee6e2997b42e15b17b59daba3ec9174ef12e8ea8 Mon Sep 17 00:00:00 2001 From: Sean Li Date: Fri, 24 Jul 2015 16:58:10 -0700 Subject: [PATCH] Dropped image logo gradients. --- src/components/ImageCard.react.js | 3 ++- styles/new-container.less | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/ImageCard.react.js b/src/components/ImageCard.react.js index 0e54e59770..6d77201f9f 100644 --- a/src/components/ImageCard.react.js +++ b/src/components/ImageCard.react.js @@ -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) { diff --git a/styles/new-container.less b/styles/new-container.less index 0202a08910..30fa2ce62d 100644 --- a/styles/new-container.less +++ b/styles/new-container.less @@ -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;