Add CSS class for thread watcher lines with unread replies, rename replies quoting you class for consistency.

This commit is contained in:
ccd0 2014-10-18 16:25:28 -07:00
parent 7a9ee9d764
commit 1b6fffe9f0
7 changed files with 8 additions and 7 deletions

View File

@ -67,7 +67,7 @@
}
/* Thread Watcher */
:root.burichan .unread-quoting-you > a {
:root.burichan .replies-quoting-you > a {
color: #F00;
}

View File

@ -67,7 +67,7 @@
}
/* Thread Watcher */
:root.futaba .unread-quoting-you > a {
:root.futaba .replies-quoting-you > a {
color: #F00;
}

View File

@ -67,7 +67,7 @@
}
/* Thread Watcher */
:root.photon .unread-quoting-you > a {
:root.photon .replies-quoting-you > a {
color: #00F !important;
}

View File

@ -73,7 +73,7 @@
}
/* Thread Watcher */
:root.tomorrow .unread-quoting-you > a {
:root.tomorrow .replies-quoting-you > a {
color: #F00 !important;
}

View File

@ -68,7 +68,7 @@
}
/* Thread Watcher */
:root.yotsuba-b .unread-quoting-you > a {
:root.yotsuba-b .replies-quoting-you > a {
color: #F00;
}

View File

@ -67,7 +67,7 @@
}
/* Thread Watcher */
:root.yotsuba .unread-quoting-you > a {
:root.yotsuba .replies-quoting-you > a {
color: #F00;
}

View File

@ -218,7 +218,8 @@ ThreadWatcher =
$.addClass div, 'current' if g.VIEW is 'thread' and fullID is "#{g.BOARD}.#{g.THREADID}"
$.addClass div, 'dead-thread' if data.isDead
if Conf['Show Unread Count']
$.addClass div, 'unread-quoting-you' if data.unreadQY
$.addClass div, 'replies-unread' if data.unread
$.addClass div, 'replies-quoting-you' if data.unreadQY
$.add div, [x, $.tn(' '), link]
div
refresh: ->