easy_html_creator 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -2
- data/README.md +10 -0
- data/dev_root/demo-website/index.haml +52 -0
- data/dev_root/shared/helper/shared_helper.rb +8 -0
- data/lib/ehc_command_tasks.rb +2 -2
- data/lib/generator/base.rb +47 -0
- data/lib/generator/coffee_generator.rb +24 -17
- data/lib/generator/generator.rb +18 -12
- data/lib/generator/haml_generator.rb +36 -27
- data/lib/generator/helper/activesupport_override.rb +0 -4
- data/lib/generator/helper/asset_helper.rb +63 -0
- data/lib/generator/sass_generator.rb +29 -18
- data/lib/generator/structure_generator.rb +18 -17
- data/lib/server/dispatcher.rb +31 -17
- data/lib/server/response.rb +19 -17
- data/lib/server/server.rb +6 -6
- metadata +62 -245
- data/dev_root/demo-website-offline/coffee/test.coffee +0 -28
- data/dev_root/demo-website-offline/helper/test_helper.rb +0 -5
- data/dev_root/demo-website-offline/index.haml +0 -109
- data/dev_root/demo-website-offline/layout.haml +0 -13
- data/dev_root/demo-website-offline/partials/_assets.javascripts.haml +0 -7
- data/dev_root/demo-website-offline/partials/_assets.metadata.haml +0 -12
- data/dev_root/demo-website-offline/partials/_assets.stylesheets.haml +0 -4
- data/dev_root/demo-website-offline/partials/_footer.haml +0 -5
- data/dev_root/demo-website-offline/partials/_header.haml +0 -27
- data/dev_root/demo-website-offline/public/bower.json +0 -21
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/Gruntfile.js +0 -509
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/LICENSE +0 -21
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/README.md +0 -132
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/bower.json +0 -38
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/dist/css/bootstrap-theme.css +0 -476
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/dist/css/bootstrap-theme.css.map +0 -1
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/dist/css/bootstrap-theme.min.css +0 -5
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/dist/css/bootstrap.css +0 -6566
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/dist/css/bootstrap.css.map +0 -1
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/dist/css/bootstrap.min.css +0 -5
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.eot +0 -0
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.svg +0 -288
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.woff +0 -0
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/dist/js/bootstrap.js +0 -2306
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/dist/js/bootstrap.min.js +0 -7
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/dist/js/npm.js +0 -13
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/fonts/glyphicons-halflings-regular.eot +0 -0
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/fonts/glyphicons-halflings-regular.svg +0 -288
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/fonts/glyphicons-halflings-regular.woff +0 -0
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/grunt/bs-commonjs-generator.js +0 -23
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/grunt/bs-glyphicons-data-generator.js +0 -41
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/grunt/bs-lessdoc-parser.js +0 -238
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/grunt/bs-raw-files-generator.js +0 -46
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/grunt/configBridge.json +0 -45
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/grunt/sauce_browsers.yml +0 -82
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/js/affix.js +0 -162
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/js/alert.js +0 -94
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/js/button.js +0 -116
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/js/carousel.js +0 -237
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/js/collapse.js +0 -211
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/js/dropdown.js +0 -161
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/js/modal.js +0 -324
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/js/popover.js +0 -113
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/js/scrollspy.js +0 -175
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/js/tab.js +0 -153
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/js/tooltip.js +0 -472
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/js/transition.js +0 -59
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/alerts.less +0 -73
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/badges.less +0 -65
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/bootstrap.less +0 -50
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/breadcrumbs.less +0 -26
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/button-groups.less +0 -243
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/buttons.less +0 -160
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/carousel.less +0 -269
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/close.less +0 -34
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/code.less +0 -69
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/component-animations.less +0 -34
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/dropdowns.less +0 -214
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/forms.less +0 -566
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/glyphicons.less +0 -301
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/grid.less +0 -84
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/input-groups.less +0 -166
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/jumbotron.less +0 -50
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/labels.less +0 -64
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/list-group.less +0 -124
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/media.less +0 -61
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/mixins.less +0 -39
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/mixins/alerts.less +0 -14
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/mixins/background-variant.less +0 -8
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/mixins/border-radius.less +0 -18
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/mixins/buttons.less +0 -52
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/mixins/center-block.less +0 -7
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/mixins/clearfix.less +0 -22
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/mixins/forms.less +0 -85
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/mixins/gradients.less +0 -59
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/mixins/grid-framework.less +0 -91
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/mixins/grid.less +0 -122
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/mixins/hide-text.less +0 -21
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/mixins/image.less +0 -33
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/mixins/labels.less +0 -12
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/mixins/list-group.less +0 -29
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/mixins/nav-divider.less +0 -10
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/mixins/nav-vertical-align.less +0 -9
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/mixins/opacity.less +0 -8
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/mixins/pagination.less +0 -23
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/mixins/panels.less +0 -24
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/mixins/progress-bar.less +0 -10
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/mixins/reset-filter.less +0 -8
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/mixins/resize.less +0 -6
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/mixins/responsive-visibility.less +0 -15
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/mixins/size.less +0 -10
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/mixins/tab-focus.less +0 -9
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/mixins/table-row.less +0 -28
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/mixins/text-emphasis.less +0 -8
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/mixins/text-overflow.less +0 -8
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/mixins/vendor-prefixes.less +0 -227
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/modals.less +0 -148
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/navbar.less +0 -661
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/navs.less +0 -244
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/normalize.less +0 -427
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/pager.less +0 -54
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/pagination.less +0 -88
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/panels.less +0 -265
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/popovers.less +0 -135
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/print.less +0 -107
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/progress-bars.less +0 -87
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/responsive-embed.less +0 -35
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/responsive-utilities.less +0 -194
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/scaffolding.less +0 -150
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/tables.less +0 -234
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/theme.less +0 -273
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/thumbnails.less +0 -36
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/tooltip.less +0 -103
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/type.less +0 -302
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/utilities.less +0 -56
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/variables.less +0 -857
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/wells.less +0 -29
- data/dev_root/demo-website-offline/public/bower_components/bootstrap/package.json +0 -83
- data/dev_root/demo-website-offline/public/bower_components/html5shiv/Gruntfile.js +0 -61
- data/dev_root/demo-website-offline/public/bower_components/html5shiv/bower.json +0 -15
- data/dev_root/demo-website-offline/public/bower_components/html5shiv/dist/html5shiv-printshiv.js +0 -520
- data/dev_root/demo-website-offline/public/bower_components/html5shiv/dist/html5shiv-printshiv.min.js +0 -4
- data/dev_root/demo-website-offline/public/bower_components/html5shiv/dist/html5shiv.js +0 -322
- data/dev_root/demo-website-offline/public/bower_components/html5shiv/dist/html5shiv.min.js +0 -4
- data/dev_root/demo-website-offline/public/bower_components/html5shiv/package.json +0 -16
- data/dev_root/demo-website-offline/public/bower_components/html5shiv/readme.md +0 -152
- data/dev_root/demo-website-offline/public/bower_components/jquery/MIT-LICENSE.txt +0 -21
- data/dev_root/demo-website-offline/public/bower_components/jquery/bower.json +0 -27
- data/dev_root/demo-website-offline/public/bower_components/jquery/dist/jquery.js +0 -9205
- data/dev_root/demo-website-offline/public/bower_components/jquery/dist/jquery.min.js +0 -5
- data/dev_root/demo-website-offline/public/bower_components/jquery/dist/jquery.min.map +0 -1
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/ajax.js +0 -786
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/ajax/jsonp.js +0 -89
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/ajax/load.js +0 -75
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/ajax/parseJSON.js +0 -13
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/ajax/parseXML.js +0 -28
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/ajax/script.js +0 -64
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/ajax/var/nonce.js +0 -5
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/ajax/var/rquery.js +0 -3
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/ajax/xhr.js +0 -136
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/attributes.js +0 -11
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/attributes/attr.js +0 -141
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/attributes/classes.js +0 -158
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/attributes/prop.js +0 -94
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/attributes/support.js +0 -35
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/attributes/val.js +0 -161
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/callbacks.js +0 -205
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/core.js +0 -497
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/core/access.js +0 -60
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/core/init.js +0 -123
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/core/parseHTML.js +0 -39
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/core/ready.js +0 -97
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/core/var/rsingleTag.js +0 -4
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/css.js +0 -450
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/css/addGetHookIf.js +0 -22
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/css/curCSS.js +0 -57
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/css/defaultDisplay.js +0 -70
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/css/hiddenVisibleSelectors.js +0 -15
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/css/support.js +0 -96
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/css/swap.js +0 -28
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/css/var/cssExpand.js +0 -3
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/css/var/getStyles.js +0 -12
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/css/var/isHidden.js +0 -13
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/css/var/rmargin.js +0 -3
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/css/var/rnumnonpx.js +0 -5
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/data.js +0 -178
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/data/Data.js +0 -181
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/data/accepts.js +0 -20
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/data/var/data_priv.js +0 -5
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/data/var/data_user.js +0 -5
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/deferred.js +0 -149
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/deprecated.js +0 -13
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/dimensions.js +0 -50
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/effects.js +0 -648
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/effects/Tween.js +0 -114
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/effects/animatedSelector.js +0 -13
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/event.js +0 -868
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/event/ajax.js +0 -13
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/event/alias.js +0 -39
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/event/support.js +0 -9
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/exports/amd.js +0 -24
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/exports/global.js +0 -32
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/intro.js +0 -44
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/jquery.js +0 -37
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/manipulation.js +0 -580
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/manipulation/_evalUrl.js +0 -18
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/manipulation/support.js +0 -32
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/manipulation/var/rcheckableType.js +0 -3
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/offset.js +0 -207
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/outro.js +0 -1
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/queue.js +0 -142
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/queue/delay.js +0 -22
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/selector-native.js +0 -172
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/selector-sizzle.js +0 -14
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/selector.js +0 -1
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/serialize.js +0 -111
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/sizzle/dist/sizzle.js +0 -2067
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/sizzle/dist/sizzle.min.js +0 -3
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/sizzle/dist/sizzle.min.map +0 -1
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/traversing.js +0 -199
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/traversing/findFilter.js +0 -100
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/traversing/var/rneedsContext.js +0 -6
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/var/arr.js +0 -3
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/var/class2type.js +0 -4
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/var/concat.js +0 -5
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/var/hasOwn.js +0 -5
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/var/indexOf.js +0 -5
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/var/pnum.js +0 -3
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/var/push.js +0 -5
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/var/rnotwhite.js +0 -3
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/var/slice.js +0 -5
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/var/strundefined.js +0 -3
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/var/support.js +0 -4
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/var/toString.js +0 -5
- data/dev_root/demo-website-offline/public/bower_components/jquery/src/wrap.js +0 -79
- data/dev_root/demo-website-offline/public/bower_components/respond/Gruntfile.js +0 -90
- data/dev_root/demo-website-offline/public/bower_components/respond/LICENSE-MIT +0 -22
- data/dev_root/demo-website-offline/public/bower_components/respond/README.md +0 -114
- data/dev_root/demo-website-offline/public/bower_components/respond/bower.json +0 -10
- data/dev_root/demo-website-offline/public/bower_components/respond/cross-domain/example.html +0 -24
- data/dev_root/demo-website-offline/public/bower_components/respond/cross-domain/respond-proxy.html +0 -96
- data/dev_root/demo-website-offline/public/bower_components/respond/cross-domain/respond.proxy.gif +0 -0
- data/dev_root/demo-website-offline/public/bower_components/respond/cross-domain/respond.proxy.js +0 -127
- data/dev_root/demo-website-offline/public/bower_components/respond/dest/respond.matchmedia.addListener.min.js +0 -5
- data/dev_root/demo-website-offline/public/bower_components/respond/dest/respond.matchmedia.addListener.src.js +0 -273
- data/dev_root/demo-website-offline/public/bower_components/respond/dest/respond.min.js +0 -5
- data/dev_root/demo-website-offline/public/bower_components/respond/dest/respond.src.js +0 -224
- data/dev_root/demo-website-offline/public/bower_components/respond/package.json +0 -32
- data/dev_root/demo-website-offline/public/bower_components/respond/src/matchmedia.addListener.js +0 -76
- data/dev_root/demo-website-offline/public/bower_components/respond/src/matchmedia.polyfill.js +0 -36
- data/dev_root/demo-website-offline/public/bower_components/respond/src/respond.js +0 -341
- data/dev_root/demo-website-offline/public/fonts/OpenSans400.css +0 -64
- data/dev_root/demo-website-offline/public/fonts/OpenSans400italic.css +0 -64
- data/dev_root/demo-website-offline/public/fonts/OpenSans600.css +0 -64
- data/dev_root/demo-website-offline/public/images/easy-way.jpg +0 -0
- data/dev_root/demo-website-offline/public/robots.txt +0 -0
- data/dev_root/demo-website-offline/sass/main.sass +0 -44
data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/mixins/clearfix.less
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
// Clearfix
|
2
|
-
//
|
3
|
-
// For modern browsers
|
4
|
-
// 1. The space content is one way to avoid an Opera bug when the
|
5
|
-
// contenteditable attribute is included anywhere else in the document.
|
6
|
-
// Otherwise it causes space to appear at the top and bottom of elements
|
7
|
-
// that are clearfixed.
|
8
|
-
// 2. The use of `table` rather than `block` is only necessary if using
|
9
|
-
// `:before` to contain the top-margins of child elements.
|
10
|
-
//
|
11
|
-
// Source: http://nicolasgallagher.com/micro-clearfix-hack/
|
12
|
-
|
13
|
-
.clearfix() {
|
14
|
-
&:before,
|
15
|
-
&:after {
|
16
|
-
content: " "; // 1
|
17
|
-
display: table; // 2
|
18
|
-
}
|
19
|
-
&:after {
|
20
|
-
clear: both;
|
21
|
-
}
|
22
|
-
}
|
@@ -1,85 +0,0 @@
|
|
1
|
-
// Form validation states
|
2
|
-
//
|
3
|
-
// Used in forms.less to generate the form validation CSS for warnings, errors,
|
4
|
-
// and successes.
|
5
|
-
|
6
|
-
.form-control-validation(@text-color: #555; @border-color: #ccc; @background-color: #f5f5f5) {
|
7
|
-
// Color the label and help text
|
8
|
-
.help-block,
|
9
|
-
.control-label,
|
10
|
-
.radio,
|
11
|
-
.checkbox,
|
12
|
-
.radio-inline,
|
13
|
-
.checkbox-inline,
|
14
|
-
&.radio label,
|
15
|
-
&.checkbox label,
|
16
|
-
&.radio-inline label,
|
17
|
-
&.checkbox-inline label {
|
18
|
-
color: @text-color;
|
19
|
-
}
|
20
|
-
// Set the border and box shadow on specific inputs to match
|
21
|
-
.form-control {
|
22
|
-
border-color: @border-color;
|
23
|
-
.box-shadow(inset 0 1px 1px rgba(0,0,0,.075)); // Redeclare so transitions work
|
24
|
-
&:focus {
|
25
|
-
border-color: darken(@border-color, 10%);
|
26
|
-
@shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@border-color, 20%);
|
27
|
-
.box-shadow(@shadow);
|
28
|
-
}
|
29
|
-
}
|
30
|
-
// Set validation states also for addons
|
31
|
-
.input-group-addon {
|
32
|
-
color: @text-color;
|
33
|
-
border-color: @border-color;
|
34
|
-
background-color: @background-color;
|
35
|
-
}
|
36
|
-
// Optional feedback icon
|
37
|
-
.form-control-feedback {
|
38
|
-
color: @text-color;
|
39
|
-
}
|
40
|
-
}
|
41
|
-
|
42
|
-
|
43
|
-
// Form control focus state
|
44
|
-
//
|
45
|
-
// Generate a customized focus state and for any input with the specified color,
|
46
|
-
// which defaults to the `@input-border-focus` variable.
|
47
|
-
//
|
48
|
-
// We highly encourage you to not customize the default value, but instead use
|
49
|
-
// this to tweak colors on an as-needed basis. This aesthetic change is based on
|
50
|
-
// WebKit's default styles, but applicable to a wider range of browsers. Its
|
51
|
-
// usability and accessibility should be taken into account with any change.
|
52
|
-
//
|
53
|
-
// Example usage: change the default blue border and shadow to white for better
|
54
|
-
// contrast against a dark gray background.
|
55
|
-
.form-control-focus(@color: @input-border-focus) {
|
56
|
-
@color-rgba: rgba(red(@color), green(@color), blue(@color), .6);
|
57
|
-
&:focus {
|
58
|
-
border-color: @color;
|
59
|
-
outline: 0;
|
60
|
-
.box-shadow(~"inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px @{color-rgba}");
|
61
|
-
}
|
62
|
-
}
|
63
|
-
|
64
|
-
// Form control sizing
|
65
|
-
//
|
66
|
-
// Relative text size, padding, and border-radii changes for form controls. For
|
67
|
-
// horizontal sizing, wrap controls in the predefined grid classes. `<select>`
|
68
|
-
// element gets special love because it's special, and that's a fact!
|
69
|
-
.input-size(@input-height; @padding-vertical; @padding-horizontal; @font-size; @line-height; @border-radius) {
|
70
|
-
height: @input-height;
|
71
|
-
padding: @padding-vertical @padding-horizontal;
|
72
|
-
font-size: @font-size;
|
73
|
-
line-height: @line-height;
|
74
|
-
border-radius: @border-radius;
|
75
|
-
|
76
|
-
select& {
|
77
|
-
height: @input-height;
|
78
|
-
line-height: @input-height;
|
79
|
-
}
|
80
|
-
|
81
|
-
textarea&,
|
82
|
-
select[multiple]& {
|
83
|
-
height: auto;
|
84
|
-
}
|
85
|
-
}
|
data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/mixins/gradients.less
DELETED
@@ -1,59 +0,0 @@
|
|
1
|
-
// Gradients
|
2
|
-
|
3
|
-
#gradient {
|
4
|
-
|
5
|
-
// Horizontal gradient, from left to right
|
6
|
-
//
|
7
|
-
// Creates two color stops, start and end, by specifying a color and position for each color stop.
|
8
|
-
// Color stops are not available in IE9 and below.
|
9
|
-
.horizontal(@start-color: #555; @end-color: #333; @start-percent: 0%; @end-percent: 100%) {
|
10
|
-
background-image: -webkit-linear-gradient(left, @start-color @start-percent, @end-color @end-percent); // Safari 5.1-6, Chrome 10+
|
11
|
-
background-image: -o-linear-gradient(left, @start-color @start-percent, @end-color @end-percent); // Opera 12
|
12
|
-
background-image: linear-gradient(to right, @start-color @start-percent, @end-color @end-percent); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+
|
13
|
-
background-repeat: repeat-x;
|
14
|
-
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)",argb(@start-color),argb(@end-color))); // IE9 and down
|
15
|
-
}
|
16
|
-
|
17
|
-
// Vertical gradient, from top to bottom
|
18
|
-
//
|
19
|
-
// Creates two color stops, start and end, by specifying a color and position for each color stop.
|
20
|
-
// Color stops are not available in IE9 and below.
|
21
|
-
.vertical(@start-color: #555; @end-color: #333; @start-percent: 0%; @end-percent: 100%) {
|
22
|
-
background-image: -webkit-linear-gradient(top, @start-color @start-percent, @end-color @end-percent); // Safari 5.1-6, Chrome 10+
|
23
|
-
background-image: -o-linear-gradient(top, @start-color @start-percent, @end-color @end-percent); // Opera 12
|
24
|
-
background-image: linear-gradient(to bottom, @start-color @start-percent, @end-color @end-percent); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+
|
25
|
-
background-repeat: repeat-x;
|
26
|
-
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",argb(@start-color),argb(@end-color))); // IE9 and down
|
27
|
-
}
|
28
|
-
|
29
|
-
.directional(@start-color: #555; @end-color: #333; @deg: 45deg) {
|
30
|
-
background-repeat: repeat-x;
|
31
|
-
background-image: -webkit-linear-gradient(@deg, @start-color, @end-color); // Safari 5.1-6, Chrome 10+
|
32
|
-
background-image: -o-linear-gradient(@deg, @start-color, @end-color); // Opera 12
|
33
|
-
background-image: linear-gradient(@deg, @start-color, @end-color); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+
|
34
|
-
}
|
35
|
-
.horizontal-three-colors(@start-color: #00b3ee; @mid-color: #7a43b6; @color-stop: 50%; @end-color: #c3325f) {
|
36
|
-
background-image: -webkit-linear-gradient(left, @start-color, @mid-color @color-stop, @end-color);
|
37
|
-
background-image: -o-linear-gradient(left, @start-color, @mid-color @color-stop, @end-color);
|
38
|
-
background-image: linear-gradient(to right, @start-color, @mid-color @color-stop, @end-color);
|
39
|
-
background-repeat: no-repeat;
|
40
|
-
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)",argb(@start-color),argb(@end-color))); // IE9 and down, gets no color-stop at all for proper fallback
|
41
|
-
}
|
42
|
-
.vertical-three-colors(@start-color: #00b3ee; @mid-color: #7a43b6; @color-stop: 50%; @end-color: #c3325f) {
|
43
|
-
background-image: -webkit-linear-gradient(@start-color, @mid-color @color-stop, @end-color);
|
44
|
-
background-image: -o-linear-gradient(@start-color, @mid-color @color-stop, @end-color);
|
45
|
-
background-image: linear-gradient(@start-color, @mid-color @color-stop, @end-color);
|
46
|
-
background-repeat: no-repeat;
|
47
|
-
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",argb(@start-color),argb(@end-color))); // IE9 and down, gets no color-stop at all for proper fallback
|
48
|
-
}
|
49
|
-
.radial(@inner-color: #555; @outer-color: #333) {
|
50
|
-
background-image: -webkit-radial-gradient(circle, @inner-color, @outer-color);
|
51
|
-
background-image: radial-gradient(circle, @inner-color, @outer-color);
|
52
|
-
background-repeat: no-repeat;
|
53
|
-
}
|
54
|
-
.striped(@color: rgba(255,255,255,.15); @angle: 45deg) {
|
55
|
-
background-image: -webkit-linear-gradient(@angle, @color 25%, transparent 25%, transparent 50%, @color 50%, @color 75%, transparent 75%, transparent);
|
56
|
-
background-image: -o-linear-gradient(@angle, @color 25%, transparent 25%, transparent 50%, @color 50%, @color 75%, transparent 75%, transparent);
|
57
|
-
background-image: linear-gradient(@angle, @color 25%, transparent 25%, transparent 50%, @color 50%, @color 75%, transparent 75%, transparent);
|
58
|
-
}
|
59
|
-
}
|
data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/mixins/grid-framework.less
DELETED
@@ -1,91 +0,0 @@
|
|
1
|
-
// Framework grid generation
|
2
|
-
//
|
3
|
-
// Used only by Bootstrap to generate the correct number of grid classes given
|
4
|
-
// any value of `@grid-columns`.
|
5
|
-
|
6
|
-
.make-grid-columns() {
|
7
|
-
// Common styles for all sizes of grid columns, widths 1-12
|
8
|
-
.col(@index) { // initial
|
9
|
-
@item: ~".col-xs-@{index}, .col-sm-@{index}, .col-md-@{index}, .col-lg-@{index}";
|
10
|
-
.col((@index + 1), @item);
|
11
|
-
}
|
12
|
-
.col(@index, @list) when (@index =< @grid-columns) { // general; "=<" isn't a typo
|
13
|
-
@item: ~".col-xs-@{index}, .col-sm-@{index}, .col-md-@{index}, .col-lg-@{index}";
|
14
|
-
.col((@index + 1), ~"@{list}, @{item}");
|
15
|
-
}
|
16
|
-
.col(@index, @list) when (@index > @grid-columns) { // terminal
|
17
|
-
@{list} {
|
18
|
-
position: relative;
|
19
|
-
// Prevent columns from collapsing when empty
|
20
|
-
min-height: 1px;
|
21
|
-
// Inner gutter via padding
|
22
|
-
padding-left: (@grid-gutter-width / 2);
|
23
|
-
padding-right: (@grid-gutter-width / 2);
|
24
|
-
}
|
25
|
-
}
|
26
|
-
.col(1); // kickstart it
|
27
|
-
}
|
28
|
-
|
29
|
-
.float-grid-columns(@class) {
|
30
|
-
.col(@index) { // initial
|
31
|
-
@item: ~".col-@{class}-@{index}";
|
32
|
-
.col((@index + 1), @item);
|
33
|
-
}
|
34
|
-
.col(@index, @list) when (@index =< @grid-columns) { // general
|
35
|
-
@item: ~".col-@{class}-@{index}";
|
36
|
-
.col((@index + 1), ~"@{list}, @{item}");
|
37
|
-
}
|
38
|
-
.col(@index, @list) when (@index > @grid-columns) { // terminal
|
39
|
-
@{list} {
|
40
|
-
float: left;
|
41
|
-
}
|
42
|
-
}
|
43
|
-
.col(1); // kickstart it
|
44
|
-
}
|
45
|
-
|
46
|
-
.calc-grid-column(@index, @class, @type) when (@type = width) and (@index > 0) {
|
47
|
-
.col-@{class}-@{index} {
|
48
|
-
width: percentage((@index / @grid-columns));
|
49
|
-
}
|
50
|
-
}
|
51
|
-
.calc-grid-column(@index, @class, @type) when (@type = push) and (@index > 0) {
|
52
|
-
.col-@{class}-push-@{index} {
|
53
|
-
left: percentage((@index / @grid-columns));
|
54
|
-
}
|
55
|
-
}
|
56
|
-
.calc-grid-column(@index, @class, @type) when (@type = push) and (@index = 0) {
|
57
|
-
.col-@{class}-push-0 {
|
58
|
-
left: auto;
|
59
|
-
}
|
60
|
-
}
|
61
|
-
.calc-grid-column(@index, @class, @type) when (@type = pull) and (@index > 0) {
|
62
|
-
.col-@{class}-pull-@{index} {
|
63
|
-
right: percentage((@index / @grid-columns));
|
64
|
-
}
|
65
|
-
}
|
66
|
-
.calc-grid-column(@index, @class, @type) when (@type = pull) and (@index = 0) {
|
67
|
-
.col-@{class}-pull-0 {
|
68
|
-
right: auto;
|
69
|
-
}
|
70
|
-
}
|
71
|
-
.calc-grid-column(@index, @class, @type) when (@type = offset) {
|
72
|
-
.col-@{class}-offset-@{index} {
|
73
|
-
margin-left: percentage((@index / @grid-columns));
|
74
|
-
}
|
75
|
-
}
|
76
|
-
|
77
|
-
// Basic looping in LESS
|
78
|
-
.loop-grid-columns(@index, @class, @type) when (@index >= 0) {
|
79
|
-
.calc-grid-column(@index, @class, @type);
|
80
|
-
// next iteration
|
81
|
-
.loop-grid-columns((@index - 1), @class, @type);
|
82
|
-
}
|
83
|
-
|
84
|
-
// Create grid for specific class
|
85
|
-
.make-grid(@class) {
|
86
|
-
.float-grid-columns(@class);
|
87
|
-
.loop-grid-columns(@grid-columns, @class, width);
|
88
|
-
.loop-grid-columns(@grid-columns, @class, pull);
|
89
|
-
.loop-grid-columns(@grid-columns, @class, push);
|
90
|
-
.loop-grid-columns(@grid-columns, @class, offset);
|
91
|
-
}
|
@@ -1,122 +0,0 @@
|
|
1
|
-
// Grid system
|
2
|
-
//
|
3
|
-
// Generate semantic grid columns with these mixins.
|
4
|
-
|
5
|
-
// Centered container element
|
6
|
-
.container-fixed(@gutter: @grid-gutter-width) {
|
7
|
-
margin-right: auto;
|
8
|
-
margin-left: auto;
|
9
|
-
padding-left: (@gutter / 2);
|
10
|
-
padding-right: (@gutter / 2);
|
11
|
-
&:extend(.clearfix all);
|
12
|
-
}
|
13
|
-
|
14
|
-
// Creates a wrapper for a series of columns
|
15
|
-
.make-row(@gutter: @grid-gutter-width) {
|
16
|
-
margin-left: (@gutter / -2);
|
17
|
-
margin-right: (@gutter / -2);
|
18
|
-
&:extend(.clearfix all);
|
19
|
-
}
|
20
|
-
|
21
|
-
// Generate the extra small columns
|
22
|
-
.make-xs-column(@columns; @gutter: @grid-gutter-width) {
|
23
|
-
position: relative;
|
24
|
-
float: left;
|
25
|
-
width: percentage((@columns / @grid-columns));
|
26
|
-
min-height: 1px;
|
27
|
-
padding-left: (@gutter / 2);
|
28
|
-
padding-right: (@gutter / 2);
|
29
|
-
}
|
30
|
-
.make-xs-column-offset(@columns) {
|
31
|
-
margin-left: percentage((@columns / @grid-columns));
|
32
|
-
}
|
33
|
-
.make-xs-column-push(@columns) {
|
34
|
-
left: percentage((@columns / @grid-columns));
|
35
|
-
}
|
36
|
-
.make-xs-column-pull(@columns) {
|
37
|
-
right: percentage((@columns / @grid-columns));
|
38
|
-
}
|
39
|
-
|
40
|
-
// Generate the small columns
|
41
|
-
.make-sm-column(@columns; @gutter: @grid-gutter-width) {
|
42
|
-
position: relative;
|
43
|
-
min-height: 1px;
|
44
|
-
padding-left: (@gutter / 2);
|
45
|
-
padding-right: (@gutter / 2);
|
46
|
-
|
47
|
-
@media (min-width: @screen-sm-min) {
|
48
|
-
float: left;
|
49
|
-
width: percentage((@columns / @grid-columns));
|
50
|
-
}
|
51
|
-
}
|
52
|
-
.make-sm-column-offset(@columns) {
|
53
|
-
@media (min-width: @screen-sm-min) {
|
54
|
-
margin-left: percentage((@columns / @grid-columns));
|
55
|
-
}
|
56
|
-
}
|
57
|
-
.make-sm-column-push(@columns) {
|
58
|
-
@media (min-width: @screen-sm-min) {
|
59
|
-
left: percentage((@columns / @grid-columns));
|
60
|
-
}
|
61
|
-
}
|
62
|
-
.make-sm-column-pull(@columns) {
|
63
|
-
@media (min-width: @screen-sm-min) {
|
64
|
-
right: percentage((@columns / @grid-columns));
|
65
|
-
}
|
66
|
-
}
|
67
|
-
|
68
|
-
// Generate the medium columns
|
69
|
-
.make-md-column(@columns; @gutter: @grid-gutter-width) {
|
70
|
-
position: relative;
|
71
|
-
min-height: 1px;
|
72
|
-
padding-left: (@gutter / 2);
|
73
|
-
padding-right: (@gutter / 2);
|
74
|
-
|
75
|
-
@media (min-width: @screen-md-min) {
|
76
|
-
float: left;
|
77
|
-
width: percentage((@columns / @grid-columns));
|
78
|
-
}
|
79
|
-
}
|
80
|
-
.make-md-column-offset(@columns) {
|
81
|
-
@media (min-width: @screen-md-min) {
|
82
|
-
margin-left: percentage((@columns / @grid-columns));
|
83
|
-
}
|
84
|
-
}
|
85
|
-
.make-md-column-push(@columns) {
|
86
|
-
@media (min-width: @screen-md-min) {
|
87
|
-
left: percentage((@columns / @grid-columns));
|
88
|
-
}
|
89
|
-
}
|
90
|
-
.make-md-column-pull(@columns) {
|
91
|
-
@media (min-width: @screen-md-min) {
|
92
|
-
right: percentage((@columns / @grid-columns));
|
93
|
-
}
|
94
|
-
}
|
95
|
-
|
96
|
-
// Generate the large columns
|
97
|
-
.make-lg-column(@columns; @gutter: @grid-gutter-width) {
|
98
|
-
position: relative;
|
99
|
-
min-height: 1px;
|
100
|
-
padding-left: (@gutter / 2);
|
101
|
-
padding-right: (@gutter / 2);
|
102
|
-
|
103
|
-
@media (min-width: @screen-lg-min) {
|
104
|
-
float: left;
|
105
|
-
width: percentage((@columns / @grid-columns));
|
106
|
-
}
|
107
|
-
}
|
108
|
-
.make-lg-column-offset(@columns) {
|
109
|
-
@media (min-width: @screen-lg-min) {
|
110
|
-
margin-left: percentage((@columns / @grid-columns));
|
111
|
-
}
|
112
|
-
}
|
113
|
-
.make-lg-column-push(@columns) {
|
114
|
-
@media (min-width: @screen-lg-min) {
|
115
|
-
left: percentage((@columns / @grid-columns));
|
116
|
-
}
|
117
|
-
}
|
118
|
-
.make-lg-column-pull(@columns) {
|
119
|
-
@media (min-width: @screen-lg-min) {
|
120
|
-
right: percentage((@columns / @grid-columns));
|
121
|
-
}
|
122
|
-
}
|
data/dev_root/demo-website-offline/public/bower_components/bootstrap/less/mixins/hide-text.less
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
// CSS image replacement
|
2
|
-
//
|
3
|
-
// Heads up! v3 launched with with only `.hide-text()`, but per our pattern for
|
4
|
-
// mixins being reused as classes with the same name, this doesn't hold up. As
|
5
|
-
// of v3.0.1 we have added `.text-hide()` and deprecated `.hide-text()`.
|
6
|
-
//
|
7
|
-
// Source: https://github.com/h5bp/html5-boilerplate/commit/aa0396eae757
|
8
|
-
|
9
|
-
// Deprecated as of v3.0.1 (will be removed in v4)
|
10
|
-
.hide-text() {
|
11
|
-
font: ~"0/0" a;
|
12
|
-
color: transparent;
|
13
|
-
text-shadow: none;
|
14
|
-
background-color: transparent;
|
15
|
-
border: 0;
|
16
|
-
}
|
17
|
-
|
18
|
-
// New mixin to use as of v3.0.1
|
19
|
-
.text-hide() {
|
20
|
-
.hide-text();
|
21
|
-
}
|
@@ -1,33 +0,0 @@
|
|
1
|
-
// Image Mixins
|
2
|
-
// - Responsive image
|
3
|
-
// - Retina image
|
4
|
-
|
5
|
-
|
6
|
-
// Responsive image
|
7
|
-
//
|
8
|
-
// Keep images from scaling beyond the width of their parents.
|
9
|
-
.img-responsive(@display: block) {
|
10
|
-
display: @display;
|
11
|
-
max-width: 100%; // Part 1: Set a maximum relative to the parent
|
12
|
-
height: auto; // Part 2: Scale the height according to the width, otherwise you get stretching
|
13
|
-
}
|
14
|
-
|
15
|
-
|
16
|
-
// Retina image
|
17
|
-
//
|
18
|
-
// Short retina mixin for setting background-image and -size. Note that the
|
19
|
-
// spelling of `min--moz-device-pixel-ratio` is intentional.
|
20
|
-
.img-retina(@file-1x; @file-2x; @width-1x; @height-1x) {
|
21
|
-
background-image: url("@{file-1x}");
|
22
|
-
|
23
|
-
@media
|
24
|
-
only screen and (-webkit-min-device-pixel-ratio: 2),
|
25
|
-
only screen and ( min--moz-device-pixel-ratio: 2),
|
26
|
-
only screen and ( -o-min-device-pixel-ratio: 2/1),
|
27
|
-
only screen and ( min-device-pixel-ratio: 2),
|
28
|
-
only screen and ( min-resolution: 192dpi),
|
29
|
-
only screen and ( min-resolution: 2dppx) {
|
30
|
-
background-image: url("@{file-2x}");
|
31
|
-
background-size: @width-1x @height-1x;
|
32
|
-
}
|
33
|
-
}
|