mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-07-19 13:19:42 +02:00
Add search to sidebar (#215)
* remove package json * twig file modified * search bar style added * the background content added * add the switching b/w the shortcut logo * shortcut for search added * add the arrowup and arrowdown short cut * sidebar search added * keyup and keydown replace with input * the sidebar search selected added * unusal things * the enter evenlister added with search refactring * comments added * the scroll added if element is not visble * metakey added * event listner using shortcut added * the integration for input box completed * nodemon config updated * replace the shortcuts with event listener * bugfix: up height of header added * feat:integrate sidebar toggle with search shortcut * syntax improved * event listener updated * border adjusted * search adjusted * sidebar search navigation adjusted * new search module added * new module integrated * boxshadow added as border * sidebar search class added * sidebar search=>filter * comments added * filter for section added * the expand feature added during navigation * remove the space * header height variable added * shortcut logic updated * enum for direction added * common search function added * expand every match * updated styles * updated styles * margin remove in mobile view with bold removed * clean css added Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
This commit is contained in:
parent
5a7f1c843b
commit
698c09c489
7 changed files with 463 additions and 13 deletions
|
@ -6,6 +6,9 @@
|
|||
</div>
|
||||
|
||||
<aside class="docs-sidebar__content docs-sidebar__content--invisible">
|
||||
<span class="docs-sidebar__search-wrapper">
|
||||
<input class="docs-sidebar__search" type="text" placeholder="Search" />
|
||||
</span>
|
||||
{% for firstLevelPage in menu %}
|
||||
<section class="docs-sidebar__section" data-id="{{firstLevelPage._id}}">
|
||||
<a class="docs-sidebar__section-title-wrapper"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue