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