remove pub_{set,unset}.png usage in main code

master
Andrew Dolgov 6 years ago
parent cbd7328cb4
commit a0778577ac

@ -770,7 +770,6 @@ class Article extends Handler_Protected {
$rv['content'] .= " "; $rv['content'] .= " ";
$rv['content'] .= "<a target='_blank' rel='noopener noreferrer' href='" . htmlspecialchars($tmp_line['feed_url']) . "'>"; $rv['content'] .= "<a target='_blank' rel='noopener noreferrer' href='" . htmlspecialchars($tmp_line['feed_url']) . "'>";
$rv['content'] .= "<img title='".__('Feed URL')."' class='tinyFeedIcon' src='images/pub_set.png'></a>";
$rv['content'] .= "</div>"; $rv['content'] .= "</div>";
} }

@ -330,7 +330,7 @@ class Feeds extends Handler_Protected {
if (feeds::feedHasIcon($feed_id)) { if (feeds::feedHasIcon($feed_id)) {
$feed_icon_img = "<img class=\"tinyFeedIcon\" src=\"".ICONS_URL."/$feed_id.ico\" alt=\"\">"; $feed_icon_img = "<img class=\"tinyFeedIcon\" src=\"".ICONS_URL."/$feed_id.ico\" alt=\"\">";
} else { } else {
$feed_icon_img = "<img class=\"tinyFeedIcon\" src=\"images/pub_set.png\" alt=\"\">"; $feed_icon_img = "<i class='icon-syndicate material-icons'>rss_feed</i>";
} }
$entry_site_url = $line["site_url"]; $entry_site_url = $line["site_url"];
@ -574,7 +574,6 @@ class Feeds extends Handler_Protected {
$tmp_content .= "&nbsp;"; $tmp_content .= "&nbsp;";
$tmp_content .= "<a target='_blank' rel='noopener noreferrer' href='" . htmlspecialchars($tmp_line['feed_url']) . "'>"; $tmp_content .= "<a target='_blank' rel='noopener noreferrer' href='" . htmlspecialchars($tmp_line['feed_url']) . "'>";
$tmp_content .= "<img title='".__('Feed URL')."'class='tinyFeedIcon' src='images/pub_unset.png'></a>";
$tmp_content .= "</div>"; $tmp_content .= "</div>";
} }

