Strikethrough backlinks of filtered posts.

This commit is contained in:
Nicolas Stepien 2011-10-30 17:47:27 +01:00
parent 21d02ce569
commit b5bb703288
2 changed files with 8 additions and 2 deletions

View File

@ -2330,7 +2330,7 @@
} }
link = $.el('a', { link = $.el('a', {
href: "#" + id, href: "#" + id,
className: 'backlink', className: root.hidden ? 'filtered backlink' : 'backlink',
textContent: quoteBacklink.funk(id) textContent: quoteBacklink.funk(id)
}); });
if (conf['Quote Preview']) { if (conf['Quote Preview']) {
@ -3324,6 +3324,9 @@
.filetitle, .replytitle, .postername, .commentpostername, .postertrip {\ .filetitle, .replytitle, .postername, .commentpostername, .postertrip {\
background: none;\ background: none;\
}\ }\
.filtered {\
text-decoration: line-through;\
}\
\ \
/* Firefox bug: hidden tables are not hidden. fixed in 9.0 */\ /* Firefox bug: hidden tables are not hidden. fixed in 9.0 */\
[hidden] {\ [hidden] {\

View File

@ -1762,7 +1762,7 @@ quoteBacklink =
continue if !conf['OP Backlinks'] and el.className is 'op' continue if !conf['OP Backlinks'] and el.className is 'op'
link = $.el 'a', link = $.el 'a',
href: "##{id}" href: "##{id}"
className: 'backlink' className: if root.hidden then 'filtered backlink' else 'backlink'
textContent: quoteBacklink.funk id textContent: quoteBacklink.funk id
if conf['Quote Preview'] if conf['Quote Preview']
$.bind link, 'mouseover', quotePreview.mouseover $.bind link, 'mouseover', quotePreview.mouseover
@ -2586,6 +2586,9 @@ Main =
.filetitle, .replytitle, .postername, .commentpostername, .postertrip { .filetitle, .replytitle, .postername, .commentpostername, .postertrip {
background: none; background: none;
} }
.filtered {
text-decoration: line-through;
}
/* Firefox bug: hidden tables are not hidden. fixed in 9.0 */ /* Firefox bug: hidden tables are not hidden. fixed in 9.0 */
[hidden] { [hidden] {