hasmin-1.0.2.1: CSS Minifier

Copyright(c) 2017 Cristian Adrián Ontivero
LicenseBSD3
Stabilityexperimental
Portabilityunknown
Safe HaskellNone
LanguageHaskell2010

Hasmin.Types.Dimension

Description

CSS Dimension data types: <length>, <angle>, <time>, <frequency>, and <resolution>. Provides conversion of absolute dimensions into other equivalent dimensions.

Synopsis

Documentation

data Length Source #

The <length> CSS data type

Instances
Eq Length Source # 
Instance details

Defined in Hasmin.Types.Dimension

Methods

(==) :: Length -> Length -> Bool #

(/=) :: Length -> Length -> Bool #

Show Length Source # 
Instance details

Defined in Hasmin.Types.Dimension

ToText Length Source # 
Instance details

Defined in Hasmin.Types.Dimension

Minifiable Length Source # 
Instance details

Defined in Hasmin.Types.Dimension

data Angle Source #

The <angle> CSS data type

Instances
Eq Angle Source # 
Instance details

Defined in Hasmin.Types.Dimension

Methods

(==) :: Angle -> Angle -> Bool #

(/=) :: Angle -> Angle -> Bool #

Show Angle Source # 
Instance details

Defined in Hasmin.Types.Dimension

Methods

showsPrec :: Int -> Angle -> ShowS #

show :: Angle -> String #

showList :: [Angle] -> ShowS #

ToText Angle Source # 
Instance details

Defined in Hasmin.Types.Dimension

Minifiable Angle Source # 
Instance details

Defined in Hasmin.Types.Dimension

data Time Source #

The <time> CSS data type

Constructors

Time Number TimeUnit 
Instances
Eq Time Source # 
Instance details

Defined in Hasmin.Types.Dimension

Methods

(==) :: Time -> Time -> Bool #

(/=) :: Time -> Time -> Bool #

Show Time Source # 
Instance details

Defined in Hasmin.Types.Dimension

Methods

showsPrec :: Int -> Time -> ShowS #

show :: Time -> String #

showList :: [Time] -> ShowS #

ToText Time Source # 
Instance details

Defined in Hasmin.Types.Dimension

Minifiable Time Source # 
Instance details

Defined in Hasmin.Types.Dimension

data Frequency Source #

The <frequency> CSS data type

data Resolution Source #

The <resolution> CSS data type