Make read/bookmark icons more usable in mobile view
This commit is contained in:
parent
b0ba363871
commit
b8a9c91e79
@ -369,6 +369,7 @@ article .read-icon,
|
||||
article .bookmark-icon {
|
||||
cursor: pointer;
|
||||
color: #aaa;
|
||||
font-weight: 200;
|
||||
}
|
||||
|
||||
article[data-item-bookmark="0"] .bookmark-icon:before {
|
||||
@ -955,4 +956,23 @@ html[dir="rtl"] span.items-count:before {
|
||||
section li {
|
||||
font-size: 0.85em;
|
||||
}
|
||||
|
||||
.item-icons {
|
||||
display: block;
|
||||
float: right;
|
||||
}
|
||||
|
||||
.item-title {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.item-icons .read-icon,
|
||||
.item-icons .bookmark-icon {
|
||||
font-size: 1.7em;
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
.item-infos .bookmark-icon {
|
||||
font-size: 2.0em;
|
||||
}
|
||||
}
|
||||
|
@ -7,8 +7,11 @@
|
||||
<?= $hide ? 'data-hide="true"' : '' ?>
|
||||
>
|
||||
<h2 <?= Helper\is_rtl($item) ? 'dir="rtl"' : 'dir="ltr"' ?>>
|
||||
<?= \Template\load('bookmark_links', array('item' => $item, 'menu' => $menu, 'offset' => $offset, 'source' => '')) ?>
|
||||
<?= \Template\load('status_links', array('item' => $item, 'redirect' => $menu, 'offset' => $offset)) ?>
|
||||
<span class="item-icons">
|
||||
<?= \Template\load('bookmark_links', array('item' => $item, 'menu' => $menu, 'offset' => $offset, 'source' => '')) ?>
|
||||
<?= \Template\load('status_links', array('item' => $item, 'redirect' => $menu, 'offset' => $offset)) ?>
|
||||
</span>
|
||||
<span class="item-title">
|
||||
<?= Helper\favicon($favicons, $item['feed_id']) ?>
|
||||
<?php if ($display_mode === 'full' || $item_title_link == 'original'): ?>
|
||||
<a class="original" rel="noreferrer" target="_blank"
|
||||
@ -23,6 +26,7 @@
|
||||
title="<?= Helper\escape($item['title']) ?>"
|
||||
><?= Helper\escape($item['title']) ?></a>
|
||||
<?php endif ?>
|
||||
</span>
|
||||
</h2>
|
||||
<ul class="item-menu">
|
||||
<?php if ($menu !== 'feed-items'): ?>
|
||||
|
Loading…
Reference in New Issue
Block a user