aboutsummaryrefslogtreecommitdiff
path: root/p
diff options
context:
space:
mode:
authorGravatar maTh <1645099+math-GH@users.noreply.github.com> 2024-06-13 16:40:54 +0200
committerGravatar GitHub <noreply@github.com> 2024-06-13 16:40:54 +0200
commit20f13312d15a1408365b859b14621364009990cd (patch)
tree7519ad4014f7000e24c0c95862d5adafc2b31317 /p
parent35ee123dda654facadf82037675c21ca215d7fec (diff)
Reading view: action icons position (#6297)
* add configs in reading * implementation into the reading view * CSS * i18n * Credits to joshka * Update article.phtml * fix * fix * <br /> * Update app/i18n/fr/conf.php Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr> * Update app/i18n/en/conf.php Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr> * fix French * show_articleicons => show_article_icons * Update app/i18n/en/conf.php Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr> * Update app/i18n/en-us/conf.php Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr> --------- Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'p')
-rw-r--r--p/themes/base-theme/frss.css48
-rw-r--r--p/themes/base-theme/frss.rtl.css48
2 files changed, 94 insertions, 2 deletions
diff --git a/p/themes/base-theme/frss.css b/p/themes/base-theme/frss.css
index 90abbf254..77393bd42 100644
--- a/p/themes/base-theme/frss.css
+++ b/p/themes/base-theme/frss.css
@@ -1539,6 +1539,52 @@ a.website:hover .favicon {
padding: 0 0 0.25rem 1rem;
}
+.content .article-header-topline.horizontal-list .item.manage,
+.content .subtitle.horizontal-list .item.manage {
+ text-align: left;
+ width: 2rem;
+}
+
+.content .article-header-topline.horizontal-list .item.manage a,
+.content .subtitle.horizontal-list .item.manage a {
+ padding: 0.5rem 0.25rem;
+}
+
+.content .article-header-topline.horizontal-list .item,
+.content .subtitle.horizontal-list .item {
+ vertical-align: top;
+}
+
+.content .article-header-topline.horizontal-list .item .website,
+.content .subtitle.horizontal-list .item .website {
+ display: inline-block;
+ max-width: 100%;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ vertical-align: top;
+}
+
+.content .subtitle.horizontal-list .item .author {
+ display: inline-block;
+}
+
+.content .subtitle.horizontal-list .item.date {
+ padding: 0.25rem;
+ width: 155px;
+ text-align: right;
+}
+
+.content .article-header-topline.horizontal-list .item.link,
+.content .subtitle.horizontal-list .item.link {
+ text-align: right;
+}
+
+.content .article-header-topline.horizontal-list .item.link a,
+.content .subtitle.horizontal-list .item.link a {
+ padding: 0.25rem 0.5rem;
+}
+
.content pre {
overflow: auto;
}
@@ -1547,7 +1593,7 @@ a.website:hover .favicon {
display: inline;
}
-.subtitle > div:not(:first-of-type)::before {
+.subtitle:not(.horizontal-list) > div:not(:first-of-type)::before {
content: ' · ';
}
diff --git a/p/themes/base-theme/frss.rtl.css b/p/themes/base-theme/frss.rtl.css
index c6914ac89..b73d8c2eb 100644
--- a/p/themes/base-theme/frss.rtl.css
+++ b/p/themes/base-theme/frss.rtl.css
@@ -1539,6 +1539,52 @@ a.website:hover .favicon {
padding: 0 1rem 0.25rem 0;
}
+.content .article-header-topline.horizontal-list .item.manage,
+.content .subtitle.horizontal-list .item.manage {
+ text-align: right;
+ width: 2rem;
+}
+
+.content .article-header-topline.horizontal-list .item.manage a,
+.content .subtitle.horizontal-list .item.manage a {
+ padding: 0.5rem 0.25rem;
+}
+
+.content .article-header-topline.horizontal-list .item,
+.content .subtitle.horizontal-list .item {
+ vertical-align: top;
+}
+
+.content .article-header-topline.horizontal-list .item .website,
+.content .subtitle.horizontal-list .item .website {
+ display: inline-block;
+ max-width: 100%;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ vertical-align: top;
+}
+
+.content .subtitle.horizontal-list .item .author {
+ display: inline-block;
+}
+
+.content .subtitle.horizontal-list .item.date {
+ padding: 0.25rem;
+ width: 155px;
+ text-align: left;
+}
+
+.content .article-header-topline.horizontal-list .item.link,
+.content .subtitle.horizontal-list .item.link {
+ text-align: left;
+}
+
+.content .article-header-topline.horizontal-list .item.link a,
+.content .subtitle.horizontal-list .item.link a {
+ padding: 0.25rem 0.5rem;
+}
+
.content pre {
overflow: auto;
}
@@ -1547,7 +1593,7 @@ a.website:hover .favicon {
display: inline;
}
-.subtitle > div:not(:first-of-type)::before {
+.subtitle:not(.horizontal-list) > div:not(:first-of-type)::before {
content: ' · ';
}