diff --git a/app/assets/stylesheets/all.css.sass b/app/assets/stylesheets/all.css.sass index 7e5adb6c..a7fdbc12 100644 --- a/app/assets/stylesheets/all.css.sass +++ b/app/assets/stylesheets/all.css.sass @@ -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 diff --git a/app/assets/stylesheets/events.css.sass b/app/assets/stylesheets/events.css.sass index 65bb3364..a773057c 100644 --- a/app/assets/stylesheets/events.css.sass +++ b/app/assets/stylesheets/events.css.sass @@ -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 diff --git a/app/views/events/_form.html.haml b/app/views/events/_form.html.haml index 5d9824f1..32fb0f80 100644 --- a/app/views/events/_form.html.haml +++ b/app/views/events/_form.html.haml @@ -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