From 891373a272429120430012eded60b1a176ac612d Mon Sep 17 00:00:00 2001 From: echarp Date: Sun, 10 Aug 2014 22:38:32 +0200 Subject: [PATCH] =?UTF-8?q?Le=20s=C3=A9lecteur=20de=20date=20permet=20plus?= =?UTF-8?q?=20facilement=20de=20changer=20par=20dizaine=20de=20minutes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/assets/javascripts/application.js.coffee | 13 +++++++------ app/assets/stylesheets/all.css.sass | 2 +- app/assets/stylesheets/application.css.sass | 7 +++++-- 3 files changed, 13 insertions(+), 9 deletions(-) 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