challenge-vtex-io-vitor-soares/styles/css/vtex.tab-layout.css

142 lines
3.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 */
/* Fontes */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap");
/* Cores */
/* Grid breakpoints */
.container--structure {
padding: 0 40px;
}
.container--structure::after {
content: "Você também pode gostar:";
display: block;
text-align: center;
font-weight: 400;
font-size: 24px;
line-height: 38px;
padding: 16px 0 32px 0;
color: #575757;
}
.contentContainer {
padding: 0 32px;
}
@media only screen and (max-width: 1025px) {
.contentContainer {
padding: 16px 0 0 0;
}
}
.listContainer {
border-bottom: 1px solid #b9b9b9;
height: 43px;
justify-content: space-between;
padding: 0 64px;
margin-bottom: 32px;
}
@media only screen and (min-width: 1920px) {
.listContainer {
height: 49px;
}
}
@media only screen and (max-width: 1025px) {
.listContainer {
border-top: 1px solid #b9b9b9;
flex-direction: column;
height: fit-content;
padding: 16px 0 0 0;
margin: 0;
}
}
@media only screen and (max-width: 1025px) {
.listContainer .listItem {
align-self: flex-start;
flex-direction: column;
height: fit-content;
padding: 0 0 16px;
margin: 0;
}
}
.listContainer .listItem :global(.vtex-button) {
border: none;
}
@media only screen and (max-width: 1025px) {
.listContainer .listItem :global(.vtex-button) {
width: 100%;
}
}
.listContainer .listItem :global(.vtex-button):hover {
background-color: transparent;
}
.listContainer .listItem :global(.vtex-button__label) {
font-weight: 400;
font-size: 18px;
line-height: 18px;
color: #bfbfbf;
text-transform: capitalize;
padding: 0.25em 10px 0.32em;
}
@media only screen and (min-width: 1920px) {
.listContainer .listItem :global(.vtex-button__label) {
font-size: 24px;
line-height: 24px;
}
}
@media only screen and (max-width: 1025px) {
.listContainer .listItem :global(.vtex-button__label) {
text-align: left;
flex-direction: column;
height: fit-content;
padding: 0 !important;
font-size: 18px;
line-height: 18px;
}
}
@media only screen and (max-width: 1025px) {
.listContainer .listItemActive {
align-self: flex-start;
flex-direction: column;
height: fit-content;
padding: 0 0 16px;
margin: 0;
}
}
.listContainer .listItemActive :global(.vtex-button) {
background-color: #fff;
width: 114px;
border: none;
padding: 0;
}
@media only screen and (max-width: 1025px) {
.listContainer .listItemActive :global(.vtex-button) {
width: 100%;
}
}
.listContainer .listItemActive :global(.vtex-button__label) {
color: #000000;
background-color: #fff;
border-bottom: 2px solid #000000;
padding: 0;
}
@media only screen and (max-width: 1025px) {
.listContainer .listItemActive :global(.vtex-button__label) {
flex-direction: column;
text-align: left;
height: fit-content;
padding: 0;
border-bottom: none;
}
}
@media only screen and (max-width: 1025px) {
:global(.vtex-tab-layout-0-x-contentItem--content-render) :global(.vtex-flex-layout-0-x-flexRowContent) {
flex-direction: column;
}
}