clay-0.13.2: CSS preprocessor as embedded Haskell.

Safe HaskellNone
LanguageHaskell98

Clay.Background

Contents

Synopsis

Generic background property.

class Val a => Background a where Source #

We implement the generic background property as a type class that accepts multiple value types. This allows us to combine different background aspects into a shorthand syntax.

Minimal complete definition

Nothing

Methods

background :: a -> Css Source #

Instances
Background Color Source # 
Instance details

Defined in Clay.Background

Methods

background :: Color -> Css Source #

Background BackgroundAttachment Source # 
Instance details

Defined in Clay.Background

Background BackgroundClip Source # 
Instance details

Defined in Clay.Background

Background BackgroundOrigin Source # 
Instance details

Defined in Clay.Background

Background BackgroundImage Source # 
Instance details

Defined in Clay.Background

Background BackgroundRepeat Source # 
Instance details

Defined in Clay.Background

Background BackgroundSize Source # 
Instance details

Defined in Clay.Background

Background BackgroundPosition Source # 
Instance details

Defined in Clay.Background

Background a => Background [a] Source # 
Instance details

Defined in Clay.Background

Methods

background :: [a] -> Css Source #

(Background a, Background b) => Background (a, b) Source # 
Instance details

Defined in Clay.Background

Methods

background :: (a, b) -> Css Source #

The background-color.

The background-position.

The background-size.

data BackgroundSize Source #

Instances
Val BackgroundSize Source # 
Instance details

Defined in Clay.Background

Other BackgroundSize Source # 
Instance details

Defined in Clay.Background

Inherit BackgroundSize Source # 
Instance details

Defined in Clay.Background

Auto BackgroundSize Source # 
Instance details

Defined in Clay.Background

Background BackgroundSize Source # 
Instance details

Defined in Clay.Background

Mask BackgroundSize Source # 
Instance details

Defined in Clay.Mask

The background-repeat.

data BackgroundRepeat Source #

Instances
Val BackgroundRepeat Source # 
Instance details

Defined in Clay.Background

Other BackgroundRepeat Source # 
Instance details

Defined in Clay.Background

None BackgroundRepeat Source # 
Instance details

Defined in Clay.Background

Inherit BackgroundRepeat Source # 
Instance details

Defined in Clay.Background

Background BackgroundRepeat Source # 
Instance details

Defined in Clay.Background

Mask BackgroundRepeat Source # 
Instance details

Defined in Clay.Mask

The background-origin.

data BackgroundOrigin Source #

Instances
Val BackgroundOrigin Source # 
Instance details

Defined in Clay.Background

Other BackgroundOrigin Source # 
Instance details

Defined in Clay.Background

Inherit BackgroundOrigin Source # 
Instance details

Defined in Clay.Background

Background BackgroundOrigin Source # 
Instance details

Defined in Clay.Background

Mask BackgroundOrigin Source # 
Instance details

Defined in Clay.Mask

The background-clip.

data BackgroundClip Source #

Instances
Val BackgroundClip Source # 
Instance details

Defined in Clay.Background

Other BackgroundClip Source # 
Instance details

Defined in Clay.Background

Inherit BackgroundClip Source # 
Instance details

Defined in Clay.Background

Background BackgroundClip Source # 
Instance details

Defined in Clay.Background

Mask BackgroundClip Source # 
Instance details

Defined in Clay.Mask

The background-attachment.

The background-image.

data BackgroundImage Source #

Instances
Val BackgroundImage Source # 
Instance details

Defined in Clay.Background

Other BackgroundImage Source # 
Instance details

Defined in Clay.Background

None BackgroundImage Source # 
Instance details

Defined in Clay.Background

Inherit BackgroundImage Source # 
Instance details

Defined in Clay.Background

Background BackgroundImage Source # 
Instance details

Defined in Clay.Background

Mask BackgroundImage Source # 
Instance details

Defined in Clay.Mask

Specifying sides.

data Side Source #

Instances
Val Side Source # 
Instance details

Defined in Clay.Background

Methods

value :: Side -> Value Source #

Other Side Source # 
Instance details

Defined in Clay.Background

Methods

other :: Value -> Side Source #

Inherit Side Source # 
Instance details

Defined in Clay.Background

Methods

inherit :: Side Source #

Loc Side Source # 
Instance details

Defined in Clay.Background

