Permalink
Browse files

Add sass.

  • Loading branch information...
mrsweaters committed Aug 2, 2012
1 parent 1e3adc7 commit 6129f3aaa07aa491260020e14053833683fb9bb9
Showing with 16,451 additions and 0 deletions.
  1. BIN .DS_Store
  2. +1 −0 .rbenv-version
  3. BIN .sass-cache/02125f08be6ba81145149bfcb0e76bbc1b2aa272/_settings.scssc
  4. BIN .sass-cache/048e714fec37d8987395c74882dd599687325b9d/_appearance.scssc
  5. BIN .sass-cache/048e714fec37d8987395c74882dd599687325b9d/_background-clip.scssc
  6. BIN .sass-cache/048e714fec37d8987395c74882dd599687325b9d/_background-origin.scssc
  7. BIN .sass-cache/048e714fec37d8987395c74882dd599687325b9d/_background-size.scssc
  8. BIN .sass-cache/048e714fec37d8987395c74882dd599687325b9d/_border-radius.scssc
  9. BIN .sass-cache/048e714fec37d8987395c74882dd599687325b9d/_box-shadow.scssc
  10. BIN .sass-cache/048e714fec37d8987395c74882dd599687325b9d/_box-sizing.scssc
  11. BIN .sass-cache/048e714fec37d8987395c74882dd599687325b9d/_box.scssc
  12. BIN .sass-cache/048e714fec37d8987395c74882dd599687325b9d/_columns.scssc
  13. BIN .sass-cache/048e714fec37d8987395c74882dd599687325b9d/_filter.scssc
  14. BIN .sass-cache/048e714fec37d8987395c74882dd599687325b9d/_font-face.scssc
  15. BIN .sass-cache/048e714fec37d8987395c74882dd599687325b9d/_hyphenation.scssc
  16. BIN .sass-cache/048e714fec37d8987395c74882dd599687325b9d/_images.scssc
  17. BIN .sass-cache/048e714fec37d8987395c74882dd599687325b9d/_inline-block.scssc
  18. BIN .sass-cache/048e714fec37d8987395c74882dd599687325b9d/_opacity.scssc
  19. BIN .sass-cache/048e714fec37d8987395c74882dd599687325b9d/_regions.scssc
  20. BIN .sass-cache/048e714fec37d8987395c74882dd599687325b9d/_shared.scssc
  21. BIN .sass-cache/048e714fec37d8987395c74882dd599687325b9d/_text-shadow.scssc
  22. BIN .sass-cache/048e714fec37d8987395c74882dd599687325b9d/_transform.scssc
  23. BIN .sass-cache/048e714fec37d8987395c74882dd599687325b9d/_transition.scssc
  24. BIN .sass-cache/06b113169d11a20b1dcdf8cc635256b2dab62d00/_base.scssc
  25. BIN .sass-cache/06b113169d11a20b1dcdf8cc635256b2dab62d00/_forms.scssc
  26. BIN .sass-cache/06b113169d11a20b1dcdf8cc635256b2dab62d00/_globals.scssc
  27. BIN .sass-cache/06b113169d11a20b1dcdf8cc635256b2dab62d00/_typography.scssc
  28. BIN .sass-cache/129abcf3aa58491c0024c8710463757aae8c987b/_all.scssc
  29. BIN .sass-cache/129abcf3aa58491c0024c8710463757aae8c987b/_clearfix.scssc
  30. BIN .sass-cache/129abcf3aa58491c0024c8710463757aae8c987b/_css-triangle.scssc
  31. BIN .sass-cache/129abcf3aa58491c0024c8710463757aae8c987b/_font-size.scssc
  32. BIN .sass-cache/129abcf3aa58491c0024c8710463757aae8c987b/_respond-to.scssc
  33. BIN .sass-cache/129abcf3aa58491c0024c8710463757aae8c987b/_semantic-grid.scssc
  34. BIN .sass-cache/176af598560dba1aa728c81cf33a892ee924f98e/_all.scssc
  35. BIN .sass-cache/176af598560dba1aa728c81cf33a892ee924f98e/_convert-number-to-word.scssc
  36. BIN .sass-cache/176af598560dba1aa728c81cf33a892ee924f98e/_grid-calc.scssc
  37. BIN .sass-cache/176af598560dba1aa728c81cf33a892ee924f98e/_modular-scale.sassc
  38. BIN .sass-cache/5b5f32cc482ff080d5c7f5171d4a65909506756f/_grid.scssc
  39. BIN .sass-cache/6a1bc3c1fd463c7174d47dc6c3e705b9a44bb7b0/_settings.scssc
  40. BIN .sass-cache/6a1bc3c1fd463c7174d47dc6c3e705b9a44bb7b0/app.scssc
  41. BIN .sass-cache/789bebb8d305aef7c4ed83bccf9857e0d25b1cc5/_all.scssc
  42. BIN .sass-cache/789bebb8d305aef7c4ed83bccf9857e0d25b1cc5/_buttons.scssc
  43. BIN .sass-cache/789bebb8d305aef7c4ed83bccf9857e0d25b1cc5/_navbar.scssc
  44. BIN .sass-cache/789bebb8d305aef7c4ed83bccf9857e0d25b1cc5/_offcanvas.scssc
  45. BIN .sass-cache/789bebb8d305aef7c4ed83bccf9857e0d25b1cc5/_orbit.scssc
  46. BIN .sass-cache/789bebb8d305aef7c4ed83bccf9857e0d25b1cc5/_reveal.scssc
  47. BIN .sass-cache/789bebb8d305aef7c4ed83bccf9857e0d25b1cc5/_tabs.scssc
  48. BIN .sass-cache/789bebb8d305aef7c4ed83bccf9857e0d25b1cc5/_ui.scssc
  49. BIN .sass-cache/9bc513e987b17f896efb1034e93f2b840e76bd71/_hacks.scssc
  50. BIN .sass-cache/a52d889acad034ce7675236bbcee5e403558de75/_css3.scssc
  51. BIN .sass-cache/a52d889acad034ce7675236bbcee5e403558de75/_support.scssc
  52. BIN .sass-cache/b449778ed0250329fec0569473b9f45cae7bd562/foundation.scssc
  53. +20 −0 MIT-LICENSE.txt
  54. +26 −0 config.rb
  55. +8 −0 humans.txt
  56. BIN images/foundation/orbit/bullets.jpg
  57. BIN images/foundation/orbit/left-arrow-small.png
  58. BIN images/foundation/orbit/left-arrow.png
  59. BIN images/foundation/orbit/loading.gif
  60. BIN images/foundation/orbit/mask-black.png
  61. BIN images/foundation/orbit/pause-black.png
  62. BIN images/foundation/orbit/right-arrow-small.png
  63. BIN images/foundation/orbit/right-arrow.png
  64. BIN images/foundation/orbit/rotator-black.png
  65. BIN images/foundation/orbit/timer-black.png
  66. +147 −0 index.html
  67. +21 −0 javascripts/app.js
  68. +11 −0 javascripts/foundation.min.js
  69. +15 −0 javascripts/foundation/jquery.foundation.accordion.js
  70. +19 −0 javascripts/foundation/jquery.foundation.alerts.js
  71. +45 −0 javascripts/foundation/jquery.foundation.buttons.js
  72. +485 −0 javascripts/foundation/jquery.foundation.forms.js
  73. +30 −0 javascripts/foundation/jquery.foundation.navigation.js
  74. +633 −0 javascripts/foundation/jquery.foundation.orbit.js
  75. +773 −0 javascripts/foundation/jquery.foundation.reveal.js
  76. +36 −0 javascripts/foundation/jquery.foundation.tabs.js
  77. +183 −0 javascripts/foundation/jquery.foundation.tooltips.js
  78. +157 −0 javascripts/foundation/jquery.placeholder.js
  79. +4 −0 javascripts/foundation/modernizr.foundation.js
  80. +9,404 −0 javascripts/jquery.js
  81. +23 −0 javascripts/jquery.min.js
  82. +4 −0 robots.txt
  83. +58 −0 sass/_settings.scss
  84. +46 −0 sass/app.scss
  85. +4,302 −0 stylesheets/app.css
