mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 11:55:56 +00:00
Added average color calculation of feeds' favicons for banded display.
This commit is contained in:
@@ -528,8 +528,9 @@ class Feeds extends Handler_Protected {
|
||||
$reply['content'] .= "<div class=\"cdm $expanded_class $class\"
|
||||
id=\"RROW-$id\" $mouseover_attrs'>";
|
||||
|
||||
$reply['content'] .= "<div class=\"cdmHeader\">";
|
||||
|
||||
//setting feed headline background color, needs to change text color based on dark/light
|
||||
$favColor = explode("|", $line['favicon_avg_color']);
|
||||
$reply['content'] .= "<div class=\"cdmHeader\" style=\"background-color: rgb($favColor[0], $favColor[1], $favColor[2]);\">";
|
||||
$reply['content'] .= "<div style=\"vertical-align : middle\">";
|
||||
|
||||
$reply['content'] .= "<input dojoType=\"dijit.form.CheckBox\"
|
||||
|
||||
Reference in New Issue
Block a user