diff --git a/app/views/imports/_form.html.erb b/app/views/imports/_form.html.erb index 783a1350..e8a81caf 100644 --- a/app/views/imports/_form.html.erb +++ b/app/views/imports/_form.html.erb @@ -3,5 +3,5 @@ <%= form.collection_select :account_id, Current.family.accounts.alphabetically, :id, :name, { prompt: t(".select_account"), label: t(".account"), required: true } %> - <%= form.submit t(".next"), class: "px-4 py-2 block w-full rounded-lg bg-gray-900 text-white text-sm font-medium" %> + <%= form.submit t(".next"), class: "px-4 py-2 block w-full rounded-lg bg-gray-900 text-white text-sm font-medium cursor-pointer hover:bg-gray-700" %> <% end %> diff --git a/app/views/imports/clean.html.erb b/app/views/imports/clean.html.erb index 05f94db9..1a351cf8 100644 --- a/app/views/imports/clean.html.erb +++ b/app/views/imports/clean.html.erb @@ -44,6 +44,6 @@ <% if @import.csv.valid? %> - <%= link_to "Next", confirm_import_path(@import), class: "px-4 py-2 block w-60 text-center mx-auto rounded-lg bg-gray-900 text-white text-sm font-medium", data: { turbo: false } %> + <%= link_to "Next", confirm_import_path(@import), class: "px-4 py-2 block w-60 text-center mx-auto rounded-lg bg-gray-900 text-white text-sm font-medium hover:bg-gray-700", data: { turbo: false } %> <% end %> diff --git a/app/views/imports/configure.html.erb b/app/views/imports/configure.html.erb index a90158b7..0cace83f 100644 --- a/app/views/imports/configure.html.erb +++ b/app/views/imports/configure.html.erb @@ -20,6 +20,6 @@ <% end %> - <%= form.submit t(".next"), class: "px-4 py-2 block w-full rounded-lg bg-gray-900 text-white text-sm font-medium", data: { turbo_confirm: (@import.column_mappings? ? { title: t(".confirm_title"), body: t(".confirm_body"), accept: t(".confirm_accept") } : nil) } %> + <%= form.submit t(".next"), class: "px-4 py-2 block w-full rounded-lg bg-gray-900 text-white text-sm font-medium cursor-pointer hover:bg-gray-700", data: { turbo_confirm: (@import.column_mappings? ? { title: t(".confirm_title"), body: t(".confirm_body"), accept: t(".confirm_accept") } : nil) } %> <% end %> diff --git a/app/views/imports/confirm.html.erb b/app/views/imports/confirm.html.erb index b973f251..70c6a3f5 100644 --- a/app/views/imports/confirm.html.erb +++ b/app/views/imports/confirm.html.erb @@ -20,5 +20,5 @@ <% end %> - <%= button_to "Import " + @import.csv.table.size.to_s + " transactions", confirm_import_path(@import), method: :patch, class: "px-4 py-2 block w-60 text-center mx-auto rounded-lg bg-gray-900 text-white text-sm font-medium", data: { turbo: false } %> + <%= button_to "Import " + @import.csv.table.size.to_s + " transactions", confirm_import_path(@import), method: :patch, class: "px-4 py-2 block w-60 text-center mx-auto rounded-lg bg-gray-900 text-white text-sm font-medium hover:bg-gray-700", data: { turbo: false } %> diff --git a/app/views/imports/load.html.erb b/app/views/imports/load.html.erb index 0565077a..8bf7cb82 100644 --- a/app/views/imports/load.html.erb +++ b/app/views/imports/load.html.erb @@ -17,7 +17,7 @@ class: "rounded-md w-full border text-sm border-alpha-black-100 bg-white placeholder:text-gray-400 p-4" %> - <%= form.submit t(".next"), class: "px-4 py-2 block w-full rounded-lg bg-gray-900 text-white text-sm font-medium", data: { turbo_confirm: (@import.raw_csv_str? ? { title: t(".confirm_title"), body: t(".confirm_body"), accept: t(".confirm_accept") } : nil) } %> + <%= form.submit t(".next"), class: "px-4 py-2 block w-full rounded-lg bg-gray-900 text-white text-sm font-medium cursor-pointer hover:bg-gray-700", data: { turbo_confirm: (@import.raw_csv_str? ? { title: t(".confirm_title"), body: t(".confirm_body"), accept: t(".confirm_accept") } : nil) } %> <% end %>
diff --git a/app/views/layouts/imports.html.erb b/app/views/layouts/imports.html.erb index e44ffb25..abd8eaa7 100644 --- a/app/views/layouts/imports.html.erb +++ b/app/views/layouts/imports.html.erb @@ -24,7 +24,7 @@
<%= link_to content_for(:return_to_path) do %> - <%= lucide_icon("x", class: "text-gray-500 w-5 h-5") %> + <%= lucide_icon("x", class: "text-gray-500 w-8 h-8 hover:bg-gray-100 rounded-full p-2") %> <% end %>