Skip to content

Commit

Permalink
little moon animation
Browse files Browse the repository at this point in the history
  • Loading branch information
refact0r committed Oct 29, 2023
1 parent 1fc47e8 commit 35b301d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions midnight.css
Original file line number Diff line number Diff line change
Expand Up @@ -352,9 +352,14 @@ div[class^='winButtonMinMax']:nth-child(4)::after {
background: var(--text-4);
-webkit-mask-image: url('https://upload.wikimedia.org/wikipedia/commons/c/c4/Font_Awesome_5_solid_moon.svg');
}
.wrapper_d281dd:hover .childWrapper__01b9c::before {
transition: background-color 0.15s ease-out, transform 0.3s ease-out;
transform: rotate(0deg) scale(1);
}
.wrapper_d281dd:hover > .childWrapper__01b9c::before,
.wrapper_d281dd.selected_f5ec8e > .childWrapper__01b9c::before {
background: var(--text-1);
transform: rotate(-360deg) scale(0.8);
}

/* improve unread divider */
Expand Down

0 comments on commit 35b301d

Please sign in to comment.