scalatags.stylesheet
Type members
Classlikes
A StyleSheet which lets you define cascading tag/class selectors. Separate from StyleSheet because you almost never need these things, so it's good to make it explicit when you do to prevent accidental cascading.
A StyleSheet which lets you define cascading tag/class selectors. Separate from StyleSheet because you almost never need these things, so it's good to make it explicit when you do to prevent accidental cascading.
A rendered class; both the class name
(used when injected into Scalatags
fragments) and the structure
(used when injected into further class definitions)
A rendered class; both the class name
(used when injected into Scalatags
fragments) and the structure
(used when injected into further class definitions)
Provides all the CSS pseudo-selectors as strongly-typed
properties when mixed in. The only requirement is that you
define extend
to tell it what each of these properties
returns
Provides all the CSS pseudo-selectors as strongly-typed
properties when mixed in. The only requirement is that you
define extend
to tell it what each of these properties
returns
Lets you chain pseudo-selectors e.g. hover.visited
and have it properly
translate into :hover:visited
when rendered.
Lets you chain pseudo-selectors e.g. hover.visited
and have it properly
translate into :hover:visited
when rendered.
- Companion
- object
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.
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.
Something which can be used as part of a StyleSheet
Something which can be used as part of a StyleSheet
- Companion
- object