survivalkit 1.0.beta.11 → 1.0.beta.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. data/CHANGELOG.markdown +4 -0
  2. data/lib/survivalkit.rb +2 -2
  3. data/stylesheets/survivalkit/fonts/_all.scss +2 -0
  4. data/stylesheets/survivalkit/fonts/_ss-social.scss +136 -0
  5. data/stylesheets/survivalkit/fonts/_ss-standard.scss +426 -0
  6. data/stylesheets/survivalkit/reset/_reset.scss +4 -0
  7. data/templates/clean/manifest.rb +0 -2
  8. data/templates/drupal/manifest.rb +0 -2
  9. data/templates/project/manifest.rb +44 -46
  10. data/templates/project/sources/FitVids/README.md +49 -0
  11. data/templates/project/sources/FitVids/jquery.fitvids.js +80 -0
  12. data/templates/project/sources/FitVids/tests.html +66 -0
  13. data/templates/project/sources/Geared-Scrolling/README.md +31 -0
  14. data/templates/project/sources/Geared-Scrolling/css/specific.css +88 -0
  15. data/templates/project/sources/Geared-Scrolling/images/col1.png +0 -0
  16. data/templates/project/sources/Geared-Scrolling/images/col2.png +0 -0
  17. data/templates/project/sources/Geared-Scrolling/images/col3.png +0 -0
  18. data/templates/project/sources/Geared-Scrolling/images/header.png +0 -0
  19. data/templates/project/sources/Geared-Scrolling/index.html +32 -0
  20. data/templates/project/sources/Geared-Scrolling/js/init.js +11 -0
  21. data/templates/project/sources/Geared-Scrolling/js/jquery.heyday.gearedscrolling.js +283 -0
  22. data/templates/project/sources/Lettering.js/README.md +58 -0
  23. data/templates/project/sources/Lettering.js/examples/index.html +135 -0
  24. data/templates/project/sources/Lettering.js/examples/style.css +171 -0
  25. data/templates/project/sources/Lettering.js/jquery.lettering.js +66 -0
  26. data/templates/project/sources/Respond/README.md +100 -0
  27. data/templates/project/sources/Respond/cross-domain/example.html +24 -0
  28. data/templates/project/sources/Respond/cross-domain/respond-proxy.html +96 -0
  29. data/templates/project/sources/Respond/cross-domain/respond.proxy.gif +0 -0
  30. data/templates/project/sources/Respond/cross-domain/respond.proxy.js +127 -0
  31. data/templates/project/sources/Respond/respond.min.js +6 -0
  32. data/templates/project/sources/Respond/respond.src.js +326 -0
  33. data/templates/project/sources/Respond/test/test.css +80 -0
  34. data/templates/project/sources/Respond/test/test.html +20 -0
  35. data/templates/project/sources/Respond/test/test2.css +8 -0
  36. data/templates/project/sources/Respond/test/unit/index.html +29 -0
  37. data/templates/project/sources/Respond/test/unit/qunit/qunit.css +226 -0
  38. data/templates/project/sources/Respond/test/unit/qunit/qunit.js +1598 -0
  39. data/templates/project/sources/Respond/test/unit/test.css +73 -0
  40. data/templates/project/sources/Respond/test/unit/test2.css +5 -0
  41. data/templates/project/sources/Respond/test/unit/test3.css +5 -0
  42. data/templates/project/sources/Respond/test/unit/tests.js +144 -0
  43. data/templates/project/sources/box-sizing-polyfill/README.md +24 -0
  44. data/templates/project/sources/box-sizing-polyfill/boxsizing.htc +501 -0
  45. data/templates/project/sources/formalize/README.txt +26 -0
  46. data/templates/project/sources/formalize/assets/css/_formalize.sass +326 -0
  47. data/templates/project/sources/formalize/assets/css/demo.css +654 -0
  48. data/templates/project/sources/formalize/assets/css/formalize.css +368 -0
  49. data/templates/project/sources/formalize/assets/css/reset.css +211 -0
  50. data/templates/project/sources/formalize/assets/css/text.css +81 -0
  51. data/templates/project/sources/formalize/assets/images/button.png +0 -0
  52. data/templates/project/sources/formalize/assets/images/select_arrow.gif +0 -0
  53. data/templates/project/sources/formalize/assets/js/dojo.formalize.js +202 -0
  54. data/templates/project/sources/formalize/assets/js/dojo.formalize.min.js +1 -0
  55. data/templates/project/sources/formalize/assets/js/extjs.formalize.js +192 -0
  56. data/templates/project/sources/formalize/assets/js/extjs.formalize.min.js +1 -0
  57. data/templates/project/sources/formalize/assets/js/jquery.formalize.js +181 -0
  58. data/templates/project/sources/formalize/assets/js/jquery.formalize.min.js +1 -0
  59. data/templates/project/sources/formalize/assets/js/mootools.formalize.js +193 -0
  60. data/templates/project/sources/formalize/assets/js/mootools.formalize.min.js +1 -0
  61. data/templates/project/sources/formalize/assets/js/prototype.formalize.js +192 -0
  62. data/templates/project/sources/formalize/assets/js/prototype.formalize.min.js +1 -0
  63. data/templates/project/sources/formalize/assets/js/yui.formalize.js +183 -0
  64. data/templates/project/sources/formalize/assets/js/yui.formalize.min.js +1 -0
  65. data/templates/project/sources/formalize/demo.html +130 -0
  66. data/templates/project/sources/formalize/dojo_demo.html +215 -0
  67. data/templates/project/sources/formalize/dojo_disabled.html +215 -0
  68. data/templates/project/sources/formalize/dojo_errors.html +215 -0
  69. data/templates/project/sources/formalize/extjs_demo.html +215 -0
  70. data/templates/project/sources/formalize/extjs_disabled.html +215 -0
  71. data/templates/project/sources/formalize/extjs_errors.html +215 -0
  72. data/templates/project/sources/formalize/jquery_demo.html +215 -0
  73. data/templates/project/sources/formalize/jquery_disabled.html +215 -0
  74. data/templates/project/sources/formalize/jquery_errors.html +215 -0
  75. data/templates/project/sources/formalize/mootools_demo.html +215 -0
  76. data/templates/project/sources/formalize/mootools_disabled.html +215 -0
  77. data/templates/project/sources/formalize/mootools_errors.html +215 -0
  78. data/templates/project/sources/formalize/prototype_demo.html +215 -0
  79. data/templates/project/sources/formalize/prototype_disabled.html +215 -0
  80. data/templates/project/sources/formalize/prototype_errors.html +215 -0
  81. data/templates/project/sources/formalize/unstyled.html +210 -0
  82. data/templates/project/sources/formalize/yui_demo.html +223 -0
  83. data/templates/project/sources/formalize/yui_disabled.html +223 -0
  84. data/templates/project/sources/formalize/yui_errors.html +223 -0
  85. data/templates/project/sources/iOS-Orientationchange-Fix/README.md +16 -0
  86. data/templates/project/sources/iOS-Orientationchange-Fix/demo.html +43 -0
  87. data/templates/project/sources/iOS-Orientationchange-Fix/ios-orientationchange-fix.js +56 -0
  88. data/templates/project/sources/jQuery-widowFix/index.html +159 -0
  89. data/templates/project/sources/jQuery-widowFix/js/jquery-1.4.3.min.js +166 -0
  90. data/templates/project/sources/jQuery-widowFix/js/jquery.widowFix-1.3.2.js +135 -0
  91. data/templates/project/sources/jQuery-widowFix/js/jquery.widowFix-1.3.2.min.js +10 -0
  92. data/templates/project/sources/jQuery-widowFix/sample.html +84 -0
  93. data/templates/project/sources/jquery-html5-placeholder-shim/jquery.html5-placeholder-shim.js +96 -0
  94. data/templates/project/sources/jquery-html5-placeholder-shim/readme.md +22 -0
  95. data/templates/project/sources/jquery-html5-placeholder-shim/test.html +103 -0
  96. data/templates/project/sources/ss-social/ss-social.js +78 -0
  97. data/templates/project/sources/ss-standard/ss-standard.js +78 -0
  98. data/templates/shared/partials/01-variables/_colors.scss +2 -6
  99. data/templates/shared/partials/01-variables/_fonts.scss +49 -2
  100. data/templates/shared/partials/01-variables/_settings.scss +48 -13
  101. data/templates/shared/partials/04-base/_all.scss +0 -2
  102. data/templates/shared/partials/04-base/_common.scss +0 -4
  103. data/templates/shared/partials/05-layout/_grids-susy.scss +4 -4
  104. data/templates/shared/style.scss +9 -9
  105. metadata +93 -5
  106. data/templates/shared/partials/04-base/_edits.scss +0 -8
  107. data/templates/shared/partials/04-base/_font-face.scss +0 -14
