From c191e0315e96cd9c8b0e0bec28f0931c874bbf79 Mon Sep 17 00:00:00 2001 From: maTh Date: Sun, 23 Oct 2022 20:56:25 +0200 Subject: Fix 4712 (#4750) * fix * fix * fix nord theme (a bit) * fix --- app/views/helpers/index/normal/entry_header.phtml | 18 +++++++++--------- p/themes/Nord/nord.css | 1 + p/themes/Nord/nord.rtl.css | 1 + p/themes/Pafat/pafat.css | 8 ++++++-- p/themes/Pafat/pafat.rtl.css | 8 ++++++-- p/themes/base-theme/frss.css | 6 ++++-- p/themes/base-theme/frss.rtl.css | 6 ++++-- 7 files changed, 31 insertions(+), 17 deletions(-) diff --git a/app/views/helpers/index/normal/entry_header.phtml b/app/views/helpers/index/normal/entry_header.phtml index 38d81f5c9..248ad4804 100644 --- a/app/views/helpers/index/normal/entry_header.phtml +++ b/app/views/helpers/index/normal/entry_header.phtml @@ -16,7 +16,7 @@ if ($this->entry->isRead()) { $arUrl['params']['is_read'] = 0; } - ?>entry->isRead() ? 'read' : 'unread'); ?>entry->isFavorite()) { $arUrl['params']['is_favorite'] = 0; } - ?>entry->isFavorite() ? 'starred' : 'non-starred'); ?>
  • - + show_favicons): ?>✇feed->name() ?>
  • @@ -42,15 +42,15 @@ ?>
  • entry->thumbnail(); if ($thumbnail != null): - ?> />
  • -
  • entry->title() ?>" dir="auto">entry->title() ?>entry->authors(); if (is_array($authors)) { $first = true; @@ -62,10 +62,10 @@ ?>
    entry->content()), 0, 500, 'UTF-8')) ?>
    entry->content()), 0, 500, 'UTF-8')) ?>
  • -
  •  
  • - + diff --git a/p/themes/Nord/nord.css b/p/themes/Nord/nord.css index 14c094985..ff51c608e 100644 --- a/p/themes/Nord/nord.css +++ b/p/themes/Nord/nord.css @@ -590,6 +590,7 @@ li.item.active { .flux:not(.current):hover .item.title { background: var(--accent-bg); transition: .4s; + bottom: 0; } .flux .item.title a { diff --git a/p/themes/Nord/nord.rtl.css b/p/themes/Nord/nord.rtl.css index e5a02502a..a76a6f5a9 100644 --- a/p/themes/Nord/nord.rtl.css +++ b/p/themes/Nord/nord.rtl.css @@ -590,6 +590,7 @@ li.item.active { .flux:not(.current):hover .item.title { background: var(--accent-bg); transition: .4s; + bottom: 0; } .flux .item.title a { diff --git a/p/themes/Pafat/pafat.css b/p/themes/Pafat/pafat.css index 7f1b4f707..b5068abe4 100644 --- a/p/themes/Pafat/pafat.css +++ b/p/themes/Pafat/pafat.css @@ -721,6 +721,10 @@ a.signin { border-left: 3px solid #d9534f; } +.flux:not(.current):hover .item.title { + bottom: 0; +} + .flux .item.title a, .flux.not_read:not(.current):hover .item.title { color: #333; } @@ -747,8 +751,8 @@ a.signin { font-size: 0.9rem; } -.flux .website .favicon { - padding: 5px; +.flux_header .title .item-element { + padding: 0.425rem; } .flux .item.date { diff --git a/p/themes/Pafat/pafat.rtl.css b/p/themes/Pafat/pafat.rtl.css index a3660a3e5..412aa3adf 100644 --- a/p/themes/Pafat/pafat.rtl.css +++ b/p/themes/Pafat/pafat.rtl.css @@ -721,6 +721,10 @@ a.signin { border-right: 3px solid #d9534f; } +.flux:not(.current):hover .item.title { + bottom: 0; +} + .flux .item.title a, .flux.not_read:not(.current):hover .item.title { color: #333; } @@ -747,8 +751,8 @@ a.signin { font-size: 0.9rem; } -.flux .website .favicon { - padding: 5px; +.flux_header .title .item-element { + padding: 0.425rem; } .flux .item.date { diff --git a/p/themes/base-theme/frss.css b/p/themes/base-theme/frss.css index bb7192863..bef421dd0 100644 --- a/p/themes/base-theme/frss.css +++ b/p/themes/base-theme/frss.css @@ -570,11 +570,14 @@ input[type="checkbox"]:focus-visible { } .horizontal-list .item { - padding: 0.5rem 0; display: table-cell; vertical-align: middle; } +.horizontal-list .item .item-element { + padding: 0.5rem 0; +} + /*=== manage-list */ .manage-list { list-style: none; @@ -1118,7 +1121,6 @@ input[type="search"] { } .flux .flux_header .item { - padding: 0.5rem 0; white-space: nowrap; } diff --git a/p/themes/base-theme/frss.rtl.css b/p/themes/base-theme/frss.rtl.css index f90d14ae4..8d7391be4 100644 --- a/p/themes/base-theme/frss.rtl.css +++ b/p/themes/base-theme/frss.rtl.css @@ -570,11 +570,14 @@ input[type="checkbox"]:focus-visible { } .horizontal-list .item { - padding: 0.5rem 0; display: table-cell; vertical-align: middle; } +.horizontal-list .item .item-element { + padding: 0.5rem 0; +} + /*=== manage-list */ .manage-list { list-style: none; @@ -1118,7 +1121,6 @@ input[type="search"] { } .flux .flux_header .item { - padding: 0.5rem 0; white-space: nowrap; } -- cgit v1.2.3