aboutsummaryrefslogtreecommitdiff
path: root/p/themes/Mapco/mapco.css
diff options
context:
space:
mode:
authorGravatar maTh <math-home@web.de> 2022-02-05 00:02:06 +0100
committerGravatar GitHub <noreply@github.com> 2022-02-05 00:02:06 +0100
commitdc27baa7d67f4bc601ced80229844a88a7ca23d4 (patch)
treeae1999aa38ce2668745e923cad74b08491500157 /p/themes/Mapco/mapco.css
parent3938492b8a01967ca72c9d877f499ac8069bb701 (diff)
Improved: unread articles counter (#4166)
* Update template.css * CSS base template * CSS themes * white spaces fixed * Update ansum.rtl.css * fix themes * fix css * fix scss * theme swage * Theme Screwdriver * theme BlueLagoon fine tuning * theme Parfat tuneing * Fix merge bugs Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'p/themes/Mapco/mapco.css')
-rw-r--r--p/themes/Mapco/mapco.css29
1 files changed, 8 insertions, 21 deletions
diff --git a/p/themes/Mapco/mapco.css b/p/themes/Mapco/mapco.css
index 9d4a5d813..76fd4dc46 100644
--- a/p/themes/Mapco/mapco.css
+++ b/p/themes/Mapco/mapco.css
@@ -579,18 +579,6 @@ form th {
text-decoration: none;
color: #ffffff;
}
-.tree .tree-folder .tree-folder-items .feed .item-title:not([data-unread="0"])::before {
- margin: 11px 6px 0 4px;
- padding: 3px 4px;
- background: rgba(0, 0, 0, 0.25);
- display: block;
- float: left;
- font-size: 0.75rem;
- border-radius: 12px;
- content: attr(data-unread);
- text-align: center;
- line-height: 0.75rem;
-}
/*=== Buttons */
.stick {
@@ -721,15 +709,14 @@ form th {
width: calc(100% - 35px - 35px);
}
-.aside_feed .tree-folder-title > .title:not([data-unread="0"])::after {
- margin: -0.25rem 1rem 0 0;
- padding: 0 0.75rem;
- background: rgba(0, 0, 0, 0.25);
- border-radius: 12px;
- position: absolute;
- right: 0;
- line-height: 1.5rem;
- text-align: center;
+.aside.aside_feed .category .title:not([data-unread="0"])::after {
+ margin: 1.5em 0 0 0;
+ background-color: rgba(0, 0, 0, 0.25);
+}
+
+.aside.aside_feed .feed .item-title:not([data-unread="0"])::after {
+ margin: 0.5em 0 0 0;
+ background-color: rgba(0, 0, 0, 0.25);
}
.feed.item.empty.active {