Type | Name and description |
---|---|
Config |
config |
KeyFrames |
currentKeyFrames |
List<FontFace> |
fonts List of @font-face elements. |
List<CSSPart> |
groups List of style groups, comments, raws. |
CurrentKeyFrameHolder |
keyFrameHolder |
List<KeyFrames> |
kfs List of @keyframes. |
String |
mediaRule Media rule for when to use this css. |
List<MediaCSS> |
otherCss Other @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 |
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