Skip to content

Commit

Permalink
correct selectors for notifications, hover lightening
Browse files Browse the repository at this point in the history
  • Loading branch information
sneakers-the-rat committed Jul 19, 2024
1 parent e1c717c commit 3c4e357
Showing 1 changed file with 16 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ $notification-collapsed-height: 6em;
// "See more" button
&__spoiler-link {
background: $action-button-color;

&:hover,
&:focus {
background: lighten($action-button-color, 7%);
text-decoration: none;
}
}
}

Expand All @@ -28,6 +34,15 @@ $notification-collapsed-height: 6em;
}
}

.notification-ungrouped .status__wrapper.collapsed .status__content {
// set a smaller height for previews of longposts in notifications
// The component structure is different depending on whether
// grouped notifications is enabled or not, and whether
// something is an interaction or not - there isn't a
// class given for "notifications" so we have to improvise
.notification-ungrouped .status__wrapper.collapsed .status__content,
.notification__filter-bar
+ .scrollable
.status__wrapper.collapsed
.status__content {
max-height: $notification-collapsed-height;
}

0 comments on commit 3c4e357

Please sign in to comment.