From b165bc26593ed817dde0e335ce0de33c4a6af1db Mon Sep 17 00:00:00 2001 From: lehmann Date: Tue, 15 Feb 2022 11:45:56 +0100 Subject: [PATCH] =?UTF-8?q?Rang=20+=20am=C3=A9lioration=20espacements?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/static/css/releve-but.css | 19 +++++++++++++++++-- app/static/js/releve-but.js | 1 + 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/app/static/css/releve-but.css b/app/static/css/releve-but.css index a20c8bfa..02cceb94 100644 --- a/app/static/css/releve-but.css +++ b/app/static/css/releve-but.css @@ -97,7 +97,8 @@ section>div:nth-child(1){ .hide_coef .synthese em, .hide_coef .eval>em, .hide_date_inscr .dateInscription, -.hide_ects .ects{ +.hide_ects .ects, +.hide_rangs .rang{ display: none; } @@ -158,7 +159,10 @@ section>div:nth-child(1){ text-align: right; } .rang{ - text-decoration: underline var(--couleurIntense); + font-weight: bold; +} +.ue .rang{ + font-weight: 400; } .decision{ margin: 5px 0; @@ -186,6 +190,9 @@ section>div:nth-child(1){ .synthese h3{ background: var(--couleurFondTitresUE); } +.synthese .ue>div{ + text-align: right; +} .synthese em, .eval em{ opacity: 0.6; @@ -308,6 +315,14 @@ h3{ margin-bottom: 8px; } +@media screen and (max-width: 700px) { + section{ + padding: 16px; + } + .syntheseModule, .eval { + margin: 0; + } +} /*.absences{ display: grid; grid-template-columns: auto auto; diff --git a/app/static/js/releve-but.js b/app/static/js/releve-but.js index 5dcd9e5b..c0273e6a 100644 --- a/app/static/js/releve-but.js +++ b/app/static/js/releve-but.js @@ -254,6 +254,7 @@ class releveBUT extends HTMLElement {
Moyenne : ${dataUE.moyenne?.value || "-"}
+
Rang : ${dataUE.moyenne?.rang} / ${dataUE.moyenne?.total}
Bonus : ${dataUE.bonus || 0} - Malus : ${dataUE.malus || 0} -- 2.40.1