Skip to content
Snippets Groups Projects
Commit c39bee1d authored by Dorine Lambinet's avatar Dorine Lambinet Committed by Toufic Batache
Browse files

Supprime style link2

parent d815dece
Branches
Tags
1 merge request!210Début du travail sur la nouvelle page d'accueil/d'atterrissage du simulateur
...@@ -18,20 +18,18 @@ ...@@ -18,20 +18,18 @@
@layer components { @layer components {
/* --- LIENS --- */ /* --- LIENS --- */
.link2 {
@apply link-text;
}
.link-text { .link-text {
@apply underline hover:decoration-2 underline-offset-4; @apply underline hover:decoration-2 underline-offset-4;
} }
.link-text-le-bleu { .link-text-le-bleu {
@apply underline hover:decoration-2 underline-offset-4 hover:text-le-bleu; @apply underline hover:decoration-2 underline-offset-4 hover:text-le-bleu;
} }
.link-simple { .link-simple-no-underline {
@apply hover:underline hover:decoration-2 underline-offset-4 tracking-wider; @apply hover:underline hover:decoration-2 underline-offset-4 tracking-wider;
} }
.link-simple {
@apply underline hover:decoration-2 underline-offset-4 tracking-wider;
}
.link-uppercase { .link-uppercase {
@apply gap-2 uppercase font-semibold tracking-widest hover:underline decoration-2 underline-offset-4 hover:text-black text-nowrap text-neutral-700; @apply gap-2 uppercase font-semibold tracking-widest hover:underline decoration-2 underline-offset-4 hover:text-black text-nowrap text-neutral-700;
} }
......
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
icon="ri-pushpin-2-fill" icon="ri-pushpin-2-fill"
/> />
<a <a
class="link2 text-gray-800" class="link-text-le-bleu text-gray-800"
href={newSimulationUrl({ href={newSimulationUrl({
...displayMode, ...displayMode,
parametersVariableName: "irpp_economique", parametersVariableName: "irpp_economique",
...@@ -111,7 +111,7 @@ ...@@ -111,7 +111,7 @@
/></svg /></svg
> >
<a <a
class="link2" class="link-text-le-bleu"
href={newSimulationUrl({ href={newSimulationUrl({
...displayMode, ...displayMode,
budget: undefined, TODO tgb: It depends budget: undefined, TODO tgb: It depends
...@@ -157,7 +157,7 @@ ...@@ -157,7 +157,7 @@
initialPlacement="right" initialPlacement="right"
> >
<a <a
class="link2 text-gray-800 line-through decoration-solid decoration-[0.1rem]" class="link-simple"
href={newSimulationUrl({ href={newSimulationUrl({
...displayMode, ...displayMode,
//budget: undefined, // TODO tgb: It depends! //budget: undefined, // TODO tgb: It depends!
...@@ -215,7 +215,7 @@ ...@@ -215,7 +215,7 @@
/> />
<a <a
id={tooltipId} id={tooltipId}
class="link2" class="link-simple"
href={newSimulationUrl({ href={newSimulationUrl({
...displayMode, ...displayMode,
//budget: undefined, // TODO tgb: It depends! //budget: undefined, // TODO tgb: It depends!
......
...@@ -109,7 +109,7 @@ ...@@ -109,7 +109,7 @@
</div> </div>
<div class="flex flex-col md:w-1/2 md:text-right gap-y-3"> <div class="flex flex-col md:w-1/2 md:text-right gap-y-3">
<a <a
class="link-simple" class="link-simple-no-underline"
href="https://leximpact.an.fr/cgu" href="https://leximpact.an.fr/cgu"
target="_blank" target="_blank"
> >
...@@ -120,7 +120,7 @@ ...@@ -120,7 +120,7 @@
/> />
</a> </a>
<a <a
class="link-simple" class="link-simple-no-underline"
href="https://leximpact.an.fr/statistiques" href="https://leximpact.an.fr/statistiques"
target="_blank" target="_blank"
> >
...@@ -131,7 +131,7 @@ ...@@ -131,7 +131,7 @@
/> />
</a> </a>
<a <a
class="link-simple" class="link-simple-no-underline"
href="https://leximpact.an.fr/mentions-legales" href="https://leximpact.an.fr/mentions-legales"
target="_blank" target="_blank"
> >
......
...@@ -41,19 +41,9 @@ ...@@ -41,19 +41,9 @@
<span class="font-serif text-lg font-bold" <span class="font-serif text-lg font-bold"
>{variable.short_label ?? variable.label ?? variable.name}</span >{variable.short_label ?? variable.label ?? variable.name}</span
> >
<a class="link2 mr-3 text-gray-500" href="/variables/{variable.name}"> <a class="link-simple mr-3 text-gray-500" href="/variables/{variable.name}">
<!--RemixIcon More-2-fill --> <iconify-icon class="align-[-0.3rem] text-xl" icon="ri-more-2-fill" /></a
<svg
class="fill-current"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
width="20"
height="20"
><path fill="none" d="M0 0h24v24H0z" /><path
d="M12 3c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 14c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-7c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"
/></svg
> >
</a>
</div> </div>
{#if directInputs.length > 0} {#if directInputs.length > 0}
...@@ -64,23 +54,15 @@ ...@@ -64,23 +54,15 @@
<span>Caractéristiques écrites dans la formule du dispositif</span> <span>Caractéristiques écrites dans la formule du dispositif</span>
<button on:click={() => (openDirectInputs = !openDirectInputs)}> <button on:click={() => (openDirectInputs = !openDirectInputs)}>
{#if openDirectInputs} {#if openDirectInputs}
<!-- Material Icons name: Expand Less --> <iconify-icon
<svg class="align-[-0.3rem] text-2xl"
aria-hidden="true" icon="ri-arrow-up-s-line"
class="block h-6 w-6 fill-current stroke-current text-white" />
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
><path d="M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z" /></svg
>
{:else} {:else}
<!-- Material Icons name: Expand More --> <iconify-icon
<svg class="align-[-0.3rem] text-2xl"
aria-hidden="true" icon="ri-arrow-down-s-line"
class="block h-6 w-6 fill-current stroke-current text-white" />
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
><path d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z" /></svg
>
{/if} {/if}
</button> </button>
</h2> </h2>
......
...@@ -270,7 +270,7 @@ ...@@ -270,7 +270,7 @@
/> />
{/if} {/if}
<a <a
class="link2 ml-2 flex items-center text-sm tracking-wide text-gray-600" class="link-simple ml-2 flex text-sm items-center text-gray-600"
rel="noreferrer" rel="noreferrer"
href="/parameters/{billParameter.name}" href="/parameters/{billParameter.name}"
on:click={() => { on:click={() => {
......
...@@ -265,7 +265,7 @@ ...@@ -265,7 +265,7 @@
</div> </div>
<a <a
class="link2 mx-1 flex items-center text-sm tracking-wide text-gray-600" class="link-simple mx-1 flex items-center text-sm text-gray-600"
rel="noreferrer" rel="noreferrer"
href="/parameters/{billParameter.name}" href="/parameters/{billParameter.name}"
on:click={() => { on:click={() => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment