mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-03-04 14:36:00 -05:00
Améliore affichage flux vides (voir ticket #169)
Les couleurs sont mieux gérées selon l'action
This commit is contained in:
@@ -44,7 +44,8 @@
|
||||
|
||||
<?php if (!empty ($this->feeds)) { ?>
|
||||
<?php foreach ($this->feeds as $feed) { ?>
|
||||
<li class="item<?php echo ($this->flux && $this->flux->id () == $feed->id ()) ? ' active' : ''; ?><?php echo $feed->inError () ? ' error' : ''; ?>">
|
||||
<?php $nbEntries = $feed->nbEntries (); ?>
|
||||
<li class="item<?php echo ($this->flux && $this->flux->id () == $feed->id ()) ? ' active' : ''; ?><?php echo $feed->inError () ? ' error' : ''; ?><?php echo $nbEntries == 0 ? ' empty' : ''; ?>">
|
||||
<a href="<?php echo _url ('configure', 'feed', 'id', $feed->id ()); ?>">
|
||||
<img class="favicon" src="<?php echo $feed->favicon (); ?>" alt="" />
|
||||
<?php echo $feed->name (); ?>
|
||||
|
||||
@@ -125,6 +125,12 @@
|
||||
.categories .feeds .item.empty .feed {
|
||||
color: #e67e22;
|
||||
}
|
||||
.categories .feeds .item.empty.active {
|
||||
background: #e67e22;
|
||||
}
|
||||
.categories .feeds .item.empty.active .feed {
|
||||
color: #fff;
|
||||
}
|
||||
.categories .feeds .item.error .feed {
|
||||
color: #BD362F;
|
||||
}
|
||||
|
||||
@@ -289,6 +289,13 @@ input, select, textarea {
|
||||
color: #fff;
|
||||
background: #BD362F;
|
||||
}
|
||||
.nav.nav-list .item.empty a {
|
||||
color: #f39c12;
|
||||
}
|
||||
.nav.nav-list .item.active.empty a {
|
||||
color: #fff;
|
||||
background: #f39c12;
|
||||
}
|
||||
|
||||
.nav.nav-list .nav-header {
|
||||
padding: 0 10px;
|
||||
|
||||
@@ -275,10 +275,19 @@ input, select, textarea {
|
||||
.nav.nav-list .item.error a {
|
||||
color: #BD362F;
|
||||
}
|
||||
.nav.nav-list .item:hover.error a,
|
||||
.nav.nav-list .item.active.error a {
|
||||
color: #fff;
|
||||
background: #BD362F;
|
||||
}
|
||||
.nav.nav-list .item.empty a {
|
||||
color: #f39c12;
|
||||
}
|
||||
.nav.nav-list .item:hover.empty a,
|
||||
.nav.nav-list .item.active.empty a {
|
||||
color: #fff;
|
||||
background: #f39c12;
|
||||
}
|
||||
|
||||
.nav.nav-list .nav-header {
|
||||
padding: 0 10px;
|
||||
|
||||
Reference in New Issue
Block a user