Safe Haskell | None |
---|---|
Language | Haskell98 |
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
- 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 Value Source # | |
Defined in Clay.Common | |
Auto Color Source # | |
Defined in Clay.Color | |
Auto FontSize Source # | |
Auto AlignSelfValue Source # | |
Defined in Clay.Flexbox Methods | |
Auto UserFocus Source # | |
Defined in Clay.Dynamic | |
Auto PointerEvents Source # | |
Defined in Clay.Display Methods auto :: PointerEvents Source # | |
Auto Clip Source # | |
Defined in Clay.Display | |
Auto Visibility Source # | |
Defined in Clay.Display Methods auto :: Visibility Source # | |
Auto Overflow Source # | |
Defined in Clay.Display | |
Auto Stroke Source # | |
Defined in Clay.Border | |
Auto BackgroundSize Source # | |
Defined in Clay.Background Methods | |
Auto TextRendering Source # | |
Defined in Clay.Text Methods auto :: TextRendering Source # | |
Auto Time Source # | |
Auto TimingFunction Source # | |
Defined in Clay.Transition Methods | |
Auto (Angle a) Source # | |
Auto (Size a) Source # | |
class Baseline a where Source #
Instances
Baseline Value Source # | |
Defined in Clay.Common | |
Baseline AlignSelfValue Source # | |
Defined in Clay.Flexbox Methods | |
Baseline AlignItemsValue Source # | |
Defined in Clay.Flexbox Methods |
Instances
Center Value Source # | |
Defined in Clay.Common | |
Center JustifyContentValue Source # | |
Defined in Clay.Flexbox Methods | |
Center AlignSelfValue Source # | |
Defined in Clay.Flexbox Methods | |
Center AlignItemsValue Source # | |
Defined in Clay.Flexbox Methods | |
Center AlignContentValue Source # | |
Defined in Clay.Flexbox Methods | |
Center TextAlign Source # | |
class Inherit a where Source #
Instances
Instances
Instances
Normal Value Source # | |
Defined in Clay.Common | |
Normal FontWeight Source # | |
Defined in Clay.Font Methods normal :: FontWeight Source # | |
Normal FontVariant Source # | |
Defined in Clay.Font Methods normal :: FontVariant Source # | |
Normal FontStyle Source # | |
Normal UserFocus Source # | |
Defined in Clay.Dynamic | |
Normal Content Source # | |
Normal OverflowWrap Source # | |
Defined in Clay.Text Methods | |
Normal WordBreak Source # | |
Normal WhiteSpace Source # | |
Defined in Clay.Text Methods normal :: WhiteSpace Source # | |
Normal TextAlign Source # | |
Normal TextDirection Source # | |
Defined in Clay.Text Methods | |
Normal Time Source # | |
Normal IterationCount Source # | |
Defined in Clay.Animation Methods | |
Normal AnimationDirection Source # | |
Defined in Clay.Animation Methods | |
Normal (Size a) Source # | |
class Visible a where Source #
Instances
Visible Value Source # | |
Defined in Clay.Common | |
Visible PointerEvents Source # | |
Defined in Clay.Display Methods | |
Visible Visibility Source # | |
Defined in Clay.Display Methods visible :: Visibility Source # | |
Visible Overflow Source # | |
Defined in Clay.Display |
class Initial a where Source #
Instances
Initial Value Source # | |
Defined in Clay.Common | |
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 Content Source # | |
Initial TextOverflow Source # | |
Defined in Clay.Text Methods | |
Initial OverflowWrap Source # | |
Defined in Clay.Text Methods | |
Initial WordBreak Source # | |
Initial TextIndent Source # | |
Defined in Clay.Text Methods initial :: TextIndent Source # | |
Initial AnimationName Source # | |
Defined in Clay.Animation Methods |
Instances
Unset Value Source # | |
Defined in Clay.Common | |
Unset OverflowWrap Source # | |
Defined in Clay.Text Methods unset :: OverflowWrap Source # | |
Unset WordBreak Source # | |
Unset TextIndent Source # | |
Defined in Clay.Text Methods unset :: TextIndent Source # | |
Unset AnimationName Source # | |
Defined in Clay.Animation 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 #
Common list browser prefixes to make experimental properties work in different browsers.
decimalRound :: RealFrac a => a -> Int -> a Source #