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

127 lines
2.5 KiB
CSS
Raw Normal View History

2023-01-24 20:51:49 +00:00
/*
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");
2023-01-24 20:51:49 +00:00
/* Grid breakpoints */
.container--details {
padding-left: 40px;
padding-right: 40px;
}
2023-01-31 21:46:06 +00:00
@media screen and (min-width: 1921px) {
.container--details {
padding-left: 360px;
padding-right: 360px;
}
}
2023-01-24 20:51:49 +00:00
.listContainer {
border-bottom: 1px solid #bfbfbf;
2023-01-24 20:51:49 +00:00
margin-bottom: 32px;
display: flex;
justify-content: space-around;
2023-01-24 20:51:49 +00:00
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;
}
}
2023-01-24 20:51:49 +00:00
.listItem {
background-color: transparent;
padding: 0 16px 0 16px;
2023-01-24 20:51:49 +00:00
margin: 0;
height: 38px;
width: 114px;
}
@media screen and (min-width: 1921px) {
.listItem {
width: 142px;
}
2023-01-24 20:51:49 +00:00
}
@media screen and (max-width: 1024px) {
.listItem {
margin-top: 16px;
2023-02-01 17:06:23 +00:00
padding: 0;
width: unset;
}
}
2023-01-24 20:51:49 +00:00
.listItem :global(.vtex-button) {
background-color: transparent;
cursor: pointer;
border: none;
2023-01-24 20:51:49 +00:00
}
2023-01-31 21:46:06 +00:00
@media screen and (max-width: 1024px) {
.listItem :global(.vtex-button) {
width: 100%;
display: flex;
}
}
2023-01-24 20:51:49 +00:00
.listItem :global(.vtex-button__label) {
font-weight: 400;
font-size: 18px;
line-height: 38px;
color: #bfbfbf;
text-transform: capitalize;
margin: 0;
padding: 0 !important;
2023-01-24 20:51:49 +00:00
}
2023-01-31 21:46:06 +00:00
@media screen and (min-width: 1921px) {
.listItem :global(.vtex-button__label) {
font-size: 24px;
}
}
2023-01-24 20:51:49 +00:00
.listItemActive {
2023-02-01 17:06:23 +00:00
border-bottom: 2px solid #000000;
2023-01-24 20:51:49 +00:00
}
2023-02-01 17:06:23 +00:00
@media screen and (min-width: 1921px) {
.listItemActive {
border-bottom: 3px solid #000000;
}
}
@media screen and (max-width: 1024px) {
.listItemActive {
border: none;
}
}
2023-02-01 17:06:23 +00:00
.listItemActive :global(.vtex-button__label) {
color: #000000;
margin: 0;
padding: 0;
}
2023-01-24 20:51:49 +00:00
.listItemActive--descricao {
border-bottom: 2px solid #000000;
2023-01-31 21:46:06 +00:00
}
@media screen and (min-width: 1921px) {
.listItemActive--descricao {
border-bottom: 3px solid #000000;
}
}
@media screen and (max-width: 1024px) {
.listItemActive--descricao {
border: none;
2023-01-31 21:46:06 +00:00
padding: 0;
}
}
2023-01-24 20:51:49 +00:00
.listItemActive--descricao :global(.vtex-button) {
border: none;
border-radius: 0%;
}
.listItemActive--descricao :global(.vtex-button__label) {
color: #000000;
margin: 0;
padding: 0;
}