deathraygames / civ-clicker

Fork of the open source game CivClicker, by David Holley and Scott A. Colcord
http://deathraygames.com/play-online/civ-clicker/
GNU General Public License v3.0
56 stars 43 forks source link

Use a CSS framework #45

Closed olleharstedt closed 7 years ago

olleharstedt commented 7 years ago

We should probably use Bootstrap, Foundation or something like it. E.g., why use pure Javascript modals instead of a nice framework modal?

olleharstedt commented 7 years ago

I'm working on this on my branch now. Will post picture later. Using Bootstrap, Mustache, jQuery.

olleharstedt commented 7 years ago

Preview

Anahkiasen commented 7 years ago

Nice, that would allow a theme switcher such as what Swarmsim has, leveraging Bootswatch (at least when it's updated to BS4)

olleharstedt commented 7 years ago

Cool, that's more than I knew. BS4 is still in alpha, AFAIK.

olleharstedt commented 7 years ago

I actually implemented this. Or rather, added the few dependencies needed to do it automatically. See "Theme selector" in settings: http://31.24.227.106/

olleharstedt commented 7 years ago

Fixed in my fork.