module Language.CSS.Properties where
import Language.CSS.Types (CSS,Rule,Property(..))
import Control.Monad.Writer (MonadWriter,tell)
import Data.Text.Lazy (Text)
prop :: Text -> Text -> CSS (Either Property Rule)
prop name value = tell [Left $ Property name value]
msFilter :: Text -> CSS (Either Property Rule)
msFilter = prop "-mz-filter"
opacity :: Text -> CSS (Either Property Rule)
opacity = prop "opacity"
borderRadius :: Text -> CSS (Either Property Rule)
borderRadius = prop "border-radius"
textShadow :: Text -> CSS (Either Property Rule)
textShadow = prop "text-shadow"
boxShadow :: Text -> CSS (Either Property Rule)
boxShadow = prop "box-shadow"
borderTopLeftRadius :: Text -> CSS (Either Property Rule)
borderTopLeftRadius = prop "border-top-left-radius"
borderBottomLeftRadius :: Text -> CSS (Either Property Rule)
borderBottomLeftRadius = prop "border-bottom-left-radius"
borderTopRightRadius :: Text -> CSS (Either Property Rule)
borderTopRightRadius = prop "border-top-right-radius"
borderBottomRightRadius :: Text -> CSS (Either Property Rule)
borderBottomRightRadius = prop "border-bottom-right-radius"
azimuth :: Text -> CSS (Either Property Rule)
azimuth = prop "azimuth"
backgroundColor :: Text -> CSS (Either Property Rule)
backgroundColor = prop "background-color"
backgroundImage :: Text -> CSS (Either Property Rule)
backgroundImage = prop "background-image"
backgroundPosition :: Text -> CSS (Either Property Rule)
backgroundPosition = prop "background-position"
backgroundRepeat :: Text -> CSS (Either Property Rule)
backgroundRepeat = prop "background-repeat"
background :: Text -> CSS (Either Property Rule)
background = prop "background"
borderCollapse :: Text -> CSS (Either Property Rule)
borderCollapse = prop "border-collapse"
borderColor :: Text -> CSS (Either Property Rule)
borderColor = prop "border-color"
borderSpacing :: Text -> CSS (Either Property Rule)
borderSpacing = prop "border-spacing"
borderStyle :: Text -> CSS (Either Property Rule)
borderStyle = prop "border-style"
borderTop :: Text -> CSS (Either Property Rule)
borderTop = prop "border-top"
borderBottom :: Text -> CSS (Either Property Rule)
borderBottom = prop "border-bottom"
borderTopColor :: Text -> CSS (Either Property Rule)
borderTopColor = prop "border-top-color"
borderTopStyle :: Text -> CSS (Either Property Rule)
borderTopStyle = prop "border-top-style"
borderTopWidth :: Text -> CSS (Either Property Rule)
borderTopWidth = prop "border-top-width"
borderWidth :: Text -> CSS (Either Property Rule)
borderWidth = prop "border-width"
border :: Text -> CSS (Either Property Rule)
border = prop "border"
borderRight :: Text -> CSS (Either Property Rule)
borderRight = prop "border-right"
borderLeft :: Text -> CSS (Either Property Rule)
borderLeft = prop "border-left"
bottom :: Text -> CSS (Either Property Rule)
bottom = prop "bottom"
captionSide :: Text -> CSS (Either Property Rule)
captionSide = prop "caption-side"
clear :: Text -> CSS (Either Property Rule)
clear = prop "clear"
clip :: Text -> CSS (Either Property Rule)
clip = prop "clip"
color :: Text -> CSS (Either Property Rule)
color = prop "color"
content :: Text -> CSS (Either Property Rule)
content = prop "content"
counterIncrement :: Text -> CSS (Either Property Rule)
counterIncrement = prop "counter-increment"
counterReset :: Text -> CSS (Either Property Rule)
counterReset = prop "counter-reset"
cueAfter :: Text -> CSS (Either Property Rule)
cueAfter = prop "cue-after"
cueBefore :: Text -> CSS (Either Property Rule)
cueBefore = prop "cue-before"
cue :: Text -> CSS (Either Property Rule)
cue = prop "cue"
cursor :: Text -> CSS (Either Property Rule)
cursor = prop "cursor"
direction :: Text -> CSS (Either Property Rule)
direction = prop "direction"
display :: Text -> CSS (Either Property Rule)
display = prop "display"
elevation :: Text -> CSS (Either Property Rule)
elevation = prop "elevation"
emptyCells :: Text -> CSS (Either Property Rule)
emptyCells = prop "empty-cells"
float :: Text -> CSS (Either Property Rule)
float = prop "float"
fontFamily :: Text -> CSS (Either Property Rule)
fontFamily = prop "font-family"
fontSize :: Text -> CSS (Either Property Rule)
fontSize = prop "font-size"
fontStyle :: Text -> CSS (Either Property Rule)
fontStyle = prop "font-style"
fontVariant :: Text -> CSS (Either Property Rule)
fontVariant = prop "font-variant"
fontWeight :: Text -> CSS (Either Property Rule)
fontWeight = prop "font-weight"
font :: Text -> CSS (Either Property Rule)
font = prop "font"
height :: Text -> CSS (Either Property Rule)
height = prop "height"
left :: Text -> CSS (Either Property Rule)
left = prop "left"
letterSpacing :: Text -> CSS (Either Property Rule)
letterSpacing = prop "letter-spacing"
lineHeight :: Text -> CSS (Either Property Rule)
lineHeight = prop "line-height"
listStyleImage :: Text -> CSS (Either Property Rule)
listStyleImage = prop "list-style-image"
listStylePosition :: Text -> CSS (Either Property Rule)
listStylePosition = prop "list-style-position"
listStyleType :: Text -> CSS (Either Property Rule)
listStyleType = prop "list-style-type"
listStyle :: Text -> CSS (Either Property Rule)
listStyle = prop "list-style"
marginRight :: Text -> CSS (Either Property Rule)
marginRight = prop "margin-right"
marginLeft :: Text -> CSS (Either Property Rule)
marginLeft = prop "margin-left"
marginTop :: Text -> CSS (Either Property Rule)
marginTop = prop "margin-top"
marginBottom :: Text -> CSS (Either Property Rule)
marginBottom = prop "margin-bottom"
margin :: Text -> CSS (Either Property Rule)
margin = prop "margin"
maxHeight :: Text -> CSS (Either Property Rule)
maxHeight = prop "max-height"
maxWidth :: Text -> CSS (Either Property Rule)
maxWidth = prop "max-width"
minHeight :: Text -> CSS (Either Property Rule)
minHeight = prop "min-height"
minWidth :: Text -> CSS (Either Property Rule)
minWidth = prop "min-width"
orphans :: Text -> CSS (Either Property Rule)
orphans = prop "orphans"
outlineColor :: Text -> CSS (Either Property Rule)
outlineColor = prop "outline-color"
outlineStyle :: Text -> CSS (Either Property Rule)
outlineStyle = prop "outline-style"
outlineWidth :: Text -> CSS (Either Property Rule)
outlineWidth = prop "outline-width"
outline :: Text -> CSS (Either Property Rule)
outline = prop "outline"
overflow :: Text -> CSS (Either Property Rule)
overflow = prop "overflow"
paddingTop :: Text -> CSS (Either Property Rule)
paddingTop = prop "padding-top"
paddingBottom :: Text -> CSS (Either Property Rule)
paddingBottom = prop "padding-bottom"
paddingLeft :: Text -> CSS (Either Property Rule)
paddingLeft = prop "padding-left"
paddingRight :: Text -> CSS (Either Property Rule)
paddingRight = prop "padding-right"
padding :: Text -> CSS (Either Property Rule)
padding = prop "padding"
pageBreakAfter :: Text -> CSS (Either Property Rule)
pageBreakAfter = prop "page-break-after"
pageBreakBefore :: Text -> CSS (Either Property Rule)
pageBreakBefore = prop "page-break-before"
pageBreakInside :: Text -> CSS (Either Property Rule)
pageBreakInside = prop "page-break-inside"
pauseAfter :: Text -> CSS (Either Property Rule)
pauseAfter = prop "pause-after"
pauseBefore :: Text -> CSS (Either Property Rule)
pauseBefore = prop "pause-before"
pause :: Text -> CSS (Either Property Rule)
pause = prop "pause"
pitchRange :: Text -> CSS (Either Property Rule)
pitchRange = prop "pitch-range"
pitch :: Text -> CSS (Either Property Rule)
pitch = prop "pitch"
playDuring :: Text -> CSS (Either Property Rule)
playDuring = prop "play-during"
position :: Text -> CSS (Either Property Rule)
position = prop "position"
quotes :: Text -> CSS (Either Property Rule)
quotes = prop "quotes"
richness :: Text -> CSS (Either Property Rule)
richness = prop "richness"
right :: Text -> CSS (Either Property Rule)
right = prop "right"
speakHeader :: Text -> CSS (Either Property Rule)
speakHeader = prop "speak-header"
speakNumeral :: Text -> CSS (Either Property Rule)
speakNumeral = prop "speak-numeral"
speakPunctuation :: Text -> CSS (Either Property Rule)
speakPunctuation = prop "speak-punctuation"
speak :: Text -> CSS (Either Property Rule)
speak = prop "speak"
speechRate :: Text -> CSS (Either Property Rule)
speechRate = prop "speech-rate"
stress :: Text -> CSS (Either Property Rule)
stress = prop "stress"
tableLayout :: Text -> CSS (Either Property Rule)
tableLayout = prop "table-layout"
textAlign :: Text -> CSS (Either Property Rule)
textAlign = prop "text-align"
textDecoration :: Text -> CSS (Either Property Rule)
textDecoration = prop "text-decoration"
textIndent :: Text -> CSS (Either Property Rule)
textIndent = prop "text-indent"
textTransform :: Text -> CSS (Either Property Rule)
textTransform = prop "text-transform"
top :: Text -> CSS (Either Property Rule)
top = prop "top"
unicodeBidi :: Text -> CSS (Either Property Rule)
unicodeBidi = prop "unicode-bidi"
verticalAlign :: Text -> CSS (Either Property Rule)
verticalAlign = prop "vertical-align"
visibility :: Text -> CSS (Either Property Rule)
visibility = prop "visibility"
voiceFamily :: Text -> CSS (Either Property Rule)
voiceFamily = prop "voice-family"
volume :: Text -> CSS (Either Property Rule)
volume = prop "volume"
whiteSpace :: Text -> CSS (Either Property Rule)
whiteSpace = prop "white-space"
widows :: Text -> CSS (Either Property Rule)
widows = prop "widows"
width :: Text -> CSS (Either Property Rule)
width = prop "width"
wordSpacing :: Text -> CSS (Either Property Rule)
wordSpacing = prop "word-spacing"
zIndex :: Text -> CSS (Either Property Rule)
zIndex = prop "z-index"