challenge-vtex-io-gabriel-f.../styles/sass/pages/product/vtex.tab-layout.scss

83 lines
1.6 KiB
SCSS

.listContainer {
margin: 0 auto 32px;
max-width: 96rem;
display: flex;
flex-direction: row;
justify-content: space-around;
padding: 0 40px;
&::after {
content: '';
background-color: #bfbfbf;
display: inline-block;
width: 100%;
height: 1px;
position: relative;
bottom: 9px;
}
@media (max-width: 1024px) {
flex-direction: column;
padding: 0 40px 16px;
margin-bottom: 0px;
&::before {
content: '';
background-color: #bfbfbf;
display: inline-block;
width: 100%;
height: 1px;
position: relative;
top: 0px;
}
&::after {
bottom: 0px;
}
}
}
.listItem :global(.vtex-button) {
background-color: white;
color: #bfbfbf;
border: 0;
font-family: 'Open Sans', sans-serif;
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 38px;
text-transform: capitalize;
border-radius: 0;
@media (min-width: 1920px) {
font-size: 24px;
line-height: 38px;
}
}
.listItem {
@media (max-width: 1024px) {
margin: 0;
padding: 8px 0;
:global(.vtex-button) {
margin: 0;
padding: 0 !important;
:global(.vtex-button__label) {
padding: 0 !important;
}
}
}
}
.listItemActive :global(.vtex-button) {
background-color: white;
color: black;
border: 0;
font-family: 'Open Sans', sans-serif;
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 38px;
@media (min-width: 1025px) {
border-bottom: 3px black solid;
}
@media (min-width: 1920px) {
font-size: 24px;
line-height: 38px;
}
}