Safe Haskell | None |
---|---|
Language | Haskell2010 |
Clay.Flexbox
Synopsis
- class FlexEnd a where
- flexEnd :: a
- class FlexStart a where
- flexStart :: a
- class SpaceAround a where
- spaceAround :: a
- class SpaceBetween a where
- spaceBetween :: a
- class SpaceEvenly a where
- spaceEvenly :: a
- class Stretch a where
- stretch :: a
- newtype AlignContentValue = AlignContentValue Value
- alignContent :: AlignContentValue -> Css
- newtype AlignItemsValue = AlignItemValue Value
- alignItems :: AlignItemsValue -> Css
- newtype AlignSelfValue = AlignSelfValue Value
- alignSelf :: AlignSelfValue -> Css
- flex :: Int -> Int -> Size b -> Css
- flexBasis :: Size a -> Css
- newtype FlexDirection = FlexDirection Value
- row :: FlexDirection
- rowReverse :: FlexDirection
- column :: FlexDirection
- columnReverse :: FlexDirection
- flexDirection :: FlexDirection -> Css
- flexFlow :: FlexDirection -> FlexWrap -> Css
- flexGrow :: Int -> Css
- flexShrink :: Int -> Css
- newtype FlexWrap = FlexWrap Value
- nowrap :: FlexWrap
- wrap :: FlexWrap
- wrapReverse :: FlexWrap
- flexWrap :: FlexWrap -> Css
- newtype JustifyContentValue = JustifyContentValue Value
- justifyContent :: JustifyContentValue -> Css
- order :: Int -> Css
Documentation
CSS Flexible Box Layout http://dev.w3.org/csswg/css-flexbox-1
Instances
FlexEnd AlignContentValue # | |
Defined in Clay.Flexbox Methods | |
FlexEnd AlignItemsValue # | |
Defined in Clay.Flexbox Methods | |
FlexEnd AlignSelfValue # | |
Defined in Clay.Flexbox Methods | |
FlexEnd JustifyContentValue # | |
Defined in Clay.Flexbox Methods | |
FlexEnd Value # | |
Defined in Clay.Flexbox |
Instances
FlexStart AlignContentValue # | |
Defined in Clay.Flexbox Methods | |
FlexStart AlignItemsValue # | |
Defined in Clay.Flexbox Methods | |
FlexStart AlignSelfValue # | |
Defined in Clay.Flexbox Methods | |
FlexStart JustifyContentValue # | |
Defined in Clay.Flexbox Methods | |
FlexStart Value # | |
Defined in Clay.Flexbox |
class SpaceAround a where #
Methods
spaceAround :: a #
Instances
SpaceAround AlignContentValue # | |
Defined in Clay.Flexbox Methods | |
SpaceAround JustifyContentValue # | |
Defined in Clay.Flexbox Methods | |
SpaceAround Value # | |
Defined in Clay.Flexbox Methods spaceAround :: Value # |
class SpaceBetween a where #
Methods
spaceBetween :: a #
Instances
SpaceBetween AlignContentValue # | |
Defined in Clay.Flexbox Methods | |
SpaceBetween JustifyContentValue # | |
Defined in Clay.Flexbox Methods | |
SpaceBetween Value # | |
Defined in Clay.Flexbox Methods spaceBetween :: Value # |
class SpaceEvenly a where #
Methods
spaceEvenly :: a #
Instances
SpaceEvenly AlignContentValue # | |
Defined in Clay.Flexbox Methods | |
SpaceEvenly JustifyContentValue # | |
Defined in Clay.Flexbox Methods | |
SpaceEvenly Value # | |
Defined in Clay.Flexbox Methods spaceEvenly :: Value # |
Instances
Stretch AlignContentValue # | |
Defined in Clay.Flexbox Methods | |
Stretch AlignItemsValue # | |
Defined in Clay.Flexbox Methods | |
Stretch AlignSelfValue # | |
Defined in Clay.Flexbox Methods | |
Stretch Value # | |
Defined in Clay.Flexbox |
newtype AlignContentValue #
Constructors
AlignContentValue Value |
Instances
Center AlignContentValue # | |
Defined in Clay.Flexbox Methods | |
Inherit AlignContentValue # | |
Defined in Clay.Flexbox Methods | |
Other AlignContentValue # | |
Defined in Clay.Flexbox Methods other :: Value -> AlignContentValue # | |
FlexEnd AlignContentValue # | |
Defined in Clay.Flexbox Methods | |
FlexStart AlignContentValue # | |
Defined in Clay.Flexbox Methods | |
SpaceAround AlignContentValue # | |
Defined in Clay.Flexbox Methods | |
SpaceBetween AlignContentValue # | |
Defined in Clay.Flexbox Methods | |
SpaceEvenly AlignContentValue # | |
Defined in Clay.Flexbox Methods | |
Stretch AlignContentValue # | |
Defined in Clay.Flexbox Methods | |
Val AlignContentValue # | |
Defined in Clay.Flexbox Methods value :: AlignContentValue -> Value # |
alignContent :: AlignContentValue -> Css #
newtype AlignItemsValue #
Constructors
AlignItemValue Value |
Instances
Baseline AlignItemsValue # | |
Defined in Clay.Flexbox Methods | |
Center AlignItemsValue # | |
Defined in Clay.Flexbox Methods | |
Inherit AlignItemsValue # | |
Defined in Clay.Flexbox Methods | |
Other AlignItemsValue # | |
Defined in Clay.Flexbox Methods other :: Value -> AlignItemsValue # | |
FlexEnd AlignItemsValue # | |
Defined in Clay.Flexbox Methods | |
FlexStart AlignItemsValue # | |
Defined in Clay.Flexbox Methods | |
Stretch AlignItemsValue # | |
Defined in Clay.Flexbox Methods | |
Val AlignItemsValue # | |
Defined in Clay.Flexbox Methods value :: AlignItemsValue -> Value # |
alignItems :: AlignItemsValue -> Css #
newtype AlignSelfValue #
Constructors
AlignSelfValue Value |
Instances
Auto AlignSelfValue # | |
Defined in Clay.Flexbox Methods auto :: AlignSelfValue # | |
Baseline AlignSelfValue # | |
Defined in Clay.Flexbox Methods | |
Center AlignSelfValue # | |
Defined in Clay.Flexbox Methods | |
Inherit AlignSelfValue # | |
Defined in Clay.Flexbox Methods | |
Other AlignSelfValue # | |
Defined in Clay.Flexbox Methods other :: Value -> AlignSelfValue # | |
FlexEnd AlignSelfValue # | |
Defined in Clay.Flexbox Methods | |
FlexStart AlignSelfValue # | |
Defined in Clay.Flexbox Methods | |
Stretch AlignSelfValue # | |
Defined in Clay.Flexbox Methods | |
Val AlignSelfValue # | |
Defined in Clay.Flexbox Methods value :: AlignSelfValue -> Value # |
alignSelf :: AlignSelfValue -> Css #
newtype FlexDirection #
Constructors
FlexDirection Value |
Instances
Other FlexDirection # | |
Defined in Clay.Flexbox Methods other :: Value -> FlexDirection # | |
Val FlexDirection # | |
Defined in Clay.Flexbox Methods value :: FlexDirection -> Value # |
row :: FlexDirection #
column :: FlexDirection #
flexDirection :: FlexDirection -> Css #
flexFlow :: FlexDirection -> FlexWrap -> Css #
flexShrink :: Int -> Css #
wrapReverse :: FlexWrap #
newtype JustifyContentValue #
Constructors
JustifyContentValue Value |
Instances
Center JustifyContentValue # | |
Defined in Clay.Flexbox Methods | |
Inherit JustifyContentValue # | |
Defined in Clay.Flexbox Methods | |
Other JustifyContentValue # | |
Defined in Clay.Flexbox Methods other :: Value -> JustifyContentValue # | |
FlexEnd JustifyContentValue # | |
Defined in Clay.Flexbox Methods | |
FlexStart JustifyContentValue # | |
Defined in Clay.Flexbox Methods | |
SpaceAround JustifyContentValue # | |
Defined in Clay.Flexbox Methods | |
SpaceBetween JustifyContentValue # | |
Defined in Clay.Flexbox Methods | |
SpaceEvenly JustifyContentValue # | |
Defined in Clay.Flexbox Methods | |
Val JustifyContentValue # | |
Defined in Clay.Flexbox Methods value :: JustifyContentValue -> Value # |