@@ -4,6 +4,7 @@ $init-headers: true !default;
4
4
  @import "survivalkit/reset/meyer-reset";
5
5
  @import "survivalkit/reset/normalize";
6
6
  @import "survivalkit/reset/formalize";
7
+ @import 'survivalkit/reset/pixel-normalize';
7
8
 
8
9
  @mixin init($init-type, $init-headers) {
9
10
  @if $init-type == meyer {
@@ -23,6 +24,9 @@ $init-headers: true !default;
23
24
  @if $formalize {
24
25
  @include formalize;
25
26
  }
27
+ @if $pixel-normalize {
28
+ @include pixel-normalize;
29
+ }
26
30
  }
27
31
 
28
32
 
@@ -11,8 +11,6 @@ file '../shared/partials/03-extend/_all.scss', :like => :stylesheet, :to => 'par
11
11
  file '../shared/partials/03-extend/_typography.scss', :like => :stylesheet, :to => 'partials/03-extend/_typography.scss'
12
12
  file '../shared/partials/04-base/_all.scss', :like => :stylesheet, :to => 'partials/04-base/_all.scss'
13
13
  file '../shared/partials/04-base/_common.scss', :like => :stylesheet, :to => 'partials/04-base/_common.scss'
14
- file '../shared/partials/04-base/_edits.scss', :like => :stylesheet, :to => 'partials/04-base/_edits.scss'
15
- file '../shared/partials/04-base/_font-face.scss', :like => :stylesheet, :to => 'partials/04-base/_font-face.scss'
16
14
  file '../shared/partials/04-base/_form-defaults.scss', :like => :stylesheet, :to => 'partials/04-base/_form-defaults.scss'
17
15
  file '../shared/partials/04-base/_headers.scss', :like => :stylesheet, :to => 'partials/04-base/_headers.scss'
18
16
  file '../shared/partials/04-base/_images.scss', :like => :stylesheet, :to => 'partials/04-base/_images.scss'
@@ -11,8 +11,6 @@ file '../shared/partials/03-extend/_all.scss', :like => :stylesheet, :to => 'par
11
11
  file '../shared/partials/03-extend/_typography.scss', :like => :stylesheet, :to => 'partials/03-extend/_typography.scss'
12
12
  file '../shared/partials/04-base/_all.scss', :like => :stylesheet, :to => 'partials/04-base/_all.scss'
13
13
  file '../shared/partials/04-base/_common.scss', :like => :stylesheet, :to => 'partials/04-base/_common.scss'
14
- file '../shared/partials/04-base/_edits.scss', :like => :stylesheet, :to => 'partials/04-base/_edits.scss'
15
- file '../shared/partials/04-base/_font-face.scss', :like => :stylesheet, :to => 'partials/04-base/_font-face.scss'
16
14
  file '../shared/partials/04-base/_form-defaults.scss', :like => :stylesheet, :to => 'partials/04-base/_form-defaults.scss'
17
15
  file '../shared/partials/04-base/_headers.scss', :like => :stylesheet, :to => 'partials/04-base/_headers.scss'
18
16
  file '../shared/partials/04-base/_images.scss', :like => :stylesheet, :to => 'partials/04-base/_images.scss'
@@ -11,8 +11,6 @@ file '../shared/partials/03-extend/_all.scss', :like => :stylesheet, :to => 'par
11
11
  file '../shared/partials/03-extend/_typography.scss', :like => :stylesheet, :to => 'partials/03-extend/_typography.scss'
12
12
  file '../shared/partials/04-base/_all.scss', :like => :stylesheet, :to => 'partials/04-base/_all.scss'
13
13
  file '../shared/partials/04-base/_common.scss', :like => :stylesheet, :to => 'partials/04-base/_common.scss'
14
- file '../shared/partials/04-base/_edits.scss', :like => :stylesheet, :to => 'partials/04-base/_edits.scss'
15
- file '../shared/partials/04-base/_font-face.scss', :like => :stylesheet, :to => 'partials/04-base/_font-face.scss'
16
14
  file '../shared/partials/04-base/_form-defaults.scss', :like => :stylesheet, :to => 'partials/04-base/_form-defaults.scss'
17
15
  file '../shared/partials/04-base/_headers.scss', :like => :stylesheet, :to => 'partials/04-base/_headers.scss'
18
16
  file '../shared/partials/04-base/_images.scss', :like => :stylesheet, :to => 'partials/04-base/_images.scss'
@@ -76,50 +74,50 @@ file '../shared/drupal/watchdog-error.png', :like => :image, :to => 'drupal/watc
76
74
  file '../shared/drupal/watchdog-ok.png', :like => :image, :to => 'drupal/watchdog-ok.png'
77
75
  file '../shared/drupal/watchdog-warning.png', :like => :image, :to => 'drupal/watchdog-warning.png'
78
76
 
79
- font '../shared/fonts/font-awesome/fontawesome-webfont.eot', :like => :font, :to => 'font-awesome/fontawesome-webfont.eot'
80
- font '../shared/fonts/font-awesome/fontawesome-webfont.svg', :like => :font, :to => 'font-awesome/fontawesome-webfont.svg'
81
- font '../shared/fonts/font-awesome/fontawesome-webfont.ttf', :like => :font, :to => 'font-awesome/fontawesome-webfont.ttf'
82
- font '../shared/fonts/font-awesome/fontawesome-webfont.woff', :like => :font, :to => 'font-awesome/fontawesome-webfont.woff'
83
- font '../shared/fonts/league-gothic/leaguegothic-condensed-italic-webfont.eot', :like => :font, :to => 'league-gothic/leaguegothic-condensed-italic-webfont.eot'
84
- font '../shared/fonts/league-gothic/leaguegothic-condensed-italic-webfont.svg', :like => :font, :to => 'league-gothic/leaguegothic-condensed-italic-webfont.svg'
85
- font '../shared/fonts/league-gothic/leaguegothic-condensed-italic-webfont.ttf', :like => :font, :to => 'league-gothic/leaguegothic-condensed-italic-webfont.ttf'
86
- font '../shared/fonts/league-gothic/leaguegothic-condensed-italic-webfont.woff', :like => :font, :to => 'league-gothic/leaguegothic-condensed-italic-webfont.woff'
87
- font '../shared/fonts/league-gothic/leaguegothic-condensed-regular-webfont.eot', :like => :font, :to => 'league-gothic/leaguegothic-condensed-regular-webfont.eot'
88
- font '../shared/fonts/league-gothic/leaguegothic-condensed-regular-webfont.svg', :like => :font, :to => 'league-gothic/leaguegothic-condensed-regular-webfont.svg'
89
- font '../shared/fonts/league-gothic/leaguegothic-condensed-regular-webfont.ttf', :like => :font, :to => 'league-gothic/leaguegothic-condensed-regular-webfont.ttf'
90
- font '../shared/fonts/league-gothic/leaguegothic-condensed-regular-webfont.woff', :like => :font, :to => 'league-gothic/leaguegothic-condensed-regular-webfont.woff'
91
- font '../shared/fonts/league-gothic/leaguegothic-italic-webfont.eot', :like => :font, :to => 'league-gothic/leaguegothic-italic-webfont.eot'
92
- font '../shared/fonts/league-gothic/leaguegothic-italic-webfont.svg', :like => :font, :to => 'league-gothic/leaguegothic-italic-webfont.svg'
93
- font '../shared/fonts/league-gothic/leaguegothic-italic-webfont.ttf', :like => :font, :to => 'league-gothic/leaguegothic-italic-webfont.ttf'
94
- font '../shared/fonts/league-gothic/leaguegothic-italic-webfont.woff', :like => :font, :to => 'league-gothic/leaguegothic-italic-webfont.woff'
95
- font '../shared/fonts/league-gothic/leaguegothic-regular-webfont.eot', :like => :font, :to => 'league-gothic/leaguegothic-regular-webfont.eot'
96
- font '../shared/fonts/league-gothic/leaguegothic-regular-webfont.svg', :like => :font, :to => 'league-gothic/leaguegothic-regular-webfont.svg'
97
- font '../shared/fonts/league-gothic/leaguegothic-regular-webfont.ttf', :like => :font, :to => 'league-gothic/leaguegothic-regular-webfont.ttf'
98
- font '../shared/fonts/league-gothic/leaguegothic-regular-webfont.woff', :like => :font, :to => 'league-gothic/leaguegothic-regular-webfont.woff'
99
- font '../shared/fonts/ostrich/ostrich-black-webfont.eot', :like => :font, :to => 'ostrich/ostrich-black-webfont.eot'
100
- font '../shared/fonts/ostrich/ostrich-black-webfont.svg', :like => :font, :to => 'ostrich/ostrich-black-webfont.svg'
101
- font '../shared/fonts/ostrich/ostrich-black-webfont.ttf', :like => :font, :to => 'ostrich/ostrich-black-webfont.ttf'
102
- font '../shared/fonts/ostrich/ostrich-black-webfont.woff', :like => :font, :to => 'ostrich/ostrich-black-webfont.woff'
103
- font '../shared/fonts/ostrich/ostrich-bold-webfont.eot', :like => :font, :to => 'ostrich/ostrich-bold-webfont.eot'
104
- font '../shared/fonts/ostrich/ostrich-bold-webfont.svg', :like => :font, :to => 'ostrich/ostrich-bold-webfont.svg'
105
- font '../shared/fonts/ostrich/ostrich-bold-webfont.ttf', :like => :font, :to => 'ostrich/ostrich-bold-webfont.ttf'
106
- font '../shared/fonts/ostrich/ostrich-bold-webfont.woff', :like => :font, :to => 'ostrich/ostrich-bold-webfont.woff'
107
- font '../shared/fonts/ostrich/ostrich-dashed-webfont.eot', :like => :font, :to => 'ostrich/ostrich-dashed-webfont.eot'
108
- font '../shared/fonts/ostrich/ostrich-dashed-webfont.svg', :like => :font, :to => 'ostrich/ostrich-dashed-webfont.svg'
109
- font '../shared/fonts/ostrich/ostrich-dashed-webfont.ttf', :like => :font, :to => 'ostrich/ostrich-dashed-webfont.ttf'
110
- font '../shared/fonts/ostrich/ostrich-dashed-webfont.woff', :like => :font, :to => 'ostrich/ostrich-dashed-webfont.woff'
111
- font '../shared/fonts/ostrich/ostrich-light-webfont.eot', :like => :font, :to => 'ostrich/ostrich-light-webfont.eot'
112
- font '../shared/fonts/ostrich/ostrich-light-webfont.svg', :like => :font, :to => 'ostrich/ostrich-light-webfont.svg'
113
- font '../shared/fonts/ostrich/ostrich-light-webfont.ttf', :like => :font, :to => 'ostrich/ostrich-light-webfont.ttf'
114
- font '../shared/fonts/ostrich/ostrich-light-webfont.woff', :like => :font, :to => 'ostrich/ostrich-light-webfont.woff'
115
- font '../shared/fonts/ostrich/ostrich-regular-webfont.eot', :like => :font, :to => 'ostrich/ostrich-regular-webfont.eot'
116
- font '../shared/fonts/ostrich/ostrich-regular-webfont.svg', :like => :font, :to => 'ostrich/ostrich-regular-webfont.svg'
117
- font '../shared/fonts/ostrich/ostrich-regular-webfont.ttf', :like => :font, :to => 'ostrich/ostrich-regular-webfont.ttf'
118
- font '../shared/fonts/ostrich/ostrich-regular-webfont.woff', :like => :font, :to => 'ostrich/ostrich-regular-webfont.woff'
119
- font '../shared/fonts/ostrich/ostrich-rounded-webfont.eot', :like => :font, :to => 'ostrich/ostrich-rounded-webfont.eot'
120
- font '../shared/fonts/ostrich/ostrich-rounded-webfont.svg', :like => :font, :to => 'ostrich/ostrich-rounded-webfont.svg'
121
- font '../shared/fonts/ostrich/ostrich-rounded-webfont.ttf', :like => :font, :to => 'ostrich/ostrich-rounded-webfont.ttf'
122
- font '../shared/fonts/ostrich/ostrich-rounded-webfont.woff', :like => :font, :to => 'ostrich/ostrich-rounded-webfont.woff'
77
+ font '../shared/fonts/font-awesome/fontawesome-webfont.eot', :like => :font, :to => 'fontawesome-webfont.eot'
78
+ font '../shared/fonts/font-awesome/fontawesome-webfont.svg', :like => :font, :to => 'fontawesome-webfont.svg'
79
+ font '../shared/fonts/font-awesome/fontawesome-webfont.ttf', :like => :font, :to => 'fontawesome-webfont.ttf'
80
+ font '../shared/fonts/font-awesome/fontawesome-webfont.woff', :like => :font, :to => 'fontawesome-webfont.woff'
81
+ font '../shared/fonts/league-gothic/leaguegothic-condensed-italic-webfont.eot', :like => :font, :to => 'leaguegothic-condensed-italic-webfont.eot'
82
+ font '../shared/fonts/league-gothic/leaguegothic-condensed-italic-webfont.svg', :like => :font, :to => 'leaguegothic-condensed-italic-webfont.svg'
83
+ font '../shared/fonts/league-gothic/leaguegothic-condensed-italic-webfont.ttf', :like => :font, :to => 'leaguegothic-condensed-italic-webfont.ttf'
84
+ font '../shared/fonts/league-gothic/leaguegothic-condensed-italic-webfont.woff', :like => :font, :to => 'leaguegothic-condensed-italic-webfont.woff'
85
+ font '../shared/fonts/league-gothic/leaguegothic-condensed-regular-webfont.eot', :like => :font, :to => 'leaguegothic-condensed-regular-webfont.eot'
86
+ font '../shared/fonts/league-gothic/leaguegothic-condensed-regular-webfont.svg', :like => :font, :to => 'leaguegothic-condensed-regular-webfont.svg'
87
+ font '../shared/fonts/league-gothic/leaguegothic-condensed-regular-webfont.ttf', :like => :font, :to => 'leaguegothic-condensed-regular-webfont.ttf'
88
+ font '../shared/fonts/league-gothic/leaguegothic-condensed-regular-webfont.woff', :like => :font, :to => 'leaguegothic-condensed-regular-webfont.woff'
89
+ font '../shared/fonts/league-gothic/leaguegothic-italic-webfont.eot', :like => :font, :to => 'leaguegothic-italic-webfont.eot'
90
+ font '../shared/fonts/league-gothic/leaguegothic-italic-webfont.svg', :like => :font, :to => 'leaguegothic-italic-webfont.svg'
91
+ font '../shared/fonts/league-gothic/leaguegothic-italic-webfont.ttf', :like => :font, :to => 'leaguegothic-italic-webfont.ttf'
92
+ font '../shared/fonts/league-gothic/leaguegothic-italic-webfont.woff', :like => :font, :to => 'leaguegothic-italic-webfont.woff'
93
+ font '../shared/fonts/league-gothic/leaguegothic-regular-webfont.eot', :like => :font, :to => 'leaguegothic-regular-webfont.eot'
94
+ font '../shared/fonts/league-gothic/leaguegothic-regular-webfont.svg', :like => :font, :to => 'leaguegothic-regular-webfont.svg'
95
+ font '../shared/fonts/league-gothic/leaguegothic-regular-webfont.ttf', :like => :font, :to => 'leaguegothic-regular-webfont.ttf'
96
+ font '../shared/fonts/league-gothic/leaguegothic-regular-webfont.woff', :like => :font, :to => 'leaguegothic-regular-webfont.woff'
97
+ font '../shared/fonts/ostrich/ostrich-black-webfont.eot', :like => :font, :to => 'ostrich-black-webfont.eot'
98
+ font '../shared/fonts/ostrich/ostrich-black-webfont.svg', :like => :font, :to => 'ostrich-black-webfont.svg'
99
+ font '../shared/fonts/ostrich/ostrich-black-webfont.ttf', :like => :font, :to => 'ostrich-black-webfont.ttf'
100
+ font '../shared/fonts/ostrich/ostrich-black-webfont.woff', :like => :font, :to => 'ostrich-black-webfont.woff'
101
+ font '../shared/fonts/ostrich/ostrich-bold-webfont.eot', :like => :font, :to => 'ostrich-bold-webfont.eot'
102
+ font '../shared/fonts/ostrich/ostrich-bold-webfont.svg', :like => :font, :to => 'ostrich-bold-webfont.svg'
103
+ font '../shared/fonts/ostrich/ostrich-bold-webfont.ttf', :like => :font, :to => 'ostrich-bold-webfont.ttf'
104
+ font '../shared/fonts/ostrich/ostrich-bold-webfont.woff', :like => :font, :to => 'ostrich-bold-webfont.woff'
105
+ font '../shared/fonts/ostrich/ostrich-dashed-webfont.eot', :like => :font, :to => 'ostrich-dashed-webfont.eot'
106
+ font '../shared/fonts/ostrich/ostrich-dashed-webfont.svg', :like => :font, :to => 'ostrich-dashed-webfont.svg'
107
+ font '../shared/fonts/ostrich/ostrich-dashed-webfont.ttf', :like => :font, :to => 'ostrich-dashed-webfont.ttf'
108
+ font '../shared/fonts/ostrich/ostrich-dashed-webfont.woff', :like => :font, :to => 'ostrich-dashed-webfont.woff'
109
+ font '../shared/fonts/ostrich/ostrich-light-webfont.eot', :like => :font, :to => 'ostrich-light-webfont.eot'
110
+ font '../shared/fonts/ostrich/ostrich-light-webfont.svg', :like => :font, :to => 'ostrich-light-webfont.svg'
111
+ font '../shared/fonts/ostrich/ostrich-light-webfont.ttf', :like => :font, :to => 'ostrich-light-webfont.ttf'
112
+ font '../shared/fonts/ostrich/ostrich-light-webfont.woff', :like => :font, :to => 'ostrich-light-webfont.woff'
113
+ font '../shared/fonts/ostrich/ostrich-regular-webfont.eot', :like => :font, :to => 'ostrich-regular-webfont.eot'
114
+ font '../shared/fonts/ostrich/ostrich-regular-webfont.svg', :like => :font, :to => 'ostrich-regular-webfont.svg'
115
+ font '../shared/fonts/ostrich/ostrich-regular-webfont.ttf', :like => :font, :to => 'ostrich-regular-webfont.ttf'
116
+ font '../shared/fonts/ostrich/ostrich-regular-webfont.woff', :like => :font, :to => 'ostrich-regular-webfont.woff'
117
+ font '../shared/fonts/ostrich/ostrich-rounded-webfont.eot', :like => :font, :to => 'ostrich-rounded-webfont.eot'
118
+ font '../shared/fonts/ostrich/ostrich-rounded-webfont.svg', :like => :font, :to => 'ostrich-rounded-webfont.svg'
119
+ font '../shared/fonts/ostrich/ostrich-rounded-webfont.ttf', :like => :font, :to => 'ostrich-rounded-webfont.ttf'
120
+ font '../shared/fonts/ostrich/ostrich-rounded-webfont.woff', :like => :font, :to => 'ostrich-rounded-webfont.woff'
123
121
 
124
122
  help %Q{
125
123
  This is a Compass extension for The Coding Designer's Survival Kit by Mason Wendell
@@ -0,0 +1,49 @@
1
+ # Introducing FitVids.js
2
+ A lightweight, easy-to-use jQuery plugin for fluid width video embeds.
3
+
4
+ FitVids automates [the Intrinsic Ratio Method by Thierry Koblentz](http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/) to achieve fluid width videos in your responsive web design.
5
+
6
+ ## How Do I Use It?
7
+ Include jQuery 1.7+ and FitVids.js in your layout and target your videos container with `fitVids()`.
8
+
9
+ ```html
10
+ <script src="path/to/jquery.min.js"></script>
11
+ <script src="path/to/jquery.fitvids.js"></script>
12
+ <script>
13
+ $(document).ready(function(){
14
+ // Target your .container, .wrapper, .post, etc.
15
+ $("#thing-with-videos").fitVids();
16
+ });
17
+ </script>
18
+ ```
19
+
20
+ This will wrap each video in a `div.fluid-width-video-wrapper` and apply the necessary CSS. After the initial Javascript call, it's all percentage-based CSS magic.
21
+
22
+ ## Currently Supported Players
23
+ <table>
24
+ <tr><td>YouTube</td><td>Y</td></tr>
25
+ <tr><td>Vimeo</td><td>Y</td></tr>
26
+ <tr><td>Blip.tv</td><td>Y</td></tr>
27
+ <tr><td>Viddler</td><td>Y</td></tr>
28
+ <tr><td>Kickstarter</td><td> Y</td></tr>
29
+ </table>
30
+
31
+ ## Add Your Own Video Vendor
32
+ Have a custom video player? We now have a `customSelector` option where you can add your own specific video vendor selector (_mileage may vary depending on vendor and fluidity of player_):
33
+
34
+ ```javascript
35
+ $("#thing-with-videos").fitVids({ customSelector: "iframe[src^='http://mycoolvideosite.com'], iframe[src^='http://myviiids.com']"});
36
+ // Selectors are comma separated, just like CSS
37
+ ```
38
+
39
+ _Note:_ This will be the quickest way to add your own custom vendor as well as test your player's compatibility with FitVids.
40
+
41
+ ## Changelog
42
+ * _09.02.11 - v1 - 2.376kb_
43
+ * Added `customSelector` option
44
+ * _09.02.11 - v1 - 2.135kb_
45
+ * Initial release
46
+ * Vimeo,YouTube, Blip.tv, Viddler, Kickstarter
47
+
48
+ ## Credits
49
+ @ChrisCoyier, @davatron5000, @TrentWalton, @raygunray
@@ -0,0 +1,80 @@
1
+ /*global jQuery */
2
+ /*jshint multistr:true browser:true */
3
+ /*!
4
+ * FitVids 1.0
5
+ *
6
+ * Copyright 2011, Chris Coyier - http://css-tricks.com + Dave Rupert - http://daverupert.com
7
+ * Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/
8
+ * Released under the WTFPL license - http://sam.zoy.org/wtfpl/
9
+ *
10
+ * Date: Thu Sept 01 18:00:00 2011 -0500
11
+ */
12
+
13
+ (function( $ ){
14
+
15
+ "use strict";
16
+
17
+ $.fn.fitVids = function( options ) {
18
+ var settings = {
19
+ customSelector: null
20
+ };
21
+
22
+ var div = document.createElement('div'),
23
+ ref = document.getElementsByTagName('base')[0] || document.getElementsByTagName('script')[0];
24
+
25
+ div.className = 'fit-vids-style';
26
+ div.innerHTML = '&shy;<style> \
27
+ .fluid-width-video-wrapper { \
28
+ width: 100%; \
29
+ position: relative; \
30
+ padding: 0; \
31
+ } \
32
+ \
33
+ .fluid-width-video-wrapper iframe, \
34
+ .fluid-width-video-wrapper object, \
35
+ .fluid-width-video-wrapper embed { \
36
+ position: absolute; \
37
+ top: 0; \
38
+ left: 0; \
39
+ width: 100%; \
40
+ height: 100%; \
41
+ } \
42
+ </style>';
43
+
44
+ ref.parentNode.insertBefore(div,ref);
45
+
46
+ if ( options ) {
47
+ $.extend( settings, options );
48
+ }
49
+
50
+ return this.each(function(){
51
+ var selectors = [
52
+ "iframe[src*='player.vimeo.com']",
53
+ "iframe[src*='www.youtube.com']",
54
+ "iframe[src*='www.kickstarter.com']",
55
+ "object",
56
+ "embed"
57
+ ];
58
+
59
+ if (settings.customSelector) {
60
+ selectors.push(settings.customSelector);
61
+ }
62
+
63
+ var $allVideos = $(this).find(selectors.join(','));
64
+
65
+ $allVideos.each(function(){
66
+ var $this = $(this);
67
+ if (this.tagName.toLowerCase() === 'embed' && $this.parent('object').length || $this.parent('.fluid-width-video-wrapper').length) { return; }
68
+ var height = ( this.tagName.toLowerCase() === 'object' || $this.attr('height') ) ? parseInt($this.attr('height'), 10) : $this.height(),
69
+ width = $this.attr('width') ? parseInt($this.attr('width'), 10) : $this.width(),
70
+ aspectRatio = height / width;
71
+ if(!$this.attr('id')){
72
+ var videoID = 'fitvid' + Math.floor(Math.random()*999999);
73
+ $this.attr('id', videoID);
74
+ }
75
+ $this.wrap('<div class="fluid-width-video-wrapper"></div>').parent('.fluid-width-video-wrapper').css('padding-top', (aspectRatio * 100)+"%");
76
+ $this.removeAttr('height').removeAttr('width');
77
+ });
78
+ });
79
+ };
80
+ })( jQuery );
@@ -0,0 +1,66 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta name="viewport" content="width=device-width,initial-scale=1">
5
+ <title>Fluid Width Videos with Fitvids.js</title>
6
+ <style>
7
+ body {
8
+ background-image: url(data:image/png;base64,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);
9
+ }
10
+
11
+ video {
12
+ width: 100%;
13
+ height: auto;
14
+ }
15
+
16
+ .container {
17
+ width: 70%;
18
+ padding: 5%;
19
+ margin:0px auto;
20
+ background:#fff;
21
+ box-shadow: 0 5px 5px rgba(0,0,0,0.5);
22
+ }
23
+
24
+ .vendor {
25
+ padding: 2%;
26
+ background: #d1eed1;
27
+ margin-bottom: 2em;
28
+ }
29
+
30
+ .unsupported {
31
+ background: #fddfde;
32
+ }
33
+ </style>
34
+ </head>
35
+ <body>
36
+ <div class="container">
37
+ <div class="vendor">
38
+ <iframe width="425" height="349" src="http://www.youtube.com/embed/FKWwdQu6_ok" frameborder="0" allowfullscreen></iframe>
39
+ </div>
40
+ <div class="vendor">
41
+ <iframe src="http://player.vimeo.com/video/25708134?title=0&amp;byline=0&amp;portrait=0" width="400" height="225" frameborder="0"></iframe>
42
+ </div>
43
+ <div class="vendor">
44
+ <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="437" height="288" id="viddler"><param name="movie" value="http://www.viddler.com/player/d6c37b62/" /><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="true" /><param name="flashvars" value="fake=1"/><embed src="http://www.viddler.com/player/d6c37b62/" width="437" height="288" type="application/x-shockwave-flash" allowScriptAccess="always" allowFullScreen="true" flashvars="fake=1" name="viddler" ></embed></object>
45
+ </div>
46
+ <div class="vendor">
47
+ <embed src="http://blip.tv/play/AYHCnikC" type="application/x-shockwave-flash" width="550" height="396" wmode="transparent" allowscriptaccess="always" allowfullscreen="true" ></embed>
48
+ </div>
49
+ <div class="vendor">
50
+ <iframe frameborder="0" height="410px" src="http://www.kickstarter.com/projects/30453381/the-shape-of-design/widget/video.html" width="480px"></iframe>
51
+ </div>
52
+ <div class="vendor">
53
+ <iframe width="520px" height="391px" src="http://socialcam.com/videos/XRMP3Y5t/embed?utm_campaign=web&utm_source=embed" frameborder="0" allowfullscreen></iframe>
54
+ </div>
55
+ </div>
56
+
57
+ <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
58
+ <script src="jquery.fitvids.js"></script>
59
+ <script>
60
+ // Basic FitVids Test
61
+ $(".container").fitVids();
62
+ // Custom selector and No-Double-Wrapping Prevention Test
63
+ $(".container").fitVids({ customSelector: "iframe[src^='http://socialcam.com']"});
64
+ </script>
65
+ </body>
66
+ </html>
@@ -0,0 +1,31 @@
1
+ [Heyday Labs](http://labs.heyday.co.nz/) - Geared Scroller
2
+ ================================
3
+
4
+ Huh? What is it?
5
+ ----------------
6
+
7
+ This is a little effect we dreamed up for a project of ours: [Down to the Wire - The Story of New Zealand's Internet](http://downtothewire.co.nz/).
8
+
9
+ Basically, we wanted a way to prolong the visibility of certain columns in a 3-column layout.
10
+
11
+ We thought - how about we do some funky *proportional* scrolling that slows the scrolling of shorter columns so that, as a user scrolls down the page, the columns will line up along the baseline of the tallest column... if this makes no sense it's probably better you check it out in action:
12
+ [http://downtothewire.co.nz/](http://downtothewire.co.nz/) - sorry, our implmentation is for Webkit browsers only (see known issues below)
13
+
14
+ It ain't perfect...
15
+ -------------------
16
+
17
+ Damn! Why do Webkit browsers have to be the only sh*t hot browsers! ;)
18
+
19
+ OK - so it does *work* on all modern browsers but we've only enabled it for Webkit. Reason being that other browsers (including Firefox) have a slight stuttering of the animated columns when using the scrollbar (using a wheel mouse is fine - this probably comes down to the number of times the **`scroll`** event is fired).
20
+
21
+ We tried changing it to animate the **`scrollTop`** property instead (usually better for animating the **`top`** position - but same deal.
22
+
23
+ So... have a crack and if you can resolve this little issue we'll be your friend forever.
24
+
25
+ [Update] User mleibman gave us a tip which improved the performance and allowed us to enable this in Firefox and IE7+, unfortunately in the Down To The Wire implementation due to [a bug involving Flash](https://bugzilla.mozilla.org/show_bug.cgi?id=90268) we had to disable the plugin for Firefox users for that site. The plugin will work by default in all modern browsers.
26
+
27
+ Would you like to know more?
28
+ ----------------------------
29
+
30
+ If you want to ask us a question, tell us about a bug or, you're just bored, please feel free to drop by our labs:
31
+ [http://labs.heyday.co.nz/](http://labs.heyday.co.nz/) or email us: [labs@heyday.co.nz](mailto:labs@heyday.co.nz)
@@ -0,0 +1,88 @@
1
+ html, body {
2
+ background-color: #F8F6EE;
3
+ margin: 0;
4
+ }
5
+
6
+ #Header h1 {
7
+ font-size: 9em;
8
+ text-transform: uppercase;
9
+ text-align: center;
10
+ }
11
+
12
+ #Container {
13
+ width: 960px;
14
+ padding: 0 0 150px 0;
15
+ margin: 0 auto;
16
+ }
17
+
18
+ img {
19
+ display: block;
20
+ }
21
+
22
+ .columnHolder {
23
+ position: relative;
24
+ zoom: 1;
25
+ }
26
+
27
+ .columnHolder .short {
28
+ top: 0;
29
+ }
30
+
31
+ .tall1 .columnOne {
32
+ margin-left: 0;
33
+ }
34
+
35
+ .tall2 .columnOne,
36
+ .tall3 .columnOne {
37
+ left: 0;
38
+ }
39
+
40
+ .tall1 .columnTwo,
41
+ .tall3 .columnTwo {
42
+ left: 320px;
43
+ }
44
+
45
+ .tall2 .columnTwo {
46
+ margin-left: 320px;
47
+ }
48
+
49
+ .tall1 .columnThree,
50
+ .tall2 .columnThree {
51
+ left: 750px;
52
+ }
53
+
54
+ .tall3 .columnThree {
55
+ margin-left: 750px;
56
+ }
57
+
58
+ .columnHolder .static {
59
+ float: left;
60
+ position: static;
61
+ margin: 0;
62
+ }
63
+
64
+ .fixed {
65
+ float: none;
66
+ position: fixed;
67
+ }
68
+
69
+ .column {
70
+ float: left;
71
+ zoom: 1;
72
+ }
73
+
74
+ .columnOne {
75
+ width: 320px;
76
+ background: red;
77
+ }
78
+
79
+ .columnTwo {
80
+ width: 430px;
81
+ background: green;
82
+
83
+ }
84
+
85
+ .columnThree {
86
+ width: 210px;
87
+ background: blue;
88
+ }