Skip to content
Snippets Groups Projects
Commit cc2fd629 authored by Marlène SIMONDANT's avatar Marlène SIMONDANT
Browse files

refactor(V3): remove old V3 colors & rename a class

parent 4155a198
No related branches found
No related tags found
2 merge requests!783V3.0.0,!741making onboarding-infos-covid-2 up to date
Showing
with 25 additions and 34 deletions
......@@ -4,7 +4,7 @@
<p>Cette information sera visible dans l’annuaire des acteurs, accessible uniquement en version connectée</p>
</div>
<div fxLayout="column" fxLayoutGap="32px">
<div class="btn-grid">
<div class="tagList">
<app-tag-item
*ngFor="let job of jobs"
[iconFolder]="'ico'"
......
......@@ -4,7 +4,7 @@
<h3>La structure propose-t-elle une aide gratuite<sup>*</sup> aux démarches en ligne&nbsp;?</h3>
<p>Facultatif - Plusieurs choix possibles</p>
</div>
<div class="btn-grid">
<div class="tagList">
<app-tag-item
*ngFor="let accompaniment of onlineProcedures.modules"
[iconName]="isInArray(accompaniment.id) ? 'check' : null"
......
......@@ -17,7 +17,7 @@
<ng-container *ngIf="!isMandatoryFields">
<div *ngIf="languageAndIlliteracy" class="title" style="gap: 12px">
<h4>Langue et illettrisme</h4>
<div class="btn-grid">
<div class="tagList">
<app-tag-item
*ngFor="let choice of languageAndIlliteracy.modules"
[iconName]="isInArray(choice.id, 'languageAndIlliteracy') ? 'check' : null"
......@@ -30,7 +30,7 @@
</div>
<div *ngIf="handicaps" class="title" style="gap: 12px">
<h4>Handicaps</h4>
<div class="btn-grid">
<div class="tagList">
<app-tag-item
*ngFor="let choice of handicaps.modules"
[iconName]="isInArray(choice.id, 'handicaps') ? 'check' : null"
......@@ -43,7 +43,7 @@
</div>
<div *ngIf="genre" class="title" style="gap: 12px">
<h4>Genre</h4>
<div class="btn-grid">
<div class="tagList">
<app-tag-item
*ngFor="let choice of genre.modules"
[iconName]="isInArray(choice.id, 'genre') ? 'check' : null"
......@@ -59,7 +59,7 @@
<ng-container *ngIf="isMandatoryFields">
<div *ngIf="age" class="title" style="gap: 12px">
<h4>Âge</h4>
<div class="btn-grid">
<div class="tagList">
<app-tag-item
*ngFor="let choice of age.modules"
[iconName]="isInArray(choice.id, 'age') ? 'check' : null"
......
......@@ -5,7 +5,7 @@
<p>Facultatif - Plusieurs choix possibles</p>
</div>
<div class="btn-grid">
<div class="tagList">
<app-tag-item
*ngFor="let material of solidarityMaterial.modules"
[iconName]="isInArray(material.id) ? 'check' : null"
......
<div class="orientationForm">
<h2>Quel est le besoin numérique de la personne ?</h2>
<div class="btn-grid">
<div class="tagList">
<app-tag-item
*ngFor="let module of baseSkills"
[label]="module.name"
......
<div class="orientationForm">
<h2>Quel matériel la personne a-t-elle besoin d'utiliser ?</h2>
<div class="btn-grid">
<div class="tagList">
<app-tag-item
*ngFor="let module of equipmentType"
[label]="module.name"
......
<div class="orientationForm">
<h2>Quel matériel la personne souhaite-t-elle acheter à tarif solidaire ?</h2>
<div class="btn-grid">
<div class="tagList">
<app-tag-item
*ngFor="let module of equipmentType"
[label]="module.name"
......
<div class="orientationForm">
<h2>Quelle démarche en ligne la personne a-t-elle besoin de réaliser ?</h2>
<div class="btn-grid">
<div class="tagList">
<app-tag-item
*ngFor="let module of accompanimentType"
[label]="module.name"
......
......@@ -151,7 +151,7 @@
</div>
<p class="subTitle">Fonction</p>
<div fxLayout="column" fxLayoutGap="32px">
<div class="btn-grid">
<div class="tagList">
<app-tag-item
*ngFor="let job of jobs"
[iconName]="isSelectedJob(job) ? 'check' : null"
......
......@@ -119,7 +119,7 @@
@include font-bold-16;
}
}
.btn-grid {
.tagList {
margin-bottom: 1em;
}
......
<div *ngIf="onlineProcedures" class="btn-grid">
<div *ngIf="onlineProcedures" class="tagList">
<app-tag-item
*ngFor="let module of onlineProcedures.modules"
[iconName]="isSelectedModule(module) ? 'check' : null"
......
......@@ -114,7 +114,7 @@ button {
color: $grey-1;
border-color: $grey-1;
&:hover {
background-color: $grey-3-15;
background-color: $grey-3;
}
&:disabled {
background-color: $white;
......@@ -122,7 +122,7 @@ button {
border-color: $grey-5;
}
&:active {
background-color: $grey-3-20;
background-color: $grey-3;
}
}
......@@ -152,7 +152,7 @@ button {
color: $red;
border-color: $red;
&:hover {
background-color: $grey-3-15;
background-color: $grey-3;
}
&:disabled {
background-color: $white;
......@@ -160,7 +160,7 @@ button {
border-color: $grey-5;
}
&:active {
background-color: $grey-3-20;
background-color: $grey-3;
}
}
......
<form>
<div class="title" style="gap: 12px">
<h4>{{ structureTypeCategoryEnum.public }}</h4>
<div class="btn-grid">
<div class="tagList">
<app-tag-item
*ngFor="let type of publicTypes"
[iconName]="type._id === pickedTypeId ? 'check' : null"
......@@ -15,7 +15,7 @@
<div class="title" style="gap: 12px">
<h4>{{ structureTypeCategoryEnum.private }}</h4>
<div class="btn-grid">
<div class="tagList">
<app-tag-item
*ngFor="let type of privateTypes"
[iconName]="type._id === pickedTypeId ? 'check' : null"
......@@ -29,7 +29,7 @@
<div class="title" style="gap: 12px">
<h4>{{ structureTypeCategoryEnum.privateLucrative }}</h4>
<div class="btn-grid">
<div class="tagList">
<app-tag-item
*ngFor="let type of privateLucrativeTypes"
[iconName]="type._id === pickedTypeId ? 'check' : null"
......
......@@ -93,7 +93,7 @@ export const MultipleTags: Story = {
render: (args) => ({
props: args,
template: `
<div class="btn-grid">
<div class="tagList">
<app-tag-item label="test 1" />
<app-tag-item label="test 2" />
<app-tag-item label="test 3" />
......
......@@ -11,7 +11,7 @@
</div>
</app-collapse-header>
<app-collapse-content>
<div class="inputSection btn-grid">
<div class="inputSection tagList">
<app-tag-item
*ngFor="let module of category.modules"
[iconName]="isModulePicked(category, module) ? 'check' : null"
......
......@@ -82,8 +82,7 @@ button {
}
}
// V3REMOVE we should probably rename this to "tagList" or something like this
.btn-grid {
.tagList {
display: inline-flex;
flex-wrap: wrap;
gap: 12px 8px;
......
......@@ -4,7 +4,7 @@ $white: #ffffff;
$grey-0: $black;
$grey: #b4bbbf;
$grey-1: #333333;
$grey-2-v3: #4c4d53;
$grey-2: #4c4d53;
$grey-3: #696969;
$grey-4: #949494;
$grey-5: #bdbdbd;
......@@ -40,14 +40,6 @@ $warning-pressed: #f1742e;
$success-hover: #066629;
$success-pressed: #46c374;
/*
OLD COLORS
AFTER V3 DELETE FOLLOWING COLORS
*/
$grey-2: #4f4f4f; // to delete after v3
$grey-3-15: #33333326;
$grey-3-20: #33333333;
$red-20: #da363533; // main red with 20% opacity
$red-hover: #c02423;
$red-1: #f35453;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment