You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Andy Jefferson (JIRA)" <ji...@apache.org> on 2017/02/27 16:29:45 UTC

[jira] [Commented] (ISIS-1579) Asciidoc Template/Stylesheet issues

    [ https://issues.apache.org/jira/browse/ISIS-1579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15886071#comment-15886071 ] 

Andy Jefferson commented on ISIS-1579:
--------------------------------------

Re the first issue (accessibility of the "menu" button on small screens/mobile) whilst developing the DN site I managed to get a combination that works in this respect but I didn't track down what the precise incompatibility was between Bootstrap+asciidoc(tor)+TOC was (tried many different combos of jquery, bootstrap etc and most failed). I then went back to first principles, started with Bootstrap 3.3.7 on a basic page, then used the "bootstrap-toc" plugin (https://afeld.github.io/bootstrap-toc/#examples ) to get the dynamic TOC, and then added on an asciidoc CSS to give formatting; the result was a menu button working, the dynamic TOC like what you have, and the rest of bootstrap menu options fully usable. Code is under https://github.com/datanucleus/docs-accessplatform in case its of use.

> Asciidoc Template/Stylesheet issues
> -----------------------------------
>
>                 Key: ISIS-1579
>                 URL: https://issues.apache.org/jira/browse/ISIS-1579
>             Project: Isis
>          Issue Type: Bug
>          Components: Website and Docs
>            Reporter: Andy Jefferson
>            Priority: Minor
>
> Couple of things I noticed
> 1. When viewing the ISIS website on a mobile device (or browser with narrow width) the "nav" items collapse to be replaced by the 3 horizontal lines icon. This is presumably intended to then show a dropdown of the "nav" items. But it doesn't do anything seemingly. 
> My experience of asciidoc templates is very limited so can't tell you what is wrong (though was investigating writing a DN variant and hit the same problem, so would be interested in the solution!), and you seem to have used Deltaspike as a starting point for yours (theirs also has the same problem). A site that does give the three horizontal lines, and subsequent dropdown is http://vertx.io/docs/vertx-core/java/  in case its of use.
> 2. Table headings are shown with white text on a light grey background, hence virtually unreadable. For example 
> https://isis.apache.org/guides/rgcfg.html#2.-deployment-types
> Setting th.tableblock background-color and color should fix that.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)