X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fapp.component.scss;h=e21ada0f18727414f7565b7932f58f52e834fc76;hb=c27463a603186b623500b03c6a56b330a6568350;hp=7e9e4a2168e8d7518dd7f917421b5538b7ac17a8;hpb=db5814c0472d2b9e8f0ca6bdd1175ff1cd99ed7c;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/app.component.scss b/client/src/app/app.component.scss index 7e9e4a216..e21ada0f1 100644 --- a/client/src/app/app.component.scss +++ b/client/src/app/app.component.scss @@ -26,67 +26,64 @@ z-index: z(header); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.16); display: flex; +} - .top-left-block { - z-index: 1; - height: $header-height; - display: flex; - align-items: center; - min-width: 0; - - .icon { - @include icon(24px); - - &.icon-menu { - background-color: pvar(--mainForegroundColor); - mask-image: url('../assets/images/misc/menu.svg'); - margin: 0 18px 0 20px; - - @media screen and (max-width: $mobile-view) { - margin: 0 10px; - } - } - } +.top-left-block { + z-index: 1; + height: $header-height; + display: flex; + align-items: center; + min-width: 0; - .peertube-title { - @include disable-default-a-behaviour; + .icon { + @include icon(24px); + } - font-size: 20px; - font-weight: $font-bold; - color: inherit !important; - display: flex; - align-items: center; - overflow: hidden; + .icon-menu { + background-color: pvar(--mainForegroundColor); + mask-image: url('../assets/images/misc/menu.svg'); + margin: 0 18px 0 20px; - .instance-name { - @include ellipsis; + @media screen and (max-width: $mobile-view) { + margin: 0 10px; + } + } +} - width: 100%; - } +.header-right { + height: $header-height; + display: flex; + align-items: center; + justify-content: flex-end; + white-space: nowrap; + flex: 1; +} - .icon.icon-logo { - display: inline-block; - width: 23px; - height: 24px; - margin-right: .5rem; - } - } +.peertube-title { + @include disable-default-a-behaviour; - @media screen and (max-width: $mobile-view) { + font-size: 20px; + font-weight: $font-bold; + color: inherit !important; + display: flex; + align-items: center; + overflow: hidden; - .peertube-title { - display: none; - } - } + .instance-name { + @include ellipsis; + + width: 100%; } - .header-right { - height: $header-height; - display: flex; - align-items: center; - justify-content: flex-end; - white-space: nowrap; - flex: 1; + .icon.icon-logo { + display: inline-block; + width: 23px; + height: 24px; + margin-right: 0.5rem; + } + + @media screen and (max-width: $mobile-view) { + display: none; } } @@ -103,18 +100,9 @@ justify-self: center; align-self: center; cursor: pointer; - width: 20px; } - @each $color, $value in $theme-colors { - &.alert-#{$color} { - my-global-icon { - @include apply-svg-color(theme-color-level($color, $alert-color-level)); - } - } - } - ::ng-deep { p { font-size: 16px;