Improve css for mobile version
This commit is contained in:
parent
286cc2e54c
commit
215ddaea10
@ -129,6 +129,8 @@ p code {
|
|||||||
form {
|
form {
|
||||||
padding-top: 5px;
|
padding-top: 5px;
|
||||||
padding-bottom: 5px;
|
padding-bottom: 5px;
|
||||||
|
padding-left: 15px;
|
||||||
|
border-left: 2px dotted #ddd;
|
||||||
}
|
}
|
||||||
|
|
||||||
label {
|
label {
|
||||||
@ -523,6 +525,10 @@ section li {
|
|||||||
/* mobile design */
|
/* mobile design */
|
||||||
@media only screen and (max-width: 480px) {
|
@media only screen and (max-width: 480px) {
|
||||||
|
|
||||||
|
.hide-mobile {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
@ -536,7 +542,6 @@ section li {
|
|||||||
.logo {
|
.logo {
|
||||||
display: block;
|
display: block;
|
||||||
float: none;
|
float: none;
|
||||||
border-bottom: 1px dotted #ddd;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
header {
|
header {
|
||||||
@ -581,4 +586,12 @@ section li {
|
|||||||
font-size: 0.9em;
|
font-size: 0.9em;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
section li {
|
||||||
|
font-size: 0.85em;
|
||||||
|
}
|
||||||
|
|
||||||
|
iframe {
|
||||||
|
max-width: 95%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -27,8 +27,8 @@
|
|||||||
</h2>
|
</h2>
|
||||||
<p>
|
<p>
|
||||||
<a href="<?= $feed['site_url'] ?>" rel="noreferrer" target="_blank"><?= Helper\get_host_from_url($feed['site_url']) ?></a> |
|
<a href="<?= $feed['site_url'] ?>" rel="noreferrer" target="_blank"><?= Helper\get_host_from_url($feed['site_url']) ?></a> |
|
||||||
<a href="<?= Helper\escape($feed['feed_url']) ?>" rel="noreferrer" target="_blank"><?= t('feed link') ?></a> |
|
<span class="hide-mobile"><a href="<?= Helper\escape($feed['feed_url']) ?>" rel="noreferrer" target="_blank"><?= t('feed link') ?></a> |</span>
|
||||||
<a href="?action=confirm-remove-feed&feed_id=<?= $feed['id'] ?>"><?= t('remove') ?></a> |
|
<span class="hide-mobile"><a href="?action=confirm-remove-feed&feed_id=<?= $feed['id'] ?>"><?= t('remove') ?></a> |</span>
|
||||||
<a href="?action=feed-items&feed_id=<?= $feed['id'] ?>"><?= t('items') ?></a> |
|
<a href="?action=feed-items&feed_id=<?= $feed['id'] ?>"><?= t('items') ?></a> |
|
||||||
<a href="?action=refresh-feed&feed_id=<?= $feed['id'] ?>" data-feed-id="<?= $feed['id'] ?>" data-action="refresh-feed"><?= t('refresh') ?></a>
|
<a href="?action=refresh-feed&feed_id=<?= $feed['id'] ?>" data-feed-id="<?= $feed['id'] ?>" data-action="refresh-feed"><?= t('refresh') ?></a>
|
||||||
</p>
|
</p>
|
||||||
|
@ -26,10 +26,12 @@
|
|||||||
<p>
|
<p>
|
||||||
<?= Helper\get_host_from_url($item['url']) ?> |
|
<?= Helper\get_host_from_url($item['url']) ?> |
|
||||||
|
|
||||||
<?= dt('%e %B %Y %k:%M', $item['updated']) ?> |
|
<span class="hide-mobile"><?= dt('%e %B %Y %k:%M', $item['updated']) ?> |</span>
|
||||||
|
|
||||||
<?php if (! $item['bookmark']): ?>
|
<?php if (! $item['bookmark']): ?>
|
||||||
|
<span class="hide-mobile">
|
||||||
<a id="bookmark-<?= $item_id ?>" href="?action=bookmark&value=1&id=<?= $item_id ?>&redirect=history&offset=<?= $offset ?>"><?= t('bookmark') ?></a> |
|
<a id="bookmark-<?= $item_id ?>" href="?action=bookmark&value=1&id=<?= $item_id ?>&redirect=history&offset=<?= $offset ?>"><?= t('bookmark') ?></a> |
|
||||||
|
</span>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|
||||||
<a
|
<a
|
||||||
@ -40,7 +42,10 @@
|
|||||||
<?= t('mark as unread') ?>
|
<?= t('mark as unread') ?>
|
||||||
</a> |
|
</a> |
|
||||||
|
|
||||||
|
<span class="hide-mobile">
|
||||||
<a href="?action=mark-item-removed&id=<?= $item_id ?>&offset=<?= $offset ?>"><?= t('remove') ?></a> |
|
<a href="?action=mark-item-removed&id=<?= $item_id ?>&offset=<?= $offset ?>"><?= t('remove') ?></a> |
|
||||||
|
</span>
|
||||||
|
|
||||||
<a
|
<a
|
||||||
href="<?= $item['url'] ?>"
|
href="<?= $item['url'] ?>"
|
||||||
id="original-<?= $item_id ?>"
|
id="original-<?= $item_id ?>"
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
<p class="infos">
|
<p class="infos">
|
||||||
<?= Helper\get_host_from_url($item['url']) ?> |
|
<?= Helper\get_host_from_url($item['url']) ?> |
|
||||||
<?= dt('%A %e %B %Y %k:%M', $item['updated']) ?> |
|
<span class="hide-mobile"><?= dt('%A %e %B %Y %k:%M', $item['updated']) ?> |</span>
|
||||||
<?php if ($item['bookmark']): ?>
|
<?php if ($item['bookmark']): ?>
|
||||||
<a href="?action=bookmark&value=0&id=<?= $item_id ?>&redirect=<?= $menu ?>"><?= t('remove bookmark') ?></a>
|
<a href="?action=bookmark&value=0&id=<?= $item_id ?>&redirect=<?= $menu ?>"><?= t('remove bookmark') ?></a>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
|
@ -34,13 +34,15 @@
|
|||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<?= Helper\get_host_from_url($item['url']) ?> |
|
<?= Helper\get_host_from_url($item['url']) ?> |
|
||||||
<?= dt('%e %B %Y %k:%M', $item['updated']) ?> |
|
<span class="hide-mobile"><?= dt('%e %B %Y %k:%M', $item['updated']) ?> |</span>
|
||||||
|
|
||||||
|
<span class="hide-mobile">
|
||||||
<?php if ($item['bookmark']): ?>
|
<?php if ($item['bookmark']): ?>
|
||||||
<a id="bookmark-<?= $item_id ?>" href="?action=bookmark&value=0&id=<?= $item_id ?>&redirect=unread&offset=<?= $offset ?>"><?= t('remove bookmark') ?></a> |
|
<a id="bookmark-<?= $item_id ?>" href="?action=bookmark&value=0&id=<?= $item_id ?>&redirect=unread&offset=<?= $offset ?>"><?= t('remove bookmark') ?></a> |
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<a id="bookmark-<?= $item_id ?>" href="?action=bookmark&value=1&id=<?= $item_id ?>&redirect=unread&offset=<?= $offset ?>"><?= t('bookmark') ?></a> |
|
<a id="bookmark-<?= $item_id ?>" href="?action=bookmark&value=1&id=<?= $item_id ?>&redirect=unread&offset=<?= $offset ?>"><?= t('bookmark') ?></a> |
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
</span>
|
||||||
|
|
||||||
<a
|
<a
|
||||||
href="?action=mark-item-read&id=<?= $item_id ?>&offset=<?= $offset ?>"
|
href="?action=mark-item-read&id=<?= $item_id ?>&offset=<?= $offset ?>"
|
||||||
|
Loading…
Reference in New Issue
Block a user