Skip to content

Commit

Permalink
Fix unread notification background color on hover
Browse files Browse the repository at this point in the history
  • Loading branch information
ronilaukkarinen committed Mar 9, 2023
1 parent 641ab82 commit bb8cd98
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
### [Unreleased]
### 1.1.0: 2023-03-09

* Fix hover colors on boost and star buttons
* Fix 1px jump on activating the spark animation
* Fix horizontal 1px jump on animation
* Fix retweet button animating on each load
* Fix unread notification background color on hover

### 1.0.8: 2023-03-09

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mastodon-twitter",
"version": "1.0.8",
"version": "1.1.0",
"description": "",
"main": "index.js",
"scripts": {
Expand Down
12 changes: 11 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.9rc4 */
v1.1.0 */

/* CSS variables */
:root {
Expand Down Expand Up @@ -318,11 +318,16 @@ a.status-card.compact .status-card__description {
}

/* Unread message */
.layout-single-column .notification.unread:hover,
.layout-single-column .notification.unread,
.layout-single-column .status__wrapper.unread {
background-color: var(--color-dark);
}

.layout-single-column .notification:hover ..notification__message {
background-color: transparent;
}

.layout-single-column .notification.unread,
.layout-single-column .status__wrapper.unread

Expand Down Expand Up @@ -1697,6 +1702,11 @@ a.status-card.compact .status-card__description {
left: -28px;
}

/* stylelint-disable-next-line */
.layout-single-column.no-reduce-motion .detailed-status__action-bar .icon-button.star-icon.activate .fa-star::before {
left: -29px;
}

@keyframes heart-animate {
100% {
background-position: -2800px;
Expand Down

0 comments on commit bb8cd98

Please sign in to comment.