Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
AUTHOR
- Dr. Alistair Ward
DESCRIPTION
- Exports labels used to name CSS-classes, & functions to encode arbitrary CSS-identifiers.
Synopsis
- type CSSIdentifier = String
- boxCSSIdentifier :: CSSIdentifier
- cssSuffix :: FilePath
- consoleOutputCSSIdentifier :: CSSIdentifier
- dataCSSIdentifier :: CSSIdentifier
- numericDataCSSIdentifier :: CSSIdentifier
- infoCSSIdentifier :: CSSIdentifier
- warningCSSIdentifier :: CSSIdentifier
- observerSummaryCSSIdentifier :: CSSIdentifier
- timetableViewCSSIdentifier :: CSSIdentifier
- mkIdentifier :: String -> CSSIdentifier
Types
Type-synonyms
type CSSIdentifier = String Source #
Merely aids self-documentation.
Constants
boxCSSIdentifier :: CSSIdentifier Source #
A CSS class-label, for an HTML box.
consoleOutputCSSIdentifier :: CSSIdentifier Source #
A CSS class-label, denoting console-output.
dataCSSIdentifier :: CSSIdentifier Source #
A CSS class-label, for arbitrary data.
numericDataCSSIdentifier :: CSSIdentifier Source #
A CSS class-label, for arbitrary data.
infoCSSIdentifier :: CSSIdentifier Source #
A CSS class-label, denoting some form of informative message.
warningCSSIdentifier :: CSSIdentifier Source #
A CSS class-label, denoting some form of warning message.
observerSummaryCSSIdentifier :: CSSIdentifier Source #
A CSS class-label, for the individual timetable for a week, as seen by some observer.
timetableViewCSSIdentifier :: CSSIdentifier Source #
A CSS class-label, for a view of a timetable for the week.
Functions
Constructor
mkIdentifier :: String -> CSSIdentifier Source #
- Normalises an arbitrary string into a valid CSS-identifier.
- http://www.w3.org/TR/CSS2/syndata.html#characters