add shadows

This commit is contained in:
Ben Dansby 2021-10-26 17:20:06 -07:00
parent 52d9ebd5f9
commit b737dec9f4
2 changed files with 2 additions and 0 deletions

View File

@ -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_

View File

@ -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 ] ]
]