From 41341609ba11f2e9a11305a7c55f050487254c45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Camilo=20Gonz=C3=A1lez?= Date: Thu, 21 Mar 2024 22:01:50 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20opacidad=20y=20cursor=20en=20pun?= =?UTF-8?q?tos=20desactivados=20de=20l=C3=ADnea=20de=20tiempo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/componentes/LineaTiempo.astro | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/src/componentes/LineaTiempo.astro b/src/componentes/LineaTiempo.astro index 26581f9..3c838a1 100644 --- a/src/componentes/LineaTiempo.astro +++ b/src/componentes/LineaTiempo.astro @@ -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, @@ -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);