X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fmenu%2Fmenu.component.scss;h=e61f4acd33fbce7e3e167c46777f1d8a18af6a37;hb=6d88de725321e77486788f64a2e2537f5e6ef0cd;hp=da5a581a147ca0335956dd62e4af55384440d92e;hpb=066e94c5382a761180c7d82fa24b31b66dbeaca4;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/menu/menu.component.scss b/client/src/app/menu/menu.component.scss index da5a581a1..e61f4acd3 100644 --- a/client/src/app/menu/menu.component.scss +++ b/client/src/app/menu/menu.component.scss @@ -1,6 +1,13 @@ @import '_variables'; @import '_mixins'; +.menu-wrapper { + position: fixed; + height: calc(100vh - #{$header-height}); + padding: 0; + width: $menu-width; +} + menu { background-color: $black-background; margin: 0; @@ -11,6 +18,13 @@ menu { overflow: hidden; z-index: 1000; color: $menu-color; + overflow-y: auto; + display: flex; + flex-direction: column; + + .top-menu { + flex-grow: 1; + } .logged-in-block { height: 100px; @@ -91,22 +105,27 @@ menu { font-weight: $font-bold; // Bold font-size: 13px; margin-bottom: 25px; + margin-left: 26px; } .panel-block { margin-bottom: 45px; - margin-left: 26px; a { display: flex; + align-items: center; + padding-left: $menu-left-padding; color: $menu-color; cursor: pointer; - height: 22px; - line-height: 22px; + height: 40px; font-size: 16px; - margin-bottom: 15px; + transition: background-color .1s ease-in-out; @include disable-default-a-behaviour; + &:hover { + background-color: rgba(255, 255, 255, 0.15); + } + .icon { @include icon(22px); @@ -150,4 +169,35 @@ menu { } } } + + .footer { + margin-bottom: 15px; + padding-left: $menu-left-padding; + + .language { + display: inline-block; + color: $menu-bottom-color; + cursor: pointer; + font-size: 12px; + font-weight: $font-semibold; + + .icon { + @include icon(28px); + opacity: 0.9; + + &.icon-language { + position: relative; + top: -1px; + width: 28px; + height: 24px; + + background-image: url('../../assets/images/menu/language.png'); + } + + &:hover { + opacity: 1; + } + } + } + } }