Skip to content

Commit

Permalink
💄 opacidad y cursor en puntos desactivados de línea de tiempo
Browse files Browse the repository at this point in the history
  • Loading branch information
1cgonza committed Mar 22, 2024
1 parent bdc6aa3 commit 4134160
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions src/componentes/LineaTiempo.astro
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,16 @@ const listaAños = rango(1960, 2029);

.punto {
cursor: pointer;

&.desactivado {
opacity: 0.7;
&:hover {
opacity: 0.8;
circle {
opacity: 0.8;
}
}
}
}

.punto,
Expand All @@ -153,22 +163,13 @@ const listaAños = rango(1960, 2029);
}

.desactivado {
opacity: 0.5;

&:hover {
cursor: pointer;
opacity: 0.8;
circle {
opacity: 0.8;
}
}
opacity: 0.3;

circle {
fill: rgba(26, 42, 34, 0.8);
opacity: 0.2;
}
}

text {
font-size: 0.5em;
fill: rgba(255, 255, 222, 1);
Expand Down

0 comments on commit 4134160

Please sign in to comment.