Nathan released an add-on for 960.gs users who want responsive layouts. While it is different from CSS3 media queries, the end result is similar: your website can reflow and change shape to match any screen size. Plus, this is retroactively useful on any website whose markup uses 960 classes!

I marked this as 6.x because that's where I hashed out the code originally, but Adapt will be added to 7.x branch as well.

Comments

ishmael-sanchez’s picture

I have this working on a couple sites (D6 and D7) let me know if you need any help with this.

rupl’s picture

Implementing it isn't the problem so much as providing the new functionality to current NineSixty users in a non-disruptive way. Two groups to consider are NineSixty users who do NOT want to use Adapt and advanced themers who use ninesixty_preprocess functions to add or remove CSS and JS files.

I have a working prototype not yet pushed to the dev branch. The hold-up is a drupal_add_js() bug that I created, not Adapt itself. I was really hoping to check it all in before writing this reply, but it's not happening tonight :(

I'm eager to get some eyes on it so I'll update this issue as soon as I commit the code to dev.

rupl’s picture

Status: Active » Closed (won't fix)

Ok, final update on this. After discussion with Todd, we've decided that this should not be added to the theme after all. Rather than extending NineSixty, we're going to focus our efforts on creating a separate module that can extend any theme relying on 960.gs. The main reasons are:

  • Availability - a module can be integrated into any 960.gs theme
  • Maintenance - can be updated without causing a disruption to (improperly used) installations of NineSixty which are altered directly instead of being used as a base theme.
  • Utility - easier to deploy via code than a theme-settings based solution

I posted a sandbox of my progress to keep discussion alive while we refactor: http://drupal.org/sandbox/rupl/1222406