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
All UserSelect # | |
Defined in Clay.Dynamic Methods all :: UserSelect # | |
All Value # | |
Defined in Clay.Common | |
All MediaType # | |
Defined in Clay.Stylesheet |
Instances
Auto BackgroundSize # | |
Defined in Clay.Background Methods auto :: BackgroundSize # | |
Auto Stroke # | |
Defined in Clay.Border | |
Auto Color # | |
Defined in Clay.Color | |
Auto Clip # | |
Defined in Clay.Display | |
Auto Overflow # | |
Defined in Clay.Display | |
Auto PointerEvents # | |
Defined in Clay.Display Methods auto :: PointerEvents # | |
Auto UserFocus # | |
Defined in Clay.Dynamic | |
Auto AlignSelfValue # | |
Defined in Clay.Flexbox Methods auto :: AlignSelfValue # | |
Auto FontSize # | |
Auto Value # | |
Defined in Clay.Common | |
Auto HyphenateCharacter # | |
Defined in Clay.Text Methods | |
Auto HyphenateLimit # | |
Defined in Clay.Text Methods auto :: HyphenateLimit # | |
Auto Hyphens # | |
Auto TextRendering # | |
Defined in Clay.Text Methods auto :: TextRendering # | |
Auto Time # | |
Auto TimingFunction # | |
Defined in Clay.Transition Methods auto :: TimingFunction # | |
Auto (Angle a) # | |
Auto (Size a) # | |
Instances
Baseline AlignItemsValue # | |
Defined in Clay.Flexbox Methods | |
Baseline AlignSelfValue # | |
Defined in Clay.Flexbox Methods | |
Baseline Value # | |
Defined in Clay.Common |
Instances
Center AlignContentValue # | |
Defined in Clay.Flexbox Methods | |
Center AlignItemsValue # | |
Defined in Clay.Flexbox Methods | |
Center AlignSelfValue # | |
Defined in Clay.Flexbox Methods | |
Center JustifyContentValue # | |
Defined in Clay.Flexbox Methods | |
Center Value # | |
Defined in Clay.Common | |
Center TextAlign # | |
Instances
Instances
Instances
Normal AnimationDirection # | |
Defined in Clay.Animation Methods | |
Normal IterationCount # | |
Defined in Clay.Animation Methods | |
Normal UserFocus # | |
Defined in Clay.Dynamic | |
Normal FontStyle # | |
Normal FontVariant # | |
Defined in Clay.Font Methods normal :: FontVariant # | |
Normal FontWeight # | |
Defined in Clay.Font Methods normal :: FontWeight # | |
Normal Value # | |
Defined in Clay.Common | |
Normal Content # | |
Normal OverflowWrap # | |
Defined in Clay.Text Methods normal :: OverflowWrap # | |
Normal TextAlign # | |
Normal TextDirection # | |
Defined in Clay.Text Methods normal :: TextDirection # | |
Normal WhiteSpace # | |
Defined in Clay.Text Methods normal :: WhiteSpace # | |
Normal WordBreak # | |
Normal Time # | |
Normal (Size a) # | |
Instances
Visible Overflow # | |
Defined in Clay.Display | |
Visible PointerEvents # | |
Defined in Clay.Display Methods | |
Visible Visibility # | |
Defined in Clay.Display Methods visible :: Visibility # | |
Visible Value # | |
Defined in Clay.Common |
Methods
:: aInstances
Hidden Overflow # | |
Defined in Clay.Display | |
Hidden Visibility # | |
Defined in Clay.Display Methods hidden :: Visibility # | |
Hidden Value # | |
Defined in Clay.Common |
Instances
Initial AnimationName # | |
Defined in Clay.Animation Methods | |
Initial ListStyleImage # | |
Defined in Clay.List Methods | |
Initial ListStylePosition # | |
Defined in Clay.List Methods | |
Initial ListStyleType # | |
Defined in Clay.List Methods | |
Initial Value # | |
Defined in Clay.Common | |
Initial Content # | |
Initial HyphenateCharacter # | |
Defined in Clay.Text Methods | |
Initial HyphenateLimit # | |
Defined in Clay.Text Methods | |
Initial Hyphens # | |
Initial OverflowWrap # | |
Defined in Clay.Text Methods initial :: OverflowWrap # | |
Initial TextIndent # | |
Defined in Clay.Text Methods initial :: TextIndent # | |
Initial TextOverflow # | |
Defined in Clay.Text Methods initial :: TextOverflow # | |
Initial WordBreak # | |
Initial TransformBox # | |
Defined in Clay.Transform Methods initial :: TransformBox # | |
Initial TransformStyle # | |
Defined in Clay.Transform Methods |
Instances
Unset AnimationName # | |
Defined in Clay.Animation Methods unset :: AnimationName # | |
Unset Visibility # | |
Defined in Clay.Display Methods unset :: Visibility # | |
Unset Value # | |
Defined in Clay.Common | |
Unset HyphenateCharacter # | |
Defined in Clay.Text Methods | |
Unset HyphenateLimit # | |
Defined in Clay.Text Methods unset :: HyphenateLimit # | |
Unset Hyphens # | |
Unset OverflowWrap # | |
Defined in Clay.Text Methods unset :: OverflowWrap # | |
Unset TextIndent # | |
Defined in Clay.Text Methods unset :: TextIndent # | |
Unset WordBreak # | |
Unset TransformBox # | |
Defined in Clay.Transform Methods unset :: TransformBox # | |
Unset TransformStyle # | |
Defined in Clay.Transform Methods unset :: TransformStyle # |
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
baselineValue :: Value #
centerValue :: Value #
inheritValue :: Value #
normalValue :: Value #
visibleValue :: Value #
initialValue :: Value #
unsetValue :: Value #
webkitPrefix :: (Text, Text) #
Common list browser prefixes to make experimental properties work in different browsers.
emptyPrefix :: (Text, Text) #
decimalRound :: RealFrac a => a -> Int -> a #