Fixes the following problem:
1. Don't have any article selected (easiest by clicking on "main stream" or a category)
2. Press space
3. A blank window is opened, but since there's no link nothing else happens.
Actually, there are two issues to be fixed:
1. Since `div.flux_content` has been changed to `article.flux_content`
in HTML, we should address that in JS too. Or, to take one step
further, select it using `.flux_content` directly.
2. For the article already at the first position, its `prev_article`
would select `#new-article` whose css attribute `display` is `none`
in most cases, which breaks the new position calculation.
* some general.prompt styles now in template.css
* login button
* same layout for login and register form
* improve input and select
* legend with dark background instead grey
* fix config icon z-index
* remove unused code
* improve .prompt
* set header also on login and register page
* fix: show passwort button
* improve login button on login and register screen
* dropdown menu: smaller line height
* improve layout sidebar closer
* remove double code
* swage.css
* fix nits
* fix nits
* nits nits nits
* nits are all around us....
* better position of config button
* show header in mobile view + beauty the login button
* CSS files
* style the about FreshRSS link
* delete unused import.svg
* fix config sidebar padding
* fix position of user query button in mobile view
* improve config button in user query dropdown
* fix global view overlay
* fix close button aside bar in reader view
* generated CSS files
* Update swage.scss
* fix nav_menu icon color of unread and favorite
* improve search bar positioning in mobile view
* read-all dropdown menu opens to left side in mobile view
* restyle the new-article banner
* improve big read button
* make the header fixed while scrolling
* fix search input while scrolling
* improve config icons layout in .box
* fix scrollbar:hover in template.css
* improve article footer dropdowns
* swage.css
* Update main.js
* Update main.js
* fix (S)CSS
* config navigation improved
* left feed navigation: hover color added
* CSS files
* Update swage.scss
* New Article banner improved margin
* textarea: removed grey background
* remove unnecessary line
* Revert new-article banner layout
* Remove :hover in slider
* fix select height in sharing config
* Fix scrollbar for slider with white background
* fix: slider close button with theme color
* fixed scrollbar CSS
* do not display "website" in dropdown menu, when it is empty
* feed name and URL required. input type = url
* Update app/views/helpers/feed/update.phtml
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
* Update app/views/helpers/feed/update.phtml
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
* fix spaces and tabs
* use classes indead of ID
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
* fix Ansum theme: close X in white
* fix Mapco theme: close X in white
* move the dropdown-close outside of the list
* CSS
* bring flux elemt behind the grey background
* Update main.js
* it works
* small improvements
* Update slider.js
* fixed JS syntax
* slider.js included in main.js
* fix syntax
* delete including of slider.js
* Update extra.js
* Frontend changes done
* Load more should work now also without JS
* Update template.rtl.css
* improved the themes' CSS
* Update template.rtl.css
* fix CI
* CSS prop. order fixed
* Rename pagination.phtml to stream-footer.phtml
* use the new template name
* rename key of i18n
* fixed CI, that does not like the white space
* rename pagination variable
* Update indexController.php
* bad notification show double time of good notification
* stop timer, when mouse is over the notification
* after leaving the mouse hover close the notification in 1 second
* onlick to eddEventListener
* code fix
* fixed code
* more code fixes
* set default in template.css
* theme alternative dark
* theme ansum
* theme Blue lagoon
* theme dark
* theme flat
* theme Origine compact
* theme Origine
* theme Pafat
* theme Screwdriver
* theme Swage
* fixed RTL error
* fix css code
* mouseleave = 3sec.
* Use typographic quotes
* A few fixes
* Fix
* Fix not saved
* Implement feedback
* Detail
* Revert spoken English fixes
Left for a future dedicated discussion
* More reverts
* Final reverts
* Final minor
* Add preventDefault to keydown event handler
Fixes#3946.
* review
* silence technically correct but missing the picture check
Co-authored-by: Frans de Jonge <frans@clevercast.com>
Before, the UP navigation button was generating an error when no article was
selected. The process to navigate to the first element was using the position
of the current element to compute the offset, thus generating said error.
Now, if no article is selected, the first article is used as a fall-back.
See #3654
* Update Travis line length
* Also check whitespace in CSS files
* Fix line length ext.php
* More syntax, string templates
* Fix exclude-pattern
* Test JS files as well
* add two new hooks
I develop a new extension and i need 2 new hooks for it
* update EN documentation
* Correct typing errors
* Update app/views/helpers/javascript_vars.phtml
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
When the discussion #3327 started, I thought that the clipboard share
is a good idea. It never occurred to me because I do not use a
smartphone.
It might need some polishing but it seems pretty usable as-is.
See #3327
* Fix bugs in anomymous mode
Login bug (submit button not working) and refresh bug (JS null
exception, and then 403).
* Take advantage of existing variable
* feature(normal) - Remember opened categories in the left menu
Session storage based implementation to remember opened categories in left menu
Issue Ref: #2248
* lib_phpQuery updates
* Updates covering feedback points and functionality fixes
* Feedback updates
* Revert "lib_phpQuery updates"
This reverts commit dcd23b9418.
* First review
Change variable name to "remember" instead of "open".
Start using localStorage instead of sessionStorage.
Simplify code.
* Simplify remember categories init function
Replace 'session' with 'local' in function names and comment
Set open categories CSS as same as when category is opened in 'active' unfold mode
* Remove URLSearchParams check in remember categories init function
* Delete open categories on login and logout
* JSHint check fix
* Second review
* Make new mode the default for new users
* Always open active category
* Reduce / simplify code
* i18n French
* Revert default value
Wait a bit more for this decision / change
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>