Safe Haskell | None |
---|
styling shortcuts
- data Dir
- top :: Dir
- bottom :: Dir
- left :: Dir
- right :: Dir
- hor :: [Dir]
- ver :: [Dir]
- sides :: [Dir]
- lfloat :: [Decl]
- rfloat :: [Decl]
- rclear :: [Decl]
- lclear :: [Decl]
- bclear :: [Decl]
- type BorderStyle = Expr
- type BorderWidth = Expr
- type BorderColor = Expr
- border :: [Dir] -> BorderStyle -> BorderWidth -> BorderColor -> [Decl]
- borderNone :: [Dir] -> [Decl]
- margin :: [Dir] -> Expr -> [Decl]
- padding :: [Dir] -> Expr -> [Decl]
- width :: Expr -> [Decl]
- height :: Expr -> [Decl]
- bkgColor :: Expr -> [Decl]
- brick :: Expr -> Expr -> [Decl]
- pict :: String -> [Decl]
- color :: Expr -> [Decl]
- data Box
- box :: [Decl] -> Box
- ibox :: [Decl] -> Box
- static :: Box -> Css a -> Css a
- rollOver :: Box -> Box -> Css a -> Css a
- onMouse :: Box -> Box -> Box -> Box -> Css a -> Css a
directions
direction constructors
floating
Box model
border
type BorderStyle = ExprSource
type BorderWidth = ExprSource
type BorderColor = ExprSource
border :: [Dir] -> BorderStyle -> BorderWidth -> BorderColor -> [Decl]Source
sets border
properties
borderNone :: [Dir] -> [Decl]Source
sets border
property to none and assigns border-width
to zero