Clay.Display

clay-0.15.0: CSS preprocessor as embedded Haskell.

Safe Haskell | None
Language | Haskell2010

Clay.Display

Contents

- Float.
- Position.
- Display
- Overlow
- Visibility.
- Opacity.
- Z-index.
- Pointer-events.
- Vertical align.
- Cursor

Synopsis

- float :: FloatStyle -> Css
- data FloatStyle
- floatLeft :: FloatStyle
- floatRight :: FloatStyle
- clear :: Clear -> Css
- data Clear
- both :: Clear
- clearLeft :: Clear
- clearRight :: Clear
- data Position
- position :: Position -> Css
- static :: Position
- absolute :: Position
- fixed :: Position
- relative :: Position
- sticky :: Position
- data Display
- display :: Display -> Css
- inline :: Display
- block :: Display
- listItem :: Display
- runIn :: Display
- inlineBlock :: Display
- table :: Display
- displayTable :: Display
- inlineTable :: Display
- tableRowGroup :: Display
- tableHeaderGroup :: Display
- tableFooterGroup :: Display
- tableRow :: Display
- tableColumnGroup :: Display
- tableColumn :: Display
- tableCell :: Display
- tableCaption :: Display
- displayNone :: Display
- displayInherit :: Display
- flex :: Display
- inlineFlex :: Display
- grid :: Display
- inlineGrid :: Display
- data Overflow
- scroll :: Overflow
- overflow :: Overflow -> Css
- overflowX :: Overflow -> Css
- overflowY :: Overflow -> Css
- data Visibility
- collapse :: Visibility
- separate :: Visibility
- visibility :: Visibility -> Css
- data Clip
- clip :: Clip -> Css
- rect :: Size a -> Size a -> Size a -> Size a -> Clip
- opacity :: Number -> Css
- zIndex :: Integer -> Css
- data PointerEvents
- pointerEvents :: PointerEvents -> Css
- visiblePainted :: PointerEvents
- visibleFill :: PointerEvents
- visibleStroke :: PointerEvents
- painted :: PointerEvents
- fillEvents :: PointerEvents
- strokeEvents :: PointerEvents
- allEvents :: PointerEvents
- class Val a => VerticalAlign a where
  - verticalAlign :: a -> Css
- middle :: VerticalAlignValue
- vAlignSub :: VerticalAlignValue
- vAlignSuper :: VerticalAlignValue
- textTop :: VerticalAlignValue
- textBottom :: VerticalAlignValue
- vAlignTop :: VerticalAlignValue
- vAlignBottom :: VerticalAlignValue
- vAlignBaseline :: VerticalAlignValue
- class Val a => Cursor a where
  - cursor :: a -> Css
- cursorUrl :: Text -> CursorValue Value
- cursorDefault :: CursorValue Value
- contextMenu :: CursorValue Value
- help :: CursorValue Value
- pointer :: CursorValue Value
- cursorProgress :: CursorValue Value
- wait :: CursorValue Value
- cell :: CursorValue Value
- crosshair :: CursorValue Value
- cursorText :: CursorValue Value
- vText :: CursorValue Value
- alias :: CursorValue Value
- cursorCopy :: CursorValue Value
- move :: CursorValue Value
- noDrop :: CursorValue Value
- notAllowed :: CursorValue Value
- grab :: CursorValue Value
- grabbing :: CursorValue Value
- allScroll :: CursorValue Value
- colResize :: CursorValue Value
- rowResize :: CursorValue Value
- nResize :: CursorValue Value
- eResize :: CursorValue Value
- sResize :: CursorValue Value
- wResize :: CursorValue Value
- neResize :: CursorValue Value
- nwResize :: CursorValue Value
- seResize :: CursorValue Value
- swResize :: CursorValue Value
- ewResize :: CursorValue Value
- nsResize :: CursorValue Value
- neswResize :: CursorValue Value
- nwseResize :: CursorValue Value
- zoomIn :: CursorValue Value
- zoomOut :: CursorValue Value

