mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-11-28 01:45:20 +03:00
add shadows
This commit is contained in:
parent
52d9ebd5f9
commit
b737dec9f4
@ -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_
|
||||
|
@ -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 ] ]
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user