X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fmenu%2Fmenu.component.scss;h=cd57e134e7c5357bd6279fb8dc399f6508012719;hb=4de99f22dfc4f00587eeac5bc929f462437315e4;hp=352682bfc2fab65e0a5e11a80967a3052b39eab6;hpb=93c728a25a87cf6dae5fc49d42d6af52ff7f7ff2;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/menu/menu.component.scss b/client/src/app/menu/menu.component.scss index 352682bfc..cd57e134e 100644 --- a/client/src/app/menu/menu.component.scss +++ b/client/src/app/menu/menu.component.scss @@ -16,7 +16,6 @@ $footer-links-base-opacity: .8; color: pvar(--menuForegroundColor); cursor: pointer; - font-size: 16px; white-space: normal; word-break: break-word; transition: background-color .1s ease-in-out; @@ -195,7 +194,6 @@ my-actor-avatar { .logged-in-display-name { @include disable-default-a-behaviour; - font-size: 16px; font-weight: $font-semibold; color: pvar(--menuForegroundColor); } @@ -293,18 +291,14 @@ 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; @@ -313,23 +307,31 @@ my-actor-avatar { a, span[role=button] { @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: 90%; - font-weight: 500; + font-size: 0.75rem; 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 { @@ -389,26 +391,17 @@ my-actor-avatar { } my-global-icon { - &[iconName=playlists] { + position: relative; + top: -1px; + + .playlist-icon { @include margin-right(16px); height: 24px; width: 24px; } - &[iconName=videos] { - position: relative; - right: -1px; - } - - &[iconName=channel] { - margin-top: -2px; - } - - &[iconName='sign-out'] { - position: relative; - right: -2px; - height: 20px; - width: 20px; + &.channel-icon { + top: -2px; } }