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

108 lines
2.1 KiB
SCSS

.listContainer{
margin-bottom: 32px;
display: flex;
flex-direction: row;
padding-right: 40px;
padding-left: 40px;
justify-content: space-around;
padding: 16px 40px;
margin: 0 auto;
max-width: 96rem;
@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;
@media (max-width: 1024px){
margin-bottom: 8px;
}
}
&::after {
bottom: 0px;
}
}
&::after{
content: "";
background-color: #BFBFBF;
display: inline-block;
width: 100%;
height: 1px;
position: relative;
bottom: 9px;
@media (max-width: 1024px){
bottom: 0 !important;
margin-top: 8px !important;
}
}
}
.listItem {
@media (max-width: 1024px) {
margin-top: 8px;
margin-bottom: 8px;
padding: 0;
:global(.vtex-button) {
margin: 0;
padding: 0;
:global(.vtex-button__label) {
padding: 0 !important;
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 38px;
}
}
}
}
.listItem :global(.vtex-button){
background-color: white;
color: #BFBFBF;
border: 0;
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 38px;
text-transform: capitalize;
border-radius: 0;
@media (min-width: 1920px){
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-size: 24px;
line-height: 38px;
}
}
.listItemActive :global(.vtex-button){
background-color: white;
color: black;
border: 0;
border-bottom: 2px black solid;
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 38px;
@media (min-width: 1920px){
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-size: 24px;
line-height: 38px;
color: #000;
}
@media (max-width: 1024px){
border: 0;
}
}