challenge-vtex-io-caina/styles/css/vtex.tab-layout.css

89 lines
1.7 KiB
CSS

/*
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 */
/* Grid breakpoints */
.container--details {
padding-left: 40px;
padding-right: 40px;
}
.listContainer {
border-bottom: 1px solid #bfbfbf;
margin-bottom: 32px;
display: flex;
justify-content: space-around;
align-items: end;
}
@media screen and (max-width: 1024px) {
.listContainer {
margin-top: 16px;
padding-bottom: 8px;
padding-top: 5px;
border-bottom: 1px solid #b9b9b9;
border-top: 1px solid #b9b9b9;
flex-direction: column;
align-items: initial;
margin-bottom: 16px;
}
}
.listItem {
background-color: transparent;
padding: 0;
margin: 0;
height: 42px;
}
.listItem :global(.vtex-button) {
background-color: transparent;
cursor: pointer;
}
.listItem :global(.vtex-button) {
background-color: transparent;
border: none;
}
.listItem :global(.vtex-button__label) {
font-weight: 400;
font-size: 18px;
line-height: 38px;
color: #bfbfbf;
text-transform: capitalize;
margin: 0;
padding: 0;
}
.listItemActive {
border-bottom: 2px solid #000000;
}
.listItemActive :global(.vtex-button__label) {
color: #000000;
margin: 0;
padding: 0;
}
@media screen and (max-width: 1024px) {
.listItemActive {
border: none;
}
}
.listItemActive--descricao {
border-bottom: 2px solid #000000;
}
@media screen and (max-width: 1024px) {
.listItemActive--descricao {
border: none;
}
}
.listItemActive--descricao :global(.vtex-button) {
border: none;
border-radius: 0%;
}
.listItemActive--descricao :global(.vtex-button__label) {
color: #000000;
margin: 0;
padding: 0;
}