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.

133 lines
2.7 KiB
SCSS

$small: 600px;
$medium: 960px;
.cart-container {
width: 100%;
padding-top: 20vh;
padding-bottom: 20vh;
display: flex;
flex-direction: row;
justify-content: center;
@media screen and (max-width: $medium) {
flex-direction: column;
align-items: center;
}
}
.cart-list-items {
padding-right: 12vh;
@media screen and (max-width: $medium) {
padding-right: 0;
}
}
.cart-item {
display: flex;
flex-direction: row;
margin-right: 10%;
height: 15vh;
width: 40vh;
padding: 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);
}
.cart-item-img {
padding-right: 15%;
}
img {
width: 100px;
border-radius: 10px;
}
.cart-item-details {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding-right: 10%;
.cart-item-name {
padding-bottom: 10%;
font-size: 28px;
}
.item-quantity {
color: grey
}
}
.cart-item-delete {
display: flex;
flex-grow: 1;
justify-content: center;
align-items: center;
}
.cart-total-price {
width: 50vh;
height: 5vh;
display: flex;
justify-content: center;
align-items: center;
padding-top: 2%;
padding-bottom: 2%;
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);
}
.cart-payment-from {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 4vh;
padding-top: 5vh;
padding-bottom: 5vh;
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);
@media screen and (max-width: $medium) {
margin-top: 5vh;
padding-top: 10vh;
padding-bottom: 10vh;
}
.from-input {
padding-bottom: 7%;
width: 35vh;
}
}
.ifempty-cart {
width: 50vh;
height: 5vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding-top: 2%;
padding-bottom: 2%;
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);
@media screen and (max-width: $medium) {
width: auto;
height: auto;
margin-top: 5vh;
padding: 1vh
}
}