]>
Commit | Line | Data |
---|---|---|
63c4db6d C |
1 | @import '_variables'; |
2 | @import '_mixins'; | |
3 | ||
fad0759c C |
4 | .peertube-container { |
5 | padding-bottom: 20px; | |
6 | } | |
7 | ||
67167390 C |
8 | .main-row { |
9 | min-height: calc(100vh - #{$header-height} - #{$footer-height} - #{$footer-margin}); | |
10 | } | |
11 | ||
b33f657c C |
12 | .sub-header-container { |
13 | margin-top: $header-height; | |
9a0fc840 | 14 | background-color: var(--mainBackgroundColor); |
c4741804 | 15 | width: 100%; |
b33f657c C |
16 | } |
17 | ||
67167390 C |
18 | .header { |
19 | height: $header-height; | |
b33f657c | 20 | position: fixed; |
26c6ee80 | 21 | top: 0; |
b33f657c | 22 | width: 100%; |
9a0fc840 | 23 | background-color: var(--mainBackgroundColor); |
36f2981f | 24 | z-index: z(header); |
b33f657c C |
25 | box-shadow: 0 1px 3px rgba(0, 0, 0, 0.16); |
26 | display: flex; | |
ea9f487b | 27 | |
67167390 | 28 | .top-left-block { |
555fdc8c | 29 | z-index: 1; |
0d7d2ad9 | 30 | height: $header-height; |
d7c152a4 | 31 | display: flex; |
26c6ee80 | 32 | align-items: center; |
8a44f835 | 33 | min-width: 0; |
26c6ee80 C |
34 | |
35 | .icon { | |
7797350a | 36 | @include icon(24px); |
26c6ee80 C |
37 | |
38 | &.icon-menu { | |
9a0fc840 RK |
39 | background-color: var(--mainForegroundColor); |
40 | mask-image: url('../assets/images/header/menu.svg'); | |
1f788f20 | 41 | margin: 0 18px 0 20px; |
67167390 C |
42 | } |
43 | } | |
44 | ||
f0c5e8b6 | 45 | .peertube-title { |
8a44f835 | 46 | @include disable-default-a-behaviour; |
f0c5e8b6 | 47 | |
26c6ee80 C |
48 | font-size: 20px; |
49 | font-weight: $font-bold; | |
50 | color: inherit !important; | |
51 | display: flex; | |
52 | align-items: center; | |
8a44f835 | 53 | overflow: hidden; |
26c6ee80 | 54 | |
8a44f835 | 55 | .instance-name { |
ef80c66c C |
56 | @include ellipsis; |
57 | ||
8a44f835 C |
58 | width: 100%; |
59 | } | |
26c6ee80 C |
60 | |
61 | .icon.icon-logo { | |
62 | display: inline-block; | |
d2cc03aa | 63 | background: url('../assets/images/logo.svg') no-repeat; |
0727cab0 | 64 | width: 23px; |
b33f657c | 65 | height: 24px; |
ea9f487b C |
66 | } |
67 | } | |
3eeeb87f | 68 | |
ece3029b | 69 | @media screen and (max-width: $mobile-view) { |
3daf4002 C |
70 | width: 70px; |
71 | ||
f0c5e8b6 | 72 | .peertube-title { |
3eeeb87f C |
73 | display: none; |
74 | } | |
3eeeb87f | 75 | } |
07fa4c97 C |
76 | |
77 | @media screen and (max-width: 350px) { | |
78 | flex: auto; | |
79 | } | |
ea9f487b | 80 | } |
ea9f487b | 81 | |
b33f657c | 82 | .header-right { |
b33f657c | 83 | height: $header-height; |
26c6ee80 C |
84 | display: flex; |
85 | align-items: center; | |
26c6ee80 | 86 | justify-content: flex-end; |
8a44f835 | 87 | white-space: nowrap; |
5dfb7c1d | 88 | flex: 1; |
67167390 | 89 | } |
897ec54d | 90 | } |