mirror of https://github.com/docker/docs.git
Dropped image logo gradients.
This commit is contained in:
parent
5eb90aaacd
commit
ee6e2997b4
|
@ -108,7 +108,8 @@ var ImageCard = React.createClass({
|
||||||
description = "No description.";
|
description = "No description.";
|
||||||
}
|
}
|
||||||
var logoStyle = {
|
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;
|
var imgsrc;
|
||||||
if (this.props.image.img) {
|
if (this.props.image.img) {
|
||||||
|
|
|
@ -284,7 +284,7 @@
|
||||||
border-bottom-left-radius: @border-radius;
|
border-bottom-left-radius: @border-radius;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
text-align: 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 {
|
img {
|
||||||
width: 35px;
|
width: 35px;
|
||||||
height: auto;
|
height: auto;
|
||||||
|
@ -293,7 +293,7 @@
|
||||||
}
|
}
|
||||||
.card {
|
.card {
|
||||||
position: relative;
|
position: relative;
|
||||||
border: 1px solid darken(@gray-lightest, 5%);
|
border: 1px solid darken(@gray-lightest, 0%);
|
||||||
border-left: 0;
|
border-left: 0;
|
||||||
border-top-right-radius: @border-radius;
|
border-top-right-radius: @border-radius;
|
||||||
border-bottom-right-radius: @border-radius;
|
border-bottom-right-radius: @border-radius;
|
||||||
|
|
Loading…
Reference in New Issue