Rename site.selectors.relative.replyPost to site.selectors.relative.replyHighlight
This commit is contained in:
parent
576a223fc8
commit
4e84b284ca
@ -145,7 +145,7 @@ ThreadHiding =
|
|||||||
a
|
a
|
||||||
|
|
||||||
makeStub: (thread, root) ->
|
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
|
numReplies += +summary.textContent.match /\d+/ if summary = $ g.SITE.selectors.summary, root
|
||||||
|
|
||||||
a = ThreadHiding.makeButton thread, 'show'
|
a = ThreadHiding.makeButton thread, 'show'
|
||||||
|
|||||||
@ -58,7 +58,7 @@ ExpandThread =
|
|||||||
return if @ isnt status.req # aborted
|
return if @ isnt status.req # aborted
|
||||||
delete status.req
|
delete status.req
|
||||||
ExpandThread.parse @, thread, a
|
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) ->
|
contract: (thread, a, threadRoot) ->
|
||||||
status = ExpandThread.statuses[thread]
|
status = ExpandThread.statuses[thread]
|
||||||
|
|||||||
@ -68,15 +68,15 @@
|
|||||||
outline: 2px solid rgba(145, 182, 214, .8);
|
outline: 2px solid rgba(145, 182, 214, .8);
|
||||||
}
|
}
|
||||||
:root.spooky.highlight-you .quotesYou$site$relative$opHighlight,
|
: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);
|
border-left: 3px solid rgba(145, 182, 214, .8);
|
||||||
}
|
}
|
||||||
:root.spooky.highlight-own .yourPost$site$relative$opHighlight,
|
: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);
|
border-left: 3px dashed rgba(145, 182, 214, .8);
|
||||||
}
|
}
|
||||||
:root.spooky .filter-highlight$site$relative$opHighlight,
|
: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);
|
box-shadow: inset 5px 0 rgba(145, 182, 214, .5);
|
||||||
}
|
}
|
||||||
:root.spooky.highlight-own .yourPost > $site$sideArrows,
|
:root.spooky.highlight-own .yourPost > $site$sideArrows,
|
||||||
|
|||||||
@ -1441,15 +1441,15 @@ input[name="Default Volume"] {
|
|||||||
outline: 2px solid rgba(216, 94, 49, .8);
|
outline: 2px solid rgba(216, 94, 49, .8);
|
||||||
}
|
}
|
||||||
:root.highlight-you .quotesYou$site$relative$opHighlight,
|
: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);
|
border-left: 3px solid rgba(221, 0, 0, .8);
|
||||||
}
|
}
|
||||||
:root.highlight-own .yourPost$site$relative$opHighlight,
|
: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);
|
border-left: 3px dashed rgba(221, 0, 0, .8);
|
||||||
}
|
}
|
||||||
.filter-highlight$site$relative$opHighlight,
|
.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);
|
box-shadow: inset 5px 0 rgba(221, 0, 0, .5);
|
||||||
}
|
}
|
||||||
:root.highlight-own .yourPost > $site$sideArrows,
|
:root.highlight-own .yourPost > $site$sideArrows,
|
||||||
|
|||||||
@ -64,15 +64,15 @@
|
|||||||
outline: 2px solid rgba(145, 182, 214, .8);
|
outline: 2px solid rgba(145, 182, 214, .8);
|
||||||
}
|
}
|
||||||
:root.tomorrow.highlight-you .quotesYou$site$relative$opHighlight,
|
: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);
|
border-left: 3px solid rgba(145, 182, 214, .8);
|
||||||
}
|
}
|
||||||
:root.tomorrow.highlight-own .yourPost$site$relative$opHighlight,
|
: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);
|
border-left: 3px dashed rgba(145, 182, 214, .8);
|
||||||
}
|
}
|
||||||
:root.tomorrow .filter-highlight$site$relative$opHighlight,
|
: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);
|
box-shadow: inset 5px 0 rgba(145, 182, 214, .5);
|
||||||
}
|
}
|
||||||
:root.tomorrow.highlight-own .yourPost > $site$sideArrows,
|
:root.tomorrow.highlight-own .yourPost > $site$sideArrows,
|
||||||
|
|||||||
@ -91,9 +91,9 @@ SW.tinyboard =
|
|||||||
thumbLink: '.file > a'
|
thumbLink: '.file > a'
|
||||||
multifile: '.files > .file'
|
multifile: '.files > .file'
|
||||||
relative:
|
relative:
|
||||||
opHighlight: ' > .op'
|
opHighlight: ' > .op'
|
||||||
replyPost: '.reply'
|
replyHighlight: '.reply'
|
||||||
replyOriginal: 'div[id^="reply_"]:not(.hidden)'
|
replyOriginal: 'div[id^="reply_"]:not(.hidden)'
|
||||||
catalogHighlight: ' > .thread'
|
catalogHighlight: ' > .thread'
|
||||||
comment: '.body'
|
comment: '.body'
|
||||||
spoiler: '.spoiler'
|
spoiler: '.spoiler'
|
||||||
|
|||||||
@ -54,9 +54,9 @@ SW.yotsuba =
|
|||||||
thumb: 'a.fileThumb > [data-md5]'
|
thumb: 'a.fileThumb > [data-md5]'
|
||||||
thumbLink: 'a.fileThumb'
|
thumbLink: 'a.fileThumb'
|
||||||
relative:
|
relative:
|
||||||
opHighlight: '.opContainer'
|
opHighlight: '.opContainer'
|
||||||
replyPost: ' > .reply'
|
replyHighlight: ' > .reply'
|
||||||
replyOriginal: '.replyContainer:not([data-clone])'
|
replyOriginal: '.replyContainer:not([data-clone])'
|
||||||
catalogHighlight: ''
|
catalogHighlight: ''
|
||||||
comment: '.postMessage'
|
comment: '.postMessage'
|
||||||
spoiler: 's'
|
spoiler: 's'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user