aboutsummaryrefslogtreecommitdiff
path: root/p/themes/base-theme/template.css
diff options
context:
space:
mode:
authorGravatar maTh <math-home@web.de> 2022-08-29 23:12:04 +0200
committerGravatar GitHub <noreply@github.com> 2022-08-29 23:12:04 +0200
commit2392a261d25b9f5c4f4a624ec48cbf44650fa7f1 (patch)
treee7440a766ba3f4f2e30480f9d79fbd74f54fd68f /p/themes/base-theme/template.css
parentde7ae9878cfe9d1c9d78caf3e6c67811181f9537 (diff)
Fix: global view unread article (#4559)
* template.css * themes
Diffstat (limited to 'p/themes/base-theme/template.css')
-rw-r--r--p/themes/base-theme/template.css20
1 files changed, 18 insertions, 2 deletions
diff --git a/p/themes/base-theme/template.css b/p/themes/base-theme/template.css
index d92975234..f6fa87187 100644
--- a/p/themes/base-theme/template.css
+++ b/p/themes/base-theme/template.css
@@ -1712,8 +1712,8 @@ input:checked + .slide-container .properties {
color: white;
}
-.category .title:not([data-unread="0"])::after,
-.feed .item-title:not([data-unread="0"])::after {
+.aside .category .title:not([data-unread="0"])::after,
+.aside .feed .item-title:not([data-unread="0"])::after {
margin: 0.75em 0 0 0;
padding: 5px 10px;
min-width: 20px;
@@ -1729,6 +1729,22 @@ input:checked + .slide-container .properties {
font-weight: initial;
}
+.global .box.category .title:not([data-unread="0"])::after {
+ margin: 0.5rem 0 0 0;
+ padding: 5px 10px;
+ min-width: 20px;
+ display: block;
+ content: attr(data-unread);
+ position: absolute;
+ top: 0;
+ right: 10px;
+ text-align: center;
+ font-size: 0.75rem;
+ border-radius: 12px;
+ line-height: 1;
+ font-weight: initial;
+}
+
.feed .item-title:not([data-unread="0"])::after {
margin: 1em 0 0 0;
}