diff --git a/app/assets/javascripts/application.js.coffee b/app/assets/javascripts/application.js.coffee index 646f4eba..8cd3fd0a 100644 --- a/app/assets/javascripts/application.js.coffee +++ b/app/assets/javascripts/application.js.coffee @@ -20,13 +20,14 @@ #= require leaflet #= require_tree . -# Setup polyfills, so that older browsers can also take advanage of html5! -#$.webshims.setOptions 'basePath', '/assets/webshims/shims/' +# Setup polyfills, so that older browsers can also take advantage of html5! +# $.webshims.setOptions 'basePath', '/assets/webshims/shims/' $.webshims.setOptions 'basePath', '/webshims/shims/' -$.webshims.setOptions "forms-ext", - "widgets": - "openOnFocus": true, - "classes": "show-yearbtns hide-btnrow show-uparrow" +$.webshims.setOptions 'forms-ext', + 'widgets': + 'startView': 2, + 'stepfactor': 10, + 'classes': 'show-yearbtns hide-btnrow show-uparrow' $.webshims.polyfill 'forms forms-ext' $(document).on 'page:fetch submit', -> diff --git a/app/assets/stylesheets/all.css.sass b/app/assets/stylesheets/all.css.sass index 1e78fe0d..4c34d798 100644 --- a/app/assets/stylesheets/all.css.sass +++ b/app/assets/stylesheets/all.css.sass @@ -106,7 +106,7 @@ header.top main position: relative - * + & > * max-width: 80em h1 margin: 10px auto 5px auto diff --git a/app/assets/stylesheets/application.css.sass b/app/assets/stylesheets/application.css.sass index 72b1d65a..7c0fced6 100644 --- a/app/assets/stylesheets/application.css.sass +++ b/app/assets/stylesheets/application.css.sass @@ -9,10 +9,13 @@ * compiled file so the styles you add here take precedence over styles defined in any styles * defined in the other CSS/SCSS files in this directory. It is generally better to create a new * file per style scope. + * + *= require leaflet + *= require_tree . + *= require_self */ -@import * -@import awesome_mixins +@import 'awesome_mixins' body.application &.infos h4