Skip to content

Commit

Permalink
Add retweet icon animation
Browse files Browse the repository at this point in the history
  • Loading branch information
ronilaukkarinen committed Mar 9, 2023
1 parent 92bb89f commit d0ebd34
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
### [Unreleased]

* Replicate animated heart with sparkles
* Add retweet icon animation

### 1.0.7: 2023-03-09

Expand Down
8 changes: 7 additions & 1 deletion style.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Cursed Mastodon Twitter CSS-only revamp by @[email protected]
v1.0.8rc1 */
v1.0.8rc2 */

/* CSS variables */
:root {
Expand Down Expand Up @@ -1645,6 +1645,12 @@ a.status-card.compact .status-card__description {
}
}

/* Retweet animation */
.layout-single-column.no-reduce-motion .icon-button.active .fa-retweet {
/* stylelint-disable-next-line */
animation: spring-rotate-in 1s linear;
}

/* Heart animation */
.layout-single-column.no-reduce-motion .icon-button.star-icon {
position: relative;
Expand Down

0 comments on commit d0ebd34

Please sign in to comment.