Giter VIP home page Giter VIP logo

tt-rss-feedly-theme's Introduction

Feedly theme for Tiny Tiny RSS

This is a theme for the popular self-hosted RSS reader Tiny Tiny RSS that provides a Feedly-inspired interface. Enjoy a clean, minimalist design that makes it easy to quickly scan and read your feeds.

For the best experience, please use a current browser.

Quick Start

  1. Download the theme or clone the dist branch
  2. Unzip and copy the extracted files to [tt-rss-root]/themes.local
    • feedly*.css and the feedly directory are needed to get all theme variants
    • local-overrides.js is optional, it provides polyfills for Safari and prepares utility views for mobile-friendly styling
    • local-overrides.css is optional, but depends on local-overrides.js to customize the utility views
  3. Go into your TT-RSS preferences and select the feedly theme.
  4. Install/activate recommended plugins
    • toggle_sidebar for collapsing the feeds holder sidebar by clicking the left side of the screen
    • close_button to allow closing article detail in split view, important for mobile
    • shorten_expanded to truncate long articles in combined view

Features

  • A clean, minimalist design that's easy on the eyes
  • Responsive layout that works great on mobile devices
  • An additional cards view that's not available with the default theme
  • Different color variants with light and dark modes to match your personal preferences
  • High contrast variants for improved accessibility
  • Customizable fonts and spacing by setting CSS variables via the Customize button
  • Preferences theming and visual fixes
  • Optional theming of the utility views (login, password recovery, share/subscribe bookmarklets, database update etc.)
  • Support for various plugins

Configuration

There are different color variants available. If you choose the auto variants, your OS/browser will decide whether to use the light or dark color scheme.

You can configure the fonts and the UI spacing by using the Customize button in the TT-RSS settings and adding/adjusting this chunk of CSS code:

/* These are the default settings for feedly.css */
:root {
  --base-spacing: 45px; /* works best with a value between 30px and 75px */
  --font-size-post: 16px;
  --fonts-ui: "Helvetica Neue", Arial, Helvetica, "Liberation Sans",
    "Nimbus Sans L", FreeSans, sans-serif;
  --fonts-content: var(--fonts-ui);
  --fonts-heading: SansCn;
  --fonts-mono: "Fira Code", Menlo, Monaco, Consolas, "Lucida Console",
    "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono",
    "Courier New", monospace;
  --reading-width: 45; /* use a unitless `em` value */
  --card-max-column-count: 10;
  --card-min-column-width: 300px;
}

For a more compact spacing, try using the following custom CSS:

:root {
  --base-spacing: 30px;
  --font-size-post: 14px;
}

Development

In order to generate the CSS files, you will need to have Node.js and NPM installed.

  1. Run npm install to install dependencies
  2. Run npm start to watch src and compile on changes
  3. Run npm run dist to build, compress and copy all needed files to dist
    If you have a dist branch on your fork, the new content of the dist directory will also be pushed to it

FAQ

Where are the CSS files? They used to be at the root level

CSS is now pushed to the dist branch. So now you can clone/download only the files that you need and don't need to check which files have to be copied for installation. Also, the main branch commit history stays clean so it's easier to track changes.

I don't want to copy the files every time – how do I stay up-to-date easily?

You can clone this repo and git checkout dist in it. Then change to your TT-RSS installation's themes.local directory and ln -s [path/to]/tt-rss-feedly-theme/* .. To update, just git pull in the theme's directory.

I followed the installation steps but I don't get all the new features

Please make sure that you don't have an old copy of this theme in the themes directory of your TT-RSS installation. Third-party themes should go into the themes.local directory, but files in the themes directory will override any file with the same name in the themes.local directory.

The theme looks broken

Please make sure to have the most recent version of TT-RSS installed (I test on TT-RSS git master). Also, make sure to use a supported browser in the most recent version. If it's still broken, you might have found a bug. Feel free to open an issue or create a PR.

Which browsers are supported?

This theme works best with Chromium-based browsers like Chrome, Brave, Edge, Vivaldi or Opera. Firefox and Safari are also supported but they're missing some minor features. On mobile devices, again, Chromium-based browsers on Android work best but Safari and other browsers on iOS should also work fine.

What about tablets?

Tablets are also supported, both iPads and Android. The theme detects touch devices and will show all controls that would only be revealed on hover when using a desktop/laptop with a mouse/trackpad.

Is there a way to quickly switch between light and night mode?

