Rename site.selectors.relative to site.selectors.highlightable

This commit is contained in:
ccd0 2019-07-22 19:58:06 -07:00
parent ce099ae6de
commit 114d234c87
5 changed files with 30 additions and 30 deletions

View File

@ -67,16 +67,16 @@
:root.spooky .qphl {
outline: 2px solid rgba(145, 182, 214, .8);
}
:root.spooky.highlight-you .quotesYou$site$relative$opHighlight,
:root.spooky.highlight-you .quotesYou$site$relative$replyHighlight {
:root.spooky.highlight-you .quotesYou$site$highlightable$op,
:root.spooky.highlight-you .quotesYou$site$highlightable$reply {
border-left: 3px solid rgba(145, 182, 214, .8);
}
:root.spooky.highlight-own .yourPost$site$relative$opHighlight,
:root.spooky.highlight-own .yourPost$site$relative$replyHighlight {
:root.spooky.highlight-own .yourPost$site$highlightable$op,
:root.spooky.highlight-own .yourPost$site$highlightable$reply {
border-left: 3px dashed rgba(145, 182, 214, .8);
}
:root.spooky .filter-highlight$site$relative$opHighlight,
:root.spooky .filter-highlight$site$relative$replyHighlight {
:root.spooky .filter-highlight$site$highlightable$op,
:root.spooky .filter-highlight$site$highlightable$reply {
box-shadow: inset 5px 0 rgba(145, 182, 214, .5);
}
:root.spooky.highlight-own .yourPost > $site$sideArrows,

View File

@ -1440,16 +1440,16 @@ input[name="Default Volume"] {
.qphl {
outline: 2px solid rgba(216, 94, 49, .8);
}
:root.highlight-you .quotesYou$site$relative$opHighlight,
:root.highlight-you .quotesYou$site$relative$replyHighlight {
:root.highlight-you .quotesYou$site$highlightable$op,
:root.highlight-you .quotesYou$site$highlightable$reply {
border-left: 3px solid rgba(221, 0, 0, .8);
}
:root.highlight-own .yourPost$site$relative$opHighlight,
:root.highlight-own .yourPost$site$relative$replyHighlight {
:root.highlight-own .yourPost$site$highlightable$op,
:root.highlight-own .yourPost$site$highlightable$reply {
border-left: 3px dashed rgba(221, 0, 0, .8);
}
.filter-highlight$site$relative$opHighlight,
.filter-highlight$site$relative$replyHighlight {
.filter-highlight$site$highlightable$op,
.filter-highlight$site$highlightable$reply {
box-shadow: inset 5px 0 rgba(221, 0, 0, .5);
}
:root.highlight-own .yourPost > $site$sideArrows,
@ -1457,9 +1457,9 @@ input[name="Default Volume"] {
.filter-highlight > $site$sideArrows {
color: rgba(221, 0, 0, .8);
}
:root.highlight-own .yourPost$site$relative$opHighlight::after,
:root.highlight-you .quotesYou$site$relative$opHighlight::after,
.filter-highlight$site$relative$opHighlight::after {
:root.highlight-own .yourPost$site$highlightable$op::after,
:root.highlight-you .quotesYou$site$highlightable$op::after,
.filter-highlight$site$highlightable$op::after {
content: "";
display: block;
clear: both;
@ -1468,7 +1468,7 @@ input[name="Default Volume"] {
:root.werkTyme .catalog-thread.filter-highlight:not(:hover),
:root.werkTyme:not(.catalog-hover-expand) .catalog-thread.filter-highlight,
:root.werkTyme.catalog-hover-expand .catalog-thread.filter-highlight > .catalog-container:hover > .catalog-post,
:root.catalog $site$catalog$thread.filter-highlight$site$relative$catalogHighlight {
:root.catalog $site$catalog$thread.filter-highlight$site$highlightable$catalog {
box-shadow: 0 0 3px 3px rgba(255, 0, 0, .5);
}
:root:not(.werkTyme) .catalog-thread.watched .catalog-thumb,

View File

@ -63,16 +63,16 @@
:root.tomorrow .qphl {
outline: 2px solid rgba(145, 182, 214, .8);
}
:root.tomorrow.highlight-you .quotesYou$site$relative$opHighlight,
:root.tomorrow.highlight-you .quotesYou$site$relative$replyHighlight {
:root.tomorrow.highlight-you .quotesYou$site$highlightable$op,
:root.tomorrow.highlight-you .quotesYou$site$highlightable$reply {
border-left: 3px solid rgba(145, 182, 214, .8);
}
:root.tomorrow.highlight-own .yourPost$site$relative$opHighlight,
:root.tomorrow.highlight-own .yourPost$site$relative$replyHighlight {
:root.tomorrow.highlight-own .yourPost$site$highlightable$op,
:root.tomorrow.highlight-own .yourPost$site$highlightable$reply {
border-left: 3px dashed rgba(145, 182, 214, .8);
}
:root.tomorrow .filter-highlight$site$relative$opHighlight,
:root.tomorrow .filter-highlight$site$relative$replyHighlight {
:root.tomorrow .filter-highlight$site$highlightable$op,
:root.tomorrow .filter-highlight$site$highlightable$reply {
box-shadow: inset 5px 0 rgba(145, 182, 214, .5);
}
:root.tomorrow.highlight-own .yourPost > $site$sideArrows,

View File

@ -91,10 +91,10 @@ SW.tinyboard =
thumb: 'a > .post-image'
thumbLink: '.file > a'
multifile: '.files > .file'
relative:
opHighlight: ' > .op'
replyHighlight: '.reply'
catalogHighlight: ' > .thread'
highlightable:
op: ' > .op'
reply: '.reply'
catalog: ' > .thread'
comment: '.body'
spoiler: '.spoiler'
quotelink: 'a[onclick^="highlightReply("]'

View File

@ -54,10 +54,10 @@ SW.yotsuba =
link: '.fileText > a'
thumb: 'a.fileThumb > [data-md5]'
thumbLink: 'a.fileThumb'
relative:
opHighlight: '.opContainer'
replyHighlight: ' > .reply'
catalogHighlight: ''
highlightable:
op: '.opContainer'
reply: ' > .reply'
catalog: ''
comment: '.postMessage'
spoiler: 's'
quotelink: ':not(pre) > .quotelink' # XXX https://github.com/4chan/4chan-JS/issues/77: 4chan currently creates quote links inside [code] tags; ignore them