From 1f91c2fe1203f6f34a639700e8d9731f51ba1429 Mon Sep 17 00:00:00 2001 From: Andrew Manning Date: Sun, 4 Dec 2016 08:07:58 -0500 Subject: Remove borders and box-shadow with CSS without removing the classes from help.tpl. --- doc/toc.html | 23 ++++++++++++++++++++++- 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; + }
@@ -421,7 +442,7 @@ } }); - //$('#accordion').sticky({topSpacing:$('nav').outerHeight(true)}); + //$("#help-content").find('.section-title-wrapper h2').html($('head title').html()); }); 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 @@ -
-
+
+ +
{{$content}}
-- cgit v1.2.3