-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
oct-2157: bigger nav arrows on mobile
- Loading branch information
1 parent
45a8ee9
commit 19f4468
Showing
2 changed files
with
36 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
} | ||
|
||
.arrows { | ||
padding-top: 3.2rem; | ||
padding-top: 2.8rem; | ||
padding-left: 2.4rem; | ||
|
||
@media #{$tablet-up} { | ||
|
65 changes: 35 additions & 30 deletions
65
client/src/components/shared/NavigationArrows/NavigationArrows.module.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
} | ||
} |