Remove borders and box-shadow with CSS without removing the classes from help.tpl.

This commit is contained in:
Andrew Manning 2016-12-04 08:07:58 -05:00
parent 153cd0a205
commit 1f91c2fe12
2 changed files with 27 additions and 3 deletions

View File

@ -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>

View File

@ -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>