@ -17,7 +17,7 @@
white-space : nowrap; white-space : nowrap;
} }
.left { .left, .right {
display : flex; display : flex;
> * { > * {

@ -189,13 +189,16 @@ body.ttrss_main .hl > * {
body.ttrss_main .hl img { body.ttrss_main .hl img {
vertical-align: middle; vertical-align: middle;
} }
body.ttrss_main .hl .left { body.ttrss_main .hl .left,
body.ttrss_main .hl .right {
display: flex; display: flex;
} }
body.ttrss_main .hl .left > * { body.ttrss_main .hl .left > *,
body.ttrss_main .hl .right > * {
align-self: center; align-self: center;
} }
body.ttrss_main .hl .left i.material-icons { body.ttrss_main .hl .left i.material-icons,
body.ttrss_main .hl .right i.material-icons {
margin-left: 2px; margin-left: 2px;
font-size: 20px; font-size: 20px;
padding: 2px; padding: 2px;
@ -742,11 +745,6 @@ body.ttrss_main #toolbar-frame #toolbar #toolbar-headlines .left {
flex-grow: 2; flex-grow: 2;
display: flex; display: flex;
} }
body.ttrss_main #toolbar-frame #toolbar #toolbar-headlines .left i.icon-syndicate {
font-size: 19px;
color: #ff5718;
margin-right: 2px;
}
body.ttrss_main #toolbar-frame #toolbar #toolbar-headlines .left img { body.ttrss_main #toolbar-frame #toolbar #toolbar-headlines .left img {
vertical-align: middle; vertical-align: middle;
margin-right: 8px; margin-right: 8px;
@ -968,12 +966,17 @@ body.ttrss_main .dijitDialog h3:first-of-type,
body.ttrss_main .dijitDialog h4:first-of-type { body.ttrss_main .dijitDialog h4:first-of-type {
margin-top: 0px; margin-top: 0px;
} }
.cdm.marked .left i.marked-pic, body.ttrss_main i.icon-syndicate {
.hl.marked .left i.marked-pic { font-size: 19px;
color: #ff5718;
margin-right: 2px;
}
body.ttrss_main .cdm.marked .left i.marked-pic,
body.ttrss_main .hl.marked .left i.marked-pic {
color: #ffc069; color: #ffc069;
} }
.cdm.published .left i.pub-pic, body.ttrss_main .cdm.published .left i.pub-pic,
.hl.published .left i.pub-pic { body.ttrss_main .hl.published .left i.pub-pic {
color: #ff5718; color: #ff5718;
} }
::selection { ::selection {
@ -1005,13 +1008,16 @@ body.ttrss_main .dijitDialog h4:first-of-type {
padding: 4px; padding: 4px;
white-space: nowrap; white-space: nowrap;
} }
.cdm .header .left { .cdm .header .left,
.cdm .header .right {
display: flex; display: flex;
} }
.cdm .header .left > * { .cdm .header .left > *,
.cdm .header .right > * {
align-self: center; align-self: center;
} }
.cdm .header .left i.material-icons { .cdm .header .left i.material-icons,
.cdm .header .right i.material-icons {
margin-left: 2px; margin-left: 2px;
font-size: 20px; font-size: 20px;
padding: 2px; padding: 2px;

File diff suppressed because one or more lines are too long

@ -218,8 +218,7 @@ body.ttrss_main {
img { img {
vertical-align : middle; vertical-align : middle;
} }
.left, .right {
.left {
display : flex; display : flex;
> * { > * {
@ -871,12 +870,6 @@ body.ttrss_main {
flex-grow: 2; flex-grow: 2;
display : flex; display : flex;
i.icon-syndicate {
font-size : 19px;
color : #ff5718;
margin-right : 2px;
}
img { img {
vertical-align : middle; vertical-align : middle;
margin-right : 8px; margin-right : 8px;
@ -1144,18 +1137,25 @@ body.ttrss_main .dijitDialog {
} }
} }
body.ttrss_main {
i.icon-syndicate {
font-size : 19px;
color : #ff5718;
margin-right : 2px;
}
.cdm.marked .left i.marked-pic,
.hl.marked .left i.marked-pic {
color : #ffc069;
}
.cdm.marked .left i.marked-pic, .cdm.published .left i.pub-pic,
.hl.marked .left i.marked-pic { .hl.published .left i.pub-pic {
color : #ffc069; color : #ff5718;
} }
.cdm.published .left i.pub-pic,
.hl.published .left i.pub-pic {
color : #ff5718;
} }
::selection { ::selection {
background : @color-accent; background : @color-accent;
color : white; color : white;

@ -189,13 +189,16 @@ body.ttrss_main .hl > * {
body.ttrss_main .hl img { body.ttrss_main .hl img {
vertical-align: middle; vertical-align: middle;
} }
body.ttrss_main .hl .left { body.ttrss_main .hl .left,
body.ttrss_main .hl .right {
display: flex; display: flex;
} }
body.ttrss_main .hl .left > * { body.ttrss_main .hl .left > *,
body.ttrss_main .hl .right > * {
align-self: center; align-self: center;
} }
body.ttrss_main .hl .left i.material-icons { body.ttrss_main .hl .left i.material-icons,
body.ttrss_main .hl .right i.material-icons {
margin-left: 2px; margin-left: 2px;
font-size: 20px; font-size: 20px;
padding: 2px; padding: 2px;
@ -742,11 +745,6 @@ body.ttrss_main #toolbar-frame #toolbar #toolbar-headlines .left {
flex-grow: 2; flex-grow: 2;
display: flex; display: flex;
} }
body.ttrss_main #toolbar-frame #toolbar #toolbar-headlines .left i.icon-syndicate {
font-size: 19px;
color: #ff5718;
margin-right: 2px;
}
body.ttrss_main #toolbar-frame #toolbar #toolbar-headlines .left img { body.ttrss_main #toolbar-frame #toolbar #toolbar-headlines .left img {
vertical-align: middle; vertical-align: middle;
margin-right: 8px; margin-right: 8px;
@ -968,12 +966,17 @@ body.ttrss_main .dijitDialog h3:first-of-type,
body.ttrss_main .dijitDialog h4:first-of-type { body.ttrss_main .dijitDialog h4:first-of-type {
margin-top: 0px; margin-top: 0px;
} }
.cdm.marked .left i.marked-pic, body.ttrss_main i.icon-syndicate {
.hl.marked .left i.marked-pic { font-size: 19px;
color: #ff5718;
margin-right: 2px;
}
body.ttrss_main .cdm.marked .left i.marked-pic,
body.ttrss_main .hl.marked .left i.marked-pic {
color: #ffc069; color: #ffc069;
} }
.cdm.published .left i.pub-pic, body.ttrss_main .cdm.published .left i.pub-pic,
.hl.published .left i.pub-pic { body.ttrss_main .hl.published .left i.pub-pic {
color: #ff5718; color: #ff5718;
} }
::selection { ::selection {
@ -1005,13 +1008,16 @@ body.ttrss_main .dijitDialog h4:first-of-type {
padding: 4px; padding: 4px;
white-space: nowrap; white-space: nowrap;
} }
.cdm .header .left { .cdm .header .left,
.cdm .header .right {
display: flex; display: flex;
} }
.cdm .header .left > * { .cdm .header .left > *,
.cdm .header .right > * {
align-self: center; align-self: center;
} }
.cdm .header .left i.material-icons { .cdm .header .left i.material-icons,
.cdm .header .right i.material-icons {
margin-left: 2px; margin-left: 2px;
font-size: 20px; font-size: 20px;
padding: 2px; padding: 2px;

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save