sidebar custom area (#2908)

* add sidebar-custom style
* fix hide-on-collapse
* add new sidebar menu entry
* add custom area docs info
This commit is contained in:
REJack
2020-07-22 16:06:12 +02:00
committed by GitHub
parent 01e00cd43d
commit b48419b23b
51 changed files with 1183 additions and 0 deletions

View File

@@ -107,6 +107,25 @@ You can add this code above user-panel or nav-sidebar:
```
{: .max-height-300}
#### Sidebar Custom Area
You can add a Custom Area inside the Sidebar to display extra buttons or text below your menu entries.
You can simply add this code after the `div.sidebar`:
```html
<div class="sidebar-custom">
<a href="#" class="btn btn-link"><i class="fas fa-cogs"></i></a>
<a href="#" class="btn btn-secondary hide-on-collapse pos-right">Help</a>
</div>
```
> ##### Warning!
> The Sidebar Custom Area works only with `.layout-fixed` enabled.
{: .quote-warning}
#### Additional Classes
##### Sidebar