challenge-vtex-io-nicolly-v.../react/components/Html/styles.css

275 lines
5.4 KiB
CSS

[class*="html--pdp-breadcrumb"] {
margin: 16px 40px;
}
[class*="html--pdp-breadcrumb"] :global(.vtex-breadcrumb-1-x-container) {
padding: 0;
}
[class*="html--product-main"] {
display: flex;
padding: 0 40px 16px;
gap: 32px;
}
[class*="html--product-availability"] {
display: flex;
padding: 0 40px 16px;
gap: 32px;
}
[class*="html--info-availability"] {
width: 48.8235294%;
}
[class*="html--stack"] {
width: 48.8235294%;
}
[class*="html--right-col"] {
width: 48.8235294%;
}
[class*="html--product-name"] {
text-align: end;
margin-bottom: 24px;
}
[class*="html--buy-container"] {
display: flex;
margin-bottom: 16px;
}
[class*="html--buy-container"] :global(.vtex-flex-layout-0-x-flexRow) {
flex: 1;
}
[class*="html--buy-container"] :global(.vtex-store-components-3-x-container) {
padding: 0;
margin-left: 10px;
}
[class*="html--buy-container"] :global(.vtex-flex-layout-0-x-flexRowContent) {
background-color: red;
margin: 0;
padding: 0;
}
[class*="html--buy-container"] :global(.vtex-button) {
background-color: #000;
padding: 12px 0;
border: none;
/* font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 25px;
color: #fff; */
border-radius: 0;
height: 49px;
}
[class*="html--buy-container"]
:global(.vtex-add-to-cart-button-0-x-buttonText) {
font-size: 0;
}
[class*="html--buy-container"]
:global(.vtex-add-to-cart-button-0-x-buttonText)::after {
content: "Adicionar à sacola";
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 25px;
color: #fff;
text-transform: uppercase;
}
[class*="html--message-availability"] {
width: 60.090361%;
}
[class*="html--message-availability"] :global(.vtex-store-components-3-x-form) {
margin-bottom: 16px;
}
[class*="html--message-availability"]
:global(.vtex-store-components-3-x-title) {
font-size: 0;
margin: 0;
}
[class*="html--message-availability"]
:global(.vtex-store-components-3-x-title)::after {
content: "Produto indisponível";
font-style: normal;
font-weight: 700;
font-size: 14px;
line-height: 19px;
color: #868686;
}
[class*="html--message-availability"]
:global(.vtex-store-components-3-x-subscribeLabel) {
font-size: 0;
margin-bottom: 16px;
}
[class*="html--message-availability"]
:global(.vtex-store-components-3-x-subscribeLabel)::after {
content: "Deseja saber quando estiver disponível?";
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #868686;
}
[class*="html--message-availability"]
:global(.vtex-store-components-3-x-content) {
margin: 0;
display: grid;
gap: 8px;
row-gap: 15px;
grid-auto-columns: 1fr 1fr;
grid-template:
"name email"
"buttonSubmit buttonSubmit";
}
[class*="html--message-availability"]
:global(.vtex-store-components-3-x-input) {
margin: 0;
}
[class*="html--message-availability"] :global(.vtex-input-prefix__group) {
border: 1px solid #989898;
border-radius: 0;
padding: 12px 14px;
}
[class*="html--message-availability"]
:global(.vtex-styleguide-9-x-input)::placeholder {
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 16px;
color: #989898;
}
[class*="html--message-availability"] :global(.vtex-styleguide-9-x-input) {
padding: 0;
}
[class*="html--message-availability"]
:global(.vtex-store-components-3-x-inputName) {
grid-area: name;
}
[class*="html--message-availability"]
:global(.vtex-store-components-3-x-inputEmail) {
grid-area: email;
}
[class*="html--message-availability"]
:global(.vtex-store-components-3-x-submit) {
grid-area: buttonSubmit;
width: 100%;
margin: 0;
}
[class*="html--message-availability"] :global(.vtex-button) {
width: 100%;
height: 49px;
border: none;
border-radius: 0;
background-color: #000;
}
[class*="html--message-availability"] :global(.vtex-button__label) {
font-size: 0;
}
[class*="html--message-availability"] :global(.vtex-button__label)::after {
content: "AVISE-ME";
font-style: normal;
font-weight: 600;
font-size: 18px;
line-height: 25px;
color: #ffffff;
}
@media screen and (min-width: 2500px) {
[class*="html--pdp-breadcrumb"] {
margin: 0 360px;
}
[class*="html--product-main"] {
padding: 0 360px 16px;
}
[class*="html--product-availability"] {
padding: 0 360px 16px;
}
[class*="html--stack"] {
width: 49.13043478%;
}
[class*="html--info-availability"] {
width: 49.13043478%;
}
}
@media screen and (max-width: 1024px) {
[class*="html--product-main"] {
display: block;
padding: 0 40px 16px;
}
[class*="html--product-availability"] {
display: block;
padding: 0 40px 16px;
}
[class*="html--stack"] {
width: 100%;
}
[class*="html--info-availability"] {
width: 100%;
}
[class*="html--right-col"] {
width: 100%;
}
[class*="html--product-name"] {
text-align: start;
}
[class*="html--buy-container"] :global(.vtex-button__label) {
padding: 0;
}
[class*="html--message-availability"] {
width: 81.0381355932%;
}
[class*="html--message-availability"]
:global(.vtex-store-components-3-x-content) {
max-width: none;
width: 100%;
}
}
@media screen and (max-width: 376px) {
[class*="html--buy-container"] {
display: block;
}
[class*="html--buy-container"] :global(.vtex-store-components-3-x-container) {
margin: 0;
margin-top: 10px;
}
[class*="html--buy-container"] :global(.vtex-button) {
height: 70px;
}
[class*="html--message-availability"] {
width: 100%;
}
}