mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-21 10:44:34 -04:00
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:
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
|
||||
|
||||
@@ -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; ?>
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user