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

76 lines
2.2 KiB
SCSS
Raw Normal View History

.container--descriptionLayout{
width: 94.44%;
margin: 0 auto;
@media screen and (max-width: 1024px) {
width: 100%;
padding: 0 40px;
}
.listContainer--descriptionButtonWrapper{
justify-content: space-between;
border-bottom: 1px solid $color-gray6;
padding: 0 64px;
margin-bottom: 32px;
max-width: 94rem;
margin: 0 auto 32px auto;
@media screen and (max-width: 1024px) {
padding: 16px 0 0 0;
flex-direction: column;
margin-bottom: 16px;
border-top: 1px solid $color-gray6;
}
.listItem--descriptionButton{
margin: 0;
padding: 0;
:global(.vtex-button){
color: $color-gray8;
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 38px;
}
:global(.vtex-button):hover{
background-color: $color-white;
}
:global(.vtex-button__label){
padding: 0 16px !important;
text-transform: capitalize;
@media screen and (max-width: 1024px) {
margin-bottom: 16px;
padding: 0 !important;
}
}
}
.listItemActive--descriptionButton{
margin-top: 2px;
:global(.vtex-button){
background-color: $color-white;
color: $color-black2;
border: 0;
border-bottom: 2px solid $color-black2;
border-radius: 0;
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 38px;
@media screen and (max-width: 1024px) {
border: none;
}
}
:global(.vtex-button__label){
padding: 0 16px !important;
text-transform: capitalize;
@media screen and (max-width: 1024px) {
padding: 0 !important;
}
}
}
}
}