challenge-vtex-io-gabriel-f.../styles/css/vtex.tab-layout.css

100 lines
1.9 KiB
CSS
Raw Normal View History

/*
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 */
.listContainer {
2023-02-10 13:44:40 +00:00
margin: 0 auto 32px;
max-width: 96rem;
display: flex;
flex-direction: row;
2023-02-06 17:23:31 +00:00
justify-content: space-around;
padding: 0 40px;
}
.listContainer::after {
content: "";
background-color: #bfbfbf;
display: inline-block;
width: 100%;
height: 1px;
position: relative;
bottom: 9px;
}
2023-02-08 01:08:34 +00:00
@media (max-width: 1024px) {
.listContainer {
flex-direction: column;
padding: 0 40px 16px;
margin-bottom: 0px;
}
.listContainer::before {
content: "";
background-color: #bfbfbf;
display: inline-block;
width: 100%;
height: 1px;
position: relative;
top: 0px;
}
.listContainer::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;
}
2023-02-10 13:44:40 +00:00
@media (min-width: 1920px) {
.listItem :global(.vtex-button) {
font-size: 24px;
line-height: 38px;
}
}
2023-02-08 01:08:34 +00:00
@media (max-width: 1024px) {
.listItem {
margin: 0;
2023-02-10 13:44:40 +00:00
padding: 8px 0;
2023-02-08 01:08:34 +00:00
}
.listItem :global(.vtex-button) {
margin: 0;
2023-02-10 13:44:40 +00:00
padding: 0 !important;
2023-02-08 01:08:34 +00:00
}
.listItem :global(.vtex-button) :global(.vtex-button__label) {
2023-02-10 13:44:40 +00:00
padding: 0 !important;
2023-02-08 01:08:34 +00:00
}
}
.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;
2023-02-08 01:08:34 +00:00
}
@media (min-width: 1025px) {
.listItemActive :global(.vtex-button) {
2023-02-10 13:44:40 +00:00
border-bottom: 3px black solid;
}
}
@media (min-width: 1920px) {
.listItemActive :global(.vtex-button) {
font-size: 24px;
line-height: 38px;
2023-02-08 01:08:34 +00:00
}
}