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

127 lines
2.5 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 */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap");
/* Grid breakpoints */
.container--details {
padding-left: 40px;
padding-right: 40px;
}
@media screen and (min-width: 1921px) {
.container--details {
padding-left: 360px;
padding-right: 360px;
}
}
.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: 16px;
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 16px 0 16px;
margin: 0;
height: 38px;
width: 114px;
}
@media screen and (min-width: 1921px) {
.listItem {
width: 142px;
}
}
@media screen and (max-width: 1024px) {
.listItem {
margin-top: 16px;
padding: 0;
width: unset;
}
}
.listItem :global(.vtex-button) {
background-color: transparent;
cursor: pointer;
border: none;
}
@media screen and (max-width: 1024px) {
.listItem :global(.vtex-button) {
width: 100%;
display: flex;
}
}
.listItem :global(.vtex-button__label) {
font-weight: 400;
font-size: 18px;
line-height: 38px;
color: #bfbfbf;
text-transform: capitalize;
margin: 0;
padding: 0 !important;
}
@media screen and (min-width: 1921px) {
.listItem :global(.vtex-button__label) {
font-size: 24px;
}
}
.listItemActive {
border-bottom: 2px solid #000000;
}
@media screen and (min-width: 1921px) {
.listItemActive {
border-bottom: 3px solid #000000;
}
}
@media screen and (max-width: 1024px) {
.listItemActive {
border: none;
}
}
.listItemActive :global(.vtex-button__label) {
color: #000000;
margin: 0;
padding: 0;
}
.listItemActive--descricao {
border-bottom: 2px solid #000000;
}
@media screen and (min-width: 1921px) {
.listItemActive--descricao {
border-bottom: 3px solid #000000;
}
}
@media screen and (max-width: 1024px) {
.listItemActive--descricao {
border: none;
padding: 0;
}
}
.listItemActive--descricao :global(.vtex-button) {
border: none;
border-radius: 0%;
}
.listItemActive--descricao :global(.vtex-button__label) {
color: #000000;
margin: 0;
padding: 0;
}