Skip to content

Commit b8e688e

Browse files
author
Brett Mandler
authored
Merge pull request #59 from jamiebrynes7/bugfix/notification-focus
Fix notification focus style
2 parents 94a6bc1 + ce9eeec commit b8e688e

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

github.user.css

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,7 @@
359359
.menu-item,
360360
.notifications-list-item:hover .notification-list-item-actions .btn,
361361
.notifications-list-item:focus .notification-list-item-actions .btn,
362+
.notifications-list-item.navigation-focus .notification-list-item-actions .btn,
362363
.reponav-item,
363364
.reponav-item .octicon,
364365
.ajax-pagination-form > .Box > .bg-white,
@@ -3195,11 +3196,13 @@
31953196
fill: var(--text-primary) !important;
31963197
}
31973198
.notifications-list-item:hover,
3198-
.notifications-list-item:focus {
3199+
.notifications-list-item:focus,
3200+
.notifications-list-item.navigation-focus {
31993201
background-color: var(--base-5) !important;
32003202
}
32013203
.notifications-list-item:hover .notification-list-item-actions .btn:hover,
3202-
.notifications-list-item:focus .notification-list-item-actions .btn:hover {
3204+
.notifications-list-item:focus .notification-list-item-actions .btn:hover,
3205+
.notifications-list-item.navigation-focus .notification-list-item-actions .btn:hover {
32033206
color: var(--text-light) !important;
32043207
border-color: var(--base-1) !important;
32053208
background-color: var(--base-1) !important;

src/notifications.styl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
c 0 1 4
1414
& &-actions svg
1515
vc fg("primary")
16-
&:hover, &:focus
16+
&:hover, &:focus, &.navigation-focus
1717
c 0 0 5
1818
.notification-list-item-actions .btn
1919
ease colors

0 commit comments

Comments
 (0)