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

119 lines
2.3 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 */
/* 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: 8px;
padding-top: 5px;
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;
margin: 0;
height: 42px;
}
@media screen and (max-width: 1024px) {
.listItem {
margin: 5px 0;
}
}
2023-01-24 20:51:49 +00:00
.listItem :global(.vtex-button) {
background-color: transparent;
cursor: pointer;
}
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) {
background-color: transparent;
border: none;
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;
}
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-01-31 21:46:06 +00:00
/*border-bottom: 2px solid $color-black-100;*/
2023-01-24 20:51:49 +00:00
}
.listItemActive :global(.vtex-button__label) {
color: #000000;
margin: 0;
padding: 0;
}
@media screen and (max-width: 1024px) {
.listItemActive {
border: none;
}
}
2023-01-24 20:51:49 +00:00
.listItemActive--descricao {
border-bottom: 2px solid #000000;
2023-01-31 21:46:06 +00:00
padding-left: 14px;
padding-right: 14px;
}
@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;
}