From 090d100cc370900a032f7379fd1287da91fa1992 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 30 Jun 2022 09:03:40 +0200 Subject: Improve menu css --- client/src/app/menu/menu.component.html | 14 ++++++-------- client/src/app/menu/menu.component.scss | 23 +++++++++++++---------- 2 files changed, 19 insertions(+), 18 deletions(-) (limited to 'client/src/app') diff --git a/client/src/app/menu/menu.component.html b/client/src/app/menu/menu.component.html index 1a9ac9e8b..f9c721bd4 100644 --- a/client/src/app/menu/menu.component.html +++ b/client/src/app/menu/menu.component.html @@ -144,18 +144,16 @@ FAQ Stats API - Keyboard shortcuts + Keyboard shortcuts - diff --git a/client/src/app/menu/menu.component.scss b/client/src/app/menu/menu.component.scss index a548c08cf..e3ec10a83 100644 --- a/client/src/app/menu/menu.component.scss +++ b/client/src/app/menu/menu.component.scss @@ -291,43 +291,46 @@ my-actor-avatar { } .footer { - width: $menu-width; padding-bottom: 15px; } .footer-bottom { - display: flex; - flex-direction: column; padding: 0 $menu-lateral-padding; } .footer-links { - &, > div { display: flex; flex-wrap: wrap; } - a, - span[role=button] { + a { @include margin-right(8px); + @include disable-default-a-behaviour; - display: inline-block; - text-decoration: none; color: pvar(--menuForegroundColor); opacity: $footer-links-base-opacity; white-space: nowrap; font-size: 0.75rem; - font-weight: 500; line-height: 1.4rem; + font-weight: $font-semibold; + + &:hover { + opacity: $footer-links-base-opacity + .2; + } } } -.footer-copyleft small a { +.footer-copyleft a { @include disable-default-a-behaviour; color: pvar(--menuForegroundColor); opacity: $footer-links-base-opacity - .2; + font-size: 0.85rem; + + &:hover { + opacity: $footer-links-base-opacity; + } } .dropdown { -- cgit v1.2.3