diff --git a/js/FeedTree.js b/js/FeedTree.js index 17cd3deea55a48adcd5110526acf7b1d832a6051..af0f420d6f9b91e6486ab4a58f91c8cbfdddd755 100755 --- a/js/FeedTree.js +++ b/js/FeedTree.js @@ -82,6 +82,9 @@ define(["dojo/_base/declare", "dojo/dom-construct", "dojo/_base/array", "dojo/co } if (id.match("FEED:")) { + tnode.rowNode.setAttribute('data-feed-id', bare_id); + tnode.rowNode.setAttribute('data-is-cat', "false"); + const menu = new dijit.Menu(); menu.row_id = bare_id; @@ -132,6 +135,9 @@ define(["dojo/_base/declare", "dojo/dom-construct", "dojo/_base/array", "dojo/co } if (id.match("CAT:")) { + tnode.rowNode.setAttribute('data-feed-id', bare_id); + tnode.rowNode.setAttribute('data-is-cat', "true"); + tnode.loadingNode = dojo.create('img', { className: 'loadingNode', src: 'images/blank_icon.gif'}); domConstruct.place(tnode.loadingNode, tnode.labelNode, 'after'); } diff --git a/themes/compact.css b/themes/compact.css index 16a05cadd4454beeddd55a7b510589f3f3fcf289..7209c7575dd4d3ab4fcd6f92f26758ad6a6b8041 100644 --- a/themes/compact.css +++ b/themes/compact.css @@ -587,6 +587,9 @@ body.ttrss_main #feeds-holder #feedTree .counterNode { min-width: 23px; height: 14px; } +body.ttrss_main #feeds-holder #feedTree .dijitTreeRow[data-feed-id="-3"][data-is-cat="false"] .counterNode.unread { + background-color: #3ea447; +} body.ttrss_main #feeds-holder #feedTree .dijitTreeNode .loadingExpando { left: -3px; height: 22px; diff --git a/themes/compact_night.css b/themes/compact_night.css index aabadc867c40ada4d15349e3dfdaa742a9544c1c..04111c5746731ebf690c0c96f91744ae40d30bc7 100644 --- a/themes/compact_night.css +++ b/themes/compact_night.css @@ -587,6 +587,9 @@ body.ttrss_main #feeds-holder #feedTree .counterNode { min-width: 23px; height: 14px; } +body.ttrss_main #feeds-holder #feedTree .dijitTreeRow[data-feed-id="-3"][data-is-cat="false"] .counterNode.unread { + background-color: #3ea447; +} body.ttrss_main #feeds-holder #feedTree .dijitTreeNode .loadingExpando { left: -3px; height: 22px; diff --git a/themes/light.css b/themes/light.css index 252a9a7cca10cd6fb1200ed6678a8a02552b0516..f3bde57567dc9df44c6ca48e68df63a86bd38174 100644 --- a/themes/light.css +++ b/themes/light.css @@ -587,6 +587,9 @@ body.ttrss_main #feeds-holder #feedTree .counterNode { min-width: 23px; height: 14px; } +body.ttrss_main #feeds-holder #feedTree .dijitTreeRow[data-feed-id="-3"][data-is-cat="false"] .counterNode.unread { + background-color: #3ea447; +} body.ttrss_main #feeds-holder #feedTree .dijitTreeNode .loadingExpando { left: -3px; height: 22px; diff --git a/themes/light/tt-rss.less b/themes/light/tt-rss.less index 36b73b4f474623976f79390c5ca0d4c2e70e33de..6eeac742908865e9a6142ee7e088658c63c9b033 100644 --- a/themes/light/tt-rss.less +++ b/themes/light/tt-rss.less @@ -676,6 +676,11 @@ body.ttrss_main { height : 14px; } + // fresh + .dijitTreeRow[data-feed-id="-3"][data-is-cat="false"] .counterNode.unread { + background-color: darken(@color-checked, 15%); + } + .dijitTreeNode .loadingExpando { left : -3px; height : 22px; diff --git a/themes/night.css b/themes/night.css index 3226031ddcfab8aef042bb89279ff49dfe834179..5f4d4e5030d9cc76c28f65d021c9a5e200804fa1 100644 --- a/themes/night.css +++ b/themes/night.css @@ -588,6 +588,9 @@ body.ttrss_main #feeds-holder #feedTree .counterNode { min-width: 23px; height: 14px; } +body.ttrss_main #feeds-holder #feedTree .dijitTreeRow[data-feed-id="-3"][data-is-cat="false"] .counterNode.unread { + background-color: #3ea447; +} body.ttrss_main #feeds-holder #feedTree .dijitTreeNode .loadingExpando { left: -3px; height: 22px; diff --git a/themes/night_blue.css b/themes/night_blue.css index 615c5bbd81db0cfc6263ba95954e28b0bae6bb9a..9a73889f987d06f85bb075c4dc6b523b50714599 100644 --- a/themes/night_blue.css +++ b/themes/night_blue.css @@ -588,6 +588,9 @@ body.ttrss_main #feeds-holder #feedTree .counterNode { min-width: 23px; height: 14px; } +body.ttrss_main #feeds-holder #feedTree .dijitTreeRow[data-feed-id="-3"][data-is-cat="false"] .counterNode.unread { + background-color: #3ea447; +} body.ttrss_main #feeds-holder #feedTree .dijitTreeNode .loadingExpando { left: -3px; height: 22px;