Bul. BUT: reformat css + taille font décision.

This commit is contained in:
Emmanuel Viennet 2022-07-16 14:53:52 +02:00
parent b8bb61ef42
commit a864989d05

View File

@ -2,57 +2,75 @@
/*******************/ /*******************/
/* Styles généraux */ /* Styles généraux */
/*******************/ /*******************/
.wait{ .wait {
width: 60px; width: 60px;
height: 6px; height: 6px;
margin: auto; margin: auto;
background: #424242; /* la réponse à tout */ background: #424242;
/* la réponse à tout */
animation: wait .4s infinite alternate; animation: wait .4s infinite alternate;
} }
@keyframes wait{
100%{transform: translateY(40px) rotate(1turn);} @keyframes wait {
100% {
transform: translateY(40px) rotate(1turn);
}
} }
main{
--couleurPrincipale: rgb(240,250,255); main {
--couleurFondTitresUE: #b6ebff; --couleurPrincipale: rgb(240, 250, 255);
--couleurFondTitresUE: #b6ebff;
--couleurFondTitresRes: #f8c844; --couleurFondTitresRes: #f8c844;
--couleurFondTitresSAE: #c6ffab; --couleurFondTitresSAE: #c6ffab;
--couleurSecondaire: #fec; --couleurSecondaire: #fec;
--couleurIntense: rgb(4, 16, 159);; --couleurIntense: rgb(4, 16, 159);
;
--couleurSurlignage: rgba(255, 253, 110, 0.49); --couleurSurlignage: rgba(255, 253, 110, 0.49);
max-width: 1000px; max-width: 1000px;
margin: auto; margin: auto;
display: none; display: none;
} }
.releve a, .releve a:visited {
.releve a,
.releve a:visited {
color: navy; color: navy;
text-decoration: none; text-decoration: none;
} }
.releve a:hover { .releve a:hover {
color: red; color: red;
text-decoration: underline; text-decoration: underline;
} }
.ready .wait{display: none;} .ready .wait {
.ready main{display: block;} display: none;
h2{ }
.ready main {
display: block;
}
h2 {
margin: 0; margin: 0;
color: black; color: black;
} }
section{
section {
background: #FFF; background: #FFF;
border-radius: 16px; border-radius: 16px;
border: 1px solid #AAA; border: 1px solid #AAA;
padding: 16px 32px; padding: 16px 32px;
margin: 8px 0; margin: 8px 0;
} }
section>div:nth-child(1){
section>div:nth-child(1) {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
gap: 8px; gap: 8px;
} }
.CTA_Liste{
.CTA_Liste {
display: flex; display: flex;
gap: 4px; gap: 4px;
align-items: center; align-items: center;
@ -60,41 +78,47 @@ section>div:nth-child(1){
color: #FFF; color: #FFF;
padding: 4px 8px; padding: 4px 8px;
border-radius: 4px; border-radius: 4px;
box-shadow: 0 2px 2px rgba(0,0,0,0.26); box-shadow: 0 2px 2px rgba(0, 0, 0, 0.26);
cursor: pointer; cursor: pointer;
} }
.CTA_Liste>svg{
.CTA_Liste>svg {
transition: 0.2s; transition: 0.2s;
} }
.CTA_Liste:hover{
.CTA_Liste:hover {
outline: 2px solid #424242; outline: 2px solid #424242;
} }
.listeOff svg{
.listeOff svg {
transform: rotate(180deg); transform: rotate(180deg);
} }
.listeOff .syntheseModule, .listeOff .syntheseModule,
.listeOff .eval{ .listeOff .eval {
display: none; display: none;
} }
.moduleOnOff>.syntheseModule, .moduleOnOff>.syntheseModule,
.moduleOnOff>.eval{ .moduleOnOff>.eval {
display: none; display: none;
} }
.listeOff .moduleOnOff>.syntheseModule, .listeOff .moduleOnOff>.syntheseModule,
.listeOff .moduleOnOff>.eval{ .listeOff .moduleOnOff>.eval {
display: flex !important; display: flex !important;
} }
.listeOff .ue::before, .listeOff .ue::before,
.listeOff .module::before, .listeOff .module::before,
.moduleOnOff .ue::before, .moduleOnOff .ue::before,
.moduleOnOff .module::before{ .moduleOnOff .module::before {
transform: rotate(0); transform: rotate(0);
} }
.listeOff .moduleOnOff .ue::before, .listeOff .moduleOnOff .ue::before,
.listeOff .moduleOnOff .module::before{ .listeOff .moduleOnOff .module::before {
transform: rotate(180deg) !important; transform: rotate(180deg) !important;
} }
/***********************/ /***********************/
@ -107,24 +131,25 @@ section>div:nth-child(1){
.hide_coef .eval>em, .hide_coef .eval>em,
.hide_date_inscr .dateInscription, .hide_date_inscr .dateInscription,
.hide_ects .ects, .hide_ects .ects,
.hide_rangs .rang{ .hide_rangs .rang {
display: none; display: none;
} }
/*.module>.absences,*/ /*.module>.absences,*/
.module .moyenne, .module .moyenne,
.module .info{ .module .info {
display: none; display: none;
} }
/************/ /************/
/* Etudiant */ /* Etudiant */
/************/ /************/
.info_etudiant{ .info_etudiant {
color: #000; color: #000;
text-decoration: none; text-decoration: none;
} }
.etudiant{
.etudiant {
display: flex; display: flex;
align-items: center; align-items: center;
gap: 16px; gap: 16px;
@ -132,7 +157,8 @@ section>div:nth-child(1){
background: var(--couleurPrincipale); background: var(--couleurPrincipale);
color: rgb(0, 0, 0); color: rgb(0, 0, 0);
} }
.civilite{
.civilite {
font-weight: bold; font-weight: bold;
font-size: 130%; font-size: 130%;
} }
@ -140,103 +166,123 @@ section>div:nth-child(1){
/************/ /************/
/* Semestre */ /* Semestre */
/************/ /************/
.flex{ .flex {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 8px;
}
.infoSemestre{
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
align-items: flex-start; gap: 8px;
margin-top: 8px;
}
.infoSemestre {
display: flex;
flex-wrap: wrap;
align-items: flex-start;
gap: 4px; gap: 4px;
} }
.infoSemestre>div{
.infoSemestre>div {
border: 1px solid var(--couleurIntense); border: 1px solid var(--couleurIntense);
padding: 4px 8px; padding: 4px 8px;
border-radius: 4px; border-radius: 4px;
display: grid; display: grid;
grid-template-columns: auto auto; grid-template-columns: auto auto;
column-gap: 4px; column-gap: 4px;
flex: none; flex: none;
} }
.infoSemestre>div>div:nth-child(even){ .infoSemestre>div>div:nth-child(even) {
text-align: right; text-align: right;
} }
.photo { .photo {
border: none; border: none;
margin-left: auto; margin-left: auto;
} }
.rang, .competence{
font-weight: bold; .rang,
.competence {
font-weight: bold;
} }
.ue .rang{
font-weight: 400; .ue .rang {
font-weight: 400;
} }
.absencesRecap { .absencesRecap {
align-items: baseline; align-items: baseline;
} }
.absencesRecap > div:nth-child(2n) {
.absencesRecap>div:nth-child(2n) {
font-weight: normal; font-weight: normal;
} }
.abs { .abs {
font-weight: bold; font-weight: bold;
} }
.decision{
margin: 5px 0; .decision {
font-weight: bold; margin: 5px 0;
font-size: 20px;
}
#ects_tot, .decision, .decision_annee {
font-weight: bold;
font-size: 20px;
margin-top: 8px;
}
.enteteSemestre{
color: black;
font-weight: bold; font-weight: bold;
font-size: 20px; font-size: 16px;
}
#ects_tot,
.decision,
.decision_annee {
font-weight: bold;
font-size: 16px;
margin-top: 8px;
}
.enteteSemestre {
color: black;
font-weight: bold;
font-size: 16px;
margin-bottom: 4px; margin-bottom: 4px;
} }
/***************/ /***************/
/* Zone custom */ /* Zone custom */
/***************/ /***************/
.custom:empty{ .custom:empty {
display: none; display: none;
} }
/***************/ /***************/
/* Synthèse */ /* Synthèse */
/***************/ /***************/
.synthese .ue, .synthese .ue,
.synthese h3{ .synthese h3 {
background: var(--couleurFondTitresUE); background: var(--couleurFondTitresUE);
} }
.synthese .ue>div{
text-align: right; .synthese .ue>div {
text-align: right;
} }
.synthese em, .synthese em,
.eval em{ .eval em {
opacity: 0.6; opacity: 0.6;
min-width: 80px; min-width: 80px;
display: inline-block; display: inline-block;
} }
.ueBonus, .ueBonus,
.ueBonus h3{ .ueBonus h3 {
background: var(--couleurFondTitresSAE) !important; background: var(--couleurFondTitresSAE) !important;
color: #000 !important; color: #000 !important;
} }
/***************/ /***************/
/* Evaluations */ /* Evaluations */
/***************/ /***************/
.evaluations>div, .evaluations>div,
.sae>div{ .sae>div {
scroll-margin-top: 60px; scroll-margin-top: 60px;
} }
.module, .ue {
.module,
.ue {
color: #000; color: #000;
padding: 4px 32px; padding: 4px 32px;
border-radius: 4px; border-radius: 4px;
@ -244,37 +290,46 @@ section>div:nth-child(1){
gap: 16px; gap: 16px;
margin: 4px 0 2px 0; margin: 4px 0 2px 0;
overflow-x: auto; overflow-x: auto;
overflow-y: hidden; overflow-y: hidden;
cursor: pointer; cursor: pointer;
position: relative; position: relative;
} }
.ue { .ue {
background: var(--couleurFondTitresRes); background: var(--couleurFondTitresRes);
} }
.module { .module {
background: var(--couleurFondTitresRes); background: var(--couleurFondTitresRes);
} }
.module h3 { .module h3 {
background: var(--couleurFondTitresRes); background: var(--couleurFondTitresRes);
} }
.module::before, .ue::before {
content:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='26px' height='26px' fill='white'><path d='M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z' /></svg>"); .module::before,
width: 26px; .ue::before {
height: 26px; content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='26px' height='26px' fill='white'><path d='M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z' /></svg>");
position: absolute; width: 26px;
bottom: 0; height: 26px;
left: calc(50% - 13px); position: absolute;
transform: rotate(180deg); bottom: 0;
transition: 0.2s; left: calc(50% - 13px);
transform: rotate(180deg);
transition: 0.2s;
} }
@media screen and (max-width: 1000px) { @media screen and (max-width: 1000px) {
/* Placer le chevron à gauche au lieu du milieu */ /* Placer le chevron à gauche au lieu du milieu */
.module::before, .ue::before { .module::before,
.ue::before {
left: 2px; left: 2px;
bottom: calc(50% - 13px); bottom: calc(50% - 13px);
} }
} }
h3{
h3 {
display: flex; display: flex;
align-items: center; align-items: center;
margin: 0 auto 0 0; margin: 0 auto 0 0;
@ -284,21 +339,27 @@ h3{
font-size: 16px; font-size: 16px;
background: var(--couleurSecondaire); background: var(--couleurSecondaire);
} }
.sae .module, .sae h3{
background: var(--couleurFondTitresSAE); .sae .module,
.sae h3 {
background: var(--couleurFondTitresSAE);
} }
.moyenne{ .moyenne {
font-weight: bold; font-weight: bold;
text-align: right; text-align: right;
} }
.info{
.info {
opacity: 0.9; opacity: 0.9;
} }
.syntheseModule{
cursor: pointer; .syntheseModule {
cursor: pointer;
} }
.eval, .syntheseModule{
.eval,
.syntheseModule {
position: relative; position: relative;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
@ -306,17 +367,21 @@ h3{
padding: 0px 4px; padding: 0px 4px;
border-bottom: 1px solid #aaa; border-bottom: 1px solid #aaa;
} }
.eval>div, .syntheseModule>div{
display: flex; .eval>div,
gap: 4px; .syntheseModule>div {
display: flex;
gap: 4px;
} }
.eval:hover, .syntheseModule:hover{ .eval:hover,
.syntheseModule:hover {
background: var(--couleurSurlignage); background: var(--couleurSurlignage);
/* color: #FFF; */ /* color: #FFF; */
} }
.complement{
pointer-events:none; .complement {
pointer-events: none;
position: absolute; position: absolute;
bottom: 100%; bottom: 100%;
right: 0; right: 0;
@ -328,33 +393,40 @@ h3{
opacity: 0; opacity: 0;
display: grid !important; display: grid !important;
grid-template-columns: auto auto; grid-template-columns: auto auto;
gap: 0 !important; gap: 0 !important;
column-gap: 4px !important; column-gap: 4px !important;
} }
.eval:hover .complement{
.eval:hover .complement {
opacity: 1; opacity: 1;
z-index: 1; z-index: 1;
} }
.complement>div:nth-child(even){
.complement>div:nth-child(even) {
text-align: right; text-align: right;
} }
.complement>div:nth-child(1), .complement>div:nth-child(1),
.complement>div:nth-child(2){ .complement>div:nth-child(2) {
font-weight: bold; font-weight: bold;
} }
.complement>div:nth-child(1), .complement>div:nth-child(1),
.complement>div:nth-child(7){ .complement>div:nth-child(7) {
margin-bottom: 8px; margin-bottom: 8px;
} }
@media screen and (max-width: 700px) { @media screen and (max-width: 700px) {
section{ section {
padding: 16px; padding: 16px;
} }
.syntheseModule, .eval {
.syntheseModule,
.eval {
margin: 0; margin: 0;
} }
} }
/*.absences{ /*.absences{
display: grid; display: grid;
grid-template-columns: auto auto; grid-template-columns: auto auto;