Skip to content

Commit

Permalink
Added the active and hover button states for the check button (#122)
Browse files Browse the repository at this point in the history
* Added the active and hover button states for the check button

* Adjusted the check button active and hover functions, removed repetitions. Used box-shaow, added transform.

* Adjusted the hover and active states, removed repeats, added box-shadow to hover, used transform and made box-shadow hidden for active.

---------

Co-authored-by: Sanjna <[email protected]>
  • Loading branch information
shreyas61 and SanjnaT41756 authored Oct 25, 2024
1 parent 0eb357f commit 8027020
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/styles/Exercises/UnitCircleInput.scss
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,15 @@
padding: 1.25vw 2.5vw;
}

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

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

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

0 comments on commit 8027020

Please sign in to comment.