From b737dec9f4c3a3a179aede2c6963492d6a57b52e Mon Sep 17 00:00:00 2001 From: Ben Dansby Date: Tue, 26 Oct 2021 17:20:06 -0700 Subject: [PATCH] add shadows --- src/Nri/Ui/Balloon/V1.elm | 1 + src/Nri/Ui/Tooltip/V2.elm | 1 + 2 files changed, 2 insertions(+) diff --git a/src/Nri/Ui/Balloon/V1.elm b/src/Nri/Ui/Balloon/V1.elm index 80acc96b..7848154e 100644 --- a/src/Nri/Ui/Balloon/V1.elm +++ b/src/Nri/Ui/Balloon/V1.elm @@ -275,6 +275,7 @@ viewBalloon theme_ width_ padding contents = , Just (textAlign left) , Just (position relative) , Just (Css.borderRadius (px 8)) + , Just (property "box-shadow" "0 1px 1px hsl(0deg 0% 0% / 0.075), 0 2px 2px hsl(0deg 0% 0% / 0.075), 0 4px 4px hsl(0deg 0% 0% / 0.075), 0 8px 8px hsl(0deg 0% 0% / 0.075), 0 16px 16px hsl(0deg 0% 0% / 0.075)") , Just padding , Just (balloonTheme theme_) , width_ diff --git a/src/Nri/Ui/Tooltip/V2.elm b/src/Nri/Ui/Tooltip/V2.elm index 4485448a..72dccee0 100644 --- a/src/Nri/Ui/Tooltip/V2.elm +++ b/src/Nri/Ui/Tooltip/V2.elm @@ -780,6 +780,7 @@ pointerBox tail direction alignment = , Css.fontSize (Css.px 16) , Css.fontWeight (Css.int 600) , Css.color Colors.white + , Css.property "box-shadow" "0 1px 1px hsl(0deg 0% 0% / 0.075), 0 2px 2px hsl(0deg 0% 0% / 0.075), 0 4px 4px hsl(0deg 0% 0% / 0.075), 0 8px 8px hsl(0deg 0% 0% / 0.075), 0 16px 16px hsl(0deg 0% 0% / 0.075)" , Global.descendants [ Global.a [ Css.textDecoration Css.underline ] ] , Global.descendants [ Global.a [ Css.color Colors.white ] ] ]