Yes, this theme is compatible with the toggle_night_mode plugin by ltGuillaume. If you selected either a regular or a night color variant, you can toggle back and forth by hitting a N. If you want your OS/browser to control this, select an auto color variant.

Can I change the colors via custom CSS?

It's not possible via CSS variables because colors are processed at build time. You can checkout the main branch, edit _variables.less and build your own version of the theme.

Why did you change the license?

I want this theme to have a proper, well-recognized license to make it clear and easy for others to use this code as source or part of their work. In contrast to the previously used WTFPL, the MIT license is very popular, permissive, short and clear. Please include the license with the copyright notice in any copy or fork.

Screenshots

This is a selection to give you an impression of what to expect.

color variants Available color variants. Top: default night, default light, sepia night, sepia light
Bottom: high contrast, high contrast night, sepia contrast, sepia contrast night


login Login in light mode, password recovery in dark mode on mobile


cdm expanded sepia Combined view expanded with sepia color variant, mobile in night mode


cdm grouped Combined view, expand selected atricle only, grouped by feed, mobile in night mode


split sepia Split view, desktop in widescreen mode, mobile non-widescreen in night mode


cards high contrast Cards overview (enable grid, combined view, and expand selected article only) with high contrast variant


cards detail sepia contrast Cards detail (opens as a layer similar to Feedly) with sepia contrast color variant


preferences mobile Preferences on mobile: main, plugins, feeds, edit feed

tt-rss-feedly-theme's People

Contributors

85pando avatar alt-grr avatar ardichoke avatar cfq20 avatar dependabot[bot] avatar fightingdreamer avatar grigorii-horos avatar heikoadams avatar kaligule avatar levito avatar maru-sama avatar ryansouthern avatar simonmellerin avatar sovanyio avatar talklittle avatar tsyganov-ivan avatar vinzv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tt-rss-feedly-theme's Issues

[Enchancement]Option for Dark Version?

I love this theme, I was wondering if there is anyone to get a Dark or Nighttime option for it. The layout is fantastic though and I thank you so much for making it 👍

Create a new release

Hey, could you create a new release so I can repackage this for ttrss 18.12? Thank you

Does this work on 16.8? new install and it's not showing up

I've just installed a new ttrss system on ubuntu. I've used apt-get rather than install via git (so this means that the base folder of tt-rss is /usr/share/tt-rss/www).

It was also owned by root, so I've done a chown www-data:www-data. Then followed the instructions for loading the feedly theme:

/usr/share/tt-rss/www/themes$ la -la
total 60
drwxr-xr-x 3 www-data www-data 4096 Aug 15 08:55 .
drwxr-xr-x 13 www-data www-data 4096 Aug 15 08:31 ..
-rw-r--r-- 1 www-data www-data 111 Aug 26 2016 default.css
-rw-r--r-- 1 www-data www-data 0 Aug 26 2016 .empty
drwxr-xr-x 5 www-data www-data 4096 Aug 15 08:55 feedly
-rw-r--r-- 1 www-data www-data 38970 Aug 15 08:55 feedly.css
-rw-r--r-- 1 www-data www-data 3899 Aug 26 2016 night.css

So it's appearing here, and seems to have the right permissions. But doesn't seem to show up.

Any help?

[Improvement][Bug] Squished text.

Hi,

at the moment the text within the expanded item tab is really squished to the left. It gets worse with bigger aspect ratios or higher resolution.

Would it be possible to change it so it uses more screen real estate?

Here's how it looks at the moment.
image

How to enable this design?

Hi!

How do I get a list of such clearance? I want that the feeds name was near with feeds favicons. I hope that you understand me.

Sorry for my English, I am from Ukraine.

feedly-expandable 1

Thumbnail Preview in the Feed?

before it was possible too get his done with some small edits i notices in the forum @ tt-rss. but they do not seem too work anymore.. so is there a way to get this working now? with newest tt-rss and this theme ?

[Request] Possible to make it Responsive ?

This is a great and beautiful theme - however I would like to know if it can be made to work on mobiles too (smartphones) since right now the current settings are not optimal for displays on such screens.

Problems with floatingTitle

Really like that design, but i use the combined feed display and the floatingTitle-Bar above the feeds bugs with this theme (on latest release + latest git of tt-rss). It won't just show the headline of the actual article, but when i scroll, it will change to different articles (despite them not being opened).

I don't know, whether it's the theme or tt-rss what's buggy, but i go for the theme. With the default.css it works without a problem. I wasn't able to fix this myself, maybe you know where to look :)

