Add filter-highlight to threads on the catalog.
Conflicts: css/style.css
This commit is contained in:
parent
662a3660fe
commit
5a456f0cbe
@ -113,6 +113,7 @@ Filter =
|
||||
|
||||
# Highlight
|
||||
$.addClass @nodes.root, result.class
|
||||
@thread.highlight = result.class
|
||||
if !@isReply and result.top
|
||||
@thread.isOnTop = true
|
||||
|
||||
|
||||
@ -363,6 +363,8 @@ Build =
|
||||
'<div class="comment">&{thread.OP.nodes.comment}</div>'
|
||||
) %>
|
||||
|
||||
$.addClass root, thread.highlight if thread.highlight
|
||||
|
||||
if thread.isSticky
|
||||
$.add $('.thread-icons', root), $.el 'img',
|
||||
src: "#{staticPath}sticky#{gifIcon}"
|
||||
|
||||
@ -516,6 +516,7 @@ hr ~ div.center:not(.ad-cnt) {
|
||||
.thumb {
|
||||
max-width: 150px;
|
||||
max-height: 150px;
|
||||
border-radius: 2px;
|
||||
box-shadow: 0 0 5px rgba(0, 0, 0, .25);
|
||||
}
|
||||
.thunb.spoiler-file {
|
||||
@ -823,6 +824,9 @@ span.hide-announcement {
|
||||
.filter-highlight > .reply {
|
||||
box-shadow: -5px 0 rgba(255, 0, 0, .5);
|
||||
}
|
||||
.filter-highlight .thumb {
|
||||
border: 2px solid rgba(255, 0, 0, .5);
|
||||
}
|
||||
|
||||
/* Spoiler text */
|
||||
:root.reveal-spoilers s {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user