Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- module Clay.Background
- module Clay.Border
- module Clay.Box
- module Clay.Color
- module Clay.Common
- zoomOut :: CursorValue Value
- zoomIn :: CursorValue Value
- nwseResize :: CursorValue Value
- neswResize :: CursorValue Value
- nsResize :: CursorValue Value
- ewResize :: CursorValue Value
- swResize :: CursorValue Value
- seResize :: CursorValue Value
- nwResize :: CursorValue Value
- neResize :: CursorValue Value
- wResize :: CursorValue Value
- sResize :: CursorValue Value
- eResize :: CursorValue Value
- nResize :: CursorValue Value
- rowResize :: CursorValue Value
- colResize :: CursorValue Value
- allScroll :: CursorValue Value
- grabbing :: CursorValue Value
- grab :: CursorValue Value
- notAllowed :: CursorValue Value
- noDrop :: CursorValue Value
- move :: CursorValue Value
- cursorCopy :: CursorValue Value
- alias :: CursorValue Value
- vText :: CursorValue Value
- cursorText :: CursorValue Value
- crosshair :: CursorValue Value
- cell :: CursorValue Value
- wait :: CursorValue Value
- cursorProgress :: CursorValue Value
- pointer :: CursorValue Value
- help :: CursorValue Value
- contextMenu :: CursorValue Value
- cursorDefault :: CursorValue Value
- cursorUrl :: Text -> CursorValue Value
- vAlignBottom :: VerticalAlignValue
- vAlignTop :: VerticalAlignValue
- textBottom :: VerticalAlignValue
- textTop :: VerticalAlignValue
- vAlignSuper :: VerticalAlignValue
- vAlignBaseline :: VerticalAlignValue
- vAlignSub :: VerticalAlignValue
- middle :: VerticalAlignValue
- pointerEvents :: PointerEvents -> Css
- allEvents :: PointerEvents
- strokeEvents :: PointerEvents
- fillEvents :: PointerEvents
- painted :: PointerEvents
- visibleStroke :: PointerEvents
- visibleFill :: PointerEvents
- visiblePainted :: PointerEvents
- zIndex :: Integer -> Css
- opacity :: Double -> Css
- rect :: Size a -> Size a -> Size a -> Size a -> Clip
- clip :: Clip -> Css
- visibility :: Visibility -> Css
- separate :: Visibility
- collapse :: Visibility
- overflowY :: Overflow -> Css
- overflowX :: Overflow -> Css
- overflow :: Overflow -> Css
- scroll :: Overflow
- display :: Display -> Css
- inlineGrid :: Display
- grid :: Display
- inlineFlex :: Display
- flex :: Display
- displayInherit :: Display
- displayNone :: Display
- tableCaption :: Display
- tableCell :: Display
- tableColumn :: Display
- tableColumnGroup :: Display
- tableRow :: Display
- tableFooterGroup :: Display
- tableHeaderGroup :: Display
- tableRowGroup :: Display
- inlineTable :: Display
- displayTable :: Display
- inlineBlock :: Display
- runIn :: Display
- listItem :: Display
- block :: Display
- inline :: Display
- position :: Position -> Css
- sticky :: Position
- relative :: Position
- fixed :: Position
- absolute :: Position
- static :: Position
- clear :: Clear -> Css
- clearRight :: Clear
- clearLeft :: Clear
- both :: Clear
- floatRight :: FloatStyle
- floatLeft :: FloatStyle
- float :: FloatStyle -> Css
- data FloatStyle
- data Clear
- data Position
- data Display
- data Overflow
- data Visibility
- data Clip
- data PointerEvents
- class Val a => VerticalAlign a where
- verticalAlign :: a -> Css
- class Val a => Cursor a where
- module Clay.Dynamic
- order :: Int -> Css
- justifyContent :: JustifyContentValue -> Css
- flexWrap :: FlexWrap -> Css
- wrapReverse :: FlexWrap
- flexShrink :: Int -> Css
- flexGrow :: Int -> Css
- flexFlow :: FlexDirection -> FlexWrap -> Css
- flexDirection :: FlexDirection -> Css
- columnReverse :: FlexDirection
- column :: FlexDirection
- rowReverse :: FlexDirection
- row :: FlexDirection
- flexBasis :: Size a -> Css
- alignSelf :: AlignSelfValue -> Css
- alignItems :: AlignItemsValue -> Css
- alignContent :: AlignContentValue -> Css
- 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 Stretch a where
- stretch :: a
- newtype AlignContentValue = AlignContentValue Value
- newtype AlignItemsValue = AlignItemValue Value
- newtype AlignSelfValue = AlignSelfValue Value
- newtype FlexDirection = FlexDirection Value
- newtype FlexWrap = FlexWrap Value
- newtype JustifyContentValue = JustifyContentValue Value
- lineHeight :: Size a -> Css
- statusBar :: NamedFont
- smallCaption :: NamedFont
- messageBox :: NamedFont
- fontWeight :: FontWeight -> Css
- weight :: Integer -> FontWeight
- lighter :: FontWeight
- bolder :: FontWeight
- bold :: FontWeight
- fontVariant :: FontVariant -> Css
- smallCaps :: FontVariant
- fontStyle :: FontStyle -> Css
- oblique :: FontStyle
- italic :: FontStyle
- fontSizeCustom :: FontSize -> Css
- fontSize :: Size a -> Css
- larger :: FontSize
- smaller :: FontSize
- xxLarge :: FontSize
- xLarge :: FontSize
- large :: FontSize
- medium :: FontSize
- xSmall :: FontSize
- xxSmall :: FontSize
- fontFamily :: [Text] -> [GenericFontFamily] -> Css
- fantasy :: GenericFontFamily
- cursive :: GenericFontFamily
- monospace :: GenericFontFamily
- serif :: GenericFontFamily
- sansSerif :: GenericFontFamily
- color :: Color -> Css
- fontColor :: Color -> Css
- class Val a => Font a where
- data Optional = Optional (Maybe FontWeight) (Maybe FontVariant) (Maybe FontStyle)
- data Required a = Required (Size a) (Maybe (Size a)) [Text] [GenericFontFamily]
- data FontSize
- data FontStyle
- data FontVariant
- data FontWeight
- data NamedFont
- module Clay.FontFace
- module Clay.Geometry
- module Clay.Gradient
- module Clay.List
- module Clay.Size
- contents :: [Content] -> Css
- content :: Content -> Css
- noCloseQuote :: Content
- noOpenQuote :: Content
- closeQuote :: Content
- openQuote :: Content
- urlContent :: Text -> Content
- uriContent :: Text -> Content
- stringContent :: Text -> Content
- attrContent :: Text -> Content
- textOverflow :: TextOverflow -> Css
- overflowEllipsis :: TextOverflow
- overflowClip :: TextOverflow
- overflowWrap :: OverflowWrap -> Css
- wordWrap :: OverflowWrap -> Css
- breakWord :: OverflowWrap
- wordBreak :: WordBreak -> Css
- keepAll :: WordBreak
- breakAll :: WordBreak
- textTransform :: TextTransform -> Css
- fullWidth :: TextTransform
- lowercase :: TextTransform
- uppercase :: TextTransform
- capitalize :: TextTransform
- textDecorationStyle :: Stroke -> Css
- textDecoration :: TextDecoration -> Css
- textDecorationColor :: Color -> Css
- textDecorationLine :: TextDecoration -> Css
- blink :: TextDecoration
- lineThrough :: TextDecoration
- overline :: TextDecoration
- underline :: TextDecoration
- preLine :: WhiteSpace
- preWrap :: WhiteSpace
- nowrap :: WhiteSpace
- whiteSpace :: WhiteSpace -> Css
- textAlign :: TextAlign -> Css
- alignString :: Char -> TextAlign
- alignSide :: Side -> TextAlign
- end :: TextAlign
- start :: TextAlign
- matchParent :: TextAlign
- justify :: TextAlign
- direction :: TextDirection -> Css
- rtl :: TextDirection
- ltr :: TextDirection
- textIndent :: TextIndent -> Css
- indent :: Size a -> TextIndent
- hanging :: TextIndent -> TextIndent
- eachLine :: TextIndent -> TextIndent
- textShadow :: Size a -> Size a -> Size a -> Color -> Css
- textRendering :: TextRendering -> Css
- geometricPrecision :: TextRendering
- optimizeLegibility :: TextRendering
- optimizeSpeed :: TextRendering
- wordSpacing :: Size a -> Css
- letterSpacing :: Size a -> Css
- data TextRendering
- data TextIndent
- data TextDirection
- data TextAlign
- data WhiteSpace
- data TextDecoration
- data TextTransform
- data WordBreak
- data OverflowWrap
- data TextOverflow
- data Content
- module Clay.Time
- module Clay.Transform
- module Clay.Transition
- module Clay.Animation
- maskAttachments :: [BackgroundAttachment] -> Css
- maskAttachment :: BackgroundAttachment -> Css
- maskClips :: [BackgroundClip] -> Css
- maskClip :: BackgroundClip -> Css
- maskOrigins :: [BackgroundOrigin] -> Css
- maskOrigin :: BackgroundOrigin -> Css
- maskImages :: [BackgroundImage] -> Css
- maskImage :: BackgroundImage -> Css
- maskRepeats :: [BackgroundRepeat] -> Css
- maskRepeat :: BackgroundRepeat -> Css
- maskSizes :: [BackgroundSize] -> Css
- maskSize :: BackgroundSize -> Css
- maskPositions :: [BackgroundPosition] -> Css
- maskPosition :: BackgroundPosition -> Css
- maskComposites :: [MaskComposite] -> Css
- maskComposite :: MaskComposite -> Css
- xor :: MaskComposite
- destinationAtop :: MaskComposite
- destinationOut :: MaskComposite
- destinationIn :: MaskComposite
- destinationOver :: MaskComposite
- sourceAtop :: MaskComposite
- sourceOut :: MaskComposite
- sourceIn :: MaskComposite
- sourceOver :: MaskComposite
- copy :: MaskComposite
- class Val a => Mask a where
- data MaskComposite
- sepia :: Size Percentage -> Filter
- saturate :: Size Percentage -> Filter
- invert :: Size Percentage -> Filter
- hueRotate :: Angle a -> Filter
- grayscale :: Size Percentage -> Filter
- dropShadow :: Size LengthUnit -> Size LengthUnit -> Size LengthUnit -> Color -> Filter
- contrast :: Size Percentage -> Filter
- brightness :: Double -> Filter
- blur :: Size LengthUnit -> Filter
- filters :: [Filter] -> Css
- filter :: Filter -> Css
- data Filter
Documentation
module Clay.Background
module Clay.Border
module Clay.Box
module Clay.Color
module Clay.Common
nwseResize :: CursorValue Value #
neswResize :: CursorValue Value #
notAllowed :: CursorValue Value #
cursorCopy :: CursorValue Value #
cursorText :: CursorValue Value #
cursorProgress :: CursorValue Value #
contextMenu :: CursorValue Value #
cursorDefault :: CursorValue Value #
vAlignBottom :: VerticalAlignValue #
textBottom :: VerticalAlignValue #
vAlignSuper :: VerticalAlignValue #
vAlignBaseline :: VerticalAlignValue #
pointerEvents :: PointerEvents -> Css #
visibility :: Visibility -> Css #
separate :: Visibility #
collapse :: Visibility #
inlineGrid :: Display #
inlineFlex :: Display #
displayNone :: Display #
tableCaption :: Display #
tableColumn :: Display #
inlineTable :: Display #
displayTable :: Display #
inlineBlock :: Display #
clearRight :: Clear #
floatLeft :: FloatStyle #
float :: FloatStyle -> Css #
data FloatStyle #
Instances
Inherit FloatStyle | |
Defined in Clay.Display inherit :: FloatStyle # | |
None FloatStyle | |
Defined in Clay.Display none :: FloatStyle # | |
Val FloatStyle | |
Defined in Clay.Display value :: FloatStyle -> Value # |
Instances
Auto Overflow | |
Defined in Clay.Display | |
Inherit Overflow | |
Defined in Clay.Display | |
Visible Overflow | |
Defined in Clay.Display | |
Hidden Overflow | |
Defined in Clay.Display | |
Other Overflow | |
Defined in Clay.Display | |
Val Overflow | |
Defined in Clay.Display |
data Visibility #
Instances
Auto Visibility | |
Defined in Clay.Display auto :: Visibility # | |
Inherit Visibility | |
Defined in Clay.Display inherit :: Visibility # | |
Visible Visibility | |
Defined in Clay.Display visible :: Visibility # | |
Hidden Visibility | |
Defined in Clay.Display hidden :: Visibility # | |
Other Visibility | |
Defined in Clay.Display other :: Value -> Visibility # | |
Val Visibility | |
Defined in Clay.Display value :: Visibility -> Value # |
data PointerEvents #
Instances
Auto PointerEvents | |
Defined in Clay.Display auto :: PointerEvents # | |
Inherit PointerEvents | |
Defined in Clay.Display | |
None PointerEvents | |
Defined in Clay.Display none :: PointerEvents # | |
Visible PointerEvents | |
Defined in Clay.Display | |
Other PointerEvents | |
Defined in Clay.Display other :: Value -> PointerEvents # | |
Val PointerEvents | |
Defined in Clay.Display value :: PointerEvents -> Value # |
class Val a => VerticalAlign a where #
Nothing
verticalAlign :: a -> Css #
Instances
VerticalAlign VerticalAlignValue | |
Defined in Clay.Display verticalAlign :: VerticalAlignValue -> Css # | |
VerticalAlign (Size a) | |
Defined in Clay.Display verticalAlign :: Size a -> Css # |
module Clay.Dynamic
wrapReverse :: FlexWrap #
flexShrink :: Int -> Css #
flexFlow :: FlexDirection -> FlexWrap -> Css #
flexDirection :: FlexDirection -> Css #
column :: FlexDirection #
row :: FlexDirection #
alignSelf :: AlignSelfValue -> Css #
alignItems :: AlignItemsValue -> Css #
alignContent :: AlignContentValue -> Css #
CSS Flexible Box Layout http://dev.w3.org/csswg/css-flexbox-1
Instances
FlexEnd AlignContentValue | |
Defined in Clay.Flexbox | |
FlexEnd AlignItemsValue | |
Defined in Clay.Flexbox | |
FlexEnd AlignSelfValue | |
Defined in Clay.Flexbox | |
FlexEnd JustifyContentValue | |
Defined in Clay.Flexbox | |
FlexEnd Value | |
Defined in Clay.Flexbox |
Instances
FlexStart AlignContentValue | |
Defined in Clay.Flexbox | |
FlexStart AlignItemsValue | |
Defined in Clay.Flexbox | |
FlexStart AlignSelfValue | |
Defined in Clay.Flexbox | |
FlexStart JustifyContentValue | |
Defined in Clay.Flexbox | |
FlexStart Value | |
Defined in Clay.Flexbox |
class SpaceAround a where #
spaceAround :: a #
Instances
SpaceAround AlignContentValue | |
Defined in Clay.Flexbox | |
SpaceAround JustifyContentValue | |
Defined in Clay.Flexbox | |
SpaceAround Value | |
Defined in Clay.Flexbox spaceAround :: Value # |
class SpaceBetween a where #
spaceBetween :: a #
Instances
SpaceBetween AlignContentValue | |
Defined in Clay.Flexbox | |
SpaceBetween JustifyContentValue | |
Defined in Clay.Flexbox | |
SpaceBetween Value | |
Defined in Clay.Flexbox spaceBetween :: Value # |
Instances
Stretch AlignContentValue | |
Defined in Clay.Flexbox | |
Stretch AlignItemsValue | |
Defined in Clay.Flexbox | |
Stretch AlignSelfValue | |
Defined in Clay.Flexbox | |
Stretch Value | |
Defined in Clay.Flexbox |
newtype AlignContentValue #
Instances
FlexEnd AlignContentValue | |
Defined in Clay.Flexbox | |
FlexStart AlignContentValue | |
Defined in Clay.Flexbox | |
SpaceAround AlignContentValue | |
Defined in Clay.Flexbox | |
SpaceBetween AlignContentValue | |
Defined in Clay.Flexbox | |
Stretch AlignContentValue | |
Defined in Clay.Flexbox | |
Center AlignContentValue | |
Defined in Clay.Flexbox | |
Inherit AlignContentValue | |
Defined in Clay.Flexbox | |
Other AlignContentValue | |
Defined in Clay.Flexbox other :: Value -> AlignContentValue # | |
Val AlignContentValue | |
Defined in Clay.Flexbox value :: AlignContentValue -> Value # |
newtype AlignItemsValue #
Instances
FlexEnd AlignItemsValue | |
Defined in Clay.Flexbox | |
FlexStart AlignItemsValue | |
Defined in Clay.Flexbox | |
Stretch AlignItemsValue | |
Defined in Clay.Flexbox | |
Baseline AlignItemsValue | |
Defined in Clay.Flexbox | |
Center AlignItemsValue | |
Defined in Clay.Flexbox | |
Inherit AlignItemsValue | |
Defined in Clay.Flexbox | |
Other AlignItemsValue | |
Defined in Clay.Flexbox other :: Value -> AlignItemsValue # | |
Val AlignItemsValue | |
Defined in Clay.Flexbox value :: AlignItemsValue -> Value # |
newtype AlignSelfValue #
Instances
FlexEnd AlignSelfValue | |
Defined in Clay.Flexbox | |
FlexStart AlignSelfValue | |
Defined in Clay.Flexbox | |
Stretch AlignSelfValue | |
Defined in Clay.Flexbox | |
Auto AlignSelfValue | |
Defined in Clay.Flexbox auto :: AlignSelfValue # | |
Baseline AlignSelfValue | |
Defined in Clay.Flexbox | |
Center AlignSelfValue | |
Defined in Clay.Flexbox | |
Inherit AlignSelfValue | |
Defined in Clay.Flexbox | |
Other AlignSelfValue | |
Defined in Clay.Flexbox other :: Value -> AlignSelfValue # | |
Val AlignSelfValue | |
Defined in Clay.Flexbox value :: AlignSelfValue -> Value # |
newtype FlexDirection #
Instances
Other FlexDirection | |
Defined in Clay.Flexbox other :: Value -> FlexDirection # | |
Val FlexDirection | |
Defined in Clay.Flexbox value :: FlexDirection -> Value # |
newtype JustifyContentValue #
Instances
FlexEnd JustifyContentValue | |
Defined in Clay.Flexbox | |
FlexStart JustifyContentValue | |
Defined in Clay.Flexbox | |
SpaceAround JustifyContentValue | |
Defined in Clay.Flexbox | |
SpaceBetween JustifyContentValue | |
Defined in Clay.Flexbox | |
Center JustifyContentValue | |
Defined in Clay.Flexbox | |
Inherit JustifyContentValue | |
Defined in Clay.Flexbox | |
Other JustifyContentValue | |
Defined in Clay.Flexbox other :: Value -> JustifyContentValue # | |
Val JustifyContentValue | |
Defined in Clay.Flexbox value :: JustifyContentValue -> Value # |
lineHeight :: Size a -> Css #
messageBox :: NamedFont #
fontWeight :: FontWeight -> Css #
weight :: Integer -> FontWeight #
lighter :: FontWeight #
bolder :: FontWeight #
bold :: FontWeight #
fontVariant :: FontVariant -> Css #
fontSizeCustom :: FontSize -> Css #
fontFamily :: [Text] -> [GenericFontFamily] -> Css #
The fontFamily
style rules takes to lists of font families: zero or more
custom font-families and preferably one or more generic font families.
We implement the generic font property as a type class that accepts multiple value types. This allows us to combine different font aspects into a shorthand syntax. Fonts require a mandatory part and have a optional a part.
Nothing
data FontVariant #
Instances
Inherit FontVariant | |
Defined in Clay.Font inherit :: FontVariant # | |
Normal FontVariant | |
Defined in Clay.Font normal :: FontVariant # | |
Other FontVariant | |
Defined in Clay.Font other :: Value -> FontVariant # | |
Val FontVariant | |
Defined in Clay.Font value :: FontVariant -> Value # |
data FontWeight #
Instances
Inherit FontWeight | |
Defined in Clay.Font inherit :: FontWeight # | |
Normal FontWeight | |
Defined in Clay.Font normal :: FontWeight # | |
Other FontWeight | |
Defined in Clay.Font other :: Value -> FontWeight # | |
Val FontWeight | |
Defined in Clay.Font value :: FontWeight -> Value # |
module Clay.FontFace
module Clay.Geometry
module Clay.Gradient
module Clay.List
module Clay.Size
noCloseQuote :: Content #
noOpenQuote :: Content #
closeQuote :: Content #
urlContent :: Text -> Content #
uriContent :: Text -> Content #
stringContent :: Text -> Content #
attrContent :: Text -> Content #
textOverflow :: TextOverflow -> Css #
overflowWrap :: OverflowWrap -> Css #
wordWrap :: OverflowWrap -> Css #
textTransform :: TextTransform -> Css #
textDecorationStyle :: Stroke -> Css #
textDecoration :: TextDecoration -> Css #
textDecorationColor :: Color -> Css #
textDecorationLine :: TextDecoration -> Css #
blink :: TextDecoration #
preLine :: WhiteSpace #
preWrap :: WhiteSpace #
nowrap :: WhiteSpace #
whiteSpace :: WhiteSpace -> Css #
alignString :: Char -> TextAlign #
direction :: TextDirection -> Css #
rtl :: TextDirection #
ltr :: TextDirection #
textIndent :: TextIndent -> Css #
indent :: Size a -> TextIndent #
hanging :: TextIndent -> TextIndent #
Annotate the supplied TextIndent
with each-line
or hanging
or
both.
eachLine . hanging . indent $ px 3 :: TextIndent
eachLine :: TextIndent -> TextIndent #
Annotate the supplied TextIndent
with each-line
or hanging
or
both.
eachLine . hanging . indent $ px 3 :: TextIndent
textRendering :: TextRendering -> Css #
wordSpacing :: Size a -> Css #
letterSpacing :: Size a -> Css #
data TextRendering #
Instances
Auto TextRendering | |
Defined in Clay.Text auto :: TextRendering # | |
Inherit TextRendering | |
Defined in Clay.Text | |
Other TextRendering | |
Defined in Clay.Text other :: Value -> TextRendering # | |
Val TextRendering | |
Defined in Clay.Text value :: TextRendering -> Value # |
data TextIndent #
Instances
Inherit TextIndent | |
Defined in Clay.Text inherit :: TextIndent # | |
Initial TextIndent | |
Defined in Clay.Text initial :: TextIndent # | |
Unset TextIndent | |
Defined in Clay.Text unset :: TextIndent # | |
Other TextIndent | |
Defined in Clay.Text other :: Value -> TextIndent # | |
Val TextIndent | |
Defined in Clay.Text value :: TextIndent -> Value # |
data TextDirection #
Instances
Inherit TextDirection | |
Defined in Clay.Text | |
Normal TextDirection | |
Defined in Clay.Text normal :: TextDirection # | |
Other TextDirection | |
Defined in Clay.Text other :: Value -> TextDirection # | |
Val TextDirection | |
Defined in Clay.Text value :: TextDirection -> Value # |
data WhiteSpace #
Instances
Inherit WhiteSpace | |
Defined in Clay.Text inherit :: WhiteSpace # | |
Normal WhiteSpace | |
Defined in Clay.Text normal :: WhiteSpace # | |
Other WhiteSpace | |
Defined in Clay.Text other :: Value -> WhiteSpace # | |
Val WhiteSpace | |
Defined in Clay.Text value :: WhiteSpace -> Value # |
data TextDecoration #
Instances
Inherit TextDecoration | |
Defined in Clay.Text | |
None TextDecoration | |
Defined in Clay.Text none :: TextDecoration # | |
Other TextDecoration | |
Defined in Clay.Text other :: Value -> TextDecoration # | |
Val TextDecoration | |
Defined in Clay.Text value :: TextDecoration -> Value # |
data TextTransform #
Instances
Inherit TextTransform | |
Defined in Clay.Text | |
None TextTransform | |
Defined in Clay.Text none :: TextTransform # | |
Val TextTransform | |
Defined in Clay.Text value :: TextTransform -> Value # |
data OverflowWrap #
Instances
Inherit OverflowWrap | |
Defined in Clay.Text inherit :: OverflowWrap # | |
Normal OverflowWrap | |
Defined in Clay.Text normal :: OverflowWrap # | |
Initial OverflowWrap | |
Defined in Clay.Text initial :: OverflowWrap # | |
Unset OverflowWrap | |
Defined in Clay.Text unset :: OverflowWrap # | |
Val OverflowWrap | |
Defined in Clay.Text value :: OverflowWrap -> Value # |
data TextOverflow #
Instances
Inherit TextOverflow | |
Defined in Clay.Text inherit :: TextOverflow # | |
None TextOverflow | |
Defined in Clay.Text none :: TextOverflow # | |
Initial TextOverflow | |
Defined in Clay.Text initial :: TextOverflow # | |
Val TextOverflow | |
Defined in Clay.Text value :: TextOverflow -> Value # |
module Clay.Time
module Clay.Transform
module Clay.Transition
module Clay.Animation
maskAttachments :: [BackgroundAttachment] -> Css #
maskClips :: [BackgroundClip] -> Css #
maskClip :: BackgroundClip -> Css #
maskOrigins :: [BackgroundOrigin] -> Css #
maskOrigin :: BackgroundOrigin -> Css #
maskImages :: [BackgroundImage] -> Css #
maskImage :: BackgroundImage -> Css #
maskRepeats :: [BackgroundRepeat] -> Css #
maskRepeat :: BackgroundRepeat -> Css #
maskSizes :: [BackgroundSize] -> Css #
maskSize :: BackgroundSize -> Css #
maskPositions :: [BackgroundPosition] -> Css #
maskPosition :: BackgroundPosition -> Css #
maskComposites :: [MaskComposite] -> Css #
maskComposite :: MaskComposite -> Css #
xor :: MaskComposite #
copy :: MaskComposite #
We implement the generic mask property as a type class that accepts multiple value types. This allows us to combine different mask aspects into a shorthand syntax.
Nothing
Instances
Mask MaskComposite | |
Defined in Clay.Mask mask :: MaskComposite -> Css # | |
Mask BackgroundPosition | |
Defined in Clay.Mask mask :: BackgroundPosition -> Css # | |
Mask BackgroundSize | |
Defined in Clay.Mask mask :: BackgroundSize -> Css # | |
Mask BackgroundRepeat | |
Defined in Clay.Mask mask :: BackgroundRepeat -> Css # | |
Mask BackgroundImage | |
Defined in Clay.Mask mask :: BackgroundImage -> Css # | |
Mask BackgroundOrigin | |
Defined in Clay.Mask mask :: BackgroundOrigin -> Css # | |
Mask BackgroundClip | |
Defined in Clay.Mask mask :: BackgroundClip -> Css # | |
Mask BackgroundAttachment | |
Defined in Clay.Mask mask :: BackgroundAttachment -> Css # | |
Mask a => Mask [a] | |
(Mask a, Mask b) => Mask (a, b) | |
data MaskComposite #
Instances
Mask MaskComposite | |
Defined in Clay.Mask mask :: MaskComposite -> Css # | |
Inherit MaskComposite | |
Defined in Clay.Mask | |
None MaskComposite | |
Defined in Clay.Mask none :: MaskComposite # | |
Other MaskComposite | |
Defined in Clay.Mask other :: Value -> MaskComposite # | |
Val MaskComposite | |
Defined in Clay.Mask value :: MaskComposite -> Value # |
sepia :: Size Percentage -> Filter #
saturate :: Size Percentage -> Filter #
invert :: Size Percentage -> Filter #
grayscale :: Size Percentage -> Filter #
dropShadow :: Size LengthUnit -> Size LengthUnit -> Size LengthUnit -> Color -> Filter #
contrast :: Size Percentage -> Filter #
brightness :: Double -> Filter #
blur :: Size LengthUnit -> Filter #