Skip to content

Commit 709c922

Browse files
committed
Added "pressed" effect to top menu buttons
1 parent d68e211 commit 709c922

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

css/stylesheet.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -527,9 +527,11 @@ button[disabled] {
527527
}
528528

529529
.top-menu-buttons button.active {
530-
box-shadow: 0px 0px 3px 0px black inset;
530+
background: rgba(0, 0, 0, .15);
531+
box-shadow: 0px 0px 10px 3px #1a1a1a inset;
531532
}
532533

533534
.top-menu-buttons button:active {
534-
box-shadow: 0px 0px 3px 0px black inset;
535+
background: rgba(0, 0, 0, .15);
536+
box-shadow: 0px 0px 10px 3px #1a1a1a inset;
535537
}

public/algorithm_visualizer.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -656,9 +656,11 @@ button[disabled] {
656656
}
657657

658658
.top-menu-buttons button.active {
659-
box-shadow: 0px 0px 3px 0px black inset;
659+
background: rgba(0, 0, 0, .15);
660+
box-shadow: 0px 0px 10px 3px #1a1a1a inset;
660661
}
661662

662663
.top-menu-buttons button:active {
663-
box-shadow: 0px 0px 3px 0px black inset;
664+
background: rgba(0, 0, 0, .15);
665+
box-shadow: 0px 0px 10px 3px #1a1a1a inset;
664666
}

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.

0 commit comments

Comments
 (0)