Skip to content

Commit

Permalink
tiny animations
Browse files Browse the repository at this point in the history
The settings button now turns like a cog when hovered, and there's a
slight animation when you hover a settings switch.
  • Loading branch information
0neGal committed Jun 12, 2022
1 parent 3d9b35a commit b591b51
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/css/popups.css
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,10 @@
background: rgb(var(--red));
}

.switch.on:hover::after {
transform: scale(1.2);
}

.title {
display: flex;
}
Expand Down
4 changes: 4 additions & 0 deletions src/app/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ button:active {filter: brightness(90%)}
#winbtns #minimize {background-image: url("icons/minimize.png")}
#winbtns #settings {background-image: url("icons/settings.png")}

#winbtns #settings:hover {
transform: rotate(90deg);
}

#winbtns div:hover {opacity: 1.0}
#winbtns div:active {transform: scale(0.95)}
/* } */
Expand Down

0 comments on commit b591b51

Please sign in to comment.