Barış Soner Uşaklı 3 years ago
parent e8026c723e
commit e50255b75a

@ -4,7 +4,6 @@
overflow-y: auto; overflow-y: auto;
max-height: 250px; max-height: 250px;
padding: 0; padding: 0;
color: @gray-dark;
li.no-notifs { li.no-notifs {
text-align: center; text-align: center;
@ -51,7 +50,7 @@
.pointer; .pointer;
} }
} }
&.unread { &.unread {
.bg-variant(@state-warning-bg); .bg-variant(@state-warning-bg);
@ -78,12 +77,8 @@
padding-right: 10px; padding-right: 10px;
} }
&:hover {
background: @gray-lighter;
}
&:not(:last-child) { &:not(:last-child) {
border-bottom: 1px solid @gray-lighter; border-bottom: 1px solid @dropdown-border;
} }
&.no_active a { &.no_active a {

@ -64,7 +64,6 @@
font-weight: 400; font-weight: 400;
line-height: 1.42857143; line-height: 1.42857143;
white-space: nowrap; white-space: nowrap;
color: @gray-dark;
} }
} }
.quick-search-title { .quick-search-title {

@ -273,6 +273,10 @@ a.permalink {
} }
} }
.deco-none, .deco-none:link, .deco-none:hover {
color: inherit;
text-decoration: inherit;
}
.disabled a { .disabled a {
pointer-events: none; pointer-events: none;

@ -14,7 +14,7 @@
<!-- ENDIF notifications.image --> <!-- ENDIF notifications.image -->
{{{ if ./nid }}}<div class="pull-right mark-read" aria-label="Mark Read"></div>{{{ end }}} {{{ if ./nid }}}<div class="pull-right mark-read" aria-label="Mark Read"></div>{{{ end }}}
<a href="{notifications.path}"> <a href="{notifications.path}" class="deco-none">
<span class="pull-right relTime">{notifications.timeago}</span> <span class="pull-right relTime">{notifications.timeago}</span>
<span class="text">{notifications.bodyShort}</span> <span class="text">{notifications.bodyShort}</span>
</a> </a>

@ -1,7 +1,7 @@
<ul id="quick-search-results" class="quick-search-results"> <ul id="quick-search-results" class="quick-search-results">
{{{each posts}}} {{{each posts}}}
<li data-tid="{posts.topic.tid}" data-pid="{posts.pid}"> <li data-tid="{posts.topic.tid}" data-pid="{posts.pid}">
<a href="{config.relative_path}/post/{posts.pid}"> <a href="{config.relative_path}/post/{posts.pid}" class="deco-none">
{buildAvatar(posts.user, "sm", true)} {buildAvatar(posts.user, "sm", true)}
<span class="quick-search-title">{posts.topic.title}</span> <span class="quick-search-title">{posts.topic.title}</span>
<br/> <br/>

Loading…
Cancel
Save