Normal view: improve feed filter link (#4006)

* padding+greyscal favicon while hovering+underline

* improve underline + improve mouse title

* fixed RTL

* CSS for more places of feed filter

* add title in content feed filter
This commit is contained in:
maTh authored and GitHub committed 2022-02-04 16:32:02 +01:00
1 parent f8cad8c959
commit 3938492b8a
4 files changed
+17 -6

No files matched your search

@@ -31,9 +31,10 @@
?></li><?php
}
}
?><li class="item website"><a href="<?= _url('index', 'index', 'get', 'f_' . $this->feed->id()) ?>" title="<?= _t('gen.action.filter') ?>">
<?php if (FreshRSS_Context::$user_conf->show_favicons): ?><img class="favicon" src="<?= $this->feed->favicon() ?>" alt="✇" loading="lazy" /><?php endif; ?>
<span><?= $this->feed->name() ?></span></a>
?><li class="item website">
<a href="<?= _url('index', 'index', 'get', 'f_' . $this->feed->id()) ?>" title="<?= _t('gen.action.filter') ?>: <?= $this->feed->name() ?>">
<?php if (FreshRSS_Context::$user_conf->show_favicons): ?><img class="favicon" src="<?= $this->feed->favicon() ?>" alt="✇" loading="lazy" /><?php endif; ?><span><?= $this->feed->name() ?></span>
</a>
</li>
<?php
+1 -1
View File
@@ -74,7 +74,7 @@ $today = @strtotime('today');
<div class="content <?= $content_width ?>">
<h1 class="title"><a target="_blank" rel="noreferrer" class="go_website" href="<?= $this->entry->link() ?>"><?= $this->entry->title() ?></a></h1>
<div class="subtitle">
<div class="website"><a href="<?= _url('index', 'index', 'get', 'f_' . $this->feed->id()) ?>">
<div class="website"><a href="<?= _url('index', 'index', 'get', 'f_' . $this->feed->id()) ?>" title="<?= _t('gen.action.filter') ?>: <?= $this->feed->name() ?>">
<?php if (FreshRSS_Context::$user_conf->show_favicons): ?>
<img class="favicon" src="<?= $this->feed->favicon() ?>" alt="✇" loading="lazy" />
<?php endif; ?>
+6 -1
View File
@@ -764,6 +764,12 @@ input[type="search"] {
.flux .item.website {
width: 200px;
padding-right: 10px;
}
.website a:hover .favicon,
a.website:hover .favicon {
filter: grayscale(100%);
}
.flux.not_read .item.title,
@@ -855,7 +861,6 @@ input[type="search"] {
.flux .item > a {
display: block;
text-decoration: none;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
+6 -1
View File
@@ -764,6 +764,12 @@ input[type="search"] {
.flux .item.website {
width: 200px;
padding-left: 10px;
}
.website a:hover .favicon,
a.website:hover .favicon {
filter: grayscale(100%);
}
.flux.not_read .item.title,
@@ -855,7 +861,6 @@ input[type="search"] {
.flux .item > a {
display: block;
text-decoration: none;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;