remove collapse.png

This commit is contained in:
Andrew Dolgov 2018-12-06 15:28:11 +03:00
parent 0b8cbc9156
commit b4c2b26822
5 changed files with 12 additions and 3 deletions

View File

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

View File

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

View File

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

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 317 B