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
f3dba69d
Commit
f3dba69d
authored
May 25, 2021
by
Dorine Lambinet
Committed by
Emmanuel Raviart
May 26, 2021
Browse files
Options
Downloads
Patches
Plain Diff
Changement couleur colonne de gauche et ajout de padding
parent
0a6328ba
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/lib/components/scholar_waterfalls/ScholarWaterfall.svelte
+37
-31
37 additions, 31 deletions
...lib/components/scholar_waterfalls/ScholarWaterfall.svelte
with
37 additions
and
31 deletions
src/lib/components/scholar_waterfalls/ScholarWaterfall.svelte
+
37
−
31
View file @
f3dba69d
...
...
@@ -231,11 +231,12 @@
</script>
{
#if
nodes
.
length
>
0
}
<div
class=
"flex mx-1"
>
<div
class=
"flex flex-col w-5/12"
>
<div
class=
"flex border-b border-gray-300"
>
<!-- Navigation dispositifs-->
<div
class=
"bg-le-bleu-light flex flex-col w-5/12 px-2 py-5"
>
{
#each
nodes
as
node
,
index
}
<div
class=
"border-t border-transparent flex font-extralight font-serif h-6 my-1 text-
blue-900
text-sm whitespace-nowrap hover:whitespace-normal"
class=
"border-t border-transparent flex font-extralight font-serif h-6 my-1 text-
le-bleu hover:font-bold
text-sm whitespace-nowrap hover:whitespace-normal"
>
<span
class=
"cursor-pointer hover:font-bold overflow-ellipsis overflow-x-hidden hover:overflow-x-visible hover:underline"
...
...
@@ -244,19 +245,21 @@
>
{
#if
togglableParentNode
(
$decompositionByName
,
node
)
}
<button
class=
"hover:b
g-le-bleu-light
border border-
gray-300
font-bold ml-1 px-1 rounded-full text-
gray-300
text-sm"
class=
"hover:b
order-2 hover:font-bold
border border-
le-bleu
font-bold ml-1 px-1 rounded-full text-
le-bleu
text-sm"
on:click=
{
()
=>
zoomOut
(
node
.
parentName
)
}
>
-
</button
>
{
/if
}
{
#if
(
!
node
.
open
&&
node
.
childrenName
!==
undefined
)
||
node
.
previousChildStack
!==
undefined
}
<button
class=
"hover:b
g-le-bleu-light
border border-
gray-300
font-bold ml-1 px-1 rounded-full text-
gray-300
text-sm"
class=
"hover:b
order-2
border border-
le-bleu
font-bold ml-1 px-1 rounded-full text-
le-bleu
text-sm"
on:click=
{
()
=>
zoomIn
(
node
.
name
)
}
>
+
</button
>
{
/if
}
</div>
{
/each
}
</div>
<!-- ticket de caisse-->
<div
class=
"flex pt-5"
>
<div
class=
"flex flex-col "
>
{
#each
nodes
as
node
,
index
}
<div
...
...
@@ -278,18 +281,21 @@
>
{
#if
node
.
open
||
index
===
0
}{
firstDeltaFormatter
.
format
(
node
.
delta
[
vectorIndex
],
)
}{
:
else
}{
deltaFormatter
.
format
(
node
.
delta
[
vectorIndex
])
}{
/if
}
)
}{
:
else
}{
deltaFormatter
.
format
(
node
.
delta
[
vectorIndex
])
}
{
/if
}
</div>
{
/each
}
</div>
</div>
<!-- Waterfall-->
<div
class=
"flex flex-1 flex-col ml-1 min-w-min"
class=
"flex flex-1 flex-col ml-1 min-w-min
pt-5
"
bind:offsetWidth=
{
waterfallWidth
}
>
{
#each
nodes
as
node
,
index
}
<div
class=
"
{
node
.
open
||
index
===
0
?
'
bg-
le-bleu-light
'
?
'
bg-
gray-200
'
:
node
.
values
[
vectorIndex
][
0
]
<=
node
.
values
[
vectorIndex
][
1
]
?
'
bg-green-500
'
:
'
bg-red-500
'
}
border-t border-transparent h-6 my-1"
...
...
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