Trait

com.raquo.domtypes.generic.defs.styles

Styles

Related Doc: package styles

Permalink

trait Styles[StyleSetter] extends StylesMisc[StyleSetter]

Trait that contains the contents of the Styles object, so they can be mixed in to other objects if needed.

For type params docs, see StyleBuilders

Self Type
Styles[StyleSetter] with StyleBuilders[StyleSetter]
Linear Supertypes
StylesMisc[StyleSetter], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Styles
  2. StylesMisc
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class AutoStyle[V] extends Style[V]

    Permalink

    A Style that takes any value of type T as a parameter and has an auto value

    A Style that takes any value of type T as a parameter and has an auto value

    Definition Classes
    StylesMisc
  2. class BorderRadius extends Style[String]

    Permalink
    Definition Classes
    StylesMisc
  3. class BorderStyle extends (StylesMisc.this)#OutlineStyle

    Permalink
    Definition Classes
    StylesMisc
  4. class BorderWidth extends Style[String]

    Permalink
    Definition Classes
    StylesMisc
  5. trait MarginAuto extends Style[String]

    Permalink
    Definition Classes
    StylesMisc
  6. class MaxLengthStyle extends Style[String]

    Permalink
    Definition Classes
    StylesMisc
  7. class MinLengthStyle extends (StylesMisc.this)#AutoStyle[String]

    Permalink
    Definition Classes
    StylesMisc
  8. class MultiImageStyle extends Style[String]

    Permalink
    Definition Classes
    StylesMisc
  9. class MultiTimeStyle extends Style[String]

    Permalink
    Definition Classes
    StylesMisc
  10. class NoneOpenStyle[V] extends Style[V]

    Permalink

    A Style that takes any value of type T as a parameter and has an none value

    A Style that takes any value of type T as a parameter and has an none value

    Definition Classes
    StylesMisc
  11. class NormalOpenStyle[V] extends Style[V]

    Permalink

    A Style that takes any value of type T as a parameter and has an normal value

    A Style that takes any value of type T as a parameter and has an normal value

    Definition Classes
    StylesMisc
  12. class OutlineStyle extends Style[String]

    Permalink
    Definition Classes
    StylesMisc
  13. class Overflow extends Style[String]

    Permalink
    Definition Classes
    StylesMisc
  14. class OverflowWrap extends Style[String]

    Permalink
  15. class PageBreak extends Style[String]

    Permalink
    Definition Classes
    StylesMisc
  16. trait TextAlign extends Style[String]

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object alignContent extends Style[String]

    Permalink

    The CSS align-content property aligns a flex container's lines within the flex container when there is extra space on the cross-axis.

    The CSS align-content property aligns a flex container's lines within the flex container when there is extra space on the cross-axis. This property has no effect on single line flexible boxes.

    MDN

  5. object alignItems extends Style[String]

    Permalink

    The CSS align-items property aligns flex items of the current flex line the same way as justify-content but in the perpendicular direction.

    The CSS align-items property aligns flex items of the current flex line the same way as justify-content but in the perpendicular direction.

    MDN

  6. object alignSelf extends Style[String]

    Permalink

    The align-self CSS property aligns flex items of the current flex line overriding the align-items value.

    The align-self CSS property aligns flex items of the current flex line overriding the align-items value. If any of the flex item's cross-axis margin is set to auto, then align-self is ignored.

    MDN

  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. lazy val background: Style[String]

    Permalink

    The background CSS property is a shorthand for setting the individual background values in a single place in the style sheet.

    The background CSS property is a shorthand for setting the individual background values in a single place in the style sheet. background can be used to set the values for one or more of: background-clip, background-color, background-image, background-origin, background-position, background-repeat, background-size, and background-attachment.

    MDN

  9. object backgroundAttachment extends Style[String]

    Permalink

    If a background-image is specified, the background-attachment CSS property determines whether that image's position is fixed within the viewport, or scrolls along with its containing block.

    If a background-image is specified, the background-attachment CSS property determines whether that image's position is fixed within the viewport, or scrolls along with its containing block.

    MDN

  10. object backgroundClip extends Style[String]

    Permalink

    The background-clip CSS property specifies whether an element's background, either the color or image, extends underneath its border.

    The background-clip CSS property specifies whether an element's background, either the color or image, extends underneath its border.

    If there is no background image, this property has only visual effect when the border has transparent regions (because of border-style) or partially opaque regions; otherwise the border covers up the difference.

    MDN

  11. lazy val backgroundColor: Style[String]

    Permalink

    The background-color CSS property sets the background color of an element, either through a color value or the keyword transparent.

    The background-color CSS property sets the background color of an element, either through a color value or the keyword transparent.

    MDN

  12. lazy val backgroundImage: (Styles.this)#MultiImageStyle

    Permalink

    The CSS background-image property sets one or several background images for an element.

    The CSS background-image property sets one or several background images for an element. The images are drawn on successive stacking context layers, with the first specified being drawn as if it is the closest to the user. The borders of the element are then drawn on top of them, and the background-color is drawn beneath them.

    MDN

  13. object backgroundOrigin extends Style[String]

    Permalink

    The background-origin CSS property determines the background positioning area, that is the position of the origin of an image specified using the background-image CSS property.

    The background-origin CSS property determines the background positioning area, that is the position of the origin of an image specified using the background-image CSS property.

    Note that background-origin is ignored when background-attachment is fixed.

    MDN

  14. lazy val backgroundPosition: Style[String]

    Permalink

    The background-position CSS property sets the initial position, relative to the background position layer defined by background-origin for each defined background image.

    The background-position CSS property sets the initial position, relative to the background position layer defined by background-origin for each defined background image.

    MDN

  15. lazy val backgroundRepeat: Style[String]

    Permalink

    The background-repeat CSS property defines how background images are repeated.

    The background-repeat CSS property defines how background images are repeated. A background image can be repeated along the horizontal axis, the vertical axis, both, or not repeated at all. When the repetition of the image tiles doesn't let them exactly cover the background, the way adjustments are done can be controlled by the author: by default, the last image is clipped, but the different tiles can instead be re-sized, or space can be inserted between the tiles.

    MDN

  16. object backgroundSize extends Style[String]

    Permalink

    The background-size CSS property specifies the size of the background images.

    The background-size CSS property specifies the size of the background images. The size of the image can be fully constrained or only partially in order to preserve its intrinsic ratio.

    MDN

  17. lazy val border: Style[String]

    Permalink

    The border CSS property is a shorthand property for setting the individual border property values in a single place in the style sheet.

    The border CSS property is a shorthand property for setting the individual border property values in a single place in the style sheet. border can be used to set the values for one or more of: border-width, border-style, border-color.

    MDN

  18. lazy val borderBottom: Style[String]

    Permalink

    The border-bottom CSS property is a shorthand that sets the values of border-bottom-color, border-bottom-style, and border-bottom-width.

    The border-bottom CSS property is a shorthand that sets the values of border-bottom-color, border-bottom-style, and border-bottom-width. These properties describe the bottom border of elements.

    MDN

  19. lazy val borderBottomColor: Style[String]

    Permalink

    The border-bottom-color CSS property sets the color of the bottom border of an element.

    The border-bottom-color CSS property sets the color of the bottom border of an element. Note that in many cases the shorthand CSS properties border-color or border-bottom are more convenient and preferable.

    MDN

  20. lazy val borderBottomLeftRadius: (Styles.this)#BorderRadius

    Permalink

    The border-bottom-left-radius CSS property sets the rounding of the bottom-left corner of the element.

    The border-bottom-left-radius CSS property sets the rounding of the bottom-left corner of the element. The rounding can be a circle or an ellipse, or if one of the value is 0 no rounding is done and the corner is square.

    MDN

  21. lazy val borderBottomRightRadius: (Styles.this)#BorderRadius

    Permalink

    The border-bottom-right-radius CSS property sets the rounding of the bottom-right corner of the element.

    The border-bottom-right-radius CSS property sets the rounding of the bottom-right corner of the element. The rounding can be a circle or an ellipse, or if one of the value is 0 no rounding is done and the corner is square.

    MDN

  22. lazy val borderBottomStyle: (Styles.this)#BorderStyle

    Permalink

    The border-bottom-style CSS property sets the line style of the bottom border of a box.

    The border-bottom-style CSS property sets the line style of the bottom border of a box.

    MDN

  23. lazy val borderBottomWidth: (Styles.this)#BorderWidth

    Permalink

    The border-bottom-width CSS property sets the width of the bottom border of a box.

    The border-bottom-width CSS property sets the width of the bottom border of a box.

    MDN

  24. object borderCollapse extends Style[String]

    Permalink

    The border-collapse CSS property selects a table's border model.

    The border-collapse CSS property selects a table's border model. This has a big influence on the look and style of the table cells.

    MDN

  25. lazy val borderColor: Style[String]

    Permalink

    The border-color CSS property is a shorthand for setting the color of the four sides of an element's border: border-top-color, border-right-color, border-bottom-color, border-left-color

    The border-color CSS property is a shorthand for setting the color of the four sides of an element's border: border-top-color, border-right-color, border-bottom-color, border-left-color

    MDN

  26. lazy val borderLeft: Style[String]

    Permalink

    The border-left CSS property is a shorthand that sets the values of border-left-color, border-left-style, and border-left-width.

    The border-left CSS property is a shorthand that sets the values of border-left-color, border-left-style, and border-left-width. These properties describe the left border of elements.

    The three values of the shorthand property can be specified in any order, and one or two of them may be omitted.

    MDN

  27. lazy val borderLeftColor: Style[String]

    Permalink

    The border-right-color CSS property sets the color of the right border of an element.

    The border-right-color CSS property sets the color of the right border of an element. Note that in many cases the shorthand CSS properties border-color or border-right are more convenient and preferable.

    MDN

  28. lazy val borderLeftStyle: (Styles.this)#BorderStyle

    Permalink

    The border-left-style CSS property sets the line style of the left border of a box.

    The border-left-style CSS property sets the line style of the left border of a box.

    MDN

  29. lazy val borderLeftWidth: (Styles.this)#BorderWidth

    Permalink

    The border-left-width CSS property sets the width of the left border of a box.

    The border-left-width CSS property sets the width of the left border of a box.

    MDN

  30. lazy val borderRadius: Style[String]

    Permalink

    The border-radius CSS property allows Web authors to define how rounded border corners are.

    The border-radius CSS property allows Web authors to define how rounded border corners are. The curve of each corner is defined using one or two radii, defining its shape: circle or ellipse.

    MDN

  31. lazy val borderRight: Style[String]

    Permalink

    The border-right CSS property is a shorthand that sets the values of border-right-color, border-right-style, and border-right-width.

    The border-right CSS property is a shorthand that sets the values of border-right-color, border-right-style, and border-right-width. These properties describe the right border of elements.

    MDN

  32. lazy val borderRightColor: Style[String]

    Permalink

    The border-right-color CSS property sets the color of the top border of an element.

    The border-right-color CSS property sets the color of the top border of an element. Note that in many cases the shorthand CSS properties border-color or border-right are more convenient and preferable.

    MDN

  33. lazy val borderRightStyle: (Styles.this)#BorderStyle

    Permalink

    The border-right-style CSS property sets the line style of the right border of a box.

    The border-right-style CSS property sets the line style of the right border of a box.

    MDN

  34. lazy val borderRightWidth: (Styles.this)#BorderWidth

    Permalink

    The border-right-width CSS property sets the width of the right border of a box.

    The border-right-width CSS property sets the width of the right border of a box.

    MDN

  35. object borderSpacing extends Style[String]

    Permalink

    The border-spacing CSS property specifies the distance between the borders of adjacent cells (only for the separated borders model).

    The border-spacing CSS property specifies the distance between the borders of adjacent cells (only for the separated borders model). This is equivalent to the cellspacing attribute in presentational HTML, but an optional second value can be used to set different horizontal and vertical spacing.

    MDN

  36. lazy val borderStyle: Style[String]

    Permalink

    The border-style CSS property is a shorthand property for setting the line style for all four sides of the elements border.

    The border-style CSS property is a shorthand property for setting the line style for all four sides of the elements border.

    MDN

  37. lazy val borderTop: Style[String]

    Permalink

    The border-top CSS property is a shorthand that sets the values of border-top-color, border-top-style, and border-top-width.

    The border-top CSS property is a shorthand that sets the values of border-top-color, border-top-style, and border-top-width. These properties describe the top border of elements.

    MDN

  38. lazy val borderTopColor: Style[String]

    Permalink

    The border-top-color CSS property sets the color of the top border of an element.

    The border-top-color CSS property sets the color of the top border of an element. Note that in many cases the shorthand CSS properties border-color or border-top are more convenient and preferable.

    MDN

  39. lazy val borderTopLeftRadius: (Styles.this)#BorderRadius

    Permalink

    The border-top-left-radius CSS property sets the rounding of the top-left corner of the element.

    The border-top-left-radius CSS property sets the rounding of the top-left corner of the element. The rounding can be a circle or an ellipse, or if one of the value is 0 no rounding is done and the corner is square.

    MDN

  40. lazy val borderTopRightRadius: (Styles.this)#BorderRadius

    Permalink

    The border-top-right-radius CSS property sets the rounding of the top-right corner of the element.

    The border-top-right-radius CSS property sets the rounding of the top-right corner of the element. The rounding can be a circle or an ellipse, or if one of the value is 0 no rounding is done and the corner is square.

    MDN

  41. lazy val borderTopStyle: (Styles.this)#BorderStyle

    Permalink

    The border-top-style CSS property sets the line style of the top border of a box.

    The border-top-style CSS property sets the line style of the top border of a box.

    MDN

  42. lazy val borderTopWidth: (Styles.this)#BorderWidth

    Permalink

    The border-top-width CSS property sets the width of the top border of a box.

    The border-top-width CSS property sets the width of the top border of a box.

    MDN

  43. lazy val borderWidth: Style[String]

    Permalink

    The border-width CSS property sets the width of the border of a box.

    The border-width CSS property sets the width of the border of a box. Using the shorthand property border is often more convenient.

    MDN

  44. lazy val bottom: (Styles.this)#AutoStyle[String]

    Permalink

    The bottom CSS property participates in specifying the position of positioned elements.

    The bottom CSS property participates in specifying the position of positioned elements.

    For absolutely positioned elements, that is those with position: absolute or position: fixed, it specifies the distance between the bottom margin edge of the element and the bottom edge of its containing block.

    For relatively positioned elements, that is those with position: relative, it specifies the distance the element is moved above its normal position.

    However, the top property overrides the bottom property, so if top is not auto, the computed value of bottom is the negative of the computed value of top.

    MDN

  45. lazy val boxShadow: Style[String]

    Permalink

    The box-shadow CSS property describes one or more shadow effects as a comma-separated list.

    The box-shadow CSS property describes one or more shadow effects as a comma-separated list. It allows casting a drop shadow from the frame of almost any element. If a border-radius is specified on the element with a box shadow, the box shadow takes on the same rounded corners. The z-ordering of multiple box shadows is the same as multiple text shadows (the first specified shadow is on top).

    MDN

  46. object boxSizing extends Style[String]

    Permalink

    The box-sizing CSS property is used to alter the default CSS box model used to calculate widths and heights of elements.

    The box-sizing CSS property is used to alter the default CSS box model used to calculate widths and heights of elements. It is possible to use this property to emulate the behavior of browsers that do not correctly support the CSS box model specification.

    MDN

  47. object captionSide extends Style[String]

    Permalink

    The caption-side CSS property positions the content of a table's caption on the specified side.

    The caption-side CSS property positions the content of a table's caption on the specified side.

    MDN

  48. object clear extends Style[String]

    Permalink

    The clear CSS property specifies whether an element can be next to floating elements that precede it or must be moved down (cleared) below them.

    The clear CSS property specifies whether an element can be next to floating elements that precede it or must be moved down (cleared) below them.

    The clear property applies to both floating and non-floating elements.

    MDN

  49. object clip extends (Styles.this)#AutoStyle[String]

    Permalink

    The clip CSS property defines what portion of an element is visible.

    The clip CSS property defines what portion of an element is visible. The clip property applies only to elements with position:absolute.

    MDN

  50. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  51. object color extends Style[String]

    Permalink

    The CSS color property sets the foreground color of an element's text content, and its decorations.

    The CSS color property sets the foreground color of an element's text content, and its decorations. It doesn't affect any other characteristic of the element; it should really be called text-color and would have been named so, save for historical reasons and its appearance in CSS Level 1.

    MDN

  52. object cursor extends Style[String]

    Permalink

    The cursor CSS property specifies the mouse cursor displayed when the mouse pointer is over an element.

    The cursor CSS property specifies the mouse cursor displayed when the mouse pointer is over an element.

    MDN

  53. object direction extends Style[String]

    Permalink

    Set the direction CSS property to match the direction of the text: rtl for Hebrew or Arabic text and ltr for other scripts.

    Set the direction CSS property to match the direction of the text: rtl for Hebrew or Arabic text and ltr for other scripts. This is typically done as part of the document (e.g., using the dir attribute in HTML) rather than through direct use of CSS.

    The property sets the base text direction of block-level elements and the direction of embeddings created by the unicode-bidi property. It also sets the default alignment of text and block-level elements and the direction that cells flow within a table row.

    Unlike the dir attribute in HTML, the direction property is not inherited from table columns into table cells, since CSS inheritance follows the document tree, and table cells are inside of the rows but not inside of the columns.

    The direction and unicode-bidi properties are the two only properties which are not affected by the all shorthand.

    MDN

  54. object display extends Style[String]

    Permalink

    The display CSS property specifies the type of rendering box used for an element.

    The display CSS property specifies the type of rendering box used for an element. In HTML, default display property values are taken from behaviors described in the HTML specifications or from the browser/user default stylesheet. The default value in XML is inline.

    In addition to the many different display box types, the value none lets you turn off the display of an element; when you use none, all descendant elements also have their display turned off. The document is rendered as though the element doesn't exist in the document tree.

    MDN

  55. object emptyCells extends Style[String]

    Permalink

    he empty-cells CSS property specifies how user agents should render borders and backgrounds around cells that have no visible content.

    he empty-cells CSS property specifies how user agents should render borders and backgrounds around cells that have no visible content.

    MDN

  56. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  57. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  58. final lazy val flex: Style[String]

    Permalink

    The flex CSS property is a shorthand property specifying the ability of a flex item to alter its dimensions to fill available space.

    The flex CSS property is a shorthand property specifying the ability of a flex item to alter its dimensions to fill available space. Flex items can be stretched to use available space proportional to their flex grow factor or their flex shrink factor to prevent overflow.

    MDN

  59. final lazy val flexBasis: Style[String]

    Permalink

    The CSS flex-basis property specifies the flex basis which is the initial main size of a flex item.

    The CSS flex-basis property specifies the flex basis which is the initial main size of a flex item. The property determines the size of the content-box unless specified otherwise using box-sizing.

    MDN

  60. object flexDirection extends Style[String]

    Permalink

    The CSS flex-direction property specifies how flex items are placed in the flex container defining the main axis and the direction (normal or reversed).

    The CSS flex-direction property specifies how flex items are placed in the flex container defining the main axis and the direction (normal or reversed).

    Note that the value row and row-reverse are affected by the directionality of the flex container. If its dir attribute is ltr, row represents the horizontal axis oriented from the left to the right, and row-reverse from the right to the left; if the dir attribute is rtl, row represents the axis oriented from the right to the left, and row-reverse from the left to the right.

    MDN

  61. final lazy val flexGrow: Style[Double]

    Permalink

    The CSS flex-grow property specifies the flex grow factor of a flex item.

    The CSS flex-grow property specifies the flex grow factor of a flex item.

    MDN

  62. final lazy val flexShrink: Style[Double]

    Permalink

    The CSS flex-shrink property specifies the flex shrink factor of a flex item.

    The CSS flex-shrink property specifies the flex shrink factor of a flex item.

    MDN

  63. object flexWrap extends Style[String]

    Permalink

    The CSS flex-wrap property specifies whether the children are forced into a single line or if the items can be flowed on multiple lines.

    The CSS flex-wrap property specifies whether the children are forced into a single line or if the items can be flowed on multiple lines.

    MDN

  64. object float extends Style[String]

    Permalink

    The float CSS property specifies that an element should be taken from the normal flow and placed along the left or right side of its container, where text and inline elements will wrap around it.

    The float CSS property specifies that an element should be taken from the normal flow and placed along the left or right side of its container, where text and inline elements will wrap around it. A floating element is one where the computed value of float is not none.

    MDN

  65. lazy val font: Style[String]

    Permalink

    The font CSS property is either a shorthand property for setting font-style, font-variant, font-weight, font-size, line-height and font-family, or a way to set the element's font to a system font, using specific keywords.

    The font CSS property is either a shorthand property for setting font-style, font-variant, font-weight, font-size, line-height and font-family, or a way to set the element's font to a system font, using specific keywords.

    MDN

  66. lazy val fontFamily: Style[String]

    Permalink

    The font-family CSS property allows for a prioritized list of font family names and/or generic family names to be specified for the selected element.

    The font-family CSS property allows for a prioritized list of font family names and/or generic family names to be specified for the selected element. Unlike most other CSS properties, values are separated by a comma to indicate that they are alternatives. The browser will select the first font on the list that is installed on the computer, or that can be downloaded using the information provided by a @font-face at-rule.

    MDN

  67. lazy val fontFeatureSettings: Style[String]

    Permalink

    The font-feature-settings CSS property allows control over advanced typographic features in OpenType fonts.

    The font-feature-settings CSS property allows control over advanced typographic features in OpenType fonts.

    MDN

  68. object fontSize extends Style[String]

    Permalink

    The font-size CSS property specifies the size of the font – specifically the desired height of glyphs from the font.

    The font-size CSS property specifies the size of the font – specifically the desired height of glyphs from the font. Setting the font size may, in turn, change the size of other items, since it is used to compute the value of em and ex Length units.

    MDN

  69. lazy val fontSizeAdjust: Style[Double]

    Permalink

    The font-size-adjust CSS property specifies that font size should be chosen based on the height of lowercase letters rather than the height of capital letters.

    The font-size-adjust CSS property specifies that font size should be chosen based on the height of lowercase letters rather than the height of capital letters.

    This is useful since the legibility of fonts, especially at small sizes, is determined more by the size of lowercase letters than by the size of capital letters. This can cause problems when the first-choice font-family is unavailable and its replacement has a significantly different aspect ratio (the ratio of the size of lowercase letters to the size of the font).

    MDN

  70. object fontStyle extends Style[String]

    Permalink

    The font-style CSS property allows italic or oblique faces to be selected within a font-family.

    The font-style CSS property allows italic or oblique faces to be selected within a font-family.

    MDN

  71. object fontWeight extends Style[Int]

    Permalink

    The font-weight CSS property specifies the weight or boldness of the font.

    The font-weight CSS property specifies the weight or boldness of the font. However, some fonts are not available in all weights; some are available only on normal and bold.

    Numeric font weights for fonts that provide more than just normal and bold. If the exact weight given is unavailable, then 600-900 use the closest available darker weight (or, if there is none, the closest available lighter weight), and 100-500 use the closest available lighter weight (or, if there is none, the closest available darker weight). This means that for fonts that provide only normal and bold, 100-500 are normal, and 600-900 are bold.

    MDN

  72. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  73. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  74. lazy val height: (Styles.this)#AutoStyle[String]

    Permalink

    The height CSS property specifies the height of the content area of an element.

    The height CSS property specifies the height of the content area of an element. The content area is inside the padding, border, and margin of the element.

    The min-height and max-height properties override height.

    MDN

  75. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  76. object justifyContent extends Style[String]

    Permalink

    The CSS justify-content property defines how a browser distributes available space between and around elements when aligning flex items in the main-axis of the current line.

    The CSS justify-content property defines how a browser distributes available space between and around elements when aligning flex items in the main-axis of the current line. The alignment is done after the lengths and auto margins are applied, meaning that, if there is at least one flexible element, with flex-grow different than 0, it will have no effect as there won't be any available space.

    MDN

  77. lazy val left: (Styles.this)#AutoStyle[String]

    Permalink

    The left CSS property specifies part of the position of positioned elements.

    The left CSS property specifies part of the position of positioned elements.

    For absolutely positioned elements (those with position: absolute or position: fixed), it specifies the distance between the left margin edge of the element and the left edge of its containing block.

    MDN

  78. lazy val letterSpacing: (Styles.this)#NormalOpenStyle[String]

    Permalink

    The letter-spacing CSS property specifies spacing behavior between text characters.

    The letter-spacing CSS property specifies spacing behavior between text characters.

    MDN

  79. lazy val lineHeight: (Styles.this)#NormalOpenStyle[String]

    Permalink

    On block level elements, the line-height CSS property specifies the minimal height of line boxes within the element.

    On block level elements, the line-height CSS property specifies the minimal height of line boxes within the element.

    On non-replaced inline elements, line-height specifies the height that is used in the calculation of the line box height.

    On replaced inline elements, like buttons or other input element, line-height has no effect.

    MDN

  80. lazy val listStyle: Style[String]

    Permalink

    The list-style CSS property is a shorthand property for setting list-style-type, list-style-image and list-style-position.

    The list-style CSS property is a shorthand property for setting list-style-type, list-style-image and list-style-position.

    MDN

  81. object listStyleImage extends Style[String]

    Permalink

    The list-style-image CSS property sets the image that will be used as the list item marker.

    The list-style-image CSS property sets the image that will be used as the list item marker. It is often more convenient to use the shorthand list-style.

    MDN

  82. object listStylePosition extends Style[String]

    Permalink

    The list-style-position CSS property specifies the position of the marker box in the principal block box.

    The list-style-position CSS property specifies the position of the marker box in the principal block box. It is often more convenient to use the shortcut list-style.

    MDN

  83. object listStyleType extends Style[String]

    Permalink

    The list-style-type CSS property specifies appearance of a list item element.

    The list-style-type CSS property specifies appearance of a list item element. As it is the only one who defaults to display:list-item, this is usually a li element, but can be any element with this display value.

    MDN

  84. object margin extends Style[String]

    Permalink

    The margin CSS property sets the margin for all four sides.

    The margin CSS property sets the margin for all four sides. It is a shorthand to avoid setting each side separately with the other margin properties: margin-top, margin-right, margin-bottom and margin-left.

    Negative values are also allowed.

    MDN

  85. lazy val marginBottom: (Styles.this)#AutoStyle[String]

    Permalink

    The margin-bottom CSS property of an element sets the margin space required on the bottom of an element.

    The margin-bottom CSS property of an element sets the margin space required on the bottom of an element. A negative value is also allowed.

    MDN

  86. lazy val marginLeft: Style[String] with (Styles.this)#MarginAuto

    Permalink

    The margin-left CSS property of an element sets the margin space required on the left side of a box associated with an element.

    The margin-left CSS property of an element sets the margin space required on the left side of a box associated with an element. A negative value is also allowed.

    The vertical margins of two adjacent boxes may fuse. This is called margin collapsing.

    MDN

  87. lazy val marginRight: Style[String] with (Styles.this)#MarginAuto

    Permalink

    The margin-right CSS property of an element sets the margin space required on the bottom of an element.

    The margin-right CSS property of an element sets the margin space required on the bottom of an element. A negative value is also allowed.

    MDN

  88. lazy val marginTop: Style[String] with (Styles.this)#MarginAuto

    Permalink

    The margin-top CSS property of an element sets the margin space required on the top of an element.

    The margin-top CSS property of an element sets the margin space required on the top of an element. A negative value is also allowed.

    MDN

  89. object mask extends Style[String]

    Permalink

    If the value is a URI value, the element pointed to by the URI is used as an SVG mask.

    If the value is a URI value, the element pointed to by the URI is used as an SVG mask.

    MDN

  90. lazy val maxHeight: (Styles.this)#MaxLengthStyle

    Permalink

    The max-height CSS property is used to set the maximum height of a given element.

    The max-height CSS property is used to set the maximum height of a given element. It prevents the used value of the height property from becoming larger than the value specified for max-height.

    max-height overrides height, but min-height overrides max-height.

    MDN

  91. lazy val maxWidth: (Styles.this)#MaxLengthStyle

    Permalink

    The max-width CSS property is used to set the maximum width of a given element.

    The max-width CSS property is used to set the maximum width of a given element. It prevents the used value of the width property from becoming larger than the value specified for max-width.

    max-width overrides width, but min-width overrides max-width.

    MDN

  92. lazy val minHeight: (Styles.this)#MinLengthStyle

    Permalink

    The min-height CSS property is used to set the minimum height of a given element.

    The min-height CSS property is used to set the minimum height of a given element. It prevents the used value of the height property from becoming smaller than the value specified for min-height.

    The value of min-height overrides both max-height and height.

    MDN

  93. lazy val minWidth: (Styles.this)#MinLengthStyle

    Permalink

    The min-width CSS property is used to set the minimum width of a given element.

    The min-width CSS property is used to set the minimum width of a given element. It prevents the used value of the width property from becoming smaller than the value specified for min-width.

    The value of min-width overrides both max-width and width.

    MDN

  94. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  95. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  96. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  97. lazy val opacity: Style[Double]

    Permalink

    The opacity CSS property specifies the transparency of an element, that is, the degree to which the background behind the element is overlaid.

    The opacity CSS property specifies the transparency of an element, that is, the degree to which the background behind the element is overlaid.

    The value applies to the element as a whole, including its contents, even though the value is not inherited by child elements. Thus, an element and its contained children all have the same opacity relative to the element's background, even if the element and its children have different opacities relative to one another.

    Using this property with a value different than 1 places the element in a new stacking context.

    MDN

  98. lazy val outline: Style[String]

    Permalink

    The CSS outline property is a shorthand property for setting one or more of the individual outline properties outline-style, outline-width and outline-color in a single rule.

    The CSS outline property is a shorthand property for setting one or more of the individual outline properties outline-style, outline-width and outline-color in a single rule. In most cases the use of this shortcut is preferable and more convenient.

    Outlines do not take up space, they are drawn above the content.

    MDN

  99. object outlineColor extends Style[String]

    Permalink

    The outline-color CSS property sets the color of the outline of an element.

    The outline-color CSS property sets the color of the outline of an element. An outline is a line that is drawn around elements, outside the border edge, to make the element stand out.

    MDN

  100. lazy val outlineStyle: (Styles.this)#OutlineStyle

    Permalink

    The outline-style CSS property is used to set the style of the outline of an element.

    The outline-style CSS property is used to set the style of the outline of an element. An outline is a line that is drawn around elements, outside the border edge, to make the element stand out.

    MDN

  101. object outlineWidth extends Style[String]

    Permalink

    The outline-width CSS property is used to set the width of the outline of an element.

    The outline-width CSS property is used to set the width of the outline of an element. An outline is a line that is drawn around elements, outside the border edge, to make the element stand out.

    MDN

  102. object overflow extends (Styles.this)#Overflow

    Permalink

    The overflow CSS property specifies whether to clip content, render scroll bars or display overflow content of a block-level element.

    The overflow CSS property specifies whether to clip content, render scroll bars or display overflow content of a block-level element.

    MDN

  103. lazy val overflowWrap: (Styles.this)#OverflowWrap

    Permalink

    The overflow-wrap CSS property specifies whether or not the browser should insert line breaks within words to prevent text from overflowing its content box.

    The overflow-wrap CSS property specifies whether or not the browser should insert line breaks within words to prevent text from overflowing its content box.

    See also: wordWrap

    MDN

  104. lazy val overflowX: (Styles.this)#Overflow

    Permalink

    The overflow-x CSS property specifies whether to clip content, render a scroll bar or display overflow content of a block-level element, when it overflows at the left and right edges.

    The overflow-x CSS property specifies whether to clip content, render a scroll bar or display overflow content of a block-level element, when it overflows at the left and right edges.

    MDN

  105. lazy val overflowY: (Styles.this)#Overflow

    Permalink

    The overflow-y CSS property specifies whether to clip content, render a scroll bar, or display overflow content of a block-level element, when it overflows at the top and bottom edges.

    The overflow-y CSS property specifies whether to clip content, render a scroll bar, or display overflow content of a block-level element, when it overflows at the top and bottom edges.

    MDN

  106. lazy val padding: Style[String]

    Permalink

    The padding CSS property sets the required padding space on all sides of an element.

    The padding CSS property sets the required padding space on all sides of an element. The padding area is the space between the content of the element and its border. Negative values are not allowed.

    The padding property is a shorthand to avoid setting each side separately (padding-top, padding-right, padding-bottom, padding-left).

    MDN

  107. lazy val paddingBottom: Style[String]

    Permalink

    The padding-bottom CSS property of an element sets the height of the padding area at the bottom of an element.

    The padding-bottom CSS property of an element sets the height of the padding area at the bottom of an element. The padding area is the space between the content of the element and it's border. Contrary to margin-bottom values, negative values of padding-bottom are invalid.

    MDN

  108. lazy val paddingLeft: Style[String]

    Permalink

    The padding-left CSS property of an element sets the padding space required on the left side of an element.

    The padding-left CSS property of an element sets the padding space required on the left side of an element. The padding area is the space between the content of the element and it's border. A negative value is not allowed.

    MDN

  109. lazy val paddingRight: Style[String]

    Permalink

    The padding-right CSS property of an element sets the padding space required on the right side of an element.

    The padding-right CSS property of an element sets the padding space required on the right side of an element. The padding area is the space between the content of the element and its border. Negative values are not allowed.

    MDN

  110. lazy val paddingTop: Style[String]

    Permalink

    The padding-top CSS property of an element sets the padding space required on the top of an element.

    The padding-top CSS property of an element sets the padding space required on the top of an element. The padding area is the space between the content of the element and its border. Contrary to margin-top values, negative values of padding-top are invalid.

    MDN

  111. object pointerEvents extends Style[String]

    Permalink

    The CSS property pointer-events allows authors to control under what circumstances (if any) a particular graphic element can become the target of mouse events.

    The CSS property pointer-events allows authors to control under what circumstances (if any) a particular graphic element can become the target of mouse events. When this property is unspecified, the same characteristics of the visiblePainted value apply to SVG content.

    In addition to indicating that the element is not the target of mouse events, the value none instructs the mouse event to go "through" the element and target whatever is "underneath" that element instead.

    MDN

  112. object position extends Style[String]

    Permalink

    The position CSS property chooses alternative rules for positioning elements, designed to be useful for scripted animation effects.

    The position CSS property chooses alternative rules for positioning elements, designed to be useful for scripted animation effects.

    MDN

  113. object quotes extends Style[String]

    Permalink
  114. lazy val resize: Style[String]

    Permalink

    The resize CSS property sets whether an element is resizable, and if so, in which direction(s).

    The resize CSS property sets whether an element is resizable, and if so, in which direction(s).

    MDN

  115. lazy val right: (Styles.this)#AutoStyle[String]

    Permalink

    The right CSS property specifies part of the position of positioned elements.

    The right CSS property specifies part of the position of positioned elements.

    For absolutely positioned elements (those with position: absolute or position: fixed), it specifies the distance between the right margin edge of the element and the right edge of its containing block.

    The right property has no effect on non-positioned elements.

    When both the right CSS property and the left CSS property are defined, the position of the element is overspecified. In that case, the left value has precedence when the container is left-to-right (that is that the right computed value is set to -left), and the right value has precedence when the container is right-to-left (that is that the left computed value is set to -right).

    MDN

  116. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  117. object tableLayout extends Style[String]

    Permalink
  118. lazy val textAlign: Style[String] with (Styles.this)#TextAlign

    Permalink

    The text-align CSS property describes how inline content like text is aligned in its parent block element.

    The text-align CSS property describes how inline content like text is aligned in its parent block element. text-align does not control the alignment of block elements itself, only their inline content.

    MDN

  119. lazy val textAlignLast: Style[String] with (Styles.this)#TextAlign

    Permalink

    The text-align-last CSS property describes how the last line of a block or a line, right before a forced line break, is aligned.

    The text-align-last CSS property describes how the last line of a block or a line, right before a forced line break, is aligned.

    MDN

  120. object textDecoration extends Style[String]

    Permalink

    The text-decoration CSS property is used to set the text formatting to underline, overline, line-through or blink.

    The text-decoration CSS property is used to set the text formatting to underline, overline, line-through or blink.

    MDN

  121. lazy val textIndent: Style[String]

    Permalink

    The text-indent CSS property specifies how much horizontal space should be left before the beginning of the first line of the text content of an element.

    The text-indent CSS property specifies how much horizontal space should be left before the beginning of the first line of the text content of an element. Horizontal spacing is with respect to the left (or right, for right-to-left layout) edge of the containing block element's box.

    MDN

  122. object textOverflow extends Style[String]

    Permalink

    The text-overflow CSS property determines how overflowed content that is not displayed is signaled to the users.

    The text-overflow CSS property determines how overflowed content that is not displayed is signaled to the users. It can be clipped, or display an ellipsis ('…', U+2026 HORIZONTAL ELLIPSIS) or a Web author-defined string.

    MDN

  123. lazy val textShadow: (Styles.this)#NoneOpenStyle[String]

    Permalink

    The text-shadow CSS property adds shadows to text.

    The text-shadow CSS property adds shadows to text. It accepts a comma-separated list of shadows to be applied to the text and text-decorations of the element.

    Each shadow is specified as an offset from the text, along with optional color and blur radius values.

    Multiple shadows are applied front-to-back, with the first-specified shadow on top.

    MDN

  124. object textTransform extends Style[String]

    Permalink

    The text-transform CSS property specifies how to capitalize an element's text.

    The text-transform CSS property specifies how to capitalize an element's text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.

    MDN

  125. object textUnderlinePosition extends Style[String]

    Permalink

    The CSS text-underline-position property specifies the position of the underline which is set using the text-decoration property underline value.

    The CSS text-underline-position property specifies the position of the underline which is set using the text-decoration property underline value.

    This property inherits and is not reset by the text-decoration shorthand, allowing to easily set it globally for a given document.

    MDN

  126. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  127. lazy val top: (Styles.this)#AutoStyle[String]

    Permalink

    The top CSS property specifies part of the position of positioned elements.

    The top CSS property specifies part of the position of positioned elements. It has no effect on non-positioned elements.

    For absolutely positioned elements (those with position: absolute or position: fixed), it specifies the distance between the top margin edge of the element and the top edge of its containing block.

    For relatively positioned elements (those with position: relative), it specifies the amount the element is moved below its normal position.

    When both top and bottom are specified, the element position is over-constrained and the top property has precedence: the computed value of bottom is set to -top, while its specified value is ignored.

    MDN

  128. lazy val transition: Style[String]

    Permalink

    The CSS transition property is a shorthand property for transition-property, transition-duration, transition-timing-function, and transition-delay.

    The CSS transition property is a shorthand property for transition-property, transition-duration, transition-timing-function, and transition-delay. It allows to define the transition between two states of an element. Different states may be defined using pseudo-classes like :hover or :active or dynamically set using JavaScript.

    MDN

  129. lazy val transitionDelay: (Styles.this)#MultiTimeStyle

    Permalink

    The transition-delay CSS property specifies the amount of time to wait between a change being requested to a property that is to be transitioned and the start of the transition effect.

    The transition-delay CSS property specifies the amount of time to wait between a change being requested to a property that is to be transitioned and the start of the transition effect.

    A value of 0s, or 0ms, indicates that the property will begin to animate its transition immediately when the value changes; positive values will delay the start of the transition effect for the corresponding number of seconds. Negative values cause the transition to begin immediately, but to cause the transition to seem to begin partway through the animation effect.

    You may specify multiple delays; each delay will be applied to the corresponding property as specified by the transition-property property, which acts as a master list. If there are fewer delays specified than in the master list, missing values are set to the initial value (0s). If there are more delays, the list is simply truncated to the right size. In both case the CSS declaration stays valid.

    MDN

  130. lazy val transitionDuration: (Styles.this)#MultiTimeStyle

    Permalink

    The transition-duration CSS property specifies the number of seconds or milliseconds a transition animation should take to complete.

    The transition-duration CSS property specifies the number of seconds or milliseconds a transition animation should take to complete. By default, the value is 0s, meaning that no animation will occur.

    You may specify multiple durations; each duration will be applied to the corresponding property as specified by the transition-property property, which acts as a master list. If there are fewer durations specified than in the master list, the user agent repeat the list of durations. If there are more durations, the list is simply truncated to the right size. In both case the CSS declaration stays valid.

    MDN

  131. lazy val transitionProperty: Style[String]

    Permalink

    The transition-property CSS property is used to specify the names of CSS properties to which a transition effect should be applied.

    The transition-property CSS property is used to specify the names of CSS properties to which a transition effect should be applied.

    MDN

  132. lazy val transitionTimingFunction: Style[String]

    Permalink

    The CSS transition-timing-function property is used to describe how the intermediate values of the CSS properties being affected by a transition effect are calculated.

    The CSS transition-timing-function property is used to describe how the intermediate values of the CSS properties being affected by a transition effect are calculated. This in essence lets you establish an acceleration curve, so that the speed of the transition can vary over its duration.

    MDN

  133. object verticalAlign extends Style[String]

    Permalink

    The vertical-align CSS property specifies the vertical alignment of an inline or table-cell box.

    The vertical-align CSS property specifies the vertical alignment of an inline or table-cell box.

    MDN

  134. object visibility extends Style[String]

    Permalink
  135. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  136. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  137. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  138. object whiteSpace extends Style[String]

    Permalink

    The white-space CSS property is used to to describe how whitespace inside the element is handled.

    The white-space CSS property is used to to describe how whitespace inside the element is handled.

    MDN

  139. lazy val width: (Styles.this)#AutoStyle[String]

    Permalink

    The width CSS property specifies the width of the content area of an element.

    The width CSS property specifies the width of the content area of an element. The content area is inside the padding, border, and margin of the element.

    The min-width and max-width properties override width.

    MDN

  140. lazy val wordSpacing: (Styles.this)#NormalOpenStyle[String]

    Permalink

    The word-spacing CSS property specifies spacing behavior between tags and words.

    The word-spacing CSS property specifies spacing behavior between tags and words.

    MDN

  141. lazy val wordWrap: (Styles.this)#OverflowWrap

    Permalink

    The original non-standard property that was eventually standardized as "overflow-wrap".

    The original non-standard property that was eventually standardized as "overflow-wrap".

    See also: overflowWrap

  142. lazy val zIndex: (Styles.this)#AutoStyle[Int]

    Permalink

    The z-index CSS property specifies the z-order of an element and its descendants.

    The z-index CSS property specifies the z-order of an element and its descendants. When elements overlap, z-order determines which one covers the other. An element with a larger z-index generally covers an element with a lower one.

    MDN

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from StylesMisc[StyleSetter]

Inherited from AnyRef

Inherited from Any

Ungrouped