middleman-more 3.0.0.beta.3 → 3.0.0.rc.1
Sign up to get free protection for your applications and to get access to all the features.
- data/features/asset_hash.feature +28 -25
- data/features/asset_host.feature +7 -0
- data/features/automatic_image_sizes.feature +16 -0
- data/features/clean_build.feature +14 -0
- data/features/coffee-script.feature +1 -1
- data/features/content_for.feature +5 -0
- data/features/directory_index.feature +66 -0
- data/features/extensionless_text_files.feature +28 -0
- data/features/former_padrino_helpers.feature +12 -0
- data/features/frontmatter_page_settings.feature +42 -0
- data/features/helpers_auto_javascript_include_tag.feature +27 -0
- data/features/helpers_auto_stylesheet_link_tag.feature +27 -0
- data/features/helpers_lorem.feature +6 -0
- data/features/helpers_page_classes.feature +17 -0
- data/features/helpers_relative_link_to.feature +68 -0
- data/features/i18n_builder.feature +121 -0
- data/features/i18n_preview.feature +113 -0
- data/features/ignore.feature +62 -0
- data/features/instance_vars.feature +18 -0
- data/features/markdown.feature +1 -7
- data/features/markdown_redcarpet.feature +10 -4
- data/features/minify_css.feature +2 -2
- data/features/nested_layouts.feature +55 -0
- data/features/partials.feature +46 -0
- data/features/sass_partials.feature +0 -33
- data/features/sitemap_traversal.feature +73 -0
- data/features/support/env.rb +3 -0
- data/features/twitter-bootstrap-compile.feature +6 -0
- data/features/wildcard_page_helper.feature +10 -0
- data/fixtures/asset-hash-app/source/apple-touch-icon.png +0 -0
- data/fixtures/asset-hash-app/source/favicon.ico +0 -0
- data/fixtures/asset-hash-app/source/index.html.erb +3 -0
- data/fixtures/asset-host-app/source/asset_host.html.erb +1 -0
- data/fixtures/auto-css-app/config.rb +11 -0
- data/fixtures/auto-css-app/source/auto-css.html.erb +1 -0
- data/fixtures/auto-css-app/source/auto-css/auto-css.html.erb +1 -0
- data/fixtures/auto-css-app/source/auto-css/index.html.erb +1 -0
- data/fixtures/auto-css-app/source/auto-css/sub/auto-css.html.erb +1 -0
- data/fixtures/auto-css-app/source/stylesheets/auto-css.css +3 -0
- data/fixtures/auto-css-app/source/stylesheets/auto-css/auto-css.css +3 -0
- data/fixtures/{sprockets-app2/config.rb → auto-css-app/source/stylesheets/auto-css/index.css} +0 -0
- data/fixtures/auto-css-app/source/stylesheets/auto-css/sub/auto-css.css +3 -0
- data/fixtures/auto-js-app/config.rb +11 -0
- data/fixtures/auto-js-app/source/auto-js.html.erb +1 -0
- data/fixtures/auto-js-app/source/auto-js/auto-js.html.erb +1 -0
- data/fixtures/auto-js-app/source/auto-js/index.html.erb +1 -0
- data/fixtures/auto-js-app/source/auto-js/sub/auto-js.html.erb +1 -0
- data/fixtures/auto-js-app/source/javascripts/auto-js.js +1 -0
- data/fixtures/auto-js-app/source/javascripts/auto-js/auto-js.js +1 -0
- data/fixtures/auto-js-app/source/javascripts/auto-js/index.js +1 -0
- data/fixtures/auto-js-app/source/javascripts/auto-js/sub/auto-js.js +1 -0
- data/fixtures/automatic-image-size-app/config.rb +0 -0
- data/fixtures/automatic-image-size-app/source/auto-image-sizes.html.erb +1 -0
- data/fixtures/automatic-image-size-app/source/images/blank.gif +0 -0
- data/fixtures/clean-dir-app/config.rb +2 -0
- data/fixtures/clean-dir-app/source/about.html +1 -0
- data/fixtures/content-for-app/config.rb +1 -0
- data/fixtures/content-for-app/source/content_for_erb.html.erb +5 -0
- data/fixtures/different-engine-partial/config.rb +0 -0
- data/fixtures/different-engine-partial/source/index.html.erb +1 -0
- data/fixtures/different-engine-partial/source/layouts/layout.erb +7 -0
- data/fixtures/different-engine-partial/source/shared/_footer.str +1 -0
- data/fixtures/different-engine-partial/source/shared/_header.erb +1 -0
- data/fixtures/extensionless-text-files-app/config.rb +1 -0
- data/fixtures/extensionless-text-files-app/source/CNAME +1 -0
- data/fixtures/extensionless-text-files-app/source/LICENSE +1 -0
- data/fixtures/extensionless-text-files-app/source/README +1 -0
- data/fixtures/extensionless-text-files-app/source/index.html +1 -0
- data/fixtures/frontmatter-settings-app/config.rb +4 -0
- data/fixtures/frontmatter-settings-app/source/alternate_layout.html.erb +5 -0
- data/fixtures/frontmatter-settings-app/source/ignored.html.erb +5 -0
- data/fixtures/frontmatter-settings-app/source/layouts/alternate.erb +3 -0
- data/fixtures/frontmatter-settings-app/source/no_index.html.erb +5 -0
- data/fixtures/i18n-alt-root-app/locales/en.yml +4 -0
- data/fixtures/i18n-alt-root-app/locales/es.yml +7 -0
- data/fixtures/i18n-alt-root-app/source/lang_data/hello.html.erb +1 -0
- data/fixtures/i18n-alt-root-app/source/lang_data/index.html.erb +1 -0
- data/fixtures/i18n-alt-root-app/source/layout.erb +1 -0
- data/fixtures/i18n-test-app/locales/en.yml +4 -0
- data/fixtures/i18n-test-app/locales/es.yml +7 -0
- data/fixtures/i18n-test-app/source/layout.erb +1 -0
- data/fixtures/i18n-test-app/source/localizable/hello.html.erb +1 -0
- data/fixtures/i18n-test-app/source/localizable/index.html.erb +1 -0
- data/fixtures/ignore-app/source/about.html.erb +1 -0
- data/fixtures/ignore-app/source/images/icon/messages.png +0 -0
- data/fixtures/ignore-app/source/images/pic.png +0 -0
- data/fixtures/ignore-app/source/images/portrait.jpg +0 -0
- data/fixtures/ignore-app/source/index.html.erb +0 -0
- data/fixtures/ignore-app/source/plain.html +1 -0
- data/fixtures/ignore-app/source/reports/another.html +0 -0
- data/fixtures/ignore-app/source/reports/index.html +0 -0
- data/fixtures/indexable-app/config.rb +4 -0
- data/fixtures/indexable-app/source/.htaccess +1 -0
- data/fixtures/indexable-app/source/a_folder/needs_index.html +1 -0
- data/fixtures/indexable-app/source/leave_me_alone.html +1 -0
- data/fixtures/indexable-app/source/needs_index.html +1 -0
- data/fixtures/indexable-app/source/regular/index.html +1 -0
- data/fixtures/indexable-app/source/wildcard_leave_me_alone.html +1 -0
- data/fixtures/instance-vars-app/config.rb +0 -0
- data/fixtures/instance-vars-app/source/_vartial.erb +5 -0
- data/fixtures/instance-vars-app/source/instance-var-set.html.erb +2 -0
- data/fixtures/instance-vars-app/source/layout.erb +3 -0
- data/fixtures/instance-vars-app/source/no-instance-var.html.erb +1 -0
- data/fixtures/lorem-app/config.rb +1 -0
- data/fixtures/lorem-app/source/lorem.html.erb +13 -0
- data/fixtures/markdown-app/source/hard_wrap.html.markdown +2 -0
- data/fixtures/markdown-app/source/with_toc_data.html.markdown +3 -0
- data/fixtures/nested-layout-app/config.rb +1 -0
- data/fixtures/nested-layout-app/source/another.html.markdown +7 -0
- data/fixtures/nested-layout-app/source/data-one.html.erb +5 -0
- data/fixtures/nested-layout-app/source/data-two.html.erb +5 -0
- data/fixtures/nested-layout-app/source/haml-test.html.markdown +7 -0
- data/fixtures/nested-layout-app/source/index.html.erb +6 -0
- data/fixtures/nested-layout-app/source/layouts/inner.erb +4 -0
- data/fixtures/nested-layout-app/source/layouts/inner_haml.haml +3 -0
- data/fixtures/nested-layout-app/source/layouts/inner_slim.slim +3 -0
- data/fixtures/nested-layout-app/source/layouts/master.erb +3 -0
- data/fixtures/nested-layout-app/source/layouts/master_haml.haml +3 -0
- data/fixtures/nested-layout-app/source/layouts/master_slim.slim +3 -0
- data/fixtures/nested-layout-app/source/layouts/outer.erb +4 -0
- data/fixtures/nested-layout-app/source/layouts/outer_haml.haml +3 -0
- data/fixtures/nested-layout-app/source/layouts/outer_slim.slim +3 -0
- data/fixtures/nested-layout-app/source/slim-test.html.markdown +7 -0
- data/fixtures/padrino-helpers-app/config.rb +0 -0
- data/fixtures/padrino-helpers-app/source/former_padrino_test.html.erb +5 -0
- data/fixtures/page-classes-app/config.rb +4 -0
- data/fixtures/page-classes-app/source/page-classes.html.erb +1 -0
- data/fixtures/page-classes-app/source/sub1/page-classes.html.erb +1 -0
- data/fixtures/page-classes-app/source/sub1/sub2/page-classes.html.erb +1 -0
- data/fixtures/partials-app/config.rb +0 -0
- data/fixtures/partials-app/source/_locals.erb +1 -0
- data/fixtures/partials-app/source/_main.erb +1 -0
- data/fixtures/partials-app/source/_main.str +1 -0
- data/fixtures/partials-app/source/index.html.erb +3 -0
- data/fixtures/partials-app/source/locals.html.erb +1 -0
- data/fixtures/partials-app/source/second.html.str +3 -0
- data/fixtures/partials-app/source/shared/_footer.erb +1 -0
- data/fixtures/partials-app/source/shared/_header.erb +1 -0
- data/fixtures/partials-app/source/shared/snippet.erb +1 -0
- data/fixtures/partials-app/source/sub/_local.erb +1 -0
- data/fixtures/partials-app/source/sub/index.html.erb +3 -0
- data/fixtures/partials-app/source/using_snippet.html.erb +1 -0
- data/fixtures/traversal-app/config.rb +7 -0
- data/fixtures/traversal-app/source/directory-indexed.html.erb +0 -0
- data/fixtures/traversal-app/source/directory-indexed/sibling.html.erb +3 -0
- data/fixtures/traversal-app/source/directory-indexed/sibling2.html.erb +3 -0
- data/fixtures/traversal-app/source/directory-indexed/sub2/index.html.erb +0 -0
- data/fixtures/traversal-app/source/directory-indexed/sub3/deep.html.erb +0 -0
- data/fixtures/traversal-app/source/index.html.erb +0 -0
- data/fixtures/traversal-app/source/layout.erb +21 -0
- data/fixtures/traversal-app/source/proxied.html.erb +0 -0
- data/fixtures/traversal-app/source/root.html.erb +0 -0
- data/fixtures/traversal-app/source/sub/index.html.erb +0 -0
- data/fixtures/traversal-app/source/sub/sibling.html.erb +0 -0
- data/fixtures/traversal-app/source/sub/sibling2.html.erb +0 -0
- data/fixtures/traversal-app/source/sub/sub2/index.html.erb +0 -0
- data/fixtures/traversal-app/source/sub/sub3/deep.html.erb +0 -0
- data/fixtures/twitter-bootstrap-app/config.rb +0 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/.gitignore +36 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/.travis.yml +3 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/LICENSE +176 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/README.md +137 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/img/glyphicons-halflings-white.png +0 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/img/glyphicons-halflings.png +0 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/.jshintrc +10 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/README.md +112 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/bootstrap-alert.js +90 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/bootstrap-button.js +96 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/bootstrap-carousel.js +169 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/bootstrap-collapse.js +157 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/bootstrap-dropdown.js +100 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/bootstrap-modal.js +218 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/bootstrap-popover.js +98 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/bootstrap-scrollspy.js +151 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/bootstrap-tab.js +135 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/bootstrap-tooltip.js +275 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/bootstrap-transition.js +61 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/bootstrap-typeahead.js +285 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/tests/index.html +54 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/tests/phantom.js +63 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/tests/server.js +14 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/tests/unit/bootstrap-alert.js +56 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/tests/unit/bootstrap-button.js +77 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/tests/unit/bootstrap-carousel.js +28 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/tests/unit/bootstrap-collapse.js +54 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/tests/unit/bootstrap-dropdown.js +87 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/tests/unit/bootstrap-modal.js +114 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/tests/unit/bootstrap-phantom.js +21 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/tests/unit/bootstrap-popover.js +93 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/tests/unit/bootstrap-scrollspy.js +31 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/tests/unit/bootstrap-tab.js +61 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/tests/unit/bootstrap-tooltip.js +155 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/tests/unit/bootstrap-transition.js +13 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/tests/unit/bootstrap-typeahead.js +148 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/tests/vendor/jquery.js +9252 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/tests/vendor/qunit.css +232 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/js/tests/vendor/qunit.js +1510 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_accordion.less +33 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_alerts.less +58 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_breadcrumbs.less +24 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_button-groups.less +191 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_buttons.less +191 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_carousel.less +121 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_close.less +29 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_code.less +57 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_component-animations.less +20 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_dropdowns.less +143 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_forms.less +583 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_grid.less +5 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_hero-unit.less +22 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_labels-badges.less +55 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_layouts.less +17 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_mixins.less +646 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_modals.less +90 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_navbar.less +358 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_navs.less +363 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_pager.less +36 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_pagination.less +56 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_popovers.less +49 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_progress-bars.less +117 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_reset.less +131 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_responsive-1200px-min.less +26 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_responsive-767px-max.less +149 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_responsive-768px-979px.less +17 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_responsive-navbar.less +153 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_responsive-utilities.less +41 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_scaffolding.less +29 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_sprites.less +191 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_tables.less +176 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_thumbnails.less +47 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_tooltip.less +35 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_type.less +232 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_utilities.less +23 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_variables.less +206 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/_wells.less +27 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/bootstrap.less +62 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/responsive.less +48 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/tests/css-tests.css +52 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/tests/css-tests.html +917 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/tests/forms.html +179 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/less/tests/navbar.html +108 -0
- data/fixtures/twitter-bootstrap-app/source/twitter-bootstrap-ebc6935/package.json +25 -0
- data/fixtures/wildcard-directory-index-app/config.rb +2 -0
- data/fixtures/wildcard-directory-index-app/source/admin/index.html.erb +1 -0
- data/fixtures/wildcard-directory-index-app/source/admin/page.html.erb +1 -0
- data/fixtures/wildcard-directory-index-app/source/index.html.erb +1 -0
- data/fixtures/wildcard-directory-index-app/source/layouts/admin.erb +2 -0
- data/fixtures/wildcard-directory-index-app/source/layouts/layout.erb +2 -0
- data/lib/middleman-more.rb +117 -2
- data/lib/middleman-more/core_extensions/assets.rb +43 -0
- data/lib/middleman-more/core_extensions/compass.rb +26 -0
- data/lib/middleman-more/core_extensions/default_helpers.rb +171 -0
- data/lib/middleman-more/core_extensions/i18n.rb +123 -0
- data/lib/middleman-more/extensions/asset_hash.rb +75 -81
- data/lib/middleman-more/extensions/asset_host.rb +46 -0
- data/lib/middleman-more/extensions/automatic_image_sizes.rb +56 -0
- data/lib/middleman-more/extensions/automatic_image_sizes/fastimage.rb +287 -0
- data/lib/middleman-more/extensions/directory_indexes.rb +56 -0
- data/lib/middleman-more/extensions/lorem.rb +197 -0
- data/lib/middleman_extension.rb +1 -0
- data/middleman-more.gemspec +4 -4
- metadata +674 -158
- data/features/sprockets.feature +0 -52
- data/features/sprockets_gems.feature +0 -15
- data/fixtures/sprockets-app/config.rb +0 -2
- data/fixtures/sprockets-app/source/library/css/bootstrap_include.css.scss +0 -1
- data/fixtures/sprockets-app/source/library/css/plain.css +0 -3
- data/fixtures/sprockets-app/source/library/css/sprockets_base1.css.scss +0 -1
- data/fixtures/sprockets-app/source/library/css/sprockets_base2.css.scss +0 -1
- data/fixtures/sprockets-app/source/library/css/sprockets_sub.css.scss +0 -1
- data/fixtures/sprockets-app/source/library/js/jquery_include.js +0 -1
- data/fixtures/sprockets-app/source/library/js/plain.js +0 -3
- data/fixtures/sprockets-app/source/library/js/sprockets_base.js +0 -5
- data/fixtures/sprockets-app/source/library/js/sprockets_sub.js +0 -3
- data/fixtures/sprockets-app/source/library/js/vendored_include.js +0 -1
- data/fixtures/sprockets-app/vendor/assets/javascripts/vendored_js.js +0 -1
- data/fixtures/sprockets-app2/data/test.yml +0 -4
- data/fixtures/sprockets-app2/data/test2.json +0 -4
- data/fixtures/sprockets-app2/source/javascripts/multiple_engines.js.coffee.erb +0 -1
- data/fixtures/sprockets-app2/source/javascripts/sprockets_base.js +0 -5
- data/fixtures/sprockets-app2/source/javascripts/sprockets_sub.js +0 -3
- data/fixtures/sprockets-app2/source/stylesheets/sprockets_base1.css.scss +0 -1
- data/fixtures/sprockets-app2/source/stylesheets/sprockets_base2.css.scss +0 -1
- data/fixtures/sprockets-app2/source/stylesheets/sprockets_sub.css.scss +0 -1
- data/lib/middleman-more/core_extensions/sprockets.rb +0 -101
- data/lib/middleman-more/register_extensions.rb +0 -82
- data/lib/middleman-more/renderers/coffee_script.rb +0 -22
- data/lib/middleman-more/renderers/haml.rb +0 -30
- data/lib/middleman-more/renderers/liquid.rb +0 -40
- data/lib/middleman-more/renderers/markdown.rb +0 -58
- data/lib/middleman-more/renderers/sass.rb +0 -88
- data/lib/middleman-more/renderers/slim.rb +0 -35
@@ -0,0 +1,47 @@
|
|
1
|
+
// THUMBNAILS
|
2
|
+
// ----------
|
3
|
+
// Note: `.thumbnails` and `.thumbnails > li` are overriden in responsive files
|
4
|
+
|
5
|
+
// Make wrapper ul behave like the grid
|
6
|
+
.thumbnails {
|
7
|
+
margin-left: -@gridGutterWidth;
|
8
|
+
list-style: none;
|
9
|
+
.clearfix();
|
10
|
+
}
|
11
|
+
// Fluid rows have no left margin
|
12
|
+
.row-fluid .thumbnails {
|
13
|
+
margin-left: 0;
|
14
|
+
}
|
15
|
+
|
16
|
+
// Float li to make thumbnails appear in a row
|
17
|
+
.thumbnails > li {
|
18
|
+
float: left; // Explicity set the float since we don't require .span* classes
|
19
|
+
margin-bottom: @baseLineHeight;
|
20
|
+
margin-left: @gridGutterWidth;
|
21
|
+
}
|
22
|
+
|
23
|
+
// The actual thumbnail (can be `a` or `div`)
|
24
|
+
.thumbnail {
|
25
|
+
display: block;
|
26
|
+
padding: 4px;
|
27
|
+
line-height: 1;
|
28
|
+
border: 1px solid #ddd;
|
29
|
+
.border-radius(4px);
|
30
|
+
.box-shadow(0 1px 1px rgba(0,0,0,.075));
|
31
|
+
}
|
32
|
+
// Add a hover state for linked versions only
|
33
|
+
a.thumbnail:hover {
|
34
|
+
border-color: @linkColor;
|
35
|
+
.box-shadow(0 1px 4px rgba(0,105,214,.25));
|
36
|
+
}
|
37
|
+
|
38
|
+
// Images and captions
|
39
|
+
.thumbnail > img {
|
40
|
+
display: block;
|
41
|
+
max-width: 100%;
|
42
|
+
margin-left: auto;
|
43
|
+
margin-right: auto;
|
44
|
+
}
|
45
|
+
.thumbnail .caption {
|
46
|
+
padding: 9px;
|
47
|
+
}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
// TOOLTIP
|
2
|
+
// ------=
|
3
|
+
|
4
|
+
.tooltip {
|
5
|
+
position: absolute;
|
6
|
+
z-index: @zindexTooltip;
|
7
|
+
display: block;
|
8
|
+
visibility: visible;
|
9
|
+
padding: 5px;
|
10
|
+
font-size: 11px;
|
11
|
+
.opacity(0);
|
12
|
+
&.in { .opacity(80); }
|
13
|
+
&.top { margin-top: -2px; }
|
14
|
+
&.right { margin-left: 2px; }
|
15
|
+
&.bottom { margin-top: 2px; }
|
16
|
+
&.left { margin-left: -2px; }
|
17
|
+
&.top .tooltip-arrow { #popoverArrow > .top(); }
|
18
|
+
&.left .tooltip-arrow { #popoverArrow > .left(); }
|
19
|
+
&.bottom .tooltip-arrow { #popoverArrow > .bottom(); }
|
20
|
+
&.right .tooltip-arrow { #popoverArrow > .right(); }
|
21
|
+
}
|
22
|
+
.tooltip-inner {
|
23
|
+
max-width: 200px;
|
24
|
+
padding: 3px 8px;
|
25
|
+
color: @white;
|
26
|
+
text-align: center;
|
27
|
+
text-decoration: none;
|
28
|
+
background-color: @black;
|
29
|
+
.border-radius(4px);
|
30
|
+
}
|
31
|
+
.tooltip-arrow {
|
32
|
+
position: absolute;
|
33
|
+
width: 0;
|
34
|
+
height: 0;
|
35
|
+
}
|
@@ -0,0 +1,232 @@
|
|
1
|
+
// Typography.less
|
2
|
+
// Headings, body text, lists, code, and more for a versatile and durable typography system
|
3
|
+
// ----------------------------------------------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// BODY TEXT
|
7
|
+
// ---------
|
8
|
+
|
9
|
+
p {
|
10
|
+
margin: 0 0 @baseLineHeight / 2;
|
11
|
+
small {
|
12
|
+
font-size: @baseFontSize - 2;
|
13
|
+
color: @grayLight;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
.lead {
|
17
|
+
margin-bottom: @baseLineHeight;
|
18
|
+
font-size: 20px;
|
19
|
+
font-weight: 200;
|
20
|
+
line-height: @baseLineHeight * 1.5;
|
21
|
+
}
|
22
|
+
|
23
|
+
// HEADINGS
|
24
|
+
// --------
|
25
|
+
|
26
|
+
h1, h2, h3, h4, h5, h6 {
|
27
|
+
margin: 0;
|
28
|
+
font-family: @headingsFontFamily;
|
29
|
+
font-weight: @headingsFontWeight;
|
30
|
+
color: @headingsColor;
|
31
|
+
text-rendering: optimizelegibility; // Fix the character spacing for headings
|
32
|
+
small {
|
33
|
+
font-weight: normal;
|
34
|
+
color: @grayLight;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
h1 {
|
38
|
+
font-size: 30px;
|
39
|
+
line-height: @baseLineHeight * 2;
|
40
|
+
small {
|
41
|
+
font-size: 18px;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
h2 {
|
45
|
+
font-size: 24px;
|
46
|
+
line-height: @baseLineHeight * 2;
|
47
|
+
small {
|
48
|
+
font-size: 18px;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
h3 {
|
52
|
+
font-size: 18px;
|
53
|
+
line-height: @baseLineHeight * 1.5;
|
54
|
+
small {
|
55
|
+
font-size: 14px;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
h4, h5, h6 {
|
59
|
+
line-height: @baseLineHeight;
|
60
|
+
}
|
61
|
+
h4 {
|
62
|
+
font-size: 14px;
|
63
|
+
small {
|
64
|
+
font-size: 12px;
|
65
|
+
}
|
66
|
+
}
|
67
|
+
h5 {
|
68
|
+
font-size: 12px;
|
69
|
+
}
|
70
|
+
h6 {
|
71
|
+
font-size: 11px;
|
72
|
+
color: @grayLight;
|
73
|
+
text-transform: uppercase;
|
74
|
+
}
|
75
|
+
|
76
|
+
// Page header
|
77
|
+
.page-header {
|
78
|
+
padding-bottom: @baseLineHeight - 1;
|
79
|
+
margin: @baseLineHeight 0;
|
80
|
+
border-bottom: 1px solid @grayLighter;
|
81
|
+
}
|
82
|
+
.page-header h1 {
|
83
|
+
line-height: 1;
|
84
|
+
}
|
85
|
+
|
86
|
+
|
87
|
+
|
88
|
+
// LISTS
|
89
|
+
// -----
|
90
|
+
|
91
|
+
// Unordered and Ordered lists
|
92
|
+
ul, ol {
|
93
|
+
padding: 0;
|
94
|
+
margin: 0 0 @baseLineHeight / 2 25px;
|
95
|
+
}
|
96
|
+
ul ul,
|
97
|
+
ul ol,
|
98
|
+
ol ol,
|
99
|
+
ol ul {
|
100
|
+
margin-bottom: 0;
|
101
|
+
}
|
102
|
+
ul {
|
103
|
+
list-style: disc;
|
104
|
+
}
|
105
|
+
ol {
|
106
|
+
list-style: decimal;
|
107
|
+
}
|
108
|
+
li {
|
109
|
+
line-height: @baseLineHeight;
|
110
|
+
}
|
111
|
+
ul.unstyled,
|
112
|
+
ol.unstyled {
|
113
|
+
margin-left: 0;
|
114
|
+
list-style: none;
|
115
|
+
}
|
116
|
+
|
117
|
+
// Description Lists
|
118
|
+
dl {
|
119
|
+
margin-bottom: @baseLineHeight;
|
120
|
+
}
|
121
|
+
dt,
|
122
|
+
dd {
|
123
|
+
line-height: @baseLineHeight;
|
124
|
+
}
|
125
|
+
dt {
|
126
|
+
font-weight: bold;
|
127
|
+
line-height: @baseLineHeight - 1; // fix jank Helvetica Neue font bug
|
128
|
+
}
|
129
|
+
dd {
|
130
|
+
margin-left: @baseLineHeight / 2;
|
131
|
+
}
|
132
|
+
// Horizontal layout (like forms)
|
133
|
+
.dl-horizontal {
|
134
|
+
dt {
|
135
|
+
float: left;
|
136
|
+
width: 120px;
|
137
|
+
clear: left;
|
138
|
+
text-align: right;
|
139
|
+
.text-overflow();
|
140
|
+
}
|
141
|
+
dd {
|
142
|
+
margin-left: 130px;
|
143
|
+
}
|
144
|
+
}
|
145
|
+
|
146
|
+
// MISC
|
147
|
+
// ----
|
148
|
+
|
149
|
+
// Horizontal rules
|
150
|
+
hr {
|
151
|
+
margin: @baseLineHeight 0;
|
152
|
+
border: 0;
|
153
|
+
border-top: 1px solid @hrBorder;
|
154
|
+
border-bottom: 1px solid @white;
|
155
|
+
}
|
156
|
+
|
157
|
+
// Emphasis
|
158
|
+
strong {
|
159
|
+
font-weight: bold;
|
160
|
+
}
|
161
|
+
em {
|
162
|
+
font-style: italic;
|
163
|
+
}
|
164
|
+
.muted {
|
165
|
+
color: @grayLight;
|
166
|
+
}
|
167
|
+
|
168
|
+
// Abbreviations and acronyms
|
169
|
+
abbr[title] {
|
170
|
+
cursor: help;
|
171
|
+
border-bottom: 1px dotted @grayLight;
|
172
|
+
}
|
173
|
+
abbr.initialism {
|
174
|
+
font-size: 90%;
|
175
|
+
text-transform: uppercase;
|
176
|
+
}
|
177
|
+
|
178
|
+
// Blockquotes
|
179
|
+
blockquote {
|
180
|
+
padding: 0 0 0 15px;
|
181
|
+
margin: 0 0 @baseLineHeight;
|
182
|
+
border-left: 5px solid @grayLighter;
|
183
|
+
p {
|
184
|
+
margin-bottom: 0;
|
185
|
+
#font > .shorthand(16px,300,@baseLineHeight * 1.25);
|
186
|
+
}
|
187
|
+
small {
|
188
|
+
display: block;
|
189
|
+
line-height: @baseLineHeight;
|
190
|
+
color: @grayLight;
|
191
|
+
&:before {
|
192
|
+
content: '\2014 \00A0';
|
193
|
+
}
|
194
|
+
}
|
195
|
+
|
196
|
+
// Float right with text-align: right
|
197
|
+
&.pull-right {
|
198
|
+
float: right;
|
199
|
+
padding-right: 15px;
|
200
|
+
padding-left: 0;
|
201
|
+
border-right: 5px solid @grayLighter;
|
202
|
+
border-left: 0;
|
203
|
+
p,
|
204
|
+
small {
|
205
|
+
text-align: right;
|
206
|
+
}
|
207
|
+
}
|
208
|
+
}
|
209
|
+
|
210
|
+
// Quotes
|
211
|
+
q:before,
|
212
|
+
q:after,
|
213
|
+
blockquote:before,
|
214
|
+
blockquote:after {
|
215
|
+
content: "";
|
216
|
+
}
|
217
|
+
|
218
|
+
// Addresses
|
219
|
+
address {
|
220
|
+
display: block;
|
221
|
+
margin-bottom: @baseLineHeight;
|
222
|
+
font-style: normal;
|
223
|
+
line-height: @baseLineHeight;
|
224
|
+
}
|
225
|
+
|
226
|
+
// Misc
|
227
|
+
small {
|
228
|
+
font-size: 100%;
|
229
|
+
}
|
230
|
+
cite {
|
231
|
+
font-style: normal;
|
232
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
// UTILITY CLASSES
|
2
|
+
// ---------------
|
3
|
+
|
4
|
+
// Quick floats
|
5
|
+
.pull-right {
|
6
|
+
float: right;
|
7
|
+
}
|
8
|
+
.pull-left {
|
9
|
+
float: left;
|
10
|
+
}
|
11
|
+
|
12
|
+
// Toggling content
|
13
|
+
.hide {
|
14
|
+
display: none;
|
15
|
+
}
|
16
|
+
.show {
|
17
|
+
display: block;
|
18
|
+
}
|
19
|
+
|
20
|
+
// Visibility
|
21
|
+
.invisible {
|
22
|
+
visibility: hidden;
|
23
|
+
}
|
@@ -0,0 +1,206 @@
|
|
1
|
+
// Variables.less
|
2
|
+
// Variables to customize the look and feel of Bootstrap
|
3
|
+
// -----------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
|
7
|
+
// GLOBAL VALUES
|
8
|
+
// --------------------------------------------------
|
9
|
+
|
10
|
+
|
11
|
+
// Grays
|
12
|
+
// -------------------------
|
13
|
+
@black: #000;
|
14
|
+
@grayDarker: #222;
|
15
|
+
@grayDark: #333;
|
16
|
+
@gray: #555;
|
17
|
+
@grayLight: #999;
|
18
|
+
@grayLighter: #eee;
|
19
|
+
@white: #fff;
|
20
|
+
|
21
|
+
|
22
|
+
// Accent colors
|
23
|
+
// -------------------------
|
24
|
+
@blue: #049cdb;
|
25
|
+
@blueDark: #0064cd;
|
26
|
+
@green: #46a546;
|
27
|
+
@red: #9d261d;
|
28
|
+
@yellow: #ffc40d;
|
29
|
+
@orange: #f89406;
|
30
|
+
@pink: #c3325f;
|
31
|
+
@purple: #7a43b6;
|
32
|
+
|
33
|
+
|
34
|
+
// Scaffolding
|
35
|
+
// -------------------------
|
36
|
+
@bodyBackground: @white;
|
37
|
+
@textColor: @grayDark;
|
38
|
+
|
39
|
+
|
40
|
+
// Links
|
41
|
+
// -------------------------
|
42
|
+
@linkColor: #08c;
|
43
|
+
@linkColorHover: darken(@linkColor, 15%);
|
44
|
+
|
45
|
+
|
46
|
+
// Typography
|
47
|
+
// -------------------------
|
48
|
+
@sansFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
49
|
+
@serifFontFamily: Georgia, "Times New Roman", Times, serif;
|
50
|
+
@monoFontFamily: Menlo, Monaco, Consolas, "Courier New", monospace;
|
51
|
+
|
52
|
+
@baseFontSize: 13px;
|
53
|
+
@baseFontFamily: @sansFontFamily;
|
54
|
+
@baseLineHeight: 18px;
|
55
|
+
@altFontFamily: @serifFontFamily;
|
56
|
+
|
57
|
+
@headingsFontFamily: inherit; // empty to use BS default, @baseFontFamily
|
58
|
+
@headingsFontWeight: bold; // instead of browser default, bold
|
59
|
+
@headingsColor: inherit; // empty to use BS default, @textColor
|
60
|
+
|
61
|
+
|
62
|
+
// Tables
|
63
|
+
// -------------------------
|
64
|
+
@tableBackground: transparent; // overall background-color
|
65
|
+
@tableBackgroundAccent: #f9f9f9; // for striping
|
66
|
+
@tableBackgroundHover: #f5f5f5; // for hover
|
67
|
+
@tableBorder: #ddd; // table and cell border
|
68
|
+
|
69
|
+
|
70
|
+
// Buttons
|
71
|
+
// -------------------------
|
72
|
+
@btnBackground: @white;
|
73
|
+
@btnBackgroundHighlight: darken(@white, 10%);
|
74
|
+
@btnBorder: #ccc;
|
75
|
+
|
76
|
+
@btnPrimaryBackground: @linkColor;
|
77
|
+
@btnPrimaryBackgroundHighlight: spin(@btnPrimaryBackground, 15%);
|
78
|
+
|
79
|
+
@btnInfoBackground: #5bc0de;
|
80
|
+
@btnInfoBackgroundHighlight: #2f96b4;
|
81
|
+
|
82
|
+
@btnSuccessBackground: #62c462;
|
83
|
+
@btnSuccessBackgroundHighlight: #51a351;
|
84
|
+
|
85
|
+
@btnWarningBackground: lighten(@orange, 15%);
|
86
|
+
@btnWarningBackgroundHighlight: @orange;
|
87
|
+
|
88
|
+
@btnDangerBackground: #ee5f5b;
|
89
|
+
@btnDangerBackgroundHighlight: #bd362f;
|
90
|
+
|
91
|
+
@btnInverseBackground: @gray;
|
92
|
+
@btnInverseBackgroundHighlight: @grayDarker;
|
93
|
+
|
94
|
+
|
95
|
+
// Forms
|
96
|
+
// -------------------------
|
97
|
+
@inputBackground: @white;
|
98
|
+
@inputBorder: #ccc;
|
99
|
+
@inputBorderRadius: 3px;
|
100
|
+
@inputDisabledBackground: @grayLighter;
|
101
|
+
@formActionsBackground: #f5f5f5;
|
102
|
+
|
103
|
+
// Dropdowns
|
104
|
+
// -------------------------
|
105
|
+
@dropdownBackground: @white;
|
106
|
+
@dropdownBorder: rgba(0,0,0,.2);
|
107
|
+
@dropdownLinkColor: @grayDark;
|
108
|
+
@dropdownLinkColorHover: @white;
|
109
|
+
@dropdownLinkBackgroundHover: @linkColor;
|
110
|
+
@dropdownDividerTop: #e5e5e5;
|
111
|
+
@dropdownDividerBottom: @white;
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
// COMPONENT VARIABLES
|
116
|
+
// --------------------------------------------------
|
117
|
+
|
118
|
+
// Z-index master list
|
119
|
+
// -------------------------
|
120
|
+
// Used for a bird's eye view of components dependent on the z-axis
|
121
|
+
// Try to avoid customizing these :)
|
122
|
+
@zindexDropdown: 1000;
|
123
|
+
@zindexPopover: 1010;
|
124
|
+
@zindexTooltip: 1020;
|
125
|
+
@zindexFixedNavbar: 1030;
|
126
|
+
@zindexModalBackdrop: 1040;
|
127
|
+
@zindexModal: 1050;
|
128
|
+
|
129
|
+
|
130
|
+
// Sprite icons path
|
131
|
+
// -------------------------
|
132
|
+
@iconSpritePath: "../img/glyphicons-halflings.png";
|
133
|
+
@iconWhiteSpritePath: "../img/glyphicons-halflings-white.png";
|
134
|
+
|
135
|
+
|
136
|
+
// Input placeholder text color
|
137
|
+
// -------------------------
|
138
|
+
@placeholderText: @grayLight;
|
139
|
+
|
140
|
+
|
141
|
+
// Hr border color
|
142
|
+
// -------------------------
|
143
|
+
@hrBorder: @grayLighter;
|
144
|
+
|
145
|
+
|
146
|
+
// Navbar
|
147
|
+
// -------------------------
|
148
|
+
@navbarHeight: 40px;
|
149
|
+
@navbarBackground: @grayDarker;
|
150
|
+
@navbarBackgroundHighlight: @grayDark;
|
151
|
+
|
152
|
+
@navbarText: @grayLight;
|
153
|
+
@navbarLinkColor: @grayLight;
|
154
|
+
@navbarLinkColorHover: @white;
|
155
|
+
@navbarLinkColorActive: @navbarLinkColorHover;
|
156
|
+
@navbarLinkBackgroundHover: transparent;
|
157
|
+
@navbarLinkBackgroundActive: @navbarBackground;
|
158
|
+
|
159
|
+
@navbarSearchBackground: lighten(@navbarBackground, 25%);
|
160
|
+
@navbarSearchBackgroundFocus: @white;
|
161
|
+
@navbarSearchBorder: darken(@navbarSearchBackground, 30%);
|
162
|
+
@navbarSearchPlaceholderColor: #ccc;
|
163
|
+
@navbarBrandColor: @navbarLinkColor;
|
164
|
+
|
165
|
+
|
166
|
+
// Hero unit
|
167
|
+
// -------------------------
|
168
|
+
@heroUnitBackground: @grayLighter;
|
169
|
+
@heroUnitHeadingColor: inherit;
|
170
|
+
@heroUnitLeadColor: inherit;
|
171
|
+
|
172
|
+
|
173
|
+
// Form states and alerts
|
174
|
+
// -------------------------
|
175
|
+
@warningText: #c09853;
|
176
|
+
@warningBackground: #fcf8e3;
|
177
|
+
@warningBorder: darken(spin(@warningBackground, -10), 3%);
|
178
|
+
|
179
|
+
@errorText: #b94a48;
|
180
|
+
@errorBackground: #f2dede;
|
181
|
+
@errorBorder: darken(spin(@errorBackground, -10), 3%);
|
182
|
+
|
183
|
+
@successText: #468847;
|
184
|
+
@successBackground: #dff0d8;
|
185
|
+
@successBorder: darken(spin(@successBackground, -10), 5%);
|
186
|
+
|
187
|
+
@infoText: #3a87ad;
|
188
|
+
@infoBackground: #d9edf7;
|
189
|
+
@infoBorder: darken(spin(@infoBackground, -10), 7%);
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
// GRID
|
194
|
+
// --------------------------------------------------
|
195
|
+
|
196
|
+
// Default 940px grid
|
197
|
+
// -------------------------
|
198
|
+
@gridColumns: 12;
|
199
|
+
@gridColumnWidth: 60px;
|
200
|
+
@gridGutterWidth: 20px;
|
201
|
+
@gridRowWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));
|
202
|
+
|
203
|
+
// Fluid grid
|
204
|
+
// -------------------------
|
205
|
+
@fluidGridColumnWidth: 6.382978723%;
|
206
|
+
@fluidGridGutterWidth: 2.127659574%;
|