Skip to content

Commit

Permalink
spinny buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
refact0r committed Jan 20, 2024
1 parent c70cd85 commit 1e35b03
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion midnight.css
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ button.button_afdfd9 /* small buttons */,
top: calc(var(--server-container) + var(--spacing)) !important;
}

/* experimental transitions */
/* list hover animations */
.wrapper__7bcde .link__95dc0 /* channels */,
.container__4f20e /* members */,
.channel_c21703 /* dms */,
Expand All @@ -701,6 +701,23 @@ button.button_afdfd9 /* small buttons */,
margin-left: 18px;
}

/* spin hover animations */
button.button__4f306 /* make user panel buttons round */ {
border-radius: 50%;
}
.button__4f306[aria-label="User Settings"] /* settings button */,
.attachButton_b1db83 .attachButtonInner__3ce2b /* upload button */,
.emojiButton__30ec7 .contents_fb6220 /* emoji button */,
.closeButton__34341 /* settings exit button */ {
transition: transform 1s ease;
}
.button__4f306[aria-label='User Settings']:hover,
.attachButton_b1db83:hover .attachButtonInner__3ce2b,
.emojiButton__30ec7:hover .contents_fb6220,
.closeButton__34341:hover {
transform: rotate(360deg);
}

.theme-light {
--text-link: var(--accent-5);
}
Expand Down

0 comments on commit 1e35b03

Please sign in to comment.