aboutsummaryrefslogtreecommitdiff
path: root/p/themes/base-theme/frss.css
diff options
context:
space:
mode:
authorGravatar maTh <math-home@web.de> 2023-01-09 10:08:49 +0100
committerGravatar GitHub <noreply@github.com> 2023-01-09 10:08:49 +0100
commit7d12ecff0145c66113f81ce1b704316da0a403a5 (patch)
treeda7d4d6a8c6bbba80105a4e9d677d23b21d94836 /p/themes/base-theme/frss.css
parent5feefe416ff805090ad211eb670cc08c0db27dc1 (diff)
fix: CSS "content:" (#4985)
* fix * frss.css * improve bubble for unread articles in global view
Diffstat (limited to 'p/themes/base-theme/frss.css')
-rw-r--r--p/themes/base-theme/frss.css20
1 files changed, 20 insertions, 0 deletions
diff --git a/p/themes/base-theme/frss.css b/p/themes/base-theme/frss.css
index 19d9b5884..8bd4a7e99 100644
--- a/p/themes/base-theme/frss.css
+++ b/p/themes/base-theme/frss.css
@@ -1871,6 +1871,26 @@ input:checked + .slide-container .properties {
margin: 1em 0 0 0;
}
+#stream.global .feed {
+ position: relative;
+}
+
+#stream.global .feed .item-title:not([data-unread="0"])::after {
+ margin: 0.5rem 0px 0px;
+ padding: 5px 10px;
+ min-width: 20px;
+ display: block;
+ content: attr(data-unread);
+ position: absolute;
+ top: 0px;
+ right: 0px;
+ text-align: center;
+ font-size: 0.75rem;
+ border-radius: 12px;
+ line-height: 1;
+ font-weight: initial;
+}
+
.feed.active .item-title:not([data-unread="0"])::after {
color: var(--frss-font-color-light);
border: 1px solid var(--frss-border-color);