challenge-vtex-io-saulo-klein/styles/sass/pages/product/vtex.store-components.scss

377 lines
7.7 KiB
SCSS

.container {
padding: 0;
.carouselContainer {
display: flex;
flex-direction: column-reverse;
.carouselGaleryThumbs {
position: static;
margin: 16px 0 0;
}
.carouselThumbBorder {
height: fit-content;
}
}
.productImagesThumb {
max-height: 90px !important;
margin: 0 16px 0 0;
width: fit-content !important;
.figure,
.figure .thumbImg {
max-height: 90px;
max-width: 90px;
min-height: 90px;
object-fit: fill;
border-radius: 8px;
}
}
.productImageTag--main {
object-fit: fill !important;
max-width: 664px;
min-height: 664px;
}
.productNameContainer {
text-align: right;
.productBrand--quickview {
font-weight: 300;
font-size: 20px;
line-height: 34px;
color: $color-gray7;
}
}
.skuSelectorContainer {
display: flex;
flex-direction: column-reverse;
.skuSelectorSubcontainer {
margin: 0;
margin: 16px 0 10px;
.skuSelectorTextContainer {
margin: 0 0 8px 0;
.skuSelectorName {
font-size: 0;
&::before {
content: "OUTROS TAMANHOS:";
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: $color-gray6;
}
}
}
.skuSelectorOptionsList {
margin: 0;
.skuSelectorItem {
margin: 0 16px 0 0;
.frameAround {
display: none;
}
.skuSelectorInternalBox {
width: 40px;
height: 40px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
border: 1px solid $color-gray9;
.diagonalCross {
border-radius: 50%;
background-image: linear-gradient(
to top left,
transparent 44%,
$color-gray11,
transparent 52%
);
}
}
&--selected .skuSelectorInternalBox {
border: 2px solid $color-black2;
}
}
}
.skuSelectorNameContainer {
margin: 0;
}
&:first-child {
margin: 0 0 16px;
.skuSelectorTextContainer {
.skuSelectorName::before {
content: "OUTRAS CORES:";
}
.skuSelectorSelectorImageValue,
.skuSelectorNameSeparator {
display: none;
}
}
.skuSelectorOptionsList {
margin: 0;
}
}
}
}
.subscriberContainer {
margin: 43px 0 0;
:global(.vtex-store-components-3-x-title) {
font-size: 0;
margin: 0;
&::before {
content: "Produto indisponível";
font-weight: 700;
font-size: 14px;
line-height: 19px;
color: $color-gray12;
}
}
:global(.vtex-store-components-3-x-subscribeLabel) {
font-size: 0;
&::before {
content: "Deseja saber quando estiver disponível?";
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: $color-gray12;
}
}
:global(.vtex-store-components-3-x-form) {
margin: 0;
:global(.vtex-store-components-3-x-content) {
display: grid;
grid-template-columns: repeat(2, 1fr);
column-gap: 10px;
row-gap: 15px;
margin: 16px 0 0;
:global(.vtex-store-components-3-x-input) {
margin: 0;
:global(.vtex-input) {
:global(.vtex-input-prefix__group) {
padding: 12px 14px;
border: 1px solid $color-gray9;
:global(.vtex-styleguide-9-x-input) {
padding: 0;
font-weight: 400;
font-size: 12px;
line-height: 16px;
color: $color-gray9;
}
}
}
}
:global(.vtex-store-components-3-x-submit) {
margin: 0;
grid-area: 2 / 1 / 2 / 3;
:global(.vtex-button) {
padding: 12px 0;
width: 100%;
border: none;
background: $color-black2;
:global(.vtex-button__label) {
font-size: 0;
&::before {
content: "AVISE-ME";
font-weight: 600;
font-size: 18px;
line-height: 25px;
color: $color-white;
}
}
}
}
}
}
}
.shippingContainer {
display: flex;
position: relative;
padding: 27px 0 0;
width: 280px;
:global(.vtex-button) {
width: auto;
:global(.vtex-button__label) {
font-size: 0;
padding: 15px;
padding-top: 15px !important;
padding-bottom: 15px !important;
&::before {
content: "OK";
font-weight: 600;
font-size: 14px;
line-height: 19px;
}
}
}
:global(.vtex-address-form__postalCode) {
flex: 1;
padding: 0;
:global(.vtex-input) {
:global(.vtex-input__label) {
position: absolute;
top: 0;
left: 0;
margin: 0;
font-size: 0;
&::before {
content: "CALCULAR FRETE:";
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: $color-gray6;
}
}
:global(.vtex-input-prefix__group) {
height: 100%;
}
:global(.vtex-input__suffix) {
display: none;
}
:global(.vtex-input__error) {
display: none;
}
}
:global(.vtex-address-form-4-x-input) {
padding: 16px;
font-weight: 400;
font-size: 12px;
line-height: 16px;
color: $color-gray10;
&:focus::before {
display: none;
}
&::before {
content: "asdasd";
}
}
:global(.vtex-address-form__postalCode-forgottenURL) {
padding: 0;
position: absolute;
top: calc(16px + 27px);
left: calc(100% + 32px);
white-space: nowrap;
text-decoration-line: underline;
:global(.vtex__icon-external-link) {
display: none;
}
}
}
}
.shippingTable {
margin: 16px 0 0;
padding: 0;
border: none;
width: fit-content;
.shippingTableHead {
display: table-header-group;
.shippingTableRow {
text-align: left;
display: grid;
grid-template-columns: repeat(3, 1fr);
.shippingTableHeadDeliveryEstimate {
grid-area: 1 / 3 / 1 / 3;
&::before {
content: "PRAZO";
}
}
.shippingTableHeadDeliveryName::before {
content: "ENTREGA";
}
.shippingTableHeadDeliveryPrice::before {
content: "FRETE";
}
.shippingTableHeadDeliveryEstimate,
.shippingTableHeadDeliveryName,
.shippingTableHeadDeliveryPrice {
font-size: 0;
&::before {
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: $color-black3;
}
}
}
}
.shippingTableBody {
font-weight: 400;
font-size: 12px;
line-height: 16px;
color: $color-gray10;
.shippingTableRow {
margin: 15px 0 0;
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: 1;
.shippingTableCell {
padding: 0;
.shippingTableRadioBtn {
display: none;
}
}
.shippingTableCellDeliveryEstimate {
grid-area: 1 / 3 / 1 / 3;
}
}
}
}
}