mirror of
https://github.com/gohugoio/hugo.git
synced 2024-07-05 08:42:12 +00:00
Getting rid of bad scrollbar
This commit is contained in:
parent
aa42f4309c
commit
8d3fa7ef49
|
@ -19,8 +19,6 @@
|
||||||
<!-- javascripts -->
|
<!-- javascripts -->
|
||||||
<script src="/js/jquery.js"></script>
|
<script src="/js/jquery.js"></script>
|
||||||
<script src="/js/bootstrap.min.js"></script>
|
<script src="/js/bootstrap.min.js"></script>
|
||||||
<script src="/js/jquery.scrollTo.min.js"></script>
|
|
||||||
<script src="/js/jquery.nicescroll.js" type="text/javascript"></script>
|
|
||||||
<!--custom script for all page-->
|
<!--custom script for all page-->
|
||||||
<script src="/js/highlight.pack.js"></script>
|
<script src="/js/highlight.pack.js"></script>
|
||||||
<script>hljs.initHighlightingOnLoad();</script>
|
<script>hljs.initHighlightingOnLoad();</script>
|
||||||
|
|
8
docs/static/js/scripts.js
vendored
8
docs/static/js/scripts.js
vendored
|
@ -6,14 +6,6 @@ function initializeJS() {
|
||||||
//popovers
|
//popovers
|
||||||
jQuery('.popovers').popover();
|
jQuery('.popovers').popover();
|
||||||
|
|
||||||
//custom scrollbar
|
|
||||||
//for html
|
|
||||||
jQuery("html").niceScroll({styler:"fb",cursorcolor:"#007AFF", cursorwidth: '6', cursorborderradius: '10px', background: '#F7F7F7', cursorborder: '', zindex: '1000'});
|
|
||||||
//for sidebar
|
|
||||||
jQuery("#sidebar").niceScroll({styler:"fb",cursorcolor:"#007AFF", cursorwidth: '3', cursorborderradius: '10px', background: '#F7F7F7', cursorborder: ''});
|
|
||||||
// for scroll panel
|
|
||||||
jQuery(".scroll-panel").niceScroll({styler:"fb",cursorcolor:"#007AFF", cursorwidth: '3', cursorborderradius: '10px', background: '#F7F7F7', cursorborder: ''});
|
|
||||||
|
|
||||||
//sidebar dropdown menu
|
//sidebar dropdown menu
|
||||||
jQuery('#sidebar .sub-menu > a').click(function () {
|
jQuery('#sidebar .sub-menu > a').click(function () {
|
||||||
var last = jQuery('.sub-menu.open', jQuery('#sidebar'));
|
var last = jQuery('.sub-menu.open', jQuery('#sidebar'));
|
||||||
|
|
Loading…
Reference in a new issue