Quelques changements dans l'apparence du formulaire de soumission d'evt

This commit is contained in:
echarp 2014-07-20 23:33:26 +02:00
parent f75d4ee993
commit 43281c5221
3 changed files with 18 additions and 9 deletions

View File

@ -122,13 +122,20 @@ main
hr
margin: 10px 20px
label
text-align: right
padding-right: 0.4em
.mce-tinymce
border: 1px solid darkgray
@include border-radius(0.4em)
input, textarea, select, a.button
color: black
margin: 3px 0
border: 1px solid #868686
border: 1px solid darkgray
padding: 2px 4px
font-family: georgia, serif
background-color: white
@include border-radius(0.1em)
@include border-radius(0.4em)
&:focus
background-color: #F0F8FF
&[type=submit], &.button

View File

@ -157,12 +157,14 @@ sidebar#lug-list
.events form, .moderations form
.field, .actions
max-width: 70em
text-align: left
margin-left: 2px
margin-bottom: 2px !important
margin-left: auto
margin-right: auto
*
vertical-align: middle
.helper p
color: gray
margin: 1px 5px 1px 6.6em
line-height: 0.9em
label
@ -175,8 +177,8 @@ sidebar#lug-list
&:after
content: ''
.actions
margin-left: 6.75em
margin-bottom: 10px
text-align: center
margin-bottom: 2em
.mce-tinymce
display: inline-block

View File

@ -16,16 +16,16 @@
- else
= hidden_field_tag :secret, params[:secret]
.field
.field.title
.helper
:markdown
#{t '.title_helper'}
= f.label :title
= f.text_field :title, required: true, size: 70
.field
.field.start_time
= f.label :start_time
= f.datetime_local_field :start_time, required: true
.field
.field.end_time
= f.label :end_time
= f.datetime_local_field :end_time, required: true
.field