sideTop :: Side Source #

We have to prefix these values to avoid conflict with existing property names.

sideLeft :: Side Source #

We have to prefix these values to avoid conflict with existing property names.

sideRight :: Side Source #

We have to prefix these values to avoid conflict with existing property names.

sideBottom :: Side Source #

We have to prefix these values to avoid conflict with existing property names.

sideCenter :: Side Source #

We have to prefix these values to avoid conflict with existing property names.

sideMiddle :: Side Source #

We have to prefix these values to avoid conflict with existing property names.

Specifying directions and location.

data Direction Source #

Instances
Val Direction Source # 
Instance details

Defined in Clay.Background

Other Direction Source # 
Instance details

Defined in Clay.Background

data Location Source #

Instances
Val Location Source # 
Instance details

Defined in Clay.Background

Methods

value :: Location -> Value Source #

Other Location Source # 
Instance details

Defined in Clay.Background

Methods

other :: Value -> Location Source #

class Val a => Loc a Source #

Instances
Loc Side Source # 
Instance details

Defined in Clay.Background

Loc (Size a) Source # 
Instance details

Defined in Clay.Background

Methods

location :: Size a -> Location Source #

(Loc a, Loc b) => Loc (a, b) Source # 
Instance details

Defined in Clay.Background

Methods

location :: (a, b) -> Location Source #

class Val a Source #

Minimal complete definition

value

Instances
Val Double Source # 
Instance details

Defined in Clay.Property

Methods

value :: Double -> Value Source #

Val Integer Source # 
Instance details

Defined in Clay.Property

Methods

value :: Integer -> Value Source #

Val Text Source # 
Instance details

Defined in Clay.Property

Methods

value :: Text -> Value Source #

Val Literal Source # 
Instance details

Defined in Clay.Property

Methods

value :: Literal -> Value Source #

Val Value Source # 
Instance details

Defined in Clay.Property

Methods

value :: Value -> Value Source #

Val Color Source # 
Instance details

Defined in Clay.Color

Methods

value :: Color -> Value Source #

Val MediaType Source # 
Instance details

Defined in Clay.Stylesheet

Val Resolution Source # 
Instance details

Defined in Clay.Media

Val ListStyleImage Source # 
Instance details

Defined in Clay.List

Val ListStylePosition Source # 
Instance details

Defined in Clay.List

Val ListStyleType Source # 
Instance details

Defined in Clay.List

Val FontFaceSrc Source # 
Instance details

Defined in Clay.FontFace

Val NamedFont Source # 
Instance details

Defined in Clay.Font

Val FontWeight Source # 
Instance details

Defined in Clay.Font

Val FontVariant Source # 
Instance details

Defined in Clay.Font

Val FontStyle Source # 
Instance details

Defined in Clay.Font

Val FontSize Source # 
Instance details

Defined in Clay.Font

Methods

value :: FontSize -> Value Source #

Val Optional Source # 
Instance details

Defined in Clay.Font

Methods

value :: Optional -> Value Source #

Val JustifyContentValue Source # 
Instance details

Defined in Clay.Flexbox

Val FlexWrap Source # 
Instance details

Defined in Clay.Flexbox

Methods

value :: FlexWrap -> Value Source #

Val FlexDirection Source # 
Instance details

Defined in Clay.Flexbox

Val AlignSelfValue Source # 
Instance details

Defined in Clay.Flexbox

Val AlignItemsValue Source # 
Instance details

Defined in Clay.Flexbox

Val AlignContentValue Source # 
Instance details

Defined in Clay.Flexbox

Val Filter Source # 
Instance details

Defined in Clay.Filter

Methods

value :: Filter -> Value Source #

Val UserFocus Source # 
Instance details

Defined in Clay.Dynamic

Val UserSelect Source # 
Instance details

Defined in Clay.Dynamic

Val UserModify Source # 
Instance details

Defined in Clay.Dynamic

Val UserInput Source # 
Instance details

Defined in Clay.Dynamic

Val PointerEvents Source # 
Instance details

Defined in Clay.Display

Val Clip Source # 
Instance details

Defined in Clay.Display

Methods

value :: Clip -> Value Source #

Val Visibility Source # 
Instance details

Defined in Clay.Display

Val Overflow Source # 
Instance details

Defined in Clay.Display

Methods

