Skip to content

Commit

Permalink
oct-2157: bigger nav arrows on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
jmikolajczyk committed Oct 31, 2024
1 parent 45a8ee9 commit 19f4468
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
}

.arrows {
padding-top: 3.2rem;
padding-top: 2.8rem;
padding-left: 2.4rem;

@media #{$tablet-up} {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,50 +1,55 @@
.root {
display: flex;
align-items: center;
}

.arrow {
cursor: pointer;
width: 4rem;
height: 4rem;
background: $color-octant-grey6;
border-radius: $border-radius-10;
transition: all $transition-time-5;
display: flex;
align-items: center;
justify-content: center;

.arrow {
cursor: pointer;
@media #{$tablet-up} {
width: 3.2rem;
height: 3.2rem;
background: $color-octant-grey6;
border-radius: $border-radius-10;
transition: all $transition-time-5;
display: flex;
align-items: center;
justify-content: center;
}

svg path {
fill: $color-octant-grey5;
}
svg path {
fill: $color-octant-grey5;
}

&.leftArrow {
svg {
transform: rotate(180deg);
}
&.leftArrow {
svg {
transform: rotate(180deg);
}
}

&.isDisabled {
background: $color-octant-grey6;
&.isDisabled {
background: $color-octant-grey6;

svg path {
fill: $color-octant-grey1;
}
svg path {
fill: $color-octant-grey1;
}
}

&:not(.isDisabled):hover {
background: $color-octant-grey8;
&:not(.isDisabled):hover {
background: $color-octant-grey8;

svg path {
fill: $color-octant-dark;
}
svg path {
fill: $color-octant-dark;
}
}

&:not(.isDisabled):active {
background: $color-octant-grey1;
&:not(.isDisabled):active {
background: $color-octant-grey1;

svg path {
fill: $color-octant-dark;
}
svg path {
fill: $color-octant-dark;
}
}
}

0 comments on commit 19f4468

Please sign in to comment.