diff options
-rw-r--r-- | doc/toc.html | 23 | ||||
-rw-r--r-- | view/tpl/help.tpl | 7 |
2 files changed, 27 insertions, 3 deletions
diff --git a/doc/toc.html b/doc/toc.html index 047032437..e240b5597 100644 --- a/doc/toc.html +++ b/doc/toc.html @@ -36,6 +36,27 @@ border-left: #cccccc 2px solid; margin-left: 10px; } + + #help-content.generic-content-wrapper { + border: 0; + box-shadow: 0; + border-radius: 0; + box-shadow: none; + } + #help-content.section-title-wrapper { + padding: 7px 10px; + background-color: $item_colour; + border-top-left-radius: 0; + border-top-right-radius: 0; + border-bottom: 0; + } + #help-content.section-content-wrapper { + padding: 7px 10px; + background-color: $comment_item_colour; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; + word-wrap: normal; + } </style> <div class="panel-group" id="accordion"> @@ -421,7 +442,7 @@ } }); - //$('#accordion').sticky({topSpacing:$('nav').outerHeight(true)}); + //$("#help-content").find('.section-title-wrapper h2').html($('head title').html()); }); </script> diff --git a/view/tpl/help.tpl b/view/tpl/help.tpl index de4b53ab0..96d52e0e9 100644 --- a/view/tpl/help.tpl +++ b/view/tpl/help.tpl @@ -1,5 +1,8 @@ -<div id="help-content" class=""> - <div id="doco-content"> +<div id="help-content" class="generic-content-wrapper"> + <div class="section-title-wrapper" style="display: none;"> + <h2>{{$title}}</h2> + </div> + <div class="section-content-wrapper" id="doco-content"> {{$content}} </div> </div> |