forked from M3-Academy/challenge-vtex-io
Entrega do Desafio #1
60
styles/css/vtex.tab-layout.css
Normal file
60
styles/css/vtex.tab-layout.css
Normal file
@ -0,0 +1,60 @@
|
||||
/*
|
||||
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--description-block {
|
||||
padding: 0 40px;
|
||||
}
|
||||
.container--description-block .listContainer {
|
||||
justify-content: space-around;
|
||||
border-bottom: 1px solid #b9b9b9;
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
.container--description-block .listContainer .listItem {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.container--description-block .listContainer .listItem :global(.vtex-button) {
|
||||
background-color: unset;
|
||||
border: none;
|
||||
color: #bfbfbf;
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
line-height: 38px;
|
||||
text-transform: capitalize;
|
||||
width: 114px;
|
||||
height: 38px;
|
||||
border-radius: 0;
|
||||
}
|
||||
.container--description-block .listContainer .listItem :global(.vtex-button) :global(.vtex-button__label) {
|
||||
padding: 0;
|
||||
}
|
||||
.container--description-block .listContainer .listItemActive {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.container--description-block .listContainer .listItemActive :global(.vtex-button) {
|
||||
background-color: unset;
|
||||
border: none;
|
||||
color: #000000;
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
line-height: 38px;
|
||||
text-transform: capitalize;
|
||||
border-bottom: 2px solid #000000;
|
||||
width: 114px;
|
||||
height: 38px;
|
||||
border-radius: 0;
|
||||
}
|
||||
.container--description-block .listContainer .listItemActive :global(.vtex-button) :global(.vtex-button__label) {
|
||||
padding: 0;
|
||||
}
|
||||
.container--description-block .contentContainer .contentItem {
|
||||
display: grid;
|
||||
grid-template-columns: 50% 50%;
|
||||
}
|
55
styles/sass/pages/product/vtex.tab-layout.scss
Normal file
55
styles/sass/pages/product/vtex.tab-layout.scss
Normal file
@ -0,0 +1,55 @@
|
||||
//Tab Layout
|
||||
|
||||
.container--description-block {
|
||||
padding: 0 40px;
|
||||
.listContainer {
|
||||
justify-content: space-around;
|
||||
border-bottom: 1px solid #b9b9b9;
|
||||
margin-bottom: 32px;
|
||||
.listItem {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
:global(.vtex-button) {
|
||||
background-color: unset;
|
||||
border: none;
|
||||
color: #bfbfbf;
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
line-height: 38px;
|
||||
text-transform: capitalize;
|
||||
width: 114px;
|
||||
height: 38px;
|
||||
border-radius: 0;
|
||||
:global(.vtex-button__label) {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
.listItemActive {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
:global(.vtex-button) {
|
||||
background-color: unset;
|
||||
border: none;
|
||||
color: #000000;
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
line-height: 38px;
|
||||
text-transform: capitalize;
|
||||
border-bottom: 2px solid #000000;
|
||||
width: 114px;
|
||||
height: 38px;
|
||||
border-radius: 0;
|
||||
:global(.vtex-button__label) {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.contentContainer {
|
||||
.contentItem {
|
||||
display: grid;
|
||||
grid-template-columns: 50% 50%;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user