add focus

This commit is contained in:
Ben Dansby 2021-09-08 16:21:55 -07:00
parent 993c9a8bc7
commit 3233e22762

View File

@ -164,11 +164,10 @@ checkboxContainer model =
, height inherit , height inherit
, position relative , position relative
, pseudoClass "focus-within" , pseudoClass "focus-within"
[ Css.Global.descendants [ border3 (px 2) solid Colors.azure
[ Css.Global.class "checkbox-icon-container" , borderRadius (px 4)
[ borderColor (rgb 0 95 204) , marginLeft (px -2)
] , marginTop (px -2)
]
] ]
, Css.Global.descendants , Css.Global.descendants
[ Css.Global.input [ position absolute, top (calc (pct 50) minus (px 10)), left (px 10) ] [ Css.Global.input [ position absolute, top (calc (pct 50) minus (px 10)), left (px 10) ]