scalatags.stylesheet

StyleSheet

abstract class StyleSheet extends AnyRef

Inherit from me to define a stylesheet which you can use to define styles which get serialized to a String. Does not allow the use of cascading tag/class selectors; use CascadingStyleSheet for that.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. StyleSheet
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StyleSheet()(implicit sourceName: FullName)

Type Members

  1. class Creator extends PseudoSelectors[Creator]

    Attributes
    protected[this]

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. val &: Selector

    Namespace that holds all the css pseudo-selectors, to avoid collisions with tags and style-names and other things.

    Namespace that holds all the css pseudo-selectors, to avoid collisions with tags and style-names and other things.

    Attributes
    protected[this]
  5. object * extends Selector

    * in a CSS selector.

  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. def allClasses: Seq[Cls]

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. object cls extends Creator

    Used to define a new, uniquely-named class with a set of styles associated with it.

  12. def customSheetName: Option[String]

    The name of this CSS stylesheet.

    The name of this CSS stylesheet. Defaults to the name of the trait, but you can override

  13. def defaultSheetName: String

    The default name of a stylesheet, filled in with the StyleSheet implicit macro

    The default name of a stylesheet, filled in with the StyleSheet implicit macro

    Attributes
    protected[this]
  14. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  19. def initStyleSheet()(implicit sourceClasses: SourceClasses[StyleSheet.this.type]): Unit

    All classes defined in this stylesheet, filled in with the StyleSheet implicit macro

    All classes defined in this stylesheet, filled in with the StyleSheet implicit macro

    Attributes
    protected[this]
  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. def nameFor(memberName: String, pseudoSelectors: String): String

    Converts the name of the StyleSheet's, the name of the member, and any applicable pseudo-selectors into the name of the CSS class.

    Converts the name of the StyleSheet's, the name of the member, and any applicable pseudo-selectors into the name of the CSS class.

    Attributes
    protected[this]
  22. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  25. def styleSheetText: String

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

    Definition Classes
    AnyRef
  27. def toString(): String

    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped