Class

scalatags.stylesheet

StyleSheet

Related Doc: package stylesheet

Permalink

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
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink

Type Members

  1. class Creator extends PseudoSelectors[Creator]

    Permalink
    Attributes
    protected[this]

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. val &: Selector

    Permalink

    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]
  4. object * extends Selector

    Permalink

    * in a CSS selector.

    * in a CSS selector.

    Attributes
    protected[this]
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. def allClasses: Seq[Cls]

    Permalink
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

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

    Permalink

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

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

    Attributes
    protected[this]
  10. def customSheetName: Option[String]

    Permalink

    The name of this CSS stylesheet.

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

  11. def defaultSheetName: String

    Permalink

    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]
  12. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Permalink

    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]
  18. final def isInstanceOf[T0]: Boolean

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

    Permalink

    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]
  20. final def ne(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. def styleSheetText: String

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

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped