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