1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-03 12:12:43 +01:00
phorge-phorge/webroot/rsrc/css/aphront
epriestley 081163ab6d Simplify side nav CSS and fix various glitches
Summary:
Fixes glitches in the side nav. Resolves T1828. Resolves T2156.

  - Elastic scrolling (T2156): in Safari on OSX, using a scroll touch on the trackpad to scroll up past the top of the document caused newer-style side menus to scroll down, leaving a visible whitespace bar.
  - Whitespace glitch: Particularly in Safari, scrolling down the document quickly from the top caused the top menu to scroll away before the side menu rose to meet it. Use a fixed background color bar that extends under the menu so this doesn't happen.
  - Use of "!important": use CSS better so we don't need to "!important" things.
  - Dark Console (T1828): Instead of hard-coding the top position, determine it dynamically by looking at where the content is. This also fixes the menu overlapping with the red "there are errors on this page" development bar.
  - General "fixed" glitchiness: don't use fixed-position for menu content other than flexible (draggable) menus.

Test Plan:
  - Viewed and scrolled menus in Paste. Opened and closed DarkConsole. Switched devices.
  - Viewed and scrolled flexible menus in Differential and Diffusion. Opened and closed DarkConsole. Switched devices.

Reviewers: vrana, chad, btrahan

Reviewed By: vrana

CC: aran

Maniphest Tasks: T1828, T2156

Differential Revision: https://secure.phabricator.com/D4185
2012-12-14 15:14:14 -08:00
..
attached-file-view.css Crop screenshot thumbs in Maniphest 2011-06-01 15:38:17 -07:00
calendar-view.css Minor Calendar color tweaks. 2012-12-08 17:00:02 -08:00
context-bar.css fix aphront context bar bottom margin -- don't need it 2012-12-13 10:46:53 -08:00
crumbs-view.css File view: Replace drop-down form with buttons for view options 2012-10-03 10:59:23 -07:00
dark-console.css Fix height of DarkConsole request log 2012-10-03 15:08:21 -07:00
dialog-view.css Allow ApplicationTransaction comments to be edited and deleted 2012-12-11 14:01:51 -08:00
error-view.css Further improve various Phame UI things 2012-10-16 09:44:43 -07:00
form-view.css Make date control include times 2012-10-23 12:00:20 -07:00
headsup-action-list-view.css Add self-links for Differential and Maniphest 2012-05-22 10:52:16 -07:00
headsup.css change DifferentialRevisionDetailView to use newer fangled UI abstractions 2012-12-11 14:59:27 -08:00
lightbox-attachment.css Allow ApplicationTransaction comments to be edited and deleted 2012-12-11 14:01:51 -08:00
list-filter-view.css Allow Maniphest to scale to a massive size 2011-06-28 06:41:05 -07:00
notification.css Show upload status, success and failures for drag-and-drop files in notifications 2012-10-08 15:23:05 -07:00
pager-view.css AphrontPagerView and UIExamples. 2011-03-31 17:06:33 -07:00
panel-view.css Clean up UI a little. 2012-11-12 13:15:46 -08:00
phabricator-nav-view.css Simplify side nav CSS and fix various glitches 2012-12-14 15:14:14 -08:00
request-failure-view.css PhabricatorEnv 2011-01-31 11:55:26 -08:00
side-nav-view.css Abstract and further merge filter menus 2012-12-07 13:32:14 -08:00
table-view.css Make columns in flag view not squish each other 2012-08-02 13:58:54 -07:00
tokenizer.css Clean up UI a little. 2012-11-12 13:15:46 -08:00
tooltip.css CSS tooltips with arrows. 2012-12-08 16:51:01 -08:00
transaction.css Unify Maniphest + Differential comment styles 2012-02-24 13:02:35 -08:00
typeahead.css Use Javelin placeholders and new sorting rules broadly; consolidate tokenizer construction code 2012-03-09 15:46:39 -08:00