Meilleure apparence du sélecteur de date webshims

This commit is contained in:
echarp 2014-07-22 00:55:29 +02:00
parent d5d932728d
commit f84df7f63e
2 changed files with 13 additions and 4 deletions

View File

@ -20,9 +20,13 @@
#= require_tree . #= require_tree .
# Setup polyfills, so that older browsers can also take advanage of html5! # Setup polyfills, so that older browsers can also take advanage of html5!
#$.webshims.setOptions('basePath', '/assets/webshims/shims/') #$.webshims.setOptions 'basePath', '/assets/webshims/shims/'
$.webshims.setOptions('basePath', '/webshims/shims/') $.webshims.setOptions 'basePath', '/webshims/shims/'
$.webshims.polyfill('forms forms-ext') $.webshims.setOptions "forms-ext",
"widgets":
"openOnFocus": true,
"classes": "show-yearbtns hide-btnrow show-uparrow"
$.webshims.polyfill 'forms forms-ext'
$(document).on 'page:fetch submit', -> $(document).on 'page:fetch submit', ->
$('em#loading').fadeIn('slow') $('em#loading').fadeIn('slow')

View File

@ -134,7 +134,8 @@ main
margin: 3px 0 margin: 3px 0
border: 1px solid darkgray border: 1px solid darkgray
padding: 2px 4px padding: 2px 4px
font-family: georgia, serif font-size: inherit
font-family: inherit
background-color: white background-color: white
@include box-shadow(1px 1px 2px lightgray) @include box-shadow(1px 1px 2px lightgray)
@include border-radius(0.4em) @include border-radius(0.4em)
@ -156,6 +157,10 @@ main
padding: 2px 4px padding: 2px 4px
background-color: white background-color: white
button.ws-popover-opener
color: darkgray
background-color: transparent
.field_with_errors .field_with_errors
display: inline display: inline
input, textarea, select, a.button input, textarea, select, a.button