Maintainer | Ertugrul Soeylemez <es@ertes.de> |
---|---|
Safe Haskell | None |
- border :: (ColourOps f, Real a, ToPropValue (f b)) => BorderWidth a -> BorderStyle -> f b -> SetProp
- borderColor :: (ColourOps f, ToPropValue (f a)) => Edge (f a) -> SetProp
- borderStyle :: Edge BorderStyle -> SetProp
- borderWidth :: Real a => Edge (BorderWidth a) -> SetProp
- lineHeight :: Real a => Maybe (FactorLen Length a) -> SetProp
- verticalAlign :: Real a => VerticalAlign a -> SetProp
- margin :: Real a => Edge (AutoLen (FactorLen Length) a) -> SetProp
- padding :: Real a => Edge (FactorLen Length a) -> SetProp
- pageMargins :: (MonadWriter CSS m, Real a) => PageSelector -> Edge (AutoLen (FactorLen Length) a) -> ReaderT (Set MediaType) m ()
- pageBreakBefore :: Maybe (PageBreak a) -> SetProp
- pageBreakAfter :: Maybe (PageBreak a) -> SetProp
- pageBreakInside :: Maybe (PageBreak InsideBreak) -> SetProp
- edgePos :: Real a => Edge (AutoLen (FactorLen Length) a) -> SetProp
- position :: PositionMode -> SetProp
- zIndex :: Integral a => Maybe a -> SetProp
- clear :: [FloatEdge] -> SetProp
- float :: Maybe FloatEdge -> SetProp
- height :: Real a => AutoLen (FactorLen Length) a -> SetProp
- minHeight :: Real a => FactorLen Length a -> SetProp
- maxHeight :: Real a => Maybe (FactorLen Length a) -> SetProp
- width :: Real a => AutoLen (FactorLen Length) a -> SetProp
- minWidth :: Real a => FactorLen Length a -> SetProp
- maxWidth :: Real a => Maybe (FactorLen Length a) -> SetProp
- borderCollapse :: Bool -> SetProp
- borderSpacing :: Real a => [Length a] -> SetProp
- captionSide :: CaptionSide -> SetProp
- emptyCells :: Bool -> SetProp
- tableLayout :: TableLayout -> SetProp
- clip :: Real a => Maybe (ClipMode a) -> SetProp
- display :: DisplayMode -> SetProp
- overflow :: OverflowMode -> SetProp
- visibility :: VisibilityMode -> SetProp
Borders
:: (ColourOps f, Real a, ToPropValue (f b)) | |
=> BorderWidth a | Border width. |
-> BorderStyle | Border style. |
-> f b | Border color. |
-> SetProp |
Set all border
properties for all edges.
borderColor :: (ColourOps f, ToPropValue (f a)) => Edge (f a) -> SetPropSource
Set the border color for the given edges (border*-color
).
borderStyle :: Edge BorderStyle -> SetPropSource
Set the border style for the given edges (border*-style
).
borderWidth :: Real a => Edge (BorderWidth a) -> SetPropSource
Set the border width for the given edges (border*-width
).
Inline layout
lineHeight :: Real a => Maybe (FactorLen Length a) -> SetPropSource
Set the line-height
to the given length or normal
.
verticalAlign :: Real a => VerticalAlign a -> SetPropSource
Set the vertical-align
mode.
Margin and padding
margin :: Real a => Edge (AutoLen (FactorLen Length) a) -> SetPropSource
Set the margin for the given edges (margin*
).
padding :: Real a => Edge (FactorLen Length a) -> SetPropSource
Set the padding for the given edges (padding*
).
Paged media
:: (MonadWriter CSS m, Real a) | |
=> PageSelector | Optional selector below |
-> Edge (AutoLen (FactorLen Length) a) | Margins. |
-> ReaderT (Set MediaType) m () |
Specify the page margins for paged media.
pageBreakBefore :: Maybe (PageBreak a) -> SetPropSource
Set page breaking behaviour before the element
(page-break-before
) to the given value or auto
.
pageBreakAfter :: Maybe (PageBreak a) -> SetPropSource
Set page breaking behaviour after the element (page-break-after
)
to the given value or auto
.
pageBreakInside :: Maybe (PageBreak InsideBreak) -> SetPropSource
Set page breaking behaviour inside the element
(page-break-inside
) to the given value or auto
.
Position
edgePos :: Real a => Edge (AutoLen (FactorLen Length) a) -> SetPropSource
Set edge positions (top
, right
, bottom
, left
).
position :: PositionMode -> SetPropSource
Set the position
mode.
Float
Size
Height
Width
Tables
borderCollapse :: Bool -> SetPropSource
Collapse borders for tables (border-collapse
)?
borderSpacing :: Real a => [Length a] -> SetPropSource
Set the table's border-spacing
(up to two values).
captionSide :: CaptionSide -> SetPropSource
Set the caption-side
.
emptyCells :: Bool -> SetPropSource
Show empty-cells
?
tableLayout :: TableLayout -> SetPropSource
Set the table-layout
.
Visibility
display :: DisplayMode -> SetPropSource
Set the display
mode.
overflow :: OverflowMode -> SetPropSource
Set the overflow
handling mode.
visibility :: VisibilityMode -> SetPropSource
Set the visibility
mode.