X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fapp.component.scss;h=51a7a3dd1df1dddbb02fbc72407b2e3ae18aab65;hb=0736b2735f3dcbaa17304fa229f0973e70f763b8;hp=e772e3a37475de4bee2c161bd290a3cf55d0d9de;hpb=769ac6c11fe3e8d79643032daa784a60116a6630;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/app.component.scss b/client/src/app/app.component.scss index e772e3a37..51a7a3dd1 100644 --- a/client/src/app/app.component.scss +++ b/client/src/app/app.component.scss @@ -7,6 +7,7 @@ .sub-header-container { margin-top: $header-height; + background-color: var(--mainBackgroundColor); } .header { @@ -14,7 +15,7 @@ position: fixed; top: 0; width: 100%; - background-color: $bg-color; + background-color: var(--mainBackgroundColor); z-index: 1000; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.16); display: flex; @@ -24,20 +25,21 @@ height: $header-height; display: flex; align-items: center; - flex: 1; min-width: 0; .icon { @include icon(24px); &.icon-menu { - background-image: url('../assets/images/header/menu.svg'); + background-color: var(--mainForegroundColor); + mask-image: url('../assets/images/header/menu.svg'); margin: 0 18px 0 20px; } } - #peertube-title { + .peertube-title { @include disable-default-a-behaviour; + font-size: 20px; font-weight: $font-bold; color: inherit !important; @@ -46,9 +48,8 @@ overflow: hidden; .instance-name { - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; + @include ellipsis; + width: 100%; } @@ -63,7 +64,7 @@ @media screen and (max-width: 500px) { width: 70px; - #peertube-title { + .peertube-title { display: none; } } @@ -79,19 +80,14 @@ align-items: center; justify-content: flex-end; white-space: nowrap; + flex: 1; } } footer { - border-top: 1px solid $footer-border-color; padding: 10px 0; font-size: 11px; margin-top: $footer-margin; height: $footer-height; justify-content: center; } - -simple-notifications { - position: relative; - z-index: 1500; -}