Bug
(iPhone5 News on the top is in the floatingTitle, but the intel news is opened)

If the only content of article is <img> inside of <a>, then article title becomes unclickable

How to reproduce:

  1. Create RSS feed, in which each item contain only that HTML code (below is unescaped version):
<a href="http://example.com>
    <img src="https://placeholdit.imgix.net/~text?txtsize=33&txt=350%C3%97150&w=350&h=150">
</a>
  1. Clicking of article title in expanded view does nothing.

Adding, for example, <p> anywhere in article content solves this. Or setting style display: block on that single <a> element works, too.

feedly theme not shown in TT-RSS 18.12 preferences

Hi

I have running tt-rss 18.12 in docker with last version linuxserver/tt-rss :

# docker inspect -f '{{ index .Config.Labels "build_version" }}' tt-rss
Linuxserver.io version:- 18.12-ls2 Build-date:- 2019-02-12T14:36:56+00:00

I have copied css files to tt-rss/themes.local/ dir following README.md :

$ ls -lhF /config/www/tt-rss/themes*
/config/www/tt-rss/themes:
total 12K
-rw-rw-r-- 1 abc abc  328 Nov 30 22:02 compact.css
-rw-rw-r-- 1 abc abc  192 Nov 30 22:02 default.php
-rw-rw-r-- 1 abc abc 4.0K Nov 30 22:02 night.css

/config/www/tt-rss/themes.local:
total 64K
drwxr-xr-x 3 abc abc 4.0K Feb 14 13:31 feedly/
-rw-r--r-- 1 abc abc  60K Feb 14 13:31 feedly.css

$ md5sum /config/www/tt-rss/themes.local/*.css
471016e09edef84ee934f7d179689237  /config/www/tt-rss/themes.local/feedly.css

$ find /config/www/tt-rss/themes.local
/config/www/tt-rss/themes.local
/config/www/tt-rss/themes.local/feedly.css
/config/www/tt-rss/themes.local/feedly
/config/www/tt-rss/themes.local/feedly/fonts
/config/www/tt-rss/themes.local/feedly/fonts/texgyreheroscn-bold-webfont.woff
/config/www/tt-rss/themes.local/feedly/fonts/texgyreheroscn-regular-webfont.ttf
/config/www/tt-rss/themes.local/feedly/fonts/texgyreheroscn-regular-webfont.woff
/config/www/tt-rss/themes.local/feedly/fonts/texgyreheroscn-bolditalic-webfont.woff
/config/www/tt-rss/themes.local/feedly/fonts/texgyreheroscn-italic-webfont.woff
/config/www/tt-rss/themes.local/feedly/fonts/texgyreheroscn-italic-webfont.ttf
/config/www/tt-rss/themes.local/feedly/fonts/texgyreheroscn-bolditalic-webfont.ttf
/config/www/tt-rss/themes.local/feedly/fonts/texgyreheroscn-bold-webfont.ttf

There was no feedly theme in TT-RSS preferences :

img

Theme is not selectable with v17.1

Tried changing the first line in feedly.css from:

/* supports-version:16.8 */

to

/* supports-version:18.0 */

Used to work like a charm. Doesn't anymore.

Create a new release

I'm currently packaging this theme for NixOS, but the last release is 61 commits ahead (e.g., the night theme is missing).
Is it possible to create a new (more current) release? Thanks in advance.

single line items not available in widescreen

The feed icon/name and item title take up multiple lines in widescreen mode (see screenshot), differing from the single line they use in screenshots for this project. In not-widescreen mode, the single line name/title seems to work fine.

The problem appears for me in both Chrome and Firefox. How should I help debug this problem?

screenshot from 2015-10-28 12 21 42

Width of text in blockquotes is not limited

I noticed if a feed entry contains a blockquote with text in it without enclosing paragraph element, the width of the text ist not capped, rather it uses the full width of the browser.

e.g.

<blockquote>
Some long text
</blockquote>

Takes the whole width, while

<blockquote>
<p>Some long text</p>
</blockquote>

works like intended. As far as I see it, only strict XHTML requires that a blockquote only contains blocks. Thus my first example should be valid html and it should be formatted correctly.

Font does not support czech characters

Hi,
I am having issues with this theme as Tex Gyre Heros font does not support characters used in Czech language:
ĚŠČŘŽŮĎŤŇ
+
ěščřžůďťň
These letters are rendered with different font and it looks really strange.

Theme broken (again) with latest TTRSS commit

