diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-12-10 21:33:29 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-12-10 21:33:29 +0100 |
commit | 65a26958f77f7a2cac670ec80f3a5a82c3aac95a (patch) | |
tree | 6bc1a3da63d35f2f10f3ec5d2e99b3b5eac78303 | |
parent | 2dfb4d0c17c1963d88a8219876ec89516358d0d9 (diff) | |
download | volse-hubzilla-65a26958f77f7a2cac670ec80f3a5a82c3aac95a.tar.gz volse-hubzilla-65a26958f77f7a2cac670ec80f3a5a82c3aac95a.tar.bz2 volse-hubzilla-65a26958f77f7a2cac670ec80f3a5a82c3aac95a.zip |
fix embed-image for fullscreen mode and some adjustments for /help
-rw-r--r-- | doc/toc.html | 64 | ||||
-rw-r--r-- | include/widgets.php | 2 | ||||
-rw-r--r-- | view/tpl/help.tpl | 2 | ||||
-rwxr-xr-x | view/tpl/photo_album.tpl | 2 |
4 files changed, 29 insertions, 41 deletions
diff --git a/doc/toc.html b/doc/toc.html index 4ef79bd10..8f0261dc7 100644 --- a/doc/toc.html +++ b/doc/toc.html @@ -1,50 +1,38 @@ <style> - #accordion .glyphicon { margin-right:10px; } - .panel-collapse>.list-group .list-group-item:first-child {border-top-right-radius: 0;border-top-left-radius: 0;} - .panel-collapse>.list-group .list-group-item {border-width: 1px 0;} - .panel-collapse>.list-group {margin-bottom: 0;} - .panel-collapse .list-group-item {border-radius:0;} - - .doco-list-group-item { - padding-left: 15px; - } .doco-list-group-item > a { font-weight: bold; - font-size: 1.1em; } + + .sub-menu { + margin: 3px 0px 10px 10px; + } #doco-content h1 { border-bottom: #cccccc thin solid; padding-bottom: 0.3em; } - #doco-content > h1, - #doco-content > h2, - #doco-content > h3, - #doco-content > h4 { - padding-top: 60px; - margin-top: -60px; - } - #region_1 .widget ul ul { list-style-type: none; - padding-left: 15px; } .toc-content { background-color: white; - border-left: #cccccc 2px solid; - margin-left: 10px; + } + + .toc-content li, + #doco-top-toc li { + padding: 3px 0px; } </style> -<div class="panel-group" id="accordion"> +<div class="" id="accordion"> <div class="panel"> - <div class="panel-heading"> - <h4 class="panel-title"> + <div class=""> + <h3 class="panel-title"> <a data-toggle="collapse" data-parent="#accordion" href="#about"> About</a> - </h4> + </h3> </div> <div id="about" class="panel-collapse collapse in"> <ul class="list-group"> @@ -54,11 +42,11 @@ </div> </div> <div class="panel"> - <div class="panel-heading"> - <h4 class="panel-title"> + <div class=""> + <h3 class="panel-title"> <a data-toggle="collapse" data-parent="#accordion" href="#members"> Members</a> - </h4> + </h3> </div> <div id="members" class="panel-collapse collapse in"> <ul class="list-group"> @@ -68,11 +56,11 @@ </div> </div> <div class="panel"> - <div class="panel-heading"> - <h4 class="panel-title"> + <div class=""> + <h3 class="panel-title"> <a data-toggle="collapse" data-parent="#accordion" href="#administrators"> Administrators</a> - </h4> + </h3> </div> <div id="administrators" class="panel-collapse collapse in"> <ul class="list-group"> @@ -82,11 +70,11 @@ </div> </div> <div class="panel"> - <div class="panel-heading"> - <h4 class="panel-title"> + <div class=""> + <h3 class="panel-title"> <a data-toggle="collapse" data-parent="#accordion" href="#developers"> Developers</a> - </h4> + </h3> </div> <div id="developers" class="panel-collapse collapse in"> <ul class="list-group"> @@ -96,11 +84,11 @@ </div> </div> <div class="panel"> - <div class="panel-heading"> - <h4 class="panel-title"> + <div class=""> + <h3 class="panel-title"> <a data-toggle="collapse" data-parent="#accordion" href="#tutorials"> Tutorials</a> - </h4> + </h3> </div> <div id="tutorials" class="panel-collapse collapse in"> <ul class="list-group"> @@ -418,7 +406,7 @@ var tocUl = $(this).closest('li').append('<ul>').find('ul'); tocUl.removeClass(); // Classes are automatically added to <ul> elements by something else tocUl.toc({content: "#doco-content", headings: "h1"}); - tocUl.addClass('toc-content'); + tocUl.addClass('toc-content sub-menu'); if( $(window).height() > 499) { tocUl.sticky({topSpacing:$('nav').outerHeight(true), zIndex: 1000}); } diff --git a/include/widgets.php b/include/widgets.php index b6d3fb7ae..4cb8f8372 100644 --- a/include/widgets.php +++ b/include/widgets.php @@ -1573,7 +1573,7 @@ function widget_tasklist($arr) { function widget_helpindex($arr) { $o .= '<div class="widget">'; - $o .= '<h3>' . t('Documentation') . '</h3>'; + //$o .= '<h3>' . t('Documentation') . '</h3>'; $level_0 = get_help_content('sitetoc'); if(! $level_0) diff --git a/view/tpl/help.tpl b/view/tpl/help.tpl index 3ec1c9d8c..4ce48bca8 100644 --- a/view/tpl/help.tpl +++ b/view/tpl/help.tpl @@ -1,5 +1,5 @@ <div id="help-content" class="generic-content-wrapper"> - <div class="section-title-wrapper" style="display: none;"> + <div class="section-title-wrapper"> <h2>{{$title}}</h2> </div> <div class="section-content-wrapper" id="doco-content"> diff --git a/view/tpl/photo_album.tpl b/view/tpl/photo_album.tpl index f097646e4..66d0fcc94 100755 --- a/view/tpl/photo_album.tpl +++ b/view/tpl/photo_album.tpl @@ -1,4 +1,4 @@ -<div class="generic-content-wrapper"> +<div class="{{if !$no_fullscreen_btn}}generic-content-wrapper{{/if}}"> <div class="section-title-wrapper"> <div class="pull-right"> {{if $order}} |