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

110 lines
2.2 KiB
CSS
Raw Normal View History

2023-02-07 00:44:37 +00:00
[class*="html--container__buyButton"] {
display: flex;
column-gap: 10px;
}
2023-02-07 00:44:37 +00:00
/* 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: 49px;
max-width: 526px;
/* aqui é até 1440 */
}
@media (min-width: 1920px) {
[class*="html--container__buyButton"] :global(.vtex-button) {
min-width: 766px;
}
}
@media (min-width: 490px) {
[class*="html--container__buyButton"] :global(.vtex-button__label)::after {
max-width: none;
}
}
@media (min-width: 1023px) and (max-width: 1025px) {
[class*="html--container__buyButton"] :global(.vtex-button) {
min-width: 806px;
}
}
@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;
}
}
@media (min-width: 490px) {
[class*="html--container__buyButton"] :global(.vtex-button__label)::after {
max-width: none;
max-width: none;
}
}
/* @media (min-width:374px) and (max-width:376px) {
2023-02-07 00:44:37 +00:00
[class*="html--m3-html-product-sumary"] {
height: 254.8px!important;
}} */
2023-02-07 00:44:37 +00:00
@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--quantity"] {
max-width: 128px!important;
}
[class*="html--m3-html-product-sumary"]{
display: flex;
flex-direction: column;
}