feat: adiciona css no slider layout mobile

This commit is contained in:
SamuelCondack 2023-02-09 11:41:22 -03:00
parent c46226c691
commit 4f1f29cd85
4 changed files with 25 additions and 4 deletions

View File

@ -11,12 +11,14 @@
padding: 16px 40px; padding: 16px 40px;
margin: 0 auto; margin: 0 auto;
max-width: 96rem; max-width: 96rem;
display: flex;
align-items: center; align-items: center;
} }
.container .homeLink .homeIcon { .container .homeLink .homeIcon {
display: none; display: none;
} }
.container :global(.vtex-breadcrumb-1-x-link) {
font-size: 14px;
}
.container .homeLink::before { .container .homeLink::before {
content: "Home"; content: "Home";
font-size: 16px; font-size: 16px;
@ -35,7 +37,7 @@
} }
.container .arrow--1 .link::before { .container .arrow--1 .link::before {
content: "Sapatos"; content: "Sapatos";
font-size: 16px; font-size: 14px;
color: #929292; color: #929292;
} }
.container .arrow--1 .link:hover::before { .container .arrow--1 .link:hover::before {

View File

@ -20,11 +20,21 @@
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
@media (max-width: 320px) {
.sliderLayoutContainer .sliderLeftArrow {
left: 10px;
}
}
.sliderLayoutContainer .sliderRightArrow { .sliderLayoutContainer .sliderRightArrow {
right: 36px; right: 36px;
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
@media (max-width: 320px) {
.sliderLayoutContainer .sliderRightArrow {
right: 10px;
}
}
.sliderLayoutContainer .sliderTrackContainer { .sliderLayoutContainer .sliderTrackContainer {
margin: 0 auto; margin: 0 auto;
width: 94%; width: 94%;

View File

@ -2,13 +2,15 @@
padding: 16px 40px; padding: 16px 40px;
margin: 0 auto; margin: 0 auto;
max-width: 96rem; max-width: 96rem;
display: flex;
align-items: center; align-items: center;
.homeLink { .homeLink {
.homeIcon { .homeIcon {
display: none; display: none;
} }
} }
:global(.vtex-breadcrumb-1-x-link){
font-size: 14px;
}
.homeLink::before { .homeLink::before {
content: 'Home'; content: 'Home';
font-size: 16px; font-size: 16px;
@ -29,8 +31,9 @@
} }
.link::before { .link::before {
content: 'Sapatos'; content: 'Sapatos';
font-size: 16px; font-size: 14px;
color: #929292; color: #929292;
} }
.link:hover::before { .link:hover::before {
color: #0f3e99; color: #0f3e99;

View File

@ -10,12 +10,18 @@
left: 36px; left: 36px;
margin: 0; margin: 0;
padding: 0; padding: 0;
@media (max-width: 320px){
left: 10px;
}
} }
.sliderRightArrow { .sliderRightArrow {
right: 36px; right: 36px;
margin: 0; margin: 0;
padding: 0; padding: 0;
@media (max-width: 320px){
right: 10px;
}
} }
.sliderTrackContainer { .sliderTrackContainer {