challenge-vtex-io-amanda-al.../styles/sass/pages/product/vtex.store-components.scss

283 lines
4.3 KiB
SCSS
Raw Normal View History

.newsletter {
background: red;
}
.carouselContainer {
flex-direction: column-reverse;
}
.container {
padding: 0;
}
.productNameContainer {
font-weight: 300;
font-size: 20px;
line-height: 34px;
color: #575757;
text-align: right;
}
.carouselGaleryCursor {
margin: 0;
margin-bottom: 16px;
padding: 0;
}
.carouselGaleryThumbs {
position: relative;
margin-top: 16px;
}
.productImageTag--main {
max-height: 664px !important;
}
.productImagesThumb {
margin: 0;
margin-right: 16px;
width: 90px !important;
height: 90px !important;
border-radius: 8px;
}
.figure--video {
width: 90px !important;
height: 90px !important;
border-radius: 8px;
}
.thumbImg--video {
height: 100%;
border-radius: 8px;
}
.productImagesThumbActive {
.carouselThumbBorder {
background: linear-gradient(0deg, rgba(0, 0, 0, 0.33), rgba(0, 0, 0, 0.33));
border-radius: 8px;
}
}
.skuSelectorContainer {
display: flex;
flex-direction: column-reverse;
}
.skuSelectorSubcontainer--tamanho {
margin-top: 16px;
margin-bottom: 10px;
}
.skuSelectorSubcontainer--cor {
margin-bottom: 16px;
}
.skuSelectorNameContainer {
margin: 0;
}
.skuSelectorTextContainer {
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #929292;
}
.skuSelectorName,
.skuSelectorSelectorImageValue {
font-size: 0;
}
.skuSelectorSubcontainer--tamanho {
.skuSelectorName {
&::after {
content: "OUTROS TAMANHOS:";
font-size: 14px;
}
}
}
.skuSelectorSubcontainer--cor {
.skuSelectorName {
&::after {
content: "OUTRAS CORES";
font-size: 14px;
}
}
}
.skuSelectorItem {
height: 40px;
margin: 0;
}
.skuSelectorOptionsList {
margin: 0;
display: flex;
gap: 16px;
}
.skuSelectorInternalBox {
width: 40px;
height: 40px;
border: 1px solid #989898;
border-radius: 50%;
}
.skuSelectorItem--selected {
.frameAround {
border: 2px solid #000000;
border-radius: 50%;
top: 0;
bottom: 0;
left: 0;
right: 0;
width: 40px;
height: 40px;
z-index: 50;
}
}
.valueWrapper {
font-size: 14px;
line-height: 19px;
color: rgba(185, 185, 185, 0.6);
padding: 0;
text-align: center;
}
.skuSelectorItem--selected {
.valueWrapper {
color: #000000;
}
}
.diagonalCross {
background: #d5d5d5;
width: 1px;
height: 38.18px;
left: 19px;
top: 1px;
transform: rotate(45deg);
}
.productDescriptionText {
.container {
padding: 0;
}
}
.shippingContainer {
display: flex;
margin-top: 16px;
position: relative;
:global(.vtex-address-form__postalCode) {
display: flex;
align-items: center;
gap: 32px;
}
:global(.vtex-input__label) {
font-size: 0;
&::after {
content: "CALCULAR FRETE:";
font-size: 14px;
line-height: 19px;
color: #929292;
}
}
:global(.vtex-input__suffix) {
display: none;
}
:global(.vtex-input-prefix__group) {
width: 280px;
height: 49px;
border-radius: 0;
}
:global(.vtex-address-form__postalCode-forgottenURL) {
padding: 0;
padding-top: 24.5px;
:last-child {
font-size: 12px;
line-height: 16px;
display: flex;
align-items: center;
text-decoration-line: underline;
color: #000000;
}
:global(.vtex__icon-external-link) {
width: 0;
}
}
:global(.vtex-button) {
width: 49px;
height: 49px;
background-color: #000000;
border: 0;
position: absolute;
bottom: 32px;
left: 230px;
}
:global(.vtex-button__label) {
font-size: 0;
&::after {
content: "Ok";
font-weight: 600;
font-size: 14px;
line-height: 19px;
display: flex;
align-items: center;
color: #FFFFFF;
}
}
}
@media screen and (max-width: 1024px) {
.productImageTag--main {
max-height: 994px !important;
}
.productNameContainer {
text-align: start;
}
}
@media screen and (max-width: 375px) {
.shippingContainer {
:global(.vtex-address-form__postalCode) {
flex-direction: column;
align-items: flex-end;
gap: 8px;
width: 100%;
}
:global(.vtex-input-prefix__group) {
width: 100%;
}
:global(.vtex-address-form__postalCode-forgottenURL) {
padding: 0;
}
:global(.vtex-button) {
bottom: 56px;
left: 245px;
}
}
}