Commit 79fcb48c authored by mbenzerga's avatar mbenzerga
Browse files

Modification bandeau passage version complète

parent 68f02e3b
Pipeline #3893 passed with stage
in 1 minute and 37 seconds
......@@ -55,12 +55,17 @@ $neutral-invert: findColorInvert($neutral);
$orange: #FFF0D2;
$orange-darker: #CE730E;
$green: #33a533;
$brown: #51300b;
$warning: $orange;
$warning-text: $brown;
$warning-invert: findColorInvert($warning);
$success: $green;
$success-text: $white;
$success-invert: findColorInvert($success);
$white: #FFFFFF;
$grey-light: #E5E5E5;
......
......@@ -68,8 +68,13 @@ export default {
};
</script>
<style lang="scss" scoped>
.icon.has-text-warning {
color: $warning-text !important;
.icon {
&.has-text-warning {
color: $warning-text !important;
}
&.has-text-success {
color: $success-text !important;
}
}
.icon-content {
display: block;
......
......@@ -17,6 +17,7 @@ export default {
<style lang="scss">
@import "~bulma/sass/components/message";
.message {
border-radius: 0;
.media-content {
.icon-content.is-inline {
padding-right: 1rem;
......@@ -34,6 +35,12 @@ export default {
color: $warning-text;
}
}
&.is-success {
background-color: $success;
.message-body {
color: $success-text;
}
}
&.no-border .message-body {
border: 0;
}
......
<template>
<div>
<navbar/>
<message v-if="message" type="is-warning">
<message v-if="message" type="is-success">
<template slot="message">
<icon :aria-label="$t('common.warning')" class="is-hidden-mobile" type="is-warning" icon="alert-circle-outline" inline/>
<icon :aria-label="$t('common.warning')" class="is-hidden-mobile" type="is-success" icon="alert-circle-outline" inline/>
<div v-html="message">
</div>
</template>
......
......@@ -23,7 +23,7 @@
"common": {
"close": "Fermer",
"warning": "Attention!",
"warningMessage": "Les services proposés sur la plateforme apps.education.fr sont <strong>temporaires</strong> afin de répondre aux demandes dans le cadre de la situation sanitaire actuelle",
"warningMessage": "L'instruction de la version complète et pérenne de la plate-forme d’outils communs numériques Apps a commencé. Elle remplacera à terme cette version \"béta\" mise en production durant la crise sanitaire et prolongée jusqu'à la fin de l'année.",
"backToHome": "Retour à l'accueil"
},
"home": {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment