commit c9533f966a474c39d63295e0576c79a54235ab72
parent a23c27417bd0ced2737dfe90db3699b95b46bf9e
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date: Sun, 3 Nov 2024 14:35:41 +0100
fix: hide "mark as read" stream button; feat: navigation always visible
Diffstat:
3 files changed, 21 insertions(+), 3 deletions(-)
diff --git a/css/mobile.css b/css/mobile.css
@@ -1,5 +1,18 @@
@media screen and (max-width: 641px) {
+ /* Navigation top menu should always be visible */
+ #nav-mobile {
+ position: fixed;
+ z-index: 1;
+ }
+ /* make some space for the top panel */
+ #nav,
+ #content
+ {
+ margin-top: 50px;
+ }
+
+
/* Navigation section text */
#nav-filter-title,
#nav-filter,
@@ -57,4 +70,9 @@
display: none !important;
}
+ /* hide "mark all as read" button at the bottom of the list */
+ .stream-button.mark-these-read {
+ display: none;
+ }
+
}
diff --git a/css/mobile.min.css b/css/mobile.min.css
@@ -1 +1 @@
-@media screen and (max-width:641px){#nav-filter-title,#nav-filter,#nav-tags-title,#nav-sources-title{font-size:1.1em;}#nav-tags,#nav-sources{font-size:1.25em;}#search>input[type="search"],#search-button{width:100%;margin-left:10px;}.entry-title{font-size:1.25em;}.entry-tags,.entry-source,.entry-separator,.entry-author,.entry-datetime,.entry-readtime{font-size:1.1em;}.entry-content{font-size:1.075em;}.entry:not(.expanded) .entry-toolbar{display:block;border-bottom:2px solid grey;border-top:none;}.entry-loadimages{display:none !important;}}
-\ No newline at end of file
+@media screen and (max-width:641px){#nav-mobile{position:fixed;z-index:1;}#nav,#content{margin-top:50px;}#nav-filter-title,#nav-filter,#nav-tags-title,#nav-sources-title{font-size:1.1em;}#nav-tags,#nav-sources{font-size:1.25em;}#search>input[type="search"],#search-button{width:100%;margin-left:10px;}.entry-title{font-size:1.25em;}.entry-tags,.entry-source,.entry-separator,.entry-author,.entry-datetime,.entry-readtime{font-size:1.1em;}.entry-content{font-size:1.075em;}.entry:not(.expanded) .entry-toolbar{display:block;border-bottom:2px solid grey;border-top:none;}.entry-loadimages{display:none !important;}.stream-button.mark-these-read{display:none;}}
+\ No newline at end of file
diff --git a/css/user.css b/css/user.css
@@ -1,7 +1,7 @@
/* selfoss-tweaks all-in-one user style sheet */
/* Mobile Rules */
-@media screen and (max-width:641px){#nav-filter-title,#nav-filter,#nav-tags-title,#nav-sources-title{font-size:1.1em;}#nav-tags,#nav-sources{font-size:1.25em;}#search>input[type="search"],#search-button{width:100%;margin-left:10px;}.entry-title{font-size:1.25em;}.entry-tags,.entry-source,.entry-separator,.entry-author,.entry-datetime,.entry-readtime{font-size:1.1em;}.entry-content{font-size:1.075em;}.entry:not(.expanded) .entry-toolbar{display:block;border-bottom:2px solid grey;border-top:none;}.entry-loadimages{display:none !important;}}
+@media screen and (max-width:641px){#nav-mobile{position:fixed;z-index:1;}#nav,#content{margin-top:50px;}#nav-filter-title,#nav-filter,#nav-tags-title,#nav-sources-title{font-size:1.1em;}#nav-tags,#nav-sources{font-size:1.25em;}#search>input[type="search"],#search-button{width:100%;margin-left:10px;}.entry-title{font-size:1.25em;}.entry-tags,.entry-source,.entry-separator,.entry-author,.entry-datetime,.entry-readtime{font-size:1.1em;}.entry-content{font-size:1.075em;}.entry:not(.expanded) .entry-toolbar{display:block;border-bottom:2px solid grey;border-top:none;}.entry-loadimages{display:none !important;}.stream-button.mark-these-read{display:none;}}
/* Desktop Rules */
@media screen and (min-width:641px){.entry:not(.expanded) .entry-toolbar{display:block;padding:0px;background:inherit;border:0;margin-top:-2px;opacity:0.0;}.entry:not(.expanded):hover .entry-toolbar{opacity:1.0;}.entry-content{column-count:1;}}
/* Dark Mode Rules */