From e50255b75acf8b6d41db58e44f96abc5ab22cb7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Sun, 17 Oct 2021 16:16:10 -0400 Subject: [PATCH] fix: https://github.com/NodeBB/NodeBB/issues/9918 --- less/header.less | 9 ++------- less/search.less | 1 - less/style.less | 4 ++++ templates/partials/notifications_list.tpl | 2 +- templates/partials/quick-search-results.tpl | 2 +- 5 files changed, 8 insertions(+), 10 deletions(-) diff --git a/less/header.less b/less/header.less index 6cdd230..43b6cde 100644 --- a/less/header.less +++ b/less/header.less @@ -4,7 +4,6 @@ overflow-y: auto; max-height: 250px; padding: 0; - color: @gray-dark; li.no-notifs { text-align: center; @@ -51,7 +50,7 @@ .pointer; } } - + &.unread { .bg-variant(@state-warning-bg); @@ -78,12 +77,8 @@ padding-right: 10px; } - &:hover { - background: @gray-lighter; - } - &:not(:last-child) { - border-bottom: 1px solid @gray-lighter; + border-bottom: 1px solid @dropdown-border; } &.no_active a { diff --git a/less/search.less b/less/search.less index 43e1b91..8dedfdd 100644 --- a/less/search.less +++ b/less/search.less @@ -64,7 +64,6 @@ font-weight: 400; line-height: 1.42857143; white-space: nowrap; - color: @gray-dark; } } .quick-search-title { diff --git a/less/style.less b/less/style.less index 73930d1..7caf276 100644 --- a/less/style.less +++ b/less/style.less @@ -273,6 +273,10 @@ a.permalink { } } +.deco-none, .deco-none:link, .deco-none:hover { + color: inherit; + text-decoration: inherit; +} .disabled a { pointer-events: none; diff --git a/templates/partials/notifications_list.tpl b/templates/partials/notifications_list.tpl index 855892f..cb6a41a 100644 --- a/templates/partials/notifications_list.tpl +++ b/templates/partials/notifications_list.tpl @@ -14,7 +14,7 @@ {{{ if ./nid }}}
{{{ end }}} - + {notifications.timeago} {notifications.bodyShort} diff --git a/templates/partials/quick-search-results.tpl b/templates/partials/quick-search-results.tpl index 18a6212..c300392 100644 --- a/templates/partials/quick-search-results.tpl +++ b/templates/partials/quick-search-results.tpl @@ -1,7 +1,7 @@