Skip to content

Commit 21a3827

Browse files
committed
finished sidebar animation
1 parent 73540a9 commit 21a3827

File tree

9 files changed

+12
-12
lines changed

9 files changed

+12
-12
lines changed

css/stylesheet.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,8 @@ nav h3 {
175175
}
176176

177177
.sidemenu .algorithms {
178-
padding: 3px 2px;
179178
display: none;
179+
padding: 3px 2px;
180180
box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.48), inset 0 -2px 2px rgba(0, 0, 0, 0.36);
181181
}
182182

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ <h3>
6666
<div id="footer">
6767
<button id="scratch-paper"><i class="fa fa-fw fa-code"></i> Scratch Paper</button>
6868
<button id="documentation"><i class="fa fa-fw fa-book"></i> Tracer API</button>
69-
<button class="category active" id="powered-by">
69+
<button class="category open" id="powered-by">
7070
<i class="fa fa-fw fa-github"></i> Powered by ...
7171
</button>
7272
<div id="powered-by-list">

js/dom/setup/setup_side_menu.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ module.exports = () => {
3232
});
3333

3434
$('#powered-by').click(function() {
35-
$(this).toggleClass('active');
36-
$('#powered-by-list button').toggle(300);
35+
$(this).toggleClass('open')
36+
$('#powered-by-list').toggle(300);
3737
});
3838

3939
$('#scratch-paper').click(() => {

public/algorithm_visualizer.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,8 @@ nav h3 {
295295
}
296296

297297
.sidemenu .algorithms {
298-
padding: 3px 2px;
299298
display: none;
299+
padding: 3px 2px;
300300
box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.48), inset 0 -2px 2px rgba(0, 0, 0, 0.36);
301301
}
302302

public/algorithm_visualizer.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/algorithm_visualizer.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/algorithm_visualizer.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/algorithm_visualizer.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/algorithm_visualizer.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)