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

@ -6,39 +6,55 @@
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 { @keyframes wait {
100%{transform: translateY(40px) rotate(1turn);} 100% {
transform: translateY(40px) rotate(1turn);
} }
}
main { main {
--couleurPrincipale: rgb(240, 250, 255); --couleurPrincipale: rgb(240, 250, 255);
--couleurFondTitresUE: #b6ebff; --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;
}
.ready main {
display: block;
}
h2 { h2 {
margin: 0; margin: 0;
color: black; color: black;
} }
section { section {
background: #FFF; background: #FFF;
border-radius: 16px; border-radius: 16px;
@ -46,12 +62,14 @@ section{
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;
@ -63,15 +81,19 @@ section>div:nth-child(1){
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;
@ -81,6 +103,7 @@ section>div:nth-child(1){
.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;
@ -92,6 +115,7 @@ section>div:nth-child(1){
.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;
@ -124,6 +148,7 @@ section>div:nth-child(1){
color: #000; color: #000;
text-decoration: none; text-decoration: none;
} }
.etudiant { .etudiant {
display: flex; display: flex;
align-items: center; align-items: center;
@ -132,6 +157,7 @@ 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%;
@ -146,12 +172,14 @@ section>div:nth-child(1){
gap: 8px; gap: 8px;
margin-top: 8px; margin-top: 8px;
} }
.infoSemestre { .infoSemestre {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
align-items: flex-start; 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;
@ -165,41 +193,54 @@ section>div:nth-child(1){
.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{
.rang,
.competence {
font-weight: bold; font-weight: bold;
} }
.ue .rang { .ue .rang {
font-weight: 400; 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 { .decision {
margin: 5px 0; margin: 5px 0;
font-weight: bold; font-weight: bold;
font-size: 20px; font-size: 16px;
} }
#ects_tot, .decision, .decision_annee {
#ects_tot,
.decision,
.decision_annee {
font-weight: bold; font-weight: bold;
font-size: 20px; font-size: 16px;
margin-top: 8px; margin-top: 8px;
} }
.enteteSemestre { .enteteSemestre {
color: black; color: black;
font-weight: bold; font-weight: bold;
font-size: 20px; font-size: 16px;
margin-bottom: 4px; margin-bottom: 4px;
} }
/***************/ /***************/
/* Zone custom */ /* Zone custom */
/***************/ /***************/
@ -214,15 +255,18 @@ section>div:nth-child(1){
.synthese h3 { .synthese h3 {
background: var(--couleurFondTitresUE); background: var(--couleurFondTitresUE);
} }
.synthese .ue>div { .synthese .ue>div {
text-align: right; 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;
@ -236,7 +280,9 @@ section>div:nth-child(1){
.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;
@ -248,16 +294,21 @@ section>div:nth-child(1){
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 {
.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>"); 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>");
width: 26px; width: 26px;
height: 26px; height: 26px;
@ -267,13 +318,17 @@ section>div:nth-child(1){
transform: rotate(180deg); transform: rotate(180deg);
transition: 0.2s; 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;
@ -284,7 +339,9 @@ h3{
font-size: 16px; font-size: 16px;
background: var(--couleurSecondaire); background: var(--couleurSecondaire);
} }
.sae .module, .sae h3{
.sae .module,
.sae h3 {
background: var(--couleurFondTitresSAE); background: var(--couleurFondTitresSAE);
} }
@ -292,13 +349,17 @@ h3{
font-weight: bold; font-weight: bold;
text-align: right; text-align: right;
} }
.info { .info {
opacity: 0.9; opacity: 0.9;
} }
.syntheseModule { .syntheseModule {
cursor: pointer; cursor: pointer;
} }
.eval, .syntheseModule{
.eval,
.syntheseModule {
position: relative; position: relative;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
@ -306,15 +367,19 @@ h3{
padding: 0px 4px; padding: 0px 4px;
border-bottom: 1px solid #aaa; border-bottom: 1px solid #aaa;
} }
.eval>div, .syntheseModule>div{
.eval>div,
.syntheseModule>div {
display: flex; display: flex;
gap: 4px; gap: 4px;
} }
.eval:hover, .syntheseModule:hover{ .eval:hover,
.syntheseModule:hover {
background: var(--couleurSurlignage); background: var(--couleurSurlignage);
/* color: #FFF; */ /* color: #FFF; */
} }
.complement { .complement {
pointer-events: none; pointer-events: none;
position: absolute; position: absolute;
@ -331,17 +396,21 @@ h3{
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;
@ -351,10 +420,13 @@ h3{
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;