Entrance to DSL for converting code into CSS.
Modifiers | Name | Description |
---|---|---|
static class |
GrooCSS.Configurer |
Constructor and description |
---|
GrooCSS
() |
Type Params | Return Type | Name and description |
---|---|---|
|
StyleGroup |
a(String sel = '', Closure clos) Hyperlink. |
|
Selectable |
a(Selectable sel) Hyperlink. |
|
StyleGroup |
a_active(String sel = '', Closure clos) Hyperlink a:active. |
|
StyleGroup |
a_focus(String sel = '', Closure clos) Hyperlink a:focus. |
|
StyleGroup |
a_hover(String sel = '', Closure clos) Hyperlink a:hover. |
|
StyleGroup |
a_visited(String sel = '', Closure clos) Hyperlink a:visited. |
|
StyleGroup |
abbr(String sel = '', Closure clos) Abbreviation. |
|
Selectable |
abbr(Selectable sel) Abbreviation. |
|
double |
abs(Number n) Returns the absolute value of a value. |
|
double |
acos(Number n) Returns the arc cosine of a value; the returned angle is in the range 0.0 through pi. |
|
StyleGroup |
active(Closure closure) Pseudo-class: :active. |
|
StyleGroup |
address(String sel = '', Closure clos) Contact information. |
|
Selectable |
address(Selectable sel) Contact information. |
|
double |
alpha(Color c) Gets the Alpha component (0-1). |
|
StyleGroup |
area(String sel = '', Closure clos) Image-map hyperlink. |
|
Selectable |
area(Selectable sel) Image-map hyperlink. |
|
Color |
argb(double a, int r, int g, int b) Creates a new Color object from alpha (0-1),red,green,blue (0-255) values. |
|
StyleGroup |
article(String sel = '', Closure clos) Article. |
|
Selectable |
article(Selectable sel) Article. |
|
StyleGroup |
aside(String sel = '', Closure clos) Tangential content. |
|
Selectable |
aside(Selectable sel) Tangential content. |
|
double |
asin(Number n) Returns the arc sine of a value; the returned angle is in the range -pi/2 through pi/2. |
|
double |
atan(Number n) Returns the arc tangent of a value; the returned angle is in the range -pi/2 through pi/2. |
|
double |
atan2(Number y, Number x) Returns the angle theta from the conversion of rectangular coordinates (x, y) to polar coordinates (r, theta). |
|
StyleGroup |
audio(String sel = '', Closure clos) Audio stream. |
|
Selectable |
audio(Selectable sel) Audio stream. |
|
StyleGroup |
b(String sel = '', Closure clos) Offset text conventionally styled in bold. |
|
Selectable |
b(Selectable sel) Offset text conventionally styled in bold. |
|
StyleGroup |
base(String sel = '', Closure clos) Base URL. |
|
Selectable |
base(Selectable sel) Base URL. |
|
StyleGroup |
bdi(String sel = '', Closure clos) BiDi isolate. |
|
Selectable |
bdi(Selectable sel) BiDi isolate. |
|
StyleGroup |
bdo(String sel = '', Closure clos) BiDi override. |
|
Selectable |
bdo(Selectable sel) BiDi override. |
|
StyleGroup |
blockquote(String sel = '', Closure clos) Block quotation. |
|
Selectable |
blockquote(Selectable sel) Block quotation. |
|
int |
blue(Color c) Gets the Blue component (0-255). |
|
StyleGroup |
body(String sel = '', Closure clos) Document body. |
|
Selectable |
body(Selectable sel) Document body. |
|
StyleGroup |
br(String sel = '', Closure clos) Line break. |
|
Selectable |
br(Selectable sel) Line break. |
|
float |
brightness(Color c) Gets the Brightness/Lightness component (0-1) of HSL. |
|
StyleGroup |
button(String sel = '', Closure clos) Button. |
|
Selectable |
button(Selectable sel) Button. |
|
StyleGroup |
buttonButton(String sel = '', Closure clos) Button with no additional semantics. |
|
StyleGroup |
buttonReset(String sel = '', Closure clos) Reset button. |
|
StyleGroup |
buttonSubmit(String sel = '', Closure clos) Submit button. |
|
Color |
c(String colorStr) Creates a new Color object. |
|
Color |
c(Number num) |
|
Color |
c(String name, String colorStr) Creates a new Color object with a name. |
|
Color |
c(Color color) Creates a new Color object from a Java Color. |
|
StyleGroup |
canvas(String sel = '', Closure clos) Canvas for dynamic graphics. |
|
Selectable |
canvas(Selectable sel) Canvas for dynamic graphics. |
|
StyleGroup |
caption(String sel = '', Closure clos) Table title. |
|
Selectable |
caption(Selectable sel) Table title. |
|
double |
cbrt(Number n) Returns the cube root of a double value. |
|
int |
ceiling(Number n) Returns the smallest (closest to negative infinity) double value that is greater than or equal to the argument and is equal to a mathematical integer. |
|
void |
charset(String charset) |
|
StyleGroup |
checked(Closure closure) Pseudo-class: :checked. |
|
StyleGroup |
cite(String sel = '', Closure clos) Cited title of a work. |
|
Selectable |
cite(Selectable sel) Cited title of a work. |
|
Color |
clr(Number num) |
|
Color |
clr(String colorStr) Creates a new Color object. |
|
Color |
clr(Color color) Creates a new Color object from a Java Color. |
|
StyleGroup |
code(String sel = '', Closure clos) Code fragment. |
|
Selectable |
code(Selectable sel) Code fragment. |
|
StyleGroup |
col(String sel = '', Closure clos) Table column. |
|
Selectable |
col(Selectable sel) Table column. |
|
StyleGroup |
colgroup(String sel = '', Closure clos) Table column group. |
|
Selectable |
colgroup(Selectable sel) Table column group. |
|
StyleGroup |
command(String sel = '', Closure clos) Command. |
|
Selectable |
command(Selectable sel) Command. |
|
StyleGroup |
commandCheckbox(String sel = '', Closure clos) State or option that can be toggled. |
|
StyleGroup |
commandCommand(String sel = '', Closure clos) Command with an associated action. |
|
StyleGroup |
commandRadio(String sel = '', Closure clos) Selection of one item from a list of items. |
|
static void |
convert(Config conf = new Config(, File inf, File out) |
|
static String |
convert(Config conf = new Config(, String groocss, String charset1 = "UTF-8") Processes a given groocss string and outputs as CSS string. |
|
static void |
convert(Config conf = new Config(, InputStream inf, OutputStream out, String charset1 = "UTF-8") Processes a given InputStream and outputs to given OutputStream. |
|
static void |
convert(Config conf = new Config(, Reader reader, PrintWriter writer) Processes a given Reader and outputs to given PrintWriter. |
|
def |
convert(def value, def units) Convert a number from one unit into another. |
|
static void |
convertFile(Config conf = new Config(, String inf, String outf) |
|
static void |
convertFile(Config conf = new Config(, File inf, File out) |
|
static void |
convertFromCSS(File inf, File out) |
|
Number |
convertNum(Number num, String conversion) |
|
double |
cos(Number angle) Returns the trigonometric cosine of an angle (in radians). |
|
Color |
darken(Color c) |
|
StyleGroup |
datalist(String sel = '', Closure clos) Predefined options for other controls. |
|
Selectable |
datalist(Selectable sel) Predefined options for other controls. |
|
StyleGroup |
dd(String sel = '', Closure clos) Description or value. |
|
Selectable |
dd(Selectable sel) Description or value. |
|
StyleGroup |
defaultPC(Closure closure) Pseudo-class: :default. |
|
StyleGroup |
del(String sel = '', Closure clos) Deleted text. |
|
Selectable |
del(Selectable sel) Deleted text. |
|
Color |
desaturate(Color c, float amount) Decrease the saturation of a color in the HSL color space by some amount (0-1). |
|
StyleGroup |
details(String sel = '', Closure clos) Control for additional on-demand information. |
|
Selectable |
details(Selectable sel) Control for additional on-demand information. |
|
StyleGroup |
dfn(String sel = '', Closure clos) Defining instance. |
|
Selectable |
dfn(Selectable sel) Defining instance. |
|
StyleGroup |
disabled(Closure closure) Pseudo-class: :disabled. |
|
StyleGroup |
div(String sel = '', Closure clos) Generic flow container. |
|
Selectable |
div(Selectable sel) Generic flow container. |
|
StyleGroup |
dl(String sel = '', Closure clos) Description list. |
|
Selectable |
dl(Selectable sel) Description list. |
|
StyleGroup |
dt(String sel = '', Closure clos) Term or name. |
|
Selectable |
dt(Selectable sel) Term or name. |
|
StyleGroup |
em(String sel = '', Closure clos) Emphatic stress. |
|
Selectable |
em(Selectable sel) Emphatic stress. |
|
StyleGroup |
embed(String sel = '', Closure clos) Integration point for plugins. |
|
Selectable |
embed(Selectable sel) Integration point for plugins. |
|
StyleGroup |
empty(Closure closure) Pseudo-class: :empty. |
|
StyleGroup |
enabled(Closure closure) Pseudo-class: :enabled. |
|
StyleGroup |
even(Closure closure) Pseudo-class: "nth-child(even)". |
|
Color |
fade(Color c, float amount) Sets the opacity of a Color to some amount (0-1). |
|
Color |
fadein(Color c, float amount) Increase the saturation of a color by some amount (0-1). |
|
Color |
fadeout(Color c, float amount) Decrease the saturation of a color by some amount (0-1). |
|
StyleGroup |
fieldset(String sel = '', Closure clos) Set of related form controls. |
|
Selectable |
fieldset(Selectable sel) Set of related form controls. |
|
StyleGroup |
figcaption(String sel = '', Closure clos) Figure caption. |
|
Selectable |
figcaption(Selectable sel) Figure caption. |
|
StyleGroup |
figure(String sel = '', Closure clos) Figure with optional caption. |
|
Selectable |
figure(Selectable sel) Figure with optional caption. |
|
StyleGroup |
firstChild(Closure closure) Pseudo-class: :first-child. |
|
StyleGroup |
firstOfType(Closure closure) Pseudo-class: :first-of-type. |
|
int |
floor(Number n) Returns the largest (closest to positive infinity) double value that is less than or equal to the argument and is equal to a mathematical integer. |
|
StyleGroup |
focus(Closure closure) Pseudo-class: :focus. |
|
FontFace |
fontFace(Closure clos) Creates a new @font-face element and runs given closure on it. |
|
StyleGroup |
footer(String sel = '', Closure clos) Footer. |
|
Selectable |
footer(Selectable sel) Footer. |
|
StyleGroup |
form(String sel = '', Closure clos) User-submittable form. |
|
Selectable |
form(Selectable sel) User-submittable form. |
|
Selector |
getA() |
|
Selector |
getAbbr() |
|
PseudoClass |
getActive() Pseudo-class: :active. |
|
Selector |
getAddress() |
|
Color |
getAliceBlue() |
|
Color |
getAntiqueWhite() |
|
Color |
getAqua() |
|
Color |
getAquamarine() |
|
Selector |
getArea() |
|
Selector |
getArticle() |
|
Selector |
getAside() |
|
Selector |
getAudio() |
|
Color |
getAzure() |
|
Selector |
getB() |
|
Selector |
getBase() |
|
Selector |
getBdi() |
|
Selector |
getBdo() |
|
Color |
getBeige() |
|
Color |
getBisque() |
|
Color |
getBlack() |
|
Color |
getBlanchedAlmond() |
|
Selector |
getBlockquote() |
|
Color |
getBlue() |
|
Color |
getBlueViolet() |
|
Selector |
getBody() |
|
Selector |
getBr() |
|
Color |
getBrown() |
|
Color |
getBurlyWood() |
|
Selector |
getButton() |
|
Color |
getCadetBlue() |
|
Selector |
getCanvas() |
|
Selector |
getCaption() |
|
Color |
getChartreuse() |
|
PseudoClass |
getChecked() Pseudo-class: :checked. |
|
Color |
getChocolate() |
|
Selector |
getCite() |
|
Selector |
getCode() |
|
Selector |
getCol() |
|
Selector |
getColgroup() |
|
Selector |
getCommand() |
|
Color |
getCoral() |
|
Color |
getCornflowerBlue() |
|
Color |
getCornsilk() |
|
Color |
getCrimson() |
|
Color |
getCyan() |
|
Color |
getDarkBlue() |
|
Color |
getDarkCyan() |
|
Color |
getDarkGoldenRod() |
|
Color |
getDarkGray() |
|
Color |
getDarkGreen() |
|
Color |
getDarkGrey() |
|
Color |
getDarkKhaki() |
|
Color |
getDarkMagenta() |
|
Color |
getDarkOliveGreen() |
|
Color |
getDarkOrchid() |
|
Color |
getDarkRed() |
|
Color |
getDarkSalmon() |
|
Color |
getDarkSeaGreen() |
|
Color |
getDarkSlateBlue() |
|
Color |
getDarkSlateGray() |
|
Color |
getDarkSlateGrey() |
|
Color |
getDarkTurquoise() |
|
Color |
getDarkViolet() |
|
Color |
getDarkorange() |
|
Selector |
getDatalist() |
|
Selector |
getDd() |
|
Color |
getDeepPink() |
|
Color |
getDeepSkyBlue() |
|
PseudoClass |
getDefault() Pseudo-class: :default. |
|
Selector |
getDel() |
|
Selector |
getDetails() |
|
Selector |
getDfn() |
|
Color |
getDimGray() |
|
Color |
getDimGrey() |
|
PseudoClass |
getDisabled() Pseudo-class: :disabled. |
|
Selector |
getDiv() |
|
Selector |
getDl() |
|
Color |
getDodgerBlue() |
|
Selector |
getDt() |
|
Selector |
getEm() |
|
Selector |
getEmbed() |
|
PseudoClass |
getEmpty() Pseudo-class: :empty. |
|
PseudoClass |
getEnabled() Pseudo-class: :enabled. |
|
PseudoClass |
getEven() Pseudo-class: :nth-child(even). |
|
Selector |
getFieldset() |
|
Selector |
getFigcaption() |
|
Selector |
getFigure() |
|
Color |
getFireBrick() |
|
PseudoClass |
getFirstChild() Pseudo-class: :first-child. |
|
PseudoClass |
getFirstOfType() Pseudo-class: :first-of-type. |
|
Color |
getFloralWhite() |
|
PseudoClass |
getFocus() Pseudo-class: :focus. |
|
Selector |
getFooter() |
|
Color |
getForestGreen() |
|
Selector |
getForm() |
|
Color |
getFuchsia() |
|
Color |
getGainsboro() |
|
Color |
getGhostWhite() |
|
Color |
getGold() |
|
Color |
getGoldenRod() |
|
Color |
getGray() |
|
Color |
getGreen() |
|
Color |
getGreenYellow() |
|
Color |
getGrey() |
|
Selector |
getH1() |
|
Selector |
getH2() |
|
Selector |
getH3() |
|
Selector |
getH4() |
|
Selector |
getH5() |
|
Selector |
getH6() |
|
Selector |
getHeader() |
|
Selector |
getHgroup() |
|
Color |
getHoneyDew() |
|
Color |
getHotPink() |
|
PseudoClass |
getHover() Pseudo-class: :hover. |
|
Selector |
getHr() |
|
Selector |
getHtml() |
|
Selector |
getI() |
|
Selector |
getIframe() |
|
Measurement |
getImageHeight(String filename) |
|
String |
getImageSize(String filename) |
|
Measurement |
getImageWidth(String filename) |
|
Selector |
getImg() |
|
PseudoClass |
getInRange() Pseudo-class: :in-range. |
|
PseudoClass |
getIndeterminate() Pseudo-class: :indeterminate. |
|
Color |
getIndianRed() |
|
Color |
getIndigo() |
|
Selector |
getInput() |
|
Selector |
getIns() |
|
PseudoClass |
getInvalid() Pseudo-class: :invalid. |
|
String |
getIso8859() |
|
Color |
getIvory() |
|
Selector |
getKbd() |
|
Selector |
getKeygen() |
|
Color |
getKhaki() |
|
Selector |
getLabel() |
|
PseudoClass |
getLastChild() Pseudo-class: :last-child. |
|
PseudoClass |
getLastOfType() Pseudo-class: :last-of-type. |
|
Color |
getLavender() |
|
Color |
getLavenderBlush() |
|
Color |
getLawnGreen() |
|
Selector |
getLegend() |
|
Color |
getLemonChiffon() |
|
Selector |
getLi() |
|
Color |
getLightBlue() |
|
Color |
getLightCoral() |
|
Color |
getLightCyan() |
|
Color |
getLightGoldenRodYellow() |
|
Color |
getLightGray() |
|
Color |
getLightGreen() |
|
Color |
getLightGrey() |
|
Color |
getLightPink() |
|
Color |
getLightSalmon() |
|
Color |
getLightSeaGreen() |
|
Color |
getLightSkyBlue() |
|
Color |
getLightSlateGray() |
|
Color |
getLightSlateGrey() |
|
Color |
getLightSteelBlue() |
|
Color |
getLightYellow() |
|
Color |
getLime() |
|
Color |
getLimeGreen() |
|
Color |
getLinen() |
|
PseudoClass |
getLink() Pseudo-class: :link. |
|
Color |
getMagenta() |
|
Selector |
getMain() |
|
Selector |
getMap() |
|
Selector |
getMark() |
|
Color |
getMaroon() |
|
Selector |
getMath() |
|
Color |
getMediumAquaMarine() |
|
Color |
getMediumBlue() |
|
Color |
getMediumOrchid() |
|
Color |
getMediumPurple() |
|
Color |
getMediumSeaGreen() |
|
Color |
getMediumSlateBlue() |
|
Color |
getMediumSpringGreen() |
|
Color |
getMediumTurquoise() |
|
Color |
getMediumVioletRed() |
|
Selector |
getMenu() |
|
Selector |
getMeter() |
|
Color |
getMidnightBlue() |
|
Color |
getMintCream() |
|
Color |
getMistyRose() |
|
Color |
getMoccasin() |
|
Selector |
getNav() |
|
Color |
getNavajoWhite() |
|
Color |
getNavy() |
|
Selector |
getNoscript() |
|
Selector |
getObject() |
|
PseudoClass |
getOdd() Pseudo-class: :nth-child(odd). |
|
Selector |
getOl() |
|
Color |
getOldLace() |
|
Color |
getOlive() |
|
Color |
getOliveDrab() |
|
PseudoClass |
getOnlyChild() Pseudo-class: :only-child. |
|
PseudoClass |
getOnlyOfType() Pseudo-class: :only-of-type. |
|
Selector |
getOptgroup() |
|
Selector |
getOption() |
|
PseudoClass |
getOptional() Pseudo-class: :optional. |
|
Color |
getOrange() |
|
Color |
getOrangeRed() |
|
Color |
getOrchid() |
|
PseudoClass |
getOutOfRange() Pseudo-class: :out-of-range. |
|
Selector |
getOutput() |
|
Selector |
getP() |
|
Color |
getPaleGoldenRod() |
|
Color |
getPaleGreen() |
|
Color |
getPaleTurquoise() |
|
Color |
getPaleVioletRed() |
|
Color |
getPapayaWhip() |
|
Selector |
getParam() |
|
Color |
getPeachPuff() |
|
Color |
getPeru() |
|
Color |
getPink() |
|
Color |
getPlum() |
|
Color |
getPowderBlue() |
|
Selector |
getPre() |
|
Selector |
getProgress() |
|
Color |
getPurple() |
|
Selector |
getQ() |
|
PseudoClass |
getReadOnly() Pseudo-class: :read-only. |
|
PseudoClass |
getReadWrite() Pseudo-class: :read-write. |
|
Color |
getRed() |
|
PseudoClass |
getRequired() Pseudo-class: :required. |
|
PseudoClass |
getRoot() Pseudo-class: :root. |
|
Color |
getRosyBrown() |
|
Color |
getRoyalBlue() |
|
Selector |
getRp() |
|
Selector |
getRt() |
|
Selector |
getRuby() |
|
Selector |
getS() |
|
Color |
getSaddleBrown() |
|
Color |
getSalmon() |
|
Selector |
getSamp() |
|
Color |
getSandyBrown() |
|
Selector |
getScript() |
|
Color |
getSeaGreen() |
|
Color |
getSeaShell() |
|
Selector |
getSection() |
|
Selector |
getSelect() |
|
Color |
getSienna() |
|
Color |
getSilver() |
|
Color |
getSkyBlue() |
|
Color |
getSlateBlue() |
|
Color |
getSlateGray() |
|
Color |
getSlateGrey() |
|
Selector |
getSmall() |
|
Color |
getSnow() |
|
Selector |
getSource() |
|
Selector |
getSpan() |
|
Color |
getSpringGreen() |
|
Color |
getSteelBlue() |
|
Selector |
getStrong() |
|
Selector |
getStyle() |
|
Selector |
getSub() |
|
Selector |
getSummary() |
|
Selector |
getSup() |
|
Selector |
getSvg() |
|
Selector |
getTable() |
|
Color |
getTan() |
|
PseudoClass |
getTarget() Pseudo-class: :target. |
|
Selector |
getTbody() |
|
Selector |
getTd() |
|
Color |
getTeal() |
|
Selector |
getTextarea() |
|
Selector |
getTfoot() |
|
Selector |
getTh() |
|
Selector |
getThead() |
|
Color |
getThistle() |
|
Selector |
getTime() |
|
Selector |
getTitle() |
|
Color |
getTomato() |
|
Selector |
getTr() |
|
Selector |
getTrack() |
|
Color |
getTurquoise() |
|
Selector |
getU() |
|
Selector |
getUl() |
|
String |
getUnit(def value) Returns units of a number. |
|
String |
getUtf16() |
|
String |
getUtf8() |
|
PseudoClass |
getValid() Pseudo-class: :valid. |
|
Selector |
getVar() |
|
Selector |
getVideo() |
|
Color |
getViolet() |
|
PseudoClass |
getVisited() Pseudo-class: :visited. |
|
Selector |
getWbr() |
|
Color |
getWheat() |
|
Color |
getWhite() |
|
Color |
getWhiteSmoke() |
|
Color |
getYellow() |
|
Color |
getYellowGreen() |
|
MediaCSS |
get_() |
|
Color |
grayscale(Color c) Remove all saturation from a color in the HSL color space; the same as calling desaturate(color, 1). |
|
int |
green(Color c) Gets the Green component (0-255). |
|
Color |
greyscale(Color c) Remove all saturation from a color in the HSL color space; the same as calling desaturate(color, 1). |
|
StyleGroup |
h1(String sel = '', Closure clos) Heading. |
|
Selectable |
h1(Selectable sel) Heading. |
|
StyleGroup |
h2(String sel = '', Closure clos) Heading. |
|
Selectable |
h2(Selectable sel) Heading. |
|
StyleGroup |
h3(String sel = '', Closure clos) Heading. |
|
Selectable |
h3(Selectable sel) Heading. |
|
StyleGroup |
h4(String sel = '', Closure clos) Heading. |
|
Selectable |
h4(Selectable sel) Heading. |
|
StyleGroup |
h5(String sel = '', Closure clos) Heading. |
|
Selectable |
h5(Selectable sel) Heading. |
|
StyleGroup |
h6(String sel = '', Closure clos) Heading. |
|
Selectable |
h6(Selectable sel) Heading. |
|
StyleGroup |
head(String sel = '', Closure clos) Document metadata container. |
|
Selectable |
head(Selectable sel) Document metadata container. |
|
StyleGroup |
header(String sel = '', Closure clos) Header. |
|
Selectable |
header(Selectable sel) Header. |
|
StyleGroup |
hgroup(String sel = '', Closure clos) Heading group. |
|
Selectable |
hgroup(Selectable sel) Heading group. |
|
StyleGroup |
hover(Closure closure) Pseudo-class: :hover. |
|
StyleGroup |
hr(String sel = '', Closure clos) Thematic break. |
|
Selectable |
hr(Selectable sel) Thematic break. |
|
Color |
hsl(int hue, double saturation, double lightness) Creates an opaque color object from hue (0-360), saturation(0-1), and lightness(0-1) (HSL) values. |
|
Color |
hsla(int hue, double saturation, double lightness, double a) Creates an opaque color object from hue (0-360), saturation(0-1), and lightness(0-1) (HSL) values. |
|
StyleGroup |
html(String sel = '', Closure clos) Root element. |
|
Selectable |
html(Selectable sel) Root element. |
|
float |
hue(Color c) Gets the Hue component (0-1) of HSL. |
|
StyleGroup |
i(String sel = '', Closure clos) Offset text conventionally styled in italic. |
|
Selectable |
i(Selectable sel) Offset text conventionally styled in italic. |
|
StyleGroup |
iframe(String sel = '', Closure clos) Nested browsing context (inline frame). |
|
Selectable |
iframe(Selectable sel) Nested browsing context (inline frame). |
|
StyleGroup |
img(String sel = '', Closure clos) Image. |
|
Selectable |
img(Selectable sel) Image. |
|
StyleGroup |
inRange(Closure closure) Pseudo-class: :in-range. |
|
StyleGroup |
indeterminate(Closure closure) Pseudo-class: :indeterminate. |
|
StyleGroup |
input(String sel = '', Closure clos) Input control. |
|
Selectable |
input(Selectable sel) Input control. |
|
StyleGroup |
inputButton(String sel = '', Closure clos) Button. |
|
StyleGroup |
inputCheckbox(String sel = '', Closure clos) Checkbox. |
|
StyleGroup |
inputColor(String sel = '', Closure clos) Color-well control. |
|
StyleGroup |
inputDate(String sel = '', Closure clos) Date input control. |
|
StyleGroup |
inputDatetime(String sel = '', Closure clos) Global date-and-time input control. |
|
StyleGroup |
inputDatetimeLocal(String sel = '', Closure clos) Local date-and-time input control. |
|
StyleGroup |
inputEmail(String sel = '', Closure clos) E-mail address input control. |
|
StyleGroup |
inputFile(String sel = '', Closure clos) File upload control. |
|
StyleGroup |
inputHidden(String sel = '', Closure clos) Hidden input control. |
|
StyleGroup |
inputImage(String sel = '', Closure clos) Image-coordinates input control. |
|
StyleGroup |
inputMonth(String sel = '', Closure clos) Year-and-month input control. |
|
StyleGroup |
inputNumber(String sel = '', Closure clos) Number input control. |
|
StyleGroup |
inputPassword(String sel = '', Closure clos) Password-input field. |
|
StyleGroup |
inputRadio(String sel = '', Closure clos) Radio button. |
|
StyleGroup |
inputRange(String sel = '', Closure clos) Imprecise number-input control. |
|
StyleGroup |
inputReset(String sel = '', Closure clos) Reset button. |
|
StyleGroup |
inputSearch(String sel = '', Closure clos) Search field. |
|
StyleGroup |
inputSubmit(String sel = '', Closure clos) Submit button. |
|
StyleGroup |
inputTel(String sel = '', Closure clos) Telephone-number-input field. |
|
StyleGroup |
inputText(String sel = '', Closure clos) Text-input field. |
|
StyleGroup |
inputTime(String sel = '', Closure clos) Time input control. |
|
StyleGroup |
inputUrl(String sel = '', Closure clos) URL input control. |
|
StyleGroup |
inputWeek(String sel = '', Closure clos) Year-and-week input control. |
|
StyleGroup |
ins(String sel = '', Closure clos) Inserted text. |
|
Selectable |
ins(Selectable sel) Inserted text. |
|
StyleGroup |
invalid(Closure closure) Pseudo-class: :invalid. |
|
StyleGroup |
kbd(String sel = '', Closure clos) User input. |
|
Selectable |
kbd(Selectable sel) User input. |
|
KeyFrames |
keyframes(String name, Closure clos) Calls kf(java.lang.String, groovy.lang.Closure). |
|
StyleGroup |
keygen(String sel = '', Closure clos) Key-pair generator/input control. |
|
Selectable |
keygen(Selectable sel) Key-pair generator/input control. |
|
KeyFrames |
kf(String name, Closure clos) Creates a new KeyFrames element and runs given closure on it. |
|
StyleGroup |
label(String sel = '', Closure clos) Caption for a form control. |
|
Selectable |
label(Selectable sel) Caption for a form control. |
|
StyleGroup |
lang(def languageCode, Closure clos) Pseudo-class: :lang. |
|
PseudoClass |
lang(def languageCode) Pseudo-class: :lang. |
|
StyleGroup |
lastChild(Closure closure) Pseudo-class: :last-child. |
|
StyleGroup |
lastOfType(Closure closure) Pseudo-class: :last-of-type. |
|
StyleGroup |
legend(String sel = '', Closure clos) Title or explanatory caption. |
|
Selectable |
legend(Selectable sel) Title or explanatory caption. |
|
StyleGroup |
li(String sel = '', Closure clos) List item. |
|
Selectable |
li(Selectable sel) List item. |
|
Color |
lighten(Color c) |
|
StyleGroup |
link(String sel = '', Closure clos) Inter-document relationship metadata. |
|
Selectable |
link(Selectable sel) Inter-document relationship metadata. |
|
StyleGroup |
linkPseudoClass(Closure closure) Pseudo-class: :link. |
|
double |
log(Number n) Returns the natural logarithm (base e) of a double value. |
|
double |
log10(Number n) Returns the base 10 logarithm of a double value. |
|
static void |
main(String... args) |
|
StyleGroup |
map(String sel = '', Closure clos) Image-map definition. |
|
Selectable |
map(Selectable sel) Image-map definition. |
|
StyleGroup |
mark(String sel = '', Closure clos) Marked (highlighted) text. |
|
Selectable |
mark(Selectable sel) Marked (highlighted) text. |
|
StyleGroup |
math(String sel = '', Closure clos) Math element. |
|
Selectable |
math(Selectable sel) Math element. |
|
MediaCSS |
media(String mediaRule, Closure clos) |
|
StyleGroup |
menu(String sel = '', Closure clos) List of commands. |
|
Selectable |
menu(Selectable sel) List of commands. |
|
StyleGroup |
meter(String sel = '', Closure clos) Scalar gauge. |
|
Selectable |
meter(Selectable sel) Scalar gauge. |
|
Color |
mix(Color color1, Color color2, double weight = 0.5d) Mixes two colors. |
|
StyleGroup |
nav(String sel = '', Closure clos) Group of navigational links. |
|
Selectable |
nav(Selectable sel) Group of navigational links. |
|
Selector |
newElement(String name) |
|
PseudoClass |
newPseudoClass(String value) |
|
StyleGroup |
noscript(String sel = '', Closure clos) Fallback content for script. |
|
Selectable |
noscript(Selectable sel) Fallback content for script. |
|
StyleGroup |
not(def notStyleGroup, Closure clos) Pseudo-class: :not(@DelegatesTo(StyleGroup) Closure closure). |
|
PseudoClass |
not(def notStyleGroup) Pseudo-class: :not(). |
|
StyleGroup |
nthChild(def n, Closure closure) Pseudo-class: :nth-child. |
|
PseudoClass |
nthChild(def n) Pseudo-class: :nth-child. |
|
StyleGroup |
nthLastChild(def n, Closure clos) Pseudo-class: :nth-last-child. |
|
PseudoClass |
nthLastChild(def n) Pseudo-class: :nth-last-child. |
|
StyleGroup |
nthLastOfType(def n, Closure clos) Pseudo-class: :nth-last-of-type. |
|
PseudoClass |
nthLastOfType(def n) Pseudo-class: :nth-last-of-type. |
|
StyleGroup |
nthOfType(def n, Closure closure) Pseudo-class: :nth-of-type. |
|
PseudoClass |
nthOfType(def n) Pseudo-class: :nth-of-type. |
|
StyleGroup |
object(String sel = '', Closure clos) Generic external content. |
|
Selectable |
object(Selectable sel) Generic external content. |
|
StyleGroup |
odd(Closure closure) Pseudo-class: "nth-child(odd)". |
|
StyleGroup |
ol(String sel = '', Closure clos) Ordered list. |
|
Selectable |
ol(Selectable sel) Ordered list. |
|
StyleGroup |
onlyChild(Closure closure) Pseudo-class: :only-child. |
|
StyleGroup |
onlyOfType(Closure closure) Pseudo-class: :only-of-type. |
|
StyleGroup |
optgroup(String sel = '', Closure clos) Group of options. |
|
Selectable |
optgroup(Selectable sel) Group of options. |
|
StyleGroup |
option(String sel = '', Closure clos) Option. |
|
Selectable |
option(Selectable sel) Option. |
|
StyleGroup |
optional(Closure closure) Pseudo-class: :optional. |
|
StyleGroup |
outOfRange(Closure closure) Pseudo-class: :out-of-range. |
|
StyleGroup |
output(String sel = '', Closure clos) Result of a calculation in a form. |
|
Selectable |
output(Selectable sel) Result of a calculation in a form. |
|
StyleGroup |
p(String sel = '', Closure clos) Paragraph. |
|
Selectable |
p(Selectable sel) Paragraph. |
|
StyleGroup |
param(String sel = '', Closure clos) Initialization parameters for plugins. |
|
Selectable |
param(Selectable sel) Initialization parameters for plugins. |
|
double |
pow(Number n, Number pow) Returns the value of the first argument raised to the power of the second argument. |
|
StyleGroup |
pre(String sel = '', Closure clos) Preformatted text. |
|
Selectable |
pre(Selectable sel) Preformatted text. |
|
static void |
process(Config conf = new Config(, InputStream ins, OutputStream out) Processes a given InputStream and outputs to given OutputStream. |
|
static void |
process(Config conf = new Config(, Reader reader, PrintWriter writer) Processes a given Reader and outputs to given PrintWriter. |
|
static String |
process(Config conf = new Config(, String groocss, String charset1 = "UTF-8") Processes a given groocss string and outputs as CSS string. |
|
static GrooCSS |
process(Config config = new Config(, Closure clos) Processes the given closure with given optional config. |
|
StyleGroup |
progress(String sel = '', Closure clos) Progress indicator. |
|
Selectable |
progress(Selectable sel) Progress indicator. |
|
StyleGroup |
q(String sel = '', Closure clos) Quoted text. |
|
Selectable |
q(Selectable sel) Quoted text. |
|
StyleGroup |
readOnly(Closure closure) Pseudo-class: :read-only. |
|
StyleGroup |
readWrite(Closure closure) Pseudo-class: :read-write. |
|
int |
red(Color c) Gets the Red component (0-255). |
|
StyleGroup |
required(Closure closure) Pseudo-class: :required. |
|
Color |
rgb(int r, int g, int b) Creates a new Color object from red,green,blue (0-255) values. |
|
Color |
rgba(int r, int g, int b, double a) Creates a new Color object from red,green,blue (0-255),alpha (0-1) values. |
|
StyleGroup |
root(Closure closure) Pseudo-class: :root. |
|
StyleGroup |
rp(String sel = '', Closure clos) Ruby parenthesis. |
|
Selectable |
rp(Selectable sel) Ruby parenthesis. |
|
StyleGroup |
rt(String sel = '', Closure clos) Ruby text. |
|
Selectable |
rt(Selectable sel) Ruby text. |
|
StyleGroup |
ruby(String sel = '', Closure clos) Ruby annotation. |
|
Selectable |
ruby(Selectable sel) Ruby annotation. |
|
def |
run() |
|
static GrooCSS |
runBlock(Config conf = new Config(, Closure clos) Processes the given closure with given optional config. |
|
StyleGroup |
s(String sel = '', Closure clos) Struck text. |
|
Selectable |
s(Selectable sel) Struck text. |
|
StyleGroup |
samp(String sel = '', Closure clos) (sample) output. |
|
Selectable |
samp(Selectable sel) (sample) output. |
|
Color |
saturate(Color c, float amount) Increase the saturation of a color in the HSL color space by some amount (0-1). |
|
float |
saturation(Color c) Gets the Saturation component (0-1) of HSL. |
|
StyleGroup |
section(String sel = '', Closure clos) Section. |
|
Selectable |
section(Selectable sel) Section. |
|
StyleGroup |
sel(String selector, Closure<StyleGroup> clos) Creates a new StyleGroup element and runs given closure on it. |
|
Selector |
sel(def selector) Creates a selector from any given argument. |
|
StyleGroup |
sel(Selector selector, Closure<StyleGroup> clos) Creates a new StyleGroup element and runs given closure on it. |
|
StyleGroup |
select(String sel = '', Closure clos) Option-selection form control. |
|
Selectable |
select(Selectable sel) Option-selection form control. |
|
void |
setConfig(Config config1) Makes sure that config passes through to root css. |
|
StyleGroup |
sg(String selector, Closure clos) Creates a new StyleGroup element and runs given closure on it. |
|
StyleGroup |
sg(Selector selector, Closure clos) Creates a new StyleGroup element and runs given closure on it. |
|
StyleGroup |
sg(List selectors, Closure clos) Creates a new StyleGroup element, with all selectors in the given list joined with commas. |
|
Color |
shade(Color c, double weight = 0.5d) Mix color with black with optional weight (defaults to half). |
|
double |
sin(Number angle) Returns the trigonometric sine of an angle (in radians). |
|
StyleGroup |
small(String sel = '', Closure clos) Small print. |
|
Selectable |
small(Selectable sel) Small print. |
|
StyleGroup |
source(String sel = '', Closure clos) Media source. |
|
Selectable |
source(Selectable sel) Media source. |
|
StyleGroup |
span(String sel = '', Closure clos) Generic span. |
|
Selectable |
span(Selectable sel) Generic span. |
|
double |
sqrt(Number n) Returns the correctly rounded positive square root of a double value. |
|
static String |
stringify(Number converted) Converts number to string in a sensible format. |
|
StyleGroup |
strong(String sel = '', Closure clos) Strong importance. |
|
Selectable |
strong(Selectable sel) Strong importance. |
|
Style |
style(Closure clos) |
|
Style |
style(String name, Object value) Creates a Style with given name and value. |
|
StyleGroup |
styles(Closure<StyleGroup> clos) Creates an unattached StyleGroup object, useful for adding Styles to a StyleGroup conditionally or for reusing a group of styles several times. |
|
StyleGroup |
sub(String sel = '', Closure clos) Subscript. |
|
Selectable |
sub(Selectable sel) Subscript. |
|
StyleGroup |
summary(String sel = '', Closure clos) Summary, caption, or legend for a details control. |
|
Selectable |
summary(Selectable sel) Summary, caption, or legend for a details control. |
|
StyleGroup |
sup(String sel = '', Closure clos) Superscript. |
|
Selectable |
sup(Selectable sel) Superscript. |
|
StyleGroup |
svg(String sel = '', Closure clos) Scalable vector graphics. |
|
Selectable |
svg(Selectable sel) Scalable vector graphics. |
|
StyleGroup |
table(String sel = '', Closure clos) Table. |
|
Selectable |
table(Selectable sel) Table. |
|
double |
tan(Number angle) Returns the trigonometric tangent of an angle (in radians). |
|
StyleGroup |
target(Closure closure) Pseudo-class: :target. |
|
StyleGroup |
tbody(String sel = '', Closure clos) Table row group. |
|
Selectable |
tbody(Selectable sel) Table row group. |
|
StyleGroup |
td(String sel = '', Closure clos) Table cell. |
|
Selectable |
td(Selectable sel) Table cell. |
|
StyleGroup |
textarea(String sel = '', Closure clos) Text input area. |
|
Selectable |
textarea(Selectable sel) Text input area. |
|
StyleGroup |
tfoot(String sel = '', Closure clos) Table footer row group. |
|
Selectable |
tfoot(Selectable sel) Table footer row group. |
|
StyleGroup |
th(String sel = '', Closure clos) Table header cell. |
|
Selectable |
th(Selectable sel) Table header cell. |
|
StyleGroup |
thead(String sel = '', Closure clos) Table heading group. |
|
Selectable |
thead(Selectable sel) Table heading group. |
|
StyleGroup |
time(String sel = '', Closure clos) Date and/or time. |
|
Selectable |
time(Selectable sel) Date and/or time. |
|
Color |
tint(Color c, double weight = 0.5d) Mix color with white with optional weight (defaults to half). |
|
StyleGroup |
title(String sel = '', Closure clos) Document title. |
|
Selectable |
title(Selectable sel) Document title. |
|
double |
toDegrees(Number angrad) Converts an angle measured in radians to an approximately equivalent angle measured in degrees. |
|
double |
toRadians(Number angdeg) Converts an angle measured in degrees to an approximately equivalent angle measured in radians. |
|
String |
toString() |
|
StyleGroup |
tr(String sel = '', Closure clos) Table row. |
|
Selectable |
tr(Selectable sel) Table row. |
|
StyleGroup |
track(String sel = '', Closure clos) Supplementary media track. |
|
Selectable |
track(Selectable sel) Supplementary media track. |
|
StyleGroup |
u(String sel = '', Closure clos) Offset text conventionally styled with an underline. |
|
Selectable |
u(Selectable sel) Offset text conventionally styled with an underline. |
|
StyleGroup |
ul(String sel = '', Closure clos) Unordered list. |
|
Selectable |
ul(Selectable sel) Unordered list. |
|
def |
unit(def value, def units = null) Remove or change the unit of a dimension. |
|
StyleGroup |
valid(Closure closure) Pseudo-class: :valid. |
|
StyleGroup |
var(String sel = '', Closure clos) Variable or placeholder text. |
|
Selectable |
var(Selectable sel) Variable or placeholder text. |
|
StyleGroup |
video(String sel = '', Closure clos) Video. |
|
Selectable |
video(Selectable sel) Video. |
|
StyleGroup |
visited(Closure closure) Pseudo-class: :visited. |
|
StyleGroup |
wbr(String sel = '', Closure clos) Line-break opportunity. |
|
Selectable |
wbr(Selectable sel) Line-break opportunity. |
|
static GrooCSS.Configurer |
withConfig(Closure<Configurer> closure) |
|
StyleGroup |
withPseudoClass(String pseudoClass, Closure closure) |
|
void |
writeTo(File f) Writes the CSS to the given file. |
|
void |
writeToFile(String filename) Writes the CSS to the given file. |
Methods inherited from class | Name |
---|---|
class Script |
getBinding, setBinding, invokeMethod, evaluate, evaluate, println, println, run, run, setProperty, getProperty, print, printf, printf, getMetaClass, setMetaClass, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
class GroovyObjectSupport |
invokeMethod, getMetaClass, setMetaClass, setProperty, getProperty, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Main config.
Main MediaCSS root.
Current MediaCSS object used for processing.
Used by mod method added to Integer class.
Hyperlink.
Hyperlink.
Hyperlink a:active.
Hyperlink a:focus.
Hyperlink a:hover.
Hyperlink a:visited.
Abbreviation.
Abbreviation.
Returns the absolute value of a value.
Returns the arc cosine of a value; the returned angle is in the range 0.0 through pi.
Pseudo-class: :active.
Contact information.
Contact information.
Gets the Alpha component (0-1).
Image-map hyperlink.
Image-map hyperlink.
Creates a new Color object from alpha (0-1),red,green,blue (0-255) values.
Article.
Article.
Tangential content.
Tangential content.
Returns the arc sine of a value; the returned angle is in the range -pi/2 through pi/2.
Returns the arc tangent of a value; the returned angle is in the range -pi/2 through pi/2.
Returns the angle theta from the conversion of rectangular coordinates (x, y) to polar coordinates (r, theta).
Audio stream.
Audio stream.
Offset text conventionally styled in bold.
Offset text conventionally styled in bold.
Base URL.
Base URL.
BiDi isolate.
BiDi isolate.
BiDi override.
BiDi override.
Block quotation.
Block quotation.
Gets the Blue component (0-255).
Document body.
Document body.
Line break.
Line break.
Gets the Brightness/Lightness component (0-1) of HSL.
Button.
Button.
Button with no additional semantics.
Reset button.
Submit button.
Creates a new Color object.
colorStr
- e.g. "#123456"Canvas for dynamic graphics.
Canvas for dynamic graphics.
Table title.
Table title.
Returns the cube root of a double value.
Returns the smallest (closest to negative infinity) double value that is greater than or equal to the argument and is equal to a mathematical integer.
Pseudo-class: :checked.
Cited title of a work.
Cited title of a work.
Code fragment.
Code fragment.
Table column.
Table column.
Table column group.
Table column group.
Command.
Command.
State or option that can be toggled.
Command with an associated action.
Selection of one item from a list of items.
Processes a given groocss string and outputs as CSS string.
Processes a given InputStream and outputs to given OutputStream.
Processes a given Reader and outputs to given PrintWriter.
Convert a number from one unit into another. Supports sizes (in,pt,pc,mm,cm,m), time (m,ms) and rad/deg.
Returns the trigonometric cosine of an angle (in radians).
Predefined options for other controls.
Predefined options for other controls.
Description or value.
Description or value.
Pseudo-class: :default.
Deleted text.
Deleted text.
Decrease the saturation of a color in the HSL color space by some amount (0-1).
Control for additional on-demand information.
Control for additional on-demand information.
Defining instance.
Defining instance.
Pseudo-class: :disabled.
Generic flow container.
Generic flow container.
Description list.
Description list.
Term or name.
Term or name.
Emphatic stress.
Emphatic stress.
Integration point for plugins.
Integration point for plugins.
Pseudo-class: :empty.
Pseudo-class: :enabled.
Pseudo-class: "nth-child(even)".
Set of related form controls.
Set of related form controls.
Figure caption.
Figure caption.
Figure with optional caption.
Figure with optional caption.
Pseudo-class: :first-child.
Pseudo-class: :first-of-type.
Returns the largest (closest to positive infinity) double value that is less than or equal to the argument and is equal to a mathematical integer.
Pseudo-class: :focus.
Creates a new @font-face element and runs given closure on it.
Footer.
Footer.
User-submittable form.
User-submittable form.
Pseudo-class: :active.
Pseudo-class: :checked.
Pseudo-class: :default.
Pseudo-class: :disabled.
Pseudo-class: :empty.
Pseudo-class: :enabled.
Pseudo-class: :nth-child(even).
Pseudo-class: :first-child.
Pseudo-class: :first-of-type.
Pseudo-class: :focus.
Pseudo-class: :hover.
Pseudo-class: :in-range.
Pseudo-class: :indeterminate.
Pseudo-class: :invalid.
Pseudo-class: :last-child.
Pseudo-class: :last-of-type.
Pseudo-class: :link.
Pseudo-class: :nth-child(odd).
Pseudo-class: :only-child.
Pseudo-class: :only-of-type.
Pseudo-class: :optional.
Pseudo-class: :out-of-range.
Pseudo-class: :read-only.
Pseudo-class: :read-write.
Pseudo-class: :required.
Pseudo-class: :root.
Pseudo-class: :target.
Pseudo-class: :valid.
Pseudo-class: :visited.
Remove all saturation from a color in the HSL color space; the same as calling desaturate(color, 1).
Gets the Green component (0-255).
Remove all saturation from a color in the HSL color space; the same as calling desaturate(color, 1).
Heading.
Heading.
Heading.
Heading.
Heading.
Heading.
Heading.
Heading.
Heading.
Heading.
Heading.
Heading.
Document metadata container.
Document metadata container.
Header.
Header.
Heading group.
Heading group.
Pseudo-class: :hover.
Thematic break.
Thematic break.
Creates an opaque color object from hue (0-360), saturation(0-1), and lightness(0-1) (HSL) values.
Creates an opaque color object from hue (0-360), saturation(0-1), and lightness(0-1) (HSL) values.
Root element.
Root element.
Gets the Hue component (0-1) of HSL.
Offset text conventionally styled in italic.
Offset text conventionally styled in italic.
Nested browsing context (inline frame).
Nested browsing context (inline frame).
Image.
Image.
Pseudo-class: :in-range.
Pseudo-class: :indeterminate.
Input control.
Input control.
Button.
Checkbox.
Color-well control.
Date input control.
Global date-and-time input control.
Local date-and-time input control.
E-mail address input control.
File upload control.
Hidden input control.
Image-coordinates input control.
Year-and-month input control.
Number input control.
Password-input field.
Radio button.
Imprecise number-input control.
Reset button.
Search field.
Submit button.
Telephone-number-input field.
Text-input field.
Time input control.
URL input control.
Year-and-week input control.
Inserted text.
Inserted text.
Pseudo-class: :invalid.
User input.
User input.
Key-pair generator/input control.
Key-pair generator/input control.
Creates a new KeyFrames element and runs given closure on it.
Caption for a form control.
Caption for a form control.
Pseudo-class: :lang.
Pseudo-class: :lang.
Pseudo-class: :last-child.
Pseudo-class: :last-of-type.
Title or explanatory caption.
Title or explanatory caption.
List item.
List item.
Inter-document relationship metadata.
Inter-document relationship metadata.
Pseudo-class: :link.
Returns the natural logarithm (base e) of a double value.
Returns the base 10 logarithm of a double value.
Image-map definition.
Image-map definition.
Marked (highlighted) text.
Marked (highlighted) text.
Math element.
Math element.
List of commands.
List of commands.
Scalar gauge.
Scalar gauge.
Mixes two colors.
color1:
- A color object.color2:
- A color object.weight:
- Optional, a percentage balance point between the two colors, defaults to 0.5.Group of navigational links.
Group of navigational links.
Fallback content for script.
Fallback content for script.
Pseudo-class: :not(@DelegatesTo(StyleGroup) Closure closure).
Pseudo-class: :not().
Pseudo-class: :nth-child.
Pseudo-class: :nth-child.
Pseudo-class: :nth-last-child.
Pseudo-class: :nth-last-child.
Pseudo-class: :nth-last-of-type.
Pseudo-class: :nth-last-of-type.
Pseudo-class: :nth-of-type.
Pseudo-class: :nth-of-type.
Generic external content.
Generic external content.
Pseudo-class: "nth-child(odd)".
Ordered list.
Ordered list.
Pseudo-class: :only-child.
Pseudo-class: :only-of-type.
Group of options.
Group of options.
Option.
Option.
Pseudo-class: :optional.
Pseudo-class: :out-of-range.
Result of a calculation in a form.
Result of a calculation in a form.
Paragraph.
Paragraph.
Initialization parameters for plugins.
Initialization parameters for plugins.
Returns the value of the first argument raised to the power of the second argument.
Preformatted text.
Preformatted text.
Processes a given InputStream and outputs to given OutputStream.
Processes a given Reader and outputs to given PrintWriter.
Processes a given groocss string and outputs as CSS string.
Processes the given closure with given optional config.
Progress indicator.
Progress indicator.
Quoted text.
Quoted text.
Pseudo-class: :read-only.
Pseudo-class: :read-write.
Gets the Red component (0-255).
Pseudo-class: :required.
Creates a new Color object from red,green,blue (0-255),alpha (0-1) values.
Pseudo-class: :root.
Ruby parenthesis.
Ruby parenthesis.
Ruby text.
Ruby text.
Ruby annotation.
Ruby annotation.
Processes the given closure with given optional config.
Struck text.
Struck text.
(sample) output.
(sample) output.
Increase the saturation of a color in the HSL color space by some amount (0-1).
Gets the Saturation component (0-1) of HSL.
Section.
Section.
Creates a new StyleGroup element and runs given closure on it.
Creates a new StyleGroup element and runs given closure on it.
Option-selection form control.
Option-selection form control.
Makes sure that config passes through to root css.
Creates a new StyleGroup element and runs given closure on it.
Creates a new StyleGroup element and runs given closure on it.
Creates a new StyleGroup element, with all selectors in the given list joined with commas. If given list is empty, this method has the same behaviour as styles(closure).
Mix color with black with optional weight (defaults to half).
Returns the trigonometric sine of an angle (in radians).
Small print.
Small print.
Media source.
Media source.
Generic span.
Generic span.
Returns the correctly rounded positive square root of a double value.
Strong importance.
Strong importance.
Creates an unattached StyleGroup object, useful for adding Styles to a StyleGroup conditionally or for reusing a group of styles several times.
Subscript.
Subscript.
Summary, caption, or legend for a details control.
Summary, caption, or legend for a details control.
Superscript.
Superscript.
Scalable vector graphics.
Scalable vector graphics.
Table.
Table.
Returns the trigonometric tangent of an angle (in radians).
Pseudo-class: :target.
Table row group.
Table row group.
Table cell.
Table cell.
Text input area.
Text input area.
Table footer row group.
Table footer row group.
Table header cell.
Table header cell.
Table heading group.
Table heading group.
Date and/or time.
Date and/or time.
Mix color with white with optional weight (defaults to half).
Document title.
Document title.
Converts an angle measured in radians to an approximately equivalent angle measured in degrees.
Converts an angle measured in degrees to an approximately equivalent angle measured in radians.
Table row.
Table row.
Supplementary media track.
Supplementary media track.
Offset text conventionally styled with an underline.
Offset text conventionally styled with an underline.
Unordered list.
Unordered list.
Pseudo-class: :valid.
Variable or placeholder text.
Variable or placeholder text.
Video.
Video.
Pseudo-class: :visited.
Line-break opportunity.
Line-break opportunity.
Writes the CSS to the given file.
Writes the CSS to the given file.
Groovy Documentation