diff --git a/app/assets/javascripts/application.js.coffee b/app/assets/javascripts/application.js.coffee index af78f782..96b2dabf 100644 --- a/app/assets/javascripts/application.js.coffee +++ b/app/assets/javascripts/application.js.coffee @@ -20,9 +20,13 @@ #= require_tree . # Setup polyfills, so that older browsers can also take advanage of html5! -#$.webshims.setOptions('basePath', '/assets/webshims/shims/') -$.webshims.setOptions('basePath', '/webshims/shims/') -$.webshims.polyfill('forms forms-ext') +#$.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.polyfill 'forms forms-ext' $(document).on 'page:fetch submit', -> $('em#loading').fadeIn('slow') diff --git a/app/assets/stylesheets/all.css.sass b/app/assets/stylesheets/all.css.sass index 6c0a33f6..17f097d0 100644 --- a/app/assets/stylesheets/all.css.sass +++ b/app/assets/stylesheets/all.css.sass @@ -134,7 +134,8 @@ main margin: 3px 0 border: 1px solid darkgray padding: 2px 4px - font-family: georgia, serif + font-size: inherit + font-family: inherit background-color: white @include box-shadow(1px 1px 2px lightgray) @include border-radius(0.4em) @@ -156,6 +157,10 @@ main padding: 2px 4px background-color: white + button.ws-popover-opener + color: darkgray + background-color: transparent + .field_with_errors display: inline input, textarea, select, a.button