diff options
author | silverwind <me@silverwind.io> | 2021-12-17 21:29:00 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-18 05:29:00 +0000 |
commit | 9296baf65a73ccdda329b45770d22390ead7905f (patch) | |
tree | ceecd8261519970fb736ce6d7b6baa6f7690839f /web_src/fomantic | |
parent | 8662ff68dae103f010dd634275d07b17d313d7de (diff) | |
download | gitea-9296baf65a73ccdda329b45770d22390ead7905f.tar.gz gitea-9296baf65a73ccdda329b45770d22390ead7905f.zip |
Change <a> elements to underline on hover (#17898)
Fomantic brings a opinionated style that removed underline on mouse
hover which I think is important UX to have.
This re-enables the underline in the Fomantic config and fixes a few
cases where underline was deemed disruptive.
Diffstat (limited to 'web_src/fomantic')
-rw-r--r-- | web_src/fomantic/_site/globals/site.variables | 1 | ||||
-rw-r--r-- | web_src/fomantic/build/semantic.css | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/web_src/fomantic/_site/globals/site.variables b/web_src/fomantic/_site/globals/site.variables index e7e0b82918..dcd9c2f08c 100644 --- a/web_src/fomantic/_site/globals/site.variables +++ b/web_src/fomantic/_site/globals/site.variables @@ -6,3 +6,4 @@ @useCustomScrollbars: false; @disabledOpacity: var(--opacity-disabled); @variationPopupTooltip: false; +@linkHoverUnderline: underline; diff --git a/web_src/fomantic/build/semantic.css b/web_src/fomantic/build/semantic.css index 457c3e93bd..56134e4c0d 100644 --- a/web_src/fomantic/build/semantic.css +++ b/web_src/fomantic/build/semantic.css @@ -37826,7 +37826,7 @@ a { a:hover { color: #1e70bf; - text-decoration: none; + text-decoration: underline; } /******************************* |