Commit fa3a81e3 authored by Théo Labetowiez's avatar Théo Labetowiez

[CORE] - Making some front fix

parent c2b28c30
Pipeline #2033 passed with stage
in 25 minutes and 15 seconds
...@@ -1541,7 +1541,7 @@ textarea { ...@@ -1541,7 +1541,7 @@ textarea {
text-align: center; text-align: center;
input { input {
text-decoration: none; text-decoration: none;
background-color: #aed6f1; background-color: #e6e6e6;
padding: 15px; padding: 15px;
float: none; float: none;
color: darkslategray; color: darkslategray;
...@@ -1550,14 +1550,19 @@ textarea { ...@@ -1550,14 +1550,19 @@ textarea {
transition-duration: 0.3s; transition-duration: 0.3s;
cursor: pointer; cursor: pointer;
&:hover { &:hover {
background-color: #3498DB; background-color: #c9c9c9;
}
&:disabled {
background-color: #c9c9c9;
color: slategray;
&.current {
background-color: rgb(82, 186, 255);
}
} }
}
.current {
background-color: #3498DB;
} }
} }
/*--------------------------------FOOTER-------------------------------*/ /*--------------------------------FOOTER-------------------------------*/
footer { footer {
......
...@@ -124,7 +124,7 @@ ...@@ -124,7 +124,7 @@
{% endif %} {% endif %}
{% for i in paginator.page_range %} {% for i in paginator.page_range %}
{% if page_obj.number == i %} {% if page_obj.number == i %}
<input type="button" value="{{ i }}" class="current" disabled> <input type="button" value="{{ i }}" disabled class="current">
{% elif (i <= 2 + page_obj.number and i >= page_obj.number - 2) or paginator.num_pages == i or i == 1 %} {% elif (i <= 2 + page_obj.number and i >= page_obj.number - 2) or paginator.num_pages == i or i == 1 %}
<input type="button" value="{{ i }}" onclick="window.location.href='?page={{ i }}'" > <input type="button" value="{{ i }}" onclick="window.location.href='?page={{ i }}'" >
{% endif %} {% endif %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment