Browse Source

trgm: use vector icon, replace recently read icon

Andrew Dolgov 3 months ago
parent
commit
c700345c96
5 changed files with 6 additions and 7 deletions
  1. 1 1
      classes/feeds.php
  2. 1 1
      css/default.css
  3. 1 1
      css/tt-rss.less
  4. 2 3
      plugins/af_psql_trgm/init.php
  5. 1 1
      themes/night.css

+ 1 - 1
classes/feeds.php

@@ -1507,7 +1507,7 @@ class Feeds extends Handler_Protected {
 				return "inbox";
 				break;
 			case -6:
-				return "cached";
+				return "restore";
 				break;
 			default:
 				if ($id < LABEL_BASE_INDEX) {

+ 1 - 1
css/default.css

@@ -703,7 +703,7 @@ body.ttrss_main #feeds-holder #feedTree i.icon.icon-rss_feed {
 body.ttrss_main #feeds-holder #feedTree i.icon.icon-new_releases {
   color: #69c671;
 }
-body.ttrss_main #feeds-holder #feedTree i.icon.icon-cached {
+body.ttrss_main #feeds-holder #feedTree i.icon.icon-restore {
   font-weight: bold;
   left: -3px;
   color: #257aa7;

+ 1 - 1
css/tt-rss.less

@@ -823,7 +823,7 @@ body.ttrss_main {
 				color : @color-enabled;
 			}
 
-			i.icon.icon-cached {
+			i.icon.icon-restore {
 				font-weight : bold;
 				left : -3px;
 				color : @color-accent;

+ 2 - 3
plugins/af_psql_trgm/init.php

@@ -113,10 +113,9 @@ class Af_Psql_Trgm extends Plugin {
 	}
 
 	function hook_article_button($line) {
-		return "<img src=\"plugins/af_psql_trgm/button.png\"
-			style=\"cursor : pointer\" style=\"cursor : pointer\"
+		return "<i style=\"cursor : pointer\" class='material-icons'
 			onclick=\"Plugins.Psql_Trgm.showRelated(".$line["id"].")\"
-			class='tagsPic' title='".__('Show related articles')."'>";
+			class='tagsPic' title='".__('Show related articles')."'>find_in_page</i>";
 	}
 
 	function hook_prefs_tab($args) {

+ 1 - 1
themes/night.css

@@ -703,7 +703,7 @@ body.ttrss_main #feeds-holder #feedTree i.icon.icon-rss_feed {
 body.ttrss_main #feeds-holder #feedTree i.icon.icon-new_releases {
   color: #69c671;
 }
-body.ttrss_main #feeds-holder #feedTree i.icon.icon-cached {
+body.ttrss_main #feeds-holder #feedTree i.icon.icon-restore {
   font-weight: bold;
   left: -3px;
   color: #257aa7;