#include <Wt/WCssTheme.h>
CSS-based theme support. This implements the classic Wt themes, which were available before theme support was customized with the addition of the WTheme class.
The following table shows which style classes are applied by this theme.
* CSS selectors for these widgets are currently still hard-coded in the widget itself.
Constructor.
Creates a classic Wt theme. Wt comes with two CSS themes: "polished" and default. For the bootstrap theme, use WBootstrapTheme.
Returns a generic CSS class name for an active element.
The CSS class Wt-selected is applied to active classes.
Implements Wt::WTheme.
Applies the theme to a child of a composite widget.
The
widgetRole indicates the role that
child has within the implementation of the
widget.
Implements Wt::WTheme.
Applies the theme to a DOM element that renders a widget.
The
element is a rendered representation of the
widget, and may be further customized to reflect the theme.
Implements Wt::WTheme.
Returns whether the theme allows for an anchor to be styled as a button.
Returns false.
Implements Wt::WTheme.
Returns a generic CSS class name for a disabled element.
The CSS class Wt-disabled is applied to disabled classes.
Implements Wt::WTheme.
Returns a theme name.
Returns a unique name for the theme. This name is used by the default implementation of resourcesUrl() to compute a location for the theme's resources.
Implements Wt::WTheme.
Returns the stylesheets.
Returns wt.css, plus on IE wt_ie.css, plus on IE6 wt_ie6.css. The style sheets are located in the theme directory in the resources folder.
Implements Wt::WTheme.
Returns a generic CSS class name for the chosen role.
Implements Wt::WTheme.