challenge-vtex-io-ueber-james/styles/sass/pages/product/vtex.store-components.scss

558 lines
8.1 KiB
SCSS
Raw Normal View History

2023-02-08 02:55:02 +00:00
.container {
// margin: 0;
// padding: 0;
max-width: 100%;
2023-02-08 02:55:02 +00:00
padding-left: 40px;
padding-right: 40px;
@include mq (md, max) {
padding: 0;
}
2023-02-10 18:54:39 +00:00
@include mq (xl, min) {
padding: 0;
}
2023-02-08 02:55:02 +00:00
.productImagesGallerySlide {
width: 100% !important;
}
2023-02-08 02:55:02 +00:00
.productImageTag--main {
max-height: 100% !important;
max-width: 100% !important;
}
.productNameContainer {
2023-02-10 14:16:37 +00:00
font-family: $font-open;
font-weight: 300;
font-size: 20px;
line-height: 34px;
2023-02-10 14:16:37 +00:00
color: $color-gray8;
display: flex;
justify-content: flex-end;
}
.carouselGaleryThumbs {
gap: 16px;
display: block !important;
.productImagesThumb {
max-width: 90px;
width: 100%;
margin-right: 16px;
}
.thumbImg {
border-radius: 9px;
height: 90px;
}
}
@include mq (md, max) {
.productNameContainer {
justify-content: flex-start;
}
}
}
// sku-selector
.skuSelectorContainer {
display: flex;
flex-direction: column-reverse;
2023-02-08 00:36:10 +00:00
.skuSelectorSubcontainer--cor {
// order: 2;
2023-02-08 00:36:10 +00:00
margin-bottom: 16px;
.skuSelectorName {
font-size: 0;
margin-left: 16px;
&::after {
2023-02-10 14:16:37 +00:00
font-family: $font-open;
font-size: 14px;
font-weight: 400;
line-height: 19px;
visibility: visible;
display: block;
content: "OUTRAS CORES:";
2023-02-10 14:16:37 +00:00
}
}
.skuSelectorSelectorImageValue,
.skuSelectorNameSeparator {
display: none;
}
.frameAround {
border-radius: 30px;
}
.skuSelectorItemImageValue,
.skuSelectorInternalBox {
border-radius: 21px;
}
}
.skuSelectorSubcontainer--tamanho {
.skuSelectorName {
font-size: 0;
margin-left: 16px;
&::after {
2023-02-10 14:16:37 +00:00
font-family: $font-open;
font-size: 14px;
font-weight: 400;
line-height: 19px;
visibility: visible;
display: block;
content: "OUTROS TAMANHOS:";
2023-02-10 14:16:37 +00:00
}
}
.frameAround {
// border:3px solid $color-black2;
width: 40px;
height: 40px;
border-radius: 30px;
top: 0;
left: 0;
right: 0;
}
.skuSelectorInternalBox {
margin: auto;
padding: 0;
width: 40px;
height: 40px;
border-radius: 30px;
}
.skuSelectorItemTextValue {
padding: 0;
margin: auto;
}
}
.valueWrapper .skuSelectorItemTextValue {
margin-right: 5px;
}
.frameAround {
border-color: $color-black2;
z-index: 2;
}
.diagonalCross {
background-image: linear-gradient(to top left, transparent 44%, rgba(0, 0, 0, 0.3) 48%, currentColor 48%, currentColor 52%, transparent 52%);
width: 36px;
height: 17px;
top: 11px;
}
.skuSelectorItem--skus--selected {
.skuSelectorItemTextValue {
font-size: 14px;
line-height: 19px;
font-weight: 400;
color: $color-black2 !important;
font-family: $font-open;
2023-02-08 02:55:02 +00:00
}
2023-02-08 02:55:02 +00:00
}
}
// sku-selector-fim
// cep
.shippingContainer {
2023-02-10 14:16:37 +00:00
@include mq (cstm, max) {
display: block;
:global(.vtex-address-form__postalCode) {
flex-direction: column;
}
:global(.vtex-address-form__postalCode-forgottenURL) {
left: 0 !important;
margin-top: 0 !important;
display: flex;
justify-content: flex-end;
}
:global(.vtex-button) {
right: 0 !important;
margin-top: 0 !important;
left: 86%;
bottom: 78px;
}
}
2023-02-08 02:55:02 +00:00
display: flex;
padding: 0;
2023-02-08 02:55:02 +00:00
:global(.vtex-input-prefix__group) {
2023-02-08 02:55:02 +00:00
height: 49px;
2023-02-08 02:55:02 +00:00
}
2023-02-08 02:55:02 +00:00
:global(.vtex-input__label) {
2023-02-08 02:55:02 +00:00
font-size: 0;
2023-02-08 02:55:02 +00:00
&::after {
content: "CALCULAR FRETE:";
font-size: 14px;
line-height: 19px;
font-weight: 400;
font-family: $font-open;
}
2023-02-08 02:55:02 +00:00
}
2023-02-08 02:55:02 +00:00
:global(.vtex-address-form__postalCode) {
display: flex;
padding: 0;
}
2023-02-08 02:55:02 +00:00
:global(.vtex-button) {
font-size: 0;
position: relative;
right: 164px;
width: 49px;
height: 49px;
margin-top: 27px;
background-color: $color-black2;
border: none;
border-radius: 0;
2023-02-08 02:55:02 +00:00
&::after {
2023-02-08 02:55:02 +00:00
content: "OK";
color: $color-white;
font-size: 14px;
line-height: 19px;
font-weight: 600;
2023-02-08 02:55:02 +00:00
}
}
2023-02-08 02:55:02 +00:00
:global(.vtex-button__label) {
height: fit-content;
2023-02-08 23:57:27 +00:00
2023-02-08 02:55:02 +00:00
}
:global(.vtex-address-form__postalCode-forgottenURL) {
position: relative;
left: 20px;
margin-top: 31px;
:last-child {
color: $color-black2;
}
}
:global(.vtex__icon-external-link) {
display: none;
}
2023-02-08 23:57:27 +00:00
@include mq (md, max) {
margin-bottom: 16px;
}
2023-02-08 23:57:27 +00:00
@include mq (sm, max) {
padding-top: 16px;
}
2023-02-08 00:36:10 +00:00
}
2023-02-08 02:55:02 +00:00
.shippingTable {
2023-02-08 00:36:10 +00:00
2023-02-08 02:55:02 +00:00
border: none;
color: $color-black300;
font-size: 14px;
font-family: $font-open;
font-weight: 400 !important;
text-transform: uppercase;
.shippingTableLabel {
2023-02-08 02:55:02 +00:00
color: $color-gray9;
font-weight: 400;
2023-02-08 02:55:02 +00:00
font-style: normal;
font-size: 12px;
line-height: 16px;
}
2023-02-08 00:36:10 +00:00
2023-02-08 02:55:02 +00:00
.shippingTableRadioBtn {
padding: 0;
display: flex;
color: $color-gray9;
font-weight: 400;
2023-02-08 02:55:02 +00:00
font-style: normal;
font-size: 12px;
line-height: 16px;
min-width: 140px;
padding-top: 15px;
display: none;
}
.shippingTableHead {
display: flex;
padding-bottom: 15px;
2023-02-08 02:55:02 +00:00
.shippingTableRow {
position: relative;
.shippingTableHeadDeliveryEstimate {
position: absolute;
top: 0;
left: 300px;
}
.shippingTableHeadDeliveryPrice {
position: absolute;
top: 0;
left: 163px;
font-size: 0;
&::after {
position: absolute;
content: "FRETE";
visibility: visible;
display: block;
font-size: 14px;
}
}
}
2023-02-08 00:36:10 +00:00
}
2023-02-08 02:55:02 +00:00
.shippingTableBody {
.shippingTableRow {
display: flex;
padding-bottom: 15px;
.shippingTableCellDeliveryName {
width: 100px;
}
.shippingTableCellDeliveryEstimate {
2023-02-08 02:55:02 +00:00
display: flex;
order: 2;
margin-left: 66px;
}
.shippingTableCellDeliveryPrice {
2023-02-08 02:55:02 +00:00
margin-left: 58px;
}
}
}
2023-02-08 23:57:27 +00:00
2023-02-08 00:36:10 +00:00
}
2023-02-08 02:55:02 +00:00
// cep-fim
//produto-indisponivel
.subscriberContainer {
.title {
font-size: 0;
&::after {
content: "Produto indisponível";
font-size: 14px;
color: $color-gray8;
line-height: 19px;
font-family: $font-open;
}
}
.subscribeLabel {
font-size: 0;
&::after {
content: "Deseja saber quando estiver disponível?";
font-size: 14px;
color: $color-gray8;
font-family: $font-open;
}
}
.form {
.content {
display: grid;
grid-template-areas: " nome email"
" submit submit";
.inputName {
grid-area: nome;
@include mq (md, max) {
margin-bottom: 0;
}
}
.inputEmail {
grid-area: email;
@include mq (md, max) {
margin-bottom: 0;
}
}
.submit {
grid-area: submit;
width: 100%;
:global(.vtex-button) {
width: 100%;
height: 49px;
}
:global(.vtex-button__label) {
background-color: $color-black2;
font-size: 0;
&::after {
text-transform: uppcase;
content: "avise-me";
font-size: 18px;
color: $color-white;
font-family: $font-open;
}
}
}
}
}
}
//produto-indiponivel-fim
2023-02-08 02:55:02 +00:00
// tab-descrição
2023-02-10 14:16:37 +00:00
.productDescriptionContainer {
@include mq (md, max) {
margin-bottom: 16px;
}
2023-02-10 14:16:37 +00:00
.productDescriptionTitle {
font-size: 24px;
line-height: 32px;
font-family: $font-open;
padding-left: 32px;
color: $color-gray8;
font-weight: 400;
@include mq (md, max) {
padding-left: 0;
padding-top: 16px;
}
@include mq (xl, min) {
font-size: 32px;
}
2023-02-10 18:54:39 +00:00
}
2023-02-08 02:55:02 +00:00
2023-02-10 14:16:37 +00:00
.productDescriptionText {
2023-02-08 02:55:02 +00:00
2023-02-10 14:16:37 +00:00
font-family: $font-open;
font-weight: 400;
2023-02-08 02:55:02 +00:00
font-size: 16px;
line-height: 19px;
display: block;
color: $color-gray6;
padding-left: 32px;
2023-02-10 14:16:37 +00:00
@include mq (md, max) {
padding: 0px 0px 0px 0;
}
2023-02-10 14:16:37 +00:00
@include mq (xl, min) {
2023-02-08 02:55:02 +00:00
2023-02-10 14:16:37 +00:00
font-size: 18px;
2023-02-08 02:55:02 +00:00
}
2023-02-10 14:16:37 +00:00
}
}
2023-02-10 14:16:37 +00:00
// tab-descrição-fim