challenge-vtex-io-samuelcon.../styles/sass/pages/product/vtex.store-components.scss
2023-02-08 16:26:28 -03:00

598 lines
13 KiB
SCSS

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;700&display=swap');
.container--product-description-m3{
padding: 0 !important;
}
.container{
padding: 0 40px;
:global(.vtex-flex-layout-0-x-flexRowContent){
@media (max-width: 1024px){
display: flex;
flex-direction: column;
margin: 0;
padding: 0;
}
}
}
:global(.vtex-store-components-3-x-imageElement--img-descricao){
width: 100%;
}
:global(.vtex-flex-layout-0-x-flexRow){
:global(.vtex-store-components-3-x-container){
:global(.vtex-flex-layout-0-x-flexRowContent){
padding: 0;
margin: 16px 0;
}
}
}
.newsletter{
background: black;
padding: 32px 0;
.container{
.form{
.label{
font-size: 0;
display: flex;
flex-direction: column;
gap: 16px;
&::before{
content: 'Assine nossa newsletter';
font-size: 24px;
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-size: 24px;
line-height: 38px;
color: #FFFFFF;
}
&::after{
content: 'Receba ofertas e novidades por e-mail';
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 25px;
color: #929292;
}
}
.inputGroup{
display: flex;
justify-content: center;
:global(.vtex-input){
:global(.vtex-input-prefix__group){
border: none;
border-bottom: 1px #929292 solid;
border-radius: 0;
:global(.vtex-styleguide-9-x-input){
background: black;
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 25px;
color: #929292;
width: 774px;
&::before{
content: 'Digite seu e-mail';
font-size: 16px;
color: white;
}
}
}
}
:global(.vtex-store-components-3-x-buttonContainer){
padding: 0;
:global(.vtex-button){
background: black;
border: none;
border-bottom: 3px gray solid;
border-radius: 0;
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
font-size: 14px;
line-height: 19px;
}
}
}
}
}
}
.shippingTable{
display: block;
}
.carouselGaleryThumbs {
width: 70%;
@media (max-width: 639px){
display: flex;
width: 73%;
}
}
// .productImageTag{
// width: unset !important;
// }
.productNameContainer{
display: flex;
justify-content: right;
margin-bottom: 8px;
@media (max-width: 1024px){
justify-content: left;
}
.productBrand--quickview{
font-family: 'Open Sans';
font-style: normal;
font-weight: 300;
font-size: 20px;
line-height: 34px;
text-align: right;
color: #575757;
@media (max-width: 1024px){
text-align: left;
margin-top: 32px;
margin-bottom: 8px;
}
}
}
.productDescriptionContainer{
max-width: 632px;
margin-left: 32px;
@media (max-width: 1024px){
max-width: 100%;
margin-left: 0;
}
}
.pointerEventsNone{
display: none;
}
.productBrand {
display: flex;
justify-content: flex-end;
margin-right: 37px;
font-family: 'Open Sans', sans-serif;
font-style: normal;
font-weight: 300;
font-size: 20px;
line-height: 34px;
color: #575757;
}
.skuSelectorContainer{
display: flex;
flex-direction: column-reverse;
}
.frameAround,
.skuSelectorInternalBox {
border-radius: 1.5rem;
z-index: 3;
padding: 0;
}
.skuSelectorSubcontainer--tamanho {
.skuSelectorItem {
height: 43px;
}
.frameAround {
width: 40px;
height: 40px;
bottom: -0.25rem;
top: 0rem;
left: 0rem;
right: -0.25rem;
}
.valueWrapper {
padding: 10px 11px;
width: 40px;
height: 40px;
}
}
.frameAround {
border-color: #000;
}
.skuSelectorSubcontainer{
margin-bottom: 16px;
}
.skuSelectorSubcontainer--cor {
.skuSelectorNameContainer {
.skuSelectorTextContainer {
.skuSelectorName,
.skuSelectorSelectorImageValue {
font-size: 0;
}
.skuSelectorName::before {
content: 'OUTRAS CORES';
font-family: 'Open Sans', sans-serif;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #929292;
}
}
}
}
.skuSelectorSubcontainer--tamanho {
margin-bottom: 10px;
.skuSelectorNameContainer {
margin: 0;
.skuSelectorTextContainer {
margin-top: 16px;
.skuSelectorName {
font-size: 0;
&::after {
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
content: "OUTROS TAMANHOS: ";
color: #929292;
}
}
}
.skuSelectorOptionsList {
margin: 0;
margin-left: 0;
column-gap: 16px;
.skuSelectorItem {
border-radius: 100%;
width: 40px;
height: 40px;
margin: 0;
// border: 1px solid #989898;
.frameAround--sku-selector {
border-color: #000000;
border-width: 2px;
width: 40px;
height: 40px;
border-radius: 24px;
top: 0;
bottom: 0;
right: 0;
left: 0;
z-index: 5;
margin: 0 auto;
font-weight: 400;
font-size: 14px;
line-height: 19px;
}
.skuSelectorInternalBox {
border-radius: 100%;
width: 40px;
height: 40px;
border: 1px solid #989898;
.diagonalCross {
width: 30px;
height: 30px;
transform: rotate(274deg);
left: 4px;
top: 5px;
}
.skuSelectorItemTextValue {
padding: 0;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto;
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: rgba(185, 185, 185, 0.6);
}
}
}
.skuSelectorItem--selected {
.skuSelectorInternalBox {
.skuSelectorItemTextValue {
color: #000000;
}
}
}
}
}
}
.subscriberContainer {
.title {
font-size: 0;
margin-bottom: 0;
}
.title::before {
content: 'Produto indisponível';
font-family: 'Open Sans', sans-serif;
font-style: normal;
font-weight: 700;
font-size: 14px;
line-height: 19px;
display: flex;
align-items: center;
color: #868686;
}
.subscribeLabel {
font-size: 0;
}
.subscribeLabel::before {
content: 'Deseja saber quando estiver disponível?';
font-family: 'Open Sans', sans-serif;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
display: flex;
align-items: center;
color: #868686;
}
.form {
.content {
position: relative;
display: flex;
height: 40px;
gap: 8px;
.input {
margin: 0;
:global(.vtex-input) {
:global(.vtex-input-prefix__group) {
border: 0.6px solid #989898;
border-radius: 0;
:global(.vtex-styleguide-9-x-input) {
border-radius: 0;
}
}
}
}
.submit {
width: 100%;
position: absolute;
bottom: calc(-100% - 27px);
margin: 0 !important;
:global(.vtex-button) {
width: 100%;
background: #000;
border: 0.6px solid #000;
border-radius: 0;
color: #fff;
:global(.vtex-button__label) {
padding: 12px;
font-size: 0;
}
:global(.vtex-button__label)::before {
content: 'avise-me';
font-family: 'Open Sans', sans-serif;
font-style: normal;
font-size: 18px;
line-height: 25px;
text-transform: uppercase;
padding: 12px;
}
}
}
}
}
}
.shippingContainer {
display: flex;
margin: 0;
align-items: center;
position: relative;
:global(.vtex-address-form__postalCode) {
display: flex;
@media (max-width: 376px){
flex-direction: column;
}
:global(.vtex-input) {
display: flex;
flex-direction: column;
:global(.vtex-input__label) {
font-size: 0;
}
:global(.vtex-input__label)::before {
content: 'CALCULAR FRETE:';
font-family: 'Open Sans', sans-serif;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #929292;
}
:global(.vtex-input-prefix__group) {
width: 100%;
height: 49px;
margin: 0;
padding: 16.5px 0 16.5px 16px;
border: 1px solid #cccccc;
border-radius: 0;
}
}
:global(.vtex-address-form-4-x-input) {
font-family: 'Open Sans', sans-serif;
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 16px;
display: flex;
align-items: center;
padding: 8px 0;
}
:global(.vtex-input__error) {
position: absolute;
bottom: 0;
}
:global(.vtex-address-form__postalCode-forgottenURL) {
display: flex;
position: absolute;
padding: 0;
left: 312px;
top: 41.5px;
@media (max-width: 476px){
left: 120px;
top: 85px;
}
:last-child{
color: black;
text-decoration: underline;
}
:global(.vtex-address-form__postalCode-forgottenURL):first-child {
display: none;
}
}
}
:global(.vtex-button) {
display: flex;
width: 49px;
height: 49px;
margin-bottom: 5px;
padding: 0 14.5px;
background: #000;
border: 1px solid #000;
border-radius: 0;
cursor: pointer;
:global(.vtex-button__label) {
padding: 0;
font-size: 0;
}
:global(.vtex-button__label)::before {
content: 'OK';
font-family: 'Open Sans', sans-serif;
font-style: normal;
font-weight: 600;
font-size: 14px;
line-height: 19px;
display: flex;
align-items: center;
color: #fff;
}
}
}
.shippingTable {
display: flex;
flex-direction: column;
padding: 0;
margin: 0;
border: none;
.shippingTableHead {
display: flex;
.shippingTableRow {
display: flex;
gap: 62px;
margin-bottom: 15px;
font-family: 'Open Sans', sans-serif;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #202020;
text-transform: uppercase;
@media (max-width: 376px){
margin-top: 16px;
}
.shippingTableHeadDeliveryEstimate {
order: 2;
}
.shippingTableHeadDeliveryPrice {
font-size: 0;
}
.shippingTableHeadDeliveryPrice::before {
content: 'FRETE';
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 19px;
}
}
}
.shippingTableBody {
.shippingTableRow {
display: flex;
@media (max-width: 376px){
justify-content: center;
align-items: center;
}
.shippingTableCell {
font-family: 'Open Sans', sans-serif;
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 16px;
align-items: center;
color: #afafaf;
margin-bottom: 15px;
}
.shippingTableCellDeliveryEstimate {
order: 2;
}
.shippingTableCellDeliveryPrice {
width: 108px;
}
.shippingTableCellDeliveryName {
width: 95px;
margin-right: 32px;
padding: 0;
.shippingTableLabel {
.shippingTableRadioBtn {
display: none;
}
}
}
}
}
}
.carouselGaleryThumbs {
:first-child {
height: 90px;
:first-child {
gap: 16px !important;
.productImagesThumb {
max-width: 90px;
height: fit-content !important;
width: fit-content !important;
max-height: 90px;
margin: 0;
// @media (max-width: 639px){
// height: 90px;
// width: 90px;
// }
.figure {
.thumbImg {
border-radius: 8px;
}
}
}
}
}
}