Skip to content
Snippets Groups Projects
Commit 0e3f7e1f authored by Emmanuel Raviart's avatar Emmanuel Raviart
Browse files

Dispositifs: Les totaux absolus sont en noir et ne sont plus cliquables.

parent e2f2a625
Branches
Tags
No related merge requests found
...@@ -236,13 +236,20 @@ ...@@ -236,13 +236,20 @@
<div class="bg-le-bleu-light flex flex-col w-4/12 px-2 py-5"> <div class="bg-le-bleu-light flex flex-col w-4/12 px-2 py-5">
{#each nodes as node, index} {#each nodes as node, index}
<div <div
class="border-t border-transparent flex font-extralight font-serif h-6 my-1 text-le-bleu hover:font-bold text-md whitespace-nowrap hover:whitespace-normal" class="border-t border-transparent flex font-extralight font-serif h-6 my-1 text-md whitespace-nowrap hover:whitespace-normal"
> >
{#if node.open || index === 0}
<span <span
class="cursor-pointer hover:font-bold overflow-ellipsis overflow-x-hidden hover:overflow-x-visible hover:underline" class="overflow-ellipsis overflow-x-hidden hover:overflow-x-visible"
>{node.label}</span
>
{:else}
<span
class="cursor-pointer hover:font-bold overflow-ellipsis overflow-x-hidden hover:overflow-x-visible text-le-bleu hover:underline"
on:click={() => dispatch("selectVariable", node.name)} on:click={() => dispatch("selectVariable", node.name)}
>{node.label}</span >{node.label}</span
> >
{/if}
{#if togglableParentNode($decompositionByName, node)} {#if togglableParentNode($decompositionByName, node)}
<button <button
class="hover:border-2 hover:font-bold border border-le-bleu font-bold ml-1 px-1 rounded-full text-le-bleu text-sm" class="hover:border-2 hover:font-bold border border-le-bleu font-bold ml-1 px-1 rounded-full text-le-bleu text-sm"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment