From f5df6cdd5a593d4662423e156e445cf95641a558 Mon Sep 17 00:00:00 2001 From: Aaron VonderHaar Date: Tue, 4 Jun 2019 15:00:50 -0700 Subject: [PATCH] Add hover state to SegmentedControl.V7 --- src/Nri/Ui/SegmentedControl/V7.elm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Nri/Ui/SegmentedControl/V7.elm b/src/Nri/Ui/SegmentedControl/V7.elm index dd815b29..b136be9e 100644 --- a/src/Nri/Ui/SegmentedControl/V7.elm +++ b/src/Nri/Ui/SegmentedControl/V7.elm @@ -127,6 +127,7 @@ sharedTabStyles = , borderLeft (px 0) , boxSizing borderBox , cursor pointer + , property "transition" "background-color 0.2s, color 0.2s, box-shadow 0.2s, border 0.2s, border-width 0s" ] @@ -143,6 +144,7 @@ unFocusedTabStyles = [ backgroundColor Colors.white , boxShadow5 inset zero (px -2) zero Colors.azure , color Colors.azure + , hover [ backgroundColor Colors.glacier ] ]