Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
ishmael-sanchez CreditAttribution: ishmael-sanchez commentedI have this working on a couple sites (D6 and D7) let me know if you need any help with this.
Comment #2
ruplImplementing 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.
Comment #3
ruplOk, 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:
I posted a sandbox of my progress to keep discussion alive while we refactor: http://drupal.org/sandbox/rupl/1222406