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

150 lines
2.7 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;
}
@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--right-col"] {
width: 100%;
}
[class*="html--product-name"] {
text-align: start;
}
[class*="html--buy-container"] :global(.vtex-button__label) {
padding: 0;
}
}
@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;
}
}