X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fapp.component.scss;h=229a99a2df729cfc7d596f1a969fa4a504e15d44;hb=1c048f04a5a37fcf870804157216a271ac709e9d;hp=0543564b43d1dfa13ab864f849638dfcd718bd25;hpb=8f608a4cb22ab232cfab20665050764b38bac9c7;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/app.component.scss b/client/src/app/app.component.scss index 0543564b4..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; } @@ -52,7 +49,7 @@ } } -.header-right { +.root-header-right { height: $header-height; display: flex; align-items: center; @@ -70,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: 0.5rem; - } - - @media screen and (max-width: $mobile-view) { - display: none; } } @@ -104,14 +103,4 @@ cursor: pointer; width: 20px; } - - ::ng-deep { - p { - font-size: 16px; - } - - p:last-child { - margin-bottom: 0; - } - } }