Inlineify the locked styles

This commit is contained in:
Tessa Kelly 2018-06-15 11:42:42 -07:00
parent dcf3b07669
commit 2e20c18346

View File

@ -258,8 +258,9 @@ buildCheckbox assets modifierClasses model labelContent =
, containerClasses = toClassList (modifierClasses ++ [ "LockedClass" ])
, labelStyles =
css
[ cursor pointer
, outline none
[ outline none
, paddingLeft (px (29 + 6)) -- checkbox width + padding
, backgroundImage assets PremiumLocked
]
, labelClasses = labelClass model.selected
, labelContent = labelContent
@ -511,17 +512,6 @@ containerStyles =
]
lockedStyles assets =
[ descendants
[ Css.Foreign.label
[ paddingLeft (px (29 + 6)) -- checkbox width + padding
, backgroundImage assets PremiumLocked
, property "cursor" "auto"
]
]
]
lockOnInsideStyles assets =
[ descendants
[ Css.Foreign.label