Inlineify premium styles

This commit is contained in:
Tessa Kelly 2018-06-15 11:45:52 -07:00
parent 9704ad59cf
commit 9a134edcd4

View File

@ -363,6 +363,18 @@ buildCheckbox assets modifierClasses model labelContent =
css
[ cursor pointer
, outline none
, displayFlex
, alignItems center
, after
[ property "content" "''"
, display inlineBlock
, width (px 26)
, height (px 24)
, marginLeft (px 8)
, backgroundImage assets PremiumFlag
, backgroundRepeat noRepeat
, backgroundPosition Css.center
]
]
, labelClasses = labelClass model.selected
, labelContent = labelContent
@ -517,26 +529,6 @@ containerStyles =
]
premiumStyles assets =
[ children
[ Css.Foreign.label
[ displayFlex
, alignItems center
]
, selector "label::after"
[ property "content" "''"
, display inlineBlock
, width (px 26)
, height (px 24)
, marginLeft (px 8)
, backgroundImage assets PremiumFlag
, backgroundRepeat noRepeat
, backgroundPosition Css.center
]
]
]
{-| -}
styles : Nri.Ui.Styles.V1.StylesWithAssets Never CssClasses msg (Assets r)
styles =