value :: Overflow -> Value Source #

Val Display Source # 
Instance details

Defined in Clay.Display

Methods

value :: Display -> Value Source #

Val Position Source # 
Instance details

Defined in Clay.Display

Methods

value :: Position -> Value Source #

Val Clear Source # 
Instance details

Defined in Clay.Display

Methods

value :: Clear -> Value Source #

Val FloatStyle Source # 
Instance details

Defined in Clay.Display

Val Stroke Source # 
Instance details

Defined in Clay.Border

Methods

value :: Stroke -> Value Source #

Val BoxType Source # 
Instance details

Defined in Clay.Box

Methods

value :: BoxType -> Value Source #

Val Location Source # 
Instance details

Defined in Clay.Background

Methods

value :: Location -> Value Source #

Val Direction Source # 
Instance details

Defined in Clay.Background

Val Side Source # 
Instance details

Defined in Clay.Background

Methods

value :: Side -> Value Source #

Val BackgroundAttachment Source # 
Instance details

Defined in Clay.Background

Val BackgroundClip Source # 
Instance details

Defined in Clay.Background

Val BackgroundOrigin Source # 
Instance details

Defined in Clay.Background

Val BackgroundImage Source # 
Instance details

Defined in Clay.Background

Val BackgroundRepeat Source # 
Instance details

Defined in Clay.Background

Val BackgroundSize Source # 
Instance details

Defined in Clay.Background

Val BackgroundPosition Source # 
Instance details

Defined in Clay.Background

Val MaskComposite Source # 
Instance details

Defined in Clay.Mask

Val Extend Source # 
Instance details

Defined in Clay.Gradient

Methods

value :: Extend -> Value Source #

Val Radial Source # 
Instance details

Defined in Clay.Gradient

Methods

value :: Radial -> Value Source #

Val Content Source # 
Instance details

Defined in Clay.Text

Methods

value :: Content -> Value Source #

Val TextOverflow Source # 
Instance details

Defined in Clay.Text

Val OverflowWrap Source # 
Instance details

Defined in Clay.Text

Val WordBreak Source # 
Instance details

Defined in Clay.Text

Val TextTransform Source # 
Instance details

Defined in Clay.Text

Val TextDecoration Source # 
Instance details

Defined in Clay.Text

Val WhiteSpace Source # 
Instance details

Defined in Clay.Text

Val TextAlign Source # 
Instance details

Defined in Clay.Text

Val TextDirection Source # 
Instance details

Defined in Clay.Text

Val TextIndent Source # 
Instance details

Defined in Clay.Text

Val TextRendering Source # 
Instance details

Defined in Clay.Text

Val Time Source # 
Instance details

Defined in Clay.Time

Methods

value :: Time -> Value Source #

Val Transformation Source # 
Instance details

Defined in Clay.Transform

Val TimingFunction Source # 
Instance details

Defined in Clay.Transition

Val FillMode Source # 
Instance details

Defined in Clay.Animation

Methods

value :: FillMode -> Value Source #

Val PlayState Source # 
Instance details

Defined in Clay.Animation

Val AnimationName Source # 
Instance details

Defined in Clay.Animation

Val IterationCount Source # 
Instance details

Defined in Clay.Animation

Val AnimationDirection Source # 
Instance details

Defined in Clay.Animation

Val a => Val [a] Source # 
Instance details

Defined in Clay.Property

Methods

value :: [a] -> Value Source #

Val a => Val (Maybe a) Source # 
Instance details

Defined in Clay.Property

Methods

value :: Maybe a -> Value Source #

Val a => Val (NonEmpty a) Source # 
Instance details

Defined in Clay.Property

Methods

value :: NonEmpty a -> Value Source #

Val (Angle a) Source # 
Instance details

Defined in Clay.Size

Methods

value :: Angle a -> Value Source #

Val (Size a) Source # 
Instance details

Defined in Clay.Size

Methods

value :: Size a -> Value Source #

Val (Required a) Source # 
Instance details

Defined in Clay.Font

Methods

value :: Required a -> Value Source #

(Val a, Val b) => Val (Either a b) Source # 
Instance details

Defined in Clay.Property

Methods

value :: Either a b -> Value Source #

(Val a, Val b) => Val (a, b) Source # 
Instance details

Defined in Clay.Property

Methods

value :: (a, b) -> Value Source #