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 hr
margin: 10px 20px 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 input, textarea, select, a.button
color: black color: black
margin: 3px 0 margin: 3px 0
border: 1px solid #868686 border: 1px solid darkgray
padding: 2px 4px
font-family: georgia, serif font-family: georgia, serif
background-color: white background-color: white
@include border-radius(0.1em) @include border-radius(0.4em)
&:focus &:focus
background-color: #F0F8FF background-color: #F0F8FF
&[type=submit], &.button &[type=submit], &.button

View File

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

View File

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