forked from M3-Academy/challenge-vtex-io
55 lines
1.2 KiB
CSS
55 lines
1.2 KiB
CSS
@charset "UTF-8";
|
|
/*
|
|
0 - 600PX: Phone
|
|
600 - 900px: Table portrait
|
|
900 - 1200px: Tablet landscape
|
|
[1200 - 1800] is where our nortal styles apply
|
|
1800px + : Big desktop
|
|
*/
|
|
/* Media Query M3 */
|
|
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap");
|
|
/* Grid breakpoints */
|
|
.flexRowContent {
|
|
margin: 8px 0 0 0px;
|
|
padding: 0;
|
|
}
|
|
|
|
:global(.vtex-stack-layout-0-x-stackItem) .flexRow {
|
|
margin: 0;
|
|
}
|
|
|
|
.flexRow--buyButton .flexRowContent {
|
|
margin: 0 0 0 0 !important;
|
|
padding: 0;
|
|
}
|
|
|
|
.flexRowContent--cart {
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
.flexRowContent--cart .flexRow--buyButton :global(.vtex-button) {
|
|
background-color: black;
|
|
}
|
|
.flexRowContent--cart .flexRow--buyButton :global(.vtex-button__label) {
|
|
font-size: 0;
|
|
}
|
|
.flexRowContent--cart .flexRow--buyButton :global(.vtex-button__label)::after {
|
|
content: "adicionar à sacola";
|
|
font-family: "Open Sans";
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-size: 18px;
|
|
line-height: 25px;
|
|
color: #ffffff;
|
|
}
|
|
|
|
@media screen and (max-width: 1024px) and (min-width: 768px) {
|
|
.flexRowContent {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.flexRowContent .stretchChildrenWidth {
|
|
width: 100% !important;
|
|
padding: 0;
|
|
}
|
|
} |