mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-11-28 18:24:04 +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" ])
|
||||
, 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
|
||||
|
Loading…
Reference in New Issue
Block a user