Safe Haskell | None |
---|---|
Language | Haskell2010 |
Parses & desugars CSS properties to general CatTrap datastructures.
Synopsis
- data CSSBox a = CSSBox {
- display :: Display
- boxSizing :: BoxSizing
- cssBox :: PaddedBox Unitted Unitted
- font :: Pattern
- font' :: CSSFont
- inner :: a
- gridStyles :: CSSGrid
- cellStyles :: CSSCell
- inlineStyles :: CSSInline
- captionBelow :: Bool
- pageOptions :: PageOptions
- data BoxSizing
- data Display
- finalizeCSS :: PropertyParser x => Font' -> Font' -> StyleTree (CSSBox x) -> LayoutItem Length Length x
- finalizeCSS' :: PropertyParser x => Font' -> StyleTree (CSSBox x) -> LayoutItem Length Length x
Documentation
Parsed CSS properties relevant to layout.
CSSBox | |
|
Instances
PropertyParser a => PropertyParser (CSSBox a) Source # | |
Possibly values for CSS display property.
finalizeCSS :: PropertyParser x => Font' -> Font' -> StyleTree (CSSBox x) -> LayoutItem Length Length x Source #
Desugar parsed CSS into more generic layout parameters.
finalizeCSS' :: PropertyParser x => Font' -> StyleTree (CSSBox x) -> LayoutItem Length Length x Source #