StyleSheet
Properties
how a flex item is placed across the line, auto for the align-items of its container
the time in seconds before an animation starts
the time in seconds an iteration of an animation takes
the number of iterations of an animation, infinite for Double.POSITIVE_INFINITY
The names of the animations of the element, none for none. The other animation properties are lists too, their values repeat for the animations that they do not give, as in CSS.
how an animation moves from keyframe to keyframe
the proportion of the width to the height, an auto height follows the width; null for auto
the image of the background, a gradient, drawn under the element; background: linear-gradient(…) sets it
the radius of the corners of the box, in pixels or as a percentage of its shorter side
the shadows of the box, drawn under the element, outside its box
True when the element clips its content, when it scrolls along one of its axes; along an axis that is visible the content is clipped too, but does not scroll
The selector of CSS of the sheet, made when the sheet is first matched: child and descendant relate the selector to the selector of their parent sheet after the sheet is made
the size of a flex item along the main axis before it grows or shrinks, auto for its width or height
The font families, separated by commas, the first that is registered is used: in the font manager of the control manager, then in org.openrndr.extra.textwriter.Fonts, the fonts of all programs
the weight of the font, from 100 to 900, 400 is regular and 700 bold
the space added after every character, normal is none; inherited
The distance between the baselines of the lines of text: normal, LinearDimension.Auto, the line height of the font, a number or a percentage of the font size, or a length; inherited
the opacity of the element and its descendants, from 0 for invisible to 1 for opaque
the order of a flex item in its container, items with the same order keep the order of the document
the color of the outline
the space between the box and its outline
the width of the outline drawn around the box, outside its border, for example to show the keyboard focus
how the content overflows horizontally, as overflow when it is not set
how the content overflows vertically, as overflow when it is not set
true when the content scrolls horizontally: by the program for Overflow.Hidden, also by the user for Overflow.Scroll
true when the content scrolls vertically, see scrollableX
the color of the thumbs of scrollbars
the cursor over scrollbars, and while a scrollbar is dragged
the color of the tracks of scrollbars
When scrollbars are shown: ScrollbarVisibility.Auto shows them while the element scrolls, while they are hovered and dragged, and fades them out after that; ScrollbarVisibility.Always always shows them
the thickness of the scrollbars of elements that scroll, in pixels; 0 hides them
how the element scrolls its content, smoothly by default
the specificity of the selector
the lines drawn with text, like underline or line-through; inherited by the text of the element
how text that does not fit in a single line is shown, see TextOverflow; inherited by the text of the element
the offsets of a positioned element from the sides of what it is positioned in; auto is 0 for top and left
The transform of the element and its descendants, like scale(1.05) rotate(2deg), around transformOrigin; it does not change the layout
the point that the element is transformed around, in fractions of its size, the center by default
the time in seconds before the colors and the opacity of the element start to change, see transitionDuration
The time in seconds it takes the colors and the opacity of the element to change to new values, for example when it is hovered; 0 changes them at once
The properties that transition, see transitionDuration: of background-color, color, border-color, outline-color and opacity, all for all of them
how the colors and the opacity of the element change over time, see transitionDuration
how white space and line breaks are handled, see WhiteSpace; inherited
Functions
Sets the properties of the CSS declarations, like width: 100px; background-color: #333 !important, with shorthands like margin, padding, border and transition, and custom properties like --accent: #f80 that values use with var(), like color: var(--accent). Declarations of properties that are not known and values that are not valid are left out, as in CSS.
the properties that block sets are !important: they win over the declarations that are not
removes the property name, so that the cascade decides it again
sets the property name to value, a value of the property or a CssKeyword