-
Notifications
You must be signed in to change notification settings - Fork 309
Conversation
@seanlinsley Hrm. I can't reproduce that in Firefox 19.0 or 25.0.1 on Mac OS X. What version/system are you using? Is it possible you've got some local cache? If it's something older, do we have any explicit browser version support policy? Google has a pretty radical one (https://support.google.com/a/answer/33864) to support the current and previous major versions of Chrome, Safari, Firefox and IE. Maybe we should try to codify something similar. |
@dominic Thanks so much for the contribution. :-) To date every change to Gittip has run through my brain, and that's not scalable. As an experiment in loosening my grip in the hopes of increasing the rate at which we can process PRs and improve Gittip, I've decided not to pay any attention whatsoever to this PR. I hope you can take that as a sign of trust in you and our Gittip team rather than indifference. :-) Instead, I've asked @clone1018 @bruceadams and @seanlinsley to manage this PR start to finish (I'll let them decide what "manage" means between the three of them). [IRC] Ideally you'll be able to coordinate with @zwn to deploy this once it lands in master. That way I'll be out of the loop entirely, which will be a significant first for Gittip. I suppose if you all get mired in controversy you can bring me back in, but knowing the five of you I'm not too worried. Okay! Good luck! 💃 |
I'm experiencing the above layout issues in the latest Firefox, Safari, and Chrome 😦 I don't know if Gittip has any such cache, but force refreshing my browser doesn't solve the problem. |
Disregard; it turns out my local install was configured to grab its CSS from the production server instead of locally. |
Not yet, but I've barely looked at the graphs. Will make that my next priority. Do you think that should be in this pull, or as a separate one for #1703? |
In that case it should probably be its own pull request. |
Cool. In that case, this branch is no worse off than before on pages with graphs, and I'll start on those later today. |
That ticket can be answered later, for now this pull request is a HUGE improvement on what we already have. I'm going to go ahead and merge it in and get someone on IRC to push it live. Thanks for the contribution, it's freaking awesome! !m @dominic |
Yes! Thanks so much @dominic ! |
@bruceadams @clone1018 Thanks y'all! The first of many, I hope :) |
I originally started this while looking at #1652, but found the entire responsive stylesheet to be a bit of a mess (the first line being "
/* A Special Responsive Hell */
"). I've attempted to bring a little more consistency and usability to the flexible screen experience, as documented below:The responsive layout now provides a larger gutter (5% each side) and enforces a minimum width of 320px (iPhone portrait width - a threshold that no modern smartphone is crossing as far as I'm aware). Device examples below:
Device examples:
Phones
(Images reduced 50% from retina resolution)
Page top
Before:
![ios simulator screen shot dec 1 2013 7 18 44 pm](https://camo.githubusercontent.com/431984323a43fb801f274bf90b5d53d39f245ebe4058b4a267cbe4ba9eea2058/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f3138353634352f313635323039322f38373538306363652d356230302d313165332d393363632d3935346666393830383935612e706e67)
After:
![ios simulator screen shot dec 1 2013 7 21 49 pm](https://camo.githubusercontent.com/d9318595e1de46fbc06dcdbad2f5f6259afe2f4543986c07d68c0c363451fde2/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f3138353634352f313635323130312f30326332636535382d356230312d313165332d383730322d3939323537613634393132622e706e67)
The top of the page loses the centered icon (which can run into the logged in user's name), increases the hero copy size, and reformats the "Who inspires you?" block to have much larger touch targets.
Portraits (#1652)
Mobile layouts reduce the number of visible portraits per section from 4 to 3. Previously, this caused an extra gutter on the homepage as the page contents overflowed the viewport boundaries.
Before:
![ios simulator screen shot dec 1 2013 7 18 26 pm](https://camo.githubusercontent.com/6ad6c70b1a0a8cede2d87365b7f726ed617312ba2001bed74eb4bd575e5e575d/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f3138353634352f313635323039312f38373464636139382d356230302d313165332d383561312d3164646639396637393135392e706e67)
After:
![ios simulator screen shot dec 1 2013 7 22 26 pm](https://camo.githubusercontent.com/e7fdf9499cbeeec95bc1020dcec06460ab9a3c7d4669c1dbf016c6cfd492a757/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f3138353634352f313635323039392f30323731353933382d356230312d313165332d386138342d3163323564653031346266352e706e67)
Footer
I've made the footer touch friendly, providing full-width, fixed touch targets that don't reflow at various screen sizes.
Before:
![ios simulator screen shot dec 1 2013 7 18 54 pm](https://camo.githubusercontent.com/08aea98cdb65b4811a43687255be7b3d9486af07c5169efb2a342949bed87c4f/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f3138353634352f313635323039302f38373035333930342d356230302d313165332d386332372d6262643163333133363761392e706e67)
After:
![ios simulator screen shot dec 1 2013 7 21 54 pm](https://camo.githubusercontent.com/d85258d28fba6adbc55d2fbb79af20e790709eff9ebb394fa8b2944fe13ba91f/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f3138353634352f313635323130302f30326330376338652d356230312d313165332d386335632d3064653661396164633537312e706e67)
Tablets
Landscape
Larger tablets (> 900px, so iPads and similarly sized devices) receive the full desktop layout of (3 columns of portraits, 2 columns on a profile page).
Before:
![ios simulator screen shot dec 1 2013 7 44 46 pm](https://camo.githubusercontent.com/d41c5bd398b8dd8af485584c0809a14c191c96b1597bfab6d4cd0784c6b5d864/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f3138353634352f313635323135322f31643232396537342d356230342d313165332d396537372d3436666231616530303139372e706e67)
After:
![ios simulator screen shot dec 1 2013 7 43 38 pm](https://camo.githubusercontent.com/e41e90ce8906e976580e9404906860f01ae5d646e63e9a594d65d771d69bdbbb/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f3138353634352f313635323135312f31636536356530302d356230342d313165332d383463332d6337323535643132396332352e706e67)
Other Changes
Some work has been put into being more Sass-like with our CSS, including breaking out some standard widths into variables and functions, as well as adding the commonly used
clearfix
mixing in place of<div class="clear"></div>
Remaining issues:
Charts still break out of the layout causing unsightly gutters.
Logged in navigation still needs some work at the smallest mobile size:
Thoughts?