aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Manning <andrew@reticu.li>2016-12-04 08:07:58 -0500
committerAndrew Manning <andrew@reticu.li>2016-12-04 08:07:58 -0500
commit1f91c2fe1203f6f34a639700e8d9731f51ba1429 (patch)
tree9c400034797372a16b0d0eff0fe91a1b8def74c0
parent153cd0a2059296efbcb0bc2cd20e165ebf33f2e2 (diff)
downloadvolse-hubzilla-1f91c2fe1203f6f34a639700e8d9731f51ba1429.tar.gz
volse-hubzilla-1f91c2fe1203f6f34a639700e8d9731f51ba1429.tar.bz2
volse-hubzilla-1f91c2fe1203f6f34a639700e8d9731f51ba1429.zip
Remove borders and box-shadow with CSS without removing the classes from help.tpl.
-rw-r--r--doc/toc.html23
-rw-r--r--view/tpl/help.tpl7
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>