module Data.Niagra.Properties.Border
(
border,
borderRight,
borderLeft,
borderTop,
borderBottom,
borderColor,
borderRightColor,
borderLeftColor,
borderTopColor,
borderBottomColor,
borderStyle,
borderRightStyle,
borderLeftStyle,
borderTopStyle,
borderBottomStyle,
borderWidth,
borderRightWidth,
borderLeftWidth,
borderTopWidth,
borderBottomWidth,
borderRadius,
borderBottomLeftRadius,
borderBottomRightRadius,
borderTopLeftRadius,
borderTopRightRadius
)
where
import Data.Niagra.Monad
import Data.Niagra.DSL
import Data.Niagra.Value
import Data.Niagra.Builder
border :: (Monad m, Value v) => v -> NiagraT m ()
border = declaration "border" . build
borderColor :: (Monad m, Value v) => v -> NiagraT m ()
borderColor = declaration "border-color" . build
borderStyle :: (Monad m, Value v) => v -> NiagraT m ()
borderStyle = declaration "border-style" . build
borderWidth :: (Monad m, Value v) => v -> NiagraT m ()
borderWidth = declaration "border-width" . build
borderRight :: (Monad m, Value v) => v -> NiagraT m ()
borderRight = declaration "border-right" . build
borderRightColor :: (Monad m) => Builder -> NiagraT m ()
borderRightColor = declaration "border-right-color"
borderRightStyle :: (Monad m) => Builder -> NiagraT m ()
borderRightStyle = declaration "border-right-style"
borderRightWidth :: (Monad m) => Builder -> NiagraT m ()
borderRightWidth = declaration "border-right-width"
borderLeft :: (Monad m, Value v) => v -> NiagraT m ()
borderLeft = declaration "border-left" . build
borderLeftColor :: (Monad m) => Builder -> NiagraT m ()
borderLeftColor = declaration "border-left-color"
borderLeftStyle :: (Monad m) => Builder -> NiagraT m ()
borderLeftStyle = declaration "border-left-style"
borderLeftWidth :: (Monad m) => Builder -> NiagraT m ()
borderLeftWidth = declaration "border-left-width"
borderTop :: (Monad m, Value v) => v -> NiagraT m ()
borderTop = declaration "border-top" . build
borderTopColor :: (Monad m) => Builder -> NiagraT m ()
borderTopColor = declaration "border-top-color"
borderTopStyle :: (Monad m) => Builder -> NiagraT m ()
borderTopStyle = declaration "border-top-style"
borderTopWidth :: (Monad m) => Builder -> NiagraT m ()
borderTopWidth = declaration "border-top-width"
borderBottom :: (Monad m, Value v) => v -> NiagraT m ()
borderBottom = declaration "border-bottom" . build
borderBottomColor :: (Monad m) => Builder -> NiagraT m ()
borderBottomColor = declaration "border-bottom-color"
borderBottomStyle :: (Monad m) => Builder -> NiagraT m ()
borderBottomStyle = declaration "border-bottom-style"
borderBottomWidth :: (Monad m) => Builder -> NiagraT m ()
borderBottomWidth = declaration "border-bottom-width"
borderRadius :: (Monad m, Value v) => v -> NiagraT m ()
borderRadius = declaration "border-radius" . build
borderBottomLeftRadius :: (Monad m) => Builder -> NiagraT m ()
borderBottomLeftRadius = declaration "border-bottom-left-radius"
borderBottomRightRadius :: (Monad m) => Builder -> NiagraT m ()
borderBottomRightRadius = declaration "border-bottom-right-radius"
borderTopLeftRadius :: (Monad m) => Builder -> NiagraT m ()
borderTopLeftRadius = declaration "border-top-left-radius"
borderTopRightRadius :: (Monad m) => Builder -> NiagraT m ()
borderTopRightRadius = declaration "border-top-right-radius"