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);
|
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,
|
button.danger,
|
||||||
a.button.danger,
|
a.button.danger,
|
||||||
input[type=submit].danger {
|
input[type=submit].danger {
|
||||||
|
@ -215,6 +222,13 @@ input[type=submit].danger {
|
||||||
border-color: #d9534f;
|
border-color: #d9534f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
button.danger:hover,
|
||||||
|
a.button.danger:hover,
|
||||||
|
input[type=submit].danger:hover {
|
||||||
|
background-color: #d9534f;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Forms */
|
/* Forms */
|
||||||
|
|
||||||
|
@ -445,7 +459,6 @@ hr {
|
||||||
background: white;
|
background: white;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
text-align: center;
|
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
white-space: normal;
|
white-space: normal;
|
||||||
}
|
}
|
||||||
|
|
|
@ -99,7 +99,7 @@
|
||||||
{% else %}
|
{% else %}
|
||||||
{% if request.user and request.user.is_staff %}
|
{% if request.user and request.user.is_staff %}
|
||||||
<li>
|
<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>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
<ul class="toolbox">
|
<ul class="toolbox">
|
||||||
{% if delivery.status == delivery.CLOSED %}
|
{% if delivery.status == delivery.CLOSED %}
|
||||||
<li>
|
<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>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<li>
|
<li>
|
||||||
|
|
Loading…
Reference in a new issue