Permalink
Browse files

Switch CSS framework to Foundation

  • Loading branch information...
1 parent 516d1f6 commit b1b1fea125e37fe43bfb8d37dd970453e9e9b19a @henrikhodne committed Dec 31, 2012
Showing with 20,812 additions and 9,121 deletions.
  1. +5,935 −0 assets/css/app.css
  2. +0 −1,088 assets/css/bootstrap-responsive.css
  3. +0 −9 assets/css/bootstrap-responsive.min.css
  4. +0 −5,893 assets/css/bootstrap.css
  5. +0 −9 assets/css/bootstrap.min.css
  6. BIN assets/images/foundation/orbit/bullets.jpg
  7. BIN assets/images/foundation/orbit/left-arrow-small.png
  8. BIN assets/images/foundation/orbit/left-arrow.png
  9. BIN assets/images/foundation/orbit/loading.gif
  10. BIN assets/images/foundation/orbit/mask-black.png
  11. BIN assets/images/foundation/orbit/pause-black.png
  12. BIN assets/images/foundation/orbit/right-arrow-small.png
  13. BIN assets/images/foundation/orbit/right-arrow.png
  14. BIN assets/images/foundation/orbit/rotator-black.png
  15. BIN assets/images/foundation/orbit/timer-black.png
  16. +0 −2,025 assets/javascript/bootstrap.js
  17. +0 −6 assets/javascript/bootstrap.min.js
  18. +38 −0 assets/javascript/foundation/app.js
  19. +72 −0 assets/javascript/foundation/jquery.cookie.js
  20. +580 −0 assets/javascript/foundation/jquery.event.move.js
  21. +130 −0 assets/javascript/foundation/jquery.event.swipe.js
  22. +38 −0 assets/javascript/foundation/jquery.foundation.accordion.js
  23. +20 −0 assets/javascript/foundation/jquery.foundation.alerts.js
  24. +83 −0 assets/javascript/foundation/jquery.foundation.buttons.js
  25. +413 −0 assets/javascript/foundation/jquery.foundation.clearing.js
  26. +486 −0 assets/javascript/foundation/jquery.foundation.forms.js
  27. +639 −0 assets/javascript/foundation/jquery.foundation.joyride.js
  28. +86 −0 assets/javascript/foundation/jquery.foundation.magellan.js
  29. +27 −0 assets/javascript/foundation/jquery.foundation.mediaQueryToggle.js
  30. +55 −0 assets/javascript/foundation/jquery.foundation.navigation.js
  31. +914 −0 assets/javascript/foundation/jquery.foundation.orbit.js
  32. +794 −0 assets/javascript/foundation/jquery.foundation.reveal.js
  33. +56 −0 assets/javascript/foundation/jquery.foundation.tabs.js
  34. +194 −0 assets/javascript/foundation/jquery.foundation.tooltips.js
  35. +158 −0 assets/javascript/foundation/jquery.foundation.topbar.js
  36. +9,440 −0 assets/javascript/foundation/jquery.js
  37. +50 −0 assets/javascript/foundation/jquery.offcanvas.js
  38. +157 −0 assets/javascript/foundation/jquery.placeholder.js
  39. +4 −0 assets/javascript/foundation/modernizr.foundation.js
  40. +243 −0 assets/sass/_settings.scss
  41. +50 −0 assets/sass/app.scss
  42. +26 −0 config.rb
  43. +26 −20 templates/build.mustache
  44. +30 −16 templates/job.mustache
  45. +14 −13 templates/layout.mustache
  46. +26 −20 templates/repositories.mustache
  47. +28 −22 templates/repository.mustache
