mirror of
https://github.com/almet/copanier.git
synced 2025-04-28 19:42:37 +02:00
danger button CSS
This commit is contained in:
parent
6db17fa56e
commit
85521846e6
3 changed files with 16 additions and 3 deletions
|
@ -208,6 +208,13 @@ input[type=submit].primary {
|
|||
background: var(--primary-color);
|
||||
}
|
||||
|
||||
button.primary:hover,
|
||||
a.button.primary:hover,
|
||||
input[type=submit].primary:hover {
|
||||
background-color: #fff;
|
||||
color: var(--primary-color);
|
||||
}
|
||||
|
||||
button.danger,
|
||||
a.button.danger,
|
||||
input[type=submit].danger {
|
||||
|
@ -215,6 +222,13 @@ input[type=submit].danger {
|
|||
border-color: #d9534f;
|
||||
}
|
||||
|
||||
button.danger:hover,
|
||||
a.button.danger:hover,
|
||||
input[type=submit].danger:hover {
|
||||
background-color: #d9534f;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
|
||||
/* Forms */
|
||||
|
||||
|
@ -445,7 +459,6 @@ hr {
|
|||
background: white;
|
||||
padding: 5px;
|
||||
z-index: 100;
|
||||
text-align: center;
|
||||
overflow-y: auto;
|
||||
white-space: normal;
|
||||
}
|
||||
|
|
|
@ -99,7 +99,7 @@
|
|||
{% else %}
|
||||
{% if request.user and request.user.is_staff %}
|
||||
<li>
|
||||
<a href="/livraison/{{ delivery.id }}/désarchiver"><i class="icon-hazardous"></i> Désarchiver</a>
|
||||
<a href="/livraison/{{ delivery.id }}/désarchiver" class="button danger"><i class="icon-hazardous"></i> Désarchiver</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
<ul class="toolbox">
|
||||
{% if delivery.status == delivery.CLOSED %}
|
||||
<li>
|
||||
<a href="/livraison/{{ delivery.id }}/archiver"><i class="icon-hazardous"></i> Archiver</a>
|
||||
<a href="/livraison/{{ delivery.id }}/archiver" class="button danger"><i class="icon-hazardous"></i> Archiver</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
<li>
|
||||
|
|
Loading…
Reference in a new issue