# Float.

float :: FloatStyle -> Css #

data FloatStyle #

#### Instances

Instances details

Inherit FloatStyle # |
Instance details Defined in Clay.Display Methods inherit :: FloatStyle #
None FloatStyle # |
Instance details Defined in Clay.Display Methods none :: FloatStyle #
Val FloatStyle # |
Instance details Defined in Clay.Display Methods value :: FloatStyle -> Value #

floatLeft :: FloatStyle #

floatRight :: FloatStyle #

clear :: Clear -> Css #

data Clear #

#### Instances

Instances details

Inherit Clear # |
Instance details Defined in Clay.Display Methods inherit :: Clear #
None Clear # |
Instance details Defined in Clay.Display Methods none :: Clear #
Other Clear # |
Instance details Defined in Clay.Display Methods other :: Value -> Clear #
Val Clear # |
Instance details Defined in Clay.Display Methods value :: Clear -> Value #

both :: Clear #

clearLeft :: Clear #

clearRight :: Clear #

# Position.

data Position #

#### Instances

Instances details

Inherit Position # |
Instance details Defined in Clay.Display Methods inherit :: Position #
Other Position # |
Instance details Defined in Clay.Display Methods other :: Value -> Position #
Val Position # |
Instance details Defined in Clay.Display Methods value :: Position -> Value #

position :: Position -> Css #

static :: Position #

absolute :: Position #

fixed :: Position #

relative :: Position #

sticky :: Position #

# Display

data Display #

#### Instances

Instances details

Inherit Display # |
Instance details Defined in Clay.Display Methods inherit :: Display #
None Display # |
Instance details Defined in Clay.Display Methods none :: Display #
Other Display # |
Instance details Defined in Clay.Display Methods other :: Value -> Display #
Val Display # |
Instance details Defined in Clay.Display Methods value :: Display -> Value #

display :: Display -> Css #

inline :: Display #

block :: Display #

listItem :: Display #

runIn :: Display #

inlineBlock :: Display #

table :: Display #

Deprecated: Use `displayTable` instead.

displayTable :: Display #

inlineTable :: Display #

tableRowGroup :: Display #

tableHeaderGroup :: Display #

tableFooterGroup :: Display #

tableRow :: Display #

tableColumnGroup :: Display #

tableColumn :: Display #

tableCell :: Display #

tableCaption :: Display #

displayNone :: Display #

displayInherit :: Display #

flex :: Display #

inlineFlex :: Display #

grid :: Display #

inlineGrid :: Display #

# Overlow

data Overflow #

#### Instances

Instances details

Auto Overflow # |
Instance details Defined in Clay.Display Methods auto :: Overflow #
Hidden Overflow # |
Instance details Defined in Clay.Display Methods hidden :: Overflow #
Inherit Overflow # |
Instance details Defined in Clay.Display Methods inherit :: Overflow #
Other Overflow # |
Instance details Defined in Clay.Display Methods other :: Value -> Overflow #
Visible Overflow # |
Instance details Defined in Clay.Display Methods visible :: Overflow #
Val Overflow # |
Instance details Defined in Clay.Display Methods value :: Overflow -> Value #

scroll :: Overflow #

overflow :: Overflow -> Css #

overflowX :: Overflow -> Css #

overflowY :: Overflow -> Css #

# Visibility.

data Visibility #

#### Instances

Instances details

Hidden Visibility # |
Instance details Defined in Clay.Display Methods hidden :: Visibility #
Inherit Visibility # |
Instance details Defined in Clay.Display Methods inherit :: Visibility #
Other Visibility # |
Instance details Defined in Clay.Display Methods other :: Value -> Visibility #
Unset Visibility # |
Instance details Defined in Clay.Display Methods unset :: Visibility #
Visible Visibility # |
Instance details Defined in Clay.Display Methods visible :: Visibility #
Val Visibility # |
Instance details Defined in Clay.Display Methods value :: Visibility -> Value #

