Skip to content

Commit

Permalink
Corrige la couleur des PDFs
Browse files Browse the repository at this point in the history
  • Loading branch information
etienneCharignon committed Oct 10, 2024
1 parent 0d0c2b0 commit 9fa5fe0
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 32 deletions.
2 changes: 1 addition & 1 deletion app/assets/images/vague.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions app/assets/stylesheets/active_admin.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
@import 'active_admin/mixins';
@import 'activeadmin_reorderable';
@import 'admin/base';
@import 'admin/bg';
@import 'admin/fonts';
@import 'admin/mixins';
@import 'admin/typography';
Expand Down
24 changes: 0 additions & 24 deletions app/assets/stylesheets/admin/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,27 +35,3 @@
@import "active_admin/structure/footer";
@import "active_admin/structure/main_structure";
@import "active_admin/structure/title_bar";

.bg-erreur {
color: $error-425;
background-color: $error-950;
a, h4 {
color: $error-425;
}
}

.bg-alerte {
color: $warning-425;
background-color: $warning-950;
a, h4 {
color: $warning-425;
}
}

.bg-information {
color: $info-425;
background-color: $info-950;
a, h4 {
color: $info-425;
}
}
23 changes: 23 additions & 0 deletions app/assets/stylesheets/admin/_bg.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
.bg-erreur {
color: $error-425;
background-color: $error-950;
a, h4 {
color: $error-425;
}
}

.bg-alerte {
color: $warning-425;
background-color: $warning-950;
a, h4 {
color: $warning-425;
}
}

.bg-information {
color: $info-425;
background-color: $info-950;
a, h4 {
color: $info-425;
}
}
2 changes: 0 additions & 2 deletions app/assets/stylesheets/admin/composants/_lettrisme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
}

#lettrisme {
color: $eva-dark;

.panel {
margin-bottom: 0px;
p {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
@import "admin/variables";
@import "admin/mixins";

.evaluation__restitution-globale {
font-size: 0.875rem;
font-family: $font-texte;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
$grid-columns: 8;
$grid-gutter-width: 1.25rem;
@import "bootstrap";
@import "../../../admin/variables";
@import "../../../admin/mixins";
@import "base";
@import "../../../admin/bg";
@import "../../../admin/composants/lettrisme";
@import "../../../admin/composants/referentiel_anlci";
@import "../../../pdf/base";
Expand Down Expand Up @@ -86,9 +89,10 @@ $grid-gutter-width: 1.25rem;
text-align: center;
font-size: 1rem;
line-height: 2.5rem;

a { color: $eva_light }
}

a { color: $eva_light }
}

.autopositionnement {
Expand Down
2 changes: 1 addition & 1 deletion config/locales/views/evaluations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ fr:
explications-anlci: |
Les restitutions eva sont basées sur les référentiels de l'Agence Nationale de Lutte Contre l'Illettrisme d'évaluation du français et des mathématiques.
explications-lien: |
Le détail de l’utilisation de ces référentiels et des conditions d’interprétation est disponible ici :
Le détail de l’utilisation de ces référentiels et des conditions d’interprétation est disponible ici :
<a href="https://l.incubateur.net/eva-referentiel/" target="_blank">https://l.incubateur.net/eva-referentiel/</a>
anlci:
titre: "Correspondance avec l’ANLCI"
Expand Down

0 comments on commit 9fa5fe0

Please sign in to comment.