isaacdontjelindell/runestone — pull request #1 by isaacdontjelindell (2013-07-31 15:13:33+00:00)
Title: Work in progress: Bootstrap 3.0.0-rc1 upgrade

I'm opening this now so that you can start to take a look at what its going to look at (and two pairs of eyes are better for finding all the things that I'm sure I've missed!) I don't think it's actually ready to merge yet.

I know of a least a few things that aren't working yet. One is that the collapsed navbar (when the viewport is small) is broken. This seems to be due to a behaviour change in the new Bootstrap, although they weren't very clear when I tried to ask a question. I'm going to try and figure it out today.

I took this upgrade as a chance to do some clean-up and make some changes in how we're doing some things, so I'd welcome any feedback.

One major change is I switched all the modal dialogs (scratch Activecode, compare me, codelens "check your understanding") to use the modal classes that Bootstrap provides, instead of using the jQuery SimpleModal dialog. I think that the BS modals have better visual integration, and they're a little easier to style. They are light colored by default, but it shouldn't be terribly difficult to emulate the darker background that SimpleModal used by default if you think that looks better.

I changed the icon for the social/follow menu in the navbar. I used another icon from the Glyphicons set, so it better matches visually with the other icons. I picked one of the ones they call a "Share" icon, although I'm not completely convinced it's the right one. Take a look at http://glyphicons.getbootstrap.com/ for some other options. The thumbs-up one might be a good possibility. (I like the Glyphicons because they're really well integrated into Bootstrap, and this particular set is license-free for Bootstrap users but I'm open to finding other icons).

I'm going to keep pushing to this pull request until I think I've gotten everything ported.