mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-01 09:12:33 +03:00
Inlineify the locked styles
This commit is contained in:
parent
dcf3b07669
commit
2e20c18346
@ -258,8 +258,9 @@ buildCheckbox assets modifierClasses model labelContent =
|
|||||||
, containerClasses = toClassList (modifierClasses ++ [ "LockedClass" ])
|
, containerClasses = toClassList (modifierClasses ++ [ "LockedClass" ])
|
||||||
, labelStyles =
|
, labelStyles =
|
||||||
css
|
css
|
||||||
[ cursor pointer
|
[ outline none
|
||||||
, outline none
|
, paddingLeft (px (29 + 6)) -- checkbox width + padding
|
||||||
|
, backgroundImage assets PremiumLocked
|
||||||
]
|
]
|
||||||
, labelClasses = labelClass model.selected
|
, labelClasses = labelClass model.selected
|
||||||
, labelContent = labelContent
|
, 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 =
|
lockOnInsideStyles assets =
|
||||||
[ descendants
|
[ descendants
|
||||||
[ Css.Foreign.label
|
[ Css.Foreign.label
|
||||||
|
Loading…
Reference in New Issue
Block a user