68 lines
1.5 KiB
SCSS
68 lines
1.5 KiB
SCSS
.decoration-card {
|
|
background: rgba(255, 255, 255, 0.87);
|
|
width: 213px;
|
|
height: 258px;
|
|
margin: 7px 12px;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
float: left;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.decoration-card:hover {
|
|
background: #ffffff;
|
|
overflow: visible;
|
|
box-shadow: 0 0 18px 2px #666666;
|
|
}
|
|
|
|
.decoration-description {
|
|
text-align: left;
|
|
}
|
|
|
|
.decoration-card:hover .decoration-description {
|
|
background: #ffffff;
|
|
position: relative;
|
|
z-index: 5;
|
|
}
|
|
|
|
.image-head {
|
|
height: 100px;
|
|
text-align: center;
|
|
padding: 12px;
|
|
}
|
|
|
|
.decoration-card .mat-card-content > div {
|
|
padding: 8px;
|
|
}
|
|
|
|
.decoration-card .mat-card-content > div:first-child {
|
|
color: white;
|
|
display: inherit;
|
|
text-align: center;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
img.img-medal {
|
|
height: 100%;
|
|
}
|
|
|
|
img.img-ribbon {
|
|
padding-top: 10%;
|
|
width: 55%;
|
|
}
|
|
|
|
.gradient {
|
|
position: absolute;
|
|
z-index: 2;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
height: 24px;
|
|
background: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.84) 70%);
|
|
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(70%, rgba(255, 255, 255, 0.84)));
|
|
background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.84) 70%);
|
|
background: -o-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.84) 70%);
|
|
background: -ms-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.84) 70%);
|
|
background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.84) 70%);
|
|
}
|