You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by Dan Haywood <da...@haywood-associates.co.uk> on 2014/01/18 19:03:25 UTC

Making it a bit easier to add custom styles to the Wicket viewer

Hi folks,

A small little enhancement to the Wicket viewer [1]; there is now a new
top-level div that wraps the entire page, and which provides a CSS class
based on the configured application name , eg as per [2].

For example, an application name of "ToDo App" will generate the div:

    <div wicket:id="theme" class="todo-app">

This class is not used by Isis itself, so you can use it to more easily
customize the styling of Isis using CSS.  Add any application-specific
changes to application.css [3].

HTH
Dan


[1] https://issues.apache.org/jira/browse/ISIS-649
[2]
https://github.com/apache/isis/blob/e7f97df59ccbb0c996dcd53e5626f67a53a0b0a5/example/application/quickstart_wicket_restful_jdo/webapp/src/main/java/webapp/ToDoApplication.java#L120
[3]
https://github.com/apache/isis/blob/e7f97df59ccbb0c996dcd53e5626f67a53a0b0a5/example/application/quickstart_wicket_restful_jdo/webapp/src/main/webapp/css/application.css