Browse Source

remove collapse.png

Andrew Dolgov 1 year ago
parent
commit
b4c2b26822
5 changed files with 11 additions and 2 deletions
  1. 2 2
      classes/feeds.php
  2. 5 0
      css/cdm.less
  3. 4 0
      css/default.css
  4. 0 0
      css/default.css.map
  5. BIN
      images/collapse.png

+ 2 - 2
classes/feeds.php

@@ -487,8 +487,8 @@ class Feeds extends Handler_Protected {
 
 					if (!get_pref("CDM_EXPANDED")) {
 						$tmp_content .= "<span class='collapse'>
-                            <img src=\"images/collapse.png\" onclick=\"return Article.cdmUnsetActive(event)\"
-                            title=\"" . __("Collapse article") . "\"/></span>";
+                            <i class=\"material-icons\" onclick=\"return Article.cdmUnsetActive(event)\"
+                            title=\"" . __("Collapse article") . "\">remove_circle</i></span>";
 
 						if (get_pref('SHOW_CONTENT_PREVIEW')) {
 							$tmp_content .= "<span class='excerpt'>" . $line["content_preview"] . "</span>";

+ 5 - 0
css/cdm.less

@@ -402,6 +402,11 @@ div.cdm.expandable.Unread div.header a.title {
 }
 
 div.cdm.expandable.active {
+	.collapse i {
+		color : @color-accent;
+		cursor : pointer;
+	}
+
 	.excerpt {
 		display: none;
 	}

+ 4 - 0
css/default.css

@@ -1359,6 +1359,10 @@ div.cdm.expandable div.header a.title {
 div.cdm.expandable.Unread div.header a.title {
   color: black;
 }
+div.cdm.expandable.active .collapse i {
+  color: #257aa7;
+  cursor: pointer;
+}
 div.cdm.expandable.active .excerpt {
   display: none;
 }

File diff suppressed because it is too large
+ 0 - 0
css/default.css.map


BIN
images/collapse.png


Some files were not shown because too many files changed in this diff