From 76b4aaa00cd77c6bebf2aae029bb5e757aaff86a Mon Sep 17 00:00:00 2001 From: Ambulance Clerc Date: Thu, 10 Nov 2022 14:59:29 +0100 Subject: [PATCH] =?UTF-8?q?Am=C3=A9lioration=20visuel=20v=C3=A9hicule?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vehicles/static/vehicles/style.css | 24 +++++++++++++++++++++++- vehicles/templates/vhc/vhc.html | 10 +++++----- 2 files changed, 28 insertions(+), 6 deletions(-) diff --git a/vehicles/static/vehicles/style.css b/vehicles/static/vehicles/style.css index 2988e42..213ec15 100644 --- a/vehicles/static/vehicles/style.css +++ b/vehicles/static/vehicles/style.css @@ -1,6 +1,28 @@ + /* ===== Scrollbar CSS ===== */ + /* Firefox */ + * { + scrollbar-width: auto; + scrollbar-color: #ffffff #ffffff; + } + + /* Chrome, Edge, and Safari */ + *::-webkit-scrollbar { + width: 12px; + } + + *::-webkit-scrollbar-track { + background: black; + } + + *::-webkit-scrollbar-thumb { + background-color: #ffffff; + border-radius: 15px; + border: 3px solid #ffffff; + } :root{ --main-text-color: white; --main-text-family: 'Source Sans Pro', sans-serif; + --main-child-container-height: 175px; } .main_container{ width: 100%; @@ -30,7 +52,7 @@ gap: 0px; align-items: stretch; } - .child div{ + .child_box div{ } diff --git a/vehicles/templates/vhc/vhc.html b/vehicles/templates/vhc/vhc.html index 416420b..51b0a0f 100644 --- a/vehicles/templates/vhc/vhc.html +++ b/vehicles/templates/vhc/vhc.html @@ -19,7 +19,7 @@
-
+
Infos techniques {% for info in vhc.get_all_infos_tech %}
@@ -30,7 +30,7 @@
-
+
Matériels manquants {% for info in vhc.get_all_infos_mat %}
@@ -39,17 +39,17 @@
{% endfor %}
-
+
Péremptions
-
+
{% for info in vhc.get_all_infos_perempt_perma %} {{info.sDesc}}
{% endfor %}
-
+
{% for info in vhc.get_all_infos_perempt %} {{info.sDesc}}
{% endfor %}