Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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
Auto BackgroundSize Source # | |
Defined in Clay.Background | |
Auto Stroke Source # | |
Defined in Clay.Border | |
Auto Color Source # | |
Defined in Clay.Color | |
Auto Clip Source # | |
Defined in Clay.Display | |
Auto Overflow Source # | |
Defined in Clay.Display | |
Auto PointerEvents Source # | |
Defined in Clay.Display auto :: PointerEvents Source # | |
Auto UserFocus Source # | |
Defined in Clay.Dynamic | |
Auto AlignSelfValue Source # | |
Defined in Clay.Flexbox | |
Auto FontSize Source # | |
Auto Value Source # | |
Defined in Clay.Common | |
Auto HyphenateCharacter Source # | |
Defined in Clay.Text | |
Auto HyphenateLimit Source # | |
Defined in Clay.Text | |
Auto Hyphens Source # | |
Auto TextRendering Source # | |
Defined in Clay.Text auto :: TextRendering Source # | |
Auto Time Source # | |
Auto TimingFunction Source # | |
Defined in Clay.Transition | |
Auto (Angle a) Source # | |
Auto (Size a) Source # | |
class Baseline a where Source #
Instances
Baseline AlignItemsValue Source # | |
Defined in Clay.Flexbox | |
Baseline AlignSelfValue Source # | |
Defined in Clay.Flexbox | |
Baseline Value Source # | |
Defined in Clay.Common |
Instances
Center AlignContentValue Source # | |
Defined in Clay.Flexbox | |
Center AlignItemsValue Source # | |
Defined in Clay.Flexbox | |
Center AlignSelfValue Source # | |
Defined in Clay.Flexbox | |
Center JustifyContentValue Source # | |
Defined in Clay.Flexbox | |
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 | |
Normal IterationCount Source # | |
Defined in Clay.Animation | |
Normal UserFocus Source # | |
Defined in Clay.Dynamic | |
Normal FontStyle Source # | |
Normal FontVariant Source # | |
Defined in Clay.Font normal :: FontVariant Source # | |
Normal FontWeight Source # | |
Defined in Clay.Font normal :: FontWeight Source # | |
Normal Value Source # | |
Defined in Clay.Common | |
Normal Content Source # | |
Normal OverflowWrap Source # | |
Defined in Clay.Text | |
Normal TextAlign Source # | |
Normal TextDirection Source # | |
Defined in Clay.Text | |
Normal WhiteSpace Source # | |
Defined in Clay.Text 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 | |
Visible Visibility Source # | |
Defined in Clay.Display visible :: Visibility Source # | |
Visible Value Source # | |
Defined in Clay.Common |
class Initial a where Source #
Instances
Initial AnimationName Source # | |
Defined in Clay.Animation | |
Initial ListStyleImage Source # | |
Defined in Clay.List | |
Initial ListStylePosition Source # | |
Defined in Clay.List | |
Initial ListStyleType Source # | |
Defined in Clay.List | |
Initial Value Source # | |
Defined in Clay.Common | |
Initial Content Source # | |
Initial HyphenateCharacter Source # | |
Defined in Clay.Text | |
Initial HyphenateLimit Source # | |
Defined in Clay.Text | |
Initial Hyphens Source # | |
Initial OverflowWrap Source # | |
Defined in Clay.Text | |
Initial TextIndent Source # | |
Defined in Clay.Text initial :: TextIndent Source # | |
Initial TextOverflow Source # | |
Defined in Clay.Text | |
Initial WordBreak Source # | |
Initial TransformBox Source # | |
Defined in Clay.Transform | |
Initial TransformStyle Source # | |
Defined in Clay.Transform |
Instances
Unset AnimationName Source # | |
Defined in Clay.Animation | |
Unset Visibility Source # | |
Defined in Clay.Display unset :: Visibility Source # | |
Unset Value Source # | |
Defined in Clay.Common | |
Unset HyphenateCharacter Source # | |
Defined in Clay.Text | |
Unset HyphenateLimit Source # | |
Defined in Clay.Text | |
Unset Hyphens Source # | |
Unset OverflowWrap Source # | |
Defined in Clay.Text unset :: OverflowWrap Source # | |
Unset TextIndent Source # | |
Defined in Clay.Text unset :: TextIndent Source # | |
Unset WordBreak Source # | |
Unset TransformBox Source # | |
Defined in Clay.Transform unset :: TransformBox Source # | |
Unset TransformStyle Source # | |
Defined in Clay.Transform |
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 #