diff --git a/app/assets/stylesheets/_forms.scss b/app/assets/stylesheets/_forms.scss index d9bb48a..ec1fe35 100644 --- a/app/assets/stylesheets/_forms.scss +++ b/app/assets/stylesheets/_forms.scss @@ -22,6 +22,24 @@ } } +.action-button { + width: 100%; + width: 10em; + height: 2.3em; + min-width: 4em; + border: 0.2em; + border-radius: 0.9em; + background-color: $color-primary; +} + +.form-footer { + .action-button { + min-width: 4em; + width: 100%; + width: 10em; + } +} + .form-label { cursor: pointer; font-weight: bold; diff --git a/app/views/devise/passwords/new.html.erb b/app/views/devise/passwords/new.html.erb index 068ec0c..5f29f6c 100644 --- a/app/views/devise/passwords/new.html.erb +++ b/app/views/devise/passwords/new.html.erb @@ -9,7 +9,7 @@ <%= f.email_field :email, autofocus: true, autocomplete: "email", class: 'form-field' %> <% end %> diff --git a/app/views/devise/registrations/new.html.erb b/app/views/devise/registrations/new.html.erb index 261bbaa..bb3fc0c 100644 --- a/app/views/devise/registrations/new.html.erb +++ b/app/views/devise/registrations/new.html.erb @@ -18,7 +18,7 @@ <%= f.password_field :password_confirmation, autocomplete: "off", class: 'form-field' %> <% end %> <%= render "devise/shared/links" %> diff --git a/app/views/devise/sessions/new.html.erb b/app/views/devise/sessions/new.html.erb index 6edfbad..77e302c 100644 --- a/app/views/devise/sessions/new.html.erb +++ b/app/views/devise/sessions/new.html.erb @@ -12,7 +12,7 @@ <% end -%> <%= render "devise/shared/links" %> diff --git a/app/views/health_attributes/_form.erb b/app/views/health_attributes/_form.erb index 52bcdeb..f65b0ed 100644 --- a/app/views/health_attributes/_form.erb +++ b/app/views/health_attributes/_form.erb @@ -5,7 +5,7 @@ <%= f.text_field :name, class: "form-field" %> <%= hidden_field_tag 'target_id', @target.id %> <% end %> \ No newline at end of file diff --git a/app/views/projects/_form.html.erb b/app/views/projects/_form.html.erb index 76f825c..1ea5640 100644 --- a/app/views/projects/_form.html.erb +++ b/app/views/projects/_form.html.erb @@ -9,7 +9,7 @@ <% end %> diff --git a/app/views/targets/_form.html.erb b/app/views/targets/_form.html.erb index bc556ac..572ec43 100644 --- a/app/views/targets/_form.html.erb +++ b/app/views/targets/_form.html.erb @@ -10,7 +10,7 @@ <%= hidden_field_tag 'project_id', @project.id %> <% end %> <%= render partial: 'hints' %> diff --git a/app/views/tasks/_form.html.erb b/app/views/tasks/_form.html.erb index a584e6f..526c82d 100644 --- a/app/views/tasks/_form.html.erb +++ b/app/views/tasks/_form.html.erb @@ -13,7 +13,7 @@ <%= hidden_field_tag 'project_id', @project.id %> <% end %>