Safe Haskell | None |
---|---|
Language | Haskell2010 |
Clay.Common
Description
Synopsis
- class All a where
- all :: a
- class Auto a where
- auto :: a
- class Baseline a where
- baseline :: a
- class Center a where
- center :: a
- class Inherit a where
- inherit :: a
- class None a where
- none :: a
- class Normal a where
- normal :: a
- class Visible a where
- visible :: a
- class Hidden a where
- hidden :: a
- class Initial a where
- initial :: a
- class Unset a where
- unset :: a
- class Other a where
- allValue :: Value
- autoValue :: Value
- baselineValue :: Value
- centerValue :: Value
- inheritValue :: Value
- normalValue :: Value
- noneValue :: Value
- visibleValue :: Value
- hiddenValue :: Value
- initialValue :: Value
- unsetValue :: Value
- webkitPrefix :: (Text, Text)
- emptyPrefix :: (Text, Text)
- webkit :: Prefixed
- browsers :: Prefixed
- call :: (IsString s, Monoid s) => s -> s -> s
- fracMod :: RealFrac a => a -> a -> a
- decimalRound :: RealFrac a => a -> Int -> a
Documentation
Instances
class Baseline a where Source #
Instances
Baseline AlignItemsValue Source # | |
Defined in Clay.Flexbox Methods | |
Baseline AlignSelfValue Source # | |
Defined in Clay.Flexbox Methods | |
Baseline Value Source # | |
Defined in Clay.Common |
Instances
Center AlignContentValue Source # | |
Defined in Clay.Flexbox Methods | |
Center AlignItemsValue Source # | |
Defined in Clay.Flexbox Methods | |
Center AlignSelfValue Source # | |
Defined in Clay.Flexbox Methods | |
Center JustifyContentValue Source # | |
Defined in Clay.Flexbox Methods | |
Center Value Source # | |
Defined in Clay.Common | |
Center TextAlign Source # | |
class Inherit a where Source #
Instances
Instances
Instances
Normal AnimationDirection Source # | |
Defined in Clay.Animation Methods | |
Normal IterationCount Source # | |
Defined in Clay.Animation Methods | |
Normal UserFocus Source # | |
Defined in Clay.Dynamic | |
Normal FontStyle Source # | |
Normal FontVariant Source # | |
Defined in Clay.Font Methods normal :: FontVariant Source # | |
Normal FontWeight Source # | |
Defined in Clay.Font Methods normal :: FontWeight Source # | |
Normal Value Source # | |
Defined in Clay.Common | |
Normal Content Source # | |
Normal OverflowWrap Source # | |
Defined in Clay.Text Methods | |
Normal TextAlign Source # | |
Normal TextDirection Source # | |
Defined in Clay.Text Methods | |
Normal WhiteSpace Source # | |
Defined in Clay.Text Methods normal :: WhiteSpace Source # | |
Normal WordBreak Source # | |
Normal Time Source # | |
Normal (Size a) Source # | |
class Visible a where Source #
Instances
Visible Overflow Source # | |
Defined in Clay.Display | |
Visible PointerEvents Source # | |
Defined in Clay.Display Methods | |
Visible Visibility Source # | |
Defined in Clay.Display Methods visible :: Visibility Source # | |
Visible Value Source # | |
Defined in Clay.Common |
class Initial a where Source #
Instances
Initial AnimationName Source # | |
Defined in Clay.Animation Methods | |
Initial AspectRatio Source # | |
Defined in Clay.Geometry Methods | |
Initial GridLine Source # | Keyword |
Initial ListStyleImage Source # | |
Defined in Clay.List Methods | |
Initial ListStylePosition Source # | |
Defined in Clay.List Methods | |
Initial ListStyleType Source # | |
Defined in Clay.List Methods | |
Initial Value Source # | |
Defined in Clay.Common | |
Initial Content Source # | |
Initial HyphenateCharacter Source # | |
Defined in Clay.Text Methods | |
Initial HyphenateLimit Source # | |
Defined in Clay.Text Methods | |
Initial Hyphens Source # | |
Initial OverflowWrap Source # | |
Defined in Clay.Text Methods | |
Initial TextIndent Source # | |
Defined in Clay.Text Methods initial :: TextIndent Source # | |
Initial TextOverflow Source # | |
Defined in Clay.Text Methods | |
Initial WordBreak Source # | |
Initial TransformBox Source # | |
Defined in Clay.Transform Methods | |
Initial TransformStyle Source # | |
Defined in Clay.Transform Methods |
Instances
Unset AnimationName Source # | |
Defined in Clay.Animation Methods | |
Unset Visibility Source # | |
Defined in Clay.Display Methods unset :: Visibility Source # | |
Unset AspectRatio Source # | |
Defined in Clay.Geometry Methods unset :: AspectRatio Source # | |
Unset GridLine Source # | Keyword |
Unset Value Source # | |
Defined in Clay.Common | |
Unset HyphenateCharacter Source # | |
Defined in Clay.Text Methods | |
Unset HyphenateLimit Source # | |
Defined in Clay.Text Methods | |
Unset Hyphens Source # | |
Unset OverflowWrap Source # | |
Defined in Clay.Text Methods unset :: OverflowWrap Source # | |
Unset TextIndent Source # | |
Defined in Clay.Text Methods unset :: TextIndent Source # | |
Unset WordBreak Source # | |
Unset TransformBox Source # | |
Defined in Clay.Transform Methods unset :: TransformBox Source # | |
Unset TransformStyle Source # | |
Defined in Clay.Transform Methods |
The other type class is used to escape from the type safety introduced by
embedding CSS properties into the typed world of Clay. Other
allows you to
cast any Value
to a specific value type.
Instances
centerValue :: Value Source #
inheritValue :: Value Source #
normalValue :: Value Source #
visibleValue :: Value Source #
initialValue :: Value Source #
unsetValue :: Value Source #
webkitPrefix :: (Text, Text) Source #
Common list browser prefixes to make experimental properties work in different browsers.
emptyPrefix :: (Text, Text) Source #
decimalRound :: RealFrac a => a -> Int -> a Source #