Skip to content

Commit

Permalink
Improve timeline button styling and add active state
Browse files Browse the repository at this point in the history
  • Loading branch information
QA2A committed Aug 15, 2024
1 parent e1d017b commit 5d11321
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/templates/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
<div class="timeline-container">

{% for day in application_days %}
<a href="?date={{ day.date|date:'Y-m-d' }}" class="timeline-button {% if request.GET.date == day.date|date:'Y-m-d' %}active{% endif %}">
<a href="?date={{ day.date|date:'Y-m-d' }}" class="timeline-button {% if request.GET.date == day.date|date:'Y-m-d' %}active-day{% endif %}">
<strong>{{ day.date|date:"m/d" }}</strong>
<br>
A: {{ day.count }}
Expand Down Expand Up @@ -179,7 +179,7 @@
a.visited {
color: #ccc;
}
.active {
.active-day {
background-color: #007bff;
color: white;
}
Expand Down

0 comments on commit 5d11321

Please sign in to comment.