aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/@next/components/slider
diff options
context:
space:
mode:
authorFred Carlsen <fred@sjelfull.no>2018-12-13 21:47:15 +0800
committerFred Carlsen <fred@sjelfull.no>2018-12-13 21:47:15 +0800
commita1737f8d936e39861732751d7ea08dfa8122e2e4 (patch)
tree94579a5d5f37f8b046c5cbd27b682c3e1309da43 /packages/website/ts/@next/components/slider
parent455f244ec582e220870f545eb9a34d58af72e356 (diff)
downloaddexon-0x-contracts-a1737f8d936e39861732751d7ea08dfa8122e2e4.tar
dexon-0x-contracts-a1737f8d936e39861732751d7ea08dfa8122e2e4.tar.gz
dexon-0x-contracts-a1737f8d936e39861732751d7ea08dfa8122e2e4.tar.bz2
dexon-0x-contracts-a1737f8d936e39861732751d7ea08dfa8122e2e4.tar.lz
dexon-0x-contracts-a1737f8d936e39861732751d7ea08dfa8122e2e4.tar.xz
dexon-0x-contracts-a1737f8d936e39861732751d7ea08dfa8122e2e4.tar.zst
dexon-0x-contracts-a1737f8d936e39861732751d7ea08dfa8122e2e4.zip
Feedback from harry
Diffstat (limited to 'packages/website/ts/@next/components/slider')
-rw-r--r--packages/website/ts/@next/components/slider/slider.tsx6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/website/ts/@next/components/slider/slider.tsx b/packages/website/ts/@next/components/slider/slider.tsx
index 710351566..96d3960a3 100644
--- a/packages/website/ts/@next/components/slider/slider.tsx
+++ b/packages/website/ts/@next/components/slider/slider.tsx
@@ -77,6 +77,7 @@ const StyledSlider = styled.div`
}
.flickity-button {
+ cursor: pointer;
position: absolute;
width: 74px;
height: 74px;
@@ -86,12 +87,17 @@ const StyledSlider = styled.div`
top: calc(50% - 37px);
border: 0;
padding: 0;
+ transition: background-color .30s ease-in-out;
&:disabled {
opacity: 0;
visibility: hidden;
}
+ &:hover {
+ background-color: hsla(0, 0%, 10%, 1);
+ }
+
&.previous {
left: 0;
}