diff --git a/src/Filtering/ThreadHiding.coffee b/src/Filtering/ThreadHiding.coffee index bf3329246..ac298a308 100644 --- a/src/Filtering/ThreadHiding.coffee +++ b/src/Filtering/ThreadHiding.coffee @@ -145,7 +145,7 @@ ThreadHiding = a makeStub: (thread, root) -> - numReplies = $$(g.SITE.selectors.postContainer + g.SITE.selectors.relative.replyPost, root).length + numReplies = $$(g.SITE.selectors.postContainer + g.SITE.selectors.relative.replyHighlight, root).length numReplies += +summary.textContent.match /\d+/ if summary = $ g.SITE.selectors.summary, root a = ThreadHiding.makeButton thread, 'show' diff --git a/src/Miscellaneous/ExpandThread.coffee b/src/Miscellaneous/ExpandThread.coffee index 12a07e175..1bf08e752 100644 --- a/src/Miscellaneous/ExpandThread.coffee +++ b/src/Miscellaneous/ExpandThread.coffee @@ -58,7 +58,7 @@ ExpandThread = return if @ isnt status.req # aborted delete status.req ExpandThread.parse @, thread, a - status.numReplies = $$(g.SITE.selectors.postContainer + g.SITE.selectors.relative.replyPost, thread.nodes.root).length + status.numReplies = $$(g.SITE.selectors.postContainer + g.SITE.selectors.relative.replyHighlight, thread.nodes.root).length contract: (thread, a, threadRoot) -> status = ExpandThread.statuses[thread] diff --git a/src/css/spooky.css b/src/css/spooky.css index 89ad1b3f7..f3e11afb9 100644 --- a/src/css/spooky.css +++ b/src/css/spooky.css @@ -68,15 +68,15 @@ outline: 2px solid rgba(145, 182, 214, .8); } :root.spooky.highlight-you .quotesYou$site$relative$opHighlight, -:root.spooky.highlight-you .quotesYou$site$relative$replyPost { +:root.spooky.highlight-you .quotesYou$site$relative$replyHighlight { border-left: 3px solid rgba(145, 182, 214, .8); } :root.spooky.highlight-own .yourPost$site$relative$opHighlight, -:root.spooky.highlight-own .yourPost$site$relative$replyPost { +:root.spooky.highlight-own .yourPost$site$relative$replyHighlight { border-left: 3px dashed rgba(145, 182, 214, .8); } :root.spooky .filter-highlight$site$relative$opHighlight, -:root.spooky .filter-highlight$site$relative$replyPost { +:root.spooky .filter-highlight$site$relative$replyHighlight { box-shadow: inset 5px 0 rgba(145, 182, 214, .5); } :root.spooky.highlight-own .yourPost > $site$sideArrows, diff --git a/src/css/style.css b/src/css/style.css index 038cef4fa..5928b614e 100644 --- a/src/css/style.css +++ b/src/css/style.css @@ -1441,15 +1441,15 @@ input[name="Default Volume"] { outline: 2px solid rgba(216, 94, 49, .8); } :root.highlight-you .quotesYou$site$relative$opHighlight, -:root.highlight-you .quotesYou$site$relative$replyPost { +:root.highlight-you .quotesYou$site$relative$replyHighlight { border-left: 3px solid rgba(221, 0, 0, .8); } :root.highlight-own .yourPost$site$relative$opHighlight, -:root.highlight-own .yourPost$site$relative$replyPost { +:root.highlight-own .yourPost$site$relative$replyHighlight { border-left: 3px dashed rgba(221, 0, 0, .8); } .filter-highlight$site$relative$opHighlight, -.filter-highlight$site$relative$replyPost { +.filter-highlight$site$relative$replyHighlight { box-shadow: inset 5px 0 rgba(221, 0, 0, .5); } :root.highlight-own .yourPost > $site$sideArrows, diff --git a/src/css/tomorrow.css b/src/css/tomorrow.css index d1b2ad5af..3220cc5eb 100644 --- a/src/css/tomorrow.css +++ b/src/css/tomorrow.css @@ -64,15 +64,15 @@ outline: 2px solid rgba(145, 182, 214, .8); } :root.tomorrow.highlight-you .quotesYou$site$relative$opHighlight, -:root.tomorrow.highlight-you .quotesYou$site$relative$replyPost { +:root.tomorrow.highlight-you .quotesYou$site$relative$replyHighlight { border-left: 3px solid rgba(145, 182, 214, .8); } :root.tomorrow.highlight-own .yourPost$site$relative$opHighlight, -:root.tomorrow.highlight-own .yourPost$site$relative$replyPost { +:root.tomorrow.highlight-own .yourPost$site$relative$replyHighlight { border-left: 3px dashed rgba(145, 182, 214, .8); } :root.tomorrow .filter-highlight$site$relative$opHighlight, -:root.tomorrow .filter-highlight$site$relative$replyPost { +:root.tomorrow .filter-highlight$site$relative$replyHighlight { box-shadow: inset 5px 0 rgba(145, 182, 214, .5); } :root.tomorrow.highlight-own .yourPost > $site$sideArrows, diff --git a/src/site/SW.tinyboard.coffee b/src/site/SW.tinyboard.coffee index f1f78319f..038248470 100644 --- a/src/site/SW.tinyboard.coffee +++ b/src/site/SW.tinyboard.coffee @@ -91,9 +91,9 @@ SW.tinyboard = thumbLink: '.file > a' multifile: '.files > .file' relative: - opHighlight: ' > .op' - replyPost: '.reply' - replyOriginal: 'div[id^="reply_"]:not(.hidden)' + opHighlight: ' > .op' + replyHighlight: '.reply' + replyOriginal: 'div[id^="reply_"]:not(.hidden)' catalogHighlight: ' > .thread' comment: '.body' spoiler: '.spoiler' diff --git a/src/site/SW.yotsuba.coffee b/src/site/SW.yotsuba.coffee index 87438498b..c074c2e67 100644 --- a/src/site/SW.yotsuba.coffee +++ b/src/site/SW.yotsuba.coffee @@ -54,9 +54,9 @@ SW.yotsuba = thumb: 'a.fileThumb > [data-md5]' thumbLink: 'a.fileThumb' relative: - opHighlight: '.opContainer' - replyPost: ' > .reply' - replyOriginal: '.replyContainer:not([data-clone])' + opHighlight: '.opContainer' + replyHighlight: ' > .reply' + replyOriginal: '.replyContainer:not([data-clone])' catalogHighlight: '' comment: '.postMessage' spoiler: 's'