Skip to content

Commit

Permalink
Applied hovering and clicking animations to all submit buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
angoway committed Nov 6, 2024
1 parent 4617b51 commit 6db3013
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/styles/Exercises/AxisInput.scss
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,15 @@
background-color: colors.$input-grey;
}

#axinput-check-button:hover {
box-shadow: 5px 5px 5px #989696;
}

#axinput-check-button:active {
box-shadow: none;
transform: scale(0.95);
}

#axinput-check-button {
@include font-styles();
background-color: colors.$primary-green;
Expand Down
9 changes: 9 additions & 0 deletions src/styles/Exercises/GraphInput.scss
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,15 @@
padding: 1.25vw 2.5vw;
}

#graphinput-check-button:hover {
box-shadow: 5px 5px 5px #989696;
}

#graphinput-check-button:active {
box-shadow: none;
transform: scale(0.95);
}

#graphinput-check-wrong {
@include font-styles();
color: red;
Expand Down

0 comments on commit 6db3013

Please sign in to comment.