simple-css-0.0.2: simple-css.cabal
Name: simple-css
Version: 0.0.2
Cabal-Version: >= 1.6
License: BSD3
License-file: LICENSE
Author: Anton Kholomiov
Synopsis: simple binding of css and html
Description: Library binds css and html. It takes notion of /html for content, css for styling/ to extreme.
There are functions to build 'styling tree' and html elements can be placed only in the lists of the tree.
Html elements can be groupped with 'div', 'span' or 'a' tags and styled with subset of css.
Result of the programm is string of css code and list of html elements.
Module "SimpleCss" contains core functions of the library and "SimpleCss.Tricks" translates some
css tricks i've found in the web.
See 'example/Main.hs' to get started
Stability: Experimental
Tested-With: GHC==6.13.1
Build-Type: Simple
Category: Web
Maintainer: <anton.kholomiov@gmail.com>
Extra-Source-Files : example/Main.hs
Library
Build-Depends:
base >= 4, base < 5, containers == 0.*, language-css == 0.0.1, blaze-html >= 0.2 && <= 0.3
Hs-Source-Dirs: src/
Exposed-Modules:
SimpleCss
SimpleCss.Tricks
SimpleCss.Tricks.Shortcuts.Html
SimpleCss.Tricks.Shortcuts.Css
SimpleCss.Tricks.Layouts
SimpleCss.Tricks.Menus
SimpleCss.Tricks.Images
----------------------------------------------------------------------------------
Other-Modules: