提交 6943891b 编写于 作者: J Jason Park

fix that powered by category was not opened

上级 bad4cb94
......@@ -45,7 +45,7 @@ button {
}
button:hover {
background: rgba(0, 0, 0, .15);
background: rgba(0, 0, 0, .15) !important;
}
button.active {
......
......@@ -40,23 +40,24 @@
<a href="https://github.com/parkjs814/AlgorithmVisualizer/wiki">
<button><i class="fa fa-book"></i> Documentation</button>
</a>
<button class="category"><i class="fa fa-github"></i> Powered by ...</button>
<a href="https://github.com/jquery/jquery">
<button class="indent">jquery/jquery</button>
</a>
<a href="https://github.com/ajaxorg/ace">
<button class="indent">ajaxorg/ace</button>
</a>
<a href="https://github.com/jacomyal/sigma.js">
<button class="indent">jacomyal/sigma.js</button>
</a>
<a href="https://github.com/FortAwesome/Font-Awesome">
<button class="indent">FortAwesome/Font-Awesome</button>
</a>
<a href="https://github.com/simonwhitaker/github-fork-ribbon-css">
<button class="indent">simonwhitaker/github-fork-ribbon-css</button>
</a>
<button class="category" id="powered-by"><i class="fa fa-github"></i> Powered by ...</button>
<div id="powered-by-list">
<a href="https://github.com/jquery/jquery">
<button class="indent">jquery/jquery</button>
</a>
<a href="https://github.com/ajaxorg/ace">
<button class="indent">ajaxorg/ace</button>
</a>
<a href="https://github.com/jacomyal/sigma.js">
<button class="indent">jacomyal/sigma.js</button>
</a>
<a href="https://github.com/FortAwesome/Font-Awesome">
<button class="indent">FortAwesome/Font-Awesome</button>
</a>
<a href="https://github.com/simonwhitaker/github-fork-ribbon-css">
<button class="indent">simonwhitaker/github-fork-ribbon-css</button>
</a>
</div>
</div>
<a class="github-fork-ribbon left-bottom" href="http://github.com/parkjs814/AlgorithmVisualizer"
title="Fork me on GitHub">Fork me on GitHub</a>
......
......@@ -178,6 +178,9 @@ $.getJSON('./algorithm/category.json', function (data) {
})(category);
}
});
$('#powered-by').click(function () {
$('#powered-by-list button').toggleClass('collapse');
});
var sidemenu_percent;
$('#navigation').click(function () {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册