From 914c2a9da45ba5f7ca68a381390e7c5967367109 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Wed, 28 Jun 2023 23:45:00 +0200 Subject: [PATCH] #theme: fix links in nav and menu on hover #577 --- static/css/nucleus.css | 6 ------ static/css/theme.css | 13 +++++++++++++ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/static/css/nucleus.css b/static/css/nucleus.css index ea1ab87ae8..b51fa33d6d 100644 --- a/static/css/nucleus.css +++ b/static/css/nucleus.css @@ -55,12 +55,6 @@ a { background: transparent; text-decoration: none; } -a:hover, -a:focus, -a:active { - outline: 0; - text-decoration: underline; } - abbr[title] { border-bottom: 1px dotted; } diff --git a/static/css/theme.css b/static/css/theme.css index 432361aa1d..8326dabdc7 100644 --- a/static/css/theme.css +++ b/static/css/theme.css @@ -355,6 +355,19 @@ dd { } } +.links a:hover, +.links a:active, +.links a:focus, +.links a:hover *, +.links a:active *, +.links a:focus *, +#body-inner a:hover, +#body-inner a:active, +#body-inner a:focus { + outline: none; + text-decoration: underline; +} + #body-inner:focus-visible{ /* remove focus indicator for programatically set focus */ outline: none;