Commit Graph

209 Commits

Author SHA1 Message Date
Anders Kaseorg 5c145bde7a Make the floating title transition smoother
Previously the floating title would not appear until the real title
scrolled entirely out of view, which was visually distracting.  Now it
appears at the point when its bottom lines up with the real title’s
bottom.  This isn’t perfect yet due to small differences between the
two titles’ layouts, but it’s much closer.

We now need to use visibility: visible|hidden instead of display:
block|none to show and hide the floating title, in order to be able to
retrieve its height while it’s hidden.  It’s important to use that
height because occasionally line wrapping differences make the
floating title shorter than the real title, and we don’t want the real
title to poke out from underneath.

Also fix scrollToRowId to offset by the 4 pixel top margin (like
cdmScrollToArticleId already does), so that it goes back to a point
when the floating title was hidden; and set the right margin on the
floating title so that it’s the same width as the real title and
doesn’t overlap the scroll bar.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2015-01-30 21:58:44 -05:00
Andrew Dolgov f6cbe9a5a0 require version information in all additional themes 2014-12-09 15:16:53 +03:00
Andrew Dolgov d9c93ebfdb tweak notifications; use css animations for notifications 2014-11-02 20:58:46 +03:00
Andrew Dolgov 8b91b0beb5 add ttrss version and init params to reports 2014-03-14 14:20:32 +04:00
Andrew Dolgov 6214a0768a reinstate scriptaculous controls (needed for ajax.autocomplete) 2014-01-28 15:31:41 +04:00
Andrew Dolgov f3479db384 add previously missed zoom.css
remove unused scriptaculous parts
2014-01-28 01:42:17 +04:00
Andrew Dolgov cdbcb2778a move Zoom stylesheet to a separate file
update stylesheet/javascript tag helpers to return output instead of
printing it
2014-01-28 01:39:24 +04:00
Andrew Dolgov 1bffd1068f unify main and headlines toolbar 2014-01-27 22:03:42 +04:00
Andrew Dolgov 3684074387 use require_once for minifier 2013-07-31 15:05:05 +04:00
Andrew Dolgov 618e80ee5e hide collapse sidebar button by default 2013-07-15 15:00:36 +04:00
Andrew Dolgov baf3fcf93a use a different network error image 2013-07-10 14:02:32 +04:00
Andrew Dolgov 08820be70b add experimental floating title when scrolling long articles in combined mode 2013-06-05 22:20:22 +04:00
Andrew Dolgov 6938c03658 always include basic layout CSS file to prevent unworkable UI in case of a broken/incompatible theme 2013-05-20 16:16:34 +04:00
Andrew Dolgov 5bbc4bb4b0 move stylesheets to css/, reference default tt-rss stylesheets from
default.css to make custom themes easier
2013-05-19 21:22:01 +04:00
gitawego c8d3fd5b18 @FIXED dijit modules aren't cached in compressed mode 2013-05-14 20:27:23 +03:00
Rasmus Lerdorf 6f7798b643 Fixing bugs found by static analysis 2013-05-07 00:35:10 -07:00
Andrew Dolgov 8d388f321b add a simple JS-based hook host 2013-04-24 19:49:37 +04:00
Andrew Dolgov 1ffe3391f9 make pluginhost a singleton 2013-04-18 12:27:34 +04:00
Andrew Dolgov eefaa2df38 remove db_connect, db_close; CLI fixes 2013-04-17 17:00:35 +04:00
Andrew Dolgov 6322ac79a0 remove $link 2013-04-17 16:48:41 +04:00
Andrew Dolgov 404e2e3603 more work on singleton-based DB 2013-04-17 15:36:48 +04:00
Andrew Dolgov ba68b6815a db updates, remove init_connection() 2013-04-17 14:23:35 +04:00
Andrew Dolgov 95437e9e07 tweak notify layout/display 2013-04-17 10:50:46 +04:00
Andrew Dolgov b68a266a73 remove no_cache_incantation() 2013-04-12 14:06:20 +04:00
Andrew Dolgov f3b2e7d41f add back sorting by title 2013-04-04 20:44:55 +04:00
Andrew Dolgov e3ca32a818 replace catchupCurrentFeed dropdown with a better control 2013-04-03 18:20:14 +04:00
Andrew Dolgov b7041615c4 fix mark as read dropdown not resetting 2013-04-02 18:50:54 +04:00
Andrew Dolgov c88e4a2af3 remove small_article_preview 2013-04-02 14:34:17 +04:00
Andrew Dolgov 97e2c731b8 move HOOK_TOOLBAR_BUTTON elements inside actionChooser 2013-04-02 08:45:51 +04:00
Daniel Andersson d94fba61c1 Load plugin JS last to enhance plugin capabilities 2013-04-01 21:08:04 +02:00
Andrew Dolgov ceb7847108 add HOOK_TOOLBAR_BUTTON, HOOK_ACTION_ITEM, HOOK_HEADLINE_TOOLBAR_BUTTON 2013-04-01 18:06:09 +04:00
Andrew Dolgov 417591034a remove experimental view_settings stuff from master 2013-04-01 13:02:29 +04:00
Andrew Dolgov a2a3d5a3aa add (disabled) per-feed view_settings handling placeholder 2013-04-01 10:09:22 +04:00
Andrew Dolgov c468531817 hide switch to digest from actions menu 2013-03-31 15:40:56 +04:00
Andrew Dolgov a57c814990 hide some obscure-ish (or having hotkeys) options from global Actions menu 2013-03-31 15:36:14 +04:00
Andrew Dolgov c8b693cf7f implement catchup with selectable updated criteria 2013-03-31 12:37:42 +04:00
Andrew Dolgov 22af123269 make toggling combined mode work without reload 2013-03-30 19:55:52 +04:00
Andrew Dolgov 5d40efc9b0 add ability to select CSS files in themes/ 2013-03-28 21:04:29 +04:00
Andrew Dolgov 56b61583a2 change order of oldest first/newest first 2013-03-28 20:52:55 +04:00
Andrew Dolgov 8aa01d7989 disable SORT_HEADLINES_BY_FEED_DATE; replace with a toolbar newest first order 2013-03-28 20:51:06 +04:00
Andrew Dolgov b9a06a0e39 retire frankly ridiculous sorting by score/title/date/default
keep defaul and oldest first instead of REVERSE_HEADLINES
2013-03-28 20:44:43 +04:00
Andrew Dolgov f820f205d0 css cleanup; remove auxDlg; add separate prefs.css 2013-03-27 22:41:12 +04:00
Andrew Dolgov 127aaaa0f7 add has_note with mode 2013-03-27 21:35:16 +04:00
Andrew Dolgov 3b4c319d2c Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS 2013-03-26 22:38:31 +04:00
Andrew Dolgov d0c6dd29d1 add experimental easy installer 2013-03-26 22:38:05 +04:00
Andrew Dolgov a543e86d85 add redirect to digest on smartphones if mobile is missing 2013-03-26 20:31:30 +04:00
Andrew Dolgov 4aac835562 add back redirection to mobile plugin 2013-03-26 19:02:07 +04:00
Andrew Dolgov d8cfe1955f Revert "Removes redirection to mobile/"
This reverts commit a4d4bceb97.
2013-03-26 19:01:14 +04:00
Andrew Dolgov 2e4faaacff add unread_first view mode 2013-03-25 22:45:40 +04:00
Andrew Dolgov 2e828a4af6 add a button to show release notes before updating; remove obsolete elements 2013-03-25 21:47:38 +04:00
Andrew Dolgov d2f3467bb6 add a simple appearing preview for unexpanded cdm and normal mode 2013-03-25 16:09:05 +04:00
Andrew Dolgov bcbb2ec792 remove localized_js.php; integrate with other startup JS stuff 2013-03-25 12:45:27 +04:00
Andrew Dolgov f50c2785a7 remove updated view mode 2013-03-25 10:01:26 +04:00
Remi Rampin a4d4bceb97 Removes redirection to mobile/
mobile/ was removed by d98e76d9c2 but the redirection still existed in
index.php, causing the site to be inaccessible on mobile devices.
2013-03-23 23:06:42 -04:00
Andrew Dolgov 99534a3dde remove page title stuff for the time being 2013-03-23 09:51:30 +04:00
Andrew Dolgov 9972b7cdd7 Revert "update SITE_TITLE customization to work without needing to be pre-defined, make it compatible with unread count now being at start of title"
This reverts commit 8d051fa076.
2013-03-23 09:48:15 +04:00
Andrew Dolgov b68dce191f Revert "fix tabs"
This reverts commit d6cb941459.
2013-03-23 09:48:07 +04:00
Andrew Dolgov d6cb941459 fix tabs 2013-03-22 09:40:02 +04:00
Richard Beales 8d051fa076 update SITE_TITLE customization to work without needing to be pre-defined, make it compatible with unread count now being at start of title 2013-03-21 20:24:26 +00:00
Richard Beales 96f19f11d7 Merge remote-tracking branch 'upstream/master' 2013-03-21 18:57:21 +00:00
Andrew Dolgov efc7243c70 update favicon; add 72px hires favicon 2013-03-21 19:09:13 +04:00
Richard Beales f1fdfbea43 Merge remote-tracking branch 'upstream/master' 2013-03-21 07:04:54 +00:00
Joschasa 2a3b6de0ef remove deprecated theme_image() 2013-03-20 22:59:08 +01:00
Andrew Dolgov bfdf07bb6e deprecate manual update button 2013-03-20 21:42:08 +04:00
Richard Beales 77accf45df fix merge conflict with stylesheet tags 2013-03-20 16:59:19 +00:00
Andrew Dolgov b5d4716a52 optimize loading of external libraries a bit
fix bold text in Unread articles
2013-03-20 20:33:46 +04:00
Richard Beales 7c97d17aaf Merge remote-tracking branch 'upstream/master' 2013-03-18 07:32:01 +00:00
Andrew Dolgov c670a80ddd cache minified js files 2013-03-18 11:00:44 +04:00
Andrew Dolgov 107997e6cb replace jsmin with jshrink 2013-03-18 10:45:04 +04:00
Andrew Dolgov 9a2885da17 if plugin method get_css(), embed plugin-specific css to main UI 2013-03-18 09:30:06 +04:00
Richard Beales ffbab555b8 Feature #446 - Allow customizing page title 2013-03-16 14:27:55 +00:00
Andrew Dolgov 1b113281ff make version checks a bit more readable 2013-03-16 12:06:34 +04:00
Dimitar Dimitrov f2ea6b1696 Found another place with a php version check. 2013-03-16 00:30:29 +01:00
Andrew Dolgov d2ef966e8d add a separate check for php version because of T_PAAMAYIM_NEKUDOTAYIM on 5.2 2013-03-14 19:16:01 +04:00
Andrew Dolgov 87801bd866 hide widescreen mode toggle in cdm 2013-02-23 19:37:15 +04:00
Andrew Dolgov 2d1282d4d1 remove top hello - feedback - preferences line 2013-02-06 20:14:06 +04:00
Andrew Dolgov 38325ad6d1 remove tt-rss tabcontrol 2013-02-06 11:09:45 +04:00
Andrew Dolgov 96f0a3e79d remove themes/ 2013-01-23 15:36:32 +04:00
Andrew Dolgov 6effae6dd8 add net-alert icon 2013-01-14 14:16:55 +04:00
Andrew Dolgov 1bcf8f456a add ability to toggle widescreen mode on the fly 2013-01-05 16:56:49 +04:00
Andrew Dolgov 23419d117b modify includes to init session before translations are applied 2013-01-05 01:28:07 +04:00
Andrew Dolgov b8cb4d08b3 help cleanup, use dijit dialog 2012-12-28 15:42:02 +04:00
Andrew Dolgov ac22075182 move digest to a separate plugin 2012-12-24 10:16:01 +04:00
Andrew Dolgov 19c7350770 experimental new plugin system 2012-12-23 14:52:18 +04:00
Andrew Dolgov 88e8fb3a71 modify include path order (closes #514) 2012-12-09 13:41:22 +04:00
Andrew Dolgov c0c2abbaa7 force refetch feed when clicking update/clicking on same feed in the tree 2012-10-25 13:15:14 +04:00
Andrew Dolgov 0ef32f48b2 unify child category counter display; remove include_children control 2012-10-11 12:46:33 +04:00
Andrew Dolgov 0d421af86f split authentication to separate modules 2012-08-16 15:30:49 +04:00
Andrew Dolgov a650c251c7 remove include_children element form name 2012-08-15 16:19:50 +04:00
Andrew Dolgov 854a2ace86 change include_children to a togglebutton; add placeholder setting save in a session 2012-08-13 21:39:40 +04:00
Andrew Dolgov 09101297ee add toolbar checkbox to include subcategories to viewfeed() 2012-08-13 21:25:46 +04:00
Andrew Dolgov 2ecd2df560 sorta-kinda fix the feedlist 2012-08-13 18:56:55 +04:00
Andrew Dolgov 310fa2ddef implement search in pref-filters 2012-06-29 13:11:39 +04:00
Andrew Dolgov 955d4f82ea automatically redirect to mobile/ using Mobile_Detect class 2012-06-28 23:15:09 +04:00
Andrew Dolgov 949b1a9491 hide several user-related prompts when using remote auth + auto_login (closes #447) 2012-05-16 11:56:21 +04:00
Andrew Dolgov bb82bed23f move jsmin.php to lib/ 2011-12-21 12:19:41 +04:00
Andrew Dolgov 0415037517 add jsmin stuff to index.php 2011-12-21 12:15:03 +04:00
Andrew Dolgov 55ad22fa55 add note plugin 2011-12-21 10:58:06 +04:00
Andrew Dolgov 1baac2803c add mail and share plugins 2011-12-21 08:50:37 +04:00
Andrew Dolgov f9ac31d671 move tweet button to a plugin, implement basic support for article action button plugins 2011-12-20 23:59:37 +04:00
Andrew Dolgov f03a795de7 include path fix for lighttpd 2011-12-15 18:19:38 +04:00
Andrew Dolgov ab05e53813 remove about dialog 2011-12-14 15:52:40 +04:00
Andrew Dolgov 66be620a87 do not include keyboard help files into index and prefs.php 2011-12-14 15:51:27 +04:00
Andrew Dolgov 5f0a3741d0 add Public_Handler
misc code cleanup
2011-12-13 14:49:11 +04:00
Andrew Dolgov 9da0e4a2ff fix 500 error on missing config.php 2011-12-12 15:19:34 +04:00
Andrew Dolgov 107d0cf39e overall directory tree cleanup 2011-12-11 23:59:25 +04:00
Andrew Dolgov 659468ebf0 add php-gettext, i18n stuff 2007-03-05 09:37:13 +01:00
Andrew Dolgov 1d3a17c71e change short php tags to long ones 2006-08-19 08:04:45 +01:00
Andrew Dolgov e593ccd798 add tiny index.php (this one is better solved by .htaccess, but I digress) 2006-01-05 16:26:38 +01:00