Running TTRSS v16.8 (5cbd1fe) here, and unfortunately your wonderful theme is broken again, e.g. not usable anymore. Probably there were some new attributes or CSS styles introduced?

Edit: High likely just a matter of tweaking "supports-version:16.3" again. Thank you!

Installation instructions seems out-of-date

I guess cp feedly.css feedly-night.css [TT-RSS_Home]/themes.local should be cp feedly-*.css [TT-RSS_Home]/themes.local?

feedly-night.css does not exist anymore and you added a lot more CSS files (=themes?).

Styling kind of broken in combined view

After going from the last official release version of tt-rss to the master branch, the feedly theme has a little glitch for me. Grabbed latest feedly theme from git.

I have no custom css.

Ideas?

untitled-1

Version header format has changed

The version string for the theme needs to be updated to match the new format which was quietly pushed out yesterday. Without the correct version string, the the theme will not load.

See gothfox/Tiny-Tiny-RSS@9959acc87a6c95f0a9c87dac898def1afdad1bf8

Pull request incoming to address this.

Big empty space between last entry and "The End"

There is a big empty space (about as high as the screen) between the last entry in the list of posts and the "The End" box. This means that whenever you scroll to the bottom to read the oldest post, you have to scroll back up to actually see a post. The issue seems to be, that the div with the id "headlines-spacer" has a height of 100%, deactivating that css rule fixes the issue in the latest firefox and chrome.

Mark as read when clicking on number of unread articles

Hey Veit, awesome theme! Not really an issue but some kind of a feature request: Feedly marks all articles automatically as read when you click on that little number next to the feed name. You know, the number which indicates the total amount of unread articles within that feed (see the attached image).
Do you plan to implement this feature? Would be nice to mark all articles as read this way :-)
hn_mark_read

resize left pane mouse arrow width too large

hey, first thanks for the update.

so the left pane resizing area. the resizing is fine i just cant get the mouse pointer on the left pane scroll bar to drag the bar up or down.

Theme Fixes for v 17.12 broken in Firefox

The changes made to make the theme compatible with v 17.12 completely broke the theme in Firefox 57. I ended up having to use another browser to log in and change my theme setting so that it would load and be usable. Not really sure what, specifically, broke it as I'm not much of a CSS guru.

screen shot 2017-12-18 at 13 18 33-fullpage

scrollbar Little error

Hello

I have a problem with the left view, when all the categories are open, a scrolbar appears, it is possible to draw with the mouse wheel, but not possible to click on scrollbar to change the view.

Theme doesn't show up in preferences

Hello,

I've installed the files on the /themes folder, but the css doesn't show up in the dropdown in the ttrss preferences.

Any idea what I should do?

Thanks!

Does not work with 17.4

After upgrading to the latest TT-RSS (17.4) and updating the file with the latest version from github the theme is no longer available for selection.

I already changed the "supported-version" number. This made it run again but the design is broken then. Please invest. Thanks. 👍

Install problems

Hi there. Sure, im new to tt-rss and would like to try it. After installation from Github, tt-rss seems to be on version 18.8. I have copied as advised both css files and the feedly subdir to the themes folder of tt-rss and chowned afterwards all files to www-data (just to be sure). But i couldn't choose the theme from within the settings. Do i miss something or have i done something wrong?

star / mark an entry not working in ttrss release 1.13

Hi,

after updating to ttrss 1.13, I noticed that staring/marking articles is no longer working with the feedly theme. There used to be a mouse-over "animation" on the right side of the page, which enabled the user to star / unstar an item. This is no longer possible.

bildschirmfoto 2014-07-29 um 23 32 58
(Mouse is not visible in the screenshot, it is hovering over the 2nd line where the menu used to be)

Browser: Google Chrome 37
TT-RSS release: 1.13

Permissions etc. have been checked.

UI broken on Firefox & Chrome TTRSS v.1.12

There are several problems with the UI on the v.1.12 of TTRSS on both Firefox and Chrome.

1. The arrows for categories are not visible, but are clickable. My bad, fixed bad permission and this was corrected.
2. If the buttons on the top row do not fit the screen, some of them are left outside the browser-window. See attached picture -- it is lacking the options-button.
3. If a button not completely visible on the screen is pressed, it refocuses the window without providing a scroll-bar.

ttrss

Broken in 1.15.1?

I can't get the theme to show in the selector since upgrading to 1.15.1.

I've installed a fresh copy of the theme with no luck.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.