| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Clay.Common
Description
Synopsis
- class All a where
- class Auto a where
- class Baseline a where
- class Center a where
- class Inherit a where
- class None a where
- class Normal a where
- class Visible a where
- class Hidden a where
- class Initial a where
- class Unset a where
- 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
- browsers :: Prefixed
- call :: (IsString s, Monoid s) => s -> s -> s
- fracMod :: RealFrac a => a -> a -> a
- decimalRound :: RealFrac a => a -> Int -> a
Documentation
Minimal complete definition
Instances
| All Value # | |
Defined in Clay.Common | |
| All MediaType # | |
Defined in Clay.Stylesheet | |
| All UserSelect # | |
Defined in Clay.Dynamic Methods all :: UserSelect # | |
Minimal complete definition
Instances
| Auto Value # | |
Defined in Clay.Common | |
| Auto Color # | |
Defined in Clay.Color | |
| Auto FontSize # | |
| Auto AlignSelfValue # | |
Defined in Clay.Flexbox Methods auto :: AlignSelfValue # | |
| Auto UserFocus # | |
Defined in Clay.Dynamic | |
| Auto PointerEvents # | |
Defined in Clay.Display Methods auto :: PointerEvents # | |
| Auto Clip # | |
Defined in Clay.Display | |
| Auto Visibility # | |
Defined in Clay.Display Methods auto :: Visibility # | |
| Auto Overflow # | |
Defined in Clay.Display | |
| Auto Stroke # | |
Defined in Clay.Border | |
| Auto BackgroundSize # | |
Defined in Clay.Background Methods auto :: BackgroundSize # | |
| 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) # | |
Minimal complete definition
Instances
| Baseline Value # | |
Defined in Clay.Common | |
| Baseline AlignSelfValue # | |
Defined in Clay.Flexbox Methods | |
| Baseline AlignItemsValue # | |
Defined in Clay.Flexbox Methods | |
Minimal complete definition
Instances
| Center Value # | |
Defined in Clay.Common | |
| Center JustifyContentValue # | |
Defined in Clay.Flexbox Methods | |
| Center AlignSelfValue # | |
Defined in Clay.Flexbox Methods | |
| Center AlignItemsValue # | |
Defined in Clay.Flexbox Methods | |
| Center AlignContentValue # | |
Defined in Clay.Flexbox Methods | |
| Center TextAlign # | |
Minimal complete definition
Instances
Minimal complete definition
Instances
Minimal complete definition
Instances
| Normal Value # | |
Defined in Clay.Common | |
| Normal FontWeight # | |
Defined in Clay.Font Methods normal :: FontWeight # | |
| Normal FontVariant # | |
Defined in Clay.Font Methods normal :: FontVariant # | |
| Normal FontStyle # | |
| Normal UserFocus # | |
Defined in Clay.Dynamic | |
| Normal Content # | |
| Normal OverflowWrap # | |
Defined in Clay.Text Methods normal :: OverflowWrap # | |
| Normal WordBreak # | |
| Normal WhiteSpace # | |
Defined in Clay.Text Methods normal :: WhiteSpace # | |
| Normal TextAlign # | |
| Normal TextDirection # | |
Defined in Clay.Text Methods normal :: TextDirection # | |
| Normal Time # | |
| Normal IterationCount # | |
Defined in Clay.Animation Methods | |
| Normal AnimationDirection # | |
Defined in Clay.Animation Methods | |
| Normal (Size a) # | |
Minimal complete definition
Instances
| Visible Value # | |
Defined in Clay.Common | |
| Visible PointerEvents # | |
Defined in Clay.Display Methods | |
| Visible Visibility # | |
Defined in Clay.Display Methods visible :: Visibility # | |
| Visible Overflow # | |
Defined in Clay.Display | |
Minimal complete definition
Methods
:: a #
Instances
| Hidden Value # | |
Defined in Clay.Common | |
| Hidden Visibility # | |
Defined in Clay.Display Methods hidden :: Visibility # | |
| Hidden Overflow # | |
Defined in Clay.Display | |
Minimal complete definition
Instances
| Initial Value # | |
Defined in Clay.Common | |
| Initial ListStyleImage # | |
Defined in Clay.List Methods | |
| Initial ListStylePosition # | |
Defined in Clay.List Methods | |
| Initial ListStyleType # | |
Defined in Clay.List Methods | |
| Initial Content # | |
| Initial TextOverflow # | |
Defined in Clay.Text Methods initial :: TextOverflow # | |
| Initial OverflowWrap # | |
Defined in Clay.Text Methods initial :: OverflowWrap # | |
| Initial WordBreak # | |
| Initial TextIndent # | |
Defined in Clay.Text Methods initial :: TextIndent # | |
| Initial AnimationName # | |
Defined in Clay.Animation Methods | |
Minimal complete definition
Instances
| Unset Value # | |
Defined in Clay.Common | |
| Unset OverflowWrap # | |
Defined in Clay.Text Methods unset :: OverflowWrap # | |
| Unset WordBreak # | |
| Unset TextIndent # | |
Defined in Clay.Text Methods unset :: TextIndent # | |
| Unset AnimationName # | |
Defined in Clay.Animation Methods unset :: AnimationName # | |
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.
Minimal complete definition
Instances
baselineValue :: Value #
centerValue :: Value #
inheritValue :: Value #
normalValue :: Value #
visibleValue :: Value #
initialValue :: Value #
unsetValue :: Value #
Common list browser prefixes to make experimental properties work in different browsers.
decimalRound :: RealFrac a => a -> Int -> a #