From 0877cc82105e0441b77b0a8688831f02195d7a62 Mon Sep 17 00:00:00 2001 From: "theo@manjaro" Date: Wed, 15 Jun 2022 23:59:48 +0200 Subject: [PATCH] Les boutons ont une taille "normale" --- static/style.css | 12 ++++++++++++ templates/free-rooms.html | 12 ++++++------ 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/static/style.css b/static/style.css index d4e3d14..ea614f4 100644 --- a/static/style.css +++ b/static/style.css @@ -69,6 +69,13 @@ main p { flex-direction: column; } +.room-row{ + display: flex; + justify-content: space-between; + flex-direction: row; + align-items: center; +} + /* Style The Dropdown Button */ .dropbtn { color: var(--fg); @@ -242,6 +249,11 @@ input[type="checkbox"] + label { box-shadow: 5px 5px black; } +.fav label { + width: 50px; + height: 50px; +} + .done { background: var(--bg-dark); text-decoration: line-through; diff --git a/templates/free-rooms.html b/templates/free-rooms.html index adcb89c..93a49f3 100644 --- a/templates/free-rooms.html +++ b/templates/free-rooms.html @@ -34,10 +34,10 @@
@@ -49,7 +49,7 @@
    {% for room in favs_soon_rooms: %} -
    {{ room.name }} {% if DEBUG :%}( {{ room.id }} ){% endif %} +
    {{ room.name }} {% if DEBUG :%}( {{ room.id }} ){% endif %}
    {% if room.end.hour == 23 and room.end.minute == 59 and room.end.second == 59 : %}
    À {{ frooms_disp[room.name]["start"] }} (dans {{ frooms_disp[room.name]["rtime"] }}) {% else %} @@ -67,7 +67,7 @@
      {% for room in free_rooms: %} -
      {{ room.name }} {% if DEBUG :%}( {{ room.id }} ){% endif %} +
      {{ room.name }} {% if DEBUG :%}( {{ room.id }} ){% endif %}
      {% if not(room.end.hour == 23 and room.end.minute == 59 and room.end.second == 59) : %}
      Jusqu'à {{ frooms_disp[room.name]["end"] }} (dans {{ frooms_disp[room.name]["rtime"] }}) {% endif %} @@ -82,7 +82,7 @@
        {% for room in soon_rooms: %} -
        {{ room.name }} {% if DEBUG :%}( {{ room.id }} ){% endif %} +
        {{ room.name }} {% if DEBUG :%}( {{ room.id }} ){% endif %}
        {% if room.end.hour == 23 and room.end.minute == 59 and room.end.second == 59 : %}
        À {{ frooms_disp[room.name]["start"] }} (dans {{ frooms_disp[room.name]["rtime"] }}) {% else %}