From 1b6fffe9f0782f916163ed9e07dc8c17582f8ab4 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sat, 18 Oct 2014 16:25:28 -0700 Subject: [PATCH] Add CSS class for thread watcher lines with unread replies, rename replies quoting you class for consistency. --- src/General/css/burichan.css | 2 +- src/General/css/futaba.css | 2 +- src/General/css/photon.css | 2 +- src/General/css/tomorrow.css | 2 +- src/General/css/yotsuba-b.css | 2 +- src/General/css/yotsuba.css | 2 +- src/Monitoring/ThreadWatcher.coffee | 3 ++- 7 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/General/css/burichan.css b/src/General/css/burichan.css index 8514f84e2..3bff10e56 100755 --- a/src/General/css/burichan.css +++ b/src/General/css/burichan.css @@ -67,7 +67,7 @@ } /* Thread Watcher */ -:root.burichan .unread-quoting-you > a { +:root.burichan .replies-quoting-you > a { color: #F00; } diff --git a/src/General/css/futaba.css b/src/General/css/futaba.css index be8f930d8..67fb369ae 100755 --- a/src/General/css/futaba.css +++ b/src/General/css/futaba.css @@ -67,7 +67,7 @@ } /* Thread Watcher */ -:root.futaba .unread-quoting-you > a { +:root.futaba .replies-quoting-you > a { color: #F00; } diff --git a/src/General/css/photon.css b/src/General/css/photon.css index 4b7c0c04f..3b026dc8e 100755 --- a/src/General/css/photon.css +++ b/src/General/css/photon.css @@ -67,7 +67,7 @@ } /* Thread Watcher */ -:root.photon .unread-quoting-you > a { +:root.photon .replies-quoting-you > a { color: #00F !important; } diff --git a/src/General/css/tomorrow.css b/src/General/css/tomorrow.css index 91cb1d711..09cd7cd40 100755 --- a/src/General/css/tomorrow.css +++ b/src/General/css/tomorrow.css @@ -73,7 +73,7 @@ } /* Thread Watcher */ -:root.tomorrow .unread-quoting-you > a { +:root.tomorrow .replies-quoting-you > a { color: #F00 !important; } diff --git a/src/General/css/yotsuba-b.css b/src/General/css/yotsuba-b.css index d9ae70d33..0ed052068 100755 --- a/src/General/css/yotsuba-b.css +++ b/src/General/css/yotsuba-b.css @@ -68,7 +68,7 @@ } /* Thread Watcher */ -:root.yotsuba-b .unread-quoting-you > a { +:root.yotsuba-b .replies-quoting-you > a { color: #F00; } diff --git a/src/General/css/yotsuba.css b/src/General/css/yotsuba.css index a49ab93d6..dff4eb70e 100755 --- a/src/General/css/yotsuba.css +++ b/src/General/css/yotsuba.css @@ -67,7 +67,7 @@ } /* Thread Watcher */ -:root.yotsuba .unread-quoting-you > a { +:root.yotsuba .replies-quoting-you > a { color: #F00; } diff --git a/src/Monitoring/ThreadWatcher.coffee b/src/Monitoring/ThreadWatcher.coffee index 541f3c7e7..4462208e2 100755 --- a/src/Monitoring/ThreadWatcher.coffee +++ b/src/Monitoring/ThreadWatcher.coffee @@ -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: ->