challenge-vtex-io-emmanuelv.../react/components/Html/styles.css

117 lines
2.3 KiB
CSS

[class*="html--container__buyButton"] {
display: flex;
column-gap: 10px;
}
/* Tablet */
@media (max-width: 1024px) {
[class*="html--container__buyButton"] {
width: 100%;
max-width: 944px;
}
}
/* mobile */
@media (max-width: 767px) {
[class*="html--container__buyButton"] {
flex-direction: column;
}
}
[class*="html--container__buyButton"] :global(.vtex-button) {
background-color: #000;
border: none;
border-radius: 0;
width: 100%;
height: auto;
min-height: 49px;
max-width: 526px;
/* aqui é até 1440 */
}
@media (min-width: 1920px) {
[class*="html--container__buyButton"] :global(.vtex-button) {
min-width: 766px;
}
}
@media (max-width: 768px) {
[class*="html--container__buyButton"] :global(.vtex-button) {
max-height: 72px;
padding: 12px 64px ;
}
}
@media (min-width: 490px) {
[class*="html--container__buyButton"] :global(.vtex-button__label)::after {
max-width: none;
}
}
@media (max-width: 1440px) {
[class*="html--container__buyButton"] :global(.vtex-button) {
max-width: 806px;
}
}
[class*="html--container__buyButton"] :global(.vtex-button__label) {
font-size: 0;
}
[class*="html--container__buyButton"] :global(.vtex-button__label)::after {
content: "Adicionar à sacola";
text-transform: uppercase;
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 25px;
display: block;
}
@media (max-width: 767px) {
[class*="html--container__buyButton"] :global(.vtex-button__label)::after {
max-width: none;
max-width: 168px;
}
}
[class*="html--quantity"] {
max-width: 128px!important;
height: 49px;
margin-bottom: 16px
}
@media (max-width: 767px) {
[class*="html--quantity"] {
margin-bottom: 10px
}
}
[class*="html--m3-add-to-cart-button "]{
width: 100%; }
/* Area do product sumary */
@media (max-width:1920px) {
[class*="html--m3-html-product-sumary"] {
height: unset;
width: unset;
max-width:314.4px;
/* max-height: 314.4px; */
}}
@media (min-width:768px) and (max-width:1024px) {
[class*="html--m3-html-product-sumary"] {
height: unset;
width: unset;
max-width: 291.2px;
}}
[class*="html--m3-html-product-sumary"]{
display: flex;
flex-direction: column;
}
@media (min-width: 1920px) {
[class*="html--m3-product-summary-list"] {
padding: 0 360px;
}
}