Browse Source

only show right-side feed icon for vfeeds

master
Andrew Dolgov 1 year ago
parent
commit
2f402d598d
  1. 4
      js/Headlines.js
  2. 8
      themes/compact.css
  3. 8
      themes/compact_night.css
  4. 8
      themes/light.css
  5. 13
      themes/light/tt-rss.less
  6. 8
      themes/night.css
  7. 8
      themes/night_blue.css

4
js/Headlines.js

@ -524,7 +524,7 @@ const Headlines = {
<i class="material-icons icon-grid-span" title="${__("Span all columns")}" onclick="Article.cdmToggleGridSpan(${hl.id})">fullscreen</i>
<i class="material-icons icon-score" title="${hl.score}" onclick="Article.setScore(${hl.id}, this)">${Article.getScorePic(hl.score)}</i>
<span style="cursor : pointer" title="${App.escapeHtml(hl.feed_title)}" onclick="Feeds.open({feed:${hl.feed_id}})">
<span class="icon-feed" title="${App.escapeHtml(hl.feed_title)}" onclick="Feeds.open({feed:${hl.feed_id}})">
${Feeds.renderIcon(hl.feed_id, hl.has_icon)}
</span>
</div>
@ -588,7 +588,7 @@ const Headlines = {
</div>
<div class="right">
<i class="material-icons icon-score" title="${hl.score}" onclick="Article.setScore(${hl.id}, this)">${Article.getScorePic(hl.score)}</i>
<span onclick="Feeds.open({feed:${hl.feed_id}})" style="cursor : pointer" title="${App.escapeHtml(hl.feed_title)}">${Feeds.renderIcon(hl.feed_id, hl.has_icon)}</span>
<span onclick="Feeds.open({feed:${hl.feed_id}})" class="icon-feed" title="${App.escapeHtml(hl.feed_title)}">${Feeds.renderIcon(hl.feed_id, hl.has_icon)}</span>
</div>
</div>
`;

8
themes/compact.css

@ -663,7 +663,10 @@ body.ttrss_main #headlines-frame {
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
body.ttrss_main #headlines-frame[data-is-vfeed="false"] .header .feed {
body.ttrss_main #headlines-frame[data-is-vfeed="false"] .header .feed,
body.ttrss_main #headlines-frame[data-is-vfeed="false"] .hl .feed,
body.ttrss_main #headlines-frame[data-is-vfeed="false"] .header .icon-feed,
body.ttrss_main #headlines-frame[data-is-vfeed="false"] .hl .icon-feed {
display: none;
}
body.ttrss_main #headlines-frame[data-auto-catchup="true"] #headlines-spacer {
@ -988,6 +991,9 @@ body.ttrss_main i.icon-grid-span {
body.ttrss_main .icon-grid-span {
display: none;
}
body.ttrss_main .icon-feed {
cursor: pointer;
}
body.ttrss_main .panel {
border: 1px solid #ddd;
background: #f5f5f5;

8
themes/compact_night.css

@ -663,7 +663,10 @@ body.ttrss_main #headlines-frame {
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
body.ttrss_main #headlines-frame[data-is-vfeed="false"] .header .feed {
body.ttrss_main #headlines-frame[data-is-vfeed="false"] .header .feed,
body.ttrss_main #headlines-frame[data-is-vfeed="false"] .hl .feed,
body.ttrss_main #headlines-frame[data-is-vfeed="false"] .header .icon-feed,
body.ttrss_main #headlines-frame[data-is-vfeed="false"] .hl .icon-feed {
display: none;
}
body.ttrss_main #headlines-frame[data-auto-catchup="true"] #headlines-spacer {
@ -988,6 +991,9 @@ body.ttrss_main i.icon-grid-span {
body.ttrss_main .icon-grid-span {
display: none;
}
body.ttrss_main .icon-feed {
cursor: pointer;
}
body.ttrss_main .panel {
border: 1px solid #222;
background: #222;

8
themes/light.css

@ -663,7 +663,10 @@ body.ttrss_main #headlines-frame {
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
body.ttrss_main #headlines-frame[data-is-vfeed="false"] .header .feed {
body.ttrss_main #headlines-frame[data-is-vfeed="false"] .header .feed,
body.ttrss_main #headlines-frame[data-is-vfeed="false"] .hl .feed,
body.ttrss_main #headlines-frame[data-is-vfeed="false"] .header .icon-feed,
body.ttrss_main #headlines-frame[data-is-vfeed="false"] .hl .icon-feed {
display: none;
}
body.ttrss_main #headlines-frame[data-auto-catchup="true"] #headlines-spacer {
@ -988,6 +991,9 @@ body.ttrss_main i.icon-grid-span {
body.ttrss_main .icon-grid-span {
display: none;
}
body.ttrss_main .icon-feed {
cursor: pointer;
}
body.ttrss_main .panel {
border: 1px solid #ddd;
background: #f5f5f5;

13
themes/light/tt-rss.less

@ -768,8 +768,13 @@ body.ttrss_main {
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
&[data-is-vfeed="false"] .header .feed {
display : none;
&[data-is-vfeed="false"] {
.header,
.hl {
.feed, .icon-feed {
display : none;
}
}
}
&[data-auto-catchup="true"] #headlines-spacer {
@ -1171,6 +1176,10 @@ body.ttrss_main {
display : none;
}
.icon-feed {
cursor : pointer;
}
.panel {
border : 1px solid @border-default;
background : @color-panel-bg;

8
themes/night.css

@ -664,7 +664,10 @@ body.ttrss_main #headlines-frame {
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
body.ttrss_main #headlines-frame[data-is-vfeed="false"] .header .feed {
body.ttrss_main #headlines-frame[data-is-vfeed="false"] .header .feed,
body.ttrss_main #headlines-frame[data-is-vfeed="false"] .hl .feed,
body.ttrss_main #headlines-frame[data-is-vfeed="false"] .header .icon-feed,
body.ttrss_main #headlines-frame[data-is-vfeed="false"] .hl .icon-feed {
display: none;
}
body.ttrss_main #headlines-frame[data-auto-catchup="true"] #headlines-spacer {
@ -989,6 +992,9 @@ body.ttrss_main i.icon-grid-span {
body.ttrss_main .icon-grid-span {
display: none;
}
body.ttrss_main .icon-feed {
cursor: pointer;
}
body.ttrss_main .panel {
border: 1px solid #222;
background: #222;

8
themes/night_blue.css

@ -664,7 +664,10 @@ body.ttrss_main #headlines-frame {
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
body.ttrss_main #headlines-frame[data-is-vfeed="false"] .header .feed {
body.ttrss_main #headlines-frame[data-is-vfeed="false"] .header .feed,
body.ttrss_main #headlines-frame[data-is-vfeed="false"] .hl .feed,
body.ttrss_main #headlines-frame[data-is-vfeed="false"] .header .icon-feed,
body.ttrss_main #headlines-frame[data-is-vfeed="false"] .hl .icon-feed {
display: none;
}
body.ttrss_main #headlines-frame[data-auto-catchup="true"] #headlines-spacer {
@ -989,6 +992,9 @@ body.ttrss_main i.icon-grid-span {
body.ttrss_main .icon-grid-span {
display: none;
}
body.ttrss_main .icon-feed {
cursor: pointer;
}
body.ttrss_main .panel {
border: 1px solid #222;
background: #222;

Loading…
Cancel
Save