X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fapp.component.scss;h=229a99a2df729cfc7d596f1a969fa4a504e15d44;hb=2c8380a46f34631e705b1564938343cacfa4b0bc;hp=e7d05369baf611c23dbe69a6b5194d9c9dd6bdcc;hpb=266947e5efc7ff30b0020beb5a74e4d4fc696fa5;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/app.component.scss b/client/src/app/app.component.scss index e7d05369b..229a99a2d 100644 --- a/client/src/app/app.component.scss +++ b/client/src/app/app.component.scss @@ -1,7 +1,5 @@ -@import '_variables'; -@import '_mixins'; -@import '~bootstrap/scss/functions'; -@import '~bootstrap/scss/variables'; +@use '_variables' as *; +@use '_mixins' as *; .peertube-container { padding-bottom: 20px; @@ -17,13 +15,12 @@ width: 100%; } -.header { +.root-header { height: $header-height; position: fixed; top: 0; width: 100%; background-color: pvar(--mainBackgroundColor); - z-index: z(header); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.16); display: flex; } @@ -40,8 +37,10 @@ } .icon-menu { - background-color: pvar(--mainForegroundColor); mask-image: url('../assets/images/misc/menu.svg'); + -webkit-mask-image: url('../assets/images/misc/menu.svg'); + + background-color: pvar(--mainForegroundColor); margin: 0 18px 0 20px; @media screen and (max-width: $mobile-view) { @@ -50,7 +49,7 @@ } } -.header-right { +.root-header-right { height: $header-height; display: flex; align-items: center; @@ -68,22 +67,24 @@ display: flex; align-items: center; overflow: hidden; + padding: 0 0 0 10px; .instance-name { @include ellipsis; width: 100%; + + @media screen and (max-width: $mobile-view) { + display: none; + } } .icon.icon-logo { + @include margin-right(0.5rem); + display: inline-block; width: 23px; height: 24px; - margin-right: .5rem; - } - - @media screen and (max-width: $mobile-view) { - display: none; } } @@ -102,14 +103,4 @@ cursor: pointer; width: 20px; } - - ::ng-deep { - p { - font-size: 16px; - } - - p:last-child { - margin-bottom: 0; - } - } }