You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

87 lines
1.6 KiB
SCSS

$small: 600px;
$medium: 960px;
.favorite {
position: absolute;
pointer-events: none;
cursor: not-allowed;
margin-top: 1%;
margin-left: 13%;
@media screen and (max-width: $medium) {
margin-left: 22%;
}
@media screen and (max-width: $small) {
margin-left: 33%;
}
}
.product-card {
display: flex;
flex-direction: column;
height: 95%;
margin: 10%;
box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2),0px 1px 1px 0px rgba(0, 0, 0, 0.14),0px 1px 3px 0px rgba(0, 0, 0, 0.12);
transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
}
.card-content {
height: 100%;
display: flex;
flex-direction: column;
}
.card-img-container {
.card-img {
max-width: 100%;
height: auto;
}
}
.card-details-container {
height: max-content;
padding-top: 15%;
}
.card-info {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
flex-grow: 1;
padding-top: 5%;
.name {
font-size: 2.5vh;
font-weight: lighter;
}
.description {
padding-top: 3vh;
}
.price{
padding-top: 5vh;
font-size: 2vh;
color: #0F1111;
font-weight: 500;
}
}
.card-buttons {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding-bottom: 5%;
button {
margin: 2%;
width: 45%;
@media screen and (max-width: $medium) {
width: 50%;
}
@media screen and (max-width: $small) {
width: 80%;
}
}
}