Skip to content

Commit

Permalink
In Light theme, make notification message color lighter
Browse files Browse the repository at this point in the history
  • Loading branch information
mathjazz committed Oct 23, 2023
1 parent ad59032 commit 630ded1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion pontoon/base/static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ header .right .select .menu {
}

.notifications .menu li.notification-item span {
color: var(--white-1);
color: var(--translation-color);
float: none;
}

Expand All @@ -782,6 +782,7 @@ header .right .select .menu {

.notifications .menu li.notification-item .message.trim,
.notifications .menu li.notification-item .message.trim > p {
color: var(--translation-secondary-color);
pointer-events: none;
overflow: hidden;
text-overflow: ellipsis;
Expand All @@ -792,6 +793,8 @@ header .right .select .menu {
color: var(--light-grey-7);
}

.notifications .menu li.notification-item.hover .message.trim,
.notifications .menu li.notification-item.hover .message.trim > p,
.notifications .menu li.notification-item.hover .message.trim a {
color: var(--white-1);
}
Expand Down
4 changes: 2 additions & 2 deletions translate/src/modules/user/components/UserNotification.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
}

.user-notification span {
color: var(--white-1);
color: var(--translation-color);
float: none;
}

Expand All @@ -64,7 +64,7 @@
.user-notification .message.trim,
.user-notification .message.trim p {
pointer-events: none;
color: var(--light-grey-7);
color: var(--translation-secondary-color);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
}

.user-notifications-menu .menu li:hover {
background: var(--dark-grey-2);
background: var(--background-hover-2);
}

.user-notifications-menu .menu li.no {
Expand Down

0 comments on commit 630ded1

Please sign in to comment.