Copyright | (c) 2017 Cristian Adrián Ontivero |
---|---|
License | BSD3 |
Stability | experimental |
Portability | unknown |
Safe Haskell | None |
Language | Haskell2010 |
- data Expression
- data MediaQuery
- data Rule
- = AtCharset StringType
- | AtImport (Either StringType Url) [MediaQuery]
- | AtNamespace Text (Either StringType Url)
- | AtMedia [MediaQuery] [Rule]
- | AtKeyframes VendorPrefix Text [KeyframeBlock]
- | AtSupports SupportsCondition [Rule]
- | AtBlockWithRules Text [Rule]
- | AtBlockWithDec Text [Declaration]
- | StyleRule [Selector] [Declaration]
- data KeyframeSelector
- = From
- | To
- | KFPercentage Percentage
- data KeyframeBlock = KeyframeBlock [KeyframeSelector] [Declaration]
- data SupportsCondition
- data SupportsCondInParens
- isEmpty :: Rule -> Bool
Documentation
data Expression Source #
data MediaQuery Source #
Data type for media queries. For the syntax, see media query syntax.
MediaQuery1 Text Text [Expression] | First possibility in the grammar |
MediaQuery2 [Expression] | Second possibility in the grammar |
AtCharset StringType | |
AtImport (Either StringType Url) [MediaQuery] | |
AtNamespace Text (Either StringType Url) | |
AtMedia [MediaQuery] [Rule] | |
AtKeyframes VendorPrefix Text [KeyframeBlock] | |
AtSupports SupportsCondition [Rule] | |
AtBlockWithRules Text [Rule] | |
AtBlockWithDec Text [Declaration] | |
StyleRule [Selector] [Declaration] |
data KeyframeSelector Source #
data KeyframeBlock Source #
data SupportsCondition Source #
data SupportsCondInParens Source #