challenge-vtex-io-ueber-james/styles/css/vtex.store-components.css

403 lines
9.7 KiB
CSS
Raw Normal View History

2023-02-08 02:55:02 +00:00
@charset "UTF-8";
/*
0 - 600PX: Phone
600 - 900px: Table portrait
900 - 1200px: Tablet landscape
[1200 - 1800] is where our nortal styles apply
1800px + : Big desktop
*/
/* Media Query M3 */
2023-02-08 02:55:02 +00:00
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap");
/* Grid breakpoints */
.container {
max-width: 100%;
2023-02-08 02:55:02 +00:00
padding-left: 40px;
padding-right: 40px;
}
@media only screen and (max-width: 1024px) {
.container {
padding: 0;
}
}
2023-02-10 18:54:39 +00:00
@media only screen and (min-width: 1921px) {
.container {
padding: 0;
}
}
.container .productImagesGallerySlide {
width: 100% !important;
}
.container .productImageTag--main {
max-height: 100% !important;
max-width: 100% !important;
}
.container .productNameContainer {
2023-02-10 14:16:37 +00:00
font-family: "Open Sans", sans-serif;
font-weight: 300;
font-size: 20px;
line-height: 34px;
2023-02-10 14:16:37 +00:00
color: #868686;
display: flex;
justify-content: flex-end;
}
.container .carouselGaleryThumbs {
gap: 16px;
display: block !important;
}
.container .carouselGaleryThumbs .productImagesThumb {
max-width: 90px;
width: 100%;
margin-right: 16px;
}
.container .carouselGaleryThumbs .thumbImg {
border-radius: 9px;
height: 90px;
}
@media only screen and (max-width: 1024px) {
.container .productNameContainer {
justify-content: flex-start;
}
}
.skuSelectorContainer {
display: flex;
flex-direction: column-reverse;
}
.skuSelectorContainer .skuSelectorSubcontainer--cor {
2023-02-08 00:36:10 +00:00
margin-bottom: 16px;
}
.skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorName {
font-size: 0;
margin-left: 16px;
}
.skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorName::after {
2023-02-10 14:16:37 +00:00
font-family: "Open Sans", sans-serif;
font-size: 14px;
font-weight: 400;
line-height: 19px;
visibility: visible;
display: block;
content: "OUTRAS CORES:";
}
.skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorSelectorImageValue,
.skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorNameSeparator {
display: none;
}
.skuSelectorContainer .skuSelectorSubcontainer--cor .frameAround {
border-radius: 30px;
}
.skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorItemImageValue,
.skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorInternalBox {
border-radius: 21px;
}
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorName {
font-size: 0;
margin-left: 16px;
}
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorName::after {
2023-02-10 14:16:37 +00:00
font-family: "Open Sans", sans-serif;
font-size: 14px;
font-weight: 400;
line-height: 19px;
visibility: visible;
display: block;
content: "OUTROS TAMANHOS:";
}
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .frameAround {
width: 40px;
height: 40px;
border-radius: 30px;
top: 0;
left: 0;
right: 0;
}
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorInternalBox {
margin: auto;
padding: 0;
width: 40px;
height: 40px;
border-radius: 30px;
}
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorItemTextValue {
padding: 0;
margin: auto;
}
.skuSelectorContainer .valueWrapper .skuSelectorItemTextValue {
margin-right: 5px;
}
.skuSelectorContainer .frameAround {
border-color: #000000;
z-index: 2;
}
.skuSelectorContainer .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;
}
.skuSelectorContainer .skuSelectorItem--skus--selected .skuSelectorItemTextValue {
font-size: 14px;
line-height: 19px;
font-weight: 400;
color: #000000 !important;
font-family: "Open Sans", sans-serif;
}
.shippingContainer {
display: flex;
2023-02-08 02:55:02 +00:00
padding: 0;
}
2023-02-10 14:16:37 +00:00
@media only screen and (max-width: 425px) {
.shippingContainer {
display: block;
}
.shippingContainer :global(.vtex-address-form__postalCode) {
flex-direction: column;
}
.shippingContainer :global(.vtex-address-form__postalCode-forgottenURL) {
left: 0 !important;
margin-top: 0 !important;
display: flex;
justify-content: flex-end;
}
.shippingContainer :global(.vtex-button) {
right: 0 !important;
margin-top: 0 !important;
left: 86%;
bottom: 78px;
}
}
.shippingContainer :global(.vtex-input-prefix__group) {
height: 49px;
}
.shippingContainer :global(.vtex-input__label) {
font-size: 0;
}
.shippingContainer :global(.vtex-input__label)::after {
content: "CALCULAR FRETE:";
font-size: 14px;
line-height: 19px;
font-weight: 400;
font-family: "Open Sans", sans-serif;
}
.shippingContainer :global(.vtex-address-form__postalCode) {
display: flex;
2023-02-08 02:55:02 +00:00
padding: 0;
}
.shippingContainer :global(.vtex-button) {
font-size: 0;
position: relative;
right: 164px;
width: 49px;
height: 49px;
margin-top: 27px;
background-color: #000000;
border: none;
border-radius: 0;
}
.shippingContainer :global(.vtex-button)::after {
content: "OK";
color: #FFFFFF;
font-size: 14px;
line-height: 19px;
font-weight: 600;
2023-02-08 00:36:10 +00:00
}
.shippingContainer :global(.vtex-button__label) {
height: fit-content;
}
.shippingContainer :global(.vtex-address-form__postalCode-forgottenURL) {
position: relative;
left: 20px;
margin-top: 31px;
}
.shippingContainer :global(.vtex-address-form__postalCode-forgottenURL) :last-child {
color: #000000;
}
.shippingContainer :global(.vtex__icon-external-link) {
display: none;
2023-02-08 02:55:02 +00:00
}
2023-02-08 23:57:27 +00:00
@media only screen and (max-width: 1024px) {
.shippingContainer {
margin-bottom: 16px;
}
}
2023-02-10 14:16:37 +00:00
@media only screen and (max-width: 769px) {
.shippingContainer {
padding-top: 16px;
}
}
2023-02-08 02:55:02 +00:00
.shippingTable {
border: none;
color: #202020;
font-size: 14px;
font-family: "Open Sans", sans-serif;
font-weight: 400 !important;
text-transform: uppercase;
}
.shippingTable .shippingTableLabel {
color: #AFAFAF;
font-weight: 400;
font-style: normal;
font-size: 12px;
line-height: 16px;
}
.shippingTable .shippingTableRadioBtn {
padding: 0;
display: flex;
color: #AFAFAF;
font-weight: 400;
font-style: normal;
font-size: 12px;
line-height: 16px;
min-width: 140px;
padding-top: 15px;
display: none;
}
.shippingTable .shippingTableHead {
display: flex;
padding-bottom: 15px;
}
.shippingTable .shippingTableHead .shippingTableRow {
position: relative;
}
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryEstimate {
position: absolute;
top: 0;
left: 300px;
}
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryPrice {
position: absolute;
top: 0;
left: 163px;
font-size: 0;
}
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryPrice::after {
position: absolute;
content: "FRETE";
visibility: visible;
display: block;
font-size: 14px;
}
.shippingTable .shippingTableBody .shippingTableRow {
display: flex;
padding-bottom: 15px;
}
.shippingTable .shippingTableBody .shippingTableRow .shippingTableCellDeliveryName {
width: 100px;
}
.shippingTable .shippingTableBody .shippingTableRow .shippingTableCellDeliveryEstimate {
display: flex;
order: 2;
margin-left: 66px;
}
.shippingTable .shippingTableBody .shippingTableRow .shippingTableCellDeliveryPrice {
margin-left: 58px;
}
.subscriberContainer .title {
font-size: 0;
}
.subscriberContainer .title::after {
content: "Produto indisponível";
font-size: 14px;
color: #868686;
line-height: 19px;
font-family: "Open Sans", sans-serif;
}
.subscriberContainer .subscribeLabel {
font-size: 0;
}
.subscriberContainer .subscribeLabel::after {
content: "Deseja saber quando estiver disponível?";
font-size: 14px;
color: #868686;
font-family: "Open Sans", sans-serif;
}
.subscriberContainer .form .content {
display: grid;
grid-template-areas: " nome email" " submit submit";
}
.subscriberContainer .form .content .inputName {
grid-area: nome;
}
@media only screen and (max-width: 1024px) {
.subscriberContainer .form .content .inputName {
margin-bottom: 0;
}
}
.subscriberContainer .form .content .inputEmail {
grid-area: email;
}
@media only screen and (max-width: 1024px) {
.subscriberContainer .form .content .inputEmail {
margin-bottom: 0;
}
}
.subscriberContainer .form .content .submit {
grid-area: submit;
width: 100%;
}
.subscriberContainer .form .content .submit :global(.vtex-button) {
width: 100%;
height: 49px;
}
.subscriberContainer .form .content .submit :global(.vtex-button__label) {
background-color: #000000;
font-size: 0;
}
.subscriberContainer .form .content .submit :global(.vtex-button__label)::after {
text-transform: uppcase;
content: "avise-me";
font-size: 18px;
color: #FFFFFF;
font-family: "Open Sans", sans-serif;
}
2023-02-10 14:16:37 +00:00
@media only screen and (max-width: 1024px) {
.productDescriptionContainer {
margin-bottom: 16px;
}
}
.productDescriptionContainer .productDescriptionTitle {
2023-02-08 02:55:02 +00:00
font-size: 24px;
line-height: 32px;
font-family: "Open Sans", sans-serif;
padding-left: 32px;
2023-02-10 14:16:37 +00:00
color: #868686;
font-weight: 400;
2023-02-08 02:55:02 +00:00
}
@media only screen and (max-width: 1024px) {
2023-02-10 14:16:37 +00:00
.productDescriptionContainer .productDescriptionTitle {
padding-left: 0;
padding-top: 16px;
}
}
2023-02-10 14:16:37 +00:00
@media only screen and (min-width: 1921px) {
.productDescriptionContainer .productDescriptionTitle {
font-size: 32px;
}
2023-02-08 02:55:02 +00:00
}
2023-02-10 14:16:37 +00:00
.productDescriptionContainer .productDescriptionText {
font-family: "Open Sans", sans-serif;
font-weight: 400;
2023-02-08 02:55:02 +00:00
font-size: 16px;
line-height: 19px;
display: block;
color: #929292;
padding-left: 32px;
}
@media only screen and (max-width: 1024px) {
2023-02-10 14:16:37 +00:00
.productDescriptionContainer .productDescriptionText {
padding: 0px 0px 0px 0;
}
}
@media only screen and (min-width: 1921px) {
.productDescriptionContainer .productDescriptionText {
font-size: 18px;
}
2023-02-10 19:48:33 +00:00
}
.discountInsideContainer {
display: none;
}