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.
- Alphabetic
- By Inheritance
- StyleSheet
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new StyleSheet()(implicit sourceName: FullName)
Type Members
- class Creator extends PseudoSelectors[Creator]
- Attributes
- protected[this]
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- 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]
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def allClasses: Seq[Cls]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- 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
- 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]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- 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]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def styleSheetText: String
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- object * extends Selector
*
in a CSS selector.*
in a CSS selector.- Attributes
- protected[this]
- object cls extends Creator
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]