View
BIN .DS_Store
Binary file not shown.
View
@@ -0,0 +1 @@
+1.9.3-p194
Binary file not shown.
Binary file not shown.
View
@@ -0,0 +1,20 @@
+Copyright (c) 2011 ZURB, http://www.zurb.com/
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
View
@@ -0,0 +1,26 @@
+require 'zurb-foundation'
+# Require any additional compass plugins here.
+
+
+# Set this to the root of your project when deployed:
+http_path = "/"
+css_dir = "stylesheets"
+sass_dir = "sass"
+images_dir = "images"
+javascripts_dir = "javascripts"
+
+# You can select your preferred output style here (can be overridden via the command line):
+# output_style = :expanded or :nested or :compact or :compressed
+
+# To enable relative paths to assets via compass helper functions. Uncomment:
+# relative_assets = true
+
+# To disable debugging comments that display the original location of your selectors. Uncomment:
+# line_comments = false
+
+
+# If you prefer the indented syntax, you might want to regenerate this
+# project again passing --syntax sass, or you can uncomment this:
+# preferred_syntax = :sass
+# and then run:
+# sass-convert -R --from scss --to sass sass scss && rm -rf sass && mv scss sass
View
@@ -0,0 +1,8 @@
+/* Foundation was made by ZURB, an interaction design and design strategy firm in Campbell, CA */
+/* zurb.com */
+/* humanstxt.org */
+
+/* SITE */
+ Standards: HTML5, CSS3
+ Components: jQuery, Orbit, Reveal
+ Software: Coda, Textmate, Git
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
View
@@ -0,0 +1,147 @@
+<!DOCTYPE html>
+
+<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
+<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
+<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
+<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
+<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
+<head>
+ <meta charset="utf-8" />
+
+ <!-- Set the viewport width to device width for mobile -->
+ <meta name="viewport" content="width=device-width" />
+
+ <title>Welcome to Foundation</title>
+
+ <!-- Included CSS Files -->
+ <link rel="stylesheet" href="stylesheets/app.css">
+
+ <script src="javascripts/foundation/modernizr.foundation.js"></script>
+
+ <!-- IE Fix for HTML5 Tags -->
+ <!--[if lt IE 9]>
+ <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
+ <![endif]-->
+
+</head>
+<body>
+
+ <div class="row">
+ <div class="twelve columns">
+ <h2>Welcome to Foundation</h2>
+ <p>This is version 3.0.6 released on July 20, 2012</p>
+ <hr />
+ </div>
+ </div>
+
+ <div class="row">
+ <div class="eight columns">
+ <h3>The Grid</h3>
+
+ <!-- Grid Example -->
+ <div class="row">
+ <div class="twelve columns">
+ <div class="panel">
+ <p>This is a twelve column section in a row. Each of these includes a div.panel element so you can see where the columns are - it's not required at all for the grid.</p>
+ </div>
+ </div>
+ </div>
+ <div class="row">
+ <div class="six columns">
+ <div class="panel">
+ <p>Six columns</p>
+ </div>
+ </div>
+ <div class="six columns">
+ <div class="panel">
+ <p>Six columns</p>
+ </div>
+ </div>
+ </div>
+ <div class="row">
+ <div class="four columns">
+ <div class="panel">
+ <p>Four columns</p>
+ </div>
+ </div>
+ <div class="four columns">
+ <div class="panel">
+ <p>Four columns</p>
+ </div>
+ </div>
+ <div class="four columns">
+ <div class="panel">
+ <p>Four columns</p>
+ </div>
+ </div>
+ </div>
+
+ <h3>Tabs</h3>
+ <dl class="tabs">
+ <dd class="active"><a href="#simple1">Simple Tab 1</a></dd>
+ <dd><a href="#simple2">Simple Tab 2</a></dd>
+ <dd><a href="#simple3">Simple Tab 3</a></dd>
+ </dl>
+
+ <ul class="tabs-content">
+ <li class="active" id="simple1Tab">This is simple tab 1's content. Pretty neat, huh?</li>
+ <li id="simple2Tab">This is simple tab 2's content. Now you see it!</li>
+ <li id="simple3Tab">This is simple tab 3's content. It's, you know...okay.</li>
+ </ul>
+
+ <h3>Buttons</h3>
+
+ <div class="row">
+ <div class="six columns">
+ <p><a href="#" class="small button">Small Button</a></p>
+ <p><a href="#" class="button">Medium Button</a></p>
+ <p><a href="#" class="large button">Large Button</a></p>
+ </div>
+ <div class="six columns">
+ <p><a href="#" class="small alert button">Small Alert Button</a></p>
+ <p><a href="#" class="success button">Medium Success Button</a></p>
+ <p><a href="#" class="large secondary button">Large Secondary Button</a></p>
+ </div>
+ </div>
+ </div>
+
+ <div class="four columns">
+ <h4>Getting Started</h4>
+ <p>We're stoked you want to try Foundation! To get going, this file (index.html) includes some basic styles you can modify, play around with, or totally destroy to get going.</p>
+
+ <h4>Other Resources</h4>
+ <p>Once you've exhausted the fun in this document, you should check out:</p>
+ <ul class="disc">
+ <li><a href="http://foundation.zurb.com/docs">Foundation Documentation</a><br />Everything you need to know about using the framework.</li>
+ <li><a href="http://github.com/zurb/foundation">Foundation on Github</a><br />Latest code, issue reports, feature requests and more.</li>
+ <li><a href="http://twitter.com/foundationzurb">@foundationzurb</a><br />Ping us on Twitter if you have questions. If you build something with this we'd love to see it (and send you a totally boss sticker).</li>
+ </ul>
+ </div>
+ </div>
+
+ <!-- Included JS Files (Uncompressed) -->
+ <!--
+ <script src="jquery.js"></script>
+ <script src="javascripts/foundation/modernizr.foundation.js"></script>
+ <script src="javascripts/foundation/jquery.placeholder.js"></script>
+ <script src="javascripts/foundation/jquery.foundation.alerts.js"></script>
+ <script src="javascripts/foundation/jquery.foundation.accordion.js"></script>
+ <script src="javascripts/foundation/jquery.foundation.buttons.js"></script>
+ <script src="javascripts/foundation/jquery.foundation.tooltips.js"></script>
+ <script src="javascripts/foundation/jquery.foundation.forms.js"></script>
+ <script src="javascripts/foundation/jquery.foundation.tabs.js"></script>
+ <script src="javascripts/foundation/jquery.foundation.navigation.js"></script>
+ <script src="javascripts/foundation/jquery.foundation.reveal.js"></script>
+ <script src="javascripts/foundation/jquery.foundation.orbit.js"></script>
+ -->
+
+ <!-- Included JS Files (Compressed) -->
+ <script src="javascripts/jquery.min.js"></script>
+ <script src="javascripts/foundation.min.js"></script>
+
+ <!-- Application Javascript, safe to override -->
+ <script src="javascripts/app.js"></script>
+
+
+</body>
+</html>
View
@@ -0,0 +1,21 @@
+(function ($) {
+
+ $(function(){
+ $(document).foundationAlerts();
+ $(document).foundationButtons();
+ $(document).foundationAccordion();
+ $(document).foundationNavigation();
+ $(document).foundationCustomForms();
+ $(document).foundationTabs({callback:$.foundation.customForms.appendCustomMarkup});
+
+ $(document).tooltips();
+ $('input, textarea').placeholder();
+
+ // 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: 'left'});
+ // $('.block-grid.three-up>li:nth-child(3n+1)').css({clear: 'left'});
+ // $('.block-grid.four-up>li:nth-child(4n+1)').css({clear: 'left'});
+ // $('.block-grid.five-up>li:nth-child(5n+1)').css({clear: 'left'});
+ });
+
+})(jQuery);

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -0,0 +1,15 @@
+(function ($){
+
+ $.fn.foundationAccordion = function (options) {
+
+ $('.accordion li', this).on('click.fndtn', function () {
+ var flyout = $(this).children('.content').first();
+ $('.accordion .content').not(flyout).hide().parent('li').removeClass('active');
+ flyout.show(0, function () {
+ flyout.parent('li').addClass('active');
+ });
+ });
+
+ };
+
+})( jQuery );
@@ -0,0 +1,19 @@
+(function ($) {
+
+ $.fn.foundationAlerts = function (options) {
+ var settings = $.extend({
+ callback: $.noop
+ }, options);
+
+ $(document).on("click", ".alert-box a.close", function (event) {
+ event.preventDefault();
+ $(this).closest(".alert-box").fadeOut(function (event) {
+ $(this).remove();
+ // Do something else after the alert closes
+ settings.callback();
+ });
+ });
+
+ };
+
+})(jQuery);
@@ -0,0 +1,45 @@
+(function ($) {
+
+ $.fn.foundationButtons = function(options) {
+ // Prevent event propagation on disabled buttons
+ $('.button.disabled', this).on('click.fndtn', function (event) {
+ event.preventDefault();
+ });
+
+ $('.button.dropdown > ul', this).addClass('no-hover');
+
+ $('.button.dropdown', this).on('click.fndtn', function (e) {
+ e.stopPropagation();
+ });
+ $('.button.dropdown.split span', this).on('click.fndtn', function (e) {
+ e.preventDefault();
+ $('.button.dropdown', this).not($(this).parent()).children('ul').removeClass('show-dropdown');
+ $(this).siblings('ul').toggleClass('show-dropdown');
+ });
+ $('.button.dropdown', this).not('.split').on('click.fndtn', function (e) {
+ $('.button.dropdown', this).not(this).children('ul').removeClass('show-dropdown');
+ $(this).children('ul').toggleClass('show-dropdown');
+ });
+ $('body, html').on('click.fndtn', function () {
+ $('.button.dropdown ul').removeClass('show-dropdown');
+ });
+
+ // Positioning the Flyout List
+ var normalButtonHeight = $('.button.dropdown:not(.large):not(.small):not(.tiny)', this).outerHeight() - 1,
+ largeButtonHeight = $('.button.large.dropdown', this).outerHeight() - 1,
+ smallButtonHeight = $('.button.small.dropdown', this).outerHeight() - 1,
+ tinyButtonHeight = $('.button.tiny.dropdown', this).outerHeight() - 1;
+
+ $('.button.dropdown:not(.large):not(.small):not(.tiny) > ul', this).css('top', normalButtonHeight);
+ $('.button.dropdown.large > ul', this).css('top', largeButtonHeight);
+ $('.button.dropdown.small > ul', this).css('top', smallButtonHeight);
+ $('.button.dropdown.tiny > ul', this).css('top', tinyButtonHeight);
+
+ $('.button.dropdown.up:not(.large):not(.small):not(.tiny) > ul', this).css('top', 'auto').css('bottom', normalButtonHeight - 2);
+ $('.button.dropdown.up.large > ul', this).css('top', 'auto').css('bottom', largeButtonHeight - 2);
+ $('.button.dropdown.up.small > ul', this).css('top', 'auto').css('bottom', smallButtonHeight - 2);
+ $('.button.dropdown.up.tiny > ul', this).css('top', 'auto').css('bottom', tinyButtonHeight - 2);
+
+ };
+
+})( jQuery );
Oops, something went wrong.

0 comments on commit 6129f3a

Please sign in to comment.