Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
leximpact-socio-fiscal-ui
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
leximpact
Simulateur socio-fiscal
leximpact-socio-fiscal-ui
Commits
33127b66
Commit
33127b66
authored
3 years ago
by
Dorine Lambinet
Browse files
Options
Downloads
Patches
Plain Diff
Retire le flou et ajoute le code couleur
parent
0694176c
No related branches found
No related tags found
1 merge request
!32
Ui diff law bill reform
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/lib/components/test_cases/TestCaseView.svelte
+50
-38
50 additions, 38 deletions
src/lib/components/test_cases/TestCaseView.svelte
tailwind.config.cjs
+1
-0
1 addition, 0 deletions
tailwind.config.cjs
with
51 additions
and
38 deletions
src/lib/components/test_cases/TestCaseView.svelte
+
50
−
38
View file @
33127b66
...
@@ -459,7 +459,7 @@
...
@@ -459,7 +459,7 @@
Revenus disponibles du cas type /an
Revenus disponibles du cas type /an
</p>
</p>
</div>
</div>
<div
class=
"
filter blur-xs
place-self-center "
>
<div
class=
"place-self-center "
>
<p
<p
class=
" text-2xl font-bold"
class=
" text-2xl font-bold"
title=
"⚠️ Les dispositifs n'étant pas tous à jour, ce montant est à considérer avec prudence"
title=
"⚠️ Les dispositifs n'étant pas tous à jour, ce montant est à considérer avec prudence"
...
@@ -470,18 +470,22 @@
...
@@ -470,18 +470,22 @@
].
deltaAtVectorIndex
??
0
,
].
deltaAtVectorIndex
??
0
,
)
}
)
}
{
#if
$billName
!==
undefined
}
{
#if
$billName
!==
undefined
}
<span
class=
"text-le-rouge-pjl"
>
{
euroAmountFormatter
.
format
(
{
euroAmountFormatter
.
format
(
evaluationByNameArrayByCalculationName
.
bill
[
situationIndex
][
evaluationByNameArrayByCalculationName
.
bill
[
situationIndex
][
rootDecompositionName
rootDecompositionName
].
deltaAtVectorIndex
??
0
,
].
deltaAtVectorIndex
??
0
,
)
}
)
}
</span>
{
/if
}
{
/if
}
{
#if
Object
.
keys
(
$reform
).
length
>
0
}
{
#if
Object
.
keys
(
$reform
).
length
>
0
}
<span
class=
"text-black bg-le-jaune px-1"
>
{
euroAmountFormatter
.
format
(
{
euroAmountFormatter
.
format
(
evaluationByNameArrayByCalculationName
.
amendment
[
situationIndex
][
evaluationByNameArrayByCalculationName
.
amendment
[
situationIndex
][
rootDecompositionName
rootDecompositionName
].
deltaAtVectorIndex
??
0
,
].
deltaAtVectorIndex
??
0
,
)
}
)
}
</span>
{
/if
}
{
/if
}
</p>
</p>
</div>
</div>
...
@@ -492,7 +496,7 @@
...
@@ -492,7 +496,7 @@
<div>
<div>
<p
class=
"text-sm leading-none text-center"
>
Coût pour l'entreprise /an
</p>
<p
class=
"text-sm leading-none text-center"
>
Coût pour l'entreprise /an
</p>
</div>
</div>
<div
class=
"
filter blur-xs
place-self-center"
>
<div
class=
"place-self-center"
>
<p
<p
class=
"text-base"
class=
"text-base"
title=
"⚠️ Les dispositifs n'étant pas tous à jour, ce montant est à considérer avec prudence"
title=
"⚠️ Les dispositifs n'étant pas tous à jour, ce montant est à considérer avec prudence"
...
@@ -503,18 +507,22 @@
...
@@ -503,18 +507,22 @@
].
deltaAtVectorIndex
??
0
,
].
deltaAtVectorIndex
??
0
,
)
}
)
}
{
#if
$billName
!==
undefined
}
{
#if
$billName
!==
undefined
}
<span
class=
"text-le-rouge-pjl"
>
{
euroAmountFormatter
.
format
(
{
euroAmountFormatter
.
format
(
evaluationByNameArrayByCalculationName
.
bill
[
situationIndex
][
evaluationByNameArrayByCalculationName
.
bill
[
situationIndex
][
firstDecompositionName
firstDecompositionName
].
deltaAtVectorIndex
??
0
,
].
deltaAtVectorIndex
??
0
,
)
}
)
}
</span>
{
/if
}
{
/if
}
{
#if
Object
.
keys
(
$reform
).
length
>
0
}
{
#if
Object
.
keys
(
$reform
).
length
>
0
}
<span
class=
"text-black bg-le-jaune px-1"
>
{
euroAmountFormatter
.
format
(
{
euroAmountFormatter
.
format
(
evaluationByNameArrayByCalculationName
.
amendment
[
situationIndex
][
evaluationByNameArrayByCalculationName
.
amendment
[
situationIndex
][
firstDecompositionName
firstDecompositionName
].
deltaAtVectorIndex
??
0
,
].
deltaAtVectorIndex
??
0
,
)
}
)
}
</span>
{
/if
}
{
/if
}
</p>
</p>
</div>
</div>
...
@@ -527,7 +535,7 @@
...
@@ -527,7 +535,7 @@
Coût ou gain pour l'État /an
Coût ou gain pour l'État /an
</p>
</p>
</div>
</div>
<div
class=
"
filter blur-xs
place-self-center"
>
<div
class=
" place-self-center"
>
<p
<p
class=
"text-base"
class=
"text-base"
title=
"⚠️ Les dispositifs n'étant pas tous à jour, ce montant est à considérer avec prudence"
title=
"⚠️ Les dispositifs n'étant pas tous à jour, ce montant est à considérer avec prudence"
...
@@ -541,6 +549,7 @@
...
@@ -541,6 +549,7 @@
].
deltaAtVectorIndex
??
0
),
].
deltaAtVectorIndex
??
0
),
)
}
)
}
{
#if
$billName
!==
undefined
}
{
#if
$billName
!==
undefined
}
<span
class=
"text-le-rouge-pjl"
>
{
euroAmountFormatter
.
format
(
{
euroAmountFormatter
.
format
(
(
evaluationByNameArrayByCalculationName
.
bill
[
situationIndex
][
(
evaluationByNameArrayByCalculationName
.
bill
[
situationIndex
][
firstDecompositionName
firstDecompositionName
...
@@ -549,16 +558,19 @@
...
@@ -549,16 +558,19 @@
rootDecompositionName
rootDecompositionName
].
deltaAtVectorIndex
??
0
),
].
deltaAtVectorIndex
??
0
),
)
}
)
}
</span>
{
/if
}
{
/if
}
{
#if
Object
.
keys
(
$reform
).
length
>
0
}
{
#if
Object
.
keys
(
$reform
).
length
>
0
}
<span
class=
"text-black bg-le-jaune px-1"
>
{
euroAmountFormatter
.
format
(
{
euroAmountFormatter
.
format
(
(
evaluationByNameArrayByCalculationName
.
amendment
[
situationIndex
][
(
evaluationByNameArrayByCalculationName
.
amendment
[
situationIndex
][
firstDecompositionName
firstDecompositionName
].
deltaAtVectorIndex
??
0
)
-
].
deltaAtVectorIndex
??
0
)
-
(
evaluationByNameArrayByCalculationName
.
amendment
[
situationIndex
][
(
evaluationByNameArrayByCalculationName
.
amendment
[
rootDecompositionName
situationIndex
].
deltaAtVectorIndex
??
0
),
][
rootDecompositionName
].
deltaAtVectorIndex
??
0
),
)
}
)
}
</span>
{
/if
}
{
/if
}
</p>
</p>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
tailwind.config.cjs
+
1
−
0
View file @
33127b66
...
@@ -23,6 +23,7 @@ const config = {
...
@@ -23,6 +23,7 @@ const config = {
},
},
blur
:
{
blur
:
{
xs
:
'
1.2px
'
,
xs
:
'
1.2px
'
,
xxs
:
'
0.8px
'
,
}
}
},
},
fontFamily
:
{
fontFamily
:
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment