locomotivecms_wagon 1.4.0 → 1.5.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -0
- data/Gemfile +6 -2
- data/README.md +7 -1
- data/bin/wagon +3 -0
- data/generators/blank/Gemfile.tt +1 -3
- data/generators/blank/config/site.yml.tt +3 -3
- data/generators/bootstrap/config/site.yml.tt +3 -3
- data/generators/bootstrap3/Gemfile.tt +1 -3
- data/generators/bootstrap3/app/views/pages/index.liquid +21 -63
- data/generators/bootstrap3/app/views/pages/index.liquid.haml +15 -57
- data/generators/bootstrap3/config/deploy.yml +15 -15
- data/generators/bootstrap3/config/site.yml.tt +2 -2
- data/generators/bootstrap3/icon.png +0 -0
- data/generators/bootstrap3/public/fonts/glyphicons-halflings-regular.eot +0 -0
- data/generators/bootstrap3/public/fonts/glyphicons-halflings-regular.svg +201 -200
- data/generators/bootstrap3/public/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/generators/bootstrap3/public/fonts/glyphicons-halflings-regular.woff +0 -0
- data/generators/{bootstrap2/app/content_types → bootstrap3/public/images}/.empty_directory +0 -0
- data/generators/bootstrap3/public/javascripts/bootstrap/affix.js +137 -0
- data/generators/bootstrap3/public/javascripts/bootstrap/alert.js +88 -0
- data/generators/bootstrap3/public/javascripts/bootstrap/button.js +107 -0
- data/generators/bootstrap3/public/javascripts/bootstrap/carousel.js +205 -0
- data/generators/bootstrap3/public/javascripts/bootstrap/collapse.js +170 -0
- data/generators/bootstrap3/public/javascripts/bootstrap/dropdown.js +147 -0
- data/generators/bootstrap3/public/javascripts/bootstrap/modal.js +243 -0
- data/generators/bootstrap3/public/javascripts/bootstrap/popover.js +110 -0
- data/generators/bootstrap3/public/javascripts/bootstrap/scrollspy.js +153 -0
- data/generators/bootstrap3/public/javascripts/bootstrap/tab.js +125 -0
- data/generators/bootstrap3/public/javascripts/bootstrap/tooltip.js +399 -0
- data/generators/bootstrap3/public/javascripts/bootstrap/transition.js +48 -0
- data/generators/bootstrap3/public/javascripts/bootstrap.min.js +12 -6
- data/generators/bootstrap3/public/stylesheets/application.css +1 -0
- data/generators/bootstrap3/public/stylesheets/application.css.scss +8 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_alerts.scss +67 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_badges.scss +55 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_breadcrumbs.scss +26 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_button-groups.scss +226 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_buttons.scss +159 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_carousel.scss +232 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_close.scss +35 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_code.scss +63 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_component-animations.scss +29 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_dropdowns.scss +213 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_forms.scss +436 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_glyphicons.scss +233 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_grid.scss +84 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_input-groups.scss +162 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_jumbotron.scss +44 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_labels.scss +64 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_list-group.scss +110 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_media.scss +56 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_mixins.scss +947 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_modals.scss +139 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_navbar.scss +620 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_navs.scss +242 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_normalize.scss +423 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_pager.scss +55 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_pagination.scss +88 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_panels.scss +241 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_popovers.scss +133 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_print.scss +101 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_progress-bars.scss +80 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_responsive-utilities.scss +74 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_scaffolding.scss +134 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_tables.scss +233 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_theme.scss +247 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_thumbnails.scss +38 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_tooltip.scss +95 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_type.scss +284 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_utilities.scss +56 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_variables.scss +833 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/_wells.scss +29 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap/bootstrap.css.scss +49 -0
- data/generators/bootstrap3/public/stylesheets/bootstrap.css +2035 -3056
- data/generators/bootstrap3/public/stylesheets/bootstrap.css.scss +49 -0
- data/generators/cloned/Gemfile.tt +1 -3
- data/generators/content_type/app/content_types/%slug%.yml.tt +57 -0
- data/generators/content_type/data/{%name%.yml.tt → %slug%.yml.tt} +2 -2
- data/generators/{bootstrap2 → foundation5}/Gemfile.tt +1 -3
- data/generators/{bootstrap2/data → foundation5/app/content_types}/.empty_directory +0 -0
- data/generators/{foundation → foundation5}/app/views/pages/404.liquid +1 -4
- data/generators/{foundation → foundation5}/app/views/pages/404.liquid.haml +1 -1
- data/generators/foundation5/app/views/pages/index.liquid +196 -0
- data/generators/foundation5/app/views/pages/index.liquid.haml +157 -0
- data/generators/foundation5/config/deploy.yml +15 -0
- data/generators/{bootstrap2 → foundation5}/config/site.yml.tt +3 -4
- data/generators/{bootstrap2 → foundation5}/config/translations.yml +0 -0
- data/generators/{bootstrap2 → foundation5}/config.ru +0 -0
- data/generators/{bootstrap2/public/samples → foundation5/data}/.empty_directory +0 -0
- data/generators/foundation5/favicon.ico +0 -0
- data/generators/foundation5/icon.png +0 -0
- data/generators/{foundation/app/content_types → foundation5/public/fonts}/.empty_directory +0 -0
- data/generators/{foundation/data → foundation5/public/images}/.empty_directory +0 -0
- data/generators/foundation5/public/javascripts/foundation/foundation.abide.js +299 -0
- data/generators/foundation5/public/javascripts/foundation/foundation.accordion.js +59 -0
- data/generators/foundation5/public/javascripts/foundation/foundation.alert.js +43 -0
- data/generators/foundation5/public/javascripts/foundation/foundation.clearing.js +534 -0
- data/generators/foundation5/public/javascripts/foundation/foundation.dropdown.js +311 -0
- data/generators/foundation5/public/javascripts/foundation/foundation.equalizer.js +74 -0
- data/generators/foundation5/public/javascripts/foundation/foundation.interchange.js +331 -0
- data/generators/foundation5/public/javascripts/foundation/foundation.joyride.js +843 -0
- data/generators/foundation5/public/javascripts/foundation/foundation.js +611 -0
- data/generators/foundation5/public/javascripts/foundation/foundation.magellan.js +178 -0
- data/generators/foundation5/public/javascripts/foundation/foundation.offcanvas.js +108 -0
- data/generators/foundation5/public/javascripts/foundation/foundation.orbit.js +610 -0
- data/generators/foundation5/public/javascripts/foundation/foundation.reveal.js +437 -0
- data/generators/foundation5/public/javascripts/foundation/foundation.slider.js +199 -0
- data/generators/foundation5/public/javascripts/foundation/foundation.tab.js +167 -0
- data/generators/foundation5/public/javascripts/foundation/foundation.tooltip.js +298 -0
- data/generators/foundation5/public/javascripts/foundation/foundation.topbar.js +425 -0
- data/generators/foundation5/public/javascripts/foundation.js +4161 -0
- data/generators/foundation5/public/javascripts/foundation.min.js +10 -0
- data/generators/{foundation → foundation5}/public/javascripts/vendor/custom.modernizr.js +0 -0
- data/generators/foundation5/public/javascripts/vendor/custom.modernizr.min.js +1 -0
- data/generators/foundation5/public/javascripts/vendor/fastclick.js +9 -0
- data/generators/foundation5/public/javascripts/vendor/fastclick.min.js +11 -0
- data/generators/foundation5/public/javascripts/vendor/jquery.autocomplete.js +645 -0
- data/generators/foundation5/public/javascripts/vendor/jquery.autocomplete.min.js +1 -0
- data/generators/foundation5/public/javascripts/vendor/jquery.cookie.js +8 -0
- data/generators/foundation5/public/javascripts/vendor/jquery.cookie.min.js +8 -0
- data/generators/foundation5/public/javascripts/vendor/jquery.js +26 -0
- data/generators/foundation5/public/javascripts/vendor/jquery.min.js +27 -0
- data/generators/foundation5/public/javascripts/vendor/modernizr.js +8 -0
- data/generators/foundation5/public/javascripts/vendor/modernizr.min.js +1 -0
- data/generators/foundation5/public/javascripts/vendor/placeholder.js +2 -0
- data/generators/foundation5/public/javascripts/vendor/placeholder.min.js +1 -0
- data/generators/{foundation/public/fonts → foundation5/public/samples}/.empty_directory +0 -0
- data/generators/foundation5/public/stylesheets/application.css +2 -0
- data/generators/foundation5/public/stylesheets/application.css.scss +3 -0
- data/generators/foundation5/public/stylesheets/foundation/_functions.scss +101 -0
- data/generators/foundation5/public/stylesheets/foundation/_settings.scss +1296 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_accordion.scss +53 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_alert-boxes.scss +126 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_block-grid.scss +132 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_breadcrumbs.scss +127 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_button-groups.scss +108 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_buttons.scss +222 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_clearing.scss +247 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_dropdown-buttons.scss +129 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_dropdown.scss +248 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_flex-video.scss +51 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_forms.scss +498 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_global.scss +434 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_grid.scss +260 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_inline-lists.scss +57 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_joyride.scss +220 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_keystrokes.scss +61 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_labels.scss +104 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_magellan.scss +34 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_offcanvas.scss +356 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_orbit.scss +423 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_pagination.scss +150 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_panels.scss +90 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_pricing-tables.scss +150 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_progress-bars.scss +79 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_range-slider.scss +148 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_reveal-new.scss +0 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_reveal.scss +216 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_side-nav.scss +115 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_split-buttons.scss +191 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_sub-nav.scss +125 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_switch.scss +294 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_tables.scss +129 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_tabs.scss +109 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_thumbs.scss +68 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_tooltips.scss +140 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_top-bar.scss +659 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_type.scss +513 -0
- data/generators/foundation5/public/stylesheets/foundation/components/_visibility.scss +408 -0
- data/generators/foundation5/public/stylesheets/foundation.css +5398 -0
- data/generators/foundation5/public/stylesheets/foundation.css.scss +45 -0
- data/generators/foundation5/public/stylesheets/normalize.css +425 -0
- data/generators/foundation5/public/stylesheets/normalize.css.scss +425 -0
- data/generators/{foundation → line_case}/Gemfile.tt +1 -3
- data/generators/line_case/app/content_types/categories.yml +56 -0
- data/generators/line_case/app/content_types/emails.yml +35 -0
- data/generators/line_case/app/content_types/projects.yml +58 -0
- data/generators/{bootstrap2 → line_case}/app/views/pages/404.liquid.haml +3 -2
- data/generators/line_case/app/views/pages/email-registered.liquid.haml +13 -0
- data/generators/line_case/app/views/pages/index.liquid.haml +110 -0
- data/generators/line_case/app/views/pages/projects/content_type_template.liquid.haml +32 -0
- data/generators/line_case/app/views/snippets/newsletter_form.liquid.haml +14 -0
- data/generators/line_case/app/views/snippets/projects.liquid.haml +17 -0
- data/generators/line_case/app/views/snippets/social_links.liquid.haml +19 -0
- data/generators/line_case/config/deploy.yml +15 -0
- data/generators/{foundation → line_case}/config/site.yml.tt +3 -3
- data/generators/{foundation → line_case}/config/translations.yml +0 -0
- data/generators/{foundation → line_case}/config.ru +0 -0
- data/generators/line_case/data/categories.yml +8 -0
- data/generators/line_case/data/emails.yml +2 -0
- data/generators/line_case/data/projects.yml +39 -0
- data/generators/line_case/icon.png +0 -0
- data/generators/line_case/public/images/banner-header.png +0 -0
- data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.abide.js +0 -0
- data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.alerts.js +0 -0
- data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.clearing.js +0 -0
- data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.cookie.js +0 -0
- data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.dropdown.js +0 -0
- data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.forms.js +0 -0
- data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.interchange.js +0 -0
- data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.joyride.js +0 -0
- data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.js +0 -0
- data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.magellan.js +0 -0
- data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.orbit.js +0 -0
- data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.placeholder.js +0 -0
- data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.reveal.js +0 -0
- data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.section.js +0 -0
- data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.tooltips.js +0 -0
- data/generators/{foundation → line_case}/public/javascripts/foundation/foundation.topbar.js +0 -0
- data/generators/{foundation → line_case}/public/javascripts/foundation.min.js +0 -0
- data/generators/line_case/public/javascripts/vendor/custom.modernizr.js +4 -0
- data/generators/{foundation → line_case}/public/javascripts/vendor/jquery.js +0 -0
- data/generators/{foundation → line_case}/public/javascripts/vendor/zepto.js +0 -0
- data/generators/line_case/public/samples/projects/sample.jpeg +0 -0
- data/generators/line_case/public/samples/projects/sample2.jpeg +0 -0
- data/generators/line_case/public/samples/projects/sample3.jpeg +0 -0
- data/generators/line_case/public/samples/projects/sample4.jpeg +0 -0
- data/generators/line_case/public/samples/projects/sample5.jpeg +0 -0
- data/generators/line_case/public/samples/projects/sample6.jpeg +0 -0
- data/generators/line_case/public/samples/projects/sample7.jpeg +0 -0
- data/generators/line_case/public/samples/projects/sample8.jpeg +0 -0
- data/generators/line_case/public/stylesheets/_variables.css.sass +20 -0
- data/generators/line_case/public/stylesheets/foundation/_variables.scss +1290 -0
- data/generators/line_case/public/stylesheets/foundation/components/_alert-boxes.scss +107 -0
- data/generators/line_case/public/stylesheets/foundation/components/_block-grid.scss +71 -0
- data/generators/line_case/public/stylesheets/foundation/components/_breadcrumbs.scss +124 -0
- data/generators/line_case/public/stylesheets/foundation/components/_button-groups.scss +89 -0
- data/generators/line_case/public/stylesheets/foundation/components/_buttons.scss +230 -0
- data/generators/line_case/public/stylesheets/foundation/components/_clearing.scss +227 -0
- data/generators/line_case/public/stylesheets/foundation/components/_custom-forms.scss +278 -0
- data/generators/line_case/public/stylesheets/foundation/components/_dropdown-buttons.scss +115 -0
- data/generators/line_case/public/stylesheets/foundation/components/_dropdown.scss +151 -0
- data/generators/line_case/public/stylesheets/foundation/components/_flex-video.scss +46 -0
- data/generators/line_case/public/stylesheets/foundation/components/_forms.scss +411 -0
- data/generators/line_case/public/stylesheets/foundation/components/_global.scss +366 -0
- data/generators/line_case/public/stylesheets/foundation/components/_grid-5.scss +214 -0
- data/generators/line_case/public/stylesheets/foundation/components/_grid.scss +188 -0
- data/generators/line_case/public/stylesheets/foundation/components/_inline-lists.scss +53 -0
- data/generators/line_case/public/stylesheets/foundation/components/_joyride.scss +217 -0
- data/generators/line_case/public/stylesheets/foundation/components/_keystrokes.scss +57 -0
- data/generators/line_case/public/stylesheets/foundation/components/_labels.scss +85 -0
- data/generators/line_case/public/stylesheets/foundation/components/_magellan.scss +23 -0
- data/generators/line_case/public/stylesheets/foundation/components/_orbit.scss +340 -0
- data/generators/line_case/public/stylesheets/foundation/components/_pagination.scss +140 -0
- data/generators/line_case/public/stylesheets/foundation/components/_panels.scss +83 -0
- data/generators/line_case/public/stylesheets/foundation/components/_pricing-tables.scss +131 -0
- data/generators/line_case/public/stylesheets/foundation/components/_progress-bars.scss +71 -0
- data/generators/line_case/public/stylesheets/foundation/components/_reveal.scss +136 -0
- data/generators/line_case/public/stylesheets/foundation/components/_section.scss +391 -0
- data/generators/line_case/public/stylesheets/foundation/components/_side-nav.scss +69 -0
- data/generators/line_case/public/stylesheets/foundation/components/_split-buttons.scss +167 -0
- data/generators/line_case/public/stylesheets/foundation/components/_sub-nav.scss +84 -0
- data/generators/line_case/public/stylesheets/foundation/components/_switch.scss +266 -0
- data/generators/line_case/public/stylesheets/foundation/components/_tables.scss +84 -0
- data/generators/line_case/public/stylesheets/foundation/components/_thumbs.scss +53 -0
- data/generators/line_case/public/stylesheets/foundation/components/_tooltips.scss +117 -0
- data/generators/line_case/public/stylesheets/foundation/components/_top-bar.scss +576 -0
- data/generators/line_case/public/stylesheets/foundation/components/_type.scss +435 -0
- data/generators/line_case/public/stylesheets/foundation/components/_visibility.scss +322 -0
- data/generators/line_case/public/stylesheets/foundation.css.scss +43 -0
- data/generators/{foundation → line_case}/public/stylesheets/foundation.min.css +0 -0
- data/generators/{foundation/public/stylesheets/normalize.css → line_case/public/stylesheets/normalize.css.scss} +5 -5
- data/generators/line_case/public/stylesheets/pages.css.sass +163 -0
- data/generators/page/template.liquid.haml.tt +8 -5
- data/generators/page/template.liquid.tt +6 -2
- data/lib/locomotive/wagon/cli.rb +139 -43
- data/lib/locomotive/wagon/generators/content_type.rb +26 -10
- data/lib/locomotive/wagon/generators/page.rb +41 -25
- data/lib/locomotive/wagon/generators/site/base.rb +53 -0
- data/lib/locomotive/wagon/generators/site/blank.rb +9 -2
- data/lib/locomotive/wagon/generators/site/bootstrap2.rb +8 -2
- data/lib/locomotive/wagon/generators/site/bootstrap3.rb +20 -2
- data/lib/locomotive/wagon/generators/site/cloned.rb +4 -0
- data/lib/locomotive/wagon/generators/site/{foundation.rb → foundation4.rb} +10 -4
- data/lib/locomotive/wagon/generators/site/foundation5.rb +48 -0
- data/lib/locomotive/wagon/generators/site/line_case.rb +20 -0
- data/lib/locomotive/wagon/generators/site/unzip.rb +10 -2
- data/lib/locomotive/wagon/generators/site.rb +48 -2
- data/lib/locomotive/wagon/generators/snippet.rb +2 -1
- data/lib/locomotive/wagon/liquid/drops/content_types.rb +9 -3
- data/lib/locomotive/wagon/liquid/drops/page.rb +9 -1
- data/lib/locomotive/wagon/liquid/scopeable.rb +1 -1
- data/lib/locomotive/wagon/liquid/tags/fetch_page.rb +41 -0
- data/lib/locomotive/wagon/liquid/tags/model_form.rb +67 -0
- data/lib/locomotive/wagon/liquid/tags/path_helper.rb +2 -2
- data/lib/locomotive/wagon/liquid/tags/with_scope.rb +1 -1
- data/lib/locomotive/wagon/listen.rb +18 -10
- data/lib/locomotive/wagon/logger.rb +4 -0
- data/lib/locomotive/wagon/misc/core_ext.rb +8 -0
- data/lib/locomotive/wagon/misc/deployment_connection.rb +120 -0
- data/lib/locomotive/wagon/misc/hosting_api.rb +115 -0
- data/lib/locomotive/wagon/misc/httparty.rb +2 -0
- data/lib/locomotive/wagon/misc/livereload.rb +43 -0
- data/lib/locomotive/wagon/misc/mounter.rb +1 -1
- data/lib/locomotive/wagon/misc/tcp_port.rb +42 -0
- data/lib/locomotive/wagon/misc/thor.rb +15 -0
- data/lib/locomotive/wagon/server/entry_submission.rb +69 -38
- data/lib/locomotive/wagon/server/middleware.rb +4 -2
- data/lib/locomotive/wagon/server/page.rb +2 -2
- data/lib/locomotive/wagon/server.rb +11 -7
- data/lib/locomotive/wagon/version.rb +1 -1
- data/lib/locomotive/wagon.rb +141 -30
- data/locomotivecms_wagon.gemspec +7 -6
- data/spec/fixtures/default/app/content_types/bands.yml +3 -1
- data/spec/fixtures/default/app/views/pages/all.liquid.haml +3 -0
- data/spec/fixtures/default/app/views/pages/events.liquid.haml +21 -0
- data/spec/fixtures/default/app/views/pages/filtered.liquid.haml +11 -1
- data/spec/fixtures/default/app/views/pages/index.liquid.haml +1 -1
- data/spec/fixtures/default/data/bands.yml +3 -0
- data/spec/integration/server/basic_spec.rb +1 -0
- data/spec/integration/server/contact_form_spec.rb +1 -1
- data/spec/integration/server/liquid_spec.rb +8 -1
- data/spec/integration/server/new_contact_form_spec.rb +67 -0
- data/spec/integration/server/with_scope_spec.rb +10 -0
- data/spec/spec_helper.rb +3 -0
- metadata +339 -144
- data/generators/bootstrap2/app/views/pages/404.liquid +0 -13
- data/generators/bootstrap2/app/views/pages/index.liquid +0 -98
- data/generators/bootstrap2/app/views/pages/index.liquid.haml +0 -80
- data/generators/bootstrap2/app/views/snippets/footer.liquid +0 -3
- data/generators/bootstrap2/app/views/snippets/footer.liquid.haml +0 -2
- data/generators/bootstrap2/config/deploy.yml +0 -15
- data/generators/bootstrap2/public/fonts/FontAwesome.otf +0 -0
- data/generators/bootstrap2/public/fonts/fontawesome-webfont.eot +0 -0
- data/generators/bootstrap2/public/fonts/fontawesome-webfont.svg +0 -399
- data/generators/bootstrap2/public/fonts/fontawesome-webfont.ttf +0 -0
- data/generators/bootstrap2/public/fonts/fontawesome-webfont.woff +0 -0
- data/generators/bootstrap2/public/javascripts/bootstrap.js +0 -2280
- data/generators/bootstrap2/public/javascripts/bootstrap.min.js +0 -6
- data/generators/bootstrap2/public/stylesheets/application.css.scss +0 -39
- data/generators/bootstrap2/public/stylesheets/bootstrap-responsive.css +0 -1109
- data/generators/bootstrap2/public/stylesheets/bootstrap-responsive.min.css +0 -9
- data/generators/bootstrap2/public/stylesheets/bootstrap.css +0 -5568
- data/generators/bootstrap2/public/stylesheets/bootstrap.min.css +0 -9
- data/generators/bootstrap2/public/stylesheets/fonts/awesome.css.scss +0 -3
- data/generators/bootstrap2/public/stylesheets/fonts/font-awesome-ie7.css +0 -1203
- data/generators/bootstrap2/public/stylesheets/fonts/font-awesome-ie7.min.css +0 -384
- data/generators/bootstrap2/public/stylesheets/fonts/font-awesome.css +0 -1470
- data/generators/bootstrap2/public/stylesheets/fonts/font-awesome.min.css +0 -403
- data/generators/bootstrap3/public/javascripts/bootstrap.js +0 -1999
- data/generators/bootstrap3/public/stylesheets/bootstrap-theme.css +0 -384
- data/generators/bootstrap3/public/stylesheets/bootstrap-theme.min.css +0 -1
- data/generators/bootstrap3/public/stylesheets/bootstrap.min.css +0 -9
- data/generators/content_type/app/content_types/%name%.yml.tt +0 -58
- data/generators/foundation/app/views/pages/index.liquid +0 -150
- data/generators/foundation/app/views/pages/index.liquid.haml +0 -125
- data/generators/foundation/app/views/snippets/footer.liquid +0 -16
- data/generators/foundation/app/views/snippets/footer.liquid.haml +0 -22
- data/generators/foundation/config/deploy.yml +0 -15
- data/generators/foundation/public/samples/.empty_directory +0 -1
- data/generators/foundation/public/stylesheets/foundation.css +0 -4727
@@ -0,0 +1,436 @@
|
|
1
|
+
//
|
2
|
+
// Forms
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Normalize non-controls
|
7
|
+
//
|
8
|
+
// Restyle and baseline non-control form elements.
|
9
|
+
|
10
|
+
fieldset {
|
11
|
+
padding: 0;
|
12
|
+
margin: 0;
|
13
|
+
border: 0;
|
14
|
+
// Chrome and Firefox set a `min-width: -webkit-min-content;` on fieldsets,
|
15
|
+
// so we reset that to ensure it behaves more like a standard block element.
|
16
|
+
// See https://github.com/twbs/bootstrap/issues/12359.
|
17
|
+
min-width: 0;
|
18
|
+
}
|
19
|
+
|
20
|
+
legend {
|
21
|
+
display: block;
|
22
|
+
width: 100%;
|
23
|
+
padding: 0;
|
24
|
+
margin-bottom: $line-height-computed;
|
25
|
+
font-size: ($font-size-base * 1.5);
|
26
|
+
line-height: inherit;
|
27
|
+
color: $legend-color;
|
28
|
+
border: 0;
|
29
|
+
border-bottom: 1px solid $legend-border-color;
|
30
|
+
}
|
31
|
+
|
32
|
+
label {
|
33
|
+
display: inline-block;
|
34
|
+
margin-bottom: 5px;
|
35
|
+
font-weight: bold;
|
36
|
+
}
|
37
|
+
|
38
|
+
|
39
|
+
// Normalize form controls
|
40
|
+
//
|
41
|
+
// While most of our form styles require extra classes, some basic normalization
|
42
|
+
// is required to ensure optimum display with or without those classes to better
|
43
|
+
// address browser inconsistencies.
|
44
|
+
|
45
|
+
// Override content-box in Normalize (* isn't specific enough)
|
46
|
+
input[type="search"] {
|
47
|
+
@include box-sizing(border-box);
|
48
|
+
}
|
49
|
+
|
50
|
+
// Position radios and checkboxes better
|
51
|
+
input[type="radio"],
|
52
|
+
input[type="checkbox"] {
|
53
|
+
margin: 4px 0 0;
|
54
|
+
margin-top: 1px \9; /* IE8-9 */
|
55
|
+
line-height: normal;
|
56
|
+
}
|
57
|
+
|
58
|
+
// Set the height of file controls to match text inputs
|
59
|
+
input[type="file"] {
|
60
|
+
display: block;
|
61
|
+
}
|
62
|
+
|
63
|
+
// Make range inputs behave like textual form controls
|
64
|
+
input[type="range"] {
|
65
|
+
display: block;
|
66
|
+
width: 100%;
|
67
|
+
}
|
68
|
+
|
69
|
+
// Make multiple select elements height not fixed
|
70
|
+
select[multiple],
|
71
|
+
select[size] {
|
72
|
+
height: auto;
|
73
|
+
}
|
74
|
+
|
75
|
+
// Focus for file, radio, and checkbox
|
76
|
+
input[type="file"]:focus,
|
77
|
+
input[type="radio"]:focus,
|
78
|
+
input[type="checkbox"]:focus {
|
79
|
+
@include tab-focus();
|
80
|
+
}
|
81
|
+
|
82
|
+
// Adjust output element
|
83
|
+
output {
|
84
|
+
display: block;
|
85
|
+
padding-top: ($padding-base-vertical + 1);
|
86
|
+
font-size: $font-size-base;
|
87
|
+
line-height: $line-height-base;
|
88
|
+
color: $input-color;
|
89
|
+
}
|
90
|
+
|
91
|
+
|
92
|
+
// Common form controls
|
93
|
+
//
|
94
|
+
// Shared size and type resets for form controls. Apply `.form-control` to any
|
95
|
+
// of the following form controls:
|
96
|
+
//
|
97
|
+
// select
|
98
|
+
// textarea
|
99
|
+
// input[type="text"]
|
100
|
+
// input[type="password"]
|
101
|
+
// input[type="datetime"]
|
102
|
+
// input[type="datetime-local"]
|
103
|
+
// input[type="date"]
|
104
|
+
// input[type="month"]
|
105
|
+
// input[type="time"]
|
106
|
+
// input[type="week"]
|
107
|
+
// input[type="number"]
|
108
|
+
// input[type="email"]
|
109
|
+
// input[type="url"]
|
110
|
+
// input[type="search"]
|
111
|
+
// input[type="tel"]
|
112
|
+
// input[type="color"]
|
113
|
+
|
114
|
+
.form-control {
|
115
|
+
display: block;
|
116
|
+
width: 100%;
|
117
|
+
height: $input-height-base; // Make inputs at least the height of their button counterpart (base line-height + padding + border)
|
118
|
+
padding: $padding-base-vertical $padding-base-horizontal;
|
119
|
+
font-size: $font-size-base;
|
120
|
+
line-height: $line-height-base;
|
121
|
+
color: $input-color;
|
122
|
+
background-color: $input-bg;
|
123
|
+
background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
|
124
|
+
border: 1px solid $input-border;
|
125
|
+
border-radius: $input-border-radius;
|
126
|
+
@include box-shadow(inset 0 1px 1px rgba(0,0,0,.075));
|
127
|
+
@include transition(border-color ease-in-out .15s, box-shadow ease-in-out .15s);
|
128
|
+
|
129
|
+
// Customize the `:focus` state to imitate native WebKit styles.
|
130
|
+
@include form-control-focus();
|
131
|
+
|
132
|
+
// Placeholder
|
133
|
+
@include placeholder();
|
134
|
+
|
135
|
+
// Disabled and read-only inputs
|
136
|
+
//
|
137
|
+
// HTML5 says that controls under a fieldset > legend:first-child won't be
|
138
|
+
// disabled if the fieldset is disabled. Due to implementation difficulty, we
|
139
|
+
// don't honor that edge case; we style them as disabled anyway.
|
140
|
+
&[disabled],
|
141
|
+
&[readonly],
|
142
|
+
fieldset[disabled] & {
|
143
|
+
cursor: not-allowed;
|
144
|
+
background-color: $input-bg-disabled;
|
145
|
+
opacity: 1; // iOS fix for unreadable disabled content
|
146
|
+
}
|
147
|
+
|
148
|
+
// [converter] extracted textarea& to textarea.form-control
|
149
|
+
}
|
150
|
+
|
151
|
+
// Reset height for `textarea`s
|
152
|
+
textarea.form-control {
|
153
|
+
height: auto;
|
154
|
+
}
|
155
|
+
|
156
|
+
|
157
|
+
// Search inputs in iOS
|
158
|
+
//
|
159
|
+
// This overrides the extra rounded corners on search inputs in iOS so that our
|
160
|
+
// `.form-control` class can properly style them. Note that this cannot simply
|
161
|
+
// be added to `.form-control` as it's not specific enough. For details, see
|
162
|
+
// https://github.com/twbs/bootstrap/issues/11586.
|
163
|
+
|
164
|
+
input[type="search"] {
|
165
|
+
-webkit-appearance: none;
|
166
|
+
}
|
167
|
+
|
168
|
+
|
169
|
+
// Special styles for iOS date input
|
170
|
+
//
|
171
|
+
// In Mobile Safari, date inputs require a pixel line-height that matches the
|
172
|
+
// given height of the input.
|
173
|
+
|
174
|
+
input[type="date"] {
|
175
|
+
line-height: $input-height-base;
|
176
|
+
}
|
177
|
+
|
178
|
+
|
179
|
+
// Form groups
|
180
|
+
//
|
181
|
+
// Designed to help with the organization and spacing of vertical forms. For
|
182
|
+
// horizontal forms, use the predefined grid classes.
|
183
|
+
|
184
|
+
.form-group {
|
185
|
+
margin-bottom: 15px;
|
186
|
+
}
|
187
|
+
|
188
|
+
|
189
|
+
// Checkboxes and radios
|
190
|
+
//
|
191
|
+
// Indent the labels to position radios/checkboxes as hanging controls.
|
192
|
+
|
193
|
+
.radio,
|
194
|
+
.checkbox {
|
195
|
+
display: block;
|
196
|
+
min-height: $line-height-computed; // clear the floating input if there is no label text
|
197
|
+
margin-top: 10px;
|
198
|
+
margin-bottom: 10px;
|
199
|
+
padding-left: 20px;
|
200
|
+
label {
|
201
|
+
display: inline;
|
202
|
+
font-weight: normal;
|
203
|
+
cursor: pointer;
|
204
|
+
}
|
205
|
+
}
|
206
|
+
.radio input[type="radio"],
|
207
|
+
.radio-inline input[type="radio"],
|
208
|
+
.checkbox input[type="checkbox"],
|
209
|
+
.checkbox-inline input[type="checkbox"] {
|
210
|
+
float: left;
|
211
|
+
margin-left: -20px;
|
212
|
+
}
|
213
|
+
.radio + .radio,
|
214
|
+
.checkbox + .checkbox {
|
215
|
+
margin-top: -5px; // Move up sibling radios or checkboxes for tighter spacing
|
216
|
+
}
|
217
|
+
|
218
|
+
// Radios and checkboxes on same line
|
219
|
+
.radio-inline,
|
220
|
+
.checkbox-inline {
|
221
|
+
display: inline-block;
|
222
|
+
padding-left: 20px;
|
223
|
+
margin-bottom: 0;
|
224
|
+
vertical-align: middle;
|
225
|
+
font-weight: normal;
|
226
|
+
cursor: pointer;
|
227
|
+
}
|
228
|
+
.radio-inline + .radio-inline,
|
229
|
+
.checkbox-inline + .checkbox-inline {
|
230
|
+
margin-top: 0;
|
231
|
+
margin-left: 10px; // space out consecutive inline controls
|
232
|
+
}
|
233
|
+
|
234
|
+
// Apply same disabled cursor tweak as for inputs
|
235
|
+
//
|
236
|
+
// Note: Neither radios nor checkboxes can be readonly.
|
237
|
+
input[type="radio"],
|
238
|
+
input[type="checkbox"],
|
239
|
+
.radio,
|
240
|
+
.radio-inline,
|
241
|
+
.checkbox,
|
242
|
+
.checkbox-inline {
|
243
|
+
&[disabled],
|
244
|
+
fieldset[disabled] & {
|
245
|
+
cursor: not-allowed;
|
246
|
+
}
|
247
|
+
}
|
248
|
+
|
249
|
+
|
250
|
+
// Form control sizing
|
251
|
+
//
|
252
|
+
// Build on `.form-control` with modifier classes to decrease or increase the
|
253
|
+
// height and font-size of form controls.
|
254
|
+
|
255
|
+
@include input-size('.input-sm', $input-height-small, $padding-small-vertical, $padding-small-horizontal, $font-size-small, $line-height-small, $border-radius-small);
|
256
|
+
|
257
|
+
@include input-size('.input-lg', $input-height-large, $padding-large-vertical, $padding-large-horizontal, $font-size-large, $line-height-large, $border-radius-large);
|
258
|
+
|
259
|
+
|
260
|
+
// Form control feedback states
|
261
|
+
//
|
262
|
+
// Apply contextual and semantic states to individual form controls.
|
263
|
+
|
264
|
+
.has-feedback {
|
265
|
+
// Enable absolute positioning
|
266
|
+
position: relative;
|
267
|
+
|
268
|
+
// Ensure icons don't overlap text
|
269
|
+
.form-control {
|
270
|
+
padding-right: ($input-height-base * 1.25);
|
271
|
+
}
|
272
|
+
|
273
|
+
// Feedback icon (requires .glyphicon classes)
|
274
|
+
.form-control-feedback {
|
275
|
+
position: absolute;
|
276
|
+
top: ($line-height-computed + 5); // Height of the `label` and its margin
|
277
|
+
right: 0;
|
278
|
+
display: block;
|
279
|
+
width: $input-height-base;
|
280
|
+
height: $input-height-base;
|
281
|
+
line-height: $input-height-base;
|
282
|
+
text-align: center;
|
283
|
+
}
|
284
|
+
}
|
285
|
+
|
286
|
+
// Feedback states
|
287
|
+
.has-success {
|
288
|
+
@include form-control-validation($state-success-text, $state-success-text, $state-success-bg);
|
289
|
+
}
|
290
|
+
.has-warning {
|
291
|
+
@include form-control-validation($state-warning-text, $state-warning-text, $state-warning-bg);
|
292
|
+
}
|
293
|
+
.has-error {
|
294
|
+
@include form-control-validation($state-danger-text, $state-danger-text, $state-danger-bg);
|
295
|
+
}
|
296
|
+
|
297
|
+
|
298
|
+
// Static form control text
|
299
|
+
//
|
300
|
+
// Apply class to a `p` element to make any string of text align with labels in
|
301
|
+
// a horizontal form layout.
|
302
|
+
|
303
|
+
.form-control-static {
|
304
|
+
margin-bottom: 0; // Remove default margin from `p`
|
305
|
+
}
|
306
|
+
|
307
|
+
|
308
|
+
// Help text
|
309
|
+
//
|
310
|
+
// Apply to any element you wish to create light text for placement immediately
|
311
|
+
// below a form control. Use for general help, formatting, or instructional text.
|
312
|
+
|
313
|
+
.help-block {
|
314
|
+
display: block; // account for any element using help-block
|
315
|
+
margin-top: 5px;
|
316
|
+
margin-bottom: 10px;
|
317
|
+
color: lighten($text-color, 25%); // lighten the text some for contrast
|
318
|
+
}
|
319
|
+
|
320
|
+
|
321
|
+
|
322
|
+
// Inline forms
|
323
|
+
//
|
324
|
+
// Make forms appear inline(-block) by adding the `.form-inline` class. Inline
|
325
|
+
// forms begin stacked on extra small (mobile) devices and then go inline when
|
326
|
+
// viewports reach <768px.
|
327
|
+
//
|
328
|
+
// Requires wrapping inputs and labels with `.form-group` for proper display of
|
329
|
+
// default HTML form controls and our custom form controls (e.g., input groups).
|
330
|
+
//
|
331
|
+
// Heads up! This is mixin-ed into `.navbar-form` in navbars.less.
|
332
|
+
|
333
|
+
.form-inline {
|
334
|
+
|
335
|
+
// Kick in the inline
|
336
|
+
@media (min-width: $screen-sm-min) {
|
337
|
+
// Inline-block all the things for "inline"
|
338
|
+
.form-group {
|
339
|
+
display: inline-block;
|
340
|
+
margin-bottom: 0;
|
341
|
+
vertical-align: middle;
|
342
|
+
}
|
343
|
+
|
344
|
+
// In navbar-form, allow folks to *not* use `.form-group`
|
345
|
+
.form-control {
|
346
|
+
display: inline-block;
|
347
|
+
width: auto; // Prevent labels from stacking above inputs in `.form-group`
|
348
|
+
vertical-align: middle;
|
349
|
+
}
|
350
|
+
// Input groups need that 100% width though
|
351
|
+
.input-group > .form-control {
|
352
|
+
width: 100%;
|
353
|
+
}
|
354
|
+
|
355
|
+
.control-label {
|
356
|
+
margin-bottom: 0;
|
357
|
+
vertical-align: middle;
|
358
|
+
}
|
359
|
+
|
360
|
+
// Remove default margin on radios/checkboxes that were used for stacking, and
|
361
|
+
// then undo the floating of radios and checkboxes to match (which also avoids
|
362
|
+
// a bug in WebKit: https://github.com/twbs/bootstrap/issues/1969).
|
363
|
+
.radio,
|
364
|
+
.checkbox {
|
365
|
+
display: inline-block;
|
366
|
+
margin-top: 0;
|
367
|
+
margin-bottom: 0;
|
368
|
+
padding-left: 0;
|
369
|
+
vertical-align: middle;
|
370
|
+
}
|
371
|
+
.radio input[type="radio"],
|
372
|
+
.checkbox input[type="checkbox"] {
|
373
|
+
float: none;
|
374
|
+
margin-left: 0;
|
375
|
+
}
|
376
|
+
|
377
|
+
// Validation states
|
378
|
+
//
|
379
|
+
// Reposition the icon because it's now within a grid column and columns have
|
380
|
+
// `position: relative;` on them. Also accounts for the grid gutter padding.
|
381
|
+
.has-feedback .form-control-feedback {
|
382
|
+
top: 0;
|
383
|
+
}
|
384
|
+
}
|
385
|
+
}
|
386
|
+
|
387
|
+
|
388
|
+
// Horizontal forms
|
389
|
+
//
|
390
|
+
// Horizontal forms are built on grid classes and allow you to create forms with
|
391
|
+
// labels on the left and inputs on the right.
|
392
|
+
|
393
|
+
.form-horizontal {
|
394
|
+
|
395
|
+
// Consistent vertical alignment of labels, radios, and checkboxes
|
396
|
+
.control-label,
|
397
|
+
.radio,
|
398
|
+
.checkbox,
|
399
|
+
.radio-inline,
|
400
|
+
.checkbox-inline {
|
401
|
+
margin-top: 0;
|
402
|
+
margin-bottom: 0;
|
403
|
+
padding-top: ($padding-base-vertical + 1); // Default padding plus a border
|
404
|
+
}
|
405
|
+
// Account for padding we're adding to ensure the alignment and of help text
|
406
|
+
// and other content below items
|
407
|
+
.radio,
|
408
|
+
.checkbox {
|
409
|
+
min-height: ($line-height-computed + ($padding-base-vertical + 1));
|
410
|
+
}
|
411
|
+
|
412
|
+
// Make form groups behave like rows
|
413
|
+
.form-group {
|
414
|
+
@include make-row();
|
415
|
+
}
|
416
|
+
|
417
|
+
.form-control-static {
|
418
|
+
padding-top: ($padding-base-vertical + 1);
|
419
|
+
}
|
420
|
+
|
421
|
+
// Only right align form labels here when the columns stop stacking
|
422
|
+
@media (min-width: $screen-sm-min) {
|
423
|
+
.control-label {
|
424
|
+
text-align: right;
|
425
|
+
}
|
426
|
+
}
|
427
|
+
|
428
|
+
// Validation states
|
429
|
+
//
|
430
|
+
// Reposition the icon because it's now within a grid column and columns have
|
431
|
+
// `position: relative;` on them. Also accounts for the grid gutter padding.
|
432
|
+
.has-feedback .form-control-feedback {
|
433
|
+
top: 0;
|
434
|
+
right: ($grid-gutter-width / 2);
|
435
|
+
}
|
436
|
+
}
|
@@ -0,0 +1,233 @@
|
|
1
|
+
//
|
2
|
+
// Glyphicons for Bootstrap
|
3
|
+
//
|
4
|
+
// Since icons are fonts, they can be placed anywhere text is placed and are
|
5
|
+
// thus automatically sized to match the surrounding child. To use, create an
|
6
|
+
// inline element with the appropriate classes, like so:
|
7
|
+
//
|
8
|
+
// <a href="#"><span class="glyphicon glyphicon-star"></span> Star</a>
|
9
|
+
|
10
|
+
// Import the fonts
|
11
|
+
@font-face {
|
12
|
+
font-family: 'Glyphicons Halflings';
|
13
|
+
src: url(if($bootstrap-sass-asset-helper, twbs-font-path('#{$icon-font-path}#{$icon-font-name}.eot'), '#{$icon-font-path}#{$icon-font-name}.eot'));
|
14
|
+
src: url(if($bootstrap-sass-asset-helper, twbs-font-path('#{$icon-font-path}#{$icon-font-name}.eot?#iefix'), '#{$icon-font-path}#{$icon-font-name}.eot?#iefix')) format('embedded-opentype'),
|
15
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path('#{$icon-font-path}#{$icon-font-name}.woff'), '#{$icon-font-path}#{$icon-font-name}.woff')) format('woff'),
|
16
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path('#{$icon-font-path}#{$icon-font-name}.ttf'), '#{$icon-font-path}#{$icon-font-name}.ttf')) format('truetype'),
|
17
|
+
url(if($bootstrap-sass-asset-helper, twbs-font-path('#{$icon-font-path}#{$icon-font-name}.svg##{$icon-font-svg-id}'), '#{$icon-font-path}#{$icon-font-name}.svg##{$icon-font-svg-id}')) format('svg');
|
18
|
+
}
|
19
|
+
|
20
|
+
// Catchall baseclass
|
21
|
+
.glyphicon {
|
22
|
+
position: relative;
|
23
|
+
top: 1px;
|
24
|
+
display: inline-block;
|
25
|
+
font-family: 'Glyphicons Halflings';
|
26
|
+
font-style: normal;
|
27
|
+
font-weight: normal;
|
28
|
+
line-height: 1;
|
29
|
+
-webkit-font-smoothing: antialiased;
|
30
|
+
-moz-osx-font-smoothing: grayscale;
|
31
|
+
}
|
32
|
+
|
33
|
+
// Individual icons
|
34
|
+
.glyphicon-asterisk { &:before { content: "\2a"; } }
|
35
|
+
.glyphicon-plus { &:before { content: "\2b"; } }
|
36
|
+
.glyphicon-euro { &:before { content: "\20ac"; } }
|
37
|
+
.glyphicon-minus { &:before { content: "\2212"; } }
|
38
|
+
.glyphicon-cloud { &:before { content: "\2601"; } }
|
39
|
+
.glyphicon-envelope { &:before { content: "\2709"; } }
|
40
|
+
.glyphicon-pencil { &:before { content: "\270f"; } }
|
41
|
+
.glyphicon-glass { &:before { content: "\e001"; } }
|
42
|
+
.glyphicon-music { &:before { content: "\e002"; } }
|
43
|
+
.glyphicon-search { &:before { content: "\e003"; } }
|
44
|
+
.glyphicon-heart { &:before { content: "\e005"; } }
|
45
|
+
.glyphicon-star { &:before { content: "\e006"; } }
|
46
|
+
.glyphicon-star-empty { &:before { content: "\e007"; } }
|
47
|
+
.glyphicon-user { &:before { content: "\e008"; } }
|
48
|
+
.glyphicon-film { &:before { content: "\e009"; } }
|
49
|
+
.glyphicon-th-large { &:before { content: "\e010"; } }
|
50
|
+
.glyphicon-th { &:before { content: "\e011"; } }
|
51
|
+
.glyphicon-th-list { &:before { content: "\e012"; } }
|
52
|
+
.glyphicon-ok { &:before { content: "\e013"; } }
|
53
|
+
.glyphicon-remove { &:before { content: "\e014"; } }
|
54
|
+
.glyphicon-zoom-in { &:before { content: "\e015"; } }
|
55
|
+
.glyphicon-zoom-out { &:before { content: "\e016"; } }
|
56
|
+
.glyphicon-off { &:before { content: "\e017"; } }
|
57
|
+
.glyphicon-signal { &:before { content: "\e018"; } }
|
58
|
+
.glyphicon-cog { &:before { content: "\e019"; } }
|
59
|
+
.glyphicon-trash { &:before { content: "\e020"; } }
|
60
|
+
.glyphicon-home { &:before { content: "\e021"; } }
|
61
|
+
.glyphicon-file { &:before { content: "\e022"; } }
|
62
|
+
.glyphicon-time { &:before { content: "\e023"; } }
|
63
|
+
.glyphicon-road { &:before { content: "\e024"; } }
|
64
|
+
.glyphicon-download-alt { &:before { content: "\e025"; } }
|
65
|
+
.glyphicon-download { &:before { content: "\e026"; } }
|
66
|
+
.glyphicon-upload { &:before { content: "\e027"; } }
|
67
|
+
.glyphicon-inbox { &:before { content: "\e028"; } }
|
68
|
+
.glyphicon-play-circle { &:before { content: "\e029"; } }
|
69
|
+
.glyphicon-repeat { &:before { content: "\e030"; } }
|
70
|
+
.glyphicon-refresh { &:before { content: "\e031"; } }
|
71
|
+
.glyphicon-list-alt { &:before { content: "\e032"; } }
|
72
|
+
.glyphicon-lock { &:before { content: "\e033"; } }
|
73
|
+
.glyphicon-flag { &:before { content: "\e034"; } }
|
74
|
+
.glyphicon-headphones { &:before { content: "\e035"; } }
|
75
|
+
.glyphicon-volume-off { &:before { content: "\e036"; } }
|
76
|
+
.glyphicon-volume-down { &:before { content: "\e037"; } }
|
77
|
+
.glyphicon-volume-up { &:before { content: "\e038"; } }
|
78
|
+
.glyphicon-qrcode { &:before { content: "\e039"; } }
|
79
|
+
.glyphicon-barcode { &:before { content: "\e040"; } }
|
80
|
+
.glyphicon-tag { &:before { content: "\e041"; } }
|
81
|
+
.glyphicon-tags { &:before { content: "\e042"; } }
|
82
|
+
.glyphicon-book { &:before { content: "\e043"; } }
|
83
|
+
.glyphicon-bookmark { &:before { content: "\e044"; } }
|
84
|
+
.glyphicon-print { &:before { content: "\e045"; } }
|
85
|
+
.glyphicon-camera { &:before { content: "\e046"; } }
|
86
|
+
.glyphicon-font { &:before { content: "\e047"; } }
|
87
|
+
.glyphicon-bold { &:before { content: "\e048"; } }
|
88
|
+
.glyphicon-italic { &:before { content: "\e049"; } }
|
89
|
+
.glyphicon-text-height { &:before { content: "\e050"; } }
|
90
|
+
.glyphicon-text-width { &:before { content: "\e051"; } }
|
91
|
+
.glyphicon-align-left { &:before { content: "\e052"; } }
|
92
|
+
.glyphicon-align-center { &:before { content: "\e053"; } }
|
93
|
+
.glyphicon-align-right { &:before { content: "\e054"; } }
|
94
|
+
.glyphicon-align-justify { &:before { content: "\e055"; } }
|
95
|
+
.glyphicon-list { &:before { content: "\e056"; } }
|
96
|
+
.glyphicon-indent-left { &:before { content: "\e057"; } }
|
97
|
+
.glyphicon-indent-right { &:before { content: "\e058"; } }
|
98
|
+
.glyphicon-facetime-video { &:before { content: "\e059"; } }
|
99
|
+
.glyphicon-picture { &:before { content: "\e060"; } }
|
100
|
+
.glyphicon-map-marker { &:before { content: "\e062"; } }
|
101
|
+
.glyphicon-adjust { &:before { content: "\e063"; } }
|
102
|
+
.glyphicon-tint { &:before { content: "\e064"; } }
|
103
|
+
.glyphicon-edit { &:before { content: "\e065"; } }
|
104
|
+
.glyphicon-share { &:before { content: "\e066"; } }
|
105
|
+
.glyphicon-check { &:before { content: "\e067"; } }
|
106
|
+
.glyphicon-move { &:before { content: "\e068"; } }
|
107
|
+
.glyphicon-step-backward { &:before { content: "\e069"; } }
|
108
|
+
.glyphicon-fast-backward { &:before { content: "\e070"; } }
|
109
|
+
.glyphicon-backward { &:before { content: "\e071"; } }
|
110
|
+
.glyphicon-play { &:before { content: "\e072"; } }
|
111
|
+
.glyphicon-pause { &:before { content: "\e073"; } }
|
112
|
+
.glyphicon-stop { &:before { content: "\e074"; } }
|
113
|
+
.glyphicon-forward { &:before { content: "\e075"; } }
|
114
|
+
.glyphicon-fast-forward { &:before { content: "\e076"; } }
|
115
|
+
.glyphicon-step-forward { &:before { content: "\e077"; } }
|
116
|
+
.glyphicon-eject { &:before { content: "\e078"; } }
|
117
|
+
.glyphicon-chevron-left { &:before { content: "\e079"; } }
|
118
|
+
.glyphicon-chevron-right { &:before { content: "\e080"; } }
|
119
|
+
.glyphicon-plus-sign { &:before { content: "\e081"; } }
|
120
|
+
.glyphicon-minus-sign { &:before { content: "\e082"; } }
|
121
|
+
.glyphicon-remove-sign { &:before { content: "\e083"; } }
|
122
|
+
.glyphicon-ok-sign { &:before { content: "\e084"; } }
|
123
|
+
.glyphicon-question-sign { &:before { content: "\e085"; } }
|
124
|
+
.glyphicon-info-sign { &:before { content: "\e086"; } }
|
125
|
+
.glyphicon-screenshot { &:before { content: "\e087"; } }
|
126
|
+
.glyphicon-remove-circle { &:before { content: "\e088"; } }
|
127
|
+
.glyphicon-ok-circle { &:before { content: "\e089"; } }
|
128
|
+
.glyphicon-ban-circle { &:before { content: "\e090"; } }
|
129
|
+
.glyphicon-arrow-left { &:before { content: "\e091"; } }
|
130
|
+
.glyphicon-arrow-right { &:before { content: "\e092"; } }
|
131
|
+
.glyphicon-arrow-up { &:before { content: "\e093"; } }
|
132
|
+
.glyphicon-arrow-down { &:before { content: "\e094"; } }
|
133
|
+
.glyphicon-share-alt { &:before { content: "\e095"; } }
|
134
|
+
.glyphicon-resize-full { &:before { content: "\e096"; } }
|
135
|
+
.glyphicon-resize-small { &:before { content: "\e097"; } }
|
136
|
+
.glyphicon-exclamation-sign { &:before { content: "\e101"; } }
|
137
|
+
.glyphicon-gift { &:before { content: "\e102"; } }
|
138
|
+
.glyphicon-leaf { &:before { content: "\e103"; } }
|
139
|
+
.glyphicon-fire { &:before { content: "\e104"; } }
|
140
|
+
.glyphicon-eye-open { &:before { content: "\e105"; } }
|
141
|
+
.glyphicon-eye-close { &:before { content: "\e106"; } }
|
142
|
+
.glyphicon-warning-sign { &:before { content: "\e107"; } }
|
143
|
+
.glyphicon-plane { &:before { content: "\e108"; } }
|
144
|
+
.glyphicon-calendar { &:before { content: "\e109"; } }
|
145
|
+
.glyphicon-random { &:before { content: "\e110"; } }
|
146
|
+
.glyphicon-comment { &:before { content: "\e111"; } }
|
147
|
+
.glyphicon-magnet { &:before { content: "\e112"; } }
|
148
|
+
.glyphicon-chevron-up { &:before { content: "\e113"; } }
|
149
|
+
.glyphicon-chevron-down { &:before { content: "\e114"; } }
|
150
|
+
.glyphicon-retweet { &:before { content: "\e115"; } }
|
151
|
+
.glyphicon-shopping-cart { &:before { content: "\e116"; } }
|
152
|
+
.glyphicon-folder-close { &:before { content: "\e117"; } }
|
153
|
+
.glyphicon-folder-open { &:before { content: "\e118"; } }
|
154
|
+
.glyphicon-resize-vertical { &:before { content: "\e119"; } }
|
155
|
+
.glyphicon-resize-horizontal { &:before { content: "\e120"; } }
|
156
|
+
.glyphicon-hdd { &:before { content: "\e121"; } }
|
157
|
+
.glyphicon-bullhorn { &:before { content: "\e122"; } }
|
158
|
+
.glyphicon-bell { &:before { content: "\e123"; } }
|
159
|
+
.glyphicon-certificate { &:before { content: "\e124"; } }
|
160
|
+
.glyphicon-thumbs-up { &:before { content: "\e125"; } }
|
161
|
+
.glyphicon-thumbs-down { &:before { content: "\e126"; } }
|
162
|
+
.glyphicon-hand-right { &:before { content: "\e127"; } }
|
163
|
+
.glyphicon-hand-left { &:before { content: "\e128"; } }
|
164
|
+
.glyphicon-hand-up { &:before { content: "\e129"; } }
|
165
|
+
.glyphicon-hand-down { &:before { content: "\e130"; } }
|
166
|
+
.glyphicon-circle-arrow-right { &:before { content: "\e131"; } }
|
167
|
+
.glyphicon-circle-arrow-left { &:before { content: "\e132"; } }
|
168
|
+
.glyphicon-circle-arrow-up { &:before { content: "\e133"; } }
|
169
|
+
.glyphicon-circle-arrow-down { &:before { content: "\e134"; } }
|
170
|
+
.glyphicon-globe { &:before { content: "\e135"; } }
|
171
|
+
.glyphicon-wrench { &:before { content: "\e136"; } }
|
172
|
+
.glyphicon-tasks { &:before { content: "\e137"; } }
|
173
|
+
.glyphicon-filter { &:before { content: "\e138"; } }
|
174
|
+
.glyphicon-briefcase { &:before { content: "\e139"; } }
|
175
|
+
.glyphicon-fullscreen { &:before { content: "\e140"; } }
|
176
|
+
.glyphicon-dashboard { &:before { content: "\e141"; } }
|
177
|
+
.glyphicon-paperclip { &:before { content: "\e142"; } }
|
178
|
+
.glyphicon-heart-empty { &:before { content: "\e143"; } }
|
179
|
+
.glyphicon-link { &:before { content: "\e144"; } }
|
180
|
+
.glyphicon-phone { &:before { content: "\e145"; } }
|
181
|
+
.glyphicon-pushpin { &:before { content: "\e146"; } }
|
182
|
+
.glyphicon-usd { &:before { content: "\e148"; } }
|
183
|
+
.glyphicon-gbp { &:before { content: "\e149"; } }
|
184
|
+
.glyphicon-sort { &:before { content: "\e150"; } }
|
185
|
+
.glyphicon-sort-by-alphabet { &:before { content: "\e151"; } }
|
186
|
+
.glyphicon-sort-by-alphabet-alt { &:before { content: "\e152"; } }
|
187
|
+
.glyphicon-sort-by-order { &:before { content: "\e153"; } }
|
188
|
+
.glyphicon-sort-by-order-alt { &:before { content: "\e154"; } }
|
189
|
+
.glyphicon-sort-by-attributes { &:before { content: "\e155"; } }
|
190
|
+
.glyphicon-sort-by-attributes-alt { &:before { content: "\e156"; } }
|
191
|
+
.glyphicon-unchecked { &:before { content: "\e157"; } }
|
192
|
+
.glyphicon-expand { &:before { content: "\e158"; } }
|
193
|
+
.glyphicon-collapse-down { &:before { content: "\e159"; } }
|
194
|
+
.glyphicon-collapse-up { &:before { content: "\e160"; } }
|
195
|
+
.glyphicon-log-in { &:before { content: "\e161"; } }
|
196
|
+
.glyphicon-flash { &:before { content: "\e162"; } }
|
197
|
+
.glyphicon-log-out { &:before { content: "\e163"; } }
|
198
|
+
.glyphicon-new-window { &:before { content: "\e164"; } }
|
199
|
+
.glyphicon-record { &:before { content: "\e165"; } }
|
200
|
+
.glyphicon-save { &:before { content: "\e166"; } }
|
201
|
+
.glyphicon-open { &:before { content: "\e167"; } }
|
202
|
+
.glyphicon-saved { &:before { content: "\e168"; } }
|
203
|
+
.glyphicon-import { &:before { content: "\e169"; } }
|
204
|
+
.glyphicon-export { &:before { content: "\e170"; } }
|
205
|
+
.glyphicon-send { &:before { content: "\e171"; } }
|
206
|
+
.glyphicon-floppy-disk { &:before { content: "\e172"; } }
|
207
|
+
.glyphicon-floppy-saved { &:before { content: "\e173"; } }
|
208
|
+
.glyphicon-floppy-remove { &:before { content: "\e174"; } }
|
209
|
+
.glyphicon-floppy-save { &:before { content: "\e175"; } }
|
210
|
+
.glyphicon-floppy-open { &:before { content: "\e176"; } }
|
211
|
+
.glyphicon-credit-card { &:before { content: "\e177"; } }
|
212
|
+
.glyphicon-transfer { &:before { content: "\e178"; } }
|
213
|
+
.glyphicon-cutlery { &:before { content: "\e179"; } }
|
214
|
+
.glyphicon-header { &:before { content: "\e180"; } }
|
215
|
+
.glyphicon-compressed { &:before { content: "\e181"; } }
|
216
|
+
.glyphicon-earphone { &:before { content: "\e182"; } }
|
217
|
+
.glyphicon-phone-alt { &:before { content: "\e183"; } }
|
218
|
+
.glyphicon-tower { &:before { content: "\e184"; } }
|
219
|
+
.glyphicon-stats { &:before { content: "\e185"; } }
|
220
|
+
.glyphicon-sd-video { &:before { content: "\e186"; } }
|
221
|
+
.glyphicon-hd-video { &:before { content: "\e187"; } }
|
222
|
+
.glyphicon-subtitles { &:before { content: "\e188"; } }
|
223
|
+
.glyphicon-sound-stereo { &:before { content: "\e189"; } }
|
224
|
+
.glyphicon-sound-dolby { &:before { content: "\e190"; } }
|
225
|
+
.glyphicon-sound-5-1 { &:before { content: "\e191"; } }
|
226
|
+
.glyphicon-sound-6-1 { &:before { content: "\e192"; } }
|
227
|
+
.glyphicon-sound-7-1 { &:before { content: "\e193"; } }
|
228
|
+
.glyphicon-copyright-mark { &:before { content: "\e194"; } }
|
229
|
+
.glyphicon-registration-mark { &:before { content: "\e195"; } }
|
230
|
+
.glyphicon-cloud-download { &:before { content: "\e197"; } }
|
231
|
+
.glyphicon-cloud-upload { &:before { content: "\e198"; } }
|
232
|
+
.glyphicon-tree-conifer { &:before { content: "\e199"; } }
|
233
|
+
.glyphicon-tree-deciduous { &:before { content: "\e200"; } }
|