survivalkit 1.0.beta.8 → 1.0.beta.9
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.markdown +3 -0
- data/README.markdown +2 -2
- data/lib/survivalkit.rb +3 -2
- data/stylesheets/survivalkit/fonts/_font-awesome.scss +355 -0
- data/stylesheets/survivalkit/fonts/_league-gothic.scss +46 -0
- data/stylesheets/survivalkit/fonts/_ostrich-sans.scss +69 -0
- data/stylesheets/survivalkit/mixins/_ui.scss +22 -12
- data/stylesheets/survivalkit/survival-kit/_survival-kit.sass +157 -0
- data/templates/clean/manifest.rb +94 -0
- data/templates/drupal/script.js +2 -17
- data/templates/project/libs/jquery-1.8.2.min.js +2 -0
- data/templates/project/libs/modernizr-2.6.2.min.js +815 -0
- data/templates/project/manifest.rb +46 -27
- data/templates/project/script.js +2 -17
- data/templates/project/sources/FitText/README.md +52 -0
- data/templates/project/sources/FitText/example.html +60 -0
- data/templates/project/sources/FitText/jquery.fittext.js +43 -0
- data/templates/shared/fonts/font-awesome/fontawesome-webfont.eot +0 -0
- data/templates/shared/fonts/font-awesome/fontawesome-webfont.svg +255 -0
- data/templates/shared/fonts/font-awesome/fontawesome-webfont.ttf +0 -0
- data/templates/shared/fonts/font-awesome/fontawesome-webfont.woff +0 -0
- data/templates/shared/fonts/league-gothic/leaguegothic-condensed-italic-webfont.eot +0 -0
- data/templates/shared/fonts/league-gothic/leaguegothic-condensed-italic-webfont.svg +224 -0
- data/templates/shared/fonts/league-gothic/leaguegothic-condensed-italic-webfont.ttf +0 -0
- data/templates/shared/fonts/league-gothic/leaguegothic-condensed-italic-webfont.woff +0 -0
- data/templates/shared/fonts/league-gothic/leaguegothic-condensed-regular-webfont.eot +0 -0
- data/templates/shared/fonts/league-gothic/leaguegothic-condensed-regular-webfont.svg +224 -0
- data/templates/shared/fonts/league-gothic/leaguegothic-condensed-regular-webfont.ttf +0 -0
- data/templates/shared/fonts/league-gothic/leaguegothic-condensed-regular-webfont.woff +0 -0
- data/templates/shared/fonts/league-gothic/leaguegothic-italic-webfont.eot +0 -0
- data/templates/shared/fonts/league-gothic/leaguegothic-italic-webfont.svg +224 -0
- data/templates/shared/fonts/league-gothic/leaguegothic-italic-webfont.ttf +0 -0
- data/templates/shared/fonts/league-gothic/leaguegothic-italic-webfont.woff +0 -0
- data/templates/shared/fonts/league-gothic/leaguegothic-regular-webfont.eot +0 -0
- data/templates/shared/fonts/league-gothic/leaguegothic-regular-webfont.svg +223 -0
- data/templates/shared/fonts/league-gothic/leaguegothic-regular-webfont.ttf +0 -0
- data/templates/shared/fonts/league-gothic/leaguegothic-regular-webfont.woff +0 -0
- data/templates/shared/fonts/ostrich/ostrich-black-webfont.eot +0 -0
- data/templates/shared/fonts/ostrich/ostrich-black-webfont.svg +141 -0
- data/templates/shared/fonts/ostrich/ostrich-black-webfont.ttf +0 -0
- data/templates/shared/fonts/ostrich/ostrich-black-webfont.woff +0 -0
- data/templates/shared/fonts/ostrich/ostrich-bold-webfont.eot +0 -0
- data/templates/shared/fonts/ostrich/ostrich-bold-webfont.svg +141 -0
- data/templates/shared/fonts/ostrich/ostrich-bold-webfont.ttf +0 -0
- data/templates/shared/fonts/ostrich/ostrich-bold-webfont.woff +0 -0
- data/templates/shared/fonts/ostrich/ostrich-dashed-webfont.eot +0 -0
- data/templates/shared/fonts/ostrich/ostrich-dashed-webfont.svg +141 -0
- data/templates/shared/fonts/ostrich/ostrich-dashed-webfont.ttf +0 -0
- data/templates/shared/fonts/ostrich/ostrich-dashed-webfont.woff +0 -0
- data/templates/shared/fonts/ostrich/ostrich-light-webfont.eot +0 -0
- data/templates/shared/fonts/ostrich/ostrich-light-webfont.svg +140 -0
- data/templates/shared/fonts/ostrich/ostrich-light-webfont.ttf +0 -0
- data/templates/shared/fonts/ostrich/ostrich-light-webfont.woff +0 -0
- data/templates/shared/fonts/ostrich/ostrich-regular-webfont.eot +0 -0
- data/templates/shared/fonts/ostrich/ostrich-regular-webfont.svg +141 -0
- data/templates/shared/fonts/ostrich/ostrich-regular-webfont.ttf +0 -0
- data/templates/shared/fonts/ostrich/ostrich-regular-webfont.woff +0 -0
- data/templates/shared/fonts/ostrich/ostrich-rounded-webfont.eot +0 -0
- data/templates/shared/fonts/ostrich/ostrich-rounded-webfont.svg +141 -0
- data/templates/shared/fonts/ostrich/ostrich-rounded-webfont.ttf +0 -0
- data/templates/shared/fonts/ostrich/ostrich-rounded-webfont.woff +0 -0
- data/templates/shared/partials/01-variables/_colors.scss +1 -1
- data/templates/shared/partials/01-variables/_fonts.scss +10 -0
- data/templates/shared/partials/06-ui-patterns/_drupal-patterns.scss +4 -5
- data/templates/shared/partials/07-styletile/_tile-design.scss +2 -2
- data/templates/shared/style.scss +2 -1
- metadata +73 -187
- data/stylesheets/survivalkit/survival_kit/_survival-kit.scss +0 -145
- data/templates/drupal/libs/320-up/helper.js +0 -146
- data/templates/drupal/libs/320-up/imgSizer.js +0 -61
- data/templates/drupal/libs/dd_belatedpng.js +0 -13
- data/templates/drupal/libs/formalize/README.txt +0 -11
- data/templates/drupal/libs/formalize/dojo.formalize.js +0 -174
- data/templates/drupal/libs/formalize/extjs.formalize.js +0 -168
- data/templates/drupal/libs/formalize/jquery.formalize.js +0 -158
- data/templates/drupal/libs/formalize/mootools.formalize.js +0 -163
- data/templates/drupal/libs/formalize/prototype.formalize.js +0 -171
- data/templates/drupal/libs/formalize/yui.formalize.js +0 -168
- data/templates/drupal/libs/jquery-1.6.js +0 -8865
- data/templates/drupal/libs/jquery-1.6.min.js +0 -16
- data/templates/drupal/libs/modernizr-2.0.min.js +0 -4
- data/templates/drupal/libs/mootools-core-1.3.1-full-compat-yc.js +0 -485
- data/templates/drupal/libs/plugins.js +0 -58
- data/templates/drupal/libs/respond.min.js +0 -7
- data/templates/drupal/libs/selectivizr-min.js +0 -5
- data/templates/drupal/libs/selectivizr.js +0 -5
- data/templates/project/files/apple-touch-icon-114x114-precomposed.png +0 -0
- data/templates/project/files/apple-touch-icon-72x72-precomposed.png +0 -0
- data/templates/project/files/apple-touch-icon.png +0 -0
- data/templates/project/files/crossdomain.xml +0 -25
- data/templates/project/files/favicon.ico +0 -0
- data/templates/project/files/favicon.png +0 -0
- data/templates/project/files/google.yml +0 -22
- data/templates/project/files/htaccess.htaccess +0 -478
- data/templates/project/files/html/404.html +0 -22
- data/templates/project/files/html/formalize_jquery_demo.html +0 -288
- data/templates/project/files/html/formalize_jquery_disabled.html +0 -288
- data/templates/project/files/html/formalize_jquery_errors.html +0 -288
- data/templates/project/files/html/index.html +0 -100
- data/templates/project/files/html/survivalkit/elements-common.html +0 -588
- data/templates/project/files/html/survivalkit/elements-html5.html +0 -2988
- data/templates/project/files/html/survivalkit/elements-typography.html +0 -240
- data/templates/project/files/html/survivalkit/elements-ui-patterns-drupal-css.html +0 -1883
- data/templates/project/files/html/survivalkit/elements-ui-patterns-drupal.html +0 -1882
- data/templates/project/files/html/survivalkit/elements-ui-patterns.html +0 -267
- data/templates/project/files/html/survivalkit/index.html +0 -132
- data/templates/project/files/html/survivalkit/styletile/index.html +0 -1
- data/templates/project/files/html/survivalkit/styletile/styletile.html +0 -215
- data/templates/project/files/humans.txt +0 -43
- data/templates/project/files/robots.txt +0 -5
- data/templates/project/libs/320-up/helper.js +0 -146
- data/templates/project/libs/320-up/imgSizer.js +0 -61
- data/templates/project/libs/jquery-1.6.js +0 -8865
- data/templates/project/libs/jquery-1.6.min.js +0 -16
- data/templates/project/libs/modernizr-2.0.min.js +0 -4
- data/templates/project/libs/plugins.js +0 -58
- data/templates/project/libs/selectivizr.js +0 -5
- data/templates/project/templates/_flashes.html.haml +0 -4
- data/templates/project/templates/_footer.html.haml +0 -2
- data/templates/project/templates/_head.html.haml +0 -26
- data/templates/project/templates/_header.html.haml +0 -1
- data/templates/project/templates/_javascripts.html.haml +0 -27
- data/templates/project/templates/_stylesheets.html.haml +0 -5
- data/templates/project/templates/application.html.haml +0 -28
- data/templates/project/templates/old/_layout.haml +0 -1
- data/templates/project/templates/old/home.html.haml +0 -14
- data/templates/project/templates/old/layouts/default.haml +0 -62
- data/templates/project/templates/old/layouts/survivalkit/default.haml +0 -64
- data/templates/project/templates/old/layouts/survivalkit/styletile.haml +0 -64
- data/templates/project/templates/old/survivalkit/_layout.haml +0 -1
- data/templates/project/templates/old/survivalkit/elements-common.haml +0 -33
- data/templates/project/templates/old/survivalkit/elements-html5.haml +0 -71
- data/templates/project/templates/old/survivalkit/elements-typography.haml +0 -100
- data/templates/project/templates/old/survivalkit/elements-ui-patterns-drupal.haml +0 -38
- data/templates/project/templates/old/survivalkit/elements-ui-patterns.haml +0 -23
- data/templates/project/templates/old/survivalkit/index.haml +0 -2
- data/templates/project/templates/old/survivalkit/partials/common/abbr.haml +0 -8
- data/templates/project/templates/old/survivalkit/partials/common/acronym.haml +0 -8
- data/templates/project/templates/old/survivalkit/partials/common/characters.haml +0 -11
- data/templates/project/templates/old/survivalkit/partials/common/cite.haml +0 -12
- data/templates/project/templates/old/survivalkit/partials/common/code.haml +0 -8
- data/templates/project/templates/old/survivalkit/partials/common/dfn.haml +0 -8
- data/templates/project/templates/old/survivalkit/partials/common/em.haml +0 -10
- data/templates/project/templates/old/survivalkit/partials/common/forms.haml +0 -27
- data/templates/project/templates/old/survivalkit/partials/common/headers.haml +0 -23
- data/templates/project/templates/old/survivalkit/partials/common/inline-images.haml +0 -9
- data/templates/project/templates/old/survivalkit/partials/common/kbd.haml +0 -10
- data/templates/project/templates/old/survivalkit/partials/common/links.haml +0 -10
- data/templates/project/templates/old/survivalkit/partials/common/lists.haml +0 -55
- data/templates/project/templates/old/survivalkit/partials/common/others.haml +0 -35
- data/templates/project/templates/old/survivalkit/partials/common/paragraphs.haml +0 -15
- data/templates/project/templates/old/survivalkit/partials/common/pre.haml +0 -27
- data/templates/project/templates/old/survivalkit/partials/common/q.haml +0 -8
- data/templates/project/templates/old/survivalkit/partials/common/samp.haml +0 -8
- data/templates/project/templates/old/survivalkit/partials/common/strong.haml +0 -8
- data/templates/project/templates/old/survivalkit/partials/common/tables.haml +0 -43
- data/templates/project/templates/old/survivalkit/partials/common/var.haml +0 -8
- data/templates/project/templates/old/survivalkit/partials/header-styletile.haml +0 -9
- data/templates/project/templates/old/survivalkit/partials/header.haml +0 -6
- data/templates/project/templates/old/survivalkit/partials/html5/a.haml +0 -36
- data/templates/project/templates/old/survivalkit/partials/html5/abbr.haml +0 -26
- data/templates/project/templates/old/survivalkit/partials/html5/address.haml +0 -27
- data/templates/project/templates/old/survivalkit/partials/html5/all-headings.haml +0 -31
- data/templates/project/templates/old/survivalkit/partials/html5/article.haml +0 -22
- data/templates/project/templates/old/survivalkit/partials/html5/aside.haml +0 -20
- data/templates/project/templates/old/survivalkit/partials/html5/b.haml +0 -21
- data/templates/project/templates/old/survivalkit/partials/html5/bdi.haml +0 -30
- data/templates/project/templates/old/survivalkit/partials/html5/blockquote.haml +0 -32
- data/templates/project/templates/old/survivalkit/partials/html5/cite.haml +0 -46
- data/templates/project/templates/old/survivalkit/partials/html5/code.haml +0 -70
- data/templates/project/templates/old/survivalkit/partials/html5/details.haml +0 -42
- data/templates/project/templates/old/survivalkit/partials/html5/dfn.haml +0 -52
- data/templates/project/templates/old/survivalkit/partials/html5/dl.haml +0 -69
- data/templates/project/templates/old/survivalkit/partials/html5/em.haml +0 -15
- data/templates/project/templates/old/survivalkit/partials/html5/fieldset.haml +0 -49
- data/templates/project/templates/old/survivalkit/partials/html5/figure.haml +0 -48
- data/templates/project/templates/old/survivalkit/partials/html5/footer.haml +0 -37
- data/templates/project/templates/old/survivalkit/partials/html5/header.haml +0 -44
- data/templates/project/templates/old/survivalkit/partials/html5/hgroup.haml +0 -20
- data/templates/project/templates/old/survivalkit/partials/html5/hr.haml +0 -52
- data/templates/project/templates/old/survivalkit/partials/html5/i.haml +0 -28
- data/templates/project/templates/old/survivalkit/partials/html5/kbd.haml +0 -19
- data/templates/project/templates/old/survivalkit/partials/html5/label.haml +0 -18
- data/templates/project/templates/old/survivalkit/partials/html5/li.haml +0 -91
- data/templates/project/templates/old/survivalkit/partials/html5/mark.haml +0 -30
- data/templates/project/templates/old/survivalkit/partials/html5/menu.haml +0 -39
- data/templates/project/templates/old/survivalkit/partials/html5/nav.haml +0 -68
- data/templates/project/templates/old/survivalkit/partials/html5/ol.haml +0 -23
- data/templates/project/templates/old/survivalkit/partials/html5/p.haml +0 -41
- data/templates/project/templates/old/survivalkit/partials/html5/pre.haml +0 -48
- data/templates/project/templates/old/survivalkit/partials/html5/q.haml +0 -34
- data/templates/project/templates/old/survivalkit/partials/html5/ruby.haml +0 -55
- data/templates/project/templates/old/survivalkit/partials/html5/s.haml +0 -17
- data/templates/project/templates/old/survivalkit/partials/html5/samp.haml +0 -27
- data/templates/project/templates/old/survivalkit/partials/html5/sample-forms.haml +0 -52
- data/templates/project/templates/old/survivalkit/partials/html5/sample-tables.haml +0 -152
- data/templates/project/templates/old/survivalkit/partials/html5/section.haml +0 -21
- data/templates/project/templates/old/survivalkit/partials/html5/small.haml +0 -33
- data/templates/project/templates/old/survivalkit/partials/html5/strong.haml +0 -25
- data/templates/project/templates/old/survivalkit/partials/html5/sub-sup.haml +0 -58
- data/templates/project/templates/old/survivalkit/partials/html5/table.haml +0 -196
- data/templates/project/templates/old/survivalkit/partials/html5/text-summary.haml +0 -305
- data/templates/project/templates/old/survivalkit/partials/html5/thead.haml +0 -67
- data/templates/project/templates/old/survivalkit/partials/html5/time.haml +0 -31
- data/templates/project/templates/old/survivalkit/partials/html5/ul.haml +0 -21
- data/templates/project/templates/old/survivalkit/partials/menu.haml +0 -14
- data/templates/project/templates/old/survivalkit/partials/patterns-drupal/block.haml +0 -7
- data/templates/project/templates/old/survivalkit/partials/patterns-drupal/breadcrumbs.haml +0 -7
- data/templates/project/templates/old/survivalkit/partials/patterns-drupal/comments.haml +0 -69
- data/templates/project/templates/old/survivalkit/partials/patterns-drupal/field-image.haml +0 -7
- data/templates/project/templates/old/survivalkit/partials/patterns-drupal/form-comment.haml +0 -54
- data/templates/project/templates/old/survivalkit/partials/patterns-drupal/form-login.haml +0 -23
- data/templates/project/templates/old/survivalkit/partials/patterns-drupal/form-new-account.haml +0 -24
- data/templates/project/templates/old/survivalkit/partials/patterns-drupal/form-new-password.haml +0 -16
- data/templates/project/templates/old/survivalkit/partials/patterns-drupal/links.haml +0 -6
- data/templates/project/templates/old/survivalkit/partials/patterns-drupal/menu.haml +0 -10
- data/templates/project/templates/old/survivalkit/partials/patterns-drupal/messages.haml +0 -21
- data/templates/project/templates/old/survivalkit/partials/patterns-drupal/node.haml +0 -28
- data/templates/project/templates/old/survivalkit/partials/patterns-drupal/pager.haml +0 -17
- data/templates/project/templates/old/survivalkit/partials/patterns-drupal/rss-link.haml +0 -5
- data/templates/project/templates/old/survivalkit/partials/patterns-drupal/search.haml +0 -14
- data/templates/project/templates/old/survivalkit/partials/patterns-drupal/site-name.haml +0 -6
- data/templates/project/templates/old/survivalkit/partials/patterns-drupal/tabs.haml +0 -14
- data/templates/project/templates/old/survivalkit/partials/patterns-drupal/taxonomy.haml +0 -10
- data/templates/project/templates/old/survivalkit/partials/patterns-general/block.haml +0 -7
- data/templates/project/templates/old/survivalkit/partials/patterns-general/breadcrumbs.haml +0 -7
- data/templates/project/templates/old/survivalkit/partials/patterns-general/comments.haml +0 -69
- data/templates/project/templates/old/survivalkit/partials/patterns-general/field-image.haml +0 -7
- data/templates/project/templates/old/survivalkit/partials/patterns-general/form-comment.haml +0 -54
- data/templates/project/templates/old/survivalkit/partials/patterns-general/form-login.haml +0 -23
- data/templates/project/templates/old/survivalkit/partials/patterns-general/form-new-account.haml +0 -24
- data/templates/project/templates/old/survivalkit/partials/patterns-general/form-new-password.haml +0 -16
- data/templates/project/templates/old/survivalkit/partials/patterns-general/links.haml +0 -6
- data/templates/project/templates/old/survivalkit/partials/patterns-general/menu.haml +0 -10
- data/templates/project/templates/old/survivalkit/partials/patterns-general/messages.haml +0 -21
- data/templates/project/templates/old/survivalkit/partials/patterns-general/node.haml +0 -28
- data/templates/project/templates/old/survivalkit/partials/patterns-general/pager.haml +0 -17
- data/templates/project/templates/old/survivalkit/partials/patterns-general/rss-link.haml +0 -5
- data/templates/project/templates/old/survivalkit/partials/patterns-general/search.haml +0 -14
- data/templates/project/templates/old/survivalkit/partials/patterns-general/site-name.haml +0 -6
- data/templates/project/templates/old/survivalkit/partials/patterns-general/tabs.haml +0 -14
- data/templates/project/templates/old/survivalkit/partials/patterns-general/taxonomy.haml +0 -10
- data/templates/project/templates/old/survivalkit/styletile/_layout.haml +0 -1
- data/templates/project/templates/old/survivalkit/styletile/index.redirect +0 -1
- data/templates/project/templates/old/survivalkit/styletile/styletile.haml +0 -60
- data/templates/project/templates/old/view_helpers.rb +0 -25
- data/templates/shared/survivalkit/drupal7.scss +0 -3224
- data/templates/shared/survivalkit/survivalkit.scss +0 -32
@@ -2,8 +2,6 @@ description "Tools for desiging in the browser: The Coding Designer's Survival K
|
|
2
2
|
|
3
3
|
# Stylesheets
|
4
4
|
file '../shared/style.scss', :like => :stylesheet, :media => 'all', :to => 'style.scss'
|
5
|
-
file '../shared/survivalkit/drupal7.scss', :like => :stylesheet, :media => 'all', :to => 'survivalkit/drupal7.scss'
|
6
|
-
file '../shared/survivalkit/survivalkit.scss', :like => :stylesheet, :media => 'all', :to => 'survivalkit/survivalkit.scss'
|
7
5
|
file '../shared/partials/01-variables/_all.scss', :like => :stylesheet, :to => 'partials/01-variables/_all.scss'
|
8
6
|
file '../shared/partials/01-variables/_base.scss', :like => :stylesheet, :to => 'partials/01-variables/_base.scss'
|
9
7
|
file '../shared/partials/01-variables/_colors.scss', :like => :stylesheet, :to => 'partials/01-variables/_colors.scss'
|
@@ -16,11 +14,11 @@ file '../shared/partials/04-base/_all.scss', :like => :stylesheet, :to => 'parti
|
|
16
14
|
file '../shared/partials/04-base/_common.scss', :like => :stylesheet, :to => 'partials/04-base/_common.scss'
|
17
15
|
file '../shared/partials/04-base/_edits.scss', :like => :stylesheet, :to => 'partials/04-base/_edits.scss'
|
18
16
|
file '../shared/partials/04-base/_font-face.scss', :like => :stylesheet, :to => 'partials/04-base/_font-face.scss'
|
17
|
+
file '../shared/partials/04-base/_form-defaults.scss', :like => :stylesheet, :to => 'partials/04-base/_form-defaults.scss'
|
19
18
|
file '../shared/partials/04-base/_headers.scss', :like => :stylesheet, :to => 'partials/04-base/_headers.scss'
|
20
19
|
file '../shared/partials/04-base/_images.scss', :like => :stylesheet, :to => 'partials/04-base/_images.scss'
|
21
20
|
file '../shared/partials/04-base/_semantics.scss', :like => :stylesheet, :to => 'partials/04-base/_semantics.scss'
|
22
21
|
file '../shared/partials/04-base/_tables.scss', :like => :stylesheet, :to => 'partials/04-base/_tables.scss'
|
23
|
-
file '../shared/partials/04-base/_form-defaults.scss', :like => :stylesheet, :to => 'partials/04-base/_form-defaults.scss'
|
24
22
|
file '../shared/partials/05-layout/_grids-susy.scss', :like => :stylesheet, :to => 'partials/05-layout/_grids-susy.scss'
|
25
23
|
file '../shared/partials/06-ui-patterns/_common.scss', :like => :stylesheet, :to => 'partials/06-ui-patterns/_common.scss'
|
26
24
|
file '../shared/partials/06-ui-patterns/_drupal-patterns.scss', :like => :stylesheet, :to => 'partials/06-ui-patterns/_drupal-patterns.scss'
|
@@ -29,30 +27,6 @@ file '../shared/partials/08-media/_print.scss', :like => :stylesheet, :to => 'pa
|
|
29
27
|
file '../shared/your-design-here/_design.scss', :like => :stylesheet, :to => 'your-design-here/_design.scss'
|
30
28
|
# discover :stylesheets
|
31
29
|
|
32
|
-
html 'files/html/index.html', :to => 'index.html'
|
33
|
-
html 'files/html/404.html', :to => '404.html'
|
34
|
-
html 'files/html/survivalkit/index.html', :to => 'survivalkit/index.html'
|
35
|
-
html 'files/html/survivalkit/elements-common.html', :to => 'survivalkit/elements-common.html'
|
36
|
-
html 'files/html/survivalkit/elements-html5.html', :to => 'survivalkit/elements-html5.html'
|
37
|
-
html 'files/html/survivalkit/elements-ui-patterns-drupal.html', :to => 'survivalkit/elements-ui-patterns-drupal.html'
|
38
|
-
html 'files/html/survivalkit/elements-ui-patterns-drupal-css.html', :to => 'survivalkit/elements-ui-patterns-drupal-css.html'
|
39
|
-
html 'files/html/survivalkit/elements-ui-patterns.html', :to => 'survivalkit/elements-ui-patterns.html'
|
40
|
-
html 'files/html/survivalkit/elements-typography.html', :to => 'survivalkit/elements-typography.html'
|
41
|
-
html 'files/html/survivalkit/styletile/styletile.html', :to => 'survivalkit/styletile/styletile.html'
|
42
|
-
|
43
|
-
html 'files/html/formalize_jquery_demo.html', :to => 'survivalkit/formalize/formalize_jquery_demo.html'
|
44
|
-
html 'files/html/formalize_jquery_disabled.html', :to => 'survivalkit/formalize/formalize_jquery_disabled.html'
|
45
|
-
html 'files/html/formalize_jquery_errors.html', :to => 'survivalkit/formalize/formalize_jquery_errors.html'
|
46
|
-
|
47
|
-
html 'files/htaccess.htaccess', :to => '.htaccess'
|
48
|
-
html 'files/crossdomain.xml', :to => 'crossdomain.xml'
|
49
|
-
html 'files/robots.txt', :to => 'robots.txt'
|
50
|
-
html 'files/humans.txt', :to => 'humans.txt'
|
51
|
-
html 'files/apple-touch-icon.png', :to => 'apple-touch-icon.png'
|
52
|
-
html 'files/apple-touch-icon-72x72-precomposed.png', :to => 'apple-touch-icon-72x72-precomposed.png'
|
53
|
-
html 'files/apple-touch-icon-114x114-precomposed.png', :to => 'apple-touch-icon-114x114-precomposed.png'
|
54
|
-
html 'files/favicon.ico', :to => 'favicon.ico'
|
55
|
-
|
56
30
|
discover :javascripts
|
57
31
|
|
58
32
|
file '../shared/survival-kit-logo.png', :like => :image, :to => 'survival-kit-logo.png'
|
@@ -104,6 +78,51 @@ file '../shared/drupal/watchdog-error.png', :like => :image, :to => 'drupal/watc
|
|
104
78
|
file '../shared/drupal/watchdog-ok.png', :like => :image, :to => 'drupal/watchdog-ok.png'
|
105
79
|
file '../shared/drupal/watchdog-warning.png', :like => :image, :to => 'drupal/watchdog-warning.png'
|
106
80
|
|
81
|
+
font '../shared/fonts/font-awesome/fontawesome-webfont.eot', :like => :font, :to => 'font-awesome/fontawesome-webfont.eot'
|
82
|
+
font '../shared/fonts/font-awesome/fontawesome-webfont.svg', :like => :font, :to => 'font-awesome/fontawesome-webfont.svg'
|
83
|
+
font '../shared/fonts/font-awesome/fontawesome-webfont.ttf', :like => :font, :to => 'font-awesome/fontawesome-webfont.ttf'
|
84
|
+
font '../shared/fonts/font-awesome/fontawesome-webfont.woff', :like => :font, :to => 'font-awesome/fontawesome-webfont.woff'
|
85
|
+
font '../shared/fonts/league-gothic/leaguegothic-condensed-italic-webfont.eot', :like => :font, :to => 'league-gothic/leaguegothic-condensed-italic-webfont.eot'
|
86
|
+
font '../shared/fonts/league-gothic/leaguegothic-condensed-italic-webfont.svg', :like => :font, :to => 'league-gothic/leaguegothic-condensed-italic-webfont.svg'
|
87
|
+
font '../shared/fonts/league-gothic/leaguegothic-condensed-italic-webfont.ttf', :like => :font, :to => 'league-gothic/leaguegothic-condensed-italic-webfont.ttf'
|
88
|
+
font '../shared/fonts/league-gothic/leaguegothic-condensed-italic-webfont.woff', :like => :font, :to => 'league-gothic/leaguegothic-condensed-italic-webfont.woff'
|
89
|
+
font '../shared/fonts/league-gothic/leaguegothic-condensed-regular-webfont.eot', :like => :font, :to => 'league-gothic/leaguegothic-condensed-regular-webfont.eot'
|
90
|
+
font '../shared/fonts/league-gothic/leaguegothic-condensed-regular-webfont.svg', :like => :font, :to => 'league-gothic/leaguegothic-condensed-regular-webfont.svg'
|
91
|
+
font '../shared/fonts/league-gothic/leaguegothic-condensed-regular-webfont.ttf', :like => :font, :to => 'league-gothic/leaguegothic-condensed-regular-webfont.ttf'
|
92
|
+
font '../shared/fonts/league-gothic/leaguegothic-condensed-regular-webfont.woff', :like => :font, :to => 'league-gothic/leaguegothic-condensed-regular-webfont.woff'
|
93
|
+
font '../shared/fonts/league-gothic/leaguegothic-italic-webfont.eot', :like => :font, :to => 'league-gothic/leaguegothic-italic-webfont.eot'
|
94
|
+
font '../shared/fonts/league-gothic/leaguegothic-italic-webfont.svg', :like => :font, :to => 'league-gothic/leaguegothic-italic-webfont.svg'
|
95
|
+
font '../shared/fonts/league-gothic/leaguegothic-italic-webfont.ttf', :like => :font, :to => 'league-gothic/leaguegothic-italic-webfont.ttf'
|
96
|
+
font '../shared/fonts/league-gothic/leaguegothic-italic-webfont.woff', :like => :font, :to => 'league-gothic/leaguegothic-italic-webfont.woff'
|
97
|
+
font '../shared/fonts/league-gothic/leaguegothic-regular-webfont.eot', :like => :font, :to => 'league-gothic/leaguegothic-regular-webfont.eot'
|
98
|
+
font '../shared/fonts/league-gothic/leaguegothic-regular-webfont.svg', :like => :font, :to => 'league-gothic/leaguegothic-regular-webfont.svg'
|
99
|
+
font '../shared/fonts/league-gothic/leaguegothic-regular-webfont.ttf', :like => :font, :to => 'league-gothic/leaguegothic-regular-webfont.ttf'
|
100
|
+
font '../shared/fonts/league-gothic/leaguegothic-regular-webfont.woff', :like => :font, :to => 'league-gothic/leaguegothic-regular-webfont.woff'
|
101
|
+
font '../shared/fonts/ostrich/ostrich-black-webfont.eot', :like => :font, :to => 'ostrich/ostrich-black-webfont.eot'
|
102
|
+
font '../shared/fonts/ostrich/ostrich-black-webfont.svg', :like => :font, :to => 'ostrich/ostrich-black-webfont.svg'
|
103
|
+
font '../shared/fonts/ostrich/ostrich-black-webfont.ttf', :like => :font, :to => 'ostrich/ostrich-black-webfont.ttf'
|
104
|
+
font '../shared/fonts/ostrich/ostrich-black-webfont.woff', :like => :font, :to => 'ostrich/ostrich-black-webfont.woff'
|
105
|
+
font '../shared/fonts/ostrich/ostrich-bold-webfont.eot', :like => :font, :to => 'ostrich/ostrich-bold-webfont.eot'
|
106
|
+
font '../shared/fonts/ostrich/ostrich-bold-webfont.svg', :like => :font, :to => 'ostrich/ostrich-bold-webfont.svg'
|
107
|
+
font '../shared/fonts/ostrich/ostrich-bold-webfont.ttf', :like => :font, :to => 'ostrich/ostrich-bold-webfont.ttf'
|
108
|
+
font '../shared/fonts/ostrich/ostrich-bold-webfont.woff', :like => :font, :to => 'ostrich/ostrich-bold-webfont.woff'
|
109
|
+
font '../shared/fonts/ostrich/ostrich-dashed-webfont.eot', :like => :font, :to => 'ostrich/ostrich-dashed-webfont.eot'
|
110
|
+
font '../shared/fonts/ostrich/ostrich-dashed-webfont.svg', :like => :font, :to => 'ostrich/ostrich-dashed-webfont.svg'
|
111
|
+
font '../shared/fonts/ostrich/ostrich-dashed-webfont.ttf', :like => :font, :to => 'ostrich/ostrich-dashed-webfont.ttf'
|
112
|
+
font '../shared/fonts/ostrich/ostrich-dashed-webfont.woff', :like => :font, :to => 'ostrich/ostrich-dashed-webfont.woff'
|
113
|
+
font '../shared/fonts/ostrich/ostrich-light-webfont.eot', :like => :font, :to => 'ostrich/ostrich-light-webfont.eot'
|
114
|
+
font '../shared/fonts/ostrich/ostrich-light-webfont.svg', :like => :font, :to => 'ostrich/ostrich-light-webfont.svg'
|
115
|
+
font '../shared/fonts/ostrich/ostrich-light-webfont.ttf', :like => :font, :to => 'ostrich/ostrich-light-webfont.ttf'
|
116
|
+
font '../shared/fonts/ostrich/ostrich-light-webfont.woff', :like => :font, :to => 'ostrich/ostrich-light-webfont.woff'
|
117
|
+
font '../shared/fonts/ostrich/ostrich-regular-webfont.eot', :like => :font, :to => 'ostrich/ostrich-regular-webfont.eot'
|
118
|
+
font '../shared/fonts/ostrich/ostrich-regular-webfont.svg', :like => :font, :to => 'ostrich/ostrich-regular-webfont.svg'
|
119
|
+
font '../shared/fonts/ostrich/ostrich-regular-webfont.ttf', :like => :font, :to => 'ostrich/ostrich-regular-webfont.ttf'
|
120
|
+
font '../shared/fonts/ostrich/ostrich-regular-webfont.woff', :like => :font, :to => 'ostrich/ostrich-regular-webfont.woff'
|
121
|
+
font '../shared/fonts/ostrich/ostrich-rounded-webfont.eot', :like => :font, :to => 'ostrich/ostrich-rounded-webfont.eot'
|
122
|
+
font '../shared/fonts/ostrich/ostrich-rounded-webfont.svg', :like => :font, :to => 'ostrich/ostrich-rounded-webfont.svg'
|
123
|
+
font '../shared/fonts/ostrich/ostrich-rounded-webfont.ttf', :like => :font, :to => 'ostrich/ostrich-rounded-webfont.ttf'
|
124
|
+
font '../shared/fonts/ostrich/ostrich-rounded-webfont.woff', :like => :font, :to => 'ostrich/ostrich-rounded-webfont.woff'
|
125
|
+
|
107
126
|
help %Q{
|
108
127
|
This is a Compass extension for The Coding Designer's Survival Kit by Mason Wendell
|
109
128
|
|
data/templates/project/script.js
CHANGED
@@ -1,22 +1,7 @@
|
|
1
|
-
/* Author:
|
2
|
-
* [your name here]
|
3
|
-
*/
|
4
|
-
|
5
1
|
$(document).ready(function(){
|
6
2
|
|
7
|
-
//
|
8
|
-
|
9
|
-
$('ol#id').mobileMenu({
|
10
|
-
switchWidth: 768, // width (in px to switch at)
|
11
|
-
topOptionText: 'Choose a page', // first option text
|
12
|
-
indentString: ' ' // string for indenting nested items
|
13
|
-
});
|
14
|
-
}
|
15
|
-
|
16
|
-
// Run Mathias Bynens jQuery placeholder plugin (see plugins-320.js)
|
17
|
-
if ($.fn.placeholder) {
|
18
|
-
$('input, textarea').placeholder();
|
19
|
-
}
|
3
|
+
// add some js, whydoncha?
|
4
|
+
|
20
5
|
});
|
21
6
|
|
22
7
|
|
@@ -0,0 +1,52 @@
|
|
1
|
+
# FitText.js, a jQuery plugin for inflating web type
|
2
|
+
FitText makes font-sizes flexible. Use this plugin on your responsive design to achieve scalable headlines that fill the width of the parent element.
|
3
|
+
|
4
|
+
## How it works
|
5
|
+
Here is a simple FitText setup:
|
6
|
+
|
7
|
+
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
|
8
|
+
<script src="jquery.fittext.js"></script>
|
9
|
+
<script>
|
10
|
+
$("#responsive_headline").fitText();
|
11
|
+
</script>
|
12
|
+
|
13
|
+
[Pretty Cool](http://www.hulu.com/watch/194733/saturday-night-live-miley-cyrus-show). Your text should now resize based on the width of the parent element. By default: *Font-size = 1/10th of the parent element's width*.
|
14
|
+
|
15
|
+
### The Compressor
|
16
|
+
If your text is resizing poorly, you'll want to turn tweak up/down "The Compressor". It works a little like a guitar amp. The default is `1`.
|
17
|
+
|
18
|
+
$("#responsive_headline").fitText(1.2); // Turn the compressor up (text shrinks more aggressively)
|
19
|
+
$("#responsive_headline").fitText(0.8); // Turn the compressor down (text shrinks less aggressively)
|
20
|
+
|
21
|
+
This will hopefully give you a level of "control" that might not be pixel perfect, but scales smoothly & nicely.
|
22
|
+
|
23
|
+
### _new:_ minFontSize & maxFontSize
|
24
|
+
FitText now allows you to specify two optional pixel values: `minFontSize` and `maxFontSize`. Great for situations when you want responsive text but also need to preserve hierarchy.
|
25
|
+
|
26
|
+
$("#responsive_headline").fitText(1.2, { minFontSize: '20px', maxFontSize: '40px' })
|
27
|
+
|
28
|
+
## CSS Tips
|
29
|
+
|
30
|
+
* Make sure your headline is `display: block;` or `display: inline-block;` with a specified width, i.e. `width: 100%`.
|
31
|
+
* Be ready to tweak till everything balances out.
|
32
|
+
* FitText now ignores your CSS file's font-size, but be sure to set one as a non-javascript fallback.
|
33
|
+
* Make sure your element is appended to document before setting fitText. e.g. `$('<div>').fitText()` will NOT work
|
34
|
+
|
35
|
+
## Changelog
|
36
|
+
* `v 1.1` - FitText now ignores font-size and has minFontSize & maxFontSize options
|
37
|
+
* `v 1.0.1` - Fix for broken font-size.
|
38
|
+
* `v 1.0` - Initial Release
|
39
|
+
|
40
|
+
## Disclaimers
|
41
|
+
This is the part of the show where we cover our butts.
|
42
|
+
|
43
|
+
### Intended for Fluid Width Designs
|
44
|
+
We built this to satisfy a need for fluid resizing text on responsive designs. Mostly for use on [Trent Walton's blog](http://trentwalton.com), which he's using it all over.
|
45
|
+
|
46
|
+
If you want more exact fitting text, there's a plugin for that! We recommend checking out [BigText](https://github.com/zachleat/BigText) by Zach Leatherman.
|
47
|
+
|
48
|
+
### window.resize() tsk tsk tsk...
|
49
|
+
If you oppose `window.resize()`, it's worth mentioning that @chriscoyier created a fork of [FitText using a debounced resize method](https://github.com/chriscoyier/FitText.js).
|
50
|
+
|
51
|
+
### Download, Fork, Commit.
|
52
|
+
If you think you can make this better, please Download, Fork, & Commit. We'd love your see your ideas.
|
@@ -0,0 +1,60 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8" />
|
5
|
+
<title>FitText</title>
|
6
|
+
|
7
|
+
<style type="text/css">
|
8
|
+
body {
|
9
|
+
background: #233a40;
|
10
|
+
color: #fff;
|
11
|
+
font: 16px/1.8 sans-serif;
|
12
|
+
}
|
13
|
+
.container {
|
14
|
+
width: 84%;
|
15
|
+
margin:0 auto;
|
16
|
+
max-width:1140px;
|
17
|
+
}
|
18
|
+
header {
|
19
|
+
width: 100%;
|
20
|
+
margin:0px auto;
|
21
|
+
}
|
22
|
+
h1 {
|
23
|
+
background: rgba(0,0,0,0.2);
|
24
|
+
text-align: center;
|
25
|
+
color:#fff;
|
26
|
+
font: 95px/1 "Impact";
|
27
|
+
text-transform: uppercase;
|
28
|
+
display: block;
|
29
|
+
text-shadow:#253e45 -1px 1px 0,
|
30
|
+
#253e45 -2px 2px 0,
|
31
|
+
#d45848 -3px 3px 0,
|
32
|
+
#d45848 -4px 4px 0;
|
33
|
+
margin: 5% auto 5%;
|
34
|
+
}
|
35
|
+
</style>
|
36
|
+
|
37
|
+
<!--[if IE]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
38
|
+
</head>
|
39
|
+
|
40
|
+
<body>
|
41
|
+
|
42
|
+
<div class="container">
|
43
|
+
<header>
|
44
|
+
<h1 id="fittext1">Squeeze with FitText</h1>
|
45
|
+
<h1 id="fittext2">Squeeze with FitText</h1>
|
46
|
+
<h1 id="fittext3">Squeeze with FitText</h1>
|
47
|
+
</header>
|
48
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
|
49
|
+
</div>
|
50
|
+
|
51
|
+
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
|
52
|
+
<script src="jquery.fittext.js"></script>
|
53
|
+
<script type="text/javascript">
|
54
|
+
$("#fittext1").fitText();
|
55
|
+
$("#fittext2").fitText(1.2);
|
56
|
+
$("#fittext3").fitText(1.1, { minFontSize: 50, maxFontSize: '75px' });
|
57
|
+
</script>
|
58
|
+
|
59
|
+
</body>
|
60
|
+
</html>
|
@@ -0,0 +1,43 @@
|
|
1
|
+
/*global jQuery */
|
2
|
+
/*!
|
3
|
+
* FitText.js 1.0
|
4
|
+
*
|
5
|
+
* Copyright 2011, Dave Rupert http://daverupert.com
|
6
|
+
* Released under the WTFPL license
|
7
|
+
* http://sam.zoy.org/wtfpl/
|
8
|
+
*
|
9
|
+
* Date: Thu May 05 14:23:00 2011 -0600
|
10
|
+
*/
|
11
|
+
|
12
|
+
(function( $ ){
|
13
|
+
|
14
|
+
$.fn.fitText = function( kompressor, options ) {
|
15
|
+
|
16
|
+
// Setup options
|
17
|
+
var compressor = kompressor || 1,
|
18
|
+
settings = $.extend({
|
19
|
+
'minFontSize' : Number.NEGATIVE_INFINITY,
|
20
|
+
'maxFontSize' : Number.POSITIVE_INFINITY
|
21
|
+
}, options);
|
22
|
+
|
23
|
+
return this.each(function(){
|
24
|
+
|
25
|
+
// Store the object
|
26
|
+
var $this = $(this);
|
27
|
+
|
28
|
+
// Resizer() resizes items based on the object width divided by the compressor * 10
|
29
|
+
var resizer = function () {
|
30
|
+
$this.css('font-size', Math.max(Math.min($this.width() / (compressor*10), parseFloat(settings.maxFontSize)), parseFloat(settings.minFontSize)));
|
31
|
+
};
|
32
|
+
|
33
|
+
// Call once to set.
|
34
|
+
resizer();
|
35
|
+
|
36
|
+
// Call on resize. Opera debounces their resize by default.
|
37
|
+
$(window).on('resize', resizer);
|
38
|
+
|
39
|
+
});
|
40
|
+
|
41
|
+
};
|
42
|
+
|
43
|
+
})( jQuery );
|
Binary file
|