collapse :: Visibility #

separate :: Visibility #

visibility :: Visibility -> Css #

data Clip #

#### Instances

Instances details

Auto Clip # |
Instance details Defined in Clay.Display Methods auto :: Clip #
Inherit Clip # |
Instance details Defined in Clay.Display Methods inherit :: Clip #
Other Clip # |
Instance details Defined in Clay.Display Methods other :: Value -> Clip #
Val Clip # |
Instance details Defined in Clay.Display Methods value :: Clip -> Value #

clip :: Clip -> Css #

rect :: Size a -> Size a -> Size a -> Size a -> Clip #

# Opacity.

opacity :: Number -> Css #

# Z-index.

zIndex :: Integer -> Css #

# Pointer-events.

data PointerEvents #

#### Instances

Instances details

Auto PointerEvents # |
Instance details Defined in Clay.Display Methods auto :: PointerEvents #
Inherit PointerEvents # |
Instance details Defined in Clay.Display Methods inherit :: PointerEvents #
None PointerEvents # |
Instance details Defined in Clay.Display Methods none :: PointerEvents #
Other PointerEvents # |
Instance details Defined in Clay.Display Methods other :: Value -> PointerEvents #
Visible PointerEvents # |
Instance details Defined in Clay.Display Methods visible :: PointerEvents #
Val PointerEvents # |
Instance details Defined in Clay.Display Methods value :: PointerEvents -> Value #

pointerEvents :: PointerEvents -> Css #

visiblePainted :: PointerEvents #

visibleFill :: PointerEvents #

visibleStroke :: PointerEvents #

painted :: PointerEvents #

fillEvents :: PointerEvents #

strokeEvents :: PointerEvents #

allEvents :: PointerEvents #

# Vertical align.

class Val a => VerticalAlign a where #

Minimal complete definition

Nothing

Methods

verticalAlign :: a -> Css #

#### Instances

Instances details

VerticalAlign (Size a) # |
Instance details Defined in Clay.Display Methods verticalAlign :: Size a -> Css #

middle :: VerticalAlignValue #

vAlignSub :: VerticalAlignValue #

vAlignSuper :: VerticalAlignValue #

textTop :: VerticalAlignValue #

textBottom :: VerticalAlignValue #

vAlignTop :: VerticalAlignValue #

vAlignBottom :: VerticalAlignValue #

vAlignBaseline :: VerticalAlignValue #

# Cursor

class Val a => Cursor a where #

Minimal complete definition

Nothing

Methods

cursor :: a -> Css #

cursorUrl :: Text -> CursorValue Value #

cursorDefault :: CursorValue Value #

contextMenu :: CursorValue Value #

help :: CursorValue Value #

pointer :: CursorValue Value #

cursorProgress :: CursorValue Value #

wait :: CursorValue Value #

cell :: CursorValue Value #

crosshair :: CursorValue Value #

cursorText :: CursorValue Value #

vText :: CursorValue Value #

alias :: CursorValue Value #

cursorCopy :: CursorValue Value #

move :: CursorValue Value #

noDrop :: CursorValue Value #

notAllowed :: CursorValue Value #

grab :: CursorValue Value #

grabbing :: CursorValue Value #

allScroll :: CursorValue Value #

colResize :: CursorValue Value #

rowResize :: CursorValue Value #

nResize :: CursorValue Value #

eResize :: CursorValue Value #

sResize :: CursorValue Value #

wResize :: CursorValue Value #

neResize :: CursorValue Value #

nwResize :: CursorValue Value #

seResize :: CursorValue Value #

swResize :: CursorValue Value #

ewResize :: CursorValue Value #

nsResize :: CursorValue Value #

neswResize :: CursorValue Value #

nwseResize :: CursorValue Value #

zoomIn :: CursorValue Value #

zoomOut :: CursorValue Value #