cascading-0.1.0: DSL for HTML CSS (Cascading Style Sheets)

MaintainerErtugrul Soeylemez <es@ertes.de>
Safe HaskellNone

Data.CSS.Properties.Text

Contents

Description

 

Synopsis

Alignment and spacing

letterSpacing :: Real a => Maybe (Length a) -> SetPropSource

Set the letter-spacing to the specified value or normal.

textAlign :: TextAlign -> SetPropSource

Set text-align.

textIndent :: Real a => FactorLen Length a -> SetPropSource

Set the text-indent.

whiteSpace :: TextWrapMode -> SetPropSource

Set the white space collapse and text wrapping modes (white-space).

wordSpacing :: Real a => Maybe (Length a) -> SetPropSource

Set the word-spacing to the specified value or normal.

Direction

direction :: TextDirection -> SetPropSource

Set the text direction.

unicodeBidi :: UnicodeBidiMode -> SetPropSource

Set the unicode-bidi mode.

Generated content

content :: Maybe [ContentPart (CssUrl Text)] -> SetPropSource

Set the generated content to the given list of parts or normal.

contentUrl :: MonadRoute m => Maybe [ContentPart (URL m)] -> SetPropM mSource

Set the generated content to the given list of parts or normal.

counterIncrement :: Integral a => [(ByteString, a)] -> SetPropSource

Increment the given counters by the given value (counter-increment).

counterReset :: Integral a => [(ByteString, a)] -> SetPropSource

Reset the given counters to the given value (counter-reset).

quotes :: [(CssString Text, CssString Text)] -> SetPropSource

Set the quotes pairs (none if empty).

List formatting

listStyle :: ListStyle -> ListPosition -> Maybe (CssUrl Text) -> SetPropSource

Set all list-style properties.

listStyleImage :: Maybe (CssUrl Text) -> SetPropSource

Set the list-style-image.

listStyleImageUrl :: MonadRoute m => Maybe (URL m) -> SetPropM mSource

Set the list-style-image.

listStylePosition :: ListPosition -> SetPropSource

Set the list-style-position.

listStyleType :: ListStyle -> SetPropSource

Set the list-style-type.

listStyleUrl :: MonadRoute m => ListStyle -> ListPosition -> Maybe (URL m) -> SetPropM mSource

Set all list-style properties.

Paged media

orphans :: Integral a => a -> SetPropSource

Set the orphans threshold (minimum number of lines at the bottom of a page).

widows :: Integral a => a -> SetPropSource

Set the widows threshold (minimum number of lines at the top of a page).

Transformation

textTransform :: Maybe TextTransform -> SetPropSource

Set the text-transform.