View

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -0,0 +1,38 @@
+;(function ($, window, undefined) {
+ 'use strict';
+
+ var $doc = $(document),
+ Modernizr = window.Modernizr;
+
+ $(document).ready(function() {
+ $.fn.foundationAlerts ? $doc.foundationAlerts() : null;
+ $.fn.foundationButtons ? $doc.foundationButtons() : null;
+ $.fn.foundationAccordion ? $doc.foundationAccordion() : null;
+ $.fn.foundationNavigation ? $doc.foundationNavigation() : null;
+ $.fn.foundationTopBar ? $doc.foundationTopBar() : null;
+ $.fn.foundationCustomForms ? $doc.foundationCustomForms() : null;
+ $.fn.foundationMediaQueryViewer ? $doc.foundationMediaQueryViewer() : null;
+ $.fn.foundationTabs ? $doc.foundationTabs({callback : $.foundation.customForms.appendCustomMarkup}) : null;
+ $.fn.foundationTooltips ? $doc.foundationTooltips() : null;
+ $.fn.foundationMagellan ? $doc.foundationMagellan() : null;
+ $.fn.foundationClearing ? $doc.foundationClearing() : null;
+
+ $.fn.placeholder ? $('input, textarea').placeholder() : null;
+ });
+
+ // UNCOMMENT THE LINE YOU WANT BELOW IF YOU WANT IE8 SUPPORT AND ARE USING .block-grids
+ // $('.block-grid.two-up>li:nth-child(2n+1)').css({clear: 'both'});
+ // $('.block-grid.three-up>li:nth-child(3n+1)').css({clear: 'both'});
+ // $('.block-grid.four-up>li:nth-child(4n+1)').css({clear: 'both'});
+ // $('.block-grid.five-up>li:nth-child(5n+1)').css({clear: 'both'});
+
+ // Hide address bar on mobile devices (except if #hash present, so we don't mess up deep linking).
+ if (Modernizr.touch && !window.location.hash) {
+ $(window).load(function () {
+ setTimeout(function () {
+ window.scrollTo(0, 1);
+ }, 0);
+ });
+ }
+
+})(jQuery, this);
@@ -0,0 +1,72 @@
+/*!
+ * jQuery Cookie Plugin v1.3
+ * https://github.com/carhartl/jquery-cookie
+ *
+ * Copyright 2011, Klaus Hartl
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://www.opensource.org/licenses/mit-license.php
+ * http://www.opensource.org/licenses/GPL-2.0
+ */
+(function ($, document, undefined) {
+
+ var pluses = /\+/g;
+
+ function raw(s) {
+ return s;
+ }
+
+ function decoded(s) {
+ return decodeURIComponent(s.replace(pluses, ' '));
+ }
+
+ var config = $.cookie = function (key, value, options) {
+
+ // write
+ if (value !== undefined) {
+ options = $.extend({}, config.defaults, options);
+
+ if (value === null) {
+ options.expires = -1;
+ }
+
+ if (typeof options.expires === 'number') {
+ var days = options.expires, t = options.expires = new Date();
+ t.setDate(t.getDate() + days);
+ }
+
+ value = config.json ? JSON.stringify(value) : String(value);
+
+ return (document.cookie = [
+ encodeURIComponent(key), '=', config.raw ? value : encodeURIComponent(value),
+ options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE
+ options.path ? '; path=' + options.path : '',
+ options.domain ? '; domain=' + options.domain : '',
+ options.secure ? '; secure' : ''
+ ].join(''));
+ }
+
+ // read
+ var decode = config.raw ? raw : decoded;
+ var cookies = document.cookie.split('; ');
+ for (var i = 0, l = cookies.length; i < l; i++) {
+ var parts = cookies[i].split('=');
+ if (decode(parts.shift()) === key) {
+ var cookie = decode(parts.join('='));
+ return config.json ? JSON.parse(cookie) : cookie;
+ }
+ }
+
+ return null;
+ };
+
+ config.defaults = {};
+
+ $.removeCookie = function (key, options) {
+ if ($.cookie(key) !== null) {
+ $.cookie(key, null, options);
+ return true;
+ }
+ return false;
+ };
+
+})(jQuery, document);
Oops, something went wrong.

0 comments on commit b1b1fea

Please sign in to comment.