Code Style Cleanup as per suggestion

Code Style Cleanup as per suggesstion from Frenzie, https://github.com/FreshRSS/Extensions/pull/98#discussion_r550897011
This commit is contained in:
rom-1 2021-01-02 17:39:13 +01:00 committed by GitHub
parent 9f4290eb15
commit 0fc8dd4628
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,34 +52,34 @@ Mobile screen resolution:
The Top Menu within the mobile view might look a little bit cluttered, depending on the theme. The following CSS rules allow to hide unneccessary top menu buttons or input boxes.
```css
#nav_menu_actions /* Hides "Actions" Menu in Mobile View */
{
display:none;
}
/* Hides "Actions" Menu in Mobile View */
#nav_menu_actions {
display: none;
}
#nav_menu_views /* Hides "Views" Menu in Mobile View */
{
display:none;
}
/* Hides "Views" Menu in Mobile View */
#nav_menu_views {
display: none;
}
.nav_menu .item.search /* Hides "Search" Input Box in Mobile View */
{
display:none;
}
/* Hides "Search" Input Box in Mobile View */
.nav_menu .item.search {
display: none;
}
#mark-read-menu .dropdown /* Hides the Dropdown Menu Button next to the "Mark all read" Button in Mobile View */
{
display:none;
}
/* Hides the Dropdown Menu Button next to the "Mark all read" Button in Mobile View */
#mark-read-menu .dropdown {
display: none;
}
```
### Sidebar: Move the unread count to the right side of a feed
Some people prefer to have the unread count number of a feed on the right side after the feed's name, instead placing it between the favicon and the feeds name, as this is also the common location in other tools (e.g. e-mail inbox folder). Use this CSS code to move the number to the right side.
```css
.feed .item-title:not([data-unread="0"])::before {
display:none
display: none
}
.feed .item-title:not([data-unread="0"])::after {
content: " (" attr(data-unread) ")";
content: " (" attr(data-unread) ")";
}
```