Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix cancel button color to have ghost button style #3248

Merged
merged 1 commit into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ <h3>
<div class="flex justify-between mt-4">
<button type="button"
id="btn-close-machine-translation-overlay"
class="btn !bg-red-500">
class="btn btn-ghost">
{% translate "Cancel" %}
</button>
<button id="machine-translation-overlay-bulk-action-execute"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ <h3 id="confirmation-subject" class="text-center mt-4 mb-6 break-words">
<form method="post" action="#">
{% csrf_token %}
<div class="flex justify-end gap-2">
<button id="close-confirmation-popup" class="btn btn-outline">
<button id="close-confirmation-popup" class="btn btn-ghost">
{% translate "Cancel" %}
</button>
<button class="btn">
Expand Down
2 changes: 1 addition & 1 deletion integreat_cms/cms/templates/linkcheck/link_list_row.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
<div class="flex gap-2 p-2">
{% render_field edit_url_form.url|add_error_class:"border-red-500" type="url" form="edit-url-form" %}
<a href="{% url_for_current_region 'linkcheck' request url_filter=view.kwargs.url_filter %}{{ pagination_params }}"
class="btn btn-red">{% translate "Cancel" %}</a>
class="btn btn-ghost">{% translate "Cancel" %}</a>
<button type="submit" form="edit-url-form" class="btn">
{% translate "Save" %}
</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,9 @@
<i icon-name="check" class="h-5"></i>
{% translate "Confirm" %}
</button>
<button id="discard_map_input" type="button" class="btn btn-red w-full mt-2">
<button id="discard_map_input"
type="button"
class="btn btn-ghost w-full mt-2">
<i icon-name="x" class="h-5"></i>
{% translate "Cancel" %}
</button>
Expand Down
Loading