Amélioration visuel véhicule

This commit is contained in:
Ambulance Clerc
2022-11-10 14:59:29 +01:00
parent 2c3c630b9f
commit 76b4aaa00c
2 changed files with 28 additions and 6 deletions

View File

@@ -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{ :root{
--main-text-color: white; --main-text-color: white;
--main-text-family: 'Source Sans Pro', sans-serif; --main-text-family: 'Source Sans Pro', sans-serif;
--main-child-container-height: 175px;
} }
.main_container{ .main_container{
width: 100%; width: 100%;
@@ -30,7 +52,7 @@
gap: 0px; gap: 0px;
align-items: stretch; align-items: stretch;
} }
.child div{ .child_box div{
} }

View File

@@ -19,7 +19,7 @@
</div> </div>
<div class="child_box" style="height: 70%;"> <div class="child_box" style="height: 70%;">
<div style="width: 46%; padding: 2px;"> <div style="width: 46%; padding: 2px;height: var(--main-child-container-height);">
<b>Infos techniques</b> <b>Infos techniques</b>
{% for info in vhc.get_all_infos_tech %} {% for info in vhc.get_all_infos_tech %}
<div style="margin-top: 15px"> <div style="margin-top: 15px">
@@ -30,7 +30,7 @@
</div> </div>
<div style="width: 46%;padding: 2px;"> <div style="width: 46%;padding: 2px;height: var(--main-child-container-height);">
<b>Matériels manquants</b> <b>Matériels manquants</b>
{% for info in vhc.get_all_infos_mat %} {% for info in vhc.get_all_infos_mat %}
<div style="margin-top: 15px"> <div style="margin-top: 15px">
@@ -39,17 +39,17 @@
</div> </div>
{% endfor %} {% endfor %}
</div> </div>
<div style="width: 350px; "> <div style="width: 350px;height: var(--main-child-container-height); ">
<b>Péremptions</b> <b>Péremptions</b>
<div class="child_box"> <div class="child_box">
<div style="width: 170px;"> <div style="width: 170px;margin-top: 15px">
{% for info in vhc.get_all_infos_perempt_perma %} {% for info in vhc.get_all_infos_perempt_perma %}
<a href="/admin/vehicles/vehicles_infos/{{info.id}}" target="_blank">{{info.sDesc}}</a><br> <a href="/admin/vehicles/vehicles_infos/{{info.id}}" target="_blank">{{info.sDesc}}</a><br>
{% endfor %} {% endfor %}
</div> </div>
<div style="width: 170px;"> <div style="width: 170px;margin-top: 15px">
{% for info in vhc.get_all_infos_perempt %} {% for info in vhc.get_all_infos_perempt %}
<a href="/admin/vehicles/vehicles_infos/{{info.id}}" target="_blank">{{info.sDesc}}</a> <br> <a href="/admin/vehicles/vehicles_infos/{{info.id}}" target="_blank">{{info.sDesc}}</a> <br>
{% endfor %} {% endfor %}