X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fmenu%2Fmenu.component.scss;h=6cfe2643118ca210225778cb919e3748f885290c;hb=c5f3ff39e5351ac911418c432dac235c5aefec9e;hp=c52af6c80e1d39793b13d513dc60a3c82c5c3756;hpb=c2faa073d113f410275021ed4de4b60fef118c13;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/menu/menu.component.scss b/client/src/app/menu/menu.component.scss index c52af6c80..6cfe26431 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 { @@ -352,10 +354,6 @@ my-actor-avatar { display: flex; align-items: center; - i.glyphicon-menu-right { - opacity: .4; - } - &:hover { .hover-display-toggle { display: none; @@ -393,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; } }