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.

111 lines
2.1 KiB
SCSS

$small: 600px;
$medium: 960px;
.details-container {
display: flex;
justify-content: center;
padding-top: 10%;
@media screen and (max-width: $medium) {
padding-top: 35%;
}
@media screen and (max-width: $small) {
padding-top: 50%;
}
}
.details-img {
width: 25%;
padding-right: 5%;
height:50vh;
overflow: hidden;
@media screen and (max-width: $small) {
width: 30%;
}
}
.details-info {
display: flex;
flex-direction: column;
padding: 2%;
padding-top: 2%;
width: 30%;
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: $small) {
width: 60%;
}
.info-tilte {
font-size: 3vh;
font-weight: lighter;
padding-bottom: 2%;
}
.info-price {
font-size: 2.5vh;
color: #0F1111;
font-weight: 500;
}
.info-description {
padding-top: 10%;
}
}
.details-quantity {
width: 30%;
padding-top: 5%;
flex-grow: 1;
@media screen and (max-width: $medium) {
width: 60%;
}
@media screen and (max-width: $small) {
width: 50%;
}
}
.back-button {
margin-right: 5%;
}
img {
border-radius: 10px;
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);
width: 100%;
height: auto;
position: relative;
top: 50%;
-ms-transform: translateY(-50%);
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
}
@media screen and (max-width:800px) {
.details-img > img {
min-width:650px;
top: 0;
left: 50%;
transform: translatex(-50%);
}
}
.select-input {
width: 108px;
margin-bottom: 8px;
}
.detail-item {
margin-left: 128px;
margin-right: 128px;
}
.back-link {
margin-top: 8px;
}