Fixes contrast on danger buttons

This commit is contained in:
Mouse Reeve 2020-11-09 12:10:37 -08:00
parent 7042e59402
commit 0f4df08769
7 changed files with 7 additions and 7 deletions

View file

@ -132,7 +132,7 @@
<form name="delete-readthrough-{{ readthrough.id }}" action="/delete-readthrough" method="POST"> <form name="delete-readthrough-{{ readthrough.id }}" action="/delete-readthrough" method="POST">
{% csrf_token %} {% csrf_token %}
<input type="hidden" name="id" value="{{ readthrough.id }}"> <input type="hidden" name="id" value="{{ readthrough.id }}">
<button class="button is-danger" type="submit"> <button class="button is-danger is-light" type="submit">
Delete Delete
</button> </button>
<label for="delete-readthrough-{{ readthrough.id }}" class="button">Cancel</button> <label for="delete-readthrough-{{ readthrough.id }}" class="button">Cancel</button>

View file

@ -78,7 +78,7 @@
</div> </div>
<div class="block"> <div class="block">
<button class="button is-primary" type="submit">Save</button> <button class="button is-primary" type="submit">Save</button>
<a class="button is-danger is-light" href="/book/{{ book.id }}">Cancel</a> <a class="button" href="/book/{{ book.id }}">Cancel</a>
</div> </div>
</form> </form>

View file

@ -6,7 +6,7 @@
<form name="clear" action="/clear-notifications" method="POST"> <form name="clear" action="/clear-notifications" method="POST">
{% csrf_token %} {% csrf_token %}
<button class="button is-danger" type="submit" class="secondary">Delete notifications</button> <button class="button is-danger is-light" type="submit" class="secondary">Delete notifications</button>
</form> </form>
</div> </div>

View file

@ -19,6 +19,6 @@ Follow request already sent.
<form action="/unfollow/" method="POST" onsubmit="interact(event)" class="follow-{{ user.id }} {% if not request.user in user.followers.all %}hidden{%endif %}" data-id="follow-{{ user.id }}"> <form action="/unfollow/" method="POST" onsubmit="interact(event)" class="follow-{{ user.id }} {% if not request.user in user.followers.all %}hidden{%endif %}" data-id="follow-{{ user.id }}">
{% csrf_token %} {% csrf_token %}
<input type="hidden" name="user" value="{{ user.username }}"> <input type="hidden" name="user" value="{{ user.username }}">
<button class="button is-small is-danger" type="submit">Unfollow</button> <button class="button is-small is-danger is-light" type="submit">Unfollow</button>
</form> </form>
{% endif %} {% endif %}

View file

@ -8,6 +8,6 @@
<form action="/delete_follow_request/" method="POST"> <form action="/delete_follow_request/" method="POST">
{% csrf_token %} {% csrf_token %}
<input type="hidden" name="user" value="{{ user.username }}"> <input type="hidden" name="user" value="{{ user.username }}">
<button class="button is-danger is-small" type="submit" class="warning">Delete</button> <button class="button is-danger is-light is-small" type="submit" class="warning">Delete</button>
</form> </form>
{% endif %} {% endif %}

View file

@ -23,7 +23,7 @@
{% csrf_token %} {% csrf_token %}
<input type="hidden" name="book" value="{{ book.id }}"> <input type="hidden" name="book" value="{{ book.id }}">
<input type="hidden" name="shelf" value="{{ current.id }}"> <input type="hidden" name="shelf" value="{{ current.id }}">
<button class="button is-small is-danger" type="submit">Unshelve</button> <button class="button is-small is-danger is-light" type="submit">Unshelve</button>
</form> </form>
</li> </li>
</ul> </ul>

View file

@ -97,7 +97,7 @@
<form name="delete-{{status.id}}" action="/delete-status" method="post"> <form name="delete-{{status.id}}" action="/delete-status" method="post">
{% csrf_token %} {% csrf_token %}
<input type="hidden" name="status" value="{{ status.id }}"> <input type="hidden" name="status" value="{{ status.id }}">
<button class="button is-danger" type="submit"> <button class="button is-danger is-light" type="submit">
Delete post Delete post
</button> </button>
</form> </form>