@CompileStatic class MediaCSS extends Object
Root node for CSS which might be characterized by a media type. Created by adavis on 8/10/16.
| Type | Name and description | 
|---|---|
| Config | config | 
| KeyFrames | currentKeyFrames | 
| List<FontFace> | fontsList of @font-face elements. | 
| List<CSSPart> | groupsList of style groups, comments, raws. | 
| CurrentKeyFrameHolder | keyFrameHolder | 
| List<KeyFrames> | kfsList of @keyframes. | 
| String | mediaRuleMedia rule for when to use this css. | 
| List<MediaCSS> | otherCssOther @media branches if they exist. | 
| Constructor and description | 
|---|
| MediaCSS
                                (CurrentKeyFrameHolder keyFrameHolder) | 
| MediaCSS
                                (CurrentKeyFrameHolder keyFrameHolder, String mediaRule = null, Config config1) | 
| Type Params | Return Type | Name and description | 
|---|---|---|
|  | MediaCSS | add(CSSPart it) | 
|  | MediaCSS | add(Collection<? extends CSSPart> coll) | 
|  | MediaCSS | addAll(Collection<? extends CSSPart> coll) | 
|  | void | addInternalsFrom(MediaCSS mediaCSS) | 
|  | void | doProcessing() | 
|  | KeyFrames | getCurrentKeyFrames() | 
|  | def | handleErrors(List<String> errors) | 
|  | boolean | isEmpty() | 
|  | MediaCSS | leftShift(CSSPart sg) | 
|  | MediaCSS | leftShift(Collection<? extends CSSPart> coll) | 
|  | StyleGroup | sel(String selector, Closure<StyleGroup> closure, boolean addIt = true)Creates a new StyleGroup element and runs given closure on it. | 
|  | void | setCurrentKeyFrames(KeyFrames kf) | 
|  | StyleGroup | sg(String selector, Closure closure)Creates a new StyleGroup element and runs given closure on it. | 
|  | String | toString() | 
|  | void | writeTo(Appendable writer) | 
Media rule for when to use this css. Optional- null for root node.
Creates a new StyleGroup element and runs given closure on it.
Creates a new StyleGroup element and runs given closure on it.
Groovy Documentation