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

117 lines
2.3 KiB
CSS
Raw Normal View History

2023-02-07 00:44:37 +00:00
[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%;
2023-02-11 02:07:18 +00:00
height: auto;
min-height: 49px;
2023-02-07 00:44:37 +00:00
max-width: 526px;
/* aqui é até 1440 */
}
@media (min-width: 1920px) {
[class*="html--container__buyButton"] :global(.vtex-button) {
min-width: 766px;
}
}
2023-02-11 02:07:18 +00:00
@media (max-width: 768px) {
[class*="html--container__buyButton"] :global(.vtex-button) {
max-height: 72px;
padding: 12px 64px ;
}
}
2023-02-07 00:44:37 +00:00
@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;
}
}
2023-02-11 02:07:18 +00:00
[class*="html--quantity"] {
max-width: 128px!important;
height: 49px;
margin-bottom: 16px
}
@media (max-width: 767px) {
[class*="html--quantity"] {
margin-bottom: 10px
}
2023-02-07 00:44:37 +00:00
}
2023-02-11 02:07:18 +00:00
[class*="html--m3-add-to-cart-button "]{
width: 100%; }
/* Area do product sumary */
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--m3-html-product-sumary"]{
display: flex;
flex-direction: column;
}
2023-02-11 02:07:18 +00:00
@media (min-width: 1920px) {
[class*="html--m3-product-summary-list"] {
padding: 0 360px;
}
}