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

271 lines
5.3 KiB
SCSS
Raw Normal View History

.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;
}
}
.productImageTag--main {
object-fit: fill !important;
max-width: 664px;
2023-02-06 23:47:29 +00:00
min-height: 664px;
}
.productNameContainer {
text-align: right;
margin: 0 0 51px;
2023-02-03 00:37:40 +00:00
.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;
}
&--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;
}
}
}
}
2023-02-06 23:47:29 +00:00
.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-address-form-4-x-input) {
&::placeholder {
content: "Digite seu cep";
}
}
: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